From f378eeb265935c6046635758e6a4dd80151e018f Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Tue, 18 Mar 2025 00:07:57 +0100 Subject: [PATCH] wip --- .gitignore | 1 + dist/index.cjs | 1604 +++++++++++++++++++ dist/index.d.cts | 3428 +++++++++++++++++++++++++++++++++++++++++ dist/index.d.mts | 3428 +++++++++++++++++++++++++++++++++++++++++ dist/index.d.ts | 3428 +++++++++++++++++++++++++++++++++++++++++ dist/index.mjs | 1490 ++++++++++++++++++ openapi-ts.config.ts | 7 + package.json | 34 + pnpm-lock.yaml | 2191 ++++++++++++++++++++++++++ src/client.gen.ts | 18 + src/index.ts | 3 + src/sdk.gen.ts | 2070 +++++++++++++++++++++++++ src/types.gen.ts | 3490 ++++++++++++++++++++++++++++++++++++++++++ tsconfig.json | 17 + 14 files changed, 21209 insertions(+) create mode 100644 .gitignore create mode 100644 dist/index.cjs create mode 100644 dist/index.d.cts create mode 100644 dist/index.d.mts create mode 100644 dist/index.d.ts create mode 100644 dist/index.mjs create mode 100644 openapi-ts.config.ts create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 src/client.gen.ts create mode 100644 src/index.ts create mode 100644 src/sdk.gen.ts create mode 100644 src/types.gen.ts create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/dist/index.cjs b/dist/index.cjs new file mode 100644 index 0000000..5742916 --- /dev/null +++ b/dist/index.cjs @@ -0,0 +1,1604 @@ +'use strict'; + +const clientFetch = require('@hey-api/client-fetch'); + +const client = clientFetch.createClient(clientFetch.createConfig({ + baseUrl: "https://run.lauf-fuer-kaya.de" +})); + +const authControllerLogin = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/login", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerLogout = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/logout", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerRefresh = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/refresh", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerGetResetToken = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/reset", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerResetPassword = (options) => { + return (options.client ?? client).post({ + url: "/api/auth/reset/{token}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations", + ...options + }); +}; +const donationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/{id}", + ...options + }); +}; +const donationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/{id}", + ...options + }); +}; +const donationControllerPostFixed = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/fixed", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPostDistance = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/distance", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPutFixed = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/fixed/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPutDistance = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/distance/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donorControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors", + ...options + }); +}; +const donorControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donorControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options + }); +}; +const donorControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options + }); +}; +const donorControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const groupContactControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts", + ...options + }); +}; +const groupContactControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const groupContactControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options + }); +}; +const groupContactControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options + }); +}; +const groupContactControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans", + ...options + }); +}; +const scanControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options + }); +}; +const scanControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options + }); +}; +const scanControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerPostTrackScans = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/trackscans", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerPutTrackScan = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/trackscans/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards", + ...options + }); +}; +const runnerCardControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options + }); +}; +const runnerCardControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options + }); +}; +const runnerCardControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerPostBlancoBulk = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/bulk", + ...options + }); +}; +const runnerControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners", + ...options + }); +}; +const runnerControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options + }); +}; +const runnerControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options + }); +}; +const runnerControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerControllerGetScans = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}/scans", + ...options + }); +}; +const importControllerPostJson = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostOrgsJson = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostTeamsJson = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostCsv = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/import/csv", + ...options + }); +}; +const importControllerPostOrgsCsv = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/import/csv", + ...options + }); +}; +const importControllerPostTeamsCsv = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/import/csv", + ...options + }); +}; +const permissionControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions", + ...options + }); +}; +const permissionControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const permissionControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options + }); +}; +const permissionControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options + }); +}; +const permissionControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const meControllerRemove = (options) => { + return (options?.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options + }); +}; +const meControllerGet = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options + }); +}; +const meControllerPut = (options) => { + return (options?.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const meControllerGetPermissions = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/permissions", + ...options + }); +}; +const runnerTeamControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams", + ...options + }); +}; +const runnerTeamControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerTeamControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options + }); +}; +const runnerTeamControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options + }); +}; +const runnerTeamControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerTeamControllerGetRunners = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/runners", + ...options + }); +}; +const runnerOrganizationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations", + ...options + }); +}; +const runnerOrganizationControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerOrganizationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options + }); +}; +const runnerOrganizationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options + }); +}; +const runnerOrganizationControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerOrganizationControllerGetRunners = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/runners", + ...options + }); +}; +const runnerSelfServiceControllerRemove = (options) => { + return (options.client ?? client).delete({ + url: "/api/runners/me/{jwt}", + ...options + }); +}; +const runnerSelfServiceControllerGet = (options) => { + return (options.client ?? client).get({ + url: "/api/runners/me/{jwt}", + ...options + }); +}; +const runnerSelfServiceControllerGetScans = (options) => { + return (options.client ?? client).get({ + url: "/api/runners/me/{jwt}/scans", + ...options + }); +}; +const runnerSelfServiceControllerGetStationMe = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/me", + ...options + }); +}; +const runnerSelfServiceControllerRequestNewToken = (options) => { + return (options?.client ?? client).post({ + url: "/api/runners/login", + ...options + }); +}; +const runnerSelfServiceControllerRegisterRunner = (options) => { + return (options?.client ?? client).post({ + url: "/api/runners/register", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerSelfServiceControllerRegisterOrganizationRunner = (options) => { + return (options.client ?? client).post({ + url: "/api/runners/register/{token}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerSelfServiceControllerGetSelfserviceOrg = (options) => { + return (options.client ?? client).get({ + url: "/api/organizations/selfservice/{token}", + ...options + }); +}; +const scanStationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations", + ...options + }); +}; +const scanStationControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanStationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options + }); +}; +const scanStationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options + }); +}; +const scanStationControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const statsClientControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients", + ...options + }); +}; +const statsClientControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const statsClientControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients/{id}", + ...options + }); +}; +const statsClientControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients/{id}", + ...options + }); +}; +const statsControllerGet = (options) => { + return (options?.client ?? client).get({ + url: "/api/stats", + ...options + }); +}; +const statsControllerGetTopRunnersByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/distance", + ...options + }); +}; +const statsControllerGetTopRunnersByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/donations", + ...options + }); +}; +const statsControllerGetTopRunnersByLaptime = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/laptime", + ...options + }); +}; +const statsControllerGetTopRunnersByTrackTime = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/scans", + ...options + }); +}; +const statsControllerGetTopTeamsByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/teams/distance", + ...options + }); +}; +const statsControllerGetTopTeamsByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/teams/donations", + ...options + }); +}; +const statsControllerGetTopOrgsByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/organizations/distance", + ...options + }); +}; +const statsControllerGetTopOrgsByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/organizations/donations", + ...options + }); +}; +const statusControllerGet = (options) => { + return (options?.client ?? client).get({ + url: "/api/status", + ...options + }); +}; +const statusControllerGetVersion = (options) => { + return (options?.client ?? client).get({ + url: "/api/version", + ...options + }); +}; +const trackControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks", + ...options + }); +}; +const trackControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const trackControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options + }); +}; +const trackControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options + }); +}; +const trackControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users", + ...options + }); +}; +const userControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options + }); +}; +const userControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options + }); +}; +const userControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerGetPermissions = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}/permissions", + ...options + }); +}; +const userGroupControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups", + ...options + }); +}; +const userGroupControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userGroupControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options + }); +}; +const userGroupControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options + }); +}; +const userGroupControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userGroupControllerGetPermissions = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}/permissions", + ...options + }); +}; + +exports.authControllerGetResetToken = authControllerGetResetToken; +exports.authControllerLogin = authControllerLogin; +exports.authControllerLogout = authControllerLogout; +exports.authControllerRefresh = authControllerRefresh; +exports.authControllerResetPassword = authControllerResetPassword; +exports.donationControllerGetAll = donationControllerGetAll; +exports.donationControllerGetOne = donationControllerGetOne; +exports.donationControllerPostDistance = donationControllerPostDistance; +exports.donationControllerPostFixed = donationControllerPostFixed; +exports.donationControllerPutDistance = donationControllerPutDistance; +exports.donationControllerPutFixed = donationControllerPutFixed; +exports.donationControllerRemove = donationControllerRemove; +exports.donorControllerGetAll = donorControllerGetAll; +exports.donorControllerGetOne = donorControllerGetOne; +exports.donorControllerPost = donorControllerPost; +exports.donorControllerPut = donorControllerPut; +exports.donorControllerRemove = donorControllerRemove; +exports.groupContactControllerGetAll = groupContactControllerGetAll; +exports.groupContactControllerGetOne = groupContactControllerGetOne; +exports.groupContactControllerPost = groupContactControllerPost; +exports.groupContactControllerPut = groupContactControllerPut; +exports.groupContactControllerRemove = groupContactControllerRemove; +exports.importControllerPostCsv = importControllerPostCsv; +exports.importControllerPostJson = importControllerPostJson; +exports.importControllerPostOrgsCsv = importControllerPostOrgsCsv; +exports.importControllerPostOrgsJson = importControllerPostOrgsJson; +exports.importControllerPostTeamsCsv = importControllerPostTeamsCsv; +exports.importControllerPostTeamsJson = importControllerPostTeamsJson; +exports.meControllerGet = meControllerGet; +exports.meControllerGetPermissions = meControllerGetPermissions; +exports.meControllerPut = meControllerPut; +exports.meControllerRemove = meControllerRemove; +exports.permissionControllerGetAll = permissionControllerGetAll; +exports.permissionControllerGetOne = permissionControllerGetOne; +exports.permissionControllerPost = permissionControllerPost; +exports.permissionControllerPut = permissionControllerPut; +exports.permissionControllerRemove = permissionControllerRemove; +exports.runnerCardControllerGetAll = runnerCardControllerGetAll; +exports.runnerCardControllerGetOne = runnerCardControllerGetOne; +exports.runnerCardControllerPost = runnerCardControllerPost; +exports.runnerCardControllerPostBlancoBulk = runnerCardControllerPostBlancoBulk; +exports.runnerCardControllerPut = runnerCardControllerPut; +exports.runnerCardControllerRemove = runnerCardControllerRemove; +exports.runnerControllerGetAll = runnerControllerGetAll; +exports.runnerControllerGetOne = runnerControllerGetOne; +exports.runnerControllerGetScans = runnerControllerGetScans; +exports.runnerControllerPost = runnerControllerPost; +exports.runnerControllerPut = runnerControllerPut; +exports.runnerControllerRemove = runnerControllerRemove; +exports.runnerOrganizationControllerGetAll = runnerOrganizationControllerGetAll; +exports.runnerOrganizationControllerGetOne = runnerOrganizationControllerGetOne; +exports.runnerOrganizationControllerGetRunners = runnerOrganizationControllerGetRunners; +exports.runnerOrganizationControllerPost = runnerOrganizationControllerPost; +exports.runnerOrganizationControllerPut = runnerOrganizationControllerPut; +exports.runnerOrganizationControllerRemove = runnerOrganizationControllerRemove; +exports.runnerSelfServiceControllerGet = runnerSelfServiceControllerGet; +exports.runnerSelfServiceControllerGetScans = runnerSelfServiceControllerGetScans; +exports.runnerSelfServiceControllerGetSelfserviceOrg = runnerSelfServiceControllerGetSelfserviceOrg; +exports.runnerSelfServiceControllerGetStationMe = runnerSelfServiceControllerGetStationMe; +exports.runnerSelfServiceControllerRegisterOrganizationRunner = runnerSelfServiceControllerRegisterOrganizationRunner; +exports.runnerSelfServiceControllerRegisterRunner = runnerSelfServiceControllerRegisterRunner; +exports.runnerSelfServiceControllerRemove = runnerSelfServiceControllerRemove; +exports.runnerSelfServiceControllerRequestNewToken = runnerSelfServiceControllerRequestNewToken; +exports.runnerTeamControllerGetAll = runnerTeamControllerGetAll; +exports.runnerTeamControllerGetOne = runnerTeamControllerGetOne; +exports.runnerTeamControllerGetRunners = runnerTeamControllerGetRunners; +exports.runnerTeamControllerPost = runnerTeamControllerPost; +exports.runnerTeamControllerPut = runnerTeamControllerPut; +exports.runnerTeamControllerRemove = runnerTeamControllerRemove; +exports.scanControllerGetAll = scanControllerGetAll; +exports.scanControllerGetOne = scanControllerGetOne; +exports.scanControllerPost = scanControllerPost; +exports.scanControllerPostTrackScans = scanControllerPostTrackScans; +exports.scanControllerPut = scanControllerPut; +exports.scanControllerPutTrackScan = scanControllerPutTrackScan; +exports.scanControllerRemove = scanControllerRemove; +exports.scanStationControllerGetAll = scanStationControllerGetAll; +exports.scanStationControllerGetOne = scanStationControllerGetOne; +exports.scanStationControllerPost = scanStationControllerPost; +exports.scanStationControllerPut = scanStationControllerPut; +exports.scanStationControllerRemove = scanStationControllerRemove; +exports.statsClientControllerGetAll = statsClientControllerGetAll; +exports.statsClientControllerGetOne = statsClientControllerGetOne; +exports.statsClientControllerPost = statsClientControllerPost; +exports.statsClientControllerRemove = statsClientControllerRemove; +exports.statsControllerGet = statsControllerGet; +exports.statsControllerGetTopOrgsByDistance = statsControllerGetTopOrgsByDistance; +exports.statsControllerGetTopOrgsByDonations = statsControllerGetTopOrgsByDonations; +exports.statsControllerGetTopRunnersByDistance = statsControllerGetTopRunnersByDistance; +exports.statsControllerGetTopRunnersByDonations = statsControllerGetTopRunnersByDonations; +exports.statsControllerGetTopRunnersByLaptime = statsControllerGetTopRunnersByLaptime; +exports.statsControllerGetTopRunnersByTrackTime = statsControllerGetTopRunnersByTrackTime; +exports.statsControllerGetTopTeamsByDistance = statsControllerGetTopTeamsByDistance; +exports.statsControllerGetTopTeamsByDonations = statsControllerGetTopTeamsByDonations; +exports.statusControllerGet = statusControllerGet; +exports.statusControllerGetVersion = statusControllerGetVersion; +exports.trackControllerGetAll = trackControllerGetAll; +exports.trackControllerGetOne = trackControllerGetOne; +exports.trackControllerPost = trackControllerPost; +exports.trackControllerPut = trackControllerPut; +exports.trackControllerRemove = trackControllerRemove; +exports.userControllerGetAll = userControllerGetAll; +exports.userControllerGetOne = userControllerGetOne; +exports.userControllerGetPermissions = userControllerGetPermissions; +exports.userControllerPost = userControllerPost; +exports.userControllerPut = userControllerPut; +exports.userControllerRemove = userControllerRemove; +exports.userGroupControllerGetAll = userGroupControllerGetAll; +exports.userGroupControllerGetOne = userGroupControllerGetOne; +exports.userGroupControllerGetPermissions = userGroupControllerGetPermissions; +exports.userGroupControllerPost = userGroupControllerPost; +exports.userGroupControllerPut = userGroupControllerPut; +exports.userGroupControllerRemove = userGroupControllerRemove; diff --git a/dist/index.d.cts b/dist/index.d.cts new file mode 100644 index 0000000..d006430 --- /dev/null +++ b/dist/index.d.cts @@ -0,0 +1,3428 @@ +import * as _hey_api_client_fetch from '@hey-api/client-fetch'; +import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch'; + +type ConfigFlag = { + option: string; + value: string; +}; +type AddressPostalCodeInvalidError = { + name: string; + message: string; +}; +type AddressFirstLineEmptyError = { + name: string; + message: string; +}; +type AddressPostalCodeEmptyError = { + name: string; + message: string; +}; +type AddressCityEmptyError = { + name: string; + message: string; +}; +type AddressCountryEmptyError = { + name: string; + message: string; +}; +type Address = { + address1: string; + address2: string; + postalcode: string; + city: string; + country: string; +}; +type ResponseGroupContact = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + groups: { + [key: string]: unknown; + }; + address: { + [key: string]: unknown; + }; +}; +type ResponseRunnerGroup = { + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type ResponseRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + teams: Array; + registrationKey?: string; + registrationEnabled?: boolean; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type GroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type ResponseParticipant = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseRunner = { + distance: number; + group: { + [key: string]: unknown; + }; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonation = { + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type ResponseDistanceDonation = { + runner: { + [key: string]: unknown; + }; + amountPerDistance: number; + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type Participant = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donation = { + id: number; + donor: string; + paidAmount: number; +}; +type DistanceDonation = { + runner: string; + amountPerDistance: number; + id: number; + donor: string; + paidAmount: number; +}; +type RunnerCardNotFoundError = { + name: string; + message: string; +}; +type RunnerCardIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerCardHasScansError = { + name: string; + message: string; +}; +type RunnerCardIdOutOfRangeError = { + name: string; + message: string; +}; +type ResponseRunnerCard = { + id: number; + runner: { + [key: string]: unknown; + }; + code: string; + enabled: boolean; +}; +type ResponseScan = { + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type TrackNotFoundError = { + name: string; + message: string; +}; +type TrackIdsNotMatchingError = { + name: string; + message: string; +}; +type TrackLapTimeCantBeNegativeError = { + name: string; + message: string; +}; +type TrackHasScanStationsError = { + name: string; + message: string; +}; +type ResponseTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ResponseScanStation = { + id: number; + description?: string; + key?: string; + prefix: string; + track: { + [key: string]: unknown; + }; + enabled: boolean; +}; +type ResponseTrackScan = { + track: string; + card: string; + station: string; + timestamp: string; + lapTime: number; + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type Scan = { + id: number; + runner: string; + valid: boolean; + _distance: number; + distance: number; +}; +type Track = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ScanStation = { + id: number; + description?: string; + track: string; + prefix: string; + key: string; + cleartextkey?: string; + enabled: boolean; +}; +type TrackScan = { + track: string; + card: string; + station: string; + distance: number; + timestamp: number; + lapTime: number; + id: number; + runner: string; + valid: boolean; + _distance: number; +}; +type RunnerCard = { + id: number; + runner?: unknown; + enabled: boolean; +}; +type Runner = { + group: string; + resetRequestedTimestamp?: string; + distance: number; + distanceDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type RunnerGroup = { + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type ResponseRunnerTeam = { + parentGroup: { + [key: string]: unknown; + }; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type RunnerTeam = { + parentGroup: string; + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type RunnerOrganization = { + address?: unknown; + key?: string; + distance: number; + distanceDonationAmount: number; + id: number; + name: string; + contact?: unknown; +}; +type GroupContactNotFoundError = { + name: string; + message: string; +}; +type GroupContactIdsNotMatchingError = { + name: string; + message: string; +}; +type CreateRunnerGroup = { + name: string; + contact?: number; +}; +type CreateRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type RunnerGroupNotFoundError = { + name: string; + message: string; +}; +type CreateGroupContact = { + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type RunnerOrganizationNotFoundError = { + name: string; + message: string; +}; +type RunnerOrganizationIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerOrganizationHasRunnersError = { + name: string; + message: string; +}; +type RunnerOrganizationHasTeamsError = { + name: string; + message: string; +}; +type RunnerOrganizationWrongTypeError = { + name: string; + message: string; +}; +type RunnerTeamNotFoundError = { + name: string; + message: string; +}; +type RunnerTeamIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerTeamHasRunnersError = { + name: string; + message: string; +}; +type RunnerTeamNeedsParentError = { + name: string; + message: string; +}; +type CreateParticipant = { + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunner = { + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerTeam = { + parentGroup: number; + name: string; + contact?: number; +}; +type PrincipalNotFoundError = { + name: string; + message: string; +}; +type PrincipalWrongTypeError = { + name: string; + message: string; +}; +type ResponsePrincipal = { + id: number; +}; +type ResponsePermission = { + id: number; + principal: { + [key: string]: unknown; + }; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type Principal = { + id: number; +}; +type Permission = { + id: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type CreatePermission = { + principal: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type ResponseUserGroup = { + name: string; + description?: string; + permissions?: Array; + id: number; +}; +type UserGroup = { + name: string; + description?: string; + id: number; +}; +type CreateUserGroup = { + name: string; + description?: string; +}; +type ResponseUser = { + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + username: string; + enabled: boolean; + profilePic: string; + groups?: Array; + permissions?: Array; + id: number; +}; +type UserAction = { + id: number; + target: string; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; + changed?: string; +}; +type User = { + uuid: string; + email: string; + phone?: string; + username: string; + firstname: string; + middlename?: string; + lastname: string; + password: string; + groups?: unknown; + enabled: boolean; + refreshTokenCount: number; + profilePic: string; + resetRequestedTimestamp?: string; + actions?: unknown; + id: number; +}; +type IllegalJwtError = { + name: string; + message: string; +}; +type UserNonexistantOrRefreshtokenInvalidError = { + name: string; + message: string; +}; +type InvalidCredentialsError = { + name: string; + message: string; +}; +type NoPermissionError = { + name: string; + message: string; +}; +type UsernameOrEmailNeededError = { + name: string; + message: string; +}; +type PasswordNeededError = { + name: string; + message: string; +}; +type UserNotFoundError = { + name: string; + message: string; +}; +type JwtNotProvidedError = { + name: string; + message: string; +}; +type UserNotFoundOrRefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type RefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type ResetAlreadyRequestedError = { + name: string; + message: string; +}; +type UserDisabledError = { + name: string; + message: string; +}; +type JwtUser = { + id: number; + uuid: string; + email?: string; + username?: string; + firstname: string; + middlename?: string; + lastname: string; + enabled: boolean; + refreshTokenCount: number; + profilePic?: string; +}; +type MailSendingError = { + name: string; + message: string; +}; +type UsernameContainsIllegalCharacterError = { + name: string; + message: string; +}; +type UserEmailNeededError = { + name: string; + message: string; +}; +type UserIdsNotMatchingError = { + name: string; + message: string; +}; +type UserDeletionNotConfirmedError = { + name: string; + message: string; +}; +type PasswordMustContainUppercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainLowercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainNumberError = { + name: string; + message: string; +}; +type PasswordTooShortError = { + name: string; + message: string; +}; +type ResponseAuth = { + access_token: string; + refresh_token: string; + access_token_expires_at: number; + refresh_token_expires_at: number; +}; +type CreateAuth = { + username?: string; + email?: string; + password: string; +}; +type CreateResetToken = { + email: string; +}; +type Logout = { + timestamp: string; +}; +type HandleLogout = { + token?: string; +}; +type RefreshAuth = { + token?: string; +}; +type ResetPassword = { + resetToken?: string; + password: string; +}; +type ResponseEmpty = { + response: string; +}; +type DonationNotFoundError = { + name: string; + message: string; +}; +type DonationIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorNotFoundError = { + name: string; + message: string; +}; +type DonorIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorReceiptAddressNeededError = { + name: string; + message: string; +}; +type DonorHasDonationsError = { + name: string; + message: string; +}; +type RunnerNotFoundError = { + name: string; + message: string; +}; +type RunnerIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerGroupNeededError = { + name: string; + message: string; +}; +type RunnerEmailNeededError = { + name: string; + message: string; +}; +type RunnerSelfserviceTimeoutError = { + name: string; + message: string; +}; +type RunnerHasDistanceDonationsError = { + name: string; + message: string; +}; +type CreateDonation = { + donor: number; + paidAmount?: number; +}; +type CreateDistanceDonation = { + runner: number; + amountPerDistance: number; + donor: number; + paidAmount?: number; +}; +type FixedDonation = { + _amount: number; + amount: number; + id: number; + donor: string; + paidAmount: number; +}; +type CreateFixedDonation = { + amount: number; + donor: number; + paidAmount?: number; +}; +type UpdateDonation = { + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateDistanceDonation = { + runner: number; + amountPerDistance: number; + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateFixedDonation = { + amount: number; + id: number; + donor: number; + paidAmount?: number; +}; +type CreateDonor = { + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateDonor = { + id: number; + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateGroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type ImportRunner = { + firstname: string; + middlename?: string; + lastname: string; + team?: string; + class?: string; +}; +type UpdateRunner = { + id: number; + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerCard = { + runner?: number; + enabled: boolean; +}; +type UpdateRunnerCard = { + id: number; + runner?: number; + enabled: boolean; +}; +type ScanNotFoundError = { + name: string; + message: string; +}; +type ScanIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationNotFoundError = { + name: string; + message: string; +}; +type ScanStationIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationHasScansError = { + name: string; + message: string; +}; +type CreateScan = { + runner: number; + valid?: boolean; + distance: number; +}; +type CreateTrackScan = { + card: number; + station?: number; +}; +type UpdateScan = { + id: number; + runner: number; + valid?: boolean; + distance: number; +}; +type UpdateTrackScan = { + id: number; + runner: number; + valid?: boolean; + track: number; +}; +type GroupNameNeededError = { + name: string; + message: string; +}; +type UserGroupNotFoundError = { + name: string; + message: string; +}; +type UserGroupIdsNotMatchingError = { + name: string; + message: string; +}; +type UpdateUser = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password?: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type ResponseUserPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type PermissionNotFoundError = { + name: string; + message: string; +}; +type PermissionIdsNotMatchingError = { + name: string; + message: string; +}; +type PermissionNeedsPrincipalError = { + name: string; + message: string; +}; +type UpdatePermission = { + id: number; + principal: number; + target: string; + action: string; +}; +type UpdateRunnerOrganization = { + id: number; + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type UpdateRunnerTeam = { + id: number; + parentGroup: number; + name: string; + contact?: number; +}; +type CreateSelfServiceCitizenRunner = { + email?: string; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateSelfServiceRunner = { + team?: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceTeam = { + name: string; + id: number; +}; +type ResponseSelfServiceOrganisation = { + name: string; + teams: Array; +}; +type ResponseSelfServiceDonor = { + id: number; + firstname: string; + middlename: string; + lastname: string; +}; +type ResponseSelfServiceDonation = { + donor: string; + amount: number; + amountPerDistance: number; +}; +type ResponseSelfServiceRunner = { + distance: number; + donationAmount: number; + group: string; + distanceDonations: string; + token?: string; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceScan = { + id: number; + valid: boolean; + distance: number; + lapTime: number; +}; +type CreateScanStation = { + description?: string; + track: number; + enabled?: boolean; +}; +type UpdateScanStation = { + id: number; + description?: string; + enabled?: boolean; +}; +type StatsClientNotFoundError = { + name: string; + message: string; +}; +type StatsClientIdsNotMatchingError = { + name: string; + message: string; +}; +type ResponseStatsClient = { + id: number; + description?: string; + key?: string; + prefix: string; +}; +type StatsClient = { + id: number; + description?: string; + prefix: string; + key: string; + cleartextkey?: string; +}; +type CreateStatsClient = { + description?: string; +}; +type ResponseStats = { + total_runners: number; + total_teams: number; + total_orgs: number; + total_users: number; + total_scans: number; + total_distance: number; + total_donation: number; + total_donations: number; + total_donors: number; + average_distance: number; + average_donation: number; +}; +type ResponseStatsOrgnisation = { + id: number; + name: string; + distance: number; + donationAmount: number; +}; +type ResponseStatsRunner = { + id: number; + firstname: string; + middlename: string; + lastname: string; + distance: number; + donationAmount: number; + minLaptime?: number; + group: { + [key: string]: unknown; + }; +}; +type ResponseStatsTeam = { + id: number; + name: string; + distance: number; + donationAmount: number; + parent: { + [key: string]: unknown; + }; +}; +type CreateTrack = { + name: string; + distance: number; + minimumLapTime?: number; +}; +type UpdateTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type CreateUser = { + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type UpdateUserGroup = { + id: number; + name: string; + description?: string; +}; +type ResponseUserGroupPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type AuthControllerLoginData = { + /** + * CreateAuth + */ + body?: CreateAuth; + path?: never; + query?: never; + url: '/api/auth/login'; +}; +type AuthControllerLoginResponses = { + 200: ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLoginResponse = AuthControllerLoginResponses[keyof AuthControllerLoginResponses]; +type AuthControllerLogoutData = { + /** + * HandleLogout + */ + body?: HandleLogout; + path?: never; + query?: never; + url: '/api/auth/logout'; +}; +type AuthControllerLogoutResponses = { + 200: Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLogoutResponse = AuthControllerLogoutResponses[keyof AuthControllerLogoutResponses]; +type AuthControllerRefreshData = { + /** + * RefreshAuth + */ + body?: RefreshAuth; + path?: never; + query?: never; + url: '/api/auth/refresh'; +}; +type AuthControllerRefreshResponses = { + 200: ResponseAuth | JwtNotProvidedError | IllegalJwtError | UserNotFoundError | RefreshTokenCountInvalidError; +}; +type AuthControllerRefreshResponse = AuthControllerRefreshResponses[keyof AuthControllerRefreshResponses]; +type AuthControllerGetResetTokenData = { + /** + * CreateResetToken + */ + body?: CreateResetToken; + path?: never; + query?: { + locale?: string; + }; + url: '/api/auth/reset'; +}; +type AuthControllerGetResetTokenErrors = { + 404: UserNotFoundError; + 406: UsernameOrEmailNeededError; + 500: MailSendingError; +}; +type AuthControllerGetResetTokenError = AuthControllerGetResetTokenErrors[keyof AuthControllerGetResetTokenErrors]; +type AuthControllerGetResetTokenResponses = { + 200: ResponseEmpty; +}; +type AuthControllerGetResetTokenResponse = AuthControllerGetResetTokenResponses[keyof AuthControllerGetResetTokenResponses]; +type AuthControllerResetPasswordData = { + /** + * ResetPassword + */ + body?: ResetPassword; + path: { + token: string; + }; + query?: never; + url: '/api/auth/reset/{token}'; +}; +type AuthControllerResetPasswordResponses = { + 200: ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError; +}; +type AuthControllerResetPasswordResponse = AuthControllerResetPasswordResponses[keyof AuthControllerResetPasswordResponses]; +type DonationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donations'; +}; +type DonationControllerGetAllResponses = { + 200: Array | Array; +}; +type DonationControllerGetAllResponse = DonationControllerGetAllResponses[keyof DonationControllerGetAllResponses]; +type DonationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donations/{id}'; +}; +type DonationControllerRemoveResponses = { + 200: ResponseDonation | ResponseDistanceDonation; + 204: ResponseEmpty; +}; +type DonationControllerRemoveResponse = DonationControllerRemoveResponses[keyof DonationControllerRemoveResponses]; +type DonationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donations/{id}'; +}; +type DonationControllerGetOneErrors = { + 404: DonationNotFoundError; +}; +type DonationControllerGetOneError = DonationControllerGetOneErrors[keyof DonationControllerGetOneErrors]; +type DonationControllerGetOneResponses = { + 200: ResponseDonation | ResponseDistanceDonation; +}; +type DonationControllerGetOneResponse = DonationControllerGetOneResponses[keyof DonationControllerGetOneResponses]; +type DonationControllerPostFixedData = { + /** + * CreateFixedDonation + */ + body?: CreateFixedDonation; + path?: never; + query?: never; + url: '/api/donations/fixed'; +}; +type DonationControllerPostFixedErrors = { + 404: DonorNotFoundError; +}; +type DonationControllerPostFixedError = DonationControllerPostFixedErrors[keyof DonationControllerPostFixedErrors]; +type DonationControllerPostFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPostFixedResponse = DonationControllerPostFixedResponses[keyof DonationControllerPostFixedResponses]; +type DonationControllerPostDistanceData = { + /** + * CreateDistanceDonation + */ + body?: CreateDistanceDonation; + path?: never; + query?: never; + url: '/api/donations/distance'; +}; +type DonationControllerPostDistanceErrors = { + 404: DonorNotFoundError | RunnerNotFoundError; +}; +type DonationControllerPostDistanceError = DonationControllerPostDistanceErrors[keyof DonationControllerPostDistanceErrors]; +type DonationControllerPostDistanceResponses = { + 200: ResponseDistanceDonation; +}; +type DonationControllerPostDistanceResponse = DonationControllerPostDistanceResponses[keyof DonationControllerPostDistanceResponses]; +type DonationControllerPutFixedData = { + /** + * UpdateFixedDonation + */ + body?: UpdateFixedDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/fixed/{id}'; +}; +type DonationControllerPutFixedErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutFixedError = DonationControllerPutFixedErrors[keyof DonationControllerPutFixedErrors]; +type DonationControllerPutFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutFixedResponse = DonationControllerPutFixedResponses[keyof DonationControllerPutFixedResponses]; +type DonationControllerPutDistanceData = { + /** + * UpdateDistanceDonation + */ + body?: UpdateDistanceDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/distance/{id}'; +}; +type DonationControllerPutDistanceErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutDistanceError = DonationControllerPutDistanceErrors[keyof DonationControllerPutDistanceErrors]; +type DonationControllerPutDistanceResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutDistanceResponse = DonationControllerPutDistanceResponses[keyof DonationControllerPutDistanceResponses]; +type DonorControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donors'; +}; +type DonorControllerGetAllResponses = { + 200: Array; +}; +type DonorControllerGetAllResponse = DonorControllerGetAllResponses[keyof DonorControllerGetAllResponses]; +type DonorControllerPostData = { + /** + * CreateDonor + */ + body?: CreateDonor; + path?: never; + query?: never; + url: '/api/donors'; +}; +type DonorControllerPostResponses = { + 200: ResponseDonor; +}; +type DonorControllerPostResponse = DonorControllerPostResponses[keyof DonorControllerPostResponses]; +type DonorControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donors/{id}'; +}; +type DonorControllerRemoveResponses = { + 200: ResponseDonor; + 204: ResponseEmpty; +}; +type DonorControllerRemoveResponse = DonorControllerRemoveResponses[keyof DonorControllerRemoveResponses]; +type DonorControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerGetOneErrors = { + 404: DonorNotFoundError; +}; +type DonorControllerGetOneError = DonorControllerGetOneErrors[keyof DonorControllerGetOneErrors]; +type DonorControllerGetOneResponses = { + 200: ResponseDonor; +}; +type DonorControllerGetOneResponse = DonorControllerGetOneResponses[keyof DonorControllerGetOneResponses]; +type DonorControllerPutData = { + /** + * UpdateDonor + */ + body?: UpdateDonor; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerPutErrors = { + 404: DonorNotFoundError; + 406: DonorIdsNotMatchingError; +}; +type DonorControllerPutError = DonorControllerPutErrors[keyof DonorControllerPutErrors]; +type DonorControllerPutResponses = { + 200: ResponseDonor; +}; +type DonorControllerPutResponse = DonorControllerPutResponses[keyof DonorControllerPutResponses]; +type GroupContactControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/contacts'; +}; +type GroupContactControllerGetAllResponses = { + 200: Array; +}; +type GroupContactControllerGetAllResponse = GroupContactControllerGetAllResponses[keyof GroupContactControllerGetAllResponses]; +type GroupContactControllerPostData = { + /** + * CreateGroupContact + */ + body?: CreateGroupContact; + path?: never; + query?: never; + url: '/api/contacts'; +}; +type GroupContactControllerPostErrors = { + 404: RunnerGroupNotFoundError; +}; +type GroupContactControllerPostError = GroupContactControllerPostErrors[keyof GroupContactControllerPostErrors]; +type GroupContactControllerPostResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPostResponse = GroupContactControllerPostResponses[keyof GroupContactControllerPostResponses]; +type GroupContactControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerRemoveResponses = { + 200: ResponseGroupContact; + 204: ResponseEmpty; +}; +type GroupContactControllerRemoveResponse = GroupContactControllerRemoveResponses[keyof GroupContactControllerRemoveResponses]; +type GroupContactControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerGetOneErrors = { + 404: GroupContactNotFoundError; +}; +type GroupContactControllerGetOneError = GroupContactControllerGetOneErrors[keyof GroupContactControllerGetOneErrors]; +type GroupContactControllerGetOneResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerGetOneResponse = GroupContactControllerGetOneResponses[keyof GroupContactControllerGetOneResponses]; +type GroupContactControllerPutData = { + /** + * UpdateGroupContact + */ + body?: UpdateGroupContact; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerPutErrors = { + 404: GroupContactNotFoundError | RunnerGroupNotFoundError; + 406: GroupContactIdsNotMatchingError; +}; +type GroupContactControllerPutError = GroupContactControllerPutErrors[keyof GroupContactControllerPutErrors]; +type GroupContactControllerPutResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPutResponse = GroupContactControllerPutResponses[keyof GroupContactControllerPutResponses]; +type ScanControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/scans'; +}; +type ScanControllerGetAllResponses = { + 200: Array | Array; +}; +type ScanControllerGetAllResponse = ScanControllerGetAllResponses[keyof ScanControllerGetAllResponses]; +type ScanControllerPostData = { + /** + * CreateScan + */ + body?: CreateScan; + path?: never; + query?: never; + url: '/api/scans'; +}; +type ScanControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostError = ScanControllerPostErrors[keyof ScanControllerPostErrors]; +type ScanControllerPostResponses = { + 200: ResponseScan; +}; +type ScanControllerPostResponse = ScanControllerPostResponses[keyof ScanControllerPostResponses]; +type ScanControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/scans/{id}'; +}; +type ScanControllerRemoveResponses = { + 200: ResponseScan; + 204: ResponseEmpty; +}; +type ScanControllerRemoveResponse = ScanControllerRemoveResponses[keyof ScanControllerRemoveResponses]; +type ScanControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerGetOneErrors = { + 404: ScanNotFoundError; +}; +type ScanControllerGetOneError = ScanControllerGetOneErrors[keyof ScanControllerGetOneErrors]; +type ScanControllerGetOneResponses = { + 200: ResponseScan | ResponseTrackScan; +}; +type ScanControllerGetOneResponse = ScanControllerGetOneResponses[keyof ScanControllerGetOneResponses]; +type ScanControllerPutData = { + /** + * UpdateScan + */ + body?: UpdateScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerPutErrors = { + 404: ScanNotFoundError | RunnerNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutError = ScanControllerPutErrors[keyof ScanControllerPutErrors]; +type ScanControllerPutResponses = { + 200: ResponseScan; +}; +type ScanControllerPutResponse = ScanControllerPutResponses[keyof ScanControllerPutResponses]; +type ScanControllerPostTrackScansData = { + /** + * CreateTrackScan + */ + body?: CreateTrackScan; + path?: never; + query?: never; + url: '/api/scans/trackscans'; +}; +type ScanControllerPostTrackScansErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostTrackScansError = ScanControllerPostTrackScansErrors[keyof ScanControllerPostTrackScansErrors]; +type ScanControllerPostTrackScansResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPostTrackScansResponse = ScanControllerPostTrackScansResponses[keyof ScanControllerPostTrackScansResponses]; +type ScanControllerPutTrackScanData = { + /** + * UpdateTrackScan + */ + body?: UpdateTrackScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/trackscans/{id}'; +}; +type ScanControllerPutTrackScanErrors = { + 404: ScanNotFoundError | RunnerNotFoundError | ScanStationNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutTrackScanError = ScanControllerPutTrackScanErrors[keyof ScanControllerPutTrackScanErrors]; +type ScanControllerPutTrackScanResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPutTrackScanResponse = ScanControllerPutTrackScanResponses[keyof ScanControllerPutTrackScanResponses]; +type RunnerCardControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/cards'; +}; +type RunnerCardControllerGetAllResponses = { + 200: Array; +}; +type RunnerCardControllerGetAllResponse = RunnerCardControllerGetAllResponses[keyof RunnerCardControllerGetAllResponses]; +type RunnerCardControllerPostData = { + /** + * CreateRunnerCard + */ + body?: CreateRunnerCard; + path?: never; + query?: never; + url: '/api/cards'; +}; +type RunnerCardControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type RunnerCardControllerPostError = RunnerCardControllerPostErrors[keyof RunnerCardControllerPostErrors]; +type RunnerCardControllerPostResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPostResponse = RunnerCardControllerPostResponses[keyof RunnerCardControllerPostResponses]; +type RunnerCardControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerRemoveErrors = { + 406: RunnerCardHasScansError; +}; +type RunnerCardControllerRemoveError = RunnerCardControllerRemoveErrors[keyof RunnerCardControllerRemoveErrors]; +type RunnerCardControllerRemoveResponses = { + 200: ResponseRunnerCard; + 204: ResponseEmpty; +}; +type RunnerCardControllerRemoveResponse = RunnerCardControllerRemoveResponses[keyof RunnerCardControllerRemoveResponses]; +type RunnerCardControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerGetOneErrors = { + 404: RunnerCardNotFoundError; +}; +type RunnerCardControllerGetOneError = RunnerCardControllerGetOneErrors[keyof RunnerCardControllerGetOneErrors]; +type RunnerCardControllerGetOneResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerGetOneResponse = RunnerCardControllerGetOneResponses[keyof RunnerCardControllerGetOneResponses]; +type RunnerCardControllerPutData = { + /** + * UpdateRunnerCard + */ + body?: UpdateRunnerCard; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerPutErrors = { + 404: RunnerCardNotFoundError | RunnerNotFoundError; + 406: RunnerCardIdsNotMatchingError; +}; +type RunnerCardControllerPutError = RunnerCardControllerPutErrors[keyof RunnerCardControllerPutErrors]; +type RunnerCardControllerPutResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPutResponse = RunnerCardControllerPutResponses[keyof RunnerCardControllerPutResponses]; +type RunnerCardControllerPostBlancoBulkData = { + body?: never; + path?: never; + query?: { + count?: number; + returnCards?: boolean; + }; + url: '/api/cards/bulk'; +}; +type RunnerCardControllerPostBlancoBulkResponses = { + 200: ResponseEmpty; +}; +type RunnerCardControllerPostBlancoBulkResponse = RunnerCardControllerPostBlancoBulkResponses[keyof RunnerCardControllerPostBlancoBulkResponses]; +type RunnerControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/runners'; +}; +type RunnerControllerGetAllResponses = { + 200: Array; +}; +type RunnerControllerGetAllResponse = RunnerControllerGetAllResponses[keyof RunnerControllerGetAllResponses]; +type RunnerControllerPostData = { + /** + * CreateRunner + */ + body?: CreateRunner; + path?: never; + query?: never; + url: '/api/runners'; +}; +type RunnerControllerPostResponses = { + 200: ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError; +}; +type RunnerControllerPostResponse = RunnerControllerPostResponses[keyof RunnerControllerPostResponses]; +type RunnerControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/{id}'; +}; +type RunnerControllerRemoveErrors = { + 406: RunnerHasDistanceDonationsError; +}; +type RunnerControllerRemoveError = RunnerControllerRemoveErrors[keyof RunnerControllerRemoveErrors]; +type RunnerControllerRemoveResponses = { + 200: ResponseRunner; + 204: ResponseEmpty; +}; +type RunnerControllerRemoveResponse = RunnerControllerRemoveResponses[keyof RunnerControllerRemoveResponses]; +type RunnerControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerGetOneErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetOneError = RunnerControllerGetOneErrors[keyof RunnerControllerGetOneErrors]; +type RunnerControllerGetOneResponses = { + 200: ResponseRunner; +}; +type RunnerControllerGetOneResponse = RunnerControllerGetOneResponses[keyof RunnerControllerGetOneResponses]; +type RunnerControllerPutData = { + /** + * UpdateRunner + */ + body?: UpdateRunner; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerPutErrors = { + 404: RunnerNotFoundError; + 406: RunnerIdsNotMatchingError; +}; +type RunnerControllerPutError = RunnerControllerPutErrors[keyof RunnerControllerPutErrors]; +type RunnerControllerPutResponses = { + 200: ResponseRunner; +}; +type RunnerControllerPutResponse = RunnerControllerPutResponses[keyof RunnerControllerPutResponses]; +type RunnerControllerGetScansData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}/scans'; +}; +type RunnerControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetScansError = RunnerControllerGetScansErrors[keyof RunnerControllerGetScansErrors]; +type RunnerControllerGetScansResponses = { + 200: Array | Array; +}; +type RunnerControllerGetScansResponse = RunnerControllerGetScansResponses[keyof RunnerControllerGetScansResponses]; +type ImportControllerPostJsonData = { + /** + * ImportRunner + */ + body?: Array; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import'; +}; +type ImportControllerPostJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostJsonError = ImportControllerPostJsonErrors[keyof ImportControllerPostJsonErrors]; +type ImportControllerPostJsonResponses = { + 200: Array; +}; +type ImportControllerPostJsonResponse = ImportControllerPostJsonResponses[keyof ImportControllerPostJsonResponses]; +type ImportControllerPostOrgsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import'; +}; +type ImportControllerPostOrgsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsJsonError = ImportControllerPostOrgsJsonErrors[keyof ImportControllerPostOrgsJsonErrors]; +type ImportControllerPostOrgsJsonResponses = { + 200: Array; +}; +type ImportControllerPostOrgsJsonResponse = ImportControllerPostOrgsJsonResponses[keyof ImportControllerPostOrgsJsonResponses]; +type ImportControllerPostTeamsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import'; +}; +type ImportControllerPostTeamsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsJsonError = ImportControllerPostTeamsJsonErrors[keyof ImportControllerPostTeamsJsonErrors]; +type ImportControllerPostTeamsJsonResponses = { + 200: Array; +}; +type ImportControllerPostTeamsJsonResponse = ImportControllerPostTeamsJsonResponses[keyof ImportControllerPostTeamsJsonResponses]; +type ImportControllerPostCsvData = { + body?: never; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import/csv'; +}; +type ImportControllerPostCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostCsvError = ImportControllerPostCsvErrors[keyof ImportControllerPostCsvErrors]; +type ImportControllerPostCsvResponses = { + 200: Array; +}; +type ImportControllerPostCsvResponse = ImportControllerPostCsvResponses[keyof ImportControllerPostCsvResponses]; +type ImportControllerPostOrgsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import/csv'; +}; +type ImportControllerPostOrgsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsCsvError = ImportControllerPostOrgsCsvErrors[keyof ImportControllerPostOrgsCsvErrors]; +type ImportControllerPostOrgsCsvResponses = { + 200: Array; +}; +type ImportControllerPostOrgsCsvResponse = ImportControllerPostOrgsCsvResponses[keyof ImportControllerPostOrgsCsvResponses]; +type ImportControllerPostTeamsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import/csv'; +}; +type ImportControllerPostTeamsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsCsvError = ImportControllerPostTeamsCsvErrors[keyof ImportControllerPostTeamsCsvErrors]; +type ImportControllerPostTeamsCsvResponses = { + 200: Array; +}; +type ImportControllerPostTeamsCsvResponse = ImportControllerPostTeamsCsvResponses[keyof ImportControllerPostTeamsCsvResponses]; +type PermissionControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/permissions'; +}; +type PermissionControllerGetAllResponses = { + 200: Array; +}; +type PermissionControllerGetAllResponse = PermissionControllerGetAllResponses[keyof PermissionControllerGetAllResponses]; +type PermissionControllerPostData = { + /** + * CreatePermission + */ + body?: CreatePermission; + path?: never; + query?: never; + url: '/api/permissions'; +}; +type PermissionControllerPostErrors = { + 404: PrincipalNotFoundError; +}; +type PermissionControllerPostError = PermissionControllerPostErrors[keyof PermissionControllerPostErrors]; +type PermissionControllerPostResponses = { + 200: ResponsePermission; +}; +type PermissionControllerPostResponse = PermissionControllerPostResponses[keyof PermissionControllerPostResponses]; +type PermissionControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/permissions/{id}'; +}; +type PermissionControllerRemoveResponses = { + 200: ResponsePermission; + 204: ResponseEmpty; +}; +type PermissionControllerRemoveResponse = PermissionControllerRemoveResponses[keyof PermissionControllerRemoveResponses]; +type PermissionControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerGetOneErrors = { + 404: PermissionNotFoundError; +}; +type PermissionControllerGetOneError = PermissionControllerGetOneErrors[keyof PermissionControllerGetOneErrors]; +type PermissionControllerGetOneResponses = { + 200: ResponsePermission; +}; +type PermissionControllerGetOneResponse = PermissionControllerGetOneResponses[keyof PermissionControllerGetOneResponses]; +type PermissionControllerPutData = { + /** + * UpdatePermission + */ + body?: UpdatePermission; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerPutErrors = { + 404: PermissionNotFoundError | PrincipalNotFoundError; + 406: PermissionIdsNotMatchingError | PermissionNeedsPrincipalError; +}; +type PermissionControllerPutError = PermissionControllerPutErrors[keyof PermissionControllerPutErrors]; +type PermissionControllerPutResponses = { + 200: ResponsePrincipal; +}; +type PermissionControllerPutResponse = PermissionControllerPutResponses[keyof PermissionControllerPutResponses]; +type MeControllerRemoveData = { + body?: never; + path?: never; + query?: { + force?: boolean; + }; + url: '/api/users/me/'; +}; +type MeControllerRemoveErrors = { + 404: UserNotFoundError; + 406: UserDeletionNotConfirmedError; +}; +type MeControllerRemoveError = MeControllerRemoveErrors[keyof MeControllerRemoveErrors]; +type MeControllerRemoveResponses = { + 200: ResponseUser; +}; +type MeControllerRemoveResponse = MeControllerRemoveResponses[keyof MeControllerRemoveResponses]; +type MeControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerGetErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetError = MeControllerGetErrors[keyof MeControllerGetErrors]; +type MeControllerGetResponses = { + 200: ResponseUser; +}; +type MeControllerGetResponse = MeControllerGetResponses[keyof MeControllerGetResponses]; +type MeControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type MeControllerPutError = MeControllerPutErrors[keyof MeControllerPutErrors]; +type MeControllerPutResponses = { + 200: ResponseUser; +}; +type MeControllerPutResponse = MeControllerPutResponses[keyof MeControllerPutResponses]; +type MeControllerGetPermissionsData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/permissions'; +}; +type MeControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetPermissionsError = MeControllerGetPermissionsErrors[keyof MeControllerGetPermissionsErrors]; +type MeControllerGetPermissionsResponses = { + 200: ResponseUserPermissions; +}; +type MeControllerGetPermissionsResponse = MeControllerGetPermissionsResponses[keyof MeControllerGetPermissionsResponses]; +type RunnerTeamControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/teams'; +}; +type RunnerTeamControllerGetAllResponses = { + 200: Array; +}; +type RunnerTeamControllerGetAllResponse = RunnerTeamControllerGetAllResponses[keyof RunnerTeamControllerGetAllResponses]; +type RunnerTeamControllerPostData = { + /** + * CreateRunnerTeam + */ + body?: CreateRunnerTeam; + path?: never; + query?: never; + url: '/api/teams'; +}; +type RunnerTeamControllerPostResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPostResponse = RunnerTeamControllerPostResponses[keyof RunnerTeamControllerPostResponses]; +type RunnerTeamControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerRemoveErrors = { + 406: RunnerTeamHasRunnersError; +}; +type RunnerTeamControllerRemoveError = RunnerTeamControllerRemoveErrors[keyof RunnerTeamControllerRemoveErrors]; +type RunnerTeamControllerRemoveResponses = { + 200: ResponseRunnerTeam; + 204: ResponseEmpty; +}; +type RunnerTeamControllerRemoveResponse = RunnerTeamControllerRemoveResponses[keyof RunnerTeamControllerRemoveResponses]; +type RunnerTeamControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerGetOneErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetOneError = RunnerTeamControllerGetOneErrors[keyof RunnerTeamControllerGetOneErrors]; +type RunnerTeamControllerGetOneResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerGetOneResponse = RunnerTeamControllerGetOneResponses[keyof RunnerTeamControllerGetOneResponses]; +type RunnerTeamControllerPutData = { + /** + * UpdateRunnerTeam + */ + body?: UpdateRunnerTeam; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerPutErrors = { + 404: RunnerTeamNotFoundError; + 406: RunnerTeamIdsNotMatchingError; +}; +type RunnerTeamControllerPutError = RunnerTeamControllerPutErrors[keyof RunnerTeamControllerPutErrors]; +type RunnerTeamControllerPutResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPutResponse = RunnerTeamControllerPutResponses[keyof RunnerTeamControllerPutResponses]; +type RunnerTeamControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/runners'; +}; +type RunnerTeamControllerGetRunnersErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetRunnersError = RunnerTeamControllerGetRunnersErrors[keyof RunnerTeamControllerGetRunnersErrors]; +type RunnerTeamControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerTeamControllerGetRunnersResponse = RunnerTeamControllerGetRunnersResponses[keyof RunnerTeamControllerGetRunnersResponses]; +type RunnerOrganizationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerGetAllResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetAllResponse = RunnerOrganizationControllerGetAllResponses[keyof RunnerOrganizationControllerGetAllResponses]; +type RunnerOrganizationControllerPostData = { + /** + * CreateRunnerOrganization + */ + body?: CreateRunnerOrganization; + path?: never; + query?: never; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerPostResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPostResponse = RunnerOrganizationControllerPostResponses[keyof RunnerOrganizationControllerPostResponses]; +type RunnerOrganizationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerRemoveErrors = { + 406: RunnerOrganizationHasTeamsError | RunnerOrganizationHasRunnersError; +}; +type RunnerOrganizationControllerRemoveError = RunnerOrganizationControllerRemoveErrors[keyof RunnerOrganizationControllerRemoveErrors]; +type RunnerOrganizationControllerRemoveResponses = { + 200: ResponseRunnerOrganization; + 204: ResponseEmpty; +}; +type RunnerOrganizationControllerRemoveResponse = RunnerOrganizationControllerRemoveResponses[keyof RunnerOrganizationControllerRemoveResponses]; +type RunnerOrganizationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerGetOneErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetOneError = RunnerOrganizationControllerGetOneErrors[keyof RunnerOrganizationControllerGetOneErrors]; +type RunnerOrganizationControllerGetOneResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerGetOneResponse = RunnerOrganizationControllerGetOneResponses[keyof RunnerOrganizationControllerGetOneResponses]; +type RunnerOrganizationControllerPutData = { + /** + * UpdateRunnerOrganization + */ + body?: UpdateRunnerOrganization; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerPutErrors = { + 404: RunnerOrganizationNotFoundError; + 406: RunnerOrganizationIdsNotMatchingError; +}; +type RunnerOrganizationControllerPutError = RunnerOrganizationControllerPutErrors[keyof RunnerOrganizationControllerPutErrors]; +type RunnerOrganizationControllerPutResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPutResponse = RunnerOrganizationControllerPutResponses[keyof RunnerOrganizationControllerPutResponses]; +type RunnerOrganizationControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: { + onlyDirect?: boolean; + }; + url: '/api/organizations/{id}/runners'; +}; +type RunnerOrganizationControllerGetRunnersErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetRunnersError = RunnerOrganizationControllerGetRunnersErrors[keyof RunnerOrganizationControllerGetRunnersErrors]; +type RunnerOrganizationControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetRunnersResponse = RunnerOrganizationControllerGetRunnersResponses[keyof RunnerOrganizationControllerGetRunnersResponses]; +type RunnerSelfServiceControllerRemoveData = { + body?: never; + path: { + jwt: string; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerRemoveErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRemoveError = RunnerSelfServiceControllerRemoveErrors[keyof RunnerSelfServiceControllerRemoveErrors]; +type RunnerSelfServiceControllerRemoveResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRemoveResponse = RunnerSelfServiceControllerRemoveResponses[keyof RunnerSelfServiceControllerRemoveResponses]; +type RunnerSelfServiceControllerGetData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerGetErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetError = RunnerSelfServiceControllerGetErrors[keyof RunnerSelfServiceControllerGetErrors]; +type RunnerSelfServiceControllerGetResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerGetResponse = RunnerSelfServiceControllerGetResponses[keyof RunnerSelfServiceControllerGetResponses]; +type RunnerSelfServiceControllerGetScansData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}/scans'; +}; +type RunnerSelfServiceControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetScansError = RunnerSelfServiceControllerGetScansErrors[keyof RunnerSelfServiceControllerGetScansErrors]; +type RunnerSelfServiceControllerGetScansResponses = { + 200: Array; +}; +type RunnerSelfServiceControllerGetScansResponse = RunnerSelfServiceControllerGetScansResponses[keyof RunnerSelfServiceControllerGetScansResponses]; +type RunnerSelfServiceControllerGetStationMeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stations/me'; +}; +type RunnerSelfServiceControllerGetStationMeErrors = { + 404: ScanStationNotFoundError; +}; +type RunnerSelfServiceControllerGetStationMeError = RunnerSelfServiceControllerGetStationMeErrors[keyof RunnerSelfServiceControllerGetStationMeErrors]; +type RunnerSelfServiceControllerGetStationMeResponses = { + 200: ResponseScanStation; +}; +type RunnerSelfServiceControllerGetStationMeResponse = RunnerSelfServiceControllerGetStationMeResponses[keyof RunnerSelfServiceControllerGetStationMeResponses]; +type RunnerSelfServiceControllerRequestNewTokenData = { + body?: never; + path?: never; + query?: { + mail?: string; + locale?: string; + }; + url: '/api/runners/login'; +}; +type RunnerSelfServiceControllerRequestNewTokenErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRequestNewTokenError = RunnerSelfServiceControllerRequestNewTokenErrors[keyof RunnerSelfServiceControllerRequestNewTokenErrors]; +type RunnerSelfServiceControllerRequestNewTokenResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type RunnerSelfServiceControllerRegisterRunnerData = { + /** + * CreateSelfServiceCitizenRunner + */ + body?: CreateSelfServiceCitizenRunner; + path?: never; + query?: { + locale?: string; + }; + url: '/api/runners/register'; +}; +type RunnerSelfServiceControllerRegisterRunnerErrors = { + 406: RunnerEmailNeededError; +}; +type RunnerSelfServiceControllerRegisterRunnerError = RunnerSelfServiceControllerRegisterRunnerErrors[keyof RunnerSelfServiceControllerRegisterRunnerErrors]; +type RunnerSelfServiceControllerRegisterRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterRunnerResponse = RunnerSelfServiceControllerRegisterRunnerResponses[keyof RunnerSelfServiceControllerRegisterRunnerResponses]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerData = { + /** + * CreateSelfServiceRunner + */ + body?: CreateSelfServiceRunner; + path: { + token: string; + }; + query?: { + locale?: string; + }; + url: '/api/runners/register/{token}'; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerError = RunnerSelfServiceControllerRegisterOrganizationRunnerErrors[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerErrors]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse = RunnerSelfServiceControllerRegisterOrganizationRunnerResponses[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerResponses]; +type RunnerSelfServiceControllerGetSelfserviceOrgData = { + body?: never; + path: { + token: string; + }; + query?: never; + url: '/api/organizations/selfservice/{token}'; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgError = RunnerSelfServiceControllerGetSelfserviceOrgErrors[keyof RunnerSelfServiceControllerGetSelfserviceOrgErrors]; +type RunnerSelfServiceControllerGetSelfserviceOrgResponses = { + 200: ResponseSelfServiceOrganisation; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgResponse = RunnerSelfServiceControllerGetSelfserviceOrgResponses[keyof RunnerSelfServiceControllerGetSelfserviceOrgResponses]; +type ScanStationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/stations'; +}; +type ScanStationControllerGetAllResponses = { + 200: Array; +}; +type ScanStationControllerGetAllResponse = ScanStationControllerGetAllResponses[keyof ScanStationControllerGetAllResponses]; +type ScanStationControllerPostData = { + /** + * CreateScanStation + */ + body?: CreateScanStation; + path?: never; + query?: never; + url: '/api/stations'; +}; +type ScanStationControllerPostErrors = { + 404: TrackNotFoundError; +}; +type ScanStationControllerPostError = ScanStationControllerPostErrors[keyof ScanStationControllerPostErrors]; +type ScanStationControllerPostResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPostResponse = ScanStationControllerPostResponses[keyof ScanStationControllerPostResponses]; +type ScanStationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/stations/{id}'; +}; +type ScanStationControllerRemoveErrors = { + 406: ScanStationHasScansError; +}; +type ScanStationControllerRemoveError = ScanStationControllerRemoveErrors[keyof ScanStationControllerRemoveErrors]; +type ScanStationControllerRemoveResponses = { + 200: ResponseScanStation; + 204: ResponseEmpty; +}; +type ScanStationControllerRemoveResponse = ScanStationControllerRemoveResponses[keyof ScanStationControllerRemoveResponses]; +type ScanStationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerGetOneErrors = { + 404: ScanStationNotFoundError; +}; +type ScanStationControllerGetOneError = ScanStationControllerGetOneErrors[keyof ScanStationControllerGetOneErrors]; +type ScanStationControllerGetOneResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerGetOneResponse = ScanStationControllerGetOneResponses[keyof ScanStationControllerGetOneResponses]; +type ScanStationControllerPutData = { + /** + * UpdateScanStation + */ + body?: UpdateScanStation; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerPutErrors = { + 404: ScanStationNotFoundError; + 406: ScanStationIdsNotMatchingError; +}; +type ScanStationControllerPutError = ScanStationControllerPutErrors[keyof ScanStationControllerPutErrors]; +type ScanStationControllerPutResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPutResponse = ScanStationControllerPutResponses[keyof ScanStationControllerPutResponses]; +type StatsClientControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/statsclients'; +}; +type StatsClientControllerGetAllResponses = { + 200: Array; +}; +type StatsClientControllerGetAllResponse = StatsClientControllerGetAllResponses[keyof StatsClientControllerGetAllResponses]; +type StatsClientControllerPostData = { + /** + * CreateStatsClient + */ + body?: CreateStatsClient; + path?: never; + query?: never; + url: '/api/statsclients'; +}; +type StatsClientControllerPostResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerPostResponse = StatsClientControllerPostResponses[keyof StatsClientControllerPostResponses]; +type StatsClientControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerRemoveResponses = { + 200: ResponseStatsClient; + 204: ResponseEmpty; +}; +type StatsClientControllerRemoveResponse = StatsClientControllerRemoveResponses[keyof StatsClientControllerRemoveResponses]; +type StatsClientControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerGetOneErrors = { + 404: StatsClientNotFoundError; +}; +type StatsClientControllerGetOneError = StatsClientControllerGetOneErrors[keyof StatsClientControllerGetOneErrors]; +type StatsClientControllerGetOneResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerGetOneResponse = StatsClientControllerGetOneResponses[keyof StatsClientControllerGetOneResponses]; +type StatsControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats'; +}; +type StatsControllerGetResponses = { + 200: ResponseStats; +}; +type StatsControllerGetResponse = StatsControllerGetResponses[keyof StatsControllerGetResponses]; +type StatsControllerGetTopRunnersByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/distance'; +}; +type StatsControllerGetTopRunnersByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDistanceResponse = StatsControllerGetTopRunnersByDistanceResponses[keyof StatsControllerGetTopRunnersByDistanceResponses]; +type StatsControllerGetTopRunnersByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/donations'; +}; +type StatsControllerGetTopRunnersByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDonationsResponse = StatsControllerGetTopRunnersByDonationsResponses[keyof StatsControllerGetTopRunnersByDonationsResponses]; +type StatsControllerGetTopRunnersByLaptimeData = { + body?: never; + path?: never; + query?: { + track?: number; + }; + url: '/api/stats/runners/laptime'; +}; +type StatsControllerGetTopRunnersByLaptimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByLaptimeResponse = StatsControllerGetTopRunnersByLaptimeResponses[keyof StatsControllerGetTopRunnersByLaptimeResponses]; +type StatsControllerGetTopRunnersByTrackTimeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/scans'; +}; +type StatsControllerGetTopRunnersByTrackTimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByTrackTimeResponse = StatsControllerGetTopRunnersByTrackTimeResponses[keyof StatsControllerGetTopRunnersByTrackTimeResponses]; +type StatsControllerGetTopTeamsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/distance'; +}; +type StatsControllerGetTopTeamsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDistanceResponse = StatsControllerGetTopTeamsByDistanceResponses[keyof StatsControllerGetTopTeamsByDistanceResponses]; +type StatsControllerGetTopTeamsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/donations'; +}; +type StatsControllerGetTopTeamsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDonationsResponse = StatsControllerGetTopTeamsByDonationsResponses[keyof StatsControllerGetTopTeamsByDonationsResponses]; +type StatsControllerGetTopOrgsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/distance'; +}; +type StatsControllerGetTopOrgsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDistanceResponse = StatsControllerGetTopOrgsByDistanceResponses[keyof StatsControllerGetTopOrgsByDistanceResponses]; +type StatsControllerGetTopOrgsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/donations'; +}; +type StatsControllerGetTopOrgsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDonationsResponse = StatsControllerGetTopOrgsByDonationsResponses[keyof StatsControllerGetTopOrgsByDonationsResponses]; +type StatusControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/status'; +}; +type StatusControllerGetResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type StatusControllerGetVersionData = { + body?: never; + path?: never; + query?: never; + url: '/api/version'; +}; +type StatusControllerGetVersionResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type TrackControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/tracks'; +}; +type TrackControllerGetAllResponses = { + 200: Array; +}; +type TrackControllerGetAllResponse = TrackControllerGetAllResponses[keyof TrackControllerGetAllResponses]; +type TrackControllerPostData = { + /** + * CreateTrack + */ + body?: CreateTrack; + path?: never; + query?: never; + url: '/api/tracks'; +}; +type TrackControllerPostErrors = { + 406: TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPostError = TrackControllerPostErrors[keyof TrackControllerPostErrors]; +type TrackControllerPostResponses = { + 200: ResponseTrack; +}; +type TrackControllerPostResponse = TrackControllerPostResponses[keyof TrackControllerPostResponses]; +type TrackControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/tracks/{id}'; +}; +type TrackControllerRemoveResponses = { + 200: ResponseTrack; + 204: ResponseEmpty; +}; +type TrackControllerRemoveResponse = TrackControllerRemoveResponses[keyof TrackControllerRemoveResponses]; +type TrackControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerGetOneErrors = { + 404: TrackNotFoundError; +}; +type TrackControllerGetOneError = TrackControllerGetOneErrors[keyof TrackControllerGetOneErrors]; +type TrackControllerGetOneResponses = { + 200: ResponseTrack; +}; +type TrackControllerGetOneResponse = TrackControllerGetOneResponses[keyof TrackControllerGetOneResponses]; +type TrackControllerPutData = { + /** + * UpdateTrack + */ + body?: UpdateTrack; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerPutErrors = { + 404: TrackNotFoundError; + 406: TrackIdsNotMatchingError | TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPutError = TrackControllerPutErrors[keyof TrackControllerPutErrors]; +type TrackControllerPutResponses = { + 200: ResponseTrack; +}; +type TrackControllerPutResponse = TrackControllerPutResponses[keyof TrackControllerPutResponses]; +type UserControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/users'; +}; +type UserControllerGetAllResponses = { + 200: Array; +}; +type UserControllerGetAllResponse = UserControllerGetAllResponses[keyof UserControllerGetAllResponses]; +type UserControllerPostData = { + /** + * CreateUser + */ + body?: CreateUser; + path?: never; + query?: never; + url: '/api/users'; +}; +type UserControllerPostErrors = { + 404: UserGroupNotFoundError; + 406: UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPostError = UserControllerPostErrors[keyof UserControllerPostErrors]; +type UserControllerPostResponses = { + 200: ResponseUser; +}; +type UserControllerPostResponse = UserControllerPostResponses[keyof UserControllerPostResponses]; +type UserControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/users/{id}'; +}; +type UserControllerRemoveErrors = { + 406: UserDeletionNotConfirmedError; +}; +type UserControllerRemoveError = UserControllerRemoveErrors[keyof UserControllerRemoveErrors]; +type UserControllerRemoveResponses = { + 200: ResponseUser; + 204: ResponseEmpty; +}; +type UserControllerRemoveResponse = UserControllerRemoveResponses[keyof UserControllerRemoveResponses]; +type UserControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerGetOneErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetOneError = UserControllerGetOneErrors[keyof UserControllerGetOneErrors]; +type UserControllerGetOneResponses = { + 200: ResponseUser; +}; +type UserControllerGetOneResponse = UserControllerGetOneResponses[keyof UserControllerGetOneResponses]; +type UserControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPutError = UserControllerPutErrors[keyof UserControllerPutErrors]; +type UserControllerPutResponses = { + 200: ResponseUser; +}; +type UserControllerPutResponse = UserControllerPutResponses[keyof UserControllerPutResponses]; +type UserControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}/permissions'; +}; +type UserControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetPermissionsError = UserControllerGetPermissionsErrors[keyof UserControllerGetPermissionsErrors]; +type UserControllerGetPermissionsResponses = { + 200: ResponseUser; +}; +type UserControllerGetPermissionsResponse = UserControllerGetPermissionsResponses[keyof UserControllerGetPermissionsResponses]; +type UserGroupControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/usergroups'; +}; +type UserGroupControllerGetAllResponses = { + 200: Array; +}; +type UserGroupControllerGetAllResponse = UserGroupControllerGetAllResponses[keyof UserGroupControllerGetAllResponses]; +type UserGroupControllerPostData = { + /** + * CreateUserGroup + */ + body?: CreateUserGroup; + path?: never; + query?: never; + url: '/api/usergroups'; +}; +type UserGroupControllerPostResponses = { + 200: UserGroup | UserGroupNotFoundError; +}; +type UserGroupControllerPostResponse = UserGroupControllerPostResponses[keyof UserGroupControllerPostResponses]; +type UserGroupControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerRemoveResponses = { + 200: ResponseUserGroup; + 204: ResponseEmpty; +}; +type UserGroupControllerRemoveResponse = UserGroupControllerRemoveResponses[keyof UserGroupControllerRemoveResponses]; +type UserGroupControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerGetOneErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetOneError = UserGroupControllerGetOneErrors[keyof UserGroupControllerGetOneErrors]; +type UserGroupControllerGetOneResponses = { + 200: ResponseUserGroup; +}; +type UserGroupControllerGetOneResponse = UserGroupControllerGetOneResponses[keyof UserGroupControllerGetOneResponses]; +type UserGroupControllerPutData = { + /** + * UpdateUserGroup + */ + body?: UpdateUserGroup; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerPutErrors = { + 404: UserGroupNotFoundError; + 406: UserGroupIdsNotMatchingError; +}; +type UserGroupControllerPutError = UserGroupControllerPutErrors[keyof UserGroupControllerPutErrors]; +type UserGroupControllerPutResponses = { + 200: UserGroup; +}; +type UserGroupControllerPutResponse = UserGroupControllerPutResponses[keyof UserGroupControllerPutResponses]; +type UserGroupControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}/permissions'; +}; +type UserGroupControllerGetPermissionsErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetPermissionsError = UserGroupControllerGetPermissionsErrors[keyof UserGroupControllerGetPermissionsErrors]; +type UserGroupControllerGetPermissionsResponses = { + 200: ResponseUserGroupPermissions; +}; +type UserGroupControllerGetPermissionsResponse = UserGroupControllerGetPermissionsResponses[keyof UserGroupControllerGetPermissionsResponses]; +type ClientOptions = { + baseUrl: 'https://run.lauf-fuer-kaya.de' | (string & {}); +}; + +type Options = Options$1 & { + /** + * You can provide a client instance returned by `createClient()` instead of + * individual options. This might be also useful if you want to implement a + * custom client. + */ + client?: Client; + /** + * You can pass arbitrary values through the `meta` object. This can be + * used to access values that aren't defined as part of the SDK function. + */ + meta?: Record; +}; +/** + * Login + * Login with your username/email and password.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerLogin: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Logout + * Logout using your refresh token.
This instantly invalidates all your access and refresh tokens. + */ +declare const authControllerLogout: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Refresh + * Refresh your access and refresh tokens using a valid refresh token.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerRefresh: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get reset token + * Request a password reset token.
This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. + */ +declare const authControllerGetResetToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Reset password + * Reset a user's utilising a valid password reset token.
This will set the user's password to the one you provided in the body.
To get a reset token post to /api/auth/reset with your username. + */ +declare const authControllerResetPassword: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donations (fixed or distance based) from all donors.
This includes the donations's runner's distance ran(if distance donation). + */ +declare const donationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donation whose id you provided.
If no donation with this id exists it will just return 204(no content). + */ +declare const donationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). + */ +declare const donationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post fixed + * Create a fixed donation (not distance donation - use /donations/distance instead).
Please rmemember to provide the donation's donors's id and amount. + */ +declare const donationControllerPostFixed: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post distance + * Create a distance donation (not fixed donation - use /donations/fixed instead).
Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). + */ +declare const donationControllerPostDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put fixed + * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided.
Please remember that ids can't be changed and amounts must be positive. + */ +declare const donationControllerPutFixed: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put distance + * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided.
Please remember that ids can't be changed and amountPerDistance must be positive. + */ +declare const donationControllerPutDistance: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donor.
This includes the donor's current donation amount. + */ +declare const donorControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new donor. + */ +declare const donorControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donor whose id you provided.
If no donor with this id exists it will just return 204(no content).
If the donor still has donations associated this will fail, please provide the query param ?force=true to delete the donor with all associated donations. + */ +declare const donorControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donor whose id got provided.
This includes the donor's current donation amount. + */ +declare const donorControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the donor whose id you provided.
Please remember that ids can't be changed. + */ +declare const donorControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all contacts.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new contact. + */ +declare const groupContactControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the contact whose id you provided.
If no contact with this id exists it will just return 204(no content).
This won't delete any groups associated with the contact. + */ +declare const groupContactControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the contact whose id got provided.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the contact whose id you provided.
Please remember that ids can't be changed. + */ +declare const groupContactControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all scans (normal or track) from all runners.
This includes the scan's runner's distance ran. + */ +declare const scanControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new scan (not track scan - use /scans/trackscans instead).
Please rmemember to provide the scan's runner's id and distance. + */ +declare const scanControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the scan whose id you provided.
If no scan with this id exists it will just return 204(no content). + */ +declare const scanControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. + */ +declare const scanControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that ids can't be changed and distances must be positive. + */ +declare const scanControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post track scans + * Create a new track scan (for "normal" scans use /scans instead).
Please remember that to provide the scan's card's station's id. + */ +declare const scanControllerPostTrackScans: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put track scan + * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that only the validity, runner and track can be changed. + */ +declare const scanControllerPutTrackScan: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all card. + */ +declare const runnerCardControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new card.
You can provide a associated runner by id but you don't have to. + */ +declare const runnerCardControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the card whose id you provided.
If no card with this id exists it will just return 204(no content).
If the card still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with by this card - please disable it instead or just remove the runner association). + */ +declare const runnerCardControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the card whose id got provided. + */ +declare const runnerCardControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the card whose id you provided.
Scans created via this card will still be associated with the old runner.
Please remember that ids can't be changed. + */ +declare const runnerCardControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post blanco bulk + * Create blank cards in bulk.
Just provide the count as a query param and wait for the 200 response.
You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. + */ +declare const runnerCardControllerPostBlancoBulk: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all runners from all teams/orgs.
This includes the runner's group and distance ran. + */ +declare const runnerControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new runner.
Please remeber to provide the runner's group's id. + */ +declare const runnerControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the runner whose id you provided.
This will also delete all scans and cards associated with the runner.
If no runner with this id exists it will just return 204(no content). + */ +declare const runnerControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the runner whose id got provided. + */ +declare const runnerControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the runner whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all scans of the runner whose id got provided.
If you only want the valid scans just add the ?onlyValid=true query param. + */ +declare const runnerControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post json + * Create new runners from json and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostJson: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs json + * Create new runners from json and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams json + * Create new runners from json and insert them into the provided team + */ +declare const importControllerPostTeamsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post csv + * Create new runners from csv and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostCsv: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs csv + * Create new runners from csv and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams csv + * Create new runners from csv and insert them into the provided team + */ +declare const importControllerPostTeamsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all permissions for all users and groups. + */ +declare const permissionControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new permission for a existing principal(user/group).
If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. + */ +declare const permissionControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes the permission whose id you provide.
If no permission with this id exists it will just return 204(no content). + */ +declare const permissionControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the permission whose id got provided. + */ +declare const permissionControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update a permission object.
If updateing the permission object would result in duplicate permission (same target, action and principal) this permission will get deleted and the existing permission will be returned.
Please remember that ids can't be changed. + */ +declare const permissionControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete yourself.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to you they will get deleted as well. + */ +declare const meControllerRemove: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself. + */ +declare const meControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the yourself.
You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead.
Please remember that ids can't be changed. + */ +declare const meControllerPut: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. + */ +declare const meControllerGetPermissions: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all teams.
This includes their parent organization and contact (if existing/associated). + */ +declare const runnerTeamControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation.
Please remember to provide it's parent group's id. + */ +declare const runnerTeamControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the team whose id you provided.
If the team still has runners associated this will fail.
To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no team with this id exists it will just return 204(no content). + */ +declare const runnerTeamControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the team whose id got provided. + */ +declare const runnerTeamControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the team whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerTeamControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this team.
This includes the runner's group and distance ran. + */ +declare const runnerTeamControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all organizations.
This includes their address, contact and teams (if existing/associated). + */ +declare const runnerOrganizationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation. + */ +declare const runnerOrganizationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the organsisation whose id you provided.
If the organization still has runners and/or teams associated this will fail.
To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no organization with this id exists it will just return 204(no content). + */ +declare const runnerOrganizationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the organization whose id got provided. + */ +declare const runnerOrganizationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the organization whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerOrganizationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param).
This includes the runner's group and distance ran. + */ +declare const runnerOrganizationControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerGet: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all your (runner) scans.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please contact support. + */ +declare const runnerSelfServiceControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get station me + * Lists basic information about the station whose token got provided.
This includes it's associated track. + */ +declare const runnerSelfServiceControllerGetStationMe: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Request new token + * Use this endpoint to reuqest a new selfservice magic-login-link to be sent to your mail address (rate limited to one mail every 15mins). + */ +declare const runnerSelfServiceControllerRequestNewToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register runner + * Create a new selfservice runner in the citizen org.
This endpoint shoud be used to allow "everyday citizen" to register themselves.
You have to provide a mail address, b/c the future we'll implement email verification. + */ +declare const runnerSelfServiceControllerRegisterRunner: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register organization runner + * Create a new selfservice runner in a provided org.
The orgs get provided and authorized via api tokens that can be optained via the /organizations endpoint. + */ +declare const runnerSelfServiceControllerRegisterOrganizationRunner: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get selfservice org + * Get the basic info and teams for a org. + */ +declare const runnerSelfServiceControllerGetSelfserviceOrg: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stations.
This includes their associated tracks. + */ +declare const scanStationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new station.
Please remeber to provide the station's track's id.
Please also remember that the station key is only visibe on creation. + */ +declare const scanStationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the station whose id you provided.
If no station with this id exists it will just return 204(no content).
If the station still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with/created by this station - please disable it instead). + */ +declare const scanStationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the station whose id got provided.
This includes it's associated track. + */ +declare const scanStationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the station whose id you provided.
Please remember that only the description and enabled state can be changed. + */ +declare const scanStationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stats clients. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new stats client.
Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. + */ +declare const statsClientControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the stats client whose id you provided.
If no client with this id exists it will just return 204(no content). + */ +declare const statsClientControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic stats endpoint providing basic counters for a dashboard or simmilar + */ +declare const statsControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by distance + * Returns the top ten runners by distance. + */ +declare const statsControllerGetTopRunnersByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by donations + * Returns the top ten runners by donations. + */ +declare const statsControllerGetTopRunnersByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by laptime + * Returns the top ten runners by fastest laptime on your selected track (track by id). + */ +declare const statsControllerGetTopRunnersByLaptime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by track time + * Returns the top ten fastest track times (with their runner and the runner's group). + */ +declare const statsControllerGetTopRunnersByTrackTime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by distance + * Returns the top ten teams by distance. + */ +declare const statsControllerGetTopTeamsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by donations + * Returns the top ten teams by donations. + */ +declare const statsControllerGetTopTeamsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by distance + * Returns the top ten organizations by distance. + */ +declare const statsControllerGetTopOrgsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by donations + * Returns the top ten organizations by donations. + */ +declare const statsControllerGetTopOrgsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic status/health endpoint that just checks if the database connection is available.
The available information depth will be expanded later. + */ +declare const statusControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get version + * A very basic endpoint that just returns the curent package version. + */ +declare const statusControllerGetVersion: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all tracks. + */ +declare const trackControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new track.
Please remember that the track's distance must be greater than 0. + */ +declare const trackControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the track whose id you provided.
If no track with this id exists it will just return 204(no content). + */ +declare const trackControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the track whose id got provided. + */ +declare const trackControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the track whose id you provided.
Please remember that ids can't be changed. + */ +declare const trackControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all users.
This includes their groups and permissions granted to them. + */ +declare const userControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new user.
If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. + */ +declare const userControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the user whose id you provided.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to the user they will get deleted as well.
If no user with this id exists it will just return 204(no content). + */ +declare const userControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the user whose id got provided.
Please remember that all permissions granted to the user will show up here. + */ +declare const userControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the user whose id you provided.
To change the permissions directly granted to the user please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. + */ +declare const userControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all groups.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new group.
If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. + */ +declare const userGroupControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the group whose id you provided.
If there are any permissions directly granted to the group they will get deleted as well.
Users associated with this group won't get deleted - just deassociated.
If no group with this id exists it will just return 204(no content). + */ +declare const userGroupControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the group whose id got provided.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the group whose id you provided.
To change the permissions granted to the group please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userGroupControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the group as permission response objects. + */ +declare const userGroupControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; + +export { type Address, type AddressCityEmptyError, type AddressCountryEmptyError, type AddressFirstLineEmptyError, type AddressPostalCodeEmptyError, type AddressPostalCodeInvalidError, type AuthControllerGetResetTokenData, type AuthControllerGetResetTokenError, type AuthControllerGetResetTokenErrors, type AuthControllerGetResetTokenResponse, type AuthControllerGetResetTokenResponses, type AuthControllerLoginData, type AuthControllerLoginResponse, type AuthControllerLoginResponses, type AuthControllerLogoutData, type AuthControllerLogoutResponse, type AuthControllerLogoutResponses, type AuthControllerRefreshData, type AuthControllerRefreshResponse, type AuthControllerRefreshResponses, type AuthControllerResetPasswordData, type AuthControllerResetPasswordResponse, type AuthControllerResetPasswordResponses, type ClientOptions, type ConfigFlag, type CreateAuth, type CreateDistanceDonation, type CreateDonation, type CreateDonor, type CreateFixedDonation, type CreateGroupContact, type CreateParticipant, type CreatePermission, type CreateResetToken, type CreateRunner, type CreateRunnerCard, type CreateRunnerGroup, type CreateRunnerOrganization, type CreateRunnerTeam, type CreateScan, type CreateScanStation, type CreateSelfServiceCitizenRunner, type CreateSelfServiceRunner, type CreateStatsClient, type CreateTrack, type CreateTrackScan, type CreateUser, type CreateUserGroup, type DistanceDonation, type Donation, type DonationControllerGetAllData, type DonationControllerGetAllResponse, type DonationControllerGetAllResponses, type DonationControllerGetOneData, type DonationControllerGetOneError, type DonationControllerGetOneErrors, type DonationControllerGetOneResponse, type DonationControllerGetOneResponses, type DonationControllerPostDistanceData, type DonationControllerPostDistanceError, type DonationControllerPostDistanceErrors, type DonationControllerPostDistanceResponse, type DonationControllerPostDistanceResponses, type DonationControllerPostFixedData, type DonationControllerPostFixedError, type DonationControllerPostFixedErrors, type DonationControllerPostFixedResponse, type DonationControllerPostFixedResponses, type DonationControllerPutDistanceData, type DonationControllerPutDistanceError, type DonationControllerPutDistanceErrors, type DonationControllerPutDistanceResponse, type DonationControllerPutDistanceResponses, type DonationControllerPutFixedData, type DonationControllerPutFixedError, type DonationControllerPutFixedErrors, type DonationControllerPutFixedResponse, type DonationControllerPutFixedResponses, type DonationControllerRemoveData, type DonationControllerRemoveResponse, type DonationControllerRemoveResponses, type DonationIdsNotMatchingError, type DonationNotFoundError, type Donor, type DonorControllerGetAllData, type DonorControllerGetAllResponse, type DonorControllerGetAllResponses, type DonorControllerGetOneData, type DonorControllerGetOneError, type DonorControllerGetOneErrors, type DonorControllerGetOneResponse, type DonorControllerGetOneResponses, type DonorControllerPostData, type DonorControllerPostResponse, type DonorControllerPostResponses, type DonorControllerPutData, type DonorControllerPutError, type DonorControllerPutErrors, type DonorControllerPutResponse, type DonorControllerPutResponses, type DonorControllerRemoveData, type DonorControllerRemoveResponse, type DonorControllerRemoveResponses, type DonorHasDonationsError, type DonorIdsNotMatchingError, type DonorNotFoundError, type DonorReceiptAddressNeededError, type FixedDonation, type GroupContact, type GroupContactControllerGetAllData, type GroupContactControllerGetAllResponse, type GroupContactControllerGetAllResponses, type GroupContactControllerGetOneData, type GroupContactControllerGetOneError, type GroupContactControllerGetOneErrors, type GroupContactControllerGetOneResponse, type GroupContactControllerGetOneResponses, type GroupContactControllerPostData, type GroupContactControllerPostError, type GroupContactControllerPostErrors, type GroupContactControllerPostResponse, type GroupContactControllerPostResponses, type GroupContactControllerPutData, type GroupContactControllerPutError, type GroupContactControllerPutErrors, type GroupContactControllerPutResponse, type GroupContactControllerPutResponses, type GroupContactControllerRemoveData, type GroupContactControllerRemoveResponse, type GroupContactControllerRemoveResponses, type GroupContactIdsNotMatchingError, type GroupContactNotFoundError, type GroupNameNeededError, type HandleLogout, type IllegalJwtError, type ImportControllerPostCsvData, type ImportControllerPostCsvError, type ImportControllerPostCsvErrors, type ImportControllerPostCsvResponse, type ImportControllerPostCsvResponses, type ImportControllerPostJsonData, type ImportControllerPostJsonError, type ImportControllerPostJsonErrors, type ImportControllerPostJsonResponse, type ImportControllerPostJsonResponses, type ImportControllerPostOrgsCsvData, type ImportControllerPostOrgsCsvError, type ImportControllerPostOrgsCsvErrors, type ImportControllerPostOrgsCsvResponse, type ImportControllerPostOrgsCsvResponses, type ImportControllerPostOrgsJsonData, type ImportControllerPostOrgsJsonError, type ImportControllerPostOrgsJsonErrors, type ImportControllerPostOrgsJsonResponse, type ImportControllerPostOrgsJsonResponses, type ImportControllerPostTeamsCsvData, type ImportControllerPostTeamsCsvError, type ImportControllerPostTeamsCsvErrors, type ImportControllerPostTeamsCsvResponse, type ImportControllerPostTeamsCsvResponses, type ImportControllerPostTeamsJsonData, type ImportControllerPostTeamsJsonError, type ImportControllerPostTeamsJsonErrors, type ImportControllerPostTeamsJsonResponse, type ImportControllerPostTeamsJsonResponses, type ImportRunner, type InvalidCredentialsError, type JwtNotProvidedError, type JwtUser, type Logout, type MailSendingError, type MeControllerGetData, type MeControllerGetError, type MeControllerGetErrors, type MeControllerGetPermissionsData, type MeControllerGetPermissionsError, type MeControllerGetPermissionsErrors, type MeControllerGetPermissionsResponse, type MeControllerGetPermissionsResponses, type MeControllerGetResponse, type MeControllerGetResponses, type MeControllerPutData, type MeControllerPutError, type MeControllerPutErrors, type MeControllerPutResponse, type MeControllerPutResponses, type MeControllerRemoveData, type MeControllerRemoveError, type MeControllerRemoveErrors, type MeControllerRemoveResponse, type MeControllerRemoveResponses, type NoPermissionError, type Options, type Participant, type PasswordMustContainLowercaseLetterError, type PasswordMustContainNumberError, type PasswordMustContainUppercaseLetterError, type PasswordNeededError, type PasswordTooShortError, type Permission, type PermissionControllerGetAllData, type PermissionControllerGetAllResponse, type PermissionControllerGetAllResponses, type PermissionControllerGetOneData, type PermissionControllerGetOneError, type PermissionControllerGetOneErrors, type PermissionControllerGetOneResponse, type PermissionControllerGetOneResponses, type PermissionControllerPostData, type PermissionControllerPostError, type PermissionControllerPostErrors, type PermissionControllerPostResponse, type PermissionControllerPostResponses, type PermissionControllerPutData, type PermissionControllerPutError, type PermissionControllerPutErrors, type PermissionControllerPutResponse, type PermissionControllerPutResponses, type PermissionControllerRemoveData, type PermissionControllerRemoveResponse, type PermissionControllerRemoveResponses, type PermissionIdsNotMatchingError, type PermissionNeedsPrincipalError, type PermissionNotFoundError, type Principal, type PrincipalNotFoundError, type PrincipalWrongTypeError, type RefreshAuth, type RefreshTokenCountInvalidError, type ResetAlreadyRequestedError, type ResetPassword, type ResponseAuth, type ResponseDistanceDonation, type ResponseDonation, type ResponseDonor, type ResponseEmpty, type ResponseGroupContact, type ResponseParticipant, type ResponsePermission, type ResponsePrincipal, type ResponseRunner, type ResponseRunnerCard, type ResponseRunnerGroup, type ResponseRunnerOrganization, type ResponseRunnerTeam, type ResponseScan, type ResponseScanStation, type ResponseSelfServiceDonation, type ResponseSelfServiceDonor, type ResponseSelfServiceOrganisation, type ResponseSelfServiceRunner, type ResponseSelfServiceScan, type ResponseSelfServiceTeam, type ResponseStats, type ResponseStatsClient, type ResponseStatsOrgnisation, type ResponseStatsRunner, type ResponseStatsTeam, type ResponseTrack, type ResponseTrackScan, type ResponseUser, type ResponseUserGroup, type ResponseUserGroupPermissions, type ResponseUserPermissions, type Runner, type RunnerCard, type RunnerCardControllerGetAllData, type RunnerCardControllerGetAllResponse, type RunnerCardControllerGetAllResponses, type RunnerCardControllerGetOneData, type RunnerCardControllerGetOneError, type RunnerCardControllerGetOneErrors, type RunnerCardControllerGetOneResponse, type RunnerCardControllerGetOneResponses, type RunnerCardControllerPostBlancoBulkData, type RunnerCardControllerPostBlancoBulkResponse, type RunnerCardControllerPostBlancoBulkResponses, type RunnerCardControllerPostData, type RunnerCardControllerPostError, type RunnerCardControllerPostErrors, type RunnerCardControllerPostResponse, type RunnerCardControllerPostResponses, type RunnerCardControllerPutData, type RunnerCardControllerPutError, type RunnerCardControllerPutErrors, type RunnerCardControllerPutResponse, type RunnerCardControllerPutResponses, type RunnerCardControllerRemoveData, type RunnerCardControllerRemoveError, type RunnerCardControllerRemoveErrors, type RunnerCardControllerRemoveResponse, type RunnerCardControllerRemoveResponses, type RunnerCardHasScansError, type RunnerCardIdOutOfRangeError, type RunnerCardIdsNotMatchingError, type RunnerCardNotFoundError, type RunnerControllerGetAllData, type RunnerControllerGetAllResponse, type RunnerControllerGetAllResponses, type RunnerControllerGetOneData, type RunnerControllerGetOneError, type RunnerControllerGetOneErrors, type RunnerControllerGetOneResponse, type RunnerControllerGetOneResponses, type RunnerControllerGetScansData, type RunnerControllerGetScansError, type RunnerControllerGetScansErrors, type RunnerControllerGetScansResponse, type RunnerControllerGetScansResponses, type RunnerControllerPostData, type RunnerControllerPostResponse, type RunnerControllerPostResponses, type RunnerControllerPutData, type RunnerControllerPutError, type RunnerControllerPutErrors, type RunnerControllerPutResponse, type RunnerControllerPutResponses, type RunnerControllerRemoveData, type RunnerControllerRemoveError, type RunnerControllerRemoveErrors, type RunnerControllerRemoveResponse, type RunnerControllerRemoveResponses, type RunnerEmailNeededError, type RunnerGroup, type RunnerGroupNeededError, type RunnerGroupNotFoundError, type RunnerHasDistanceDonationsError, type RunnerIdsNotMatchingError, type RunnerNotFoundError, type RunnerOrganization, type RunnerOrganizationControllerGetAllData, type RunnerOrganizationControllerGetAllResponse, type RunnerOrganizationControllerGetAllResponses, type RunnerOrganizationControllerGetOneData, type RunnerOrganizationControllerGetOneError, type RunnerOrganizationControllerGetOneErrors, type RunnerOrganizationControllerGetOneResponse, type RunnerOrganizationControllerGetOneResponses, type RunnerOrganizationControllerGetRunnersData, type RunnerOrganizationControllerGetRunnersError, type RunnerOrganizationControllerGetRunnersErrors, type RunnerOrganizationControllerGetRunnersResponse, type RunnerOrganizationControllerGetRunnersResponses, type RunnerOrganizationControllerPostData, type RunnerOrganizationControllerPostResponse, type RunnerOrganizationControllerPostResponses, type RunnerOrganizationControllerPutData, type RunnerOrganizationControllerPutError, type RunnerOrganizationControllerPutErrors, type RunnerOrganizationControllerPutResponse, type RunnerOrganizationControllerPutResponses, type RunnerOrganizationControllerRemoveData, type RunnerOrganizationControllerRemoveError, type RunnerOrganizationControllerRemoveErrors, type RunnerOrganizationControllerRemoveResponse, type RunnerOrganizationControllerRemoveResponses, type RunnerOrganizationHasRunnersError, type RunnerOrganizationHasTeamsError, type RunnerOrganizationIdsNotMatchingError, type RunnerOrganizationNotFoundError, type RunnerOrganizationWrongTypeError, type RunnerSelfServiceControllerGetData, type RunnerSelfServiceControllerGetError, type RunnerSelfServiceControllerGetErrors, type RunnerSelfServiceControllerGetResponse, type RunnerSelfServiceControllerGetResponses, type RunnerSelfServiceControllerGetScansData, type RunnerSelfServiceControllerGetScansError, type RunnerSelfServiceControllerGetScansErrors, type RunnerSelfServiceControllerGetScansResponse, type RunnerSelfServiceControllerGetScansResponses, type RunnerSelfServiceControllerGetSelfserviceOrgData, type RunnerSelfServiceControllerGetSelfserviceOrgError, type RunnerSelfServiceControllerGetSelfserviceOrgErrors, type RunnerSelfServiceControllerGetSelfserviceOrgResponse, type RunnerSelfServiceControllerGetSelfserviceOrgResponses, type RunnerSelfServiceControllerGetStationMeData, type RunnerSelfServiceControllerGetStationMeError, type RunnerSelfServiceControllerGetStationMeErrors, type RunnerSelfServiceControllerGetStationMeResponse, type RunnerSelfServiceControllerGetStationMeResponses, type RunnerSelfServiceControllerRegisterOrganizationRunnerData, type RunnerSelfServiceControllerRegisterOrganizationRunnerError, type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses, type RunnerSelfServiceControllerRegisterRunnerData, type RunnerSelfServiceControllerRegisterRunnerError, type RunnerSelfServiceControllerRegisterRunnerErrors, type RunnerSelfServiceControllerRegisterRunnerResponse, type RunnerSelfServiceControllerRegisterRunnerResponses, type RunnerSelfServiceControllerRemoveData, type RunnerSelfServiceControllerRemoveError, type RunnerSelfServiceControllerRemoveErrors, type RunnerSelfServiceControllerRemoveResponse, type RunnerSelfServiceControllerRemoveResponses, type RunnerSelfServiceControllerRequestNewTokenData, type RunnerSelfServiceControllerRequestNewTokenError, type RunnerSelfServiceControllerRequestNewTokenErrors, type RunnerSelfServiceControllerRequestNewTokenResponses, type RunnerSelfserviceTimeoutError, type RunnerTeam, type RunnerTeamControllerGetAllData, type RunnerTeamControllerGetAllResponse, type RunnerTeamControllerGetAllResponses, type RunnerTeamControllerGetOneData, type RunnerTeamControllerGetOneError, type RunnerTeamControllerGetOneErrors, type RunnerTeamControllerGetOneResponse, type RunnerTeamControllerGetOneResponses, type RunnerTeamControllerGetRunnersData, type RunnerTeamControllerGetRunnersError, type RunnerTeamControllerGetRunnersErrors, type RunnerTeamControllerGetRunnersResponse, type RunnerTeamControllerGetRunnersResponses, type RunnerTeamControllerPostData, type RunnerTeamControllerPostResponse, type RunnerTeamControllerPostResponses, type RunnerTeamControllerPutData, type RunnerTeamControllerPutError, type RunnerTeamControllerPutErrors, type RunnerTeamControllerPutResponse, type RunnerTeamControllerPutResponses, type RunnerTeamControllerRemoveData, type RunnerTeamControllerRemoveError, type RunnerTeamControllerRemoveErrors, type RunnerTeamControllerRemoveResponse, type RunnerTeamControllerRemoveResponses, type RunnerTeamHasRunnersError, type RunnerTeamIdsNotMatchingError, type RunnerTeamNeedsParentError, type RunnerTeamNotFoundError, type Scan, type ScanControllerGetAllData, type ScanControllerGetAllResponse, type ScanControllerGetAllResponses, type ScanControllerGetOneData, type ScanControllerGetOneError, type ScanControllerGetOneErrors, type ScanControllerGetOneResponse, type ScanControllerGetOneResponses, type ScanControllerPostData, type ScanControllerPostError, type ScanControllerPostErrors, type ScanControllerPostResponse, type ScanControllerPostResponses, type ScanControllerPostTrackScansData, type ScanControllerPostTrackScansError, type ScanControllerPostTrackScansErrors, type ScanControllerPostTrackScansResponse, type ScanControllerPostTrackScansResponses, type ScanControllerPutData, type ScanControllerPutError, type ScanControllerPutErrors, type ScanControllerPutResponse, type ScanControllerPutResponses, type ScanControllerPutTrackScanData, type ScanControllerPutTrackScanError, type ScanControllerPutTrackScanErrors, type ScanControllerPutTrackScanResponse, type ScanControllerPutTrackScanResponses, type ScanControllerRemoveData, type ScanControllerRemoveResponse, type ScanControllerRemoveResponses, type ScanIdsNotMatchingError, type ScanNotFoundError, type ScanStation, type ScanStationControllerGetAllData, type ScanStationControllerGetAllResponse, type ScanStationControllerGetAllResponses, type ScanStationControllerGetOneData, type ScanStationControllerGetOneError, type ScanStationControllerGetOneErrors, type ScanStationControllerGetOneResponse, type ScanStationControllerGetOneResponses, type ScanStationControllerPostData, type ScanStationControllerPostError, type ScanStationControllerPostErrors, type ScanStationControllerPostResponse, type ScanStationControllerPostResponses, type ScanStationControllerPutData, type ScanStationControllerPutError, type ScanStationControllerPutErrors, type ScanStationControllerPutResponse, type ScanStationControllerPutResponses, type ScanStationControllerRemoveData, type ScanStationControllerRemoveError, type ScanStationControllerRemoveErrors, type ScanStationControllerRemoveResponse, type ScanStationControllerRemoveResponses, type ScanStationHasScansError, type ScanStationIdsNotMatchingError, type ScanStationNotFoundError, type StatsClient, type StatsClientControllerGetAllData, type StatsClientControllerGetAllResponse, type StatsClientControllerGetAllResponses, type StatsClientControllerGetOneData, type StatsClientControllerGetOneError, type StatsClientControllerGetOneErrors, type StatsClientControllerGetOneResponse, type StatsClientControllerGetOneResponses, type StatsClientControllerPostData, type StatsClientControllerPostResponse, type StatsClientControllerPostResponses, type StatsClientControllerRemoveData, type StatsClientControllerRemoveResponse, type StatsClientControllerRemoveResponses, type StatsClientIdsNotMatchingError, type StatsClientNotFoundError, type StatsControllerGetData, type StatsControllerGetResponse, type StatsControllerGetResponses, type StatsControllerGetTopOrgsByDistanceData, type StatsControllerGetTopOrgsByDistanceResponse, type StatsControllerGetTopOrgsByDistanceResponses, type StatsControllerGetTopOrgsByDonationsData, type StatsControllerGetTopOrgsByDonationsResponse, type StatsControllerGetTopOrgsByDonationsResponses, type StatsControllerGetTopRunnersByDistanceData, type StatsControllerGetTopRunnersByDistanceResponse, type StatsControllerGetTopRunnersByDistanceResponses, type StatsControllerGetTopRunnersByDonationsData, type StatsControllerGetTopRunnersByDonationsResponse, type StatsControllerGetTopRunnersByDonationsResponses, type StatsControllerGetTopRunnersByLaptimeData, type StatsControllerGetTopRunnersByLaptimeResponse, type StatsControllerGetTopRunnersByLaptimeResponses, type StatsControllerGetTopRunnersByTrackTimeData, type StatsControllerGetTopRunnersByTrackTimeResponse, type StatsControllerGetTopRunnersByTrackTimeResponses, type StatsControllerGetTopTeamsByDistanceData, type StatsControllerGetTopTeamsByDistanceResponse, type StatsControllerGetTopTeamsByDistanceResponses, type StatsControllerGetTopTeamsByDonationsData, type StatsControllerGetTopTeamsByDonationsResponse, type StatsControllerGetTopTeamsByDonationsResponses, type StatusControllerGetData, type StatusControllerGetResponses, type StatusControllerGetVersionData, type StatusControllerGetVersionResponses, type Track, type TrackControllerGetAllData, type TrackControllerGetAllResponse, type TrackControllerGetAllResponses, type TrackControllerGetOneData, type TrackControllerGetOneError, type TrackControllerGetOneErrors, type TrackControllerGetOneResponse, type TrackControllerGetOneResponses, type TrackControllerPostData, type TrackControllerPostError, type TrackControllerPostErrors, type TrackControllerPostResponse, type TrackControllerPostResponses, type TrackControllerPutData, type TrackControllerPutError, type TrackControllerPutErrors, type TrackControllerPutResponse, type TrackControllerPutResponses, type TrackControllerRemoveData, type TrackControllerRemoveResponse, type TrackControllerRemoveResponses, type TrackHasScanStationsError, type TrackIdsNotMatchingError, type TrackLapTimeCantBeNegativeError, type TrackNotFoundError, type TrackScan, type UpdateDistanceDonation, type UpdateDonation, type UpdateDonor, type UpdateFixedDonation, type UpdateGroupContact, type UpdatePermission, type UpdateRunner, type UpdateRunnerCard, type UpdateRunnerOrganization, type UpdateRunnerTeam, type UpdateScan, type UpdateScanStation, type UpdateTrack, type UpdateTrackScan, type UpdateUser, type UpdateUserGroup, type User, type UserAction, type UserControllerGetAllData, type UserControllerGetAllResponse, type UserControllerGetAllResponses, type UserControllerGetOneData, type UserControllerGetOneError, type UserControllerGetOneErrors, type UserControllerGetOneResponse, type UserControllerGetOneResponses, type UserControllerGetPermissionsData, type UserControllerGetPermissionsError, type UserControllerGetPermissionsErrors, type UserControllerGetPermissionsResponse, type UserControllerGetPermissionsResponses, type UserControllerPostData, type UserControllerPostError, type UserControllerPostErrors, type UserControllerPostResponse, type UserControllerPostResponses, type UserControllerPutData, type UserControllerPutError, type UserControllerPutErrors, type UserControllerPutResponse, type UserControllerPutResponses, type UserControllerRemoveData, type UserControllerRemoveError, type UserControllerRemoveErrors, type UserControllerRemoveResponse, type UserControllerRemoveResponses, type UserDeletionNotConfirmedError, type UserDisabledError, type UserEmailNeededError, type UserGroup, type UserGroupControllerGetAllData, type UserGroupControllerGetAllResponse, type UserGroupControllerGetAllResponses, type UserGroupControllerGetOneData, type UserGroupControllerGetOneError, type UserGroupControllerGetOneErrors, type UserGroupControllerGetOneResponse, type UserGroupControllerGetOneResponses, type UserGroupControllerGetPermissionsData, type UserGroupControllerGetPermissionsError, type UserGroupControllerGetPermissionsErrors, type UserGroupControllerGetPermissionsResponse, type UserGroupControllerGetPermissionsResponses, type UserGroupControllerPostData, type UserGroupControllerPostResponse, type UserGroupControllerPostResponses, type UserGroupControllerPutData, type UserGroupControllerPutError, type UserGroupControllerPutErrors, type UserGroupControllerPutResponse, type UserGroupControllerPutResponses, type UserGroupControllerRemoveData, type UserGroupControllerRemoveResponse, type UserGroupControllerRemoveResponses, type UserGroupIdsNotMatchingError, type UserGroupNotFoundError, type UserIdsNotMatchingError, type UserNonexistantOrRefreshtokenInvalidError, type UserNotFoundError, type UserNotFoundOrRefreshTokenCountInvalidError, type UsernameContainsIllegalCharacterError, type UsernameOrEmailNeededError, authControllerGetResetToken, authControllerLogin, authControllerLogout, authControllerRefresh, authControllerResetPassword, donationControllerGetAll, donationControllerGetOne, donationControllerPostDistance, donationControllerPostFixed, donationControllerPutDistance, donationControllerPutFixed, donationControllerRemove, donorControllerGetAll, donorControllerGetOne, donorControllerPost, donorControllerPut, donorControllerRemove, groupContactControllerGetAll, groupContactControllerGetOne, groupContactControllerPost, groupContactControllerPut, groupContactControllerRemove, importControllerPostCsv, importControllerPostJson, importControllerPostOrgsCsv, importControllerPostOrgsJson, importControllerPostTeamsCsv, importControllerPostTeamsJson, meControllerGet, meControllerGetPermissions, meControllerPut, meControllerRemove, permissionControllerGetAll, permissionControllerGetOne, permissionControllerPost, permissionControllerPut, permissionControllerRemove, runnerCardControllerGetAll, runnerCardControllerGetOne, runnerCardControllerPost, runnerCardControllerPostBlancoBulk, runnerCardControllerPut, runnerCardControllerRemove, runnerControllerGetAll, runnerControllerGetOne, runnerControllerGetScans, runnerControllerPost, runnerControllerPut, runnerControllerRemove, runnerOrganizationControllerGetAll, runnerOrganizationControllerGetOne, runnerOrganizationControllerGetRunners, runnerOrganizationControllerPost, runnerOrganizationControllerPut, runnerOrganizationControllerRemove, runnerSelfServiceControllerGet, runnerSelfServiceControllerGetScans, runnerSelfServiceControllerGetSelfserviceOrg, runnerSelfServiceControllerGetStationMe, runnerSelfServiceControllerRegisterOrganizationRunner, runnerSelfServiceControllerRegisterRunner, runnerSelfServiceControllerRemove, runnerSelfServiceControllerRequestNewToken, runnerTeamControllerGetAll, runnerTeamControllerGetOne, runnerTeamControllerGetRunners, runnerTeamControllerPost, runnerTeamControllerPut, runnerTeamControllerRemove, scanControllerGetAll, scanControllerGetOne, scanControllerPost, scanControllerPostTrackScans, scanControllerPut, scanControllerPutTrackScan, scanControllerRemove, scanStationControllerGetAll, scanStationControllerGetOne, scanStationControllerPost, scanStationControllerPut, scanStationControllerRemove, statsClientControllerGetAll, statsClientControllerGetOne, statsClientControllerPost, statsClientControllerRemove, statsControllerGet, statsControllerGetTopOrgsByDistance, statsControllerGetTopOrgsByDonations, statsControllerGetTopRunnersByDistance, statsControllerGetTopRunnersByDonations, statsControllerGetTopRunnersByLaptime, statsControllerGetTopRunnersByTrackTime, statsControllerGetTopTeamsByDistance, statsControllerGetTopTeamsByDonations, statusControllerGet, statusControllerGetVersion, trackControllerGetAll, trackControllerGetOne, trackControllerPost, trackControllerPut, trackControllerRemove, userControllerGetAll, userControllerGetOne, userControllerGetPermissions, userControllerPost, userControllerPut, userControllerRemove, userGroupControllerGetAll, userGroupControllerGetOne, userGroupControllerGetPermissions, userGroupControllerPost, userGroupControllerPut, userGroupControllerRemove }; diff --git a/dist/index.d.mts b/dist/index.d.mts new file mode 100644 index 0000000..d006430 --- /dev/null +++ b/dist/index.d.mts @@ -0,0 +1,3428 @@ +import * as _hey_api_client_fetch from '@hey-api/client-fetch'; +import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch'; + +type ConfigFlag = { + option: string; + value: string; +}; +type AddressPostalCodeInvalidError = { + name: string; + message: string; +}; +type AddressFirstLineEmptyError = { + name: string; + message: string; +}; +type AddressPostalCodeEmptyError = { + name: string; + message: string; +}; +type AddressCityEmptyError = { + name: string; + message: string; +}; +type AddressCountryEmptyError = { + name: string; + message: string; +}; +type Address = { + address1: string; + address2: string; + postalcode: string; + city: string; + country: string; +}; +type ResponseGroupContact = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + groups: { + [key: string]: unknown; + }; + address: { + [key: string]: unknown; + }; +}; +type ResponseRunnerGroup = { + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type ResponseRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + teams: Array; + registrationKey?: string; + registrationEnabled?: boolean; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type GroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type ResponseParticipant = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseRunner = { + distance: number; + group: { + [key: string]: unknown; + }; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonation = { + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type ResponseDistanceDonation = { + runner: { + [key: string]: unknown; + }; + amountPerDistance: number; + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type Participant = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donation = { + id: number; + donor: string; + paidAmount: number; +}; +type DistanceDonation = { + runner: string; + amountPerDistance: number; + id: number; + donor: string; + paidAmount: number; +}; +type RunnerCardNotFoundError = { + name: string; + message: string; +}; +type RunnerCardIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerCardHasScansError = { + name: string; + message: string; +}; +type RunnerCardIdOutOfRangeError = { + name: string; + message: string; +}; +type ResponseRunnerCard = { + id: number; + runner: { + [key: string]: unknown; + }; + code: string; + enabled: boolean; +}; +type ResponseScan = { + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type TrackNotFoundError = { + name: string; + message: string; +}; +type TrackIdsNotMatchingError = { + name: string; + message: string; +}; +type TrackLapTimeCantBeNegativeError = { + name: string; + message: string; +}; +type TrackHasScanStationsError = { + name: string; + message: string; +}; +type ResponseTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ResponseScanStation = { + id: number; + description?: string; + key?: string; + prefix: string; + track: { + [key: string]: unknown; + }; + enabled: boolean; +}; +type ResponseTrackScan = { + track: string; + card: string; + station: string; + timestamp: string; + lapTime: number; + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type Scan = { + id: number; + runner: string; + valid: boolean; + _distance: number; + distance: number; +}; +type Track = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ScanStation = { + id: number; + description?: string; + track: string; + prefix: string; + key: string; + cleartextkey?: string; + enabled: boolean; +}; +type TrackScan = { + track: string; + card: string; + station: string; + distance: number; + timestamp: number; + lapTime: number; + id: number; + runner: string; + valid: boolean; + _distance: number; +}; +type RunnerCard = { + id: number; + runner?: unknown; + enabled: boolean; +}; +type Runner = { + group: string; + resetRequestedTimestamp?: string; + distance: number; + distanceDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type RunnerGroup = { + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type ResponseRunnerTeam = { + parentGroup: { + [key: string]: unknown; + }; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type RunnerTeam = { + parentGroup: string; + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type RunnerOrganization = { + address?: unknown; + key?: string; + distance: number; + distanceDonationAmount: number; + id: number; + name: string; + contact?: unknown; +}; +type GroupContactNotFoundError = { + name: string; + message: string; +}; +type GroupContactIdsNotMatchingError = { + name: string; + message: string; +}; +type CreateRunnerGroup = { + name: string; + contact?: number; +}; +type CreateRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type RunnerGroupNotFoundError = { + name: string; + message: string; +}; +type CreateGroupContact = { + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type RunnerOrganizationNotFoundError = { + name: string; + message: string; +}; +type RunnerOrganizationIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerOrganizationHasRunnersError = { + name: string; + message: string; +}; +type RunnerOrganizationHasTeamsError = { + name: string; + message: string; +}; +type RunnerOrganizationWrongTypeError = { + name: string; + message: string; +}; +type RunnerTeamNotFoundError = { + name: string; + message: string; +}; +type RunnerTeamIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerTeamHasRunnersError = { + name: string; + message: string; +}; +type RunnerTeamNeedsParentError = { + name: string; + message: string; +}; +type CreateParticipant = { + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunner = { + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerTeam = { + parentGroup: number; + name: string; + contact?: number; +}; +type PrincipalNotFoundError = { + name: string; + message: string; +}; +type PrincipalWrongTypeError = { + name: string; + message: string; +}; +type ResponsePrincipal = { + id: number; +}; +type ResponsePermission = { + id: number; + principal: { + [key: string]: unknown; + }; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type Principal = { + id: number; +}; +type Permission = { + id: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type CreatePermission = { + principal: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type ResponseUserGroup = { + name: string; + description?: string; + permissions?: Array; + id: number; +}; +type UserGroup = { + name: string; + description?: string; + id: number; +}; +type CreateUserGroup = { + name: string; + description?: string; +}; +type ResponseUser = { + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + username: string; + enabled: boolean; + profilePic: string; + groups?: Array; + permissions?: Array; + id: number; +}; +type UserAction = { + id: number; + target: string; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; + changed?: string; +}; +type User = { + uuid: string; + email: string; + phone?: string; + username: string; + firstname: string; + middlename?: string; + lastname: string; + password: string; + groups?: unknown; + enabled: boolean; + refreshTokenCount: number; + profilePic: string; + resetRequestedTimestamp?: string; + actions?: unknown; + id: number; +}; +type IllegalJwtError = { + name: string; + message: string; +}; +type UserNonexistantOrRefreshtokenInvalidError = { + name: string; + message: string; +}; +type InvalidCredentialsError = { + name: string; + message: string; +}; +type NoPermissionError = { + name: string; + message: string; +}; +type UsernameOrEmailNeededError = { + name: string; + message: string; +}; +type PasswordNeededError = { + name: string; + message: string; +}; +type UserNotFoundError = { + name: string; + message: string; +}; +type JwtNotProvidedError = { + name: string; + message: string; +}; +type UserNotFoundOrRefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type RefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type ResetAlreadyRequestedError = { + name: string; + message: string; +}; +type UserDisabledError = { + name: string; + message: string; +}; +type JwtUser = { + id: number; + uuid: string; + email?: string; + username?: string; + firstname: string; + middlename?: string; + lastname: string; + enabled: boolean; + refreshTokenCount: number; + profilePic?: string; +}; +type MailSendingError = { + name: string; + message: string; +}; +type UsernameContainsIllegalCharacterError = { + name: string; + message: string; +}; +type UserEmailNeededError = { + name: string; + message: string; +}; +type UserIdsNotMatchingError = { + name: string; + message: string; +}; +type UserDeletionNotConfirmedError = { + name: string; + message: string; +}; +type PasswordMustContainUppercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainLowercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainNumberError = { + name: string; + message: string; +}; +type PasswordTooShortError = { + name: string; + message: string; +}; +type ResponseAuth = { + access_token: string; + refresh_token: string; + access_token_expires_at: number; + refresh_token_expires_at: number; +}; +type CreateAuth = { + username?: string; + email?: string; + password: string; +}; +type CreateResetToken = { + email: string; +}; +type Logout = { + timestamp: string; +}; +type HandleLogout = { + token?: string; +}; +type RefreshAuth = { + token?: string; +}; +type ResetPassword = { + resetToken?: string; + password: string; +}; +type ResponseEmpty = { + response: string; +}; +type DonationNotFoundError = { + name: string; + message: string; +}; +type DonationIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorNotFoundError = { + name: string; + message: string; +}; +type DonorIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorReceiptAddressNeededError = { + name: string; + message: string; +}; +type DonorHasDonationsError = { + name: string; + message: string; +}; +type RunnerNotFoundError = { + name: string; + message: string; +}; +type RunnerIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerGroupNeededError = { + name: string; + message: string; +}; +type RunnerEmailNeededError = { + name: string; + message: string; +}; +type RunnerSelfserviceTimeoutError = { + name: string; + message: string; +}; +type RunnerHasDistanceDonationsError = { + name: string; + message: string; +}; +type CreateDonation = { + donor: number; + paidAmount?: number; +}; +type CreateDistanceDonation = { + runner: number; + amountPerDistance: number; + donor: number; + paidAmount?: number; +}; +type FixedDonation = { + _amount: number; + amount: number; + id: number; + donor: string; + paidAmount: number; +}; +type CreateFixedDonation = { + amount: number; + donor: number; + paidAmount?: number; +}; +type UpdateDonation = { + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateDistanceDonation = { + runner: number; + amountPerDistance: number; + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateFixedDonation = { + amount: number; + id: number; + donor: number; + paidAmount?: number; +}; +type CreateDonor = { + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateDonor = { + id: number; + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateGroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type ImportRunner = { + firstname: string; + middlename?: string; + lastname: string; + team?: string; + class?: string; +}; +type UpdateRunner = { + id: number; + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerCard = { + runner?: number; + enabled: boolean; +}; +type UpdateRunnerCard = { + id: number; + runner?: number; + enabled: boolean; +}; +type ScanNotFoundError = { + name: string; + message: string; +}; +type ScanIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationNotFoundError = { + name: string; + message: string; +}; +type ScanStationIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationHasScansError = { + name: string; + message: string; +}; +type CreateScan = { + runner: number; + valid?: boolean; + distance: number; +}; +type CreateTrackScan = { + card: number; + station?: number; +}; +type UpdateScan = { + id: number; + runner: number; + valid?: boolean; + distance: number; +}; +type UpdateTrackScan = { + id: number; + runner: number; + valid?: boolean; + track: number; +}; +type GroupNameNeededError = { + name: string; + message: string; +}; +type UserGroupNotFoundError = { + name: string; + message: string; +}; +type UserGroupIdsNotMatchingError = { + name: string; + message: string; +}; +type UpdateUser = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password?: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type ResponseUserPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type PermissionNotFoundError = { + name: string; + message: string; +}; +type PermissionIdsNotMatchingError = { + name: string; + message: string; +}; +type PermissionNeedsPrincipalError = { + name: string; + message: string; +}; +type UpdatePermission = { + id: number; + principal: number; + target: string; + action: string; +}; +type UpdateRunnerOrganization = { + id: number; + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type UpdateRunnerTeam = { + id: number; + parentGroup: number; + name: string; + contact?: number; +}; +type CreateSelfServiceCitizenRunner = { + email?: string; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateSelfServiceRunner = { + team?: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceTeam = { + name: string; + id: number; +}; +type ResponseSelfServiceOrganisation = { + name: string; + teams: Array; +}; +type ResponseSelfServiceDonor = { + id: number; + firstname: string; + middlename: string; + lastname: string; +}; +type ResponseSelfServiceDonation = { + donor: string; + amount: number; + amountPerDistance: number; +}; +type ResponseSelfServiceRunner = { + distance: number; + donationAmount: number; + group: string; + distanceDonations: string; + token?: string; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceScan = { + id: number; + valid: boolean; + distance: number; + lapTime: number; +}; +type CreateScanStation = { + description?: string; + track: number; + enabled?: boolean; +}; +type UpdateScanStation = { + id: number; + description?: string; + enabled?: boolean; +}; +type StatsClientNotFoundError = { + name: string; + message: string; +}; +type StatsClientIdsNotMatchingError = { + name: string; + message: string; +}; +type ResponseStatsClient = { + id: number; + description?: string; + key?: string; + prefix: string; +}; +type StatsClient = { + id: number; + description?: string; + prefix: string; + key: string; + cleartextkey?: string; +}; +type CreateStatsClient = { + description?: string; +}; +type ResponseStats = { + total_runners: number; + total_teams: number; + total_orgs: number; + total_users: number; + total_scans: number; + total_distance: number; + total_donation: number; + total_donations: number; + total_donors: number; + average_distance: number; + average_donation: number; +}; +type ResponseStatsOrgnisation = { + id: number; + name: string; + distance: number; + donationAmount: number; +}; +type ResponseStatsRunner = { + id: number; + firstname: string; + middlename: string; + lastname: string; + distance: number; + donationAmount: number; + minLaptime?: number; + group: { + [key: string]: unknown; + }; +}; +type ResponseStatsTeam = { + id: number; + name: string; + distance: number; + donationAmount: number; + parent: { + [key: string]: unknown; + }; +}; +type CreateTrack = { + name: string; + distance: number; + minimumLapTime?: number; +}; +type UpdateTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type CreateUser = { + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type UpdateUserGroup = { + id: number; + name: string; + description?: string; +}; +type ResponseUserGroupPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type AuthControllerLoginData = { + /** + * CreateAuth + */ + body?: CreateAuth; + path?: never; + query?: never; + url: '/api/auth/login'; +}; +type AuthControllerLoginResponses = { + 200: ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLoginResponse = AuthControllerLoginResponses[keyof AuthControllerLoginResponses]; +type AuthControllerLogoutData = { + /** + * HandleLogout + */ + body?: HandleLogout; + path?: never; + query?: never; + url: '/api/auth/logout'; +}; +type AuthControllerLogoutResponses = { + 200: Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLogoutResponse = AuthControllerLogoutResponses[keyof AuthControllerLogoutResponses]; +type AuthControllerRefreshData = { + /** + * RefreshAuth + */ + body?: RefreshAuth; + path?: never; + query?: never; + url: '/api/auth/refresh'; +}; +type AuthControllerRefreshResponses = { + 200: ResponseAuth | JwtNotProvidedError | IllegalJwtError | UserNotFoundError | RefreshTokenCountInvalidError; +}; +type AuthControllerRefreshResponse = AuthControllerRefreshResponses[keyof AuthControllerRefreshResponses]; +type AuthControllerGetResetTokenData = { + /** + * CreateResetToken + */ + body?: CreateResetToken; + path?: never; + query?: { + locale?: string; + }; + url: '/api/auth/reset'; +}; +type AuthControllerGetResetTokenErrors = { + 404: UserNotFoundError; + 406: UsernameOrEmailNeededError; + 500: MailSendingError; +}; +type AuthControllerGetResetTokenError = AuthControllerGetResetTokenErrors[keyof AuthControllerGetResetTokenErrors]; +type AuthControllerGetResetTokenResponses = { + 200: ResponseEmpty; +}; +type AuthControllerGetResetTokenResponse = AuthControllerGetResetTokenResponses[keyof AuthControllerGetResetTokenResponses]; +type AuthControllerResetPasswordData = { + /** + * ResetPassword + */ + body?: ResetPassword; + path: { + token: string; + }; + query?: never; + url: '/api/auth/reset/{token}'; +}; +type AuthControllerResetPasswordResponses = { + 200: ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError; +}; +type AuthControllerResetPasswordResponse = AuthControllerResetPasswordResponses[keyof AuthControllerResetPasswordResponses]; +type DonationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donations'; +}; +type DonationControllerGetAllResponses = { + 200: Array | Array; +}; +type DonationControllerGetAllResponse = DonationControllerGetAllResponses[keyof DonationControllerGetAllResponses]; +type DonationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donations/{id}'; +}; +type DonationControllerRemoveResponses = { + 200: ResponseDonation | ResponseDistanceDonation; + 204: ResponseEmpty; +}; +type DonationControllerRemoveResponse = DonationControllerRemoveResponses[keyof DonationControllerRemoveResponses]; +type DonationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donations/{id}'; +}; +type DonationControllerGetOneErrors = { + 404: DonationNotFoundError; +}; +type DonationControllerGetOneError = DonationControllerGetOneErrors[keyof DonationControllerGetOneErrors]; +type DonationControllerGetOneResponses = { + 200: ResponseDonation | ResponseDistanceDonation; +}; +type DonationControllerGetOneResponse = DonationControllerGetOneResponses[keyof DonationControllerGetOneResponses]; +type DonationControllerPostFixedData = { + /** + * CreateFixedDonation + */ + body?: CreateFixedDonation; + path?: never; + query?: never; + url: '/api/donations/fixed'; +}; +type DonationControllerPostFixedErrors = { + 404: DonorNotFoundError; +}; +type DonationControllerPostFixedError = DonationControllerPostFixedErrors[keyof DonationControllerPostFixedErrors]; +type DonationControllerPostFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPostFixedResponse = DonationControllerPostFixedResponses[keyof DonationControllerPostFixedResponses]; +type DonationControllerPostDistanceData = { + /** + * CreateDistanceDonation + */ + body?: CreateDistanceDonation; + path?: never; + query?: never; + url: '/api/donations/distance'; +}; +type DonationControllerPostDistanceErrors = { + 404: DonorNotFoundError | RunnerNotFoundError; +}; +type DonationControllerPostDistanceError = DonationControllerPostDistanceErrors[keyof DonationControllerPostDistanceErrors]; +type DonationControllerPostDistanceResponses = { + 200: ResponseDistanceDonation; +}; +type DonationControllerPostDistanceResponse = DonationControllerPostDistanceResponses[keyof DonationControllerPostDistanceResponses]; +type DonationControllerPutFixedData = { + /** + * UpdateFixedDonation + */ + body?: UpdateFixedDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/fixed/{id}'; +}; +type DonationControllerPutFixedErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutFixedError = DonationControllerPutFixedErrors[keyof DonationControllerPutFixedErrors]; +type DonationControllerPutFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutFixedResponse = DonationControllerPutFixedResponses[keyof DonationControllerPutFixedResponses]; +type DonationControllerPutDistanceData = { + /** + * UpdateDistanceDonation + */ + body?: UpdateDistanceDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/distance/{id}'; +}; +type DonationControllerPutDistanceErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutDistanceError = DonationControllerPutDistanceErrors[keyof DonationControllerPutDistanceErrors]; +type DonationControllerPutDistanceResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutDistanceResponse = DonationControllerPutDistanceResponses[keyof DonationControllerPutDistanceResponses]; +type DonorControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donors'; +}; +type DonorControllerGetAllResponses = { + 200: Array; +}; +type DonorControllerGetAllResponse = DonorControllerGetAllResponses[keyof DonorControllerGetAllResponses]; +type DonorControllerPostData = { + /** + * CreateDonor + */ + body?: CreateDonor; + path?: never; + query?: never; + url: '/api/donors'; +}; +type DonorControllerPostResponses = { + 200: ResponseDonor; +}; +type DonorControllerPostResponse = DonorControllerPostResponses[keyof DonorControllerPostResponses]; +type DonorControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donors/{id}'; +}; +type DonorControllerRemoveResponses = { + 200: ResponseDonor; + 204: ResponseEmpty; +}; +type DonorControllerRemoveResponse = DonorControllerRemoveResponses[keyof DonorControllerRemoveResponses]; +type DonorControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerGetOneErrors = { + 404: DonorNotFoundError; +}; +type DonorControllerGetOneError = DonorControllerGetOneErrors[keyof DonorControllerGetOneErrors]; +type DonorControllerGetOneResponses = { + 200: ResponseDonor; +}; +type DonorControllerGetOneResponse = DonorControllerGetOneResponses[keyof DonorControllerGetOneResponses]; +type DonorControllerPutData = { + /** + * UpdateDonor + */ + body?: UpdateDonor; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerPutErrors = { + 404: DonorNotFoundError; + 406: DonorIdsNotMatchingError; +}; +type DonorControllerPutError = DonorControllerPutErrors[keyof DonorControllerPutErrors]; +type DonorControllerPutResponses = { + 200: ResponseDonor; +}; +type DonorControllerPutResponse = DonorControllerPutResponses[keyof DonorControllerPutResponses]; +type GroupContactControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/contacts'; +}; +type GroupContactControllerGetAllResponses = { + 200: Array; +}; +type GroupContactControllerGetAllResponse = GroupContactControllerGetAllResponses[keyof GroupContactControllerGetAllResponses]; +type GroupContactControllerPostData = { + /** + * CreateGroupContact + */ + body?: CreateGroupContact; + path?: never; + query?: never; + url: '/api/contacts'; +}; +type GroupContactControllerPostErrors = { + 404: RunnerGroupNotFoundError; +}; +type GroupContactControllerPostError = GroupContactControllerPostErrors[keyof GroupContactControllerPostErrors]; +type GroupContactControllerPostResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPostResponse = GroupContactControllerPostResponses[keyof GroupContactControllerPostResponses]; +type GroupContactControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerRemoveResponses = { + 200: ResponseGroupContact; + 204: ResponseEmpty; +}; +type GroupContactControllerRemoveResponse = GroupContactControllerRemoveResponses[keyof GroupContactControllerRemoveResponses]; +type GroupContactControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerGetOneErrors = { + 404: GroupContactNotFoundError; +}; +type GroupContactControllerGetOneError = GroupContactControllerGetOneErrors[keyof GroupContactControllerGetOneErrors]; +type GroupContactControllerGetOneResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerGetOneResponse = GroupContactControllerGetOneResponses[keyof GroupContactControllerGetOneResponses]; +type GroupContactControllerPutData = { + /** + * UpdateGroupContact + */ + body?: UpdateGroupContact; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerPutErrors = { + 404: GroupContactNotFoundError | RunnerGroupNotFoundError; + 406: GroupContactIdsNotMatchingError; +}; +type GroupContactControllerPutError = GroupContactControllerPutErrors[keyof GroupContactControllerPutErrors]; +type GroupContactControllerPutResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPutResponse = GroupContactControllerPutResponses[keyof GroupContactControllerPutResponses]; +type ScanControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/scans'; +}; +type ScanControllerGetAllResponses = { + 200: Array | Array; +}; +type ScanControllerGetAllResponse = ScanControllerGetAllResponses[keyof ScanControllerGetAllResponses]; +type ScanControllerPostData = { + /** + * CreateScan + */ + body?: CreateScan; + path?: never; + query?: never; + url: '/api/scans'; +}; +type ScanControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostError = ScanControllerPostErrors[keyof ScanControllerPostErrors]; +type ScanControllerPostResponses = { + 200: ResponseScan; +}; +type ScanControllerPostResponse = ScanControllerPostResponses[keyof ScanControllerPostResponses]; +type ScanControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/scans/{id}'; +}; +type ScanControllerRemoveResponses = { + 200: ResponseScan; + 204: ResponseEmpty; +}; +type ScanControllerRemoveResponse = ScanControllerRemoveResponses[keyof ScanControllerRemoveResponses]; +type ScanControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerGetOneErrors = { + 404: ScanNotFoundError; +}; +type ScanControllerGetOneError = ScanControllerGetOneErrors[keyof ScanControllerGetOneErrors]; +type ScanControllerGetOneResponses = { + 200: ResponseScan | ResponseTrackScan; +}; +type ScanControllerGetOneResponse = ScanControllerGetOneResponses[keyof ScanControllerGetOneResponses]; +type ScanControllerPutData = { + /** + * UpdateScan + */ + body?: UpdateScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerPutErrors = { + 404: ScanNotFoundError | RunnerNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutError = ScanControllerPutErrors[keyof ScanControllerPutErrors]; +type ScanControllerPutResponses = { + 200: ResponseScan; +}; +type ScanControllerPutResponse = ScanControllerPutResponses[keyof ScanControllerPutResponses]; +type ScanControllerPostTrackScansData = { + /** + * CreateTrackScan + */ + body?: CreateTrackScan; + path?: never; + query?: never; + url: '/api/scans/trackscans'; +}; +type ScanControllerPostTrackScansErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostTrackScansError = ScanControllerPostTrackScansErrors[keyof ScanControllerPostTrackScansErrors]; +type ScanControllerPostTrackScansResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPostTrackScansResponse = ScanControllerPostTrackScansResponses[keyof ScanControllerPostTrackScansResponses]; +type ScanControllerPutTrackScanData = { + /** + * UpdateTrackScan + */ + body?: UpdateTrackScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/trackscans/{id}'; +}; +type ScanControllerPutTrackScanErrors = { + 404: ScanNotFoundError | RunnerNotFoundError | ScanStationNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutTrackScanError = ScanControllerPutTrackScanErrors[keyof ScanControllerPutTrackScanErrors]; +type ScanControllerPutTrackScanResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPutTrackScanResponse = ScanControllerPutTrackScanResponses[keyof ScanControllerPutTrackScanResponses]; +type RunnerCardControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/cards'; +}; +type RunnerCardControllerGetAllResponses = { + 200: Array; +}; +type RunnerCardControllerGetAllResponse = RunnerCardControllerGetAllResponses[keyof RunnerCardControllerGetAllResponses]; +type RunnerCardControllerPostData = { + /** + * CreateRunnerCard + */ + body?: CreateRunnerCard; + path?: never; + query?: never; + url: '/api/cards'; +}; +type RunnerCardControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type RunnerCardControllerPostError = RunnerCardControllerPostErrors[keyof RunnerCardControllerPostErrors]; +type RunnerCardControllerPostResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPostResponse = RunnerCardControllerPostResponses[keyof RunnerCardControllerPostResponses]; +type RunnerCardControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerRemoveErrors = { + 406: RunnerCardHasScansError; +}; +type RunnerCardControllerRemoveError = RunnerCardControllerRemoveErrors[keyof RunnerCardControllerRemoveErrors]; +type RunnerCardControllerRemoveResponses = { + 200: ResponseRunnerCard; + 204: ResponseEmpty; +}; +type RunnerCardControllerRemoveResponse = RunnerCardControllerRemoveResponses[keyof RunnerCardControllerRemoveResponses]; +type RunnerCardControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerGetOneErrors = { + 404: RunnerCardNotFoundError; +}; +type RunnerCardControllerGetOneError = RunnerCardControllerGetOneErrors[keyof RunnerCardControllerGetOneErrors]; +type RunnerCardControllerGetOneResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerGetOneResponse = RunnerCardControllerGetOneResponses[keyof RunnerCardControllerGetOneResponses]; +type RunnerCardControllerPutData = { + /** + * UpdateRunnerCard + */ + body?: UpdateRunnerCard; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerPutErrors = { + 404: RunnerCardNotFoundError | RunnerNotFoundError; + 406: RunnerCardIdsNotMatchingError; +}; +type RunnerCardControllerPutError = RunnerCardControllerPutErrors[keyof RunnerCardControllerPutErrors]; +type RunnerCardControllerPutResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPutResponse = RunnerCardControllerPutResponses[keyof RunnerCardControllerPutResponses]; +type RunnerCardControllerPostBlancoBulkData = { + body?: never; + path?: never; + query?: { + count?: number; + returnCards?: boolean; + }; + url: '/api/cards/bulk'; +}; +type RunnerCardControllerPostBlancoBulkResponses = { + 200: ResponseEmpty; +}; +type RunnerCardControllerPostBlancoBulkResponse = RunnerCardControllerPostBlancoBulkResponses[keyof RunnerCardControllerPostBlancoBulkResponses]; +type RunnerControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/runners'; +}; +type RunnerControllerGetAllResponses = { + 200: Array; +}; +type RunnerControllerGetAllResponse = RunnerControllerGetAllResponses[keyof RunnerControllerGetAllResponses]; +type RunnerControllerPostData = { + /** + * CreateRunner + */ + body?: CreateRunner; + path?: never; + query?: never; + url: '/api/runners'; +}; +type RunnerControllerPostResponses = { + 200: ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError; +}; +type RunnerControllerPostResponse = RunnerControllerPostResponses[keyof RunnerControllerPostResponses]; +type RunnerControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/{id}'; +}; +type RunnerControllerRemoveErrors = { + 406: RunnerHasDistanceDonationsError; +}; +type RunnerControllerRemoveError = RunnerControllerRemoveErrors[keyof RunnerControllerRemoveErrors]; +type RunnerControllerRemoveResponses = { + 200: ResponseRunner; + 204: ResponseEmpty; +}; +type RunnerControllerRemoveResponse = RunnerControllerRemoveResponses[keyof RunnerControllerRemoveResponses]; +type RunnerControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerGetOneErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetOneError = RunnerControllerGetOneErrors[keyof RunnerControllerGetOneErrors]; +type RunnerControllerGetOneResponses = { + 200: ResponseRunner; +}; +type RunnerControllerGetOneResponse = RunnerControllerGetOneResponses[keyof RunnerControllerGetOneResponses]; +type RunnerControllerPutData = { + /** + * UpdateRunner + */ + body?: UpdateRunner; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerPutErrors = { + 404: RunnerNotFoundError; + 406: RunnerIdsNotMatchingError; +}; +type RunnerControllerPutError = RunnerControllerPutErrors[keyof RunnerControllerPutErrors]; +type RunnerControllerPutResponses = { + 200: ResponseRunner; +}; +type RunnerControllerPutResponse = RunnerControllerPutResponses[keyof RunnerControllerPutResponses]; +type RunnerControllerGetScansData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}/scans'; +}; +type RunnerControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetScansError = RunnerControllerGetScansErrors[keyof RunnerControllerGetScansErrors]; +type RunnerControllerGetScansResponses = { + 200: Array | Array; +}; +type RunnerControllerGetScansResponse = RunnerControllerGetScansResponses[keyof RunnerControllerGetScansResponses]; +type ImportControllerPostJsonData = { + /** + * ImportRunner + */ + body?: Array; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import'; +}; +type ImportControllerPostJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostJsonError = ImportControllerPostJsonErrors[keyof ImportControllerPostJsonErrors]; +type ImportControllerPostJsonResponses = { + 200: Array; +}; +type ImportControllerPostJsonResponse = ImportControllerPostJsonResponses[keyof ImportControllerPostJsonResponses]; +type ImportControllerPostOrgsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import'; +}; +type ImportControllerPostOrgsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsJsonError = ImportControllerPostOrgsJsonErrors[keyof ImportControllerPostOrgsJsonErrors]; +type ImportControllerPostOrgsJsonResponses = { + 200: Array; +}; +type ImportControllerPostOrgsJsonResponse = ImportControllerPostOrgsJsonResponses[keyof ImportControllerPostOrgsJsonResponses]; +type ImportControllerPostTeamsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import'; +}; +type ImportControllerPostTeamsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsJsonError = ImportControllerPostTeamsJsonErrors[keyof ImportControllerPostTeamsJsonErrors]; +type ImportControllerPostTeamsJsonResponses = { + 200: Array; +}; +type ImportControllerPostTeamsJsonResponse = ImportControllerPostTeamsJsonResponses[keyof ImportControllerPostTeamsJsonResponses]; +type ImportControllerPostCsvData = { + body?: never; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import/csv'; +}; +type ImportControllerPostCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostCsvError = ImportControllerPostCsvErrors[keyof ImportControllerPostCsvErrors]; +type ImportControllerPostCsvResponses = { + 200: Array; +}; +type ImportControllerPostCsvResponse = ImportControllerPostCsvResponses[keyof ImportControllerPostCsvResponses]; +type ImportControllerPostOrgsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import/csv'; +}; +type ImportControllerPostOrgsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsCsvError = ImportControllerPostOrgsCsvErrors[keyof ImportControllerPostOrgsCsvErrors]; +type ImportControllerPostOrgsCsvResponses = { + 200: Array; +}; +type ImportControllerPostOrgsCsvResponse = ImportControllerPostOrgsCsvResponses[keyof ImportControllerPostOrgsCsvResponses]; +type ImportControllerPostTeamsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import/csv'; +}; +type ImportControllerPostTeamsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsCsvError = ImportControllerPostTeamsCsvErrors[keyof ImportControllerPostTeamsCsvErrors]; +type ImportControllerPostTeamsCsvResponses = { + 200: Array; +}; +type ImportControllerPostTeamsCsvResponse = ImportControllerPostTeamsCsvResponses[keyof ImportControllerPostTeamsCsvResponses]; +type PermissionControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/permissions'; +}; +type PermissionControllerGetAllResponses = { + 200: Array; +}; +type PermissionControllerGetAllResponse = PermissionControllerGetAllResponses[keyof PermissionControllerGetAllResponses]; +type PermissionControllerPostData = { + /** + * CreatePermission + */ + body?: CreatePermission; + path?: never; + query?: never; + url: '/api/permissions'; +}; +type PermissionControllerPostErrors = { + 404: PrincipalNotFoundError; +}; +type PermissionControllerPostError = PermissionControllerPostErrors[keyof PermissionControllerPostErrors]; +type PermissionControllerPostResponses = { + 200: ResponsePermission; +}; +type PermissionControllerPostResponse = PermissionControllerPostResponses[keyof PermissionControllerPostResponses]; +type PermissionControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/permissions/{id}'; +}; +type PermissionControllerRemoveResponses = { + 200: ResponsePermission; + 204: ResponseEmpty; +}; +type PermissionControllerRemoveResponse = PermissionControllerRemoveResponses[keyof PermissionControllerRemoveResponses]; +type PermissionControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerGetOneErrors = { + 404: PermissionNotFoundError; +}; +type PermissionControllerGetOneError = PermissionControllerGetOneErrors[keyof PermissionControllerGetOneErrors]; +type PermissionControllerGetOneResponses = { + 200: ResponsePermission; +}; +type PermissionControllerGetOneResponse = PermissionControllerGetOneResponses[keyof PermissionControllerGetOneResponses]; +type PermissionControllerPutData = { + /** + * UpdatePermission + */ + body?: UpdatePermission; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerPutErrors = { + 404: PermissionNotFoundError | PrincipalNotFoundError; + 406: PermissionIdsNotMatchingError | PermissionNeedsPrincipalError; +}; +type PermissionControllerPutError = PermissionControllerPutErrors[keyof PermissionControllerPutErrors]; +type PermissionControllerPutResponses = { + 200: ResponsePrincipal; +}; +type PermissionControllerPutResponse = PermissionControllerPutResponses[keyof PermissionControllerPutResponses]; +type MeControllerRemoveData = { + body?: never; + path?: never; + query?: { + force?: boolean; + }; + url: '/api/users/me/'; +}; +type MeControllerRemoveErrors = { + 404: UserNotFoundError; + 406: UserDeletionNotConfirmedError; +}; +type MeControllerRemoveError = MeControllerRemoveErrors[keyof MeControllerRemoveErrors]; +type MeControllerRemoveResponses = { + 200: ResponseUser; +}; +type MeControllerRemoveResponse = MeControllerRemoveResponses[keyof MeControllerRemoveResponses]; +type MeControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerGetErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetError = MeControllerGetErrors[keyof MeControllerGetErrors]; +type MeControllerGetResponses = { + 200: ResponseUser; +}; +type MeControllerGetResponse = MeControllerGetResponses[keyof MeControllerGetResponses]; +type MeControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type MeControllerPutError = MeControllerPutErrors[keyof MeControllerPutErrors]; +type MeControllerPutResponses = { + 200: ResponseUser; +}; +type MeControllerPutResponse = MeControllerPutResponses[keyof MeControllerPutResponses]; +type MeControllerGetPermissionsData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/permissions'; +}; +type MeControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetPermissionsError = MeControllerGetPermissionsErrors[keyof MeControllerGetPermissionsErrors]; +type MeControllerGetPermissionsResponses = { + 200: ResponseUserPermissions; +}; +type MeControllerGetPermissionsResponse = MeControllerGetPermissionsResponses[keyof MeControllerGetPermissionsResponses]; +type RunnerTeamControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/teams'; +}; +type RunnerTeamControllerGetAllResponses = { + 200: Array; +}; +type RunnerTeamControllerGetAllResponse = RunnerTeamControllerGetAllResponses[keyof RunnerTeamControllerGetAllResponses]; +type RunnerTeamControllerPostData = { + /** + * CreateRunnerTeam + */ + body?: CreateRunnerTeam; + path?: never; + query?: never; + url: '/api/teams'; +}; +type RunnerTeamControllerPostResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPostResponse = RunnerTeamControllerPostResponses[keyof RunnerTeamControllerPostResponses]; +type RunnerTeamControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerRemoveErrors = { + 406: RunnerTeamHasRunnersError; +}; +type RunnerTeamControllerRemoveError = RunnerTeamControllerRemoveErrors[keyof RunnerTeamControllerRemoveErrors]; +type RunnerTeamControllerRemoveResponses = { + 200: ResponseRunnerTeam; + 204: ResponseEmpty; +}; +type RunnerTeamControllerRemoveResponse = RunnerTeamControllerRemoveResponses[keyof RunnerTeamControllerRemoveResponses]; +type RunnerTeamControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerGetOneErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetOneError = RunnerTeamControllerGetOneErrors[keyof RunnerTeamControllerGetOneErrors]; +type RunnerTeamControllerGetOneResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerGetOneResponse = RunnerTeamControllerGetOneResponses[keyof RunnerTeamControllerGetOneResponses]; +type RunnerTeamControllerPutData = { + /** + * UpdateRunnerTeam + */ + body?: UpdateRunnerTeam; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerPutErrors = { + 404: RunnerTeamNotFoundError; + 406: RunnerTeamIdsNotMatchingError; +}; +type RunnerTeamControllerPutError = RunnerTeamControllerPutErrors[keyof RunnerTeamControllerPutErrors]; +type RunnerTeamControllerPutResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPutResponse = RunnerTeamControllerPutResponses[keyof RunnerTeamControllerPutResponses]; +type RunnerTeamControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/runners'; +}; +type RunnerTeamControllerGetRunnersErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetRunnersError = RunnerTeamControllerGetRunnersErrors[keyof RunnerTeamControllerGetRunnersErrors]; +type RunnerTeamControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerTeamControllerGetRunnersResponse = RunnerTeamControllerGetRunnersResponses[keyof RunnerTeamControllerGetRunnersResponses]; +type RunnerOrganizationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerGetAllResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetAllResponse = RunnerOrganizationControllerGetAllResponses[keyof RunnerOrganizationControllerGetAllResponses]; +type RunnerOrganizationControllerPostData = { + /** + * CreateRunnerOrganization + */ + body?: CreateRunnerOrganization; + path?: never; + query?: never; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerPostResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPostResponse = RunnerOrganizationControllerPostResponses[keyof RunnerOrganizationControllerPostResponses]; +type RunnerOrganizationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerRemoveErrors = { + 406: RunnerOrganizationHasTeamsError | RunnerOrganizationHasRunnersError; +}; +type RunnerOrganizationControllerRemoveError = RunnerOrganizationControllerRemoveErrors[keyof RunnerOrganizationControllerRemoveErrors]; +type RunnerOrganizationControllerRemoveResponses = { + 200: ResponseRunnerOrganization; + 204: ResponseEmpty; +}; +type RunnerOrganizationControllerRemoveResponse = RunnerOrganizationControllerRemoveResponses[keyof RunnerOrganizationControllerRemoveResponses]; +type RunnerOrganizationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerGetOneErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetOneError = RunnerOrganizationControllerGetOneErrors[keyof RunnerOrganizationControllerGetOneErrors]; +type RunnerOrganizationControllerGetOneResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerGetOneResponse = RunnerOrganizationControllerGetOneResponses[keyof RunnerOrganizationControllerGetOneResponses]; +type RunnerOrganizationControllerPutData = { + /** + * UpdateRunnerOrganization + */ + body?: UpdateRunnerOrganization; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerPutErrors = { + 404: RunnerOrganizationNotFoundError; + 406: RunnerOrganizationIdsNotMatchingError; +}; +type RunnerOrganizationControllerPutError = RunnerOrganizationControllerPutErrors[keyof RunnerOrganizationControllerPutErrors]; +type RunnerOrganizationControllerPutResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPutResponse = RunnerOrganizationControllerPutResponses[keyof RunnerOrganizationControllerPutResponses]; +type RunnerOrganizationControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: { + onlyDirect?: boolean; + }; + url: '/api/organizations/{id}/runners'; +}; +type RunnerOrganizationControllerGetRunnersErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetRunnersError = RunnerOrganizationControllerGetRunnersErrors[keyof RunnerOrganizationControllerGetRunnersErrors]; +type RunnerOrganizationControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetRunnersResponse = RunnerOrganizationControllerGetRunnersResponses[keyof RunnerOrganizationControllerGetRunnersResponses]; +type RunnerSelfServiceControllerRemoveData = { + body?: never; + path: { + jwt: string; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerRemoveErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRemoveError = RunnerSelfServiceControllerRemoveErrors[keyof RunnerSelfServiceControllerRemoveErrors]; +type RunnerSelfServiceControllerRemoveResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRemoveResponse = RunnerSelfServiceControllerRemoveResponses[keyof RunnerSelfServiceControllerRemoveResponses]; +type RunnerSelfServiceControllerGetData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerGetErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetError = RunnerSelfServiceControllerGetErrors[keyof RunnerSelfServiceControllerGetErrors]; +type RunnerSelfServiceControllerGetResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerGetResponse = RunnerSelfServiceControllerGetResponses[keyof RunnerSelfServiceControllerGetResponses]; +type RunnerSelfServiceControllerGetScansData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}/scans'; +}; +type RunnerSelfServiceControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetScansError = RunnerSelfServiceControllerGetScansErrors[keyof RunnerSelfServiceControllerGetScansErrors]; +type RunnerSelfServiceControllerGetScansResponses = { + 200: Array; +}; +type RunnerSelfServiceControllerGetScansResponse = RunnerSelfServiceControllerGetScansResponses[keyof RunnerSelfServiceControllerGetScansResponses]; +type RunnerSelfServiceControllerGetStationMeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stations/me'; +}; +type RunnerSelfServiceControllerGetStationMeErrors = { + 404: ScanStationNotFoundError; +}; +type RunnerSelfServiceControllerGetStationMeError = RunnerSelfServiceControllerGetStationMeErrors[keyof RunnerSelfServiceControllerGetStationMeErrors]; +type RunnerSelfServiceControllerGetStationMeResponses = { + 200: ResponseScanStation; +}; +type RunnerSelfServiceControllerGetStationMeResponse = RunnerSelfServiceControllerGetStationMeResponses[keyof RunnerSelfServiceControllerGetStationMeResponses]; +type RunnerSelfServiceControllerRequestNewTokenData = { + body?: never; + path?: never; + query?: { + mail?: string; + locale?: string; + }; + url: '/api/runners/login'; +}; +type RunnerSelfServiceControllerRequestNewTokenErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRequestNewTokenError = RunnerSelfServiceControllerRequestNewTokenErrors[keyof RunnerSelfServiceControllerRequestNewTokenErrors]; +type RunnerSelfServiceControllerRequestNewTokenResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type RunnerSelfServiceControllerRegisterRunnerData = { + /** + * CreateSelfServiceCitizenRunner + */ + body?: CreateSelfServiceCitizenRunner; + path?: never; + query?: { + locale?: string; + }; + url: '/api/runners/register'; +}; +type RunnerSelfServiceControllerRegisterRunnerErrors = { + 406: RunnerEmailNeededError; +}; +type RunnerSelfServiceControllerRegisterRunnerError = RunnerSelfServiceControllerRegisterRunnerErrors[keyof RunnerSelfServiceControllerRegisterRunnerErrors]; +type RunnerSelfServiceControllerRegisterRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterRunnerResponse = RunnerSelfServiceControllerRegisterRunnerResponses[keyof RunnerSelfServiceControllerRegisterRunnerResponses]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerData = { + /** + * CreateSelfServiceRunner + */ + body?: CreateSelfServiceRunner; + path: { + token: string; + }; + query?: { + locale?: string; + }; + url: '/api/runners/register/{token}'; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerError = RunnerSelfServiceControllerRegisterOrganizationRunnerErrors[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerErrors]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse = RunnerSelfServiceControllerRegisterOrganizationRunnerResponses[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerResponses]; +type RunnerSelfServiceControllerGetSelfserviceOrgData = { + body?: never; + path: { + token: string; + }; + query?: never; + url: '/api/organizations/selfservice/{token}'; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgError = RunnerSelfServiceControllerGetSelfserviceOrgErrors[keyof RunnerSelfServiceControllerGetSelfserviceOrgErrors]; +type RunnerSelfServiceControllerGetSelfserviceOrgResponses = { + 200: ResponseSelfServiceOrganisation; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgResponse = RunnerSelfServiceControllerGetSelfserviceOrgResponses[keyof RunnerSelfServiceControllerGetSelfserviceOrgResponses]; +type ScanStationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/stations'; +}; +type ScanStationControllerGetAllResponses = { + 200: Array; +}; +type ScanStationControllerGetAllResponse = ScanStationControllerGetAllResponses[keyof ScanStationControllerGetAllResponses]; +type ScanStationControllerPostData = { + /** + * CreateScanStation + */ + body?: CreateScanStation; + path?: never; + query?: never; + url: '/api/stations'; +}; +type ScanStationControllerPostErrors = { + 404: TrackNotFoundError; +}; +type ScanStationControllerPostError = ScanStationControllerPostErrors[keyof ScanStationControllerPostErrors]; +type ScanStationControllerPostResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPostResponse = ScanStationControllerPostResponses[keyof ScanStationControllerPostResponses]; +type ScanStationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/stations/{id}'; +}; +type ScanStationControllerRemoveErrors = { + 406: ScanStationHasScansError; +}; +type ScanStationControllerRemoveError = ScanStationControllerRemoveErrors[keyof ScanStationControllerRemoveErrors]; +type ScanStationControllerRemoveResponses = { + 200: ResponseScanStation; + 204: ResponseEmpty; +}; +type ScanStationControllerRemoveResponse = ScanStationControllerRemoveResponses[keyof ScanStationControllerRemoveResponses]; +type ScanStationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerGetOneErrors = { + 404: ScanStationNotFoundError; +}; +type ScanStationControllerGetOneError = ScanStationControllerGetOneErrors[keyof ScanStationControllerGetOneErrors]; +type ScanStationControllerGetOneResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerGetOneResponse = ScanStationControllerGetOneResponses[keyof ScanStationControllerGetOneResponses]; +type ScanStationControllerPutData = { + /** + * UpdateScanStation + */ + body?: UpdateScanStation; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerPutErrors = { + 404: ScanStationNotFoundError; + 406: ScanStationIdsNotMatchingError; +}; +type ScanStationControllerPutError = ScanStationControllerPutErrors[keyof ScanStationControllerPutErrors]; +type ScanStationControllerPutResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPutResponse = ScanStationControllerPutResponses[keyof ScanStationControllerPutResponses]; +type StatsClientControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/statsclients'; +}; +type StatsClientControllerGetAllResponses = { + 200: Array; +}; +type StatsClientControllerGetAllResponse = StatsClientControllerGetAllResponses[keyof StatsClientControllerGetAllResponses]; +type StatsClientControllerPostData = { + /** + * CreateStatsClient + */ + body?: CreateStatsClient; + path?: never; + query?: never; + url: '/api/statsclients'; +}; +type StatsClientControllerPostResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerPostResponse = StatsClientControllerPostResponses[keyof StatsClientControllerPostResponses]; +type StatsClientControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerRemoveResponses = { + 200: ResponseStatsClient; + 204: ResponseEmpty; +}; +type StatsClientControllerRemoveResponse = StatsClientControllerRemoveResponses[keyof StatsClientControllerRemoveResponses]; +type StatsClientControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerGetOneErrors = { + 404: StatsClientNotFoundError; +}; +type StatsClientControllerGetOneError = StatsClientControllerGetOneErrors[keyof StatsClientControllerGetOneErrors]; +type StatsClientControllerGetOneResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerGetOneResponse = StatsClientControllerGetOneResponses[keyof StatsClientControllerGetOneResponses]; +type StatsControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats'; +}; +type StatsControllerGetResponses = { + 200: ResponseStats; +}; +type StatsControllerGetResponse = StatsControllerGetResponses[keyof StatsControllerGetResponses]; +type StatsControllerGetTopRunnersByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/distance'; +}; +type StatsControllerGetTopRunnersByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDistanceResponse = StatsControllerGetTopRunnersByDistanceResponses[keyof StatsControllerGetTopRunnersByDistanceResponses]; +type StatsControllerGetTopRunnersByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/donations'; +}; +type StatsControllerGetTopRunnersByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDonationsResponse = StatsControllerGetTopRunnersByDonationsResponses[keyof StatsControllerGetTopRunnersByDonationsResponses]; +type StatsControllerGetTopRunnersByLaptimeData = { + body?: never; + path?: never; + query?: { + track?: number; + }; + url: '/api/stats/runners/laptime'; +}; +type StatsControllerGetTopRunnersByLaptimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByLaptimeResponse = StatsControllerGetTopRunnersByLaptimeResponses[keyof StatsControllerGetTopRunnersByLaptimeResponses]; +type StatsControllerGetTopRunnersByTrackTimeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/scans'; +}; +type StatsControllerGetTopRunnersByTrackTimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByTrackTimeResponse = StatsControllerGetTopRunnersByTrackTimeResponses[keyof StatsControllerGetTopRunnersByTrackTimeResponses]; +type StatsControllerGetTopTeamsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/distance'; +}; +type StatsControllerGetTopTeamsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDistanceResponse = StatsControllerGetTopTeamsByDistanceResponses[keyof StatsControllerGetTopTeamsByDistanceResponses]; +type StatsControllerGetTopTeamsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/donations'; +}; +type StatsControllerGetTopTeamsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDonationsResponse = StatsControllerGetTopTeamsByDonationsResponses[keyof StatsControllerGetTopTeamsByDonationsResponses]; +type StatsControllerGetTopOrgsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/distance'; +}; +type StatsControllerGetTopOrgsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDistanceResponse = StatsControllerGetTopOrgsByDistanceResponses[keyof StatsControllerGetTopOrgsByDistanceResponses]; +type StatsControllerGetTopOrgsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/donations'; +}; +type StatsControllerGetTopOrgsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDonationsResponse = StatsControllerGetTopOrgsByDonationsResponses[keyof StatsControllerGetTopOrgsByDonationsResponses]; +type StatusControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/status'; +}; +type StatusControllerGetResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type StatusControllerGetVersionData = { + body?: never; + path?: never; + query?: never; + url: '/api/version'; +}; +type StatusControllerGetVersionResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type TrackControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/tracks'; +}; +type TrackControllerGetAllResponses = { + 200: Array; +}; +type TrackControllerGetAllResponse = TrackControllerGetAllResponses[keyof TrackControllerGetAllResponses]; +type TrackControllerPostData = { + /** + * CreateTrack + */ + body?: CreateTrack; + path?: never; + query?: never; + url: '/api/tracks'; +}; +type TrackControllerPostErrors = { + 406: TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPostError = TrackControllerPostErrors[keyof TrackControllerPostErrors]; +type TrackControllerPostResponses = { + 200: ResponseTrack; +}; +type TrackControllerPostResponse = TrackControllerPostResponses[keyof TrackControllerPostResponses]; +type TrackControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/tracks/{id}'; +}; +type TrackControllerRemoveResponses = { + 200: ResponseTrack; + 204: ResponseEmpty; +}; +type TrackControllerRemoveResponse = TrackControllerRemoveResponses[keyof TrackControllerRemoveResponses]; +type TrackControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerGetOneErrors = { + 404: TrackNotFoundError; +}; +type TrackControllerGetOneError = TrackControllerGetOneErrors[keyof TrackControllerGetOneErrors]; +type TrackControllerGetOneResponses = { + 200: ResponseTrack; +}; +type TrackControllerGetOneResponse = TrackControllerGetOneResponses[keyof TrackControllerGetOneResponses]; +type TrackControllerPutData = { + /** + * UpdateTrack + */ + body?: UpdateTrack; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerPutErrors = { + 404: TrackNotFoundError; + 406: TrackIdsNotMatchingError | TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPutError = TrackControllerPutErrors[keyof TrackControllerPutErrors]; +type TrackControllerPutResponses = { + 200: ResponseTrack; +}; +type TrackControllerPutResponse = TrackControllerPutResponses[keyof TrackControllerPutResponses]; +type UserControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/users'; +}; +type UserControllerGetAllResponses = { + 200: Array; +}; +type UserControllerGetAllResponse = UserControllerGetAllResponses[keyof UserControllerGetAllResponses]; +type UserControllerPostData = { + /** + * CreateUser + */ + body?: CreateUser; + path?: never; + query?: never; + url: '/api/users'; +}; +type UserControllerPostErrors = { + 404: UserGroupNotFoundError; + 406: UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPostError = UserControllerPostErrors[keyof UserControllerPostErrors]; +type UserControllerPostResponses = { + 200: ResponseUser; +}; +type UserControllerPostResponse = UserControllerPostResponses[keyof UserControllerPostResponses]; +type UserControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/users/{id}'; +}; +type UserControllerRemoveErrors = { + 406: UserDeletionNotConfirmedError; +}; +type UserControllerRemoveError = UserControllerRemoveErrors[keyof UserControllerRemoveErrors]; +type UserControllerRemoveResponses = { + 200: ResponseUser; + 204: ResponseEmpty; +}; +type UserControllerRemoveResponse = UserControllerRemoveResponses[keyof UserControllerRemoveResponses]; +type UserControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerGetOneErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetOneError = UserControllerGetOneErrors[keyof UserControllerGetOneErrors]; +type UserControllerGetOneResponses = { + 200: ResponseUser; +}; +type UserControllerGetOneResponse = UserControllerGetOneResponses[keyof UserControllerGetOneResponses]; +type UserControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPutError = UserControllerPutErrors[keyof UserControllerPutErrors]; +type UserControllerPutResponses = { + 200: ResponseUser; +}; +type UserControllerPutResponse = UserControllerPutResponses[keyof UserControllerPutResponses]; +type UserControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}/permissions'; +}; +type UserControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetPermissionsError = UserControllerGetPermissionsErrors[keyof UserControllerGetPermissionsErrors]; +type UserControllerGetPermissionsResponses = { + 200: ResponseUser; +}; +type UserControllerGetPermissionsResponse = UserControllerGetPermissionsResponses[keyof UserControllerGetPermissionsResponses]; +type UserGroupControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/usergroups'; +}; +type UserGroupControllerGetAllResponses = { + 200: Array; +}; +type UserGroupControllerGetAllResponse = UserGroupControllerGetAllResponses[keyof UserGroupControllerGetAllResponses]; +type UserGroupControllerPostData = { + /** + * CreateUserGroup + */ + body?: CreateUserGroup; + path?: never; + query?: never; + url: '/api/usergroups'; +}; +type UserGroupControllerPostResponses = { + 200: UserGroup | UserGroupNotFoundError; +}; +type UserGroupControllerPostResponse = UserGroupControllerPostResponses[keyof UserGroupControllerPostResponses]; +type UserGroupControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerRemoveResponses = { + 200: ResponseUserGroup; + 204: ResponseEmpty; +}; +type UserGroupControllerRemoveResponse = UserGroupControllerRemoveResponses[keyof UserGroupControllerRemoveResponses]; +type UserGroupControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerGetOneErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetOneError = UserGroupControllerGetOneErrors[keyof UserGroupControllerGetOneErrors]; +type UserGroupControllerGetOneResponses = { + 200: ResponseUserGroup; +}; +type UserGroupControllerGetOneResponse = UserGroupControllerGetOneResponses[keyof UserGroupControllerGetOneResponses]; +type UserGroupControllerPutData = { + /** + * UpdateUserGroup + */ + body?: UpdateUserGroup; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerPutErrors = { + 404: UserGroupNotFoundError; + 406: UserGroupIdsNotMatchingError; +}; +type UserGroupControllerPutError = UserGroupControllerPutErrors[keyof UserGroupControllerPutErrors]; +type UserGroupControllerPutResponses = { + 200: UserGroup; +}; +type UserGroupControllerPutResponse = UserGroupControllerPutResponses[keyof UserGroupControllerPutResponses]; +type UserGroupControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}/permissions'; +}; +type UserGroupControllerGetPermissionsErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetPermissionsError = UserGroupControllerGetPermissionsErrors[keyof UserGroupControllerGetPermissionsErrors]; +type UserGroupControllerGetPermissionsResponses = { + 200: ResponseUserGroupPermissions; +}; +type UserGroupControllerGetPermissionsResponse = UserGroupControllerGetPermissionsResponses[keyof UserGroupControllerGetPermissionsResponses]; +type ClientOptions = { + baseUrl: 'https://run.lauf-fuer-kaya.de' | (string & {}); +}; + +type Options = Options$1 & { + /** + * You can provide a client instance returned by `createClient()` instead of + * individual options. This might be also useful if you want to implement a + * custom client. + */ + client?: Client; + /** + * You can pass arbitrary values through the `meta` object. This can be + * used to access values that aren't defined as part of the SDK function. + */ + meta?: Record; +}; +/** + * Login + * Login with your username/email and password.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerLogin: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Logout + * Logout using your refresh token.
This instantly invalidates all your access and refresh tokens. + */ +declare const authControllerLogout: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Refresh + * Refresh your access and refresh tokens using a valid refresh token.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerRefresh: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get reset token + * Request a password reset token.
This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. + */ +declare const authControllerGetResetToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Reset password + * Reset a user's utilising a valid password reset token.
This will set the user's password to the one you provided in the body.
To get a reset token post to /api/auth/reset with your username. + */ +declare const authControllerResetPassword: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donations (fixed or distance based) from all donors.
This includes the donations's runner's distance ran(if distance donation). + */ +declare const donationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donation whose id you provided.
If no donation with this id exists it will just return 204(no content). + */ +declare const donationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). + */ +declare const donationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post fixed + * Create a fixed donation (not distance donation - use /donations/distance instead).
Please rmemember to provide the donation's donors's id and amount. + */ +declare const donationControllerPostFixed: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post distance + * Create a distance donation (not fixed donation - use /donations/fixed instead).
Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). + */ +declare const donationControllerPostDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put fixed + * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided.
Please remember that ids can't be changed and amounts must be positive. + */ +declare const donationControllerPutFixed: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put distance + * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided.
Please remember that ids can't be changed and amountPerDistance must be positive. + */ +declare const donationControllerPutDistance: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donor.
This includes the donor's current donation amount. + */ +declare const donorControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new donor. + */ +declare const donorControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donor whose id you provided.
If no donor with this id exists it will just return 204(no content).
If the donor still has donations associated this will fail, please provide the query param ?force=true to delete the donor with all associated donations. + */ +declare const donorControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donor whose id got provided.
This includes the donor's current donation amount. + */ +declare const donorControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the donor whose id you provided.
Please remember that ids can't be changed. + */ +declare const donorControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all contacts.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new contact. + */ +declare const groupContactControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the contact whose id you provided.
If no contact with this id exists it will just return 204(no content).
This won't delete any groups associated with the contact. + */ +declare const groupContactControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the contact whose id got provided.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the contact whose id you provided.
Please remember that ids can't be changed. + */ +declare const groupContactControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all scans (normal or track) from all runners.
This includes the scan's runner's distance ran. + */ +declare const scanControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new scan (not track scan - use /scans/trackscans instead).
Please rmemember to provide the scan's runner's id and distance. + */ +declare const scanControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the scan whose id you provided.
If no scan with this id exists it will just return 204(no content). + */ +declare const scanControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. + */ +declare const scanControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that ids can't be changed and distances must be positive. + */ +declare const scanControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post track scans + * Create a new track scan (for "normal" scans use /scans instead).
Please remember that to provide the scan's card's station's id. + */ +declare const scanControllerPostTrackScans: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put track scan + * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that only the validity, runner and track can be changed. + */ +declare const scanControllerPutTrackScan: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all card. + */ +declare const runnerCardControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new card.
You can provide a associated runner by id but you don't have to. + */ +declare const runnerCardControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the card whose id you provided.
If no card with this id exists it will just return 204(no content).
If the card still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with by this card - please disable it instead or just remove the runner association). + */ +declare const runnerCardControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the card whose id got provided. + */ +declare const runnerCardControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the card whose id you provided.
Scans created via this card will still be associated with the old runner.
Please remember that ids can't be changed. + */ +declare const runnerCardControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post blanco bulk + * Create blank cards in bulk.
Just provide the count as a query param and wait for the 200 response.
You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. + */ +declare const runnerCardControllerPostBlancoBulk: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all runners from all teams/orgs.
This includes the runner's group and distance ran. + */ +declare const runnerControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new runner.
Please remeber to provide the runner's group's id. + */ +declare const runnerControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the runner whose id you provided.
This will also delete all scans and cards associated with the runner.
If no runner with this id exists it will just return 204(no content). + */ +declare const runnerControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the runner whose id got provided. + */ +declare const runnerControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the runner whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all scans of the runner whose id got provided.
If you only want the valid scans just add the ?onlyValid=true query param. + */ +declare const runnerControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post json + * Create new runners from json and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostJson: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs json + * Create new runners from json and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams json + * Create new runners from json and insert them into the provided team + */ +declare const importControllerPostTeamsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post csv + * Create new runners from csv and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostCsv: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs csv + * Create new runners from csv and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams csv + * Create new runners from csv and insert them into the provided team + */ +declare const importControllerPostTeamsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all permissions for all users and groups. + */ +declare const permissionControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new permission for a existing principal(user/group).
If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. + */ +declare const permissionControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes the permission whose id you provide.
If no permission with this id exists it will just return 204(no content). + */ +declare const permissionControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the permission whose id got provided. + */ +declare const permissionControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update a permission object.
If updateing the permission object would result in duplicate permission (same target, action and principal) this permission will get deleted and the existing permission will be returned.
Please remember that ids can't be changed. + */ +declare const permissionControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete yourself.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to you they will get deleted as well. + */ +declare const meControllerRemove: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself. + */ +declare const meControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the yourself.
You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead.
Please remember that ids can't be changed. + */ +declare const meControllerPut: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. + */ +declare const meControllerGetPermissions: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all teams.
This includes their parent organization and contact (if existing/associated). + */ +declare const runnerTeamControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation.
Please remember to provide it's parent group's id. + */ +declare const runnerTeamControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the team whose id you provided.
If the team still has runners associated this will fail.
To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no team with this id exists it will just return 204(no content). + */ +declare const runnerTeamControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the team whose id got provided. + */ +declare const runnerTeamControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the team whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerTeamControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this team.
This includes the runner's group and distance ran. + */ +declare const runnerTeamControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all organizations.
This includes their address, contact and teams (if existing/associated). + */ +declare const runnerOrganizationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation. + */ +declare const runnerOrganizationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the organsisation whose id you provided.
If the organization still has runners and/or teams associated this will fail.
To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no organization with this id exists it will just return 204(no content). + */ +declare const runnerOrganizationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the organization whose id got provided. + */ +declare const runnerOrganizationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the organization whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerOrganizationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param).
This includes the runner's group and distance ran. + */ +declare const runnerOrganizationControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerGet: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all your (runner) scans.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please contact support. + */ +declare const runnerSelfServiceControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get station me + * Lists basic information about the station whose token got provided.
This includes it's associated track. + */ +declare const runnerSelfServiceControllerGetStationMe: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Request new token + * Use this endpoint to reuqest a new selfservice magic-login-link to be sent to your mail address (rate limited to one mail every 15mins). + */ +declare const runnerSelfServiceControllerRequestNewToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register runner + * Create a new selfservice runner in the citizen org.
This endpoint shoud be used to allow "everyday citizen" to register themselves.
You have to provide a mail address, b/c the future we'll implement email verification. + */ +declare const runnerSelfServiceControllerRegisterRunner: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register organization runner + * Create a new selfservice runner in a provided org.
The orgs get provided and authorized via api tokens that can be optained via the /organizations endpoint. + */ +declare const runnerSelfServiceControllerRegisterOrganizationRunner: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get selfservice org + * Get the basic info and teams for a org. + */ +declare const runnerSelfServiceControllerGetSelfserviceOrg: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stations.
This includes their associated tracks. + */ +declare const scanStationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new station.
Please remeber to provide the station's track's id.
Please also remember that the station key is only visibe on creation. + */ +declare const scanStationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the station whose id you provided.
If no station with this id exists it will just return 204(no content).
If the station still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with/created by this station - please disable it instead). + */ +declare const scanStationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the station whose id got provided.
This includes it's associated track. + */ +declare const scanStationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the station whose id you provided.
Please remember that only the description and enabled state can be changed. + */ +declare const scanStationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stats clients. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new stats client.
Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. + */ +declare const statsClientControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the stats client whose id you provided.
If no client with this id exists it will just return 204(no content). + */ +declare const statsClientControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic stats endpoint providing basic counters for a dashboard or simmilar + */ +declare const statsControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by distance + * Returns the top ten runners by distance. + */ +declare const statsControllerGetTopRunnersByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by donations + * Returns the top ten runners by donations. + */ +declare const statsControllerGetTopRunnersByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by laptime + * Returns the top ten runners by fastest laptime on your selected track (track by id). + */ +declare const statsControllerGetTopRunnersByLaptime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by track time + * Returns the top ten fastest track times (with their runner and the runner's group). + */ +declare const statsControllerGetTopRunnersByTrackTime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by distance + * Returns the top ten teams by distance. + */ +declare const statsControllerGetTopTeamsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by donations + * Returns the top ten teams by donations. + */ +declare const statsControllerGetTopTeamsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by distance + * Returns the top ten organizations by distance. + */ +declare const statsControllerGetTopOrgsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by donations + * Returns the top ten organizations by donations. + */ +declare const statsControllerGetTopOrgsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic status/health endpoint that just checks if the database connection is available.
The available information depth will be expanded later. + */ +declare const statusControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get version + * A very basic endpoint that just returns the curent package version. + */ +declare const statusControllerGetVersion: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all tracks. + */ +declare const trackControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new track.
Please remember that the track's distance must be greater than 0. + */ +declare const trackControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the track whose id you provided.
If no track with this id exists it will just return 204(no content). + */ +declare const trackControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the track whose id got provided. + */ +declare const trackControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the track whose id you provided.
Please remember that ids can't be changed. + */ +declare const trackControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all users.
This includes their groups and permissions granted to them. + */ +declare const userControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new user.
If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. + */ +declare const userControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the user whose id you provided.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to the user they will get deleted as well.
If no user with this id exists it will just return 204(no content). + */ +declare const userControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the user whose id got provided.
Please remember that all permissions granted to the user will show up here. + */ +declare const userControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the user whose id you provided.
To change the permissions directly granted to the user please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. + */ +declare const userControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all groups.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new group.
If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. + */ +declare const userGroupControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the group whose id you provided.
If there are any permissions directly granted to the group they will get deleted as well.
Users associated with this group won't get deleted - just deassociated.
If no group with this id exists it will just return 204(no content). + */ +declare const userGroupControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the group whose id got provided.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the group whose id you provided.
To change the permissions granted to the group please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userGroupControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the group as permission response objects. + */ +declare const userGroupControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; + +export { type Address, type AddressCityEmptyError, type AddressCountryEmptyError, type AddressFirstLineEmptyError, type AddressPostalCodeEmptyError, type AddressPostalCodeInvalidError, type AuthControllerGetResetTokenData, type AuthControllerGetResetTokenError, type AuthControllerGetResetTokenErrors, type AuthControllerGetResetTokenResponse, type AuthControllerGetResetTokenResponses, type AuthControllerLoginData, type AuthControllerLoginResponse, type AuthControllerLoginResponses, type AuthControllerLogoutData, type AuthControllerLogoutResponse, type AuthControllerLogoutResponses, type AuthControllerRefreshData, type AuthControllerRefreshResponse, type AuthControllerRefreshResponses, type AuthControllerResetPasswordData, type AuthControllerResetPasswordResponse, type AuthControllerResetPasswordResponses, type ClientOptions, type ConfigFlag, type CreateAuth, type CreateDistanceDonation, type CreateDonation, type CreateDonor, type CreateFixedDonation, type CreateGroupContact, type CreateParticipant, type CreatePermission, type CreateResetToken, type CreateRunner, type CreateRunnerCard, type CreateRunnerGroup, type CreateRunnerOrganization, type CreateRunnerTeam, type CreateScan, type CreateScanStation, type CreateSelfServiceCitizenRunner, type CreateSelfServiceRunner, type CreateStatsClient, type CreateTrack, type CreateTrackScan, type CreateUser, type CreateUserGroup, type DistanceDonation, type Donation, type DonationControllerGetAllData, type DonationControllerGetAllResponse, type DonationControllerGetAllResponses, type DonationControllerGetOneData, type DonationControllerGetOneError, type DonationControllerGetOneErrors, type DonationControllerGetOneResponse, type DonationControllerGetOneResponses, type DonationControllerPostDistanceData, type DonationControllerPostDistanceError, type DonationControllerPostDistanceErrors, type DonationControllerPostDistanceResponse, type DonationControllerPostDistanceResponses, type DonationControllerPostFixedData, type DonationControllerPostFixedError, type DonationControllerPostFixedErrors, type DonationControllerPostFixedResponse, type DonationControllerPostFixedResponses, type DonationControllerPutDistanceData, type DonationControllerPutDistanceError, type DonationControllerPutDistanceErrors, type DonationControllerPutDistanceResponse, type DonationControllerPutDistanceResponses, type DonationControllerPutFixedData, type DonationControllerPutFixedError, type DonationControllerPutFixedErrors, type DonationControllerPutFixedResponse, type DonationControllerPutFixedResponses, type DonationControllerRemoveData, type DonationControllerRemoveResponse, type DonationControllerRemoveResponses, type DonationIdsNotMatchingError, type DonationNotFoundError, type Donor, type DonorControllerGetAllData, type DonorControllerGetAllResponse, type DonorControllerGetAllResponses, type DonorControllerGetOneData, type DonorControllerGetOneError, type DonorControllerGetOneErrors, type DonorControllerGetOneResponse, type DonorControllerGetOneResponses, type DonorControllerPostData, type DonorControllerPostResponse, type DonorControllerPostResponses, type DonorControllerPutData, type DonorControllerPutError, type DonorControllerPutErrors, type DonorControllerPutResponse, type DonorControllerPutResponses, type DonorControllerRemoveData, type DonorControllerRemoveResponse, type DonorControllerRemoveResponses, type DonorHasDonationsError, type DonorIdsNotMatchingError, type DonorNotFoundError, type DonorReceiptAddressNeededError, type FixedDonation, type GroupContact, type GroupContactControllerGetAllData, type GroupContactControllerGetAllResponse, type GroupContactControllerGetAllResponses, type GroupContactControllerGetOneData, type GroupContactControllerGetOneError, type GroupContactControllerGetOneErrors, type GroupContactControllerGetOneResponse, type GroupContactControllerGetOneResponses, type GroupContactControllerPostData, type GroupContactControllerPostError, type GroupContactControllerPostErrors, type GroupContactControllerPostResponse, type GroupContactControllerPostResponses, type GroupContactControllerPutData, type GroupContactControllerPutError, type GroupContactControllerPutErrors, type GroupContactControllerPutResponse, type GroupContactControllerPutResponses, type GroupContactControllerRemoveData, type GroupContactControllerRemoveResponse, type GroupContactControllerRemoveResponses, type GroupContactIdsNotMatchingError, type GroupContactNotFoundError, type GroupNameNeededError, type HandleLogout, type IllegalJwtError, type ImportControllerPostCsvData, type ImportControllerPostCsvError, type ImportControllerPostCsvErrors, type ImportControllerPostCsvResponse, type ImportControllerPostCsvResponses, type ImportControllerPostJsonData, type ImportControllerPostJsonError, type ImportControllerPostJsonErrors, type ImportControllerPostJsonResponse, type ImportControllerPostJsonResponses, type ImportControllerPostOrgsCsvData, type ImportControllerPostOrgsCsvError, type ImportControllerPostOrgsCsvErrors, type ImportControllerPostOrgsCsvResponse, type ImportControllerPostOrgsCsvResponses, type ImportControllerPostOrgsJsonData, type ImportControllerPostOrgsJsonError, type ImportControllerPostOrgsJsonErrors, type ImportControllerPostOrgsJsonResponse, type ImportControllerPostOrgsJsonResponses, type ImportControllerPostTeamsCsvData, type ImportControllerPostTeamsCsvError, type ImportControllerPostTeamsCsvErrors, type ImportControllerPostTeamsCsvResponse, type ImportControllerPostTeamsCsvResponses, type ImportControllerPostTeamsJsonData, type ImportControllerPostTeamsJsonError, type ImportControllerPostTeamsJsonErrors, type ImportControllerPostTeamsJsonResponse, type ImportControllerPostTeamsJsonResponses, type ImportRunner, type InvalidCredentialsError, type JwtNotProvidedError, type JwtUser, type Logout, type MailSendingError, type MeControllerGetData, type MeControllerGetError, type MeControllerGetErrors, type MeControllerGetPermissionsData, type MeControllerGetPermissionsError, type MeControllerGetPermissionsErrors, type MeControllerGetPermissionsResponse, type MeControllerGetPermissionsResponses, type MeControllerGetResponse, type MeControllerGetResponses, type MeControllerPutData, type MeControllerPutError, type MeControllerPutErrors, type MeControllerPutResponse, type MeControllerPutResponses, type MeControllerRemoveData, type MeControllerRemoveError, type MeControllerRemoveErrors, type MeControllerRemoveResponse, type MeControllerRemoveResponses, type NoPermissionError, type Options, type Participant, type PasswordMustContainLowercaseLetterError, type PasswordMustContainNumberError, type PasswordMustContainUppercaseLetterError, type PasswordNeededError, type PasswordTooShortError, type Permission, type PermissionControllerGetAllData, type PermissionControllerGetAllResponse, type PermissionControllerGetAllResponses, type PermissionControllerGetOneData, type PermissionControllerGetOneError, type PermissionControllerGetOneErrors, type PermissionControllerGetOneResponse, type PermissionControllerGetOneResponses, type PermissionControllerPostData, type PermissionControllerPostError, type PermissionControllerPostErrors, type PermissionControllerPostResponse, type PermissionControllerPostResponses, type PermissionControllerPutData, type PermissionControllerPutError, type PermissionControllerPutErrors, type PermissionControllerPutResponse, type PermissionControllerPutResponses, type PermissionControllerRemoveData, type PermissionControllerRemoveResponse, type PermissionControllerRemoveResponses, type PermissionIdsNotMatchingError, type PermissionNeedsPrincipalError, type PermissionNotFoundError, type Principal, type PrincipalNotFoundError, type PrincipalWrongTypeError, type RefreshAuth, type RefreshTokenCountInvalidError, type ResetAlreadyRequestedError, type ResetPassword, type ResponseAuth, type ResponseDistanceDonation, type ResponseDonation, type ResponseDonor, type ResponseEmpty, type ResponseGroupContact, type ResponseParticipant, type ResponsePermission, type ResponsePrincipal, type ResponseRunner, type ResponseRunnerCard, type ResponseRunnerGroup, type ResponseRunnerOrganization, type ResponseRunnerTeam, type ResponseScan, type ResponseScanStation, type ResponseSelfServiceDonation, type ResponseSelfServiceDonor, type ResponseSelfServiceOrganisation, type ResponseSelfServiceRunner, type ResponseSelfServiceScan, type ResponseSelfServiceTeam, type ResponseStats, type ResponseStatsClient, type ResponseStatsOrgnisation, type ResponseStatsRunner, type ResponseStatsTeam, type ResponseTrack, type ResponseTrackScan, type ResponseUser, type ResponseUserGroup, type ResponseUserGroupPermissions, type ResponseUserPermissions, type Runner, type RunnerCard, type RunnerCardControllerGetAllData, type RunnerCardControllerGetAllResponse, type RunnerCardControllerGetAllResponses, type RunnerCardControllerGetOneData, type RunnerCardControllerGetOneError, type RunnerCardControllerGetOneErrors, type RunnerCardControllerGetOneResponse, type RunnerCardControllerGetOneResponses, type RunnerCardControllerPostBlancoBulkData, type RunnerCardControllerPostBlancoBulkResponse, type RunnerCardControllerPostBlancoBulkResponses, type RunnerCardControllerPostData, type RunnerCardControllerPostError, type RunnerCardControllerPostErrors, type RunnerCardControllerPostResponse, type RunnerCardControllerPostResponses, type RunnerCardControllerPutData, type RunnerCardControllerPutError, type RunnerCardControllerPutErrors, type RunnerCardControllerPutResponse, type RunnerCardControllerPutResponses, type RunnerCardControllerRemoveData, type RunnerCardControllerRemoveError, type RunnerCardControllerRemoveErrors, type RunnerCardControllerRemoveResponse, type RunnerCardControllerRemoveResponses, type RunnerCardHasScansError, type RunnerCardIdOutOfRangeError, type RunnerCardIdsNotMatchingError, type RunnerCardNotFoundError, type RunnerControllerGetAllData, type RunnerControllerGetAllResponse, type RunnerControllerGetAllResponses, type RunnerControllerGetOneData, type RunnerControllerGetOneError, type RunnerControllerGetOneErrors, type RunnerControllerGetOneResponse, type RunnerControllerGetOneResponses, type RunnerControllerGetScansData, type RunnerControllerGetScansError, type RunnerControllerGetScansErrors, type RunnerControllerGetScansResponse, type RunnerControllerGetScansResponses, type RunnerControllerPostData, type RunnerControllerPostResponse, type RunnerControllerPostResponses, type RunnerControllerPutData, type RunnerControllerPutError, type RunnerControllerPutErrors, type RunnerControllerPutResponse, type RunnerControllerPutResponses, type RunnerControllerRemoveData, type RunnerControllerRemoveError, type RunnerControllerRemoveErrors, type RunnerControllerRemoveResponse, type RunnerControllerRemoveResponses, type RunnerEmailNeededError, type RunnerGroup, type RunnerGroupNeededError, type RunnerGroupNotFoundError, type RunnerHasDistanceDonationsError, type RunnerIdsNotMatchingError, type RunnerNotFoundError, type RunnerOrganization, type RunnerOrganizationControllerGetAllData, type RunnerOrganizationControllerGetAllResponse, type RunnerOrganizationControllerGetAllResponses, type RunnerOrganizationControllerGetOneData, type RunnerOrganizationControllerGetOneError, type RunnerOrganizationControllerGetOneErrors, type RunnerOrganizationControllerGetOneResponse, type RunnerOrganizationControllerGetOneResponses, type RunnerOrganizationControllerGetRunnersData, type RunnerOrganizationControllerGetRunnersError, type RunnerOrganizationControllerGetRunnersErrors, type RunnerOrganizationControllerGetRunnersResponse, type RunnerOrganizationControllerGetRunnersResponses, type RunnerOrganizationControllerPostData, type RunnerOrganizationControllerPostResponse, type RunnerOrganizationControllerPostResponses, type RunnerOrganizationControllerPutData, type RunnerOrganizationControllerPutError, type RunnerOrganizationControllerPutErrors, type RunnerOrganizationControllerPutResponse, type RunnerOrganizationControllerPutResponses, type RunnerOrganizationControllerRemoveData, type RunnerOrganizationControllerRemoveError, type RunnerOrganizationControllerRemoveErrors, type RunnerOrganizationControllerRemoveResponse, type RunnerOrganizationControllerRemoveResponses, type RunnerOrganizationHasRunnersError, type RunnerOrganizationHasTeamsError, type RunnerOrganizationIdsNotMatchingError, type RunnerOrganizationNotFoundError, type RunnerOrganizationWrongTypeError, type RunnerSelfServiceControllerGetData, type RunnerSelfServiceControllerGetError, type RunnerSelfServiceControllerGetErrors, type RunnerSelfServiceControllerGetResponse, type RunnerSelfServiceControllerGetResponses, type RunnerSelfServiceControllerGetScansData, type RunnerSelfServiceControllerGetScansError, type RunnerSelfServiceControllerGetScansErrors, type RunnerSelfServiceControllerGetScansResponse, type RunnerSelfServiceControllerGetScansResponses, type RunnerSelfServiceControllerGetSelfserviceOrgData, type RunnerSelfServiceControllerGetSelfserviceOrgError, type RunnerSelfServiceControllerGetSelfserviceOrgErrors, type RunnerSelfServiceControllerGetSelfserviceOrgResponse, type RunnerSelfServiceControllerGetSelfserviceOrgResponses, type RunnerSelfServiceControllerGetStationMeData, type RunnerSelfServiceControllerGetStationMeError, type RunnerSelfServiceControllerGetStationMeErrors, type RunnerSelfServiceControllerGetStationMeResponse, type RunnerSelfServiceControllerGetStationMeResponses, type RunnerSelfServiceControllerRegisterOrganizationRunnerData, type RunnerSelfServiceControllerRegisterOrganizationRunnerError, type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses, type RunnerSelfServiceControllerRegisterRunnerData, type RunnerSelfServiceControllerRegisterRunnerError, type RunnerSelfServiceControllerRegisterRunnerErrors, type RunnerSelfServiceControllerRegisterRunnerResponse, type RunnerSelfServiceControllerRegisterRunnerResponses, type RunnerSelfServiceControllerRemoveData, type RunnerSelfServiceControllerRemoveError, type RunnerSelfServiceControllerRemoveErrors, type RunnerSelfServiceControllerRemoveResponse, type RunnerSelfServiceControllerRemoveResponses, type RunnerSelfServiceControllerRequestNewTokenData, type RunnerSelfServiceControllerRequestNewTokenError, type RunnerSelfServiceControllerRequestNewTokenErrors, type RunnerSelfServiceControllerRequestNewTokenResponses, type RunnerSelfserviceTimeoutError, type RunnerTeam, type RunnerTeamControllerGetAllData, type RunnerTeamControllerGetAllResponse, type RunnerTeamControllerGetAllResponses, type RunnerTeamControllerGetOneData, type RunnerTeamControllerGetOneError, type RunnerTeamControllerGetOneErrors, type RunnerTeamControllerGetOneResponse, type RunnerTeamControllerGetOneResponses, type RunnerTeamControllerGetRunnersData, type RunnerTeamControllerGetRunnersError, type RunnerTeamControllerGetRunnersErrors, type RunnerTeamControllerGetRunnersResponse, type RunnerTeamControllerGetRunnersResponses, type RunnerTeamControllerPostData, type RunnerTeamControllerPostResponse, type RunnerTeamControllerPostResponses, type RunnerTeamControllerPutData, type RunnerTeamControllerPutError, type RunnerTeamControllerPutErrors, type RunnerTeamControllerPutResponse, type RunnerTeamControllerPutResponses, type RunnerTeamControllerRemoveData, type RunnerTeamControllerRemoveError, type RunnerTeamControllerRemoveErrors, type RunnerTeamControllerRemoveResponse, type RunnerTeamControllerRemoveResponses, type RunnerTeamHasRunnersError, type RunnerTeamIdsNotMatchingError, type RunnerTeamNeedsParentError, type RunnerTeamNotFoundError, type Scan, type ScanControllerGetAllData, type ScanControllerGetAllResponse, type ScanControllerGetAllResponses, type ScanControllerGetOneData, type ScanControllerGetOneError, type ScanControllerGetOneErrors, type ScanControllerGetOneResponse, type ScanControllerGetOneResponses, type ScanControllerPostData, type ScanControllerPostError, type ScanControllerPostErrors, type ScanControllerPostResponse, type ScanControllerPostResponses, type ScanControllerPostTrackScansData, type ScanControllerPostTrackScansError, type ScanControllerPostTrackScansErrors, type ScanControllerPostTrackScansResponse, type ScanControllerPostTrackScansResponses, type ScanControllerPutData, type ScanControllerPutError, type ScanControllerPutErrors, type ScanControllerPutResponse, type ScanControllerPutResponses, type ScanControllerPutTrackScanData, type ScanControllerPutTrackScanError, type ScanControllerPutTrackScanErrors, type ScanControllerPutTrackScanResponse, type ScanControllerPutTrackScanResponses, type ScanControllerRemoveData, type ScanControllerRemoveResponse, type ScanControllerRemoveResponses, type ScanIdsNotMatchingError, type ScanNotFoundError, type ScanStation, type ScanStationControllerGetAllData, type ScanStationControllerGetAllResponse, type ScanStationControllerGetAllResponses, type ScanStationControllerGetOneData, type ScanStationControllerGetOneError, type ScanStationControllerGetOneErrors, type ScanStationControllerGetOneResponse, type ScanStationControllerGetOneResponses, type ScanStationControllerPostData, type ScanStationControllerPostError, type ScanStationControllerPostErrors, type ScanStationControllerPostResponse, type ScanStationControllerPostResponses, type ScanStationControllerPutData, type ScanStationControllerPutError, type ScanStationControllerPutErrors, type ScanStationControllerPutResponse, type ScanStationControllerPutResponses, type ScanStationControllerRemoveData, type ScanStationControllerRemoveError, type ScanStationControllerRemoveErrors, type ScanStationControllerRemoveResponse, type ScanStationControllerRemoveResponses, type ScanStationHasScansError, type ScanStationIdsNotMatchingError, type ScanStationNotFoundError, type StatsClient, type StatsClientControllerGetAllData, type StatsClientControllerGetAllResponse, type StatsClientControllerGetAllResponses, type StatsClientControllerGetOneData, type StatsClientControllerGetOneError, type StatsClientControllerGetOneErrors, type StatsClientControllerGetOneResponse, type StatsClientControllerGetOneResponses, type StatsClientControllerPostData, type StatsClientControllerPostResponse, type StatsClientControllerPostResponses, type StatsClientControllerRemoveData, type StatsClientControllerRemoveResponse, type StatsClientControllerRemoveResponses, type StatsClientIdsNotMatchingError, type StatsClientNotFoundError, type StatsControllerGetData, type StatsControllerGetResponse, type StatsControllerGetResponses, type StatsControllerGetTopOrgsByDistanceData, type StatsControllerGetTopOrgsByDistanceResponse, type StatsControllerGetTopOrgsByDistanceResponses, type StatsControllerGetTopOrgsByDonationsData, type StatsControllerGetTopOrgsByDonationsResponse, type StatsControllerGetTopOrgsByDonationsResponses, type StatsControllerGetTopRunnersByDistanceData, type StatsControllerGetTopRunnersByDistanceResponse, type StatsControllerGetTopRunnersByDistanceResponses, type StatsControllerGetTopRunnersByDonationsData, type StatsControllerGetTopRunnersByDonationsResponse, type StatsControllerGetTopRunnersByDonationsResponses, type StatsControllerGetTopRunnersByLaptimeData, type StatsControllerGetTopRunnersByLaptimeResponse, type StatsControllerGetTopRunnersByLaptimeResponses, type StatsControllerGetTopRunnersByTrackTimeData, type StatsControllerGetTopRunnersByTrackTimeResponse, type StatsControllerGetTopRunnersByTrackTimeResponses, type StatsControllerGetTopTeamsByDistanceData, type StatsControllerGetTopTeamsByDistanceResponse, type StatsControllerGetTopTeamsByDistanceResponses, type StatsControllerGetTopTeamsByDonationsData, type StatsControllerGetTopTeamsByDonationsResponse, type StatsControllerGetTopTeamsByDonationsResponses, type StatusControllerGetData, type StatusControllerGetResponses, type StatusControllerGetVersionData, type StatusControllerGetVersionResponses, type Track, type TrackControllerGetAllData, type TrackControllerGetAllResponse, type TrackControllerGetAllResponses, type TrackControllerGetOneData, type TrackControllerGetOneError, type TrackControllerGetOneErrors, type TrackControllerGetOneResponse, type TrackControllerGetOneResponses, type TrackControllerPostData, type TrackControllerPostError, type TrackControllerPostErrors, type TrackControllerPostResponse, type TrackControllerPostResponses, type TrackControllerPutData, type TrackControllerPutError, type TrackControllerPutErrors, type TrackControllerPutResponse, type TrackControllerPutResponses, type TrackControllerRemoveData, type TrackControllerRemoveResponse, type TrackControllerRemoveResponses, type TrackHasScanStationsError, type TrackIdsNotMatchingError, type TrackLapTimeCantBeNegativeError, type TrackNotFoundError, type TrackScan, type UpdateDistanceDonation, type UpdateDonation, type UpdateDonor, type UpdateFixedDonation, type UpdateGroupContact, type UpdatePermission, type UpdateRunner, type UpdateRunnerCard, type UpdateRunnerOrganization, type UpdateRunnerTeam, type UpdateScan, type UpdateScanStation, type UpdateTrack, type UpdateTrackScan, type UpdateUser, type UpdateUserGroup, type User, type UserAction, type UserControllerGetAllData, type UserControllerGetAllResponse, type UserControllerGetAllResponses, type UserControllerGetOneData, type UserControllerGetOneError, type UserControllerGetOneErrors, type UserControllerGetOneResponse, type UserControllerGetOneResponses, type UserControllerGetPermissionsData, type UserControllerGetPermissionsError, type UserControllerGetPermissionsErrors, type UserControllerGetPermissionsResponse, type UserControllerGetPermissionsResponses, type UserControllerPostData, type UserControllerPostError, type UserControllerPostErrors, type UserControllerPostResponse, type UserControllerPostResponses, type UserControllerPutData, type UserControllerPutError, type UserControllerPutErrors, type UserControllerPutResponse, type UserControllerPutResponses, type UserControllerRemoveData, type UserControllerRemoveError, type UserControllerRemoveErrors, type UserControllerRemoveResponse, type UserControllerRemoveResponses, type UserDeletionNotConfirmedError, type UserDisabledError, type UserEmailNeededError, type UserGroup, type UserGroupControllerGetAllData, type UserGroupControllerGetAllResponse, type UserGroupControllerGetAllResponses, type UserGroupControllerGetOneData, type UserGroupControllerGetOneError, type UserGroupControllerGetOneErrors, type UserGroupControllerGetOneResponse, type UserGroupControllerGetOneResponses, type UserGroupControllerGetPermissionsData, type UserGroupControllerGetPermissionsError, type UserGroupControllerGetPermissionsErrors, type UserGroupControllerGetPermissionsResponse, type UserGroupControllerGetPermissionsResponses, type UserGroupControllerPostData, type UserGroupControllerPostResponse, type UserGroupControllerPostResponses, type UserGroupControllerPutData, type UserGroupControllerPutError, type UserGroupControllerPutErrors, type UserGroupControllerPutResponse, type UserGroupControllerPutResponses, type UserGroupControllerRemoveData, type UserGroupControllerRemoveResponse, type UserGroupControllerRemoveResponses, type UserGroupIdsNotMatchingError, type UserGroupNotFoundError, type UserIdsNotMatchingError, type UserNonexistantOrRefreshtokenInvalidError, type UserNotFoundError, type UserNotFoundOrRefreshTokenCountInvalidError, type UsernameContainsIllegalCharacterError, type UsernameOrEmailNeededError, authControllerGetResetToken, authControllerLogin, authControllerLogout, authControllerRefresh, authControllerResetPassword, donationControllerGetAll, donationControllerGetOne, donationControllerPostDistance, donationControllerPostFixed, donationControllerPutDistance, donationControllerPutFixed, donationControllerRemove, donorControllerGetAll, donorControllerGetOne, donorControllerPost, donorControllerPut, donorControllerRemove, groupContactControllerGetAll, groupContactControllerGetOne, groupContactControllerPost, groupContactControllerPut, groupContactControllerRemove, importControllerPostCsv, importControllerPostJson, importControllerPostOrgsCsv, importControllerPostOrgsJson, importControllerPostTeamsCsv, importControllerPostTeamsJson, meControllerGet, meControllerGetPermissions, meControllerPut, meControllerRemove, permissionControllerGetAll, permissionControllerGetOne, permissionControllerPost, permissionControllerPut, permissionControllerRemove, runnerCardControllerGetAll, runnerCardControllerGetOne, runnerCardControllerPost, runnerCardControllerPostBlancoBulk, runnerCardControllerPut, runnerCardControllerRemove, runnerControllerGetAll, runnerControllerGetOne, runnerControllerGetScans, runnerControllerPost, runnerControllerPut, runnerControllerRemove, runnerOrganizationControllerGetAll, runnerOrganizationControllerGetOne, runnerOrganizationControllerGetRunners, runnerOrganizationControllerPost, runnerOrganizationControllerPut, runnerOrganizationControllerRemove, runnerSelfServiceControllerGet, runnerSelfServiceControllerGetScans, runnerSelfServiceControllerGetSelfserviceOrg, runnerSelfServiceControllerGetStationMe, runnerSelfServiceControllerRegisterOrganizationRunner, runnerSelfServiceControllerRegisterRunner, runnerSelfServiceControllerRemove, runnerSelfServiceControllerRequestNewToken, runnerTeamControllerGetAll, runnerTeamControllerGetOne, runnerTeamControllerGetRunners, runnerTeamControllerPost, runnerTeamControllerPut, runnerTeamControllerRemove, scanControllerGetAll, scanControllerGetOne, scanControllerPost, scanControllerPostTrackScans, scanControllerPut, scanControllerPutTrackScan, scanControllerRemove, scanStationControllerGetAll, scanStationControllerGetOne, scanStationControllerPost, scanStationControllerPut, scanStationControllerRemove, statsClientControllerGetAll, statsClientControllerGetOne, statsClientControllerPost, statsClientControllerRemove, statsControllerGet, statsControllerGetTopOrgsByDistance, statsControllerGetTopOrgsByDonations, statsControllerGetTopRunnersByDistance, statsControllerGetTopRunnersByDonations, statsControllerGetTopRunnersByLaptime, statsControllerGetTopRunnersByTrackTime, statsControllerGetTopTeamsByDistance, statsControllerGetTopTeamsByDonations, statusControllerGet, statusControllerGetVersion, trackControllerGetAll, trackControllerGetOne, trackControllerPost, trackControllerPut, trackControllerRemove, userControllerGetAll, userControllerGetOne, userControllerGetPermissions, userControllerPost, userControllerPut, userControllerRemove, userGroupControllerGetAll, userGroupControllerGetOne, userGroupControllerGetPermissions, userGroupControllerPost, userGroupControllerPut, userGroupControllerRemove }; diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..d006430 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,3428 @@ +import * as _hey_api_client_fetch from '@hey-api/client-fetch'; +import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch'; + +type ConfigFlag = { + option: string; + value: string; +}; +type AddressPostalCodeInvalidError = { + name: string; + message: string; +}; +type AddressFirstLineEmptyError = { + name: string; + message: string; +}; +type AddressPostalCodeEmptyError = { + name: string; + message: string; +}; +type AddressCityEmptyError = { + name: string; + message: string; +}; +type AddressCountryEmptyError = { + name: string; + message: string; +}; +type Address = { + address1: string; + address2: string; + postalcode: string; + city: string; + country: string; +}; +type ResponseGroupContact = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + groups: { + [key: string]: unknown; + }; + address: { + [key: string]: unknown; + }; +}; +type ResponseRunnerGroup = { + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type ResponseRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + teams: Array; + registrationKey?: string; + registrationEnabled?: boolean; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type GroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type ResponseParticipant = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseRunner = { + distance: number; + group: { + [key: string]: unknown; + }; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseDonation = { + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type ResponseDistanceDonation = { + runner: { + [key: string]: unknown; + }; + amountPerDistance: number; + id: number; + donor: string; + amount: number; + paidAmount: number; +}; +type Participant = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type Donation = { + id: number; + donor: string; + paidAmount: number; +}; +type DistanceDonation = { + runner: string; + amountPerDistance: number; + id: number; + donor: string; + paidAmount: number; +}; +type RunnerCardNotFoundError = { + name: string; + message: string; +}; +type RunnerCardIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerCardHasScansError = { + name: string; + message: string; +}; +type RunnerCardIdOutOfRangeError = { + name: string; + message: string; +}; +type ResponseRunnerCard = { + id: number; + runner: { + [key: string]: unknown; + }; + code: string; + enabled: boolean; +}; +type ResponseScan = { + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type TrackNotFoundError = { + name: string; + message: string; +}; +type TrackIdsNotMatchingError = { + name: string; + message: string; +}; +type TrackLapTimeCantBeNegativeError = { + name: string; + message: string; +}; +type TrackHasScanStationsError = { + name: string; + message: string; +}; +type ResponseTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ResponseScanStation = { + id: number; + description?: string; + key?: string; + prefix: string; + track: { + [key: string]: unknown; + }; + enabled: boolean; +}; +type ResponseTrackScan = { + track: string; + card: string; + station: string; + timestamp: string; + lapTime: number; + id: number; + runner: string; + valid: boolean; + distance: number; +}; +type Scan = { + id: number; + runner: string; + valid: boolean; + _distance: number; + distance: number; +}; +type Track = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type ScanStation = { + id: number; + description?: string; + track: string; + prefix: string; + key: string; + cleartextkey?: string; + enabled: boolean; +}; +type TrackScan = { + track: string; + card: string; + station: string; + distance: number; + timestamp: number; + lapTime: number; + id: number; + runner: string; + valid: boolean; + _distance: number; +}; +type RunnerCard = { + id: number; + runner?: unknown; + enabled: boolean; +}; +type Runner = { + group: string; + resetRequestedTimestamp?: string; + distance: number; + distanceDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; +type RunnerGroup = { + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type ResponseRunnerTeam = { + parentGroup: { + [key: string]: unknown; + }; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; +type RunnerTeam = { + parentGroup: string; + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; +type RunnerOrganization = { + address?: unknown; + key?: string; + distance: number; + distanceDonationAmount: number; + id: number; + name: string; + contact?: unknown; +}; +type GroupContactNotFoundError = { + name: string; + message: string; +}; +type GroupContactIdsNotMatchingError = { + name: string; + message: string; +}; +type CreateRunnerGroup = { + name: string; + contact?: number; +}; +type CreateRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type RunnerGroupNotFoundError = { + name: string; + message: string; +}; +type CreateGroupContact = { + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type RunnerOrganizationNotFoundError = { + name: string; + message: string; +}; +type RunnerOrganizationIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerOrganizationHasRunnersError = { + name: string; + message: string; +}; +type RunnerOrganizationHasTeamsError = { + name: string; + message: string; +}; +type RunnerOrganizationWrongTypeError = { + name: string; + message: string; +}; +type RunnerTeamNotFoundError = { + name: string; + message: string; +}; +type RunnerTeamIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerTeamHasRunnersError = { + name: string; + message: string; +}; +type RunnerTeamNeedsParentError = { + name: string; + message: string; +}; +type CreateParticipant = { + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunner = { + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerTeam = { + parentGroup: number; + name: string; + contact?: number; +}; +type PrincipalNotFoundError = { + name: string; + message: string; +}; +type PrincipalWrongTypeError = { + name: string; + message: string; +}; +type ResponsePrincipal = { + id: number; +}; +type ResponsePermission = { + id: number; + principal: { + [key: string]: unknown; + }; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type Principal = { + id: number; +}; +type Permission = { + id: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type CreatePermission = { + principal: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; +type ResponseUserGroup = { + name: string; + description?: string; + permissions?: Array; + id: number; +}; +type UserGroup = { + name: string; + description?: string; + id: number; +}; +type CreateUserGroup = { + name: string; + description?: string; +}; +type ResponseUser = { + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + username: string; + enabled: boolean; + profilePic: string; + groups?: Array; + permissions?: Array; + id: number; +}; +type UserAction = { + id: number; + target: string; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; + changed?: string; +}; +type User = { + uuid: string; + email: string; + phone?: string; + username: string; + firstname: string; + middlename?: string; + lastname: string; + password: string; + groups?: unknown; + enabled: boolean; + refreshTokenCount: number; + profilePic: string; + resetRequestedTimestamp?: string; + actions?: unknown; + id: number; +}; +type IllegalJwtError = { + name: string; + message: string; +}; +type UserNonexistantOrRefreshtokenInvalidError = { + name: string; + message: string; +}; +type InvalidCredentialsError = { + name: string; + message: string; +}; +type NoPermissionError = { + name: string; + message: string; +}; +type UsernameOrEmailNeededError = { + name: string; + message: string; +}; +type PasswordNeededError = { + name: string; + message: string; +}; +type UserNotFoundError = { + name: string; + message: string; +}; +type JwtNotProvidedError = { + name: string; + message: string; +}; +type UserNotFoundOrRefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type RefreshTokenCountInvalidError = { + name: string; + message: string; +}; +type ResetAlreadyRequestedError = { + name: string; + message: string; +}; +type UserDisabledError = { + name: string; + message: string; +}; +type JwtUser = { + id: number; + uuid: string; + email?: string; + username?: string; + firstname: string; + middlename?: string; + lastname: string; + enabled: boolean; + refreshTokenCount: number; + profilePic?: string; +}; +type MailSendingError = { + name: string; + message: string; +}; +type UsernameContainsIllegalCharacterError = { + name: string; + message: string; +}; +type UserEmailNeededError = { + name: string; + message: string; +}; +type UserIdsNotMatchingError = { + name: string; + message: string; +}; +type UserDeletionNotConfirmedError = { + name: string; + message: string; +}; +type PasswordMustContainUppercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainLowercaseLetterError = { + name: string; + message: string; +}; +type PasswordMustContainNumberError = { + name: string; + message: string; +}; +type PasswordTooShortError = { + name: string; + message: string; +}; +type ResponseAuth = { + access_token: string; + refresh_token: string; + access_token_expires_at: number; + refresh_token_expires_at: number; +}; +type CreateAuth = { + username?: string; + email?: string; + password: string; +}; +type CreateResetToken = { + email: string; +}; +type Logout = { + timestamp: string; +}; +type HandleLogout = { + token?: string; +}; +type RefreshAuth = { + token?: string; +}; +type ResetPassword = { + resetToken?: string; + password: string; +}; +type ResponseEmpty = { + response: string; +}; +type DonationNotFoundError = { + name: string; + message: string; +}; +type DonationIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorNotFoundError = { + name: string; + message: string; +}; +type DonorIdsNotMatchingError = { + name: string; + message: string; +}; +type DonorReceiptAddressNeededError = { + name: string; + message: string; +}; +type DonorHasDonationsError = { + name: string; + message: string; +}; +type RunnerNotFoundError = { + name: string; + message: string; +}; +type RunnerIdsNotMatchingError = { + name: string; + message: string; +}; +type RunnerGroupNeededError = { + name: string; + message: string; +}; +type RunnerEmailNeededError = { + name: string; + message: string; +}; +type RunnerSelfserviceTimeoutError = { + name: string; + message: string; +}; +type RunnerHasDistanceDonationsError = { + name: string; + message: string; +}; +type CreateDonation = { + donor: number; + paidAmount?: number; +}; +type CreateDistanceDonation = { + runner: number; + amountPerDistance: number; + donor: number; + paidAmount?: number; +}; +type FixedDonation = { + _amount: number; + amount: number; + id: number; + donor: string; + paidAmount: number; +}; +type CreateFixedDonation = { + amount: number; + donor: number; + paidAmount?: number; +}; +type UpdateDonation = { + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateDistanceDonation = { + runner: number; + amountPerDistance: number; + id: number; + donor: number; + paidAmount?: number; +}; +type UpdateFixedDonation = { + amount: number; + id: number; + donor: number; + paidAmount?: number; +}; +type CreateDonor = { + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateDonor = { + id: number; + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type UpdateGroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; +type ImportRunner = { + firstname: string; + middlename?: string; + lastname: string; + team?: string; + class?: string; +}; +type UpdateRunner = { + id: number; + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateRunnerCard = { + runner?: number; + enabled: boolean; +}; +type UpdateRunnerCard = { + id: number; + runner?: number; + enabled: boolean; +}; +type ScanNotFoundError = { + name: string; + message: string; +}; +type ScanIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationNotFoundError = { + name: string; + message: string; +}; +type ScanStationIdsNotMatchingError = { + name: string; + message: string; +}; +type ScanStationHasScansError = { + name: string; + message: string; +}; +type CreateScan = { + runner: number; + valid?: boolean; + distance: number; +}; +type CreateTrackScan = { + card: number; + station?: number; +}; +type UpdateScan = { + id: number; + runner: number; + valid?: boolean; + distance: number; +}; +type UpdateTrackScan = { + id: number; + runner: number; + valid?: boolean; + track: number; +}; +type GroupNameNeededError = { + name: string; + message: string; +}; +type UserGroupNotFoundError = { + name: string; + message: string; +}; +type UserGroupIdsNotMatchingError = { + name: string; + message: string; +}; +type UpdateUser = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password?: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type ResponseUserPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type PermissionNotFoundError = { + name: string; + message: string; +}; +type PermissionIdsNotMatchingError = { + name: string; + message: string; +}; +type PermissionNeedsPrincipalError = { + name: string; + message: string; +}; +type UpdatePermission = { + id: number; + principal: number; + target: string; + action: string; +}; +type UpdateRunnerOrganization = { + id: number; + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; +type UpdateRunnerTeam = { + id: number; + parentGroup: number; + name: string; + contact?: number; +}; +type CreateSelfServiceCitizenRunner = { + email?: string; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + address?: { + [key: string]: unknown; + }; +}; +type CreateSelfServiceRunner = { + team?: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceTeam = { + name: string; + id: number; +}; +type ResponseSelfServiceOrganisation = { + name: string; + teams: Array; +}; +type ResponseSelfServiceDonor = { + id: number; + firstname: string; + middlename: string; + lastname: string; +}; +type ResponseSelfServiceDonation = { + donor: string; + amount: number; + amountPerDistance: number; +}; +type ResponseSelfServiceRunner = { + distance: number; + donationAmount: number; + group: string; + distanceDonations: string; + token?: string; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; +type ResponseSelfServiceScan = { + id: number; + valid: boolean; + distance: number; + lapTime: number; +}; +type CreateScanStation = { + description?: string; + track: number; + enabled?: boolean; +}; +type UpdateScanStation = { + id: number; + description?: string; + enabled?: boolean; +}; +type StatsClientNotFoundError = { + name: string; + message: string; +}; +type StatsClientIdsNotMatchingError = { + name: string; + message: string; +}; +type ResponseStatsClient = { + id: number; + description?: string; + key?: string; + prefix: string; +}; +type StatsClient = { + id: number; + description?: string; + prefix: string; + key: string; + cleartextkey?: string; +}; +type CreateStatsClient = { + description?: string; +}; +type ResponseStats = { + total_runners: number; + total_teams: number; + total_orgs: number; + total_users: number; + total_scans: number; + total_distance: number; + total_donation: number; + total_donations: number; + total_donors: number; + average_distance: number; + average_donation: number; +}; +type ResponseStatsOrgnisation = { + id: number; + name: string; + distance: number; + donationAmount: number; +}; +type ResponseStatsRunner = { + id: number; + firstname: string; + middlename: string; + lastname: string; + distance: number; + donationAmount: number; + minLaptime?: number; + group: { + [key: string]: unknown; + }; +}; +type ResponseStatsTeam = { + id: number; + name: string; + distance: number; + donationAmount: number; + parent: { + [key: string]: unknown; + }; +}; +type CreateTrack = { + name: string; + distance: number; + minimumLapTime?: number; +}; +type UpdateTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; +type CreateUser = { + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; +type UpdateUserGroup = { + id: number; + name: string; + description?: string; +}; +type ResponseUserGroupPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; +type AuthControllerLoginData = { + /** + * CreateAuth + */ + body?: CreateAuth; + path?: never; + query?: never; + url: '/api/auth/login'; +}; +type AuthControllerLoginResponses = { + 200: ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLoginResponse = AuthControllerLoginResponses[keyof AuthControllerLoginResponses]; +type AuthControllerLogoutData = { + /** + * HandleLogout + */ + body?: HandleLogout; + path?: never; + query?: never; + url: '/api/auth/logout'; +}; +type AuthControllerLogoutResponses = { + 200: Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; +type AuthControllerLogoutResponse = AuthControllerLogoutResponses[keyof AuthControllerLogoutResponses]; +type AuthControllerRefreshData = { + /** + * RefreshAuth + */ + body?: RefreshAuth; + path?: never; + query?: never; + url: '/api/auth/refresh'; +}; +type AuthControllerRefreshResponses = { + 200: ResponseAuth | JwtNotProvidedError | IllegalJwtError | UserNotFoundError | RefreshTokenCountInvalidError; +}; +type AuthControllerRefreshResponse = AuthControllerRefreshResponses[keyof AuthControllerRefreshResponses]; +type AuthControllerGetResetTokenData = { + /** + * CreateResetToken + */ + body?: CreateResetToken; + path?: never; + query?: { + locale?: string; + }; + url: '/api/auth/reset'; +}; +type AuthControllerGetResetTokenErrors = { + 404: UserNotFoundError; + 406: UsernameOrEmailNeededError; + 500: MailSendingError; +}; +type AuthControllerGetResetTokenError = AuthControllerGetResetTokenErrors[keyof AuthControllerGetResetTokenErrors]; +type AuthControllerGetResetTokenResponses = { + 200: ResponseEmpty; +}; +type AuthControllerGetResetTokenResponse = AuthControllerGetResetTokenResponses[keyof AuthControllerGetResetTokenResponses]; +type AuthControllerResetPasswordData = { + /** + * ResetPassword + */ + body?: ResetPassword; + path: { + token: string; + }; + query?: never; + url: '/api/auth/reset/{token}'; +}; +type AuthControllerResetPasswordResponses = { + 200: ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError; +}; +type AuthControllerResetPasswordResponse = AuthControllerResetPasswordResponses[keyof AuthControllerResetPasswordResponses]; +type DonationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donations'; +}; +type DonationControllerGetAllResponses = { + 200: Array | Array; +}; +type DonationControllerGetAllResponse = DonationControllerGetAllResponses[keyof DonationControllerGetAllResponses]; +type DonationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donations/{id}'; +}; +type DonationControllerRemoveResponses = { + 200: ResponseDonation | ResponseDistanceDonation; + 204: ResponseEmpty; +}; +type DonationControllerRemoveResponse = DonationControllerRemoveResponses[keyof DonationControllerRemoveResponses]; +type DonationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donations/{id}'; +}; +type DonationControllerGetOneErrors = { + 404: DonationNotFoundError; +}; +type DonationControllerGetOneError = DonationControllerGetOneErrors[keyof DonationControllerGetOneErrors]; +type DonationControllerGetOneResponses = { + 200: ResponseDonation | ResponseDistanceDonation; +}; +type DonationControllerGetOneResponse = DonationControllerGetOneResponses[keyof DonationControllerGetOneResponses]; +type DonationControllerPostFixedData = { + /** + * CreateFixedDonation + */ + body?: CreateFixedDonation; + path?: never; + query?: never; + url: '/api/donations/fixed'; +}; +type DonationControllerPostFixedErrors = { + 404: DonorNotFoundError; +}; +type DonationControllerPostFixedError = DonationControllerPostFixedErrors[keyof DonationControllerPostFixedErrors]; +type DonationControllerPostFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPostFixedResponse = DonationControllerPostFixedResponses[keyof DonationControllerPostFixedResponses]; +type DonationControllerPostDistanceData = { + /** + * CreateDistanceDonation + */ + body?: CreateDistanceDonation; + path?: never; + query?: never; + url: '/api/donations/distance'; +}; +type DonationControllerPostDistanceErrors = { + 404: DonorNotFoundError | RunnerNotFoundError; +}; +type DonationControllerPostDistanceError = DonationControllerPostDistanceErrors[keyof DonationControllerPostDistanceErrors]; +type DonationControllerPostDistanceResponses = { + 200: ResponseDistanceDonation; +}; +type DonationControllerPostDistanceResponse = DonationControllerPostDistanceResponses[keyof DonationControllerPostDistanceResponses]; +type DonationControllerPutFixedData = { + /** + * UpdateFixedDonation + */ + body?: UpdateFixedDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/fixed/{id}'; +}; +type DonationControllerPutFixedErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutFixedError = DonationControllerPutFixedErrors[keyof DonationControllerPutFixedErrors]; +type DonationControllerPutFixedResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutFixedResponse = DonationControllerPutFixedResponses[keyof DonationControllerPutFixedResponses]; +type DonationControllerPutDistanceData = { + /** + * UpdateDistanceDonation + */ + body?: UpdateDistanceDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/distance/{id}'; +}; +type DonationControllerPutDistanceErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; +type DonationControllerPutDistanceError = DonationControllerPutDistanceErrors[keyof DonationControllerPutDistanceErrors]; +type DonationControllerPutDistanceResponses = { + 200: ResponseDonation; +}; +type DonationControllerPutDistanceResponse = DonationControllerPutDistanceResponses[keyof DonationControllerPutDistanceResponses]; +type DonorControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donors'; +}; +type DonorControllerGetAllResponses = { + 200: Array; +}; +type DonorControllerGetAllResponse = DonorControllerGetAllResponses[keyof DonorControllerGetAllResponses]; +type DonorControllerPostData = { + /** + * CreateDonor + */ + body?: CreateDonor; + path?: never; + query?: never; + url: '/api/donors'; +}; +type DonorControllerPostResponses = { + 200: ResponseDonor; +}; +type DonorControllerPostResponse = DonorControllerPostResponses[keyof DonorControllerPostResponses]; +type DonorControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donors/{id}'; +}; +type DonorControllerRemoveResponses = { + 200: ResponseDonor; + 204: ResponseEmpty; +}; +type DonorControllerRemoveResponse = DonorControllerRemoveResponses[keyof DonorControllerRemoveResponses]; +type DonorControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerGetOneErrors = { + 404: DonorNotFoundError; +}; +type DonorControllerGetOneError = DonorControllerGetOneErrors[keyof DonorControllerGetOneErrors]; +type DonorControllerGetOneResponses = { + 200: ResponseDonor; +}; +type DonorControllerGetOneResponse = DonorControllerGetOneResponses[keyof DonorControllerGetOneResponses]; +type DonorControllerPutData = { + /** + * UpdateDonor + */ + body?: UpdateDonor; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; +type DonorControllerPutErrors = { + 404: DonorNotFoundError; + 406: DonorIdsNotMatchingError; +}; +type DonorControllerPutError = DonorControllerPutErrors[keyof DonorControllerPutErrors]; +type DonorControllerPutResponses = { + 200: ResponseDonor; +}; +type DonorControllerPutResponse = DonorControllerPutResponses[keyof DonorControllerPutResponses]; +type GroupContactControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/contacts'; +}; +type GroupContactControllerGetAllResponses = { + 200: Array; +}; +type GroupContactControllerGetAllResponse = GroupContactControllerGetAllResponses[keyof GroupContactControllerGetAllResponses]; +type GroupContactControllerPostData = { + /** + * CreateGroupContact + */ + body?: CreateGroupContact; + path?: never; + query?: never; + url: '/api/contacts'; +}; +type GroupContactControllerPostErrors = { + 404: RunnerGroupNotFoundError; +}; +type GroupContactControllerPostError = GroupContactControllerPostErrors[keyof GroupContactControllerPostErrors]; +type GroupContactControllerPostResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPostResponse = GroupContactControllerPostResponses[keyof GroupContactControllerPostResponses]; +type GroupContactControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerRemoveResponses = { + 200: ResponseGroupContact; + 204: ResponseEmpty; +}; +type GroupContactControllerRemoveResponse = GroupContactControllerRemoveResponses[keyof GroupContactControllerRemoveResponses]; +type GroupContactControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerGetOneErrors = { + 404: GroupContactNotFoundError; +}; +type GroupContactControllerGetOneError = GroupContactControllerGetOneErrors[keyof GroupContactControllerGetOneErrors]; +type GroupContactControllerGetOneResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerGetOneResponse = GroupContactControllerGetOneResponses[keyof GroupContactControllerGetOneResponses]; +type GroupContactControllerPutData = { + /** + * UpdateGroupContact + */ + body?: UpdateGroupContact; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; +type GroupContactControllerPutErrors = { + 404: GroupContactNotFoundError | RunnerGroupNotFoundError; + 406: GroupContactIdsNotMatchingError; +}; +type GroupContactControllerPutError = GroupContactControllerPutErrors[keyof GroupContactControllerPutErrors]; +type GroupContactControllerPutResponses = { + 200: ResponseGroupContact; +}; +type GroupContactControllerPutResponse = GroupContactControllerPutResponses[keyof GroupContactControllerPutResponses]; +type ScanControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/scans'; +}; +type ScanControllerGetAllResponses = { + 200: Array | Array; +}; +type ScanControllerGetAllResponse = ScanControllerGetAllResponses[keyof ScanControllerGetAllResponses]; +type ScanControllerPostData = { + /** + * CreateScan + */ + body?: CreateScan; + path?: never; + query?: never; + url: '/api/scans'; +}; +type ScanControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostError = ScanControllerPostErrors[keyof ScanControllerPostErrors]; +type ScanControllerPostResponses = { + 200: ResponseScan; +}; +type ScanControllerPostResponse = ScanControllerPostResponses[keyof ScanControllerPostResponses]; +type ScanControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/scans/{id}'; +}; +type ScanControllerRemoveResponses = { + 200: ResponseScan; + 204: ResponseEmpty; +}; +type ScanControllerRemoveResponse = ScanControllerRemoveResponses[keyof ScanControllerRemoveResponses]; +type ScanControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerGetOneErrors = { + 404: ScanNotFoundError; +}; +type ScanControllerGetOneError = ScanControllerGetOneErrors[keyof ScanControllerGetOneErrors]; +type ScanControllerGetOneResponses = { + 200: ResponseScan | ResponseTrackScan; +}; +type ScanControllerGetOneResponse = ScanControllerGetOneResponses[keyof ScanControllerGetOneResponses]; +type ScanControllerPutData = { + /** + * UpdateScan + */ + body?: UpdateScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; +type ScanControllerPutErrors = { + 404: ScanNotFoundError | RunnerNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutError = ScanControllerPutErrors[keyof ScanControllerPutErrors]; +type ScanControllerPutResponses = { + 200: ResponseScan; +}; +type ScanControllerPutResponse = ScanControllerPutResponses[keyof ScanControllerPutResponses]; +type ScanControllerPostTrackScansData = { + /** + * CreateTrackScan + */ + body?: CreateTrackScan; + path?: never; + query?: never; + url: '/api/scans/trackscans'; +}; +type ScanControllerPostTrackScansErrors = { + 404: RunnerNotFoundError; +}; +type ScanControllerPostTrackScansError = ScanControllerPostTrackScansErrors[keyof ScanControllerPostTrackScansErrors]; +type ScanControllerPostTrackScansResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPostTrackScansResponse = ScanControllerPostTrackScansResponses[keyof ScanControllerPostTrackScansResponses]; +type ScanControllerPutTrackScanData = { + /** + * UpdateTrackScan + */ + body?: UpdateTrackScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/trackscans/{id}'; +}; +type ScanControllerPutTrackScanErrors = { + 404: ScanNotFoundError | RunnerNotFoundError | ScanStationNotFoundError; + 406: ScanIdsNotMatchingError; +}; +type ScanControllerPutTrackScanError = ScanControllerPutTrackScanErrors[keyof ScanControllerPutTrackScanErrors]; +type ScanControllerPutTrackScanResponses = { + 200: ResponseTrackScan; +}; +type ScanControllerPutTrackScanResponse = ScanControllerPutTrackScanResponses[keyof ScanControllerPutTrackScanResponses]; +type RunnerCardControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/cards'; +}; +type RunnerCardControllerGetAllResponses = { + 200: Array; +}; +type RunnerCardControllerGetAllResponse = RunnerCardControllerGetAllResponses[keyof RunnerCardControllerGetAllResponses]; +type RunnerCardControllerPostData = { + /** + * CreateRunnerCard + */ + body?: CreateRunnerCard; + path?: never; + query?: never; + url: '/api/cards'; +}; +type RunnerCardControllerPostErrors = { + 404: RunnerNotFoundError; +}; +type RunnerCardControllerPostError = RunnerCardControllerPostErrors[keyof RunnerCardControllerPostErrors]; +type RunnerCardControllerPostResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPostResponse = RunnerCardControllerPostResponses[keyof RunnerCardControllerPostResponses]; +type RunnerCardControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerRemoveErrors = { + 406: RunnerCardHasScansError; +}; +type RunnerCardControllerRemoveError = RunnerCardControllerRemoveErrors[keyof RunnerCardControllerRemoveErrors]; +type RunnerCardControllerRemoveResponses = { + 200: ResponseRunnerCard; + 204: ResponseEmpty; +}; +type RunnerCardControllerRemoveResponse = RunnerCardControllerRemoveResponses[keyof RunnerCardControllerRemoveResponses]; +type RunnerCardControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerGetOneErrors = { + 404: RunnerCardNotFoundError; +}; +type RunnerCardControllerGetOneError = RunnerCardControllerGetOneErrors[keyof RunnerCardControllerGetOneErrors]; +type RunnerCardControllerGetOneResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerGetOneResponse = RunnerCardControllerGetOneResponses[keyof RunnerCardControllerGetOneResponses]; +type RunnerCardControllerPutData = { + /** + * UpdateRunnerCard + */ + body?: UpdateRunnerCard; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; +type RunnerCardControllerPutErrors = { + 404: RunnerCardNotFoundError | RunnerNotFoundError; + 406: RunnerCardIdsNotMatchingError; +}; +type RunnerCardControllerPutError = RunnerCardControllerPutErrors[keyof RunnerCardControllerPutErrors]; +type RunnerCardControllerPutResponses = { + 200: ResponseRunnerCard; +}; +type RunnerCardControllerPutResponse = RunnerCardControllerPutResponses[keyof RunnerCardControllerPutResponses]; +type RunnerCardControllerPostBlancoBulkData = { + body?: never; + path?: never; + query?: { + count?: number; + returnCards?: boolean; + }; + url: '/api/cards/bulk'; +}; +type RunnerCardControllerPostBlancoBulkResponses = { + 200: ResponseEmpty; +}; +type RunnerCardControllerPostBlancoBulkResponse = RunnerCardControllerPostBlancoBulkResponses[keyof RunnerCardControllerPostBlancoBulkResponses]; +type RunnerControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/runners'; +}; +type RunnerControllerGetAllResponses = { + 200: Array; +}; +type RunnerControllerGetAllResponse = RunnerControllerGetAllResponses[keyof RunnerControllerGetAllResponses]; +type RunnerControllerPostData = { + /** + * CreateRunner + */ + body?: CreateRunner; + path?: never; + query?: never; + url: '/api/runners'; +}; +type RunnerControllerPostResponses = { + 200: ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError; +}; +type RunnerControllerPostResponse = RunnerControllerPostResponses[keyof RunnerControllerPostResponses]; +type RunnerControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/{id}'; +}; +type RunnerControllerRemoveErrors = { + 406: RunnerHasDistanceDonationsError; +}; +type RunnerControllerRemoveError = RunnerControllerRemoveErrors[keyof RunnerControllerRemoveErrors]; +type RunnerControllerRemoveResponses = { + 200: ResponseRunner; + 204: ResponseEmpty; +}; +type RunnerControllerRemoveResponse = RunnerControllerRemoveResponses[keyof RunnerControllerRemoveResponses]; +type RunnerControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerGetOneErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetOneError = RunnerControllerGetOneErrors[keyof RunnerControllerGetOneErrors]; +type RunnerControllerGetOneResponses = { + 200: ResponseRunner; +}; +type RunnerControllerGetOneResponse = RunnerControllerGetOneResponses[keyof RunnerControllerGetOneResponses]; +type RunnerControllerPutData = { + /** + * UpdateRunner + */ + body?: UpdateRunner; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; +type RunnerControllerPutErrors = { + 404: RunnerNotFoundError; + 406: RunnerIdsNotMatchingError; +}; +type RunnerControllerPutError = RunnerControllerPutErrors[keyof RunnerControllerPutErrors]; +type RunnerControllerPutResponses = { + 200: ResponseRunner; +}; +type RunnerControllerPutResponse = RunnerControllerPutResponses[keyof RunnerControllerPutResponses]; +type RunnerControllerGetScansData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}/scans'; +}; +type RunnerControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerControllerGetScansError = RunnerControllerGetScansErrors[keyof RunnerControllerGetScansErrors]; +type RunnerControllerGetScansResponses = { + 200: Array | Array; +}; +type RunnerControllerGetScansResponse = RunnerControllerGetScansResponses[keyof RunnerControllerGetScansResponses]; +type ImportControllerPostJsonData = { + /** + * ImportRunner + */ + body?: Array; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import'; +}; +type ImportControllerPostJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostJsonError = ImportControllerPostJsonErrors[keyof ImportControllerPostJsonErrors]; +type ImportControllerPostJsonResponses = { + 200: Array; +}; +type ImportControllerPostJsonResponse = ImportControllerPostJsonResponses[keyof ImportControllerPostJsonResponses]; +type ImportControllerPostOrgsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import'; +}; +type ImportControllerPostOrgsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsJsonError = ImportControllerPostOrgsJsonErrors[keyof ImportControllerPostOrgsJsonErrors]; +type ImportControllerPostOrgsJsonResponses = { + 200: Array; +}; +type ImportControllerPostOrgsJsonResponse = ImportControllerPostOrgsJsonResponses[keyof ImportControllerPostOrgsJsonResponses]; +type ImportControllerPostTeamsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import'; +}; +type ImportControllerPostTeamsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsJsonError = ImportControllerPostTeamsJsonErrors[keyof ImportControllerPostTeamsJsonErrors]; +type ImportControllerPostTeamsJsonResponses = { + 200: Array; +}; +type ImportControllerPostTeamsJsonResponse = ImportControllerPostTeamsJsonResponses[keyof ImportControllerPostTeamsJsonResponses]; +type ImportControllerPostCsvData = { + body?: never; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import/csv'; +}; +type ImportControllerPostCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostCsvError = ImportControllerPostCsvErrors[keyof ImportControllerPostCsvErrors]; +type ImportControllerPostCsvResponses = { + 200: Array; +}; +type ImportControllerPostCsvResponse = ImportControllerPostCsvResponses[keyof ImportControllerPostCsvResponses]; +type ImportControllerPostOrgsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import/csv'; +}; +type ImportControllerPostOrgsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostOrgsCsvError = ImportControllerPostOrgsCsvErrors[keyof ImportControllerPostOrgsCsvErrors]; +type ImportControllerPostOrgsCsvResponses = { + 200: Array; +}; +type ImportControllerPostOrgsCsvResponse = ImportControllerPostOrgsCsvResponses[keyof ImportControllerPostOrgsCsvResponses]; +type ImportControllerPostTeamsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import/csv'; +}; +type ImportControllerPostTeamsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; +type ImportControllerPostTeamsCsvError = ImportControllerPostTeamsCsvErrors[keyof ImportControllerPostTeamsCsvErrors]; +type ImportControllerPostTeamsCsvResponses = { + 200: Array; +}; +type ImportControllerPostTeamsCsvResponse = ImportControllerPostTeamsCsvResponses[keyof ImportControllerPostTeamsCsvResponses]; +type PermissionControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/permissions'; +}; +type PermissionControllerGetAllResponses = { + 200: Array; +}; +type PermissionControllerGetAllResponse = PermissionControllerGetAllResponses[keyof PermissionControllerGetAllResponses]; +type PermissionControllerPostData = { + /** + * CreatePermission + */ + body?: CreatePermission; + path?: never; + query?: never; + url: '/api/permissions'; +}; +type PermissionControllerPostErrors = { + 404: PrincipalNotFoundError; +}; +type PermissionControllerPostError = PermissionControllerPostErrors[keyof PermissionControllerPostErrors]; +type PermissionControllerPostResponses = { + 200: ResponsePermission; +}; +type PermissionControllerPostResponse = PermissionControllerPostResponses[keyof PermissionControllerPostResponses]; +type PermissionControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/permissions/{id}'; +}; +type PermissionControllerRemoveResponses = { + 200: ResponsePermission; + 204: ResponseEmpty; +}; +type PermissionControllerRemoveResponse = PermissionControllerRemoveResponses[keyof PermissionControllerRemoveResponses]; +type PermissionControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerGetOneErrors = { + 404: PermissionNotFoundError; +}; +type PermissionControllerGetOneError = PermissionControllerGetOneErrors[keyof PermissionControllerGetOneErrors]; +type PermissionControllerGetOneResponses = { + 200: ResponsePermission; +}; +type PermissionControllerGetOneResponse = PermissionControllerGetOneResponses[keyof PermissionControllerGetOneResponses]; +type PermissionControllerPutData = { + /** + * UpdatePermission + */ + body?: UpdatePermission; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; +type PermissionControllerPutErrors = { + 404: PermissionNotFoundError | PrincipalNotFoundError; + 406: PermissionIdsNotMatchingError | PermissionNeedsPrincipalError; +}; +type PermissionControllerPutError = PermissionControllerPutErrors[keyof PermissionControllerPutErrors]; +type PermissionControllerPutResponses = { + 200: ResponsePrincipal; +}; +type PermissionControllerPutResponse = PermissionControllerPutResponses[keyof PermissionControllerPutResponses]; +type MeControllerRemoveData = { + body?: never; + path?: never; + query?: { + force?: boolean; + }; + url: '/api/users/me/'; +}; +type MeControllerRemoveErrors = { + 404: UserNotFoundError; + 406: UserDeletionNotConfirmedError; +}; +type MeControllerRemoveError = MeControllerRemoveErrors[keyof MeControllerRemoveErrors]; +type MeControllerRemoveResponses = { + 200: ResponseUser; +}; +type MeControllerRemoveResponse = MeControllerRemoveResponses[keyof MeControllerRemoveResponses]; +type MeControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerGetErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetError = MeControllerGetErrors[keyof MeControllerGetErrors]; +type MeControllerGetResponses = { + 200: ResponseUser; +}; +type MeControllerGetResponse = MeControllerGetResponses[keyof MeControllerGetResponses]; +type MeControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path?: never; + query?: never; + url: '/api/users/me/'; +}; +type MeControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type MeControllerPutError = MeControllerPutErrors[keyof MeControllerPutErrors]; +type MeControllerPutResponses = { + 200: ResponseUser; +}; +type MeControllerPutResponse = MeControllerPutResponses[keyof MeControllerPutResponses]; +type MeControllerGetPermissionsData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/permissions'; +}; +type MeControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type MeControllerGetPermissionsError = MeControllerGetPermissionsErrors[keyof MeControllerGetPermissionsErrors]; +type MeControllerGetPermissionsResponses = { + 200: ResponseUserPermissions; +}; +type MeControllerGetPermissionsResponse = MeControllerGetPermissionsResponses[keyof MeControllerGetPermissionsResponses]; +type RunnerTeamControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/teams'; +}; +type RunnerTeamControllerGetAllResponses = { + 200: Array; +}; +type RunnerTeamControllerGetAllResponse = RunnerTeamControllerGetAllResponses[keyof RunnerTeamControllerGetAllResponses]; +type RunnerTeamControllerPostData = { + /** + * CreateRunnerTeam + */ + body?: CreateRunnerTeam; + path?: never; + query?: never; + url: '/api/teams'; +}; +type RunnerTeamControllerPostResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPostResponse = RunnerTeamControllerPostResponses[keyof RunnerTeamControllerPostResponses]; +type RunnerTeamControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerRemoveErrors = { + 406: RunnerTeamHasRunnersError; +}; +type RunnerTeamControllerRemoveError = RunnerTeamControllerRemoveErrors[keyof RunnerTeamControllerRemoveErrors]; +type RunnerTeamControllerRemoveResponses = { + 200: ResponseRunnerTeam; + 204: ResponseEmpty; +}; +type RunnerTeamControllerRemoveResponse = RunnerTeamControllerRemoveResponses[keyof RunnerTeamControllerRemoveResponses]; +type RunnerTeamControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerGetOneErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetOneError = RunnerTeamControllerGetOneErrors[keyof RunnerTeamControllerGetOneErrors]; +type RunnerTeamControllerGetOneResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerGetOneResponse = RunnerTeamControllerGetOneResponses[keyof RunnerTeamControllerGetOneResponses]; +type RunnerTeamControllerPutData = { + /** + * UpdateRunnerTeam + */ + body?: UpdateRunnerTeam; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; +type RunnerTeamControllerPutErrors = { + 404: RunnerTeamNotFoundError; + 406: RunnerTeamIdsNotMatchingError; +}; +type RunnerTeamControllerPutError = RunnerTeamControllerPutErrors[keyof RunnerTeamControllerPutErrors]; +type RunnerTeamControllerPutResponses = { + 200: ResponseRunnerTeam; +}; +type RunnerTeamControllerPutResponse = RunnerTeamControllerPutResponses[keyof RunnerTeamControllerPutResponses]; +type RunnerTeamControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/runners'; +}; +type RunnerTeamControllerGetRunnersErrors = { + 404: RunnerTeamNotFoundError; +}; +type RunnerTeamControllerGetRunnersError = RunnerTeamControllerGetRunnersErrors[keyof RunnerTeamControllerGetRunnersErrors]; +type RunnerTeamControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerTeamControllerGetRunnersResponse = RunnerTeamControllerGetRunnersResponses[keyof RunnerTeamControllerGetRunnersResponses]; +type RunnerOrganizationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerGetAllResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetAllResponse = RunnerOrganizationControllerGetAllResponses[keyof RunnerOrganizationControllerGetAllResponses]; +type RunnerOrganizationControllerPostData = { + /** + * CreateRunnerOrganization + */ + body?: CreateRunnerOrganization; + path?: never; + query?: never; + url: '/api/organizations'; +}; +type RunnerOrganizationControllerPostResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPostResponse = RunnerOrganizationControllerPostResponses[keyof RunnerOrganizationControllerPostResponses]; +type RunnerOrganizationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerRemoveErrors = { + 406: RunnerOrganizationHasTeamsError | RunnerOrganizationHasRunnersError; +}; +type RunnerOrganizationControllerRemoveError = RunnerOrganizationControllerRemoveErrors[keyof RunnerOrganizationControllerRemoveErrors]; +type RunnerOrganizationControllerRemoveResponses = { + 200: ResponseRunnerOrganization; + 204: ResponseEmpty; +}; +type RunnerOrganizationControllerRemoveResponse = RunnerOrganizationControllerRemoveResponses[keyof RunnerOrganizationControllerRemoveResponses]; +type RunnerOrganizationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerGetOneErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetOneError = RunnerOrganizationControllerGetOneErrors[keyof RunnerOrganizationControllerGetOneErrors]; +type RunnerOrganizationControllerGetOneResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerGetOneResponse = RunnerOrganizationControllerGetOneResponses[keyof RunnerOrganizationControllerGetOneResponses]; +type RunnerOrganizationControllerPutData = { + /** + * UpdateRunnerOrganization + */ + body?: UpdateRunnerOrganization; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; +type RunnerOrganizationControllerPutErrors = { + 404: RunnerOrganizationNotFoundError; + 406: RunnerOrganizationIdsNotMatchingError; +}; +type RunnerOrganizationControllerPutError = RunnerOrganizationControllerPutErrors[keyof RunnerOrganizationControllerPutErrors]; +type RunnerOrganizationControllerPutResponses = { + 200: ResponseRunnerOrganization; +}; +type RunnerOrganizationControllerPutResponse = RunnerOrganizationControllerPutResponses[keyof RunnerOrganizationControllerPutResponses]; +type RunnerOrganizationControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: { + onlyDirect?: boolean; + }; + url: '/api/organizations/{id}/runners'; +}; +type RunnerOrganizationControllerGetRunnersErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerOrganizationControllerGetRunnersError = RunnerOrganizationControllerGetRunnersErrors[keyof RunnerOrganizationControllerGetRunnersErrors]; +type RunnerOrganizationControllerGetRunnersResponses = { + 200: Array; +}; +type RunnerOrganizationControllerGetRunnersResponse = RunnerOrganizationControllerGetRunnersResponses[keyof RunnerOrganizationControllerGetRunnersResponses]; +type RunnerSelfServiceControllerRemoveData = { + body?: never; + path: { + jwt: string; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerRemoveErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRemoveError = RunnerSelfServiceControllerRemoveErrors[keyof RunnerSelfServiceControllerRemoveErrors]; +type RunnerSelfServiceControllerRemoveResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRemoveResponse = RunnerSelfServiceControllerRemoveResponses[keyof RunnerSelfServiceControllerRemoveResponses]; +type RunnerSelfServiceControllerGetData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}'; +}; +type RunnerSelfServiceControllerGetErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetError = RunnerSelfServiceControllerGetErrors[keyof RunnerSelfServiceControllerGetErrors]; +type RunnerSelfServiceControllerGetResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerGetResponse = RunnerSelfServiceControllerGetResponses[keyof RunnerSelfServiceControllerGetResponses]; +type RunnerSelfServiceControllerGetScansData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}/scans'; +}; +type RunnerSelfServiceControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerGetScansError = RunnerSelfServiceControllerGetScansErrors[keyof RunnerSelfServiceControllerGetScansErrors]; +type RunnerSelfServiceControllerGetScansResponses = { + 200: Array; +}; +type RunnerSelfServiceControllerGetScansResponse = RunnerSelfServiceControllerGetScansResponses[keyof RunnerSelfServiceControllerGetScansResponses]; +type RunnerSelfServiceControllerGetStationMeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stations/me'; +}; +type RunnerSelfServiceControllerGetStationMeErrors = { + 404: ScanStationNotFoundError; +}; +type RunnerSelfServiceControllerGetStationMeError = RunnerSelfServiceControllerGetStationMeErrors[keyof RunnerSelfServiceControllerGetStationMeErrors]; +type RunnerSelfServiceControllerGetStationMeResponses = { + 200: ResponseScanStation; +}; +type RunnerSelfServiceControllerGetStationMeResponse = RunnerSelfServiceControllerGetStationMeResponses[keyof RunnerSelfServiceControllerGetStationMeResponses]; +type RunnerSelfServiceControllerRequestNewTokenData = { + body?: never; + path?: never; + query?: { + mail?: string; + locale?: string; + }; + url: '/api/runners/login'; +}; +type RunnerSelfServiceControllerRequestNewTokenErrors = { + 404: RunnerNotFoundError; +}; +type RunnerSelfServiceControllerRequestNewTokenError = RunnerSelfServiceControllerRequestNewTokenErrors[keyof RunnerSelfServiceControllerRequestNewTokenErrors]; +type RunnerSelfServiceControllerRequestNewTokenResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type RunnerSelfServiceControllerRegisterRunnerData = { + /** + * CreateSelfServiceCitizenRunner + */ + body?: CreateSelfServiceCitizenRunner; + path?: never; + query?: { + locale?: string; + }; + url: '/api/runners/register'; +}; +type RunnerSelfServiceControllerRegisterRunnerErrors = { + 406: RunnerEmailNeededError; +}; +type RunnerSelfServiceControllerRegisterRunnerError = RunnerSelfServiceControllerRegisterRunnerErrors[keyof RunnerSelfServiceControllerRegisterRunnerErrors]; +type RunnerSelfServiceControllerRegisterRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterRunnerResponse = RunnerSelfServiceControllerRegisterRunnerResponses[keyof RunnerSelfServiceControllerRegisterRunnerResponses]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerData = { + /** + * CreateSelfServiceRunner + */ + body?: CreateSelfServiceRunner; + path: { + token: string; + }; + query?: { + locale?: string; + }; + url: '/api/runners/register/{token}'; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerError = RunnerSelfServiceControllerRegisterOrganizationRunnerErrors[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerErrors]; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; +type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse = RunnerSelfServiceControllerRegisterOrganizationRunnerResponses[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerResponses]; +type RunnerSelfServiceControllerGetSelfserviceOrgData = { + body?: never; + path: { + token: string; + }; + query?: never; + url: '/api/organizations/selfservice/{token}'; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgErrors = { + 404: RunnerOrganizationNotFoundError; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgError = RunnerSelfServiceControllerGetSelfserviceOrgErrors[keyof RunnerSelfServiceControllerGetSelfserviceOrgErrors]; +type RunnerSelfServiceControllerGetSelfserviceOrgResponses = { + 200: ResponseSelfServiceOrganisation; +}; +type RunnerSelfServiceControllerGetSelfserviceOrgResponse = RunnerSelfServiceControllerGetSelfserviceOrgResponses[keyof RunnerSelfServiceControllerGetSelfserviceOrgResponses]; +type ScanStationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/stations'; +}; +type ScanStationControllerGetAllResponses = { + 200: Array; +}; +type ScanStationControllerGetAllResponse = ScanStationControllerGetAllResponses[keyof ScanStationControllerGetAllResponses]; +type ScanStationControllerPostData = { + /** + * CreateScanStation + */ + body?: CreateScanStation; + path?: never; + query?: never; + url: '/api/stations'; +}; +type ScanStationControllerPostErrors = { + 404: TrackNotFoundError; +}; +type ScanStationControllerPostError = ScanStationControllerPostErrors[keyof ScanStationControllerPostErrors]; +type ScanStationControllerPostResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPostResponse = ScanStationControllerPostResponses[keyof ScanStationControllerPostResponses]; +type ScanStationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/stations/{id}'; +}; +type ScanStationControllerRemoveErrors = { + 406: ScanStationHasScansError; +}; +type ScanStationControllerRemoveError = ScanStationControllerRemoveErrors[keyof ScanStationControllerRemoveErrors]; +type ScanStationControllerRemoveResponses = { + 200: ResponseScanStation; + 204: ResponseEmpty; +}; +type ScanStationControllerRemoveResponse = ScanStationControllerRemoveResponses[keyof ScanStationControllerRemoveResponses]; +type ScanStationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerGetOneErrors = { + 404: ScanStationNotFoundError; +}; +type ScanStationControllerGetOneError = ScanStationControllerGetOneErrors[keyof ScanStationControllerGetOneErrors]; +type ScanStationControllerGetOneResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerGetOneResponse = ScanStationControllerGetOneResponses[keyof ScanStationControllerGetOneResponses]; +type ScanStationControllerPutData = { + /** + * UpdateScanStation + */ + body?: UpdateScanStation; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; +type ScanStationControllerPutErrors = { + 404: ScanStationNotFoundError; + 406: ScanStationIdsNotMatchingError; +}; +type ScanStationControllerPutError = ScanStationControllerPutErrors[keyof ScanStationControllerPutErrors]; +type ScanStationControllerPutResponses = { + 200: ResponseScanStation; +}; +type ScanStationControllerPutResponse = ScanStationControllerPutResponses[keyof ScanStationControllerPutResponses]; +type StatsClientControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/statsclients'; +}; +type StatsClientControllerGetAllResponses = { + 200: Array; +}; +type StatsClientControllerGetAllResponse = StatsClientControllerGetAllResponses[keyof StatsClientControllerGetAllResponses]; +type StatsClientControllerPostData = { + /** + * CreateStatsClient + */ + body?: CreateStatsClient; + path?: never; + query?: never; + url: '/api/statsclients'; +}; +type StatsClientControllerPostResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerPostResponse = StatsClientControllerPostResponses[keyof StatsClientControllerPostResponses]; +type StatsClientControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerRemoveResponses = { + 200: ResponseStatsClient; + 204: ResponseEmpty; +}; +type StatsClientControllerRemoveResponse = StatsClientControllerRemoveResponses[keyof StatsClientControllerRemoveResponses]; +type StatsClientControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/statsclients/{id}'; +}; +type StatsClientControllerGetOneErrors = { + 404: StatsClientNotFoundError; +}; +type StatsClientControllerGetOneError = StatsClientControllerGetOneErrors[keyof StatsClientControllerGetOneErrors]; +type StatsClientControllerGetOneResponses = { + 200: ResponseStatsClient; +}; +type StatsClientControllerGetOneResponse = StatsClientControllerGetOneResponses[keyof StatsClientControllerGetOneResponses]; +type StatsControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats'; +}; +type StatsControllerGetResponses = { + 200: ResponseStats; +}; +type StatsControllerGetResponse = StatsControllerGetResponses[keyof StatsControllerGetResponses]; +type StatsControllerGetTopRunnersByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/distance'; +}; +type StatsControllerGetTopRunnersByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDistanceResponse = StatsControllerGetTopRunnersByDistanceResponses[keyof StatsControllerGetTopRunnersByDistanceResponses]; +type StatsControllerGetTopRunnersByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/donations'; +}; +type StatsControllerGetTopRunnersByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByDonationsResponse = StatsControllerGetTopRunnersByDonationsResponses[keyof StatsControllerGetTopRunnersByDonationsResponses]; +type StatsControllerGetTopRunnersByLaptimeData = { + body?: never; + path?: never; + query?: { + track?: number; + }; + url: '/api/stats/runners/laptime'; +}; +type StatsControllerGetTopRunnersByLaptimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByLaptimeResponse = StatsControllerGetTopRunnersByLaptimeResponses[keyof StatsControllerGetTopRunnersByLaptimeResponses]; +type StatsControllerGetTopRunnersByTrackTimeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/scans'; +}; +type StatsControllerGetTopRunnersByTrackTimeResponses = { + 200: Array; +}; +type StatsControllerGetTopRunnersByTrackTimeResponse = StatsControllerGetTopRunnersByTrackTimeResponses[keyof StatsControllerGetTopRunnersByTrackTimeResponses]; +type StatsControllerGetTopTeamsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/distance'; +}; +type StatsControllerGetTopTeamsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDistanceResponse = StatsControllerGetTopTeamsByDistanceResponses[keyof StatsControllerGetTopTeamsByDistanceResponses]; +type StatsControllerGetTopTeamsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/donations'; +}; +type StatsControllerGetTopTeamsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopTeamsByDonationsResponse = StatsControllerGetTopTeamsByDonationsResponses[keyof StatsControllerGetTopTeamsByDonationsResponses]; +type StatsControllerGetTopOrgsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/distance'; +}; +type StatsControllerGetTopOrgsByDistanceResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDistanceResponse = StatsControllerGetTopOrgsByDistanceResponses[keyof StatsControllerGetTopOrgsByDistanceResponses]; +type StatsControllerGetTopOrgsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/donations'; +}; +type StatsControllerGetTopOrgsByDonationsResponses = { + 200: Array; +}; +type StatsControllerGetTopOrgsByDonationsResponse = StatsControllerGetTopOrgsByDonationsResponses[keyof StatsControllerGetTopOrgsByDonationsResponses]; +type StatusControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/status'; +}; +type StatusControllerGetResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type StatusControllerGetVersionData = { + body?: never; + path?: never; + query?: never; + url: '/api/version'; +}; +type StatusControllerGetVersionResponses = { + /** + * Successful response + */ + 200: unknown; +}; +type TrackControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/tracks'; +}; +type TrackControllerGetAllResponses = { + 200: Array; +}; +type TrackControllerGetAllResponse = TrackControllerGetAllResponses[keyof TrackControllerGetAllResponses]; +type TrackControllerPostData = { + /** + * CreateTrack + */ + body?: CreateTrack; + path?: never; + query?: never; + url: '/api/tracks'; +}; +type TrackControllerPostErrors = { + 406: TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPostError = TrackControllerPostErrors[keyof TrackControllerPostErrors]; +type TrackControllerPostResponses = { + 200: ResponseTrack; +}; +type TrackControllerPostResponse = TrackControllerPostResponses[keyof TrackControllerPostResponses]; +type TrackControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/tracks/{id}'; +}; +type TrackControllerRemoveResponses = { + 200: ResponseTrack; + 204: ResponseEmpty; +}; +type TrackControllerRemoveResponse = TrackControllerRemoveResponses[keyof TrackControllerRemoveResponses]; +type TrackControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerGetOneErrors = { + 404: TrackNotFoundError; +}; +type TrackControllerGetOneError = TrackControllerGetOneErrors[keyof TrackControllerGetOneErrors]; +type TrackControllerGetOneResponses = { + 200: ResponseTrack; +}; +type TrackControllerGetOneResponse = TrackControllerGetOneResponses[keyof TrackControllerGetOneResponses]; +type TrackControllerPutData = { + /** + * UpdateTrack + */ + body?: UpdateTrack; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; +type TrackControllerPutErrors = { + 404: TrackNotFoundError; + 406: TrackIdsNotMatchingError | TrackLapTimeCantBeNegativeError; +}; +type TrackControllerPutError = TrackControllerPutErrors[keyof TrackControllerPutErrors]; +type TrackControllerPutResponses = { + 200: ResponseTrack; +}; +type TrackControllerPutResponse = TrackControllerPutResponses[keyof TrackControllerPutResponses]; +type UserControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/users'; +}; +type UserControllerGetAllResponses = { + 200: Array; +}; +type UserControllerGetAllResponse = UserControllerGetAllResponses[keyof UserControllerGetAllResponses]; +type UserControllerPostData = { + /** + * CreateUser + */ + body?: CreateUser; + path?: never; + query?: never; + url: '/api/users'; +}; +type UserControllerPostErrors = { + 404: UserGroupNotFoundError; + 406: UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPostError = UserControllerPostErrors[keyof UserControllerPostErrors]; +type UserControllerPostResponses = { + 200: ResponseUser; +}; +type UserControllerPostResponse = UserControllerPostResponses[keyof UserControllerPostResponses]; +type UserControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/users/{id}'; +}; +type UserControllerRemoveErrors = { + 406: UserDeletionNotConfirmedError; +}; +type UserControllerRemoveError = UserControllerRemoveErrors[keyof UserControllerRemoveErrors]; +type UserControllerRemoveResponses = { + 200: ResponseUser; + 204: ResponseEmpty; +}; +type UserControllerRemoveResponse = UserControllerRemoveResponses[keyof UserControllerRemoveResponses]; +type UserControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerGetOneErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetOneError = UserControllerGetOneErrors[keyof UserControllerGetOneErrors]; +type UserControllerGetOneResponses = { + 200: ResponseUser; +}; +type UserControllerGetOneResponse = UserControllerGetOneResponses[keyof UserControllerGetOneResponses]; +type UserControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; +type UserControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; +type UserControllerPutError = UserControllerPutErrors[keyof UserControllerPutErrors]; +type UserControllerPutResponses = { + 200: ResponseUser; +}; +type UserControllerPutResponse = UserControllerPutResponses[keyof UserControllerPutResponses]; +type UserControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}/permissions'; +}; +type UserControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; +type UserControllerGetPermissionsError = UserControllerGetPermissionsErrors[keyof UserControllerGetPermissionsErrors]; +type UserControllerGetPermissionsResponses = { + 200: ResponseUser; +}; +type UserControllerGetPermissionsResponse = UserControllerGetPermissionsResponses[keyof UserControllerGetPermissionsResponses]; +type UserGroupControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/usergroups'; +}; +type UserGroupControllerGetAllResponses = { + 200: Array; +}; +type UserGroupControllerGetAllResponse = UserGroupControllerGetAllResponses[keyof UserGroupControllerGetAllResponses]; +type UserGroupControllerPostData = { + /** + * CreateUserGroup + */ + body?: CreateUserGroup; + path?: never; + query?: never; + url: '/api/usergroups'; +}; +type UserGroupControllerPostResponses = { + 200: UserGroup | UserGroupNotFoundError; +}; +type UserGroupControllerPostResponse = UserGroupControllerPostResponses[keyof UserGroupControllerPostResponses]; +type UserGroupControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerRemoveResponses = { + 200: ResponseUserGroup; + 204: ResponseEmpty; +}; +type UserGroupControllerRemoveResponse = UserGroupControllerRemoveResponses[keyof UserGroupControllerRemoveResponses]; +type UserGroupControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerGetOneErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetOneError = UserGroupControllerGetOneErrors[keyof UserGroupControllerGetOneErrors]; +type UserGroupControllerGetOneResponses = { + 200: ResponseUserGroup; +}; +type UserGroupControllerGetOneResponse = UserGroupControllerGetOneResponses[keyof UserGroupControllerGetOneResponses]; +type UserGroupControllerPutData = { + /** + * UpdateUserGroup + */ + body?: UpdateUserGroup; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; +type UserGroupControllerPutErrors = { + 404: UserGroupNotFoundError; + 406: UserGroupIdsNotMatchingError; +}; +type UserGroupControllerPutError = UserGroupControllerPutErrors[keyof UserGroupControllerPutErrors]; +type UserGroupControllerPutResponses = { + 200: UserGroup; +}; +type UserGroupControllerPutResponse = UserGroupControllerPutResponses[keyof UserGroupControllerPutResponses]; +type UserGroupControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}/permissions'; +}; +type UserGroupControllerGetPermissionsErrors = { + 404: UserGroupNotFoundError; +}; +type UserGroupControllerGetPermissionsError = UserGroupControllerGetPermissionsErrors[keyof UserGroupControllerGetPermissionsErrors]; +type UserGroupControllerGetPermissionsResponses = { + 200: ResponseUserGroupPermissions; +}; +type UserGroupControllerGetPermissionsResponse = UserGroupControllerGetPermissionsResponses[keyof UserGroupControllerGetPermissionsResponses]; +type ClientOptions = { + baseUrl: 'https://run.lauf-fuer-kaya.de' | (string & {}); +}; + +type Options = Options$1 & { + /** + * You can provide a client instance returned by `createClient()` instead of + * individual options. This might be also useful if you want to implement a + * custom client. + */ + client?: Client; + /** + * You can pass arbitrary values through the `meta` object. This can be + * used to access values that aren't defined as part of the SDK function. + */ + meta?: Record; +}; +/** + * Login + * Login with your username/email and password.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerLogin: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Logout + * Logout using your refresh token.
This instantly invalidates all your access and refresh tokens. + */ +declare const authControllerLogout: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Refresh + * Refresh your access and refresh tokens using a valid refresh token.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +declare const authControllerRefresh: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get reset token + * Request a password reset token.
This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. + */ +declare const authControllerGetResetToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Reset password + * Reset a user's utilising a valid password reset token.
This will set the user's password to the one you provided in the body.
To get a reset token post to /api/auth/reset with your username. + */ +declare const authControllerResetPassword: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donations (fixed or distance based) from all donors.
This includes the donations's runner's distance ran(if distance donation). + */ +declare const donationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donation whose id you provided.
If no donation with this id exists it will just return 204(no content). + */ +declare const donationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). + */ +declare const donationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post fixed + * Create a fixed donation (not distance donation - use /donations/distance instead).
Please rmemember to provide the donation's donors's id and amount. + */ +declare const donationControllerPostFixed: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post distance + * Create a distance donation (not fixed donation - use /donations/fixed instead).
Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). + */ +declare const donationControllerPostDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put fixed + * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided.
Please remember that ids can't be changed and amounts must be positive. + */ +declare const donationControllerPutFixed: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put distance + * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided.
Please remember that ids can't be changed and amountPerDistance must be positive. + */ +declare const donationControllerPutDistance: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all donor.
This includes the donor's current donation amount. + */ +declare const donorControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new donor. + */ +declare const donorControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the donor whose id you provided.
If no donor with this id exists it will just return 204(no content).
If the donor still has donations associated this will fail, please provide the query param ?force=true to delete the donor with all associated donations. + */ +declare const donorControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the donor whose id got provided.
This includes the donor's current donation amount. + */ +declare const donorControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the donor whose id you provided.
Please remember that ids can't be changed. + */ +declare const donorControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all contacts.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new contact. + */ +declare const groupContactControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the contact whose id you provided.
If no contact with this id exists it will just return 204(no content).
This won't delete any groups associated with the contact. + */ +declare const groupContactControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the contact whose id got provided.
This includes the contact's associated groups. + */ +declare const groupContactControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the contact whose id you provided.
Please remember that ids can't be changed. + */ +declare const groupContactControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all scans (normal or track) from all runners.
This includes the scan's runner's distance ran. + */ +declare const scanControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new scan (not track scan - use /scans/trackscans instead).
Please rmemember to provide the scan's runner's id and distance. + */ +declare const scanControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the scan whose id you provided.
If no scan with this id exists it will just return 204(no content). + */ +declare const scanControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. + */ +declare const scanControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that ids can't be changed and distances must be positive. + */ +declare const scanControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post track scans + * Create a new track scan (for "normal" scans use /scans instead).
Please remember that to provide the scan's card's station's id. + */ +declare const scanControllerPostTrackScans: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put track scan + * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that only the validity, runner and track can be changed. + */ +declare const scanControllerPutTrackScan: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all card. + */ +declare const runnerCardControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new card.
You can provide a associated runner by id but you don't have to. + */ +declare const runnerCardControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the card whose id you provided.
If no card with this id exists it will just return 204(no content).
If the card still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with by this card - please disable it instead or just remove the runner association). + */ +declare const runnerCardControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the card whose id got provided. + */ +declare const runnerCardControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the card whose id you provided.
Scans created via this card will still be associated with the old runner.
Please remember that ids can't be changed. + */ +declare const runnerCardControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post blanco bulk + * Create blank cards in bulk.
Just provide the count as a query param and wait for the 200 response.
You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. + */ +declare const runnerCardControllerPostBlancoBulk: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all runners from all teams/orgs.
This includes the runner's group and distance ran. + */ +declare const runnerControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new runner.
Please remeber to provide the runner's group's id. + */ +declare const runnerControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the runner whose id you provided.
This will also delete all scans and cards associated with the runner.
If no runner with this id exists it will just return 204(no content). + */ +declare const runnerControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the runner whose id got provided. + */ +declare const runnerControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the runner whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all scans of the runner whose id got provided.
If you only want the valid scans just add the ?onlyValid=true query param. + */ +declare const runnerControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post json + * Create new runners from json and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostJson: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs json + * Create new runners from json and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams json + * Create new runners from json and insert them into the provided team + */ +declare const importControllerPostTeamsJson: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post csv + * Create new runners from csv and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostCsv: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post orgs csv + * Create new runners from csv and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +declare const importControllerPostOrgsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post teams csv + * Create new runners from csv and insert them into the provided team + */ +declare const importControllerPostTeamsCsv: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all permissions for all users and groups. + */ +declare const permissionControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new permission for a existing principal(user/group).
If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. + */ +declare const permissionControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes the permission whose id you provide.
If no permission with this id exists it will just return 204(no content). + */ +declare const permissionControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the permission whose id got provided. + */ +declare const permissionControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update a permission object.
If updateing the permission object would result in duplicate permission (same target, action and principal) this permission will get deleted and the existing permission will be returned.
Please remember that ids can't be changed. + */ +declare const permissionControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete yourself.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to you they will get deleted as well. + */ +declare const meControllerRemove: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself. + */ +declare const meControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the yourself.
You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead.
Please remember that ids can't be changed. + */ +declare const meControllerPut: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. + */ +declare const meControllerGetPermissions: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all teams.
This includes their parent organization and contact (if existing/associated). + */ +declare const runnerTeamControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation.
Please remember to provide it's parent group's id. + */ +declare const runnerTeamControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the team whose id you provided.
If the team still has runners associated this will fail.
To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no team with this id exists it will just return 204(no content). + */ +declare const runnerTeamControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the team whose id got provided. + */ +declare const runnerTeamControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the team whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerTeamControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this team.
This includes the runner's group and distance ran. + */ +declare const runnerTeamControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all organizations.
This includes their address, contact and teams (if existing/associated). + */ +declare const runnerOrganizationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new organsisation. + */ +declare const runnerOrganizationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the organsisation whose id you provided.
If the organization still has runners and/or teams associated this will fail.
To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no organization with this id exists it will just return 204(no content). + */ +declare const runnerOrganizationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the organization whose id got provided. + */ +declare const runnerOrganizationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the organization whose id you provided.
Please remember that ids can't be changed. + */ +declare const runnerOrganizationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get runners + * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param).
This includes the runner's group and distance ran. + */ +declare const runnerOrganizationControllerGetRunners: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Deletes all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * Lists all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +declare const runnerSelfServiceControllerGet: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get scans + * Lists all your (runner) scans.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please contact support. + */ +declare const runnerSelfServiceControllerGetScans: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get station me + * Lists basic information about the station whose token got provided.
This includes it's associated track. + */ +declare const runnerSelfServiceControllerGetStationMe: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Request new token + * Use this endpoint to reuqest a new selfservice magic-login-link to be sent to your mail address (rate limited to one mail every 15mins). + */ +declare const runnerSelfServiceControllerRequestNewToken: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register runner + * Create a new selfservice runner in the citizen org.
This endpoint shoud be used to allow "everyday citizen" to register themselves.
You have to provide a mail address, b/c the future we'll implement email verification. + */ +declare const runnerSelfServiceControllerRegisterRunner: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Register organization runner + * Create a new selfservice runner in a provided org.
The orgs get provided and authorized via api tokens that can be optained via the /organizations endpoint. + */ +declare const runnerSelfServiceControllerRegisterOrganizationRunner: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get selfservice org + * Get the basic info and teams for a org. + */ +declare const runnerSelfServiceControllerGetSelfserviceOrg: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stations.
This includes their associated tracks. + */ +declare const scanStationControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new station.
Please remeber to provide the station's track's id.
Please also remember that the station key is only visibe on creation. + */ +declare const scanStationControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the station whose id you provided.
If no station with this id exists it will just return 204(no content).
If the station still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with/created by this station - please disable it instead). + */ +declare const scanStationControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the station whose id got provided.
This includes it's associated track. + */ +declare const scanStationControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the station whose id you provided.
Please remember that only the description and enabled state can be changed. + */ +declare const scanStationControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all stats clients. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new stats client.
Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. + */ +declare const statsClientControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the stats client whose id you provided.
If no client with this id exists it will just return 204(no content). + */ +declare const statsClientControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. + */ +declare const statsClientControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic stats endpoint providing basic counters for a dashboard or simmilar + */ +declare const statsControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by distance + * Returns the top ten runners by distance. + */ +declare const statsControllerGetTopRunnersByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by donations + * Returns the top ten runners by donations. + */ +declare const statsControllerGetTopRunnersByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by laptime + * Returns the top ten runners by fastest laptime on your selected track (track by id). + */ +declare const statsControllerGetTopRunnersByLaptime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top runners by track time + * Returns the top ten fastest track times (with their runner and the runner's group). + */ +declare const statsControllerGetTopRunnersByTrackTime: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by distance + * Returns the top ten teams by distance. + */ +declare const statsControllerGetTopTeamsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top teams by donations + * Returns the top ten teams by donations. + */ +declare const statsControllerGetTopTeamsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by distance + * Returns the top ten organizations by distance. + */ +declare const statsControllerGetTopOrgsByDistance: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get top orgs by donations + * Returns the top ten organizations by donations. + */ +declare const statsControllerGetTopOrgsByDonations: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get + * A very basic status/health endpoint that just checks if the database connection is available.
The available information depth will be expanded later. + */ +declare const statusControllerGet: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get version + * A very basic endpoint that just returns the curent package version. + */ +declare const statusControllerGetVersion: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all tracks. + */ +declare const trackControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new track.
Please remember that the track's distance must be greater than 0. + */ +declare const trackControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the track whose id you provided.
If no track with this id exists it will just return 204(no content). + */ +declare const trackControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the track whose id got provided. + */ +declare const trackControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the track whose id you provided.
Please remember that ids can't be changed. + */ +declare const trackControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all users.
This includes their groups and permissions granted to them. + */ +declare const userControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new user.
If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. + */ +declare const userControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the user whose id you provided.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to the user they will get deleted as well.
If no user with this id exists it will just return 204(no content). + */ +declare const userControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the user whose id got provided.
Please remember that all permissions granted to the user will show up here. + */ +declare const userControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the user whose id you provided.
To change the permissions directly granted to the user please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. + */ +declare const userControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get all + * Lists all groups.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetAll: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Post + * Create a new group.
If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. + */ +declare const userGroupControllerPost: (options?: Options) => _hey_api_client_fetch.RequestResult; +/** + * Remove + * Delete the group whose id you provided.
If there are any permissions directly granted to the group they will get deleted as well.
Users associated with this group won't get deleted - just deassociated.
If no group with this id exists it will just return 204(no content). + */ +declare const userGroupControllerRemove: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get one + * Lists all information about the group whose id got provided.
The information provided might change while the project continues to evolve. + */ +declare const userGroupControllerGetOne: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Put + * Update the group whose id you provided.
To change the permissions granted to the group please use /api/permissions instead.
Please remember that ids can't be changed. + */ +declare const userGroupControllerPut: (options: Options) => _hey_api_client_fetch.RequestResult; +/** + * Get permissions + * Lists all permissions granted to the group as permission response objects. + */ +declare const userGroupControllerGetPermissions: (options: Options) => _hey_api_client_fetch.RequestResult; + +export { type Address, type AddressCityEmptyError, type AddressCountryEmptyError, type AddressFirstLineEmptyError, type AddressPostalCodeEmptyError, type AddressPostalCodeInvalidError, type AuthControllerGetResetTokenData, type AuthControllerGetResetTokenError, type AuthControllerGetResetTokenErrors, type AuthControllerGetResetTokenResponse, type AuthControllerGetResetTokenResponses, type AuthControllerLoginData, type AuthControllerLoginResponse, type AuthControllerLoginResponses, type AuthControllerLogoutData, type AuthControllerLogoutResponse, type AuthControllerLogoutResponses, type AuthControllerRefreshData, type AuthControllerRefreshResponse, type AuthControllerRefreshResponses, type AuthControllerResetPasswordData, type AuthControllerResetPasswordResponse, type AuthControllerResetPasswordResponses, type ClientOptions, type ConfigFlag, type CreateAuth, type CreateDistanceDonation, type CreateDonation, type CreateDonor, type CreateFixedDonation, type CreateGroupContact, type CreateParticipant, type CreatePermission, type CreateResetToken, type CreateRunner, type CreateRunnerCard, type CreateRunnerGroup, type CreateRunnerOrganization, type CreateRunnerTeam, type CreateScan, type CreateScanStation, type CreateSelfServiceCitizenRunner, type CreateSelfServiceRunner, type CreateStatsClient, type CreateTrack, type CreateTrackScan, type CreateUser, type CreateUserGroup, type DistanceDonation, type Donation, type DonationControllerGetAllData, type DonationControllerGetAllResponse, type DonationControllerGetAllResponses, type DonationControllerGetOneData, type DonationControllerGetOneError, type DonationControllerGetOneErrors, type DonationControllerGetOneResponse, type DonationControllerGetOneResponses, type DonationControllerPostDistanceData, type DonationControllerPostDistanceError, type DonationControllerPostDistanceErrors, type DonationControllerPostDistanceResponse, type DonationControllerPostDistanceResponses, type DonationControllerPostFixedData, type DonationControllerPostFixedError, type DonationControllerPostFixedErrors, type DonationControllerPostFixedResponse, type DonationControllerPostFixedResponses, type DonationControllerPutDistanceData, type DonationControllerPutDistanceError, type DonationControllerPutDistanceErrors, type DonationControllerPutDistanceResponse, type DonationControllerPutDistanceResponses, type DonationControllerPutFixedData, type DonationControllerPutFixedError, type DonationControllerPutFixedErrors, type DonationControllerPutFixedResponse, type DonationControllerPutFixedResponses, type DonationControllerRemoveData, type DonationControllerRemoveResponse, type DonationControllerRemoveResponses, type DonationIdsNotMatchingError, type DonationNotFoundError, type Donor, type DonorControllerGetAllData, type DonorControllerGetAllResponse, type DonorControllerGetAllResponses, type DonorControllerGetOneData, type DonorControllerGetOneError, type DonorControllerGetOneErrors, type DonorControllerGetOneResponse, type DonorControllerGetOneResponses, type DonorControllerPostData, type DonorControllerPostResponse, type DonorControllerPostResponses, type DonorControllerPutData, type DonorControllerPutError, type DonorControllerPutErrors, type DonorControllerPutResponse, type DonorControllerPutResponses, type DonorControllerRemoveData, type DonorControllerRemoveResponse, type DonorControllerRemoveResponses, type DonorHasDonationsError, type DonorIdsNotMatchingError, type DonorNotFoundError, type DonorReceiptAddressNeededError, type FixedDonation, type GroupContact, type GroupContactControllerGetAllData, type GroupContactControllerGetAllResponse, type GroupContactControllerGetAllResponses, type GroupContactControllerGetOneData, type GroupContactControllerGetOneError, type GroupContactControllerGetOneErrors, type GroupContactControllerGetOneResponse, type GroupContactControllerGetOneResponses, type GroupContactControllerPostData, type GroupContactControllerPostError, type GroupContactControllerPostErrors, type GroupContactControllerPostResponse, type GroupContactControllerPostResponses, type GroupContactControllerPutData, type GroupContactControllerPutError, type GroupContactControllerPutErrors, type GroupContactControllerPutResponse, type GroupContactControllerPutResponses, type GroupContactControllerRemoveData, type GroupContactControllerRemoveResponse, type GroupContactControllerRemoveResponses, type GroupContactIdsNotMatchingError, type GroupContactNotFoundError, type GroupNameNeededError, type HandleLogout, type IllegalJwtError, type ImportControllerPostCsvData, type ImportControllerPostCsvError, type ImportControllerPostCsvErrors, type ImportControllerPostCsvResponse, type ImportControllerPostCsvResponses, type ImportControllerPostJsonData, type ImportControllerPostJsonError, type ImportControllerPostJsonErrors, type ImportControllerPostJsonResponse, type ImportControllerPostJsonResponses, type ImportControllerPostOrgsCsvData, type ImportControllerPostOrgsCsvError, type ImportControllerPostOrgsCsvErrors, type ImportControllerPostOrgsCsvResponse, type ImportControllerPostOrgsCsvResponses, type ImportControllerPostOrgsJsonData, type ImportControllerPostOrgsJsonError, type ImportControllerPostOrgsJsonErrors, type ImportControllerPostOrgsJsonResponse, type ImportControllerPostOrgsJsonResponses, type ImportControllerPostTeamsCsvData, type ImportControllerPostTeamsCsvError, type ImportControllerPostTeamsCsvErrors, type ImportControllerPostTeamsCsvResponse, type ImportControllerPostTeamsCsvResponses, type ImportControllerPostTeamsJsonData, type ImportControllerPostTeamsJsonError, type ImportControllerPostTeamsJsonErrors, type ImportControllerPostTeamsJsonResponse, type ImportControllerPostTeamsJsonResponses, type ImportRunner, type InvalidCredentialsError, type JwtNotProvidedError, type JwtUser, type Logout, type MailSendingError, type MeControllerGetData, type MeControllerGetError, type MeControllerGetErrors, type MeControllerGetPermissionsData, type MeControllerGetPermissionsError, type MeControllerGetPermissionsErrors, type MeControllerGetPermissionsResponse, type MeControllerGetPermissionsResponses, type MeControllerGetResponse, type MeControllerGetResponses, type MeControllerPutData, type MeControllerPutError, type MeControllerPutErrors, type MeControllerPutResponse, type MeControllerPutResponses, type MeControllerRemoveData, type MeControllerRemoveError, type MeControllerRemoveErrors, type MeControllerRemoveResponse, type MeControllerRemoveResponses, type NoPermissionError, type Options, type Participant, type PasswordMustContainLowercaseLetterError, type PasswordMustContainNumberError, type PasswordMustContainUppercaseLetterError, type PasswordNeededError, type PasswordTooShortError, type Permission, type PermissionControllerGetAllData, type PermissionControllerGetAllResponse, type PermissionControllerGetAllResponses, type PermissionControllerGetOneData, type PermissionControllerGetOneError, type PermissionControllerGetOneErrors, type PermissionControllerGetOneResponse, type PermissionControllerGetOneResponses, type PermissionControllerPostData, type PermissionControllerPostError, type PermissionControllerPostErrors, type PermissionControllerPostResponse, type PermissionControllerPostResponses, type PermissionControllerPutData, type PermissionControllerPutError, type PermissionControllerPutErrors, type PermissionControllerPutResponse, type PermissionControllerPutResponses, type PermissionControllerRemoveData, type PermissionControllerRemoveResponse, type PermissionControllerRemoveResponses, type PermissionIdsNotMatchingError, type PermissionNeedsPrincipalError, type PermissionNotFoundError, type Principal, type PrincipalNotFoundError, type PrincipalWrongTypeError, type RefreshAuth, type RefreshTokenCountInvalidError, type ResetAlreadyRequestedError, type ResetPassword, type ResponseAuth, type ResponseDistanceDonation, type ResponseDonation, type ResponseDonor, type ResponseEmpty, type ResponseGroupContact, type ResponseParticipant, type ResponsePermission, type ResponsePrincipal, type ResponseRunner, type ResponseRunnerCard, type ResponseRunnerGroup, type ResponseRunnerOrganization, type ResponseRunnerTeam, type ResponseScan, type ResponseScanStation, type ResponseSelfServiceDonation, type ResponseSelfServiceDonor, type ResponseSelfServiceOrganisation, type ResponseSelfServiceRunner, type ResponseSelfServiceScan, type ResponseSelfServiceTeam, type ResponseStats, type ResponseStatsClient, type ResponseStatsOrgnisation, type ResponseStatsRunner, type ResponseStatsTeam, type ResponseTrack, type ResponseTrackScan, type ResponseUser, type ResponseUserGroup, type ResponseUserGroupPermissions, type ResponseUserPermissions, type Runner, type RunnerCard, type RunnerCardControllerGetAllData, type RunnerCardControllerGetAllResponse, type RunnerCardControllerGetAllResponses, type RunnerCardControllerGetOneData, type RunnerCardControllerGetOneError, type RunnerCardControllerGetOneErrors, type RunnerCardControllerGetOneResponse, type RunnerCardControllerGetOneResponses, type RunnerCardControllerPostBlancoBulkData, type RunnerCardControllerPostBlancoBulkResponse, type RunnerCardControllerPostBlancoBulkResponses, type RunnerCardControllerPostData, type RunnerCardControllerPostError, type RunnerCardControllerPostErrors, type RunnerCardControllerPostResponse, type RunnerCardControllerPostResponses, type RunnerCardControllerPutData, type RunnerCardControllerPutError, type RunnerCardControllerPutErrors, type RunnerCardControllerPutResponse, type RunnerCardControllerPutResponses, type RunnerCardControllerRemoveData, type RunnerCardControllerRemoveError, type RunnerCardControllerRemoveErrors, type RunnerCardControllerRemoveResponse, type RunnerCardControllerRemoveResponses, type RunnerCardHasScansError, type RunnerCardIdOutOfRangeError, type RunnerCardIdsNotMatchingError, type RunnerCardNotFoundError, type RunnerControllerGetAllData, type RunnerControllerGetAllResponse, type RunnerControllerGetAllResponses, type RunnerControllerGetOneData, type RunnerControllerGetOneError, type RunnerControllerGetOneErrors, type RunnerControllerGetOneResponse, type RunnerControllerGetOneResponses, type RunnerControllerGetScansData, type RunnerControllerGetScansError, type RunnerControllerGetScansErrors, type RunnerControllerGetScansResponse, type RunnerControllerGetScansResponses, type RunnerControllerPostData, type RunnerControllerPostResponse, type RunnerControllerPostResponses, type RunnerControllerPutData, type RunnerControllerPutError, type RunnerControllerPutErrors, type RunnerControllerPutResponse, type RunnerControllerPutResponses, type RunnerControllerRemoveData, type RunnerControllerRemoveError, type RunnerControllerRemoveErrors, type RunnerControllerRemoveResponse, type RunnerControllerRemoveResponses, type RunnerEmailNeededError, type RunnerGroup, type RunnerGroupNeededError, type RunnerGroupNotFoundError, type RunnerHasDistanceDonationsError, type RunnerIdsNotMatchingError, type RunnerNotFoundError, type RunnerOrganization, type RunnerOrganizationControllerGetAllData, type RunnerOrganizationControllerGetAllResponse, type RunnerOrganizationControllerGetAllResponses, type RunnerOrganizationControllerGetOneData, type RunnerOrganizationControllerGetOneError, type RunnerOrganizationControllerGetOneErrors, type RunnerOrganizationControllerGetOneResponse, type RunnerOrganizationControllerGetOneResponses, type RunnerOrganizationControllerGetRunnersData, type RunnerOrganizationControllerGetRunnersError, type RunnerOrganizationControllerGetRunnersErrors, type RunnerOrganizationControllerGetRunnersResponse, type RunnerOrganizationControllerGetRunnersResponses, type RunnerOrganizationControllerPostData, type RunnerOrganizationControllerPostResponse, type RunnerOrganizationControllerPostResponses, type RunnerOrganizationControllerPutData, type RunnerOrganizationControllerPutError, type RunnerOrganizationControllerPutErrors, type RunnerOrganizationControllerPutResponse, type RunnerOrganizationControllerPutResponses, type RunnerOrganizationControllerRemoveData, type RunnerOrganizationControllerRemoveError, type RunnerOrganizationControllerRemoveErrors, type RunnerOrganizationControllerRemoveResponse, type RunnerOrganizationControllerRemoveResponses, type RunnerOrganizationHasRunnersError, type RunnerOrganizationHasTeamsError, type RunnerOrganizationIdsNotMatchingError, type RunnerOrganizationNotFoundError, type RunnerOrganizationWrongTypeError, type RunnerSelfServiceControllerGetData, type RunnerSelfServiceControllerGetError, type RunnerSelfServiceControllerGetErrors, type RunnerSelfServiceControllerGetResponse, type RunnerSelfServiceControllerGetResponses, type RunnerSelfServiceControllerGetScansData, type RunnerSelfServiceControllerGetScansError, type RunnerSelfServiceControllerGetScansErrors, type RunnerSelfServiceControllerGetScansResponse, type RunnerSelfServiceControllerGetScansResponses, type RunnerSelfServiceControllerGetSelfserviceOrgData, type RunnerSelfServiceControllerGetSelfserviceOrgError, type RunnerSelfServiceControllerGetSelfserviceOrgErrors, type RunnerSelfServiceControllerGetSelfserviceOrgResponse, type RunnerSelfServiceControllerGetSelfserviceOrgResponses, type RunnerSelfServiceControllerGetStationMeData, type RunnerSelfServiceControllerGetStationMeError, type RunnerSelfServiceControllerGetStationMeErrors, type RunnerSelfServiceControllerGetStationMeResponse, type RunnerSelfServiceControllerGetStationMeResponses, type RunnerSelfServiceControllerRegisterOrganizationRunnerData, type RunnerSelfServiceControllerRegisterOrganizationRunnerError, type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse, type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses, type RunnerSelfServiceControllerRegisterRunnerData, type RunnerSelfServiceControllerRegisterRunnerError, type RunnerSelfServiceControllerRegisterRunnerErrors, type RunnerSelfServiceControllerRegisterRunnerResponse, type RunnerSelfServiceControllerRegisterRunnerResponses, type RunnerSelfServiceControllerRemoveData, type RunnerSelfServiceControllerRemoveError, type RunnerSelfServiceControllerRemoveErrors, type RunnerSelfServiceControllerRemoveResponse, type RunnerSelfServiceControllerRemoveResponses, type RunnerSelfServiceControllerRequestNewTokenData, type RunnerSelfServiceControllerRequestNewTokenError, type RunnerSelfServiceControllerRequestNewTokenErrors, type RunnerSelfServiceControllerRequestNewTokenResponses, type RunnerSelfserviceTimeoutError, type RunnerTeam, type RunnerTeamControllerGetAllData, type RunnerTeamControllerGetAllResponse, type RunnerTeamControllerGetAllResponses, type RunnerTeamControllerGetOneData, type RunnerTeamControllerGetOneError, type RunnerTeamControllerGetOneErrors, type RunnerTeamControllerGetOneResponse, type RunnerTeamControllerGetOneResponses, type RunnerTeamControllerGetRunnersData, type RunnerTeamControllerGetRunnersError, type RunnerTeamControllerGetRunnersErrors, type RunnerTeamControllerGetRunnersResponse, type RunnerTeamControllerGetRunnersResponses, type RunnerTeamControllerPostData, type RunnerTeamControllerPostResponse, type RunnerTeamControllerPostResponses, type RunnerTeamControllerPutData, type RunnerTeamControllerPutError, type RunnerTeamControllerPutErrors, type RunnerTeamControllerPutResponse, type RunnerTeamControllerPutResponses, type RunnerTeamControllerRemoveData, type RunnerTeamControllerRemoveError, type RunnerTeamControllerRemoveErrors, type RunnerTeamControllerRemoveResponse, type RunnerTeamControllerRemoveResponses, type RunnerTeamHasRunnersError, type RunnerTeamIdsNotMatchingError, type RunnerTeamNeedsParentError, type RunnerTeamNotFoundError, type Scan, type ScanControllerGetAllData, type ScanControllerGetAllResponse, type ScanControllerGetAllResponses, type ScanControllerGetOneData, type ScanControllerGetOneError, type ScanControllerGetOneErrors, type ScanControllerGetOneResponse, type ScanControllerGetOneResponses, type ScanControllerPostData, type ScanControllerPostError, type ScanControllerPostErrors, type ScanControllerPostResponse, type ScanControllerPostResponses, type ScanControllerPostTrackScansData, type ScanControllerPostTrackScansError, type ScanControllerPostTrackScansErrors, type ScanControllerPostTrackScansResponse, type ScanControllerPostTrackScansResponses, type ScanControllerPutData, type ScanControllerPutError, type ScanControllerPutErrors, type ScanControllerPutResponse, type ScanControllerPutResponses, type ScanControllerPutTrackScanData, type ScanControllerPutTrackScanError, type ScanControllerPutTrackScanErrors, type ScanControllerPutTrackScanResponse, type ScanControllerPutTrackScanResponses, type ScanControllerRemoveData, type ScanControllerRemoveResponse, type ScanControllerRemoveResponses, type ScanIdsNotMatchingError, type ScanNotFoundError, type ScanStation, type ScanStationControllerGetAllData, type ScanStationControllerGetAllResponse, type ScanStationControllerGetAllResponses, type ScanStationControllerGetOneData, type ScanStationControllerGetOneError, type ScanStationControllerGetOneErrors, type ScanStationControllerGetOneResponse, type ScanStationControllerGetOneResponses, type ScanStationControllerPostData, type ScanStationControllerPostError, type ScanStationControllerPostErrors, type ScanStationControllerPostResponse, type ScanStationControllerPostResponses, type ScanStationControllerPutData, type ScanStationControllerPutError, type ScanStationControllerPutErrors, type ScanStationControllerPutResponse, type ScanStationControllerPutResponses, type ScanStationControllerRemoveData, type ScanStationControllerRemoveError, type ScanStationControllerRemoveErrors, type ScanStationControllerRemoveResponse, type ScanStationControllerRemoveResponses, type ScanStationHasScansError, type ScanStationIdsNotMatchingError, type ScanStationNotFoundError, type StatsClient, type StatsClientControllerGetAllData, type StatsClientControllerGetAllResponse, type StatsClientControllerGetAllResponses, type StatsClientControllerGetOneData, type StatsClientControllerGetOneError, type StatsClientControllerGetOneErrors, type StatsClientControllerGetOneResponse, type StatsClientControllerGetOneResponses, type StatsClientControllerPostData, type StatsClientControllerPostResponse, type StatsClientControllerPostResponses, type StatsClientControllerRemoveData, type StatsClientControllerRemoveResponse, type StatsClientControllerRemoveResponses, type StatsClientIdsNotMatchingError, type StatsClientNotFoundError, type StatsControllerGetData, type StatsControllerGetResponse, type StatsControllerGetResponses, type StatsControllerGetTopOrgsByDistanceData, type StatsControllerGetTopOrgsByDistanceResponse, type StatsControllerGetTopOrgsByDistanceResponses, type StatsControllerGetTopOrgsByDonationsData, type StatsControllerGetTopOrgsByDonationsResponse, type StatsControllerGetTopOrgsByDonationsResponses, type StatsControllerGetTopRunnersByDistanceData, type StatsControllerGetTopRunnersByDistanceResponse, type StatsControllerGetTopRunnersByDistanceResponses, type StatsControllerGetTopRunnersByDonationsData, type StatsControllerGetTopRunnersByDonationsResponse, type StatsControllerGetTopRunnersByDonationsResponses, type StatsControllerGetTopRunnersByLaptimeData, type StatsControllerGetTopRunnersByLaptimeResponse, type StatsControllerGetTopRunnersByLaptimeResponses, type StatsControllerGetTopRunnersByTrackTimeData, type StatsControllerGetTopRunnersByTrackTimeResponse, type StatsControllerGetTopRunnersByTrackTimeResponses, type StatsControllerGetTopTeamsByDistanceData, type StatsControllerGetTopTeamsByDistanceResponse, type StatsControllerGetTopTeamsByDistanceResponses, type StatsControllerGetTopTeamsByDonationsData, type StatsControllerGetTopTeamsByDonationsResponse, type StatsControllerGetTopTeamsByDonationsResponses, type StatusControllerGetData, type StatusControllerGetResponses, type StatusControllerGetVersionData, type StatusControllerGetVersionResponses, type Track, type TrackControllerGetAllData, type TrackControllerGetAllResponse, type TrackControllerGetAllResponses, type TrackControllerGetOneData, type TrackControllerGetOneError, type TrackControllerGetOneErrors, type TrackControllerGetOneResponse, type TrackControllerGetOneResponses, type TrackControllerPostData, type TrackControllerPostError, type TrackControllerPostErrors, type TrackControllerPostResponse, type TrackControllerPostResponses, type TrackControllerPutData, type TrackControllerPutError, type TrackControllerPutErrors, type TrackControllerPutResponse, type TrackControllerPutResponses, type TrackControllerRemoveData, type TrackControllerRemoveResponse, type TrackControllerRemoveResponses, type TrackHasScanStationsError, type TrackIdsNotMatchingError, type TrackLapTimeCantBeNegativeError, type TrackNotFoundError, type TrackScan, type UpdateDistanceDonation, type UpdateDonation, type UpdateDonor, type UpdateFixedDonation, type UpdateGroupContact, type UpdatePermission, type UpdateRunner, type UpdateRunnerCard, type UpdateRunnerOrganization, type UpdateRunnerTeam, type UpdateScan, type UpdateScanStation, type UpdateTrack, type UpdateTrackScan, type UpdateUser, type UpdateUserGroup, type User, type UserAction, type UserControllerGetAllData, type UserControllerGetAllResponse, type UserControllerGetAllResponses, type UserControllerGetOneData, type UserControllerGetOneError, type UserControllerGetOneErrors, type UserControllerGetOneResponse, type UserControllerGetOneResponses, type UserControllerGetPermissionsData, type UserControllerGetPermissionsError, type UserControllerGetPermissionsErrors, type UserControllerGetPermissionsResponse, type UserControllerGetPermissionsResponses, type UserControllerPostData, type UserControllerPostError, type UserControllerPostErrors, type UserControllerPostResponse, type UserControllerPostResponses, type UserControllerPutData, type UserControllerPutError, type UserControllerPutErrors, type UserControllerPutResponse, type UserControllerPutResponses, type UserControllerRemoveData, type UserControllerRemoveError, type UserControllerRemoveErrors, type UserControllerRemoveResponse, type UserControllerRemoveResponses, type UserDeletionNotConfirmedError, type UserDisabledError, type UserEmailNeededError, type UserGroup, type UserGroupControllerGetAllData, type UserGroupControllerGetAllResponse, type UserGroupControllerGetAllResponses, type UserGroupControllerGetOneData, type UserGroupControllerGetOneError, type UserGroupControllerGetOneErrors, type UserGroupControllerGetOneResponse, type UserGroupControllerGetOneResponses, type UserGroupControllerGetPermissionsData, type UserGroupControllerGetPermissionsError, type UserGroupControllerGetPermissionsErrors, type UserGroupControllerGetPermissionsResponse, type UserGroupControllerGetPermissionsResponses, type UserGroupControllerPostData, type UserGroupControllerPostResponse, type UserGroupControllerPostResponses, type UserGroupControllerPutData, type UserGroupControllerPutError, type UserGroupControllerPutErrors, type UserGroupControllerPutResponse, type UserGroupControllerPutResponses, type UserGroupControllerRemoveData, type UserGroupControllerRemoveResponse, type UserGroupControllerRemoveResponses, type UserGroupIdsNotMatchingError, type UserGroupNotFoundError, type UserIdsNotMatchingError, type UserNonexistantOrRefreshtokenInvalidError, type UserNotFoundError, type UserNotFoundOrRefreshTokenCountInvalidError, type UsernameContainsIllegalCharacterError, type UsernameOrEmailNeededError, authControllerGetResetToken, authControllerLogin, authControllerLogout, authControllerRefresh, authControllerResetPassword, donationControllerGetAll, donationControllerGetOne, donationControllerPostDistance, donationControllerPostFixed, donationControllerPutDistance, donationControllerPutFixed, donationControllerRemove, donorControllerGetAll, donorControllerGetOne, donorControllerPost, donorControllerPut, donorControllerRemove, groupContactControllerGetAll, groupContactControllerGetOne, groupContactControllerPost, groupContactControllerPut, groupContactControllerRemove, importControllerPostCsv, importControllerPostJson, importControllerPostOrgsCsv, importControllerPostOrgsJson, importControllerPostTeamsCsv, importControllerPostTeamsJson, meControllerGet, meControllerGetPermissions, meControllerPut, meControllerRemove, permissionControllerGetAll, permissionControllerGetOne, permissionControllerPost, permissionControllerPut, permissionControllerRemove, runnerCardControllerGetAll, runnerCardControllerGetOne, runnerCardControllerPost, runnerCardControllerPostBlancoBulk, runnerCardControllerPut, runnerCardControllerRemove, runnerControllerGetAll, runnerControllerGetOne, runnerControllerGetScans, runnerControllerPost, runnerControllerPut, runnerControllerRemove, runnerOrganizationControllerGetAll, runnerOrganizationControllerGetOne, runnerOrganizationControllerGetRunners, runnerOrganizationControllerPost, runnerOrganizationControllerPut, runnerOrganizationControllerRemove, runnerSelfServiceControllerGet, runnerSelfServiceControllerGetScans, runnerSelfServiceControllerGetSelfserviceOrg, runnerSelfServiceControllerGetStationMe, runnerSelfServiceControllerRegisterOrganizationRunner, runnerSelfServiceControllerRegisterRunner, runnerSelfServiceControllerRemove, runnerSelfServiceControllerRequestNewToken, runnerTeamControllerGetAll, runnerTeamControllerGetOne, runnerTeamControllerGetRunners, runnerTeamControllerPost, runnerTeamControllerPut, runnerTeamControllerRemove, scanControllerGetAll, scanControllerGetOne, scanControllerPost, scanControllerPostTrackScans, scanControllerPut, scanControllerPutTrackScan, scanControllerRemove, scanStationControllerGetAll, scanStationControllerGetOne, scanStationControllerPost, scanStationControllerPut, scanStationControllerRemove, statsClientControllerGetAll, statsClientControllerGetOne, statsClientControllerPost, statsClientControllerRemove, statsControllerGet, statsControllerGetTopOrgsByDistance, statsControllerGetTopOrgsByDonations, statsControllerGetTopRunnersByDistance, statsControllerGetTopRunnersByDonations, statsControllerGetTopRunnersByLaptime, statsControllerGetTopRunnersByTrackTime, statsControllerGetTopTeamsByDistance, statsControllerGetTopTeamsByDonations, statusControllerGet, statusControllerGetVersion, trackControllerGetAll, trackControllerGetOne, trackControllerPost, trackControllerPut, trackControllerRemove, userControllerGetAll, userControllerGetOne, userControllerGetPermissions, userControllerPost, userControllerPut, userControllerRemove, userGroupControllerGetAll, userGroupControllerGetOne, userGroupControllerGetPermissions, userGroupControllerPost, userGroupControllerPut, userGroupControllerRemove }; diff --git a/dist/index.mjs b/dist/index.mjs new file mode 100644 index 0000000..16ce464 --- /dev/null +++ b/dist/index.mjs @@ -0,0 +1,1490 @@ +import { createClient, createConfig } from '@hey-api/client-fetch'; + +const client = createClient(createConfig({ + baseUrl: "https://run.lauf-fuer-kaya.de" +})); + +const authControllerLogin = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/login", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerLogout = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/logout", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerRefresh = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/refresh", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerGetResetToken = (options) => { + return (options?.client ?? client).post({ + url: "/api/auth/reset", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const authControllerResetPassword = (options) => { + return (options.client ?? client).post({ + url: "/api/auth/reset/{token}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations", + ...options + }); +}; +const donationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/{id}", + ...options + }); +}; +const donationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/{id}", + ...options + }); +}; +const donationControllerPostFixed = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/fixed", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPostDistance = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/distance", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPutFixed = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/fixed/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donationControllerPutDistance = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donations/distance/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donorControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors", + ...options + }); +}; +const donorControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const donorControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options + }); +}; +const donorControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options + }); +}; +const donorControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/donors/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const groupContactControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts", + ...options + }); +}; +const groupContactControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const groupContactControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options + }); +}; +const groupContactControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options + }); +}; +const groupContactControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/contacts/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans", + ...options + }); +}; +const scanControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options + }); +}; +const scanControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options + }); +}; +const scanControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerPostTrackScans = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/trackscans", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanControllerPutTrackScan = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/scans/trackscans/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards", + ...options + }); +}; +const runnerCardControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options + }); +}; +const runnerCardControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options + }); +}; +const runnerCardControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerCardControllerPostBlancoBulk = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/cards/bulk", + ...options + }); +}; +const runnerControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners", + ...options + }); +}; +const runnerControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options + }); +}; +const runnerControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options + }); +}; +const runnerControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerControllerGetScans = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/{id}/scans", + ...options + }); +}; +const importControllerPostJson = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostOrgsJson = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostTeamsJson = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/import", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const importControllerPostCsv = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/runners/import/csv", + ...options + }); +}; +const importControllerPostOrgsCsv = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/import/csv", + ...options + }); +}; +const importControllerPostTeamsCsv = (options) => { + return (options.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/import/csv", + ...options + }); +}; +const permissionControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions", + ...options + }); +}; +const permissionControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const permissionControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options + }); +}; +const permissionControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options + }); +}; +const permissionControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/permissions/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const meControllerRemove = (options) => { + return (options?.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options + }); +}; +const meControllerGet = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options + }); +}; +const meControllerPut = (options) => { + return (options?.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const meControllerGetPermissions = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/me/permissions", + ...options + }); +}; +const runnerTeamControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams", + ...options + }); +}; +const runnerTeamControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerTeamControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options + }); +}; +const runnerTeamControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options + }); +}; +const runnerTeamControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerTeamControllerGetRunners = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/teams/{id}/runners", + ...options + }); +}; +const runnerOrganizationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations", + ...options + }); +}; +const runnerOrganizationControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerOrganizationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options + }); +}; +const runnerOrganizationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options + }); +}; +const runnerOrganizationControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerOrganizationControllerGetRunners = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/organizations/{id}/runners", + ...options + }); +}; +const runnerSelfServiceControllerRemove = (options) => { + return (options.client ?? client).delete({ + url: "/api/runners/me/{jwt}", + ...options + }); +}; +const runnerSelfServiceControllerGet = (options) => { + return (options.client ?? client).get({ + url: "/api/runners/me/{jwt}", + ...options + }); +}; +const runnerSelfServiceControllerGetScans = (options) => { + return (options.client ?? client).get({ + url: "/api/runners/me/{jwt}/scans", + ...options + }); +}; +const runnerSelfServiceControllerGetStationMe = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/me", + ...options + }); +}; +const runnerSelfServiceControllerRequestNewToken = (options) => { + return (options?.client ?? client).post({ + url: "/api/runners/login", + ...options + }); +}; +const runnerSelfServiceControllerRegisterRunner = (options) => { + return (options?.client ?? client).post({ + url: "/api/runners/register", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerSelfServiceControllerRegisterOrganizationRunner = (options) => { + return (options.client ?? client).post({ + url: "/api/runners/register/{token}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const runnerSelfServiceControllerGetSelfserviceOrg = (options) => { + return (options.client ?? client).get({ + url: "/api/organizations/selfservice/{token}", + ...options + }); +}; +const scanStationControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations", + ...options + }); +}; +const scanStationControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const scanStationControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options + }); +}; +const scanStationControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options + }); +}; +const scanStationControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stations/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const statsClientControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients", + ...options + }); +}; +const statsClientControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const statsClientControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients/{id}", + ...options + }); +}; +const statsClientControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/statsclients/{id}", + ...options + }); +}; +const statsControllerGet = (options) => { + return (options?.client ?? client).get({ + url: "/api/stats", + ...options + }); +}; +const statsControllerGetTopRunnersByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/distance", + ...options + }); +}; +const statsControllerGetTopRunnersByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/donations", + ...options + }); +}; +const statsControllerGetTopRunnersByLaptime = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/runners/laptime", + ...options + }); +}; +const statsControllerGetTopRunnersByTrackTime = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/scans", + ...options + }); +}; +const statsControllerGetTopTeamsByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/teams/distance", + ...options + }); +}; +const statsControllerGetTopTeamsByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/teams/donations", + ...options + }); +}; +const statsControllerGetTopOrgsByDistance = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/organizations/distance", + ...options + }); +}; +const statsControllerGetTopOrgsByDonations = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + }, + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/stats/organizations/donations", + ...options + }); +}; +const statusControllerGet = (options) => { + return (options?.client ?? client).get({ + url: "/api/status", + ...options + }); +}; +const statusControllerGetVersion = (options) => { + return (options?.client ?? client).get({ + url: "/api/version", + ...options + }); +}; +const trackControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks", + ...options + }); +}; +const trackControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const trackControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options + }); +}; +const trackControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options + }); +}; +const trackControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/tracks/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users", + ...options + }); +}; +const userControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options + }); +}; +const userControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options + }); +}; +const userControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userControllerGetPermissions = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/users/{id}/permissions", + ...options + }); +}; +const userGroupControllerGetAll = (options) => { + return (options?.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups", + ...options + }); +}; +const userGroupControllerPost = (options) => { + return (options?.client ?? client).post({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userGroupControllerRemove = (options) => { + return (options.client ?? client).delete({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options + }); +}; +const userGroupControllerGetOne = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options + }); +}; +const userGroupControllerPut = (options) => { + return (options.client ?? client).put({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}", + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers + } + }); +}; +const userGroupControllerGetPermissions = (options) => { + return (options.client ?? client).get({ + security: [ + { + scheme: "bearer", + type: "http" + } + ], + url: "/api/usergroups/{id}/permissions", + ...options + }); +}; + +export { authControllerGetResetToken, authControllerLogin, authControllerLogout, authControllerRefresh, authControllerResetPassword, donationControllerGetAll, donationControllerGetOne, donationControllerPostDistance, donationControllerPostFixed, donationControllerPutDistance, donationControllerPutFixed, donationControllerRemove, donorControllerGetAll, donorControllerGetOne, donorControllerPost, donorControllerPut, donorControllerRemove, groupContactControllerGetAll, groupContactControllerGetOne, groupContactControllerPost, groupContactControllerPut, groupContactControllerRemove, importControllerPostCsv, importControllerPostJson, importControllerPostOrgsCsv, importControllerPostOrgsJson, importControllerPostTeamsCsv, importControllerPostTeamsJson, meControllerGet, meControllerGetPermissions, meControllerPut, meControllerRemove, permissionControllerGetAll, permissionControllerGetOne, permissionControllerPost, permissionControllerPut, permissionControllerRemove, runnerCardControllerGetAll, runnerCardControllerGetOne, runnerCardControllerPost, runnerCardControllerPostBlancoBulk, runnerCardControllerPut, runnerCardControllerRemove, runnerControllerGetAll, runnerControllerGetOne, runnerControllerGetScans, runnerControllerPost, runnerControllerPut, runnerControllerRemove, runnerOrganizationControllerGetAll, runnerOrganizationControllerGetOne, runnerOrganizationControllerGetRunners, runnerOrganizationControllerPost, runnerOrganizationControllerPut, runnerOrganizationControllerRemove, runnerSelfServiceControllerGet, runnerSelfServiceControllerGetScans, runnerSelfServiceControllerGetSelfserviceOrg, runnerSelfServiceControllerGetStationMe, runnerSelfServiceControllerRegisterOrganizationRunner, runnerSelfServiceControllerRegisterRunner, runnerSelfServiceControllerRemove, runnerSelfServiceControllerRequestNewToken, runnerTeamControllerGetAll, runnerTeamControllerGetOne, runnerTeamControllerGetRunners, runnerTeamControllerPost, runnerTeamControllerPut, runnerTeamControllerRemove, scanControllerGetAll, scanControllerGetOne, scanControllerPost, scanControllerPostTrackScans, scanControllerPut, scanControllerPutTrackScan, scanControllerRemove, scanStationControllerGetAll, scanStationControllerGetOne, scanStationControllerPost, scanStationControllerPut, scanStationControllerRemove, statsClientControllerGetAll, statsClientControllerGetOne, statsClientControllerPost, statsClientControllerRemove, statsControllerGet, statsControllerGetTopOrgsByDistance, statsControllerGetTopOrgsByDonations, statsControllerGetTopRunnersByDistance, statsControllerGetTopRunnersByDonations, statsControllerGetTopRunnersByLaptime, statsControllerGetTopRunnersByTrackTime, statsControllerGetTopTeamsByDistance, statsControllerGetTopTeamsByDonations, statusControllerGet, statusControllerGetVersion, trackControllerGetAll, trackControllerGetOne, trackControllerPost, trackControllerPut, trackControllerRemove, userControllerGetAll, userControllerGetOne, userControllerGetPermissions, userControllerPost, userControllerPut, userControllerRemove, userGroupControllerGetAll, userGroupControllerGetOne, userGroupControllerGetPermissions, userGroupControllerPost, userGroupControllerPut, userGroupControllerRemove }; diff --git a/openapi-ts.config.ts b/openapi-ts.config.ts new file mode 100644 index 0000000..ac28417 --- /dev/null +++ b/openapi-ts.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from '@hey-api/openapi-ts'; + +export default defineConfig({ + input: 'https://run.lauf-fuer-kaya.de/api/docs/openapi.json', + output: 'src', + plugins: ['@hey-api/client-fetch'], +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..80167fe --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "type": "module", + "name": "@odit/lfk-client", + "version": "0.0.1", + "description": "", + "scripts": { + "build": "openapi-ts && unbuild" + }, + "exports": { + ".": { + "require": "./dist/index.cjs", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + } + }, + "main": "./dist/index.cjs", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", + "keywords": [], + "files": [ + "./package.json", + "./dist" + ], + "author": "", + "license": "ISC", + "packageManager": "pnpm@10.6.4", + "dependencies": { + "@hey-api/client-fetch": "^0.8.3" + }, + "devDependencies": { + "@hey-api/openapi-ts": "^0.64.12", + "unbuild": "^3.5.0" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..8c7604b --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,2191 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@hey-api/client-fetch': + specifier: ^0.8.3 + version: 0.8.3 + devDependencies: + '@hey-api/openapi-ts': + specifier: ^0.64.12 + version: 0.64.12(typescript@5.8.2) + unbuild: + specifier: ^3.5.0 + version: 3.5.0(typescript@5.8.2) + +packages: + + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.25.9': + resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + engines: {node: '>=6.9.0'} + + '@esbuild/aix-ppc64@0.24.2': + resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/aix-ppc64@0.25.1': + resolution: {integrity: sha512-kfYGy8IdzTGy+z0vFGvExZtxkFlA4zAxgKEahG9KE1ScBjpQnFsNOX8KTU5ojNru5ed5CVoJYXFtoxaq5nFbjQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.24.2': + resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm64@0.25.1': + resolution: {integrity: sha512-50tM0zCJW5kGqgG7fQ7IHvQOcAn9TKiVRuQ/lN0xR+T2lzEFvAi1ZcS8DiksFcEpf1t/GYOeOfCAgDHFpkiSmA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.24.2': + resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-arm@0.25.1': + resolution: {integrity: sha512-dp+MshLYux6j/JjdqVLnMglQlFu+MuVeNrmT5nk6q07wNhCdSnB7QZj+7G8VMUGh1q+vj2Bq8kRsuyA00I/k+Q==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.24.2': + resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/android-x64@0.25.1': + resolution: {integrity: sha512-GCj6WfUtNldqUzYkN/ITtlhwQqGWu9S45vUXs7EIYf+7rCiiqH9bCloatO9VhxsL0Pji+PF4Lz2XXCES+Q8hDw==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.24.2': + resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-arm64@0.25.1': + resolution: {integrity: sha512-5hEZKPf+nQjYoSr/elb62U19/l1mZDdqidGfmFutVUjjUZrOazAtwK+Kr+3y0C/oeJfLlxo9fXb1w7L+P7E4FQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.24.2': + resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.1': + resolution: {integrity: sha512-hxVnwL2Dqs3fM1IWq8Iezh0cX7ZGdVhbTfnOy5uURtao5OIVCEyj9xIzemDi7sRvKsuSdtCAhMKarxqtlyVyfA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.24.2': + resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-arm64@0.25.1': + resolution: {integrity: sha512-1MrCZs0fZa2g8E+FUo2ipw6jw5qqQiH+tERoS5fAfKnRx6NXH31tXBKI3VpmLijLH6yriMZsxJtaXUyFt/8Y4A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.24.2': + resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.1': + resolution: {integrity: sha512-0IZWLiTyz7nm0xuIs0q1Y3QWJC52R8aSXxe40VUxm6BB1RNmkODtW6LHvWRrGiICulcX7ZvyH6h5fqdLu4gkww==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.24.2': + resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm64@0.25.1': + resolution: {integrity: sha512-jaN3dHi0/DDPelk0nLcXRm1q7DNJpjXy7yWaWvbfkPvI+7XNSc/lDOnCLN7gzsyzgu6qSAmgSvP9oXAhP973uQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.24.2': + resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-arm@0.25.1': + resolution: {integrity: sha512-NdKOhS4u7JhDKw9G3cY6sWqFcnLITn6SqivVArbzIaf3cemShqfLGHYMx8Xlm/lBit3/5d7kXvriTUGa5YViuQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.24.2': + resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-ia32@0.25.1': + resolution: {integrity: sha512-OJykPaF4v8JidKNGz8c/q1lBO44sQNUQtq1KktJXdBLn1hPod5rE/Hko5ugKKZd+D2+o1a9MFGUEIUwO2YfgkQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.24.2': + resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-loong64@0.25.1': + resolution: {integrity: sha512-nGfornQj4dzcq5Vp835oM/o21UMlXzn79KobKlcs3Wz9smwiifknLy4xDCLUU0BWp7b/houtdrgUz7nOGnfIYg==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.24.2': + resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-mips64el@0.25.1': + resolution: {integrity: sha512-1osBbPEFYwIE5IVB/0g2X6i1qInZa1aIoj1TdL4AaAb55xIIgbg8Doq6a5BzYWgr+tEcDzYH67XVnTmUzL+nXg==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.24.2': + resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-ppc64@0.25.1': + resolution: {integrity: sha512-/6VBJOwUf3TdTvJZ82qF3tbLuWsscd7/1w+D9LH0W/SqUgM5/JJD0lrJ1fVIfZsqB6RFmLCe0Xz3fmZc3WtyVg==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.24.2': + resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-riscv64@0.25.1': + resolution: {integrity: sha512-nSut/Mx5gnilhcq2yIMLMe3Wl4FK5wx/o0QuuCLMtmJn+WeWYoEGDN1ipcN72g1WHsnIbxGXd4i/MF0gTcuAjQ==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.24.2': + resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-s390x@0.25.1': + resolution: {integrity: sha512-cEECeLlJNfT8kZHqLarDBQso9a27o2Zd2AQ8USAEoGtejOrCYHNtKP8XQhMDJMtthdF4GBmjR2au3x1udADQQQ==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.24.2': + resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/linux-x64@0.25.1': + resolution: {integrity: sha512-xbfUhu/gnvSEg+EGovRc+kjBAkrvtk38RlerAzQxvMzlB4fXpCFCeUAYzJvrnhFtdeyVCDANSjJvOvGYoeKzFA==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.24.2': + resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-arm64@0.25.1': + resolution: {integrity: sha512-O96poM2XGhLtpTh+s4+nP7YCCAfb4tJNRVZHfIE7dgmax+yMP2WgMd2OecBuaATHKTHsLWHQeuaxMRnCsH8+5g==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.24.2': + resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.1': + resolution: {integrity: sha512-X53z6uXip6KFXBQ+Krbx25XHV/NCbzryM6ehOAeAil7X7oa4XIq+394PWGnwaSQ2WRA0KI6PUO6hTO5zeF5ijA==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.24.2': + resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-arm64@0.25.1': + resolution: {integrity: sha512-Na9T3szbXezdzM/Kfs3GcRQNjHzM6GzFBeU1/6IV/npKP5ORtp9zbQjvkDJ47s6BCgaAZnnnu/cY1x342+MvZg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.24.2': + resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.1': + resolution: {integrity: sha512-T3H78X2h1tszfRSf+txbt5aOp/e7TAz3ptVKu9Oyir3IAOFPGV6O9c2naym5TOriy1l0nNf6a4X5UXRZSGX/dw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.24.2': + resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/sunos-x64@0.25.1': + resolution: {integrity: sha512-2H3RUvcmULO7dIE5EWJH8eubZAI4xw54H1ilJnRNZdeo8dTADEZ21w6J22XBkXqGJbe0+wnNJtw3UXRoLJnFEg==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.24.2': + resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-arm64@0.25.1': + resolution: {integrity: sha512-GE7XvrdOzrb+yVKB9KsRMq+7a2U/K5Cf/8grVFRAGJmfADr/e/ODQ134RK2/eeHqYV5eQRFxb1hY7Nr15fv1NQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.24.2': + resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-ia32@0.25.1': + resolution: {integrity: sha512-uOxSJCIcavSiT6UnBhBzE8wy3n0hOkJsBOzy7HDAuTDE++1DJMRRVCPGisULScHL+a/ZwdXPpXD3IyFKjA7K8A==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.24.2': + resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@esbuild/win32-x64@0.25.1': + resolution: {integrity: sha512-Y1EQdcfwMSeQN/ujR5VayLOJ1BHaK+ssyk0AEzPjC+t1lITgsnccPqFjb6V+LsTp/9Iov4ysfjxLaGJ9RPtkVg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@hey-api/client-fetch@0.8.3': + resolution: {integrity: sha512-EBVa8wwUMyBSeQ32PtCz6u5bFQZIMAufvwCT1ZtpjqT3caJQEza4NokbGU50q1ZVrMsM5Ot6GuDNJOF3TMo26Q==} + + '@hey-api/json-schema-ref-parser@1.0.2': + resolution: {integrity: sha512-F6LSkttZcT/XiX3ydeDqTY3uRN3BLJMwyMTk4kg/ichZlKUp3+3Odv0WokSmXGSoZGTW/N66FROMYAm5NPdJlA==} + engines: {node: '>= 16'} + + '@hey-api/openapi-ts@0.64.12': + resolution: {integrity: sha512-Y1UUJWgSYHTqU33sRzv+ASs9Txqz+wJ4UE/f6g69X81SoOPMpa2LXLbNvAtNFUpTMcdCV2hd7+m2/gxmkx79DQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=22.10.0} + hasBin: true + peerDependencies: + typescript: ^5.5.3 + + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jsdevtools/ono@7.1.3': + resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==} + + '@rollup/plugin-alias@5.1.1': + resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-commonjs@28.0.3': + resolution: {integrity: sha512-pyltgilam1QPdn+Zd9gaCfOLcnjMEJ9gV+bTw6/r73INdvzf1ah9zLIJBm+kW7R6IUFIQ1YO+VqZtYxZNWFPEQ==} + engines: {node: '>=16.0.0 || 14 >= 14.17'} + peerDependencies: + rollup: ^2.68.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-json@6.1.0': + resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-node-resolve@16.0.1': + resolution: {integrity: sha512-tk5YCxJWIG81umIvNkSod2qK5KyQW19qcBF/B78n1bjtOON6gzKoVeSzAE8yHCZEDmqkHKkxplExA8KzdJLJpA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-replace@6.0.2': + resolution: {integrity: sha512-7QaYCf8bqF04dOy7w/eHmJeNExxTYwvKAmlSAH/EaWWUzbT0h5sbF6bktFoX/0F/0qwng5/dWFMyf3gzaM8DsQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/pluginutils@5.1.4': + resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/rollup-android-arm-eabi@4.36.0': + resolution: {integrity: sha512-jgrXjjcEwN6XpZXL0HUeOVGfjXhPyxAbbhD0BlXUB+abTOpbPiN5Wb3kOT7yb+uEtATNYF5x5gIfwutmuBA26w==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.36.0': + resolution: {integrity: sha512-NyfuLvdPdNUfUNeYKUwPwKsE5SXa2J6bCt2LdB/N+AxShnkpiczi3tcLJrm5mA+eqpy0HmaIY9F6XCa32N5yzg==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.36.0': + resolution: {integrity: sha512-JQ1Jk5G4bGrD4pWJQzWsD8I1n1mgPXq33+/vP4sk8j/z/C2siRuxZtaUA7yMTf71TCZTZl/4e1bfzwUmFb3+rw==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.36.0': + resolution: {integrity: sha512-6c6wMZa1lrtiRsbDziCmjE53YbTkxMYhhnWnSW8R/yqsM7a6mSJ3uAVT0t8Y/DGt7gxUWYuFM4bwWk9XCJrFKA==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.36.0': + resolution: {integrity: sha512-KXVsijKeJXOl8QzXTsA+sHVDsFOmMCdBRgFmBb+mfEb/7geR7+C8ypAml4fquUt14ZyVXaw2o1FWhqAfOvA4sg==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.36.0': + resolution: {integrity: sha512-dVeWq1ebbvByI+ndz4IJcD4a09RJgRYmLccwlQ8bPd4olz3Y213uf1iwvc7ZaxNn2ab7bjc08PrtBgMu6nb4pQ==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.36.0': + resolution: {integrity: sha512-bvXVU42mOVcF4le6XSjscdXjqx8okv4n5vmwgzcmtvFdifQ5U4dXFYaCB87namDRKlUL9ybVtLQ9ztnawaSzvg==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.36.0': + resolution: {integrity: sha512-JFIQrDJYrxOnyDQGYkqnNBtjDwTgbasdbUiQvcU8JmGDfValfH1lNpng+4FWlhaVIR4KPkeddYjsVVbmJYvDcg==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.36.0': + resolution: {integrity: sha512-KqjYVh3oM1bj//5X7k79PSCZ6CvaVzb7Qs7VMWS+SlWB5M8p3FqufLP9VNp4CazJ0CsPDLwVD9r3vX7Ci4J56A==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.36.0': + resolution: {integrity: sha512-QiGnhScND+mAAtfHqeT+cB1S9yFnNQ/EwCg5yE3MzoaZZnIV0RV9O5alJAoJKX/sBONVKeZdMfO8QSaWEygMhw==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loongarch64-gnu@4.36.0': + resolution: {integrity: sha512-1ZPyEDWF8phd4FQtTzMh8FQwqzvIjLsl6/84gzUxnMNFBtExBtpL51H67mV9xipuxl1AEAerRBgBwFNpkw8+Lg==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.36.0': + resolution: {integrity: sha512-VMPMEIUpPFKpPI9GZMhJrtu8rxnp6mJR3ZzQPykq4xc2GmdHj3Q4cA+7avMyegXy4n1v+Qynr9fR88BmyO74tg==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.36.0': + resolution: {integrity: sha512-ttE6ayb/kHwNRJGYLpuAvB7SMtOeQnVXEIpMtAvx3kepFQeowVED0n1K9nAdraHUPJ5hydEMxBpIR7o4nrm8uA==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.36.0': + resolution: {integrity: sha512-4a5gf2jpS0AIe7uBjxDeUMNcFmaRTbNv7NxI5xOCs4lhzsVyGR/0qBXduPnoWf6dGC365saTiwag8hP1imTgag==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.36.0': + resolution: {integrity: sha512-5KtoW8UWmwFKQ96aQL3LlRXX16IMwyzMq/jSSVIIyAANiE1doaQsx/KRyhAvpHlPjPiSU/AYX/8m+lQ9VToxFQ==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.36.0': + resolution: {integrity: sha512-sycrYZPrv2ag4OCvaN5js+f01eoZ2U+RmT5as8vhxiFz+kxwlHrsxOwKPSA8WyS+Wc6Epid9QeI/IkQ9NkgYyQ==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.36.0': + resolution: {integrity: sha512-qbqt4N7tokFwwSVlWDsjfoHgviS3n/vZ8LK0h1uLG9TYIRuUTJC88E1xb3LM2iqZ/WTqNQjYrtmtGmrmmawB6A==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.36.0': + resolution: {integrity: sha512-t+RY0JuRamIocMuQcfwYSOkmdX9dtkr1PbhKW42AMvaDQa+jOdpUYysroTF/nuPpAaQMWp7ye+ndlmmthieJrQ==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.36.0': + resolution: {integrity: sha512-aRXd7tRZkWLqGbChgcMMDEHjOKudo1kChb1Jt1IfR8cY/KIpgNviLeJy5FUb9IpSuQj8dU2fAYNMPW/hLKOSTw==} + cpu: [x64] + os: [win32] + + '@trysound/sax@0.2.0': + resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} + engines: {node: '>=10.13.0'} + + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/resolve@1.20.2': + resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} + + acorn@8.14.1: + resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} + engines: {node: '>=0.4.0'} + hasBin: true + + argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + autoprefixer@10.4.21: + resolution: {integrity: sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + + browserslist@4.24.4: + resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + c12@2.0.1: + resolution: {integrity: sha512-Z4JgsKXHG37C6PYUtIxCfLJZvo6FyhHJoClwwb9ftUkLpPSkuYqn6Tr+vnaN8hymm0kIbcg6Ey3kv/Q71k5w/A==} + peerDependencies: + magicast: ^0.3.5 + peerDependenciesMeta: + magicast: + optional: true + + caniuse-api@3.0.0: + resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} + + caniuse-lite@1.0.30001705: + resolution: {integrity: sha512-S0uyMMiYvA7CxNgomYBwwwPUnWzFD83f3B1ce5jHUfHTH//QL6hHsreI8RVC5606R4ssqravelYO5TU6t8sEyg==} + + chokidar@4.0.3: + resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} + engines: {node: '>= 14.16.0'} + + chownr@2.0.0: + resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} + engines: {node: '>=10'} + + citty@0.1.6: + resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==} + + colord@2.9.3: + resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} + + commander@13.0.0: + resolution: {integrity: sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ==} + engines: {node: '>=18'} + + commander@7.2.0: + resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} + engines: {node: '>= 10'} + + commondir@1.0.1: + resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + confbox@0.2.1: + resolution: {integrity: sha512-hkT3yDPFbs95mNCy1+7qNKC6Pro+/ibzYxtM2iqEigpf0sVw+bg4Zh9/snjsBcf990vfIsg5+1U7VyiyBb3etg==} + + consola@3.4.1: + resolution: {integrity: sha512-zaUUWockhqxFf4bSXS+kTJwxWvAyMuKtShx0BWcGrMEUqbETcBCT91iQs9pECNx7yz8VH4VeWW/1KAbhE8kiww==} + engines: {node: ^14.18.0 || >=16.10.0} + + css-declaration-sorter@7.2.0: + resolution: {integrity: sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow==} + engines: {node: ^14 || ^16 || >=18} + peerDependencies: + postcss: ^8.0.9 + + css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + + css-tree@2.2.1: + resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + + css-tree@2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + + css-what@6.1.0: + resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + engines: {node: '>= 6'} + + cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + + cssnano-preset-default@7.0.6: + resolution: {integrity: sha512-ZzrgYupYxEvdGGuqL+JKOY70s7+saoNlHSCK/OGn1vB2pQK8KSET8jvenzItcY+kA7NoWvfbb/YhlzuzNKjOhQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + cssnano-utils@5.0.0: + resolution: {integrity: sha512-Uij0Xdxc24L6SirFr25MlwC2rCFX6scyUmuKpzI+JQ7cyqDEwD42fJ0xfB3yLfOnRDU5LKGgjQ9FA6LYh76GWQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + cssnano@7.0.6: + resolution: {integrity: sha512-54woqx8SCbp8HwvNZYn68ZFAepuouZW4lTwiMVnBErM3VkO7/Sd4oTOt3Zz3bPx3kxQ36aISppyXj2Md4lg8bw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + csso@5.0.5: + resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + + deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + + defu@6.1.4: + resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + + destr@2.0.3: + resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} + + dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + + domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + + domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + + domutils@3.2.2: + resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==} + + dotenv@16.4.7: + resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} + engines: {node: '>=12'} + + electron-to-chromium@1.5.120: + resolution: {integrity: sha512-oTUp3gfX1gZI+xfD2djr2rzQdHCwHzPQrrK0CD7WpTdF0nPdQ/INcRVjWgLdCT4a9W3jFObR9DAfsuyFQnI8CQ==} + + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + esbuild@0.24.2: + resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==} + engines: {node: '>=18'} + hasBin: true + + esbuild@0.25.1: + resolution: {integrity: sha512-BGO5LtrGC7vxnqucAe/rmvKdJllfGaYWdyABvyMoXQlfYMb2bbRuReWR5tEGE//4LcNJj9XrkovTqNYRFZHAMQ==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + exsolve@1.0.4: + resolution: {integrity: sha512-xsZH6PXaER4XoV+NiT7JHp1bJodJVT+cxeSH1G0f0tlT0lJqYuHUP3bUx2HtfTDvOagMINYp8rsqusxud3RXhw==} + + fdir@6.4.3: + resolution: {integrity: sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + fix-dts-default-cjs-exports@1.0.0: + resolution: {integrity: sha512-i9Vd++WOWo6JilNgZvNvmy1T0r+/j7vikghQSEhKIuDwz4GjUrYj+Z18zlL7MleYNxE+xE6t3aG7LiAwA1P+dg==} + + fraction.js@4.3.7: + resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} + + fs-minipass@2.1.0: + resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} + engines: {node: '>= 8'} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + giget@1.2.5: + resolution: {integrity: sha512-r1ekGw/Bgpi3HLV3h1MRBIlSAdHoIMklpaQ3OQLFcRw9PwAj2rqigvIbg+dBUI51OxVI2jsEtDywDBjSiuf7Ug==} + hasBin: true + + handlebars@4.7.8: + resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} + engines: {node: '>=0.4.7'} + hasBin: true + + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} + engines: {node: '>= 0.4'} + + is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + + is-reference@1.2.1: + resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} + + jiti@1.21.7: + resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} + hasBin: true + + jiti@2.4.2: + resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + hasBin: true + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + + knitwork@1.2.0: + resolution: {integrity: sha512-xYSH7AvuQ6nXkq42x0v5S8/Iry+cfulBz/DJQzhIyESdLD7425jXsPy4vn5cCXU+HhRN2kVw51Vd1K6/By4BQg==} + + lilconfig@3.1.3: + resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} + engines: {node: '>=14'} + + lodash.memoize@4.1.2: + resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + + lodash.uniq@4.5.0: + resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} + + magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + + mdn-data@2.0.28: + resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} + + mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass@3.3.6: + resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} + engines: {node: '>=8'} + + minipass@5.0.0: + resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} + engines: {node: '>=8'} + + minizlib@2.1.2: + resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} + engines: {node: '>= 8'} + + mkdirp@1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + + mkdist@2.2.0: + resolution: {integrity: sha512-GfKwu4A2grXfhj2TZm4ydfzP515NaALqKaPq4WqaZ6NhEnD47BiIQPySoCTTvVqHxYcuqVkNdCXjYf9Bz1Y04Q==} + hasBin: true + peerDependencies: + sass: ^1.83.0 + typescript: '>=5.7.2' + vue: ^3.5.13 + vue-tsc: ^1.8.27 || ^2.0.21 + peerDependenciesMeta: + sass: + optional: true + typescript: + optional: true + vue: + optional: true + vue-tsc: + optional: true + + mlly@1.7.4: + resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==} + + nanoid@3.3.10: + resolution: {integrity: sha512-vSJJTG+t/dIKAUhUDw/dLdZ9s//5OxcHqLaDWWrW4Cdq7o6tdLIczUkMXt2MBNmk6sJRZBZRXVixs7URY1CmIg==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + node-fetch-native@1.6.6: + resolution: {integrity: sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ==} + + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + + normalize-range@0.1.2: + resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} + engines: {node: '>=0.10.0'} + + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + + nypm@0.5.4: + resolution: {integrity: sha512-X0SNNrZiGU8/e/zAB7sCTtdxWTMSIO73q+xuKgglm2Yvzwlo8UoC5FNySQFCvl84uPaeADkqHUZUkWy4aH4xOA==} + engines: {node: ^14.16.0 || >=16.10.0} + hasBin: true + + ohash@1.1.6: + resolution: {integrity: sha512-TBu7PtV8YkAZn0tSxobKY2n2aAQva936lhRrj6957aDaCf9IEtqsKbgMzXE/F/sjqYOwmrukeORHNLe5glk7Cg==} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + perfect-debounce@1.0.0: + resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + + pkg-types@1.3.1: + resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + + pkg-types@2.1.0: + resolution: {integrity: sha512-wmJwA+8ihJixSoHKxZJRBQG1oY8Yr9pGLzRmSsNms0iNWyHHAlZCa7mmKiFR10YPZuz/2k169JiS/inOjBCZ2A==} + + postcss-calc@10.1.1: + resolution: {integrity: sha512-NYEsLHh8DgG/PRH2+G9BTuUdtf9ViS+vdoQ0YA5OQdGsfN4ztiwtDWNtBl9EKeqNMFnIu8IKZ0cLxEQ5r5KVMw==} + engines: {node: ^18.12 || ^20.9 || >=22.0} + peerDependencies: + postcss: ^8.4.38 + + postcss-colormin@7.0.2: + resolution: {integrity: sha512-YntRXNngcvEvDbEjTdRWGU606eZvB5prmHG4BF0yLmVpamXbpsRJzevyy6MZVyuecgzI2AWAlvFi8DAeCqwpvA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-convert-values@7.0.4: + resolution: {integrity: sha512-e2LSXPqEHVW6aoGbjV9RsSSNDO3A0rZLCBxN24zvxF25WknMPpX8Dm9UxxThyEbaytzggRuZxaGXqaOhxQ514Q==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-comments@7.0.3: + resolution: {integrity: sha512-q6fjd4WU4afNhWOA2WltHgCbkRhZPgQe7cXF74fuVB/ge4QbM9HEaOIzGSiMvM+g/cOsNAUGdf2JDzqA2F8iLA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-duplicates@7.0.1: + resolution: {integrity: sha512-oZA+v8Jkpu1ct/xbbrntHRsfLGuzoP+cpt0nJe5ED2FQF8n8bJtn7Bo28jSmBYwqgqnqkuSXJfSUEE7if4nClQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-empty@7.0.0: + resolution: {integrity: sha512-e+QzoReTZ8IAwhnSdp/++7gBZ/F+nBq9y6PomfwORfP7q9nBpK5AMP64kOt0bA+lShBFbBDcgpJ3X4etHg4lzA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-overridden@7.0.0: + resolution: {integrity: sha512-GmNAzx88u3k2+sBTZrJSDauR0ccpE24omTQCVmaTTZFz1du6AasspjaUPMJ2ud4RslZpoFKyf+6MSPETLojc6w==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-merge-longhand@7.0.4: + resolution: {integrity: sha512-zer1KoZA54Q8RVHKOY5vMke0cCdNxMP3KBfDerjH/BYHh4nCIh+1Yy0t1pAEQF18ac/4z3OFclO+ZVH8azjR4A==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-merge-rules@7.0.4: + resolution: {integrity: sha512-ZsaamiMVu7uBYsIdGtKJ64PkcQt6Pcpep/uO90EpLS3dxJi6OXamIobTYcImyXGoW0Wpugh7DSD3XzxZS9JCPg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-font-values@7.0.0: + resolution: {integrity: sha512-2ckkZtgT0zG8SMc5aoNwtm5234eUx1GGFJKf2b1bSp8UflqaeFzR50lid4PfqVI9NtGqJ2J4Y7fwvnP/u1cQog==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-gradients@7.0.0: + resolution: {integrity: sha512-pdUIIdj/C93ryCHew0UgBnL2DtUS3hfFa5XtERrs4x+hmpMYGhbzo6l/Ir5de41O0GaKVpK1ZbDNXSY6GkXvtg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-params@7.0.2: + resolution: {integrity: sha512-nyqVLu4MFl9df32zTsdcLqCFfE/z2+f8GE1KHPxWOAmegSo6lpV2GNy5XQvrzwbLmiU7d+fYay4cwto1oNdAaQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-selectors@7.0.4: + resolution: {integrity: sha512-JG55VADcNb4xFCf75hXkzc1rNeURhlo7ugf6JjiiKRfMsKlDzN9CXHZDyiG6x/zGchpjQS+UAgb1d4nqXqOpmA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-nested@7.0.2: + resolution: {integrity: sha512-5osppouFc0VR9/VYzYxO03VaDa3e8F23Kfd6/9qcZTUI8P58GIYlArOET2Wq0ywSl2o2PjELhYOFI4W7l5QHKw==} + engines: {node: '>=18.0'} + peerDependencies: + postcss: ^8.2.14 + + postcss-normalize-charset@7.0.0: + resolution: {integrity: sha512-ABisNUXMeZeDNzCQxPxBCkXexvBrUHV+p7/BXOY+ulxkcjUZO0cp8ekGBwvIh2LbCwnWbyMPNJVtBSdyhM2zYQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-display-values@7.0.0: + resolution: {integrity: sha512-lnFZzNPeDf5uGMPYgGOw7v0BfB45+irSRz9gHQStdkkhiM0gTfvWkWB5BMxpn0OqgOQuZG/mRlZyJxp0EImr2Q==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-positions@7.0.0: + resolution: {integrity: sha512-I0yt8wX529UKIGs2y/9Ybs2CelSvItfmvg/DBIjTnoUSrPxSV7Z0yZ8ShSVtKNaV/wAY+m7bgtyVQLhB00A1NQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-repeat-style@7.0.0: + resolution: {integrity: sha512-o3uSGYH+2q30ieM3ppu9GTjSXIzOrRdCUn8UOMGNw7Af61bmurHTWI87hRybrP6xDHvOe5WlAj3XzN6vEO8jLw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-string@7.0.0: + resolution: {integrity: sha512-w/qzL212DFVOpMy3UGyxrND+Kb0fvCiBBujiaONIihq7VvtC7bswjWgKQU/w4VcRyDD8gpfqUiBQ4DUOwEJ6Qg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-timing-functions@7.0.0: + resolution: {integrity: sha512-tNgw3YV0LYoRwg43N3lTe3AEWZ66W7Dh7lVEpJbHoKOuHc1sLrzMLMFjP8SNULHaykzsonUEDbKedv8C+7ej6g==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-unicode@7.0.2: + resolution: {integrity: sha512-ztisabK5C/+ZWBdYC+Y9JCkp3M9qBv/XFvDtSw0d/XwfT3UaKeW/YTm/MD/QrPNxuecia46vkfEhewjwcYFjkg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-url@7.0.0: + resolution: {integrity: sha512-+d7+PpE+jyPX1hDQZYG+NaFD+Nd2ris6r8fPTBAjE8z/U41n/bib3vze8x7rKs5H1uEw5ppe9IojewouHk0klQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-whitespace@7.0.0: + resolution: {integrity: sha512-37/toN4wwZErqohedXYqWgvcHUGlT8O/m2jVkAfAe9Bd4MzRqlBmXrJRePH0e9Wgnz2X7KymTgTOaaFizQe3AQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-ordered-values@7.0.1: + resolution: {integrity: sha512-irWScWRL6nRzYmBOXReIKch75RRhNS86UPUAxXdmW/l0FcAsg0lvAXQCby/1lymxn/o0gVa6Rv/0f03eJOwHxw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-reduce-initial@7.0.2: + resolution: {integrity: sha512-pOnu9zqQww7dEKf62Nuju6JgsW2V0KRNBHxeKohU+JkHd/GAH5uvoObqFLqkeB2n20mr6yrlWDvo5UBU5GnkfA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-reduce-transforms@7.0.0: + resolution: {integrity: sha512-pnt1HKKZ07/idH8cpATX/ujMbtOGhUfE+m8gbqwJE05aTaNw8gbo34a2e3if0xc0dlu75sUOiqvwCGY3fzOHew==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-selector-parser@6.1.2: + resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} + engines: {node: '>=4'} + + postcss-selector-parser@7.1.0: + resolution: {integrity: sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==} + engines: {node: '>=4'} + + postcss-svgo@7.0.1: + resolution: {integrity: sha512-0WBUlSL4lhD9rA5k1e5D8EN5wCEyZD6HJk0jIvRxl+FDVOMlJ7DePHYWGGVc5QRqrJ3/06FTXM0bxjmJpmTPSA==} + engines: {node: ^18.12.0 || ^20.9.0 || >= 18} + peerDependencies: + postcss: ^8.4.31 + + postcss-unique-selectors@7.0.3: + resolution: {integrity: sha512-J+58u5Ic5T1QjP/LDV9g3Cx4CNOgB5vz+kM6+OxHHhFACdcDeKhBXjQmB7fnIZM12YSTvsL0Opwco83DmacW2g==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + + postcss@8.5.3: + resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} + engines: {node: ^10 || ^12 || >=14} + + pretty-bytes@6.1.1: + resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==} + engines: {node: ^14.13.1 || >=16.0.0} + + rc9@2.1.2: + resolution: {integrity: sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg==} + + readdirp@4.1.2: + resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} + engines: {node: '>= 14.18.0'} + + resolve@1.22.10: + resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + engines: {node: '>= 0.4'} + hasBin: true + + rollup-plugin-dts@6.1.1: + resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} + engines: {node: '>=16'} + peerDependencies: + rollup: ^3.29.4 || ^4 + typescript: ^4.5 || ^5.0 + + rollup@4.36.0: + resolution: {integrity: sha512-zwATAXNQxUcd40zgtQG0ZafcRK4g004WtEl7kbuhTWPvf07PsfohXl39jVUvPF7jvNAIkKPQ2XrsDlWuxBd++Q==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} + + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} + hasBin: true + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + stylehacks@7.0.4: + resolution: {integrity: sha512-i4zfNrGMt9SB4xRK9L83rlsFCgdGANfeDAYacO1pkqcE7cRHPdWHwnKZVz7WY17Veq/FvyYsRAU++Ga+qDFIww==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + svgo@3.3.2: + resolution: {integrity: sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw==} + engines: {node: '>=14.0.0'} + hasBin: true + + tar@6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} + engines: {node: '>=10'} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.12: + resolution: {integrity: sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==} + engines: {node: '>=12.0.0'} + + typescript@5.8.2: + resolution: {integrity: sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==} + engines: {node: '>=14.17'} + hasBin: true + + ufo@1.5.4: + resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + + uglify-js@3.19.3: + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} + hasBin: true + + unbuild@3.5.0: + resolution: {integrity: sha512-DPFttsiADnHRb/K+yJ9r9jdn6JyXlsmdT0S12VFC14DFSJD+cxBnHq+v0INmqqPVPxOoUjvJFYUVIb02rWnVeA==} + hasBin: true + peerDependencies: + typescript: ^5.7.3 + peerDependenciesMeta: + typescript: + optional: true + + untyped@2.0.0: + resolution: {integrity: sha512-nwNCjxJTjNuLCgFr42fEak5OcLuB3ecca+9ksPFNvtfYSLpjf+iJqSIaSnIile6ZPbKYxI5k2AfXqeopGudK/g==} + hasBin: true + + update-browserslist-db@1.1.3: + resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + wordwrap@1.0.0: + resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} + + yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + +snapshots: + + '@babel/code-frame@7.26.2': + dependencies: + '@babel/helper-validator-identifier': 7.25.9 + js-tokens: 4.0.0 + picocolors: 1.1.1 + optional: true + + '@babel/helper-validator-identifier@7.25.9': + optional: true + + '@esbuild/aix-ppc64@0.24.2': + optional: true + + '@esbuild/aix-ppc64@0.25.1': + optional: true + + '@esbuild/android-arm64@0.24.2': + optional: true + + '@esbuild/android-arm64@0.25.1': + optional: true + + '@esbuild/android-arm@0.24.2': + optional: true + + '@esbuild/android-arm@0.25.1': + optional: true + + '@esbuild/android-x64@0.24.2': + optional: true + + '@esbuild/android-x64@0.25.1': + optional: true + + '@esbuild/darwin-arm64@0.24.2': + optional: true + + '@esbuild/darwin-arm64@0.25.1': + optional: true + + '@esbuild/darwin-x64@0.24.2': + optional: true + + '@esbuild/darwin-x64@0.25.1': + optional: true + + '@esbuild/freebsd-arm64@0.24.2': + optional: true + + '@esbuild/freebsd-arm64@0.25.1': + optional: true + + '@esbuild/freebsd-x64@0.24.2': + optional: true + + '@esbuild/freebsd-x64@0.25.1': + optional: true + + '@esbuild/linux-arm64@0.24.2': + optional: true + + '@esbuild/linux-arm64@0.25.1': + optional: true + + '@esbuild/linux-arm@0.24.2': + optional: true + + '@esbuild/linux-arm@0.25.1': + optional: true + + '@esbuild/linux-ia32@0.24.2': + optional: true + + '@esbuild/linux-ia32@0.25.1': + optional: true + + '@esbuild/linux-loong64@0.24.2': + optional: true + + '@esbuild/linux-loong64@0.25.1': + optional: true + + '@esbuild/linux-mips64el@0.24.2': + optional: true + + '@esbuild/linux-mips64el@0.25.1': + optional: true + + '@esbuild/linux-ppc64@0.24.2': + optional: true + + '@esbuild/linux-ppc64@0.25.1': + optional: true + + '@esbuild/linux-riscv64@0.24.2': + optional: true + + '@esbuild/linux-riscv64@0.25.1': + optional: true + + '@esbuild/linux-s390x@0.24.2': + optional: true + + '@esbuild/linux-s390x@0.25.1': + optional: true + + '@esbuild/linux-x64@0.24.2': + optional: true + + '@esbuild/linux-x64@0.25.1': + optional: true + + '@esbuild/netbsd-arm64@0.24.2': + optional: true + + '@esbuild/netbsd-arm64@0.25.1': + optional: true + + '@esbuild/netbsd-x64@0.24.2': + optional: true + + '@esbuild/netbsd-x64@0.25.1': + optional: true + + '@esbuild/openbsd-arm64@0.24.2': + optional: true + + '@esbuild/openbsd-arm64@0.25.1': + optional: true + + '@esbuild/openbsd-x64@0.24.2': + optional: true + + '@esbuild/openbsd-x64@0.25.1': + optional: true + + '@esbuild/sunos-x64@0.24.2': + optional: true + + '@esbuild/sunos-x64@0.25.1': + optional: true + + '@esbuild/win32-arm64@0.24.2': + optional: true + + '@esbuild/win32-arm64@0.25.1': + optional: true + + '@esbuild/win32-ia32@0.24.2': + optional: true + + '@esbuild/win32-ia32@0.25.1': + optional: true + + '@esbuild/win32-x64@0.24.2': + optional: true + + '@esbuild/win32-x64@0.25.1': + optional: true + + '@hey-api/client-fetch@0.8.3': {} + + '@hey-api/json-schema-ref-parser@1.0.2': + dependencies: + '@jsdevtools/ono': 7.1.3 + '@types/json-schema': 7.0.15 + js-yaml: 4.1.0 + + '@hey-api/openapi-ts@0.64.12(typescript@5.8.2)': + dependencies: + '@hey-api/json-schema-ref-parser': 1.0.2 + c12: 2.0.1 + commander: 13.0.0 + handlebars: 4.7.8 + typescript: 5.8.2 + transitivePeerDependencies: + - magicast + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jsdevtools/ono@7.1.3': {} + + '@rollup/plugin-alias@5.1.1(rollup@4.36.0)': + optionalDependencies: + rollup: 4.36.0 + + '@rollup/plugin-commonjs@28.0.3(rollup@4.36.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.36.0) + commondir: 1.0.1 + estree-walker: 2.0.2 + fdir: 6.4.3(picomatch@4.0.2) + is-reference: 1.2.1 + magic-string: 0.30.17 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.36.0 + + '@rollup/plugin-json@6.1.0(rollup@4.36.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.36.0) + optionalDependencies: + rollup: 4.36.0 + + '@rollup/plugin-node-resolve@16.0.1(rollup@4.36.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.36.0) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.10 + optionalDependencies: + rollup: 4.36.0 + + '@rollup/plugin-replace@6.0.2(rollup@4.36.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.36.0) + magic-string: 0.30.17 + optionalDependencies: + rollup: 4.36.0 + + '@rollup/pluginutils@5.1.4(rollup@4.36.0)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.36.0 + + '@rollup/rollup-android-arm-eabi@4.36.0': + optional: true + + '@rollup/rollup-android-arm64@4.36.0': + optional: true + + '@rollup/rollup-darwin-arm64@4.36.0': + optional: true + + '@rollup/rollup-darwin-x64@4.36.0': + optional: true + + '@rollup/rollup-freebsd-arm64@4.36.0': + optional: true + + '@rollup/rollup-freebsd-x64@4.36.0': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.36.0': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.36.0': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.36.0': + optional: true + + '@rollup/rollup-linux-loongarch64-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.36.0': + optional: true + + '@rollup/rollup-linux-x64-musl@4.36.0': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.36.0': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.36.0': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.36.0': + optional: true + + '@trysound/sax@0.2.0': {} + + '@types/estree@1.0.6': {} + + '@types/json-schema@7.0.15': {} + + '@types/resolve@1.20.2': {} + + acorn@8.14.1: {} + + argparse@2.0.1: {} + + autoprefixer@10.4.21(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + caniuse-lite: 1.0.30001705 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.1.1 + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + boolbase@1.0.0: {} + + browserslist@4.24.4: + dependencies: + caniuse-lite: 1.0.30001705 + electron-to-chromium: 1.5.120 + node-releases: 2.0.19 + update-browserslist-db: 1.1.3(browserslist@4.24.4) + + c12@2.0.1: + dependencies: + chokidar: 4.0.3 + confbox: 0.1.8 + defu: 6.1.4 + dotenv: 16.4.7 + giget: 1.2.5 + jiti: 2.4.2 + mlly: 1.7.4 + ohash: 1.1.6 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.3.1 + rc9: 2.1.2 + + caniuse-api@3.0.0: + dependencies: + browserslist: 4.24.4 + caniuse-lite: 1.0.30001705 + lodash.memoize: 4.1.2 + lodash.uniq: 4.5.0 + + caniuse-lite@1.0.30001705: {} + + chokidar@4.0.3: + dependencies: + readdirp: 4.1.2 + + chownr@2.0.0: {} + + citty@0.1.6: + dependencies: + consola: 3.4.1 + + colord@2.9.3: {} + + commander@13.0.0: {} + + commander@7.2.0: {} + + commondir@1.0.1: {} + + confbox@0.1.8: {} + + confbox@0.2.1: {} + + consola@3.4.1: {} + + css-declaration-sorter@7.2.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + css-select@5.1.0: + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.2.2 + nth-check: 2.1.1 + + css-tree@2.2.1: + dependencies: + mdn-data: 2.0.28 + source-map-js: 1.2.1 + + css-tree@2.3.1: + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.2.1 + + css-what@6.1.0: {} + + cssesc@3.0.0: {} + + cssnano-preset-default@7.0.6(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + css-declaration-sorter: 7.2.0(postcss@8.5.3) + cssnano-utils: 5.0.0(postcss@8.5.3) + postcss: 8.5.3 + postcss-calc: 10.1.1(postcss@8.5.3) + postcss-colormin: 7.0.2(postcss@8.5.3) + postcss-convert-values: 7.0.4(postcss@8.5.3) + postcss-discard-comments: 7.0.3(postcss@8.5.3) + postcss-discard-duplicates: 7.0.1(postcss@8.5.3) + postcss-discard-empty: 7.0.0(postcss@8.5.3) + postcss-discard-overridden: 7.0.0(postcss@8.5.3) + postcss-merge-longhand: 7.0.4(postcss@8.5.3) + postcss-merge-rules: 7.0.4(postcss@8.5.3) + postcss-minify-font-values: 7.0.0(postcss@8.5.3) + postcss-minify-gradients: 7.0.0(postcss@8.5.3) + postcss-minify-params: 7.0.2(postcss@8.5.3) + postcss-minify-selectors: 7.0.4(postcss@8.5.3) + postcss-normalize-charset: 7.0.0(postcss@8.5.3) + postcss-normalize-display-values: 7.0.0(postcss@8.5.3) + postcss-normalize-positions: 7.0.0(postcss@8.5.3) + postcss-normalize-repeat-style: 7.0.0(postcss@8.5.3) + postcss-normalize-string: 7.0.0(postcss@8.5.3) + postcss-normalize-timing-functions: 7.0.0(postcss@8.5.3) + postcss-normalize-unicode: 7.0.2(postcss@8.5.3) + postcss-normalize-url: 7.0.0(postcss@8.5.3) + postcss-normalize-whitespace: 7.0.0(postcss@8.5.3) + postcss-ordered-values: 7.0.1(postcss@8.5.3) + postcss-reduce-initial: 7.0.2(postcss@8.5.3) + postcss-reduce-transforms: 7.0.0(postcss@8.5.3) + postcss-svgo: 7.0.1(postcss@8.5.3) + postcss-unique-selectors: 7.0.3(postcss@8.5.3) + + cssnano-utils@5.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + cssnano@7.0.6(postcss@8.5.3): + dependencies: + cssnano-preset-default: 7.0.6(postcss@8.5.3) + lilconfig: 3.1.3 + postcss: 8.5.3 + + csso@5.0.5: + dependencies: + css-tree: 2.2.1 + + deepmerge@4.3.1: {} + + defu@6.1.4: {} + + destr@2.0.3: {} + + dom-serializer@2.0.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + + domelementtype@2.3.0: {} + + domhandler@5.0.3: + dependencies: + domelementtype: 2.3.0 + + domutils@3.2.2: + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + + dotenv@16.4.7: {} + + electron-to-chromium@1.5.120: {} + + entities@4.5.0: {} + + esbuild@0.24.2: + optionalDependencies: + '@esbuild/aix-ppc64': 0.24.2 + '@esbuild/android-arm': 0.24.2 + '@esbuild/android-arm64': 0.24.2 + '@esbuild/android-x64': 0.24.2 + '@esbuild/darwin-arm64': 0.24.2 + '@esbuild/darwin-x64': 0.24.2 + '@esbuild/freebsd-arm64': 0.24.2 + '@esbuild/freebsd-x64': 0.24.2 + '@esbuild/linux-arm': 0.24.2 + '@esbuild/linux-arm64': 0.24.2 + '@esbuild/linux-ia32': 0.24.2 + '@esbuild/linux-loong64': 0.24.2 + '@esbuild/linux-mips64el': 0.24.2 + '@esbuild/linux-ppc64': 0.24.2 + '@esbuild/linux-riscv64': 0.24.2 + '@esbuild/linux-s390x': 0.24.2 + '@esbuild/linux-x64': 0.24.2 + '@esbuild/netbsd-arm64': 0.24.2 + '@esbuild/netbsd-x64': 0.24.2 + '@esbuild/openbsd-arm64': 0.24.2 + '@esbuild/openbsd-x64': 0.24.2 + '@esbuild/sunos-x64': 0.24.2 + '@esbuild/win32-arm64': 0.24.2 + '@esbuild/win32-ia32': 0.24.2 + '@esbuild/win32-x64': 0.24.2 + + esbuild@0.25.1: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.1 + '@esbuild/android-arm': 0.25.1 + '@esbuild/android-arm64': 0.25.1 + '@esbuild/android-x64': 0.25.1 + '@esbuild/darwin-arm64': 0.25.1 + '@esbuild/darwin-x64': 0.25.1 + '@esbuild/freebsd-arm64': 0.25.1 + '@esbuild/freebsd-x64': 0.25.1 + '@esbuild/linux-arm': 0.25.1 + '@esbuild/linux-arm64': 0.25.1 + '@esbuild/linux-ia32': 0.25.1 + '@esbuild/linux-loong64': 0.25.1 + '@esbuild/linux-mips64el': 0.25.1 + '@esbuild/linux-ppc64': 0.25.1 + '@esbuild/linux-riscv64': 0.25.1 + '@esbuild/linux-s390x': 0.25.1 + '@esbuild/linux-x64': 0.25.1 + '@esbuild/netbsd-arm64': 0.25.1 + '@esbuild/netbsd-x64': 0.25.1 + '@esbuild/openbsd-arm64': 0.25.1 + '@esbuild/openbsd-x64': 0.25.1 + '@esbuild/sunos-x64': 0.25.1 + '@esbuild/win32-arm64': 0.25.1 + '@esbuild/win32-ia32': 0.25.1 + '@esbuild/win32-x64': 0.25.1 + + escalade@3.2.0: {} + + estree-walker@2.0.2: {} + + exsolve@1.0.4: {} + + fdir@6.4.3(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + + fix-dts-default-cjs-exports@1.0.0: + dependencies: + magic-string: 0.30.17 + mlly: 1.7.4 + rollup: 4.36.0 + + fraction.js@4.3.7: {} + + fs-minipass@2.1.0: + dependencies: + minipass: 3.3.6 + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + giget@1.2.5: + dependencies: + citty: 0.1.6 + consola: 3.4.1 + defu: 6.1.4 + node-fetch-native: 1.6.6 + nypm: 0.5.4 + pathe: 2.0.3 + tar: 6.2.1 + + handlebars@4.7.8: + dependencies: + minimist: 1.2.8 + neo-async: 2.6.2 + source-map: 0.6.1 + wordwrap: 1.0.0 + optionalDependencies: + uglify-js: 3.19.3 + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + hookable@5.5.3: {} + + is-core-module@2.16.1: + dependencies: + hasown: 2.0.2 + + is-module@1.0.0: {} + + is-reference@1.2.1: + dependencies: + '@types/estree': 1.0.6 + + jiti@1.21.7: {} + + jiti@2.4.2: {} + + js-tokens@4.0.0: + optional: true + + js-yaml@4.1.0: + dependencies: + argparse: 2.0.1 + + knitwork@1.2.0: {} + + lilconfig@3.1.3: {} + + lodash.memoize@4.1.2: {} + + lodash.uniq@4.5.0: {} + + magic-string@0.30.17: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + mdn-data@2.0.28: {} + + mdn-data@2.0.30: {} + + minimist@1.2.8: {} + + minipass@3.3.6: + dependencies: + yallist: 4.0.0 + + minipass@5.0.0: {} + + minizlib@2.1.2: + dependencies: + minipass: 3.3.6 + yallist: 4.0.0 + + mkdirp@1.0.4: {} + + mkdist@2.2.0(typescript@5.8.2): + dependencies: + autoprefixer: 10.4.21(postcss@8.5.3) + citty: 0.1.6 + cssnano: 7.0.6(postcss@8.5.3) + defu: 6.1.4 + esbuild: 0.24.2 + jiti: 1.21.7 + mlly: 1.7.4 + pathe: 1.1.2 + pkg-types: 1.3.1 + postcss: 8.5.3 + postcss-nested: 7.0.2(postcss@8.5.3) + semver: 7.7.1 + tinyglobby: 0.2.12 + optionalDependencies: + typescript: 5.8.2 + + mlly@1.7.4: + dependencies: + acorn: 8.14.1 + pathe: 2.0.3 + pkg-types: 1.3.1 + ufo: 1.5.4 + + nanoid@3.3.10: {} + + neo-async@2.6.2: {} + + node-fetch-native@1.6.6: {} + + node-releases@2.0.19: {} + + normalize-range@0.1.2: {} + + nth-check@2.1.1: + dependencies: + boolbase: 1.0.0 + + nypm@0.5.4: + dependencies: + citty: 0.1.6 + consola: 3.4.1 + pathe: 2.0.3 + pkg-types: 1.3.1 + tinyexec: 0.3.2 + ufo: 1.5.4 + + ohash@1.1.6: {} + + path-parse@1.0.7: {} + + pathe@1.1.2: {} + + pathe@2.0.3: {} + + perfect-debounce@1.0.0: {} + + picocolors@1.1.1: {} + + picomatch@4.0.2: {} + + pkg-types@1.3.1: + dependencies: + confbox: 0.1.8 + mlly: 1.7.4 + pathe: 2.0.3 + + pkg-types@2.1.0: + dependencies: + confbox: 0.2.1 + exsolve: 1.0.4 + pathe: 2.0.3 + + postcss-calc@10.1.1(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-selector-parser: 7.1.0 + postcss-value-parser: 4.2.0 + + postcss-colormin@7.0.2(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + caniuse-api: 3.0.0 + colord: 2.9.3 + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-convert-values@7.0.4(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-discard-comments@7.0.3(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-selector-parser: 6.1.2 + + postcss-discard-duplicates@7.0.1(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + postcss-discard-empty@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + postcss-discard-overridden@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + postcss-merge-longhand@7.0.4(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + stylehacks: 7.0.4(postcss@8.5.3) + + postcss-merge-rules@7.0.4(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + caniuse-api: 3.0.0 + cssnano-utils: 5.0.0(postcss@8.5.3) + postcss: 8.5.3 + postcss-selector-parser: 6.1.2 + + postcss-minify-font-values@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-minify-gradients@7.0.0(postcss@8.5.3): + dependencies: + colord: 2.9.3 + cssnano-utils: 5.0.0(postcss@8.5.3) + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-minify-params@7.0.2(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + cssnano-utils: 5.0.0(postcss@8.5.3) + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-minify-selectors@7.0.4(postcss@8.5.3): + dependencies: + cssesc: 3.0.0 + postcss: 8.5.3 + postcss-selector-parser: 6.1.2 + + postcss-nested@7.0.2(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-selector-parser: 7.1.0 + + postcss-normalize-charset@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + + postcss-normalize-display-values@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-positions@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-repeat-style@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-string@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-timing-functions@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-unicode@7.0.2(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-url@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-normalize-whitespace@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-ordered-values@7.0.1(postcss@8.5.3): + dependencies: + cssnano-utils: 5.0.0(postcss@8.5.3) + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-reduce-initial@7.0.2(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + caniuse-api: 3.0.0 + postcss: 8.5.3 + + postcss-reduce-transforms@7.0.0(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + + postcss-selector-parser@6.1.2: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss-selector-parser@7.1.0: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss-svgo@7.0.1(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + svgo: 3.3.2 + + postcss-unique-selectors@7.0.3(postcss@8.5.3): + dependencies: + postcss: 8.5.3 + postcss-selector-parser: 6.1.2 + + postcss-value-parser@4.2.0: {} + + postcss@8.5.3: + dependencies: + nanoid: 3.3.10 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + pretty-bytes@6.1.1: {} + + rc9@2.1.2: + dependencies: + defu: 6.1.4 + destr: 2.0.3 + + readdirp@4.1.2: {} + + resolve@1.22.10: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + rollup-plugin-dts@6.1.1(rollup@4.36.0)(typescript@5.8.2): + dependencies: + magic-string: 0.30.17 + rollup: 4.36.0 + typescript: 5.8.2 + optionalDependencies: + '@babel/code-frame': 7.26.2 + + rollup@4.36.0: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.36.0 + '@rollup/rollup-android-arm64': 4.36.0 + '@rollup/rollup-darwin-arm64': 4.36.0 + '@rollup/rollup-darwin-x64': 4.36.0 + '@rollup/rollup-freebsd-arm64': 4.36.0 + '@rollup/rollup-freebsd-x64': 4.36.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.36.0 + '@rollup/rollup-linux-arm-musleabihf': 4.36.0 + '@rollup/rollup-linux-arm64-gnu': 4.36.0 + '@rollup/rollup-linux-arm64-musl': 4.36.0 + '@rollup/rollup-linux-loongarch64-gnu': 4.36.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.36.0 + '@rollup/rollup-linux-riscv64-gnu': 4.36.0 + '@rollup/rollup-linux-s390x-gnu': 4.36.0 + '@rollup/rollup-linux-x64-gnu': 4.36.0 + '@rollup/rollup-linux-x64-musl': 4.36.0 + '@rollup/rollup-win32-arm64-msvc': 4.36.0 + '@rollup/rollup-win32-ia32-msvc': 4.36.0 + '@rollup/rollup-win32-x64-msvc': 4.36.0 + fsevents: 2.3.3 + + scule@1.3.0: {} + + semver@7.7.1: {} + + source-map-js@1.2.1: {} + + source-map@0.6.1: {} + + stylehacks@7.0.4(postcss@8.5.3): + dependencies: + browserslist: 4.24.4 + postcss: 8.5.3 + postcss-selector-parser: 6.1.2 + + supports-preserve-symlinks-flag@1.0.0: {} + + svgo@3.3.2: + dependencies: + '@trysound/sax': 0.2.0 + commander: 7.2.0 + css-select: 5.1.0 + css-tree: 2.3.1 + css-what: 6.1.0 + csso: 5.0.5 + picocolors: 1.1.1 + + tar@6.2.1: + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 5.0.0 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 + + tinyexec@0.3.2: {} + + tinyglobby@0.2.12: + dependencies: + fdir: 6.4.3(picomatch@4.0.2) + picomatch: 4.0.2 + + typescript@5.8.2: {} + + ufo@1.5.4: {} + + uglify-js@3.19.3: + optional: true + + unbuild@3.5.0(typescript@5.8.2): + dependencies: + '@rollup/plugin-alias': 5.1.1(rollup@4.36.0) + '@rollup/plugin-commonjs': 28.0.3(rollup@4.36.0) + '@rollup/plugin-json': 6.1.0(rollup@4.36.0) + '@rollup/plugin-node-resolve': 16.0.1(rollup@4.36.0) + '@rollup/plugin-replace': 6.0.2(rollup@4.36.0) + '@rollup/pluginutils': 5.1.4(rollup@4.36.0) + citty: 0.1.6 + consola: 3.4.1 + defu: 6.1.4 + esbuild: 0.25.1 + fix-dts-default-cjs-exports: 1.0.0 + hookable: 5.5.3 + jiti: 2.4.2 + magic-string: 0.30.17 + mkdist: 2.2.0(typescript@5.8.2) + mlly: 1.7.4 + pathe: 2.0.3 + pkg-types: 2.1.0 + pretty-bytes: 6.1.1 + rollup: 4.36.0 + rollup-plugin-dts: 6.1.1(rollup@4.36.0)(typescript@5.8.2) + scule: 1.3.0 + tinyglobby: 0.2.12 + untyped: 2.0.0 + optionalDependencies: + typescript: 5.8.2 + transitivePeerDependencies: + - sass + - vue + - vue-tsc + + untyped@2.0.0: + dependencies: + citty: 0.1.6 + defu: 6.1.4 + jiti: 2.4.2 + knitwork: 1.2.0 + scule: 1.3.0 + + update-browserslist-db@1.1.3(browserslist@4.24.4): + dependencies: + browserslist: 4.24.4 + escalade: 3.2.0 + picocolors: 1.1.1 + + util-deprecate@1.0.2: {} + + wordwrap@1.0.0: {} + + yallist@4.0.0: {} diff --git a/src/client.gen.ts b/src/client.gen.ts new file mode 100644 index 0000000..fbc6538 --- /dev/null +++ b/src/client.gen.ts @@ -0,0 +1,18 @@ +// This file is auto-generated by @hey-api/openapi-ts + +import type { ClientOptions } from './types.gen'; +import { type Config, type ClientOptions as DefaultClientOptions, createClient, createConfig } from '@hey-api/client-fetch'; + +/** + * The `createClientConfig()` function will be called on client initialization + * and the returned object will become the client's initial configuration. + * + * You may want to initialize your client this way instead of calling + * `setConfig()`. This is useful for example if you're using Next.js + * to ensure your client always has the correct values. + */ +export type CreateClientConfig = (override?: Config) => Config & T>; + +export const client = createClient(createConfig({ + baseUrl: 'https://run.lauf-fuer-kaya.de' +})); \ No newline at end of file diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..e64537d --- /dev/null +++ b/src/index.ts @@ -0,0 +1,3 @@ +// This file is auto-generated by @hey-api/openapi-ts +export * from './types.gen'; +export * from './sdk.gen'; \ No newline at end of file diff --git a/src/sdk.gen.ts b/src/sdk.gen.ts new file mode 100644 index 0000000..09b745f --- /dev/null +++ b/src/sdk.gen.ts @@ -0,0 +1,2070 @@ +// This file is auto-generated by @hey-api/openapi-ts + +import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch'; +import type { AuthControllerLoginData, AuthControllerLoginResponse, AuthControllerLogoutData, AuthControllerLogoutResponse, AuthControllerRefreshData, AuthControllerRefreshResponse, AuthControllerGetResetTokenData, AuthControllerGetResetTokenResponse, AuthControllerGetResetTokenError, AuthControllerResetPasswordData, AuthControllerResetPasswordResponse, DonationControllerGetAllData, DonationControllerGetAllResponse, DonationControllerRemoveData, DonationControllerRemoveResponse, DonationControllerGetOneData, DonationControllerGetOneResponse, DonationControllerGetOneError, DonationControllerPostFixedData, DonationControllerPostFixedResponse, DonationControllerPostFixedError, DonationControllerPostDistanceData, DonationControllerPostDistanceResponse, DonationControllerPostDistanceError, DonationControllerPutFixedData, DonationControllerPutFixedResponse, DonationControllerPutFixedError, DonationControllerPutDistanceData, DonationControllerPutDistanceResponse, DonationControllerPutDistanceError, DonorControllerGetAllData, DonorControllerGetAllResponse, DonorControllerPostData, DonorControllerPostResponse, DonorControllerRemoveData, DonorControllerRemoveResponse, DonorControllerGetOneData, DonorControllerGetOneResponse, DonorControllerGetOneError, DonorControllerPutData, DonorControllerPutResponse, DonorControllerPutError, GroupContactControllerGetAllData, GroupContactControllerGetAllResponse, GroupContactControllerPostData, GroupContactControllerPostResponse, GroupContactControllerPostError, GroupContactControllerRemoveData, GroupContactControllerRemoveResponse, GroupContactControllerGetOneData, GroupContactControllerGetOneResponse, GroupContactControllerGetOneError, GroupContactControllerPutData, GroupContactControllerPutResponse, GroupContactControllerPutError, ScanControllerGetAllData, ScanControllerGetAllResponse, ScanControllerPostData, ScanControllerPostResponse, ScanControllerPostError, ScanControllerRemoveData, ScanControllerRemoveResponse, ScanControllerGetOneData, ScanControllerGetOneResponse, ScanControllerGetOneError, ScanControllerPutData, ScanControllerPutResponse, ScanControllerPutError, ScanControllerPostTrackScansData, ScanControllerPostTrackScansResponse, ScanControllerPostTrackScansError, ScanControllerPutTrackScanData, ScanControllerPutTrackScanResponse, ScanControllerPutTrackScanError, RunnerCardControllerGetAllData, RunnerCardControllerGetAllResponse, RunnerCardControllerPostData, RunnerCardControllerPostResponse, RunnerCardControllerPostError, RunnerCardControllerRemoveData, RunnerCardControllerRemoveResponse, RunnerCardControllerRemoveError, RunnerCardControllerGetOneData, RunnerCardControllerGetOneResponse, RunnerCardControllerGetOneError, RunnerCardControllerPutData, RunnerCardControllerPutResponse, RunnerCardControllerPutError, RunnerCardControllerPostBlancoBulkData, RunnerCardControllerPostBlancoBulkResponse, RunnerControllerGetAllData, RunnerControllerGetAllResponse, RunnerControllerPostData, RunnerControllerPostResponse, RunnerControllerRemoveData, RunnerControllerRemoveResponse, RunnerControllerRemoveError, RunnerControllerGetOneData, RunnerControllerGetOneResponse, RunnerControllerGetOneError, RunnerControllerPutData, RunnerControllerPutResponse, RunnerControllerPutError, RunnerControllerGetScansData, RunnerControllerGetScansResponse, RunnerControllerGetScansError, ImportControllerPostJsonData, ImportControllerPostJsonResponse, ImportControllerPostJsonError, ImportControllerPostOrgsJsonData, ImportControllerPostOrgsJsonResponse, ImportControllerPostOrgsJsonError, ImportControllerPostTeamsJsonData, ImportControllerPostTeamsJsonResponse, ImportControllerPostTeamsJsonError, ImportControllerPostCsvData, ImportControllerPostCsvResponse, ImportControllerPostCsvError, ImportControllerPostOrgsCsvData, ImportControllerPostOrgsCsvResponse, ImportControllerPostOrgsCsvError, ImportControllerPostTeamsCsvData, ImportControllerPostTeamsCsvResponse, ImportControllerPostTeamsCsvError, PermissionControllerGetAllData, PermissionControllerGetAllResponse, PermissionControllerPostData, PermissionControllerPostResponse, PermissionControllerPostError, PermissionControllerRemoveData, PermissionControllerRemoveResponse, PermissionControllerGetOneData, PermissionControllerGetOneResponse, PermissionControllerGetOneError, PermissionControllerPutData, PermissionControllerPutResponse, PermissionControllerPutError, MeControllerRemoveData, MeControllerRemoveResponse, MeControllerRemoveError, MeControllerGetData, MeControllerGetResponse, MeControllerGetError, MeControllerPutData, MeControllerPutResponse, MeControllerPutError, MeControllerGetPermissionsData, MeControllerGetPermissionsResponse, MeControllerGetPermissionsError, RunnerTeamControllerGetAllData, RunnerTeamControllerGetAllResponse, RunnerTeamControllerPostData, RunnerTeamControllerPostResponse, RunnerTeamControllerRemoveData, RunnerTeamControllerRemoveResponse, RunnerTeamControllerRemoveError, RunnerTeamControllerGetOneData, RunnerTeamControllerGetOneResponse, RunnerTeamControllerGetOneError, RunnerTeamControllerPutData, RunnerTeamControllerPutResponse, RunnerTeamControllerPutError, RunnerTeamControllerGetRunnersData, RunnerTeamControllerGetRunnersResponse, RunnerTeamControllerGetRunnersError, RunnerOrganizationControllerGetAllData, RunnerOrganizationControllerGetAllResponse, RunnerOrganizationControllerPostData, RunnerOrganizationControllerPostResponse, RunnerOrganizationControllerRemoveData, RunnerOrganizationControllerRemoveResponse, RunnerOrganizationControllerRemoveError, RunnerOrganizationControllerGetOneData, RunnerOrganizationControllerGetOneResponse, RunnerOrganizationControllerGetOneError, RunnerOrganizationControllerPutData, RunnerOrganizationControllerPutResponse, RunnerOrganizationControllerPutError, RunnerOrganizationControllerGetRunnersData, RunnerOrganizationControllerGetRunnersResponse, RunnerOrganizationControllerGetRunnersError, RunnerSelfServiceControllerRemoveData, RunnerSelfServiceControllerRemoveResponse, RunnerSelfServiceControllerRemoveError, RunnerSelfServiceControllerGetData, RunnerSelfServiceControllerGetResponse, RunnerSelfServiceControllerGetError, RunnerSelfServiceControllerGetScansData, RunnerSelfServiceControllerGetScansResponse, RunnerSelfServiceControllerGetScansError, RunnerSelfServiceControllerGetStationMeData, RunnerSelfServiceControllerGetStationMeResponse, RunnerSelfServiceControllerGetStationMeError, RunnerSelfServiceControllerRequestNewTokenData, RunnerSelfServiceControllerRequestNewTokenError, RunnerSelfServiceControllerRegisterRunnerData, RunnerSelfServiceControllerRegisterRunnerResponse, RunnerSelfServiceControllerRegisterRunnerError, RunnerSelfServiceControllerRegisterOrganizationRunnerData, RunnerSelfServiceControllerRegisterOrganizationRunnerResponse, RunnerSelfServiceControllerRegisterOrganizationRunnerError, RunnerSelfServiceControllerGetSelfserviceOrgData, RunnerSelfServiceControllerGetSelfserviceOrgResponse, RunnerSelfServiceControllerGetSelfserviceOrgError, ScanStationControllerGetAllData, ScanStationControllerGetAllResponse, ScanStationControllerPostData, ScanStationControllerPostResponse, ScanStationControllerPostError, ScanStationControllerRemoveData, ScanStationControllerRemoveResponse, ScanStationControllerRemoveError, ScanStationControllerGetOneData, ScanStationControllerGetOneResponse, ScanStationControllerGetOneError, ScanStationControllerPutData, ScanStationControllerPutResponse, ScanStationControllerPutError, StatsClientControllerGetAllData, StatsClientControllerGetAllResponse, StatsClientControllerPostData, StatsClientControllerPostResponse, StatsClientControllerRemoveData, StatsClientControllerRemoveResponse, StatsClientControllerGetOneData, StatsClientControllerGetOneResponse, StatsClientControllerGetOneError, StatsControllerGetData, StatsControllerGetResponse, StatsControllerGetTopRunnersByDistanceData, StatsControllerGetTopRunnersByDistanceResponse, StatsControllerGetTopRunnersByDonationsData, StatsControllerGetTopRunnersByDonationsResponse, StatsControllerGetTopRunnersByLaptimeData, StatsControllerGetTopRunnersByLaptimeResponse, StatsControllerGetTopRunnersByTrackTimeData, StatsControllerGetTopRunnersByTrackTimeResponse, StatsControllerGetTopTeamsByDistanceData, StatsControllerGetTopTeamsByDistanceResponse, StatsControllerGetTopTeamsByDonationsData, StatsControllerGetTopTeamsByDonationsResponse, StatsControllerGetTopOrgsByDistanceData, StatsControllerGetTopOrgsByDistanceResponse, StatsControllerGetTopOrgsByDonationsData, StatsControllerGetTopOrgsByDonationsResponse, StatusControllerGetData, StatusControllerGetVersionData, TrackControllerGetAllData, TrackControllerGetAllResponse, TrackControllerPostData, TrackControllerPostResponse, TrackControllerPostError, TrackControllerRemoveData, TrackControllerRemoveResponse, TrackControllerGetOneData, TrackControllerGetOneResponse, TrackControllerGetOneError, TrackControllerPutData, TrackControllerPutResponse, TrackControllerPutError, UserControllerGetAllData, UserControllerGetAllResponse, UserControllerPostData, UserControllerPostResponse, UserControllerPostError, UserControllerRemoveData, UserControllerRemoveResponse, UserControllerRemoveError, UserControllerGetOneData, UserControllerGetOneResponse, UserControllerGetOneError, UserControllerPutData, UserControllerPutResponse, UserControllerPutError, UserControllerGetPermissionsData, UserControllerGetPermissionsResponse, UserControllerGetPermissionsError, UserGroupControllerGetAllData, UserGroupControllerGetAllResponse, UserGroupControllerPostData, UserGroupControllerPostResponse, UserGroupControllerRemoveData, UserGroupControllerRemoveResponse, UserGroupControllerGetOneData, UserGroupControllerGetOneResponse, UserGroupControllerGetOneError, UserGroupControllerPutData, UserGroupControllerPutResponse, UserGroupControllerPutError, UserGroupControllerGetPermissionsData, UserGroupControllerGetPermissionsResponse, UserGroupControllerGetPermissionsError } from './types.gen'; +import { client as _heyApiClient } from './client.gen'; + +export type Options = ClientOptions & { + /** + * You can provide a client instance returned by `createClient()` instead of + * individual options. This might be also useful if you want to implement a + * custom client. + */ + client?: Client; + /** + * You can pass arbitrary values through the `meta` object. This can be + * used to access values that aren't defined as part of the SDK function. + */ + meta?: Record; +}; + +/** + * Login + * Login with your username/email and password.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +export const authControllerLogin = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/auth/login', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Logout + * Logout using your refresh token.
This instantly invalidates all your access and refresh tokens. + */ +export const authControllerLogout = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/auth/logout', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Refresh + * Refresh your access and refresh tokens using a valid refresh token.
You will receive: + * * access token (use it as a bearer token) + * * refresh token (will also be sent as a cookie) + */ +export const authControllerRefresh = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/auth/refresh', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get reset token + * Request a password reset token.
This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. + */ +export const authControllerGetResetToken = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/auth/reset', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Reset password + * Reset a user's utilising a valid password reset token.
This will set the user's password to the one you provided in the body.
To get a reset token post to /api/auth/reset with your username. + */ +export const authControllerResetPassword = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + url: '/api/auth/reset/{token}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all donations (fixed or distance based) from all donors.
This includes the donations's runner's distance ran(if distance donation). + */ +export const donationControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations', + ...options + }); +}; + +/** + * Remove + * Delete the donation whose id you provided.
If no donation with this id exists it will just return 204(no content). + */ +export const donationControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). + */ +export const donationControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/{id}', + ...options + }); +}; + +/** + * Post fixed + * Create a fixed donation (not distance donation - use /donations/distance instead).
Please rmemember to provide the donation's donors's id and amount. + */ +export const donationControllerPostFixed = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/fixed', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post distance + * Create a distance donation (not fixed donation - use /donations/fixed instead).
Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). + */ +export const donationControllerPostDistance = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/distance', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Put fixed + * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided.
Please remember that ids can't be changed and amounts must be positive. + */ +export const donationControllerPutFixed = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/fixed/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Put distance + * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided.
Please remember that ids can't be changed and amountPerDistance must be positive. + */ +export const donationControllerPutDistance = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donations/distance/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all donor.
This includes the donor's current donation amount. + */ +export const donorControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donors', + ...options + }); +}; + +/** + * Post + * Create a new donor. + */ +export const donorControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donors', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the donor whose id you provided.
If no donor with this id exists it will just return 204(no content).
If the donor still has donations associated this will fail, please provide the query param ?force=true to delete the donor with all associated donations. + */ +export const donorControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donors/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the donor whose id got provided.
This includes the donor's current donation amount. + */ +export const donorControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donors/{id}', + ...options + }); +}; + +/** + * Put + * Update the donor whose id you provided.
Please remember that ids can't be changed. + */ +export const donorControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/donors/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all contacts.
This includes the contact's associated groups. + */ +export const groupContactControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/contacts', + ...options + }); +}; + +/** + * Post + * Create a new contact. + */ +export const groupContactControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/contacts', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the contact whose id you provided.
If no contact with this id exists it will just return 204(no content).
This won't delete any groups associated with the contact. + */ +export const groupContactControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/contacts/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the contact whose id got provided.
This includes the contact's associated groups. + */ +export const groupContactControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/contacts/{id}', + ...options + }); +}; + +/** + * Put + * Update the contact whose id you provided.
Please remember that ids can't be changed. + */ +export const groupContactControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/contacts/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all scans (normal or track) from all runners.
This includes the scan's runner's distance ran. + */ +export const scanControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans', + ...options + }); +}; + +/** + * Post + * Create a new scan (not track scan - use /scans/trackscans instead).
Please rmemember to provide the scan's runner's id and distance. + */ +export const scanControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the scan whose id you provided.
If no scan with this id exists it will just return 204(no content). + */ +export const scanControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. + */ +export const scanControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans/{id}', + ...options + }); +}; + +/** + * Put + * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that ids can't be changed and distances must be positive. + */ +export const scanControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post track scans + * Create a new track scan (for "normal" scans use /scans instead).
Please remember that to provide the scan's card's station's id. + */ +export const scanControllerPostTrackScans = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans/trackscans', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Put track scan + * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided.
Please remember that only the validity, runner and track can be changed. + */ +export const scanControllerPutTrackScan = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/scans/trackscans/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all card. + */ +export const runnerCardControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards', + ...options + }); +}; + +/** + * Post + * Create a new card.
You can provide a associated runner by id but you don't have to. + */ +export const runnerCardControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the card whose id you provided.
If no card with this id exists it will just return 204(no content).
If the card still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with by this card - please disable it instead or just remove the runner association). + */ +export const runnerCardControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the card whose id got provided. + */ +export const runnerCardControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards/{id}', + ...options + }); +}; + +/** + * Put + * Update the card whose id you provided.
Scans created via this card will still be associated with the old runner.
Please remember that ids can't be changed. + */ +export const runnerCardControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post blanco bulk + * Create blank cards in bulk.
Just provide the count as a query param and wait for the 200 response.
You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. + */ +export const runnerCardControllerPostBlancoBulk = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/cards/bulk', + ...options + }); +}; + +/** + * Get all + * Lists all runners from all teams/orgs.
This includes the runner's group and distance ran. + */ +export const runnerControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners', + ...options + }); +}; + +/** + * Post + * Create a new runner.
Please remeber to provide the runner's group's id. + */ +export const runnerControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the runner whose id you provided.
This will also delete all scans and cards associated with the runner.
If no runner with this id exists it will just return 204(no content). + */ +export const runnerControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the runner whose id got provided. + */ +export const runnerControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/{id}', + ...options + }); +}; + +/** + * Put + * Update the runner whose id you provided.
Please remember that ids can't be changed. + */ +export const runnerControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get scans + * Lists all scans of the runner whose id got provided.
If you only want the valid scans just add the ?onlyValid=true query param. + */ +export const runnerControllerGetScans = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/{id}/scans', + ...options + }); +}; + +/** + * Post json + * Create new runners from json and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +export const importControllerPostJson = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/import', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post orgs json + * Create new runners from json and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +export const importControllerPostOrgsJson = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}/import', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post teams json + * Create new runners from json and insert them into the provided team + */ +export const importControllerPostTeamsJson = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}/import', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Post csv + * Create new runners from csv and insert them into the provided group.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +export const importControllerPostCsv = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/runners/import/csv', + ...options + }); +}; + +/** + * Post orgs csv + * Create new runners from csv and insert them into the provided org.
If teams/classes are provided alongside the runner's name they'll automaticly be created under the provided org and the runners will be inserted into the teams instead. + */ +export const importControllerPostOrgsCsv = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}/import/csv', + ...options + }); +}; + +/** + * Post teams csv + * Create new runners from csv and insert them into the provided team + */ +export const importControllerPostTeamsCsv = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}/import/csv', + ...options + }); +}; + +/** + * Get all + * Lists all permissions for all users and groups. + */ +export const permissionControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/permissions', + ...options + }); +}; + +/** + * Post + * Create a new permission for a existing principal(user/group).
If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. + */ +export const permissionControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/permissions', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Deletes the permission whose id you provide.
If no permission with this id exists it will just return 204(no content). + */ +export const permissionControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/permissions/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the permission whose id got provided. + */ +export const permissionControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/permissions/{id}', + ...options + }); +}; + +/** + * Put + * Update a permission object.
If updateing the permission object would result in duplicate permission (same target, action and principal) this permission will get deleted and the existing permission will be returned.
Please remember that ids can't be changed. + */ +export const permissionControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/permissions/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete yourself.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to you they will get deleted as well. + */ +export const meControllerRemove = (options?: Options) => { + return (options?.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/me/', + ...options + }); +}; + +/** + * Get + * Lists all information about yourself. + */ +export const meControllerGet = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/me/', + ...options + }); +}; + +/** + * Put + * Update the yourself.
You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead.
Please remember that ids can't be changed. + */ +export const meControllerPut = (options?: Options) => { + return (options?.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/me/', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get permissions + * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. + */ +export const meControllerGetPermissions = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/me/permissions', + ...options + }); +}; + +/** + * Get all + * Lists all teams.
This includes their parent organization and contact (if existing/associated). + */ +export const runnerTeamControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams', + ...options + }); +}; + +/** + * Post + * Create a new organsisation.
Please remember to provide it's parent group's id. + */ +export const runnerTeamControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the team whose id you provided.
If the team still has runners associated this will fail.
To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no team with this id exists it will just return 204(no content). + */ +export const runnerTeamControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the team whose id got provided. + */ +export const runnerTeamControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}', + ...options + }); +}; + +/** + * Put + * Update the team whose id you provided.
Please remember that ids can't be changed. + */ +export const runnerTeamControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get runners + * Lists all runners from this team.
This includes the runner's group and distance ran. + */ +export const runnerTeamControllerGetRunners = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/teams/{id}/runners', + ...options + }); +}; + +/** + * Get all + * Lists all organizations.
This includes their address, contact and teams (if existing/associated). + */ +export const runnerOrganizationControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations', + ...options + }); +}; + +/** + * Post + * Create a new organsisation. + */ +export const runnerOrganizationControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the organsisation whose id you provided.
If the organization still has runners and/or teams associated this will fail.
To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while).
This won't delete the associated contact.
If no organization with this id exists it will just return 204(no content). + */ +export const runnerOrganizationControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the organization whose id got provided. + */ +export const runnerOrganizationControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}', + ...options + }); +}; + +/** + * Put + * Update the organization whose id you provided.
Please remember that ids can't be changed. + */ +export const runnerOrganizationControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get runners + * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param).
This includes the runner's group and distance ran. + */ +export const runnerOrganizationControllerGetRunners = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/organizations/{id}/runners', + ...options + }); +}; + +/** + * Remove + * Deletes all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +export const runnerSelfServiceControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + url: '/api/runners/me/{jwt}', + ...options + }); +}; + +/** + * Get + * Lists all information about yourself.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please use the forgot endpoint. + */ +export const runnerSelfServiceControllerGet = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + url: '/api/runners/me/{jwt}', + ...options + }); +}; + +/** + * Get scans + * Lists all your (runner) scans.
Please provide your runner jwt(that code we gave you during registration) for auth.
If you lost your jwt/personalized link please contact support. + */ +export const runnerSelfServiceControllerGetScans = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + url: '/api/runners/me/{jwt}/scans', + ...options + }); +}; + +/** + * Get station me + * Lists basic information about the station whose token got provided.
This includes it's associated track. + */ +export const runnerSelfServiceControllerGetStationMe = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations/me', + ...options + }); +}; + +/** + * Request new token + * Use this endpoint to reuqest a new selfservice magic-login-link to be sent to your mail address (rate limited to one mail every 15mins). + */ +export const runnerSelfServiceControllerRequestNewToken = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/runners/login', + ...options + }); +}; + +/** + * Register runner + * Create a new selfservice runner in the citizen org.
This endpoint shoud be used to allow "everyday citizen" to register themselves.
You have to provide a mail address, b/c the future we'll implement email verification. + */ +export const runnerSelfServiceControllerRegisterRunner = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + url: '/api/runners/register', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Register organization runner + * Create a new selfservice runner in a provided org.
The orgs get provided and authorized via api tokens that can be optained via the /organizations endpoint. + */ +export const runnerSelfServiceControllerRegisterOrganizationRunner = (options: Options) => { + return (options.client ?? _heyApiClient).post({ + url: '/api/runners/register/{token}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get selfservice org + * Get the basic info and teams for a org. + */ +export const runnerSelfServiceControllerGetSelfserviceOrg = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + url: '/api/organizations/selfservice/{token}', + ...options + }); +}; + +/** + * Get all + * Lists all stations.
This includes their associated tracks. + */ +export const scanStationControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations', + ...options + }); +}; + +/** + * Post + * Create a new station.
Please remeber to provide the station's track's id.
Please also remember that the station key is only visibe on creation. + */ +export const scanStationControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the station whose id you provided.
If no station with this id exists it will just return 204(no content).
If the station still has scans associated you have to provide the force=true query param (warning: this deletes all scans associated with/created by this station - please disable it instead). + */ +export const scanStationControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the station whose id got provided.
This includes it's associated track. + */ +export const scanStationControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations/{id}', + ...options + }); +}; + +/** + * Put + * Update the station whose id you provided.
Please remember that only the description and enabled state can be changed. + */ +export const scanStationControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stations/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all stats clients. Please remember that the key can only be viewed on creation. + */ +export const statsClientControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/statsclients', + ...options + }); +}; + +/** + * Post + * Create a new stats client.
Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. + */ +export const statsClientControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/statsclients', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the stats client whose id you provided.
If no client with this id exists it will just return 204(no content). + */ +export const statsClientControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/statsclients/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. + */ +export const statsClientControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/statsclients/{id}', + ...options + }); +}; + +/** + * Get + * A very basic stats endpoint providing basic counters for a dashboard or simmilar + */ +export const statsControllerGet = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + url: '/api/stats', + ...options + }); +}; + +/** + * Get top runners by distance + * Returns the top ten runners by distance. + */ +export const statsControllerGetTopRunnersByDistance = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/runners/distance', + ...options + }); +}; + +/** + * Get top runners by donations + * Returns the top ten runners by donations. + */ +export const statsControllerGetTopRunnersByDonations = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/runners/donations', + ...options + }); +}; + +/** + * Get top runners by laptime + * Returns the top ten runners by fastest laptime on your selected track (track by id). + */ +export const statsControllerGetTopRunnersByLaptime = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/runners/laptime', + ...options + }); +}; + +/** + * Get top runners by track time + * Returns the top ten fastest track times (with their runner and the runner's group). + */ +export const statsControllerGetTopRunnersByTrackTime = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/scans', + ...options + }); +}; + +/** + * Get top teams by distance + * Returns the top ten teams by distance. + */ +export const statsControllerGetTopTeamsByDistance = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/teams/distance', + ...options + }); +}; + +/** + * Get top teams by donations + * Returns the top ten teams by donations. + */ +export const statsControllerGetTopTeamsByDonations = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/teams/donations', + ...options + }); +}; + +/** + * Get top orgs by distance + * Returns the top ten organizations by distance. + */ +export const statsControllerGetTopOrgsByDistance = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/organizations/distance', + ...options + }); +}; + +/** + * Get top orgs by donations + * Returns the top ten organizations by donations. + */ +export const statsControllerGetTopOrgsByDonations = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + }, + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/stats/organizations/donations', + ...options + }); +}; + +/** + * Get + * A very basic status/health endpoint that just checks if the database connection is available.
The available information depth will be expanded later. + */ +export const statusControllerGet = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + url: '/api/status', + ...options + }); +}; + +/** + * Get version + * A very basic endpoint that just returns the curent package version. + */ +export const statusControllerGetVersion = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + url: '/api/version', + ...options + }); +}; + +/** + * Get all + * Lists all tracks. + */ +export const trackControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/tracks', + ...options + }); +}; + +/** + * Post + * Create a new track.
Please remember that the track's distance must be greater than 0. + */ +export const trackControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/tracks', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the track whose id you provided.
If no track with this id exists it will just return 204(no content). + */ +export const trackControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/tracks/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the track whose id got provided. + */ +export const trackControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/tracks/{id}', + ...options + }); +}; + +/** + * Put + * Update the track whose id you provided.
Please remember that ids can't be changed. + */ +export const trackControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/tracks/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get all + * Lists all users.
This includes their groups and permissions granted to them. + */ +export const userControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users', + ...options + }); +}; + +/** + * Post + * Create a new user.
If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. + */ +export const userControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the user whose id you provided.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to the user they will get deleted as well.
If no user with this id exists it will just return 204(no content). + */ +export const userControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the user whose id got provided.
Please remember that all permissions granted to the user will show up here. + */ +export const userControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/{id}', + ...options + }); +}; + +/** + * Put + * Update the user whose id you provided.
To change the permissions directly granted to the user please use /api/permissions instead.
Please remember that ids can't be changed. + */ +export const userControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get permissions + * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. + */ +export const userControllerGetPermissions = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/users/{id}/permissions', + ...options + }); +}; + +/** + * Get all + * Lists all groups.
The information provided might change while the project continues to evolve. + */ +export const userGroupControllerGetAll = (options?: Options) => { + return (options?.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups', + ...options + }); +}; + +/** + * Post + * Create a new group.
If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. + */ +export const userGroupControllerPost = (options?: Options) => { + return (options?.client ?? _heyApiClient).post({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Remove + * Delete the group whose id you provided.
If there are any permissions directly granted to the group they will get deleted as well.
Users associated with this group won't get deleted - just deassociated.
If no group with this id exists it will just return 204(no content). + */ +export const userGroupControllerRemove = (options: Options) => { + return (options.client ?? _heyApiClient).delete({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups/{id}', + ...options + }); +}; + +/** + * Get one + * Lists all information about the group whose id got provided.
The information provided might change while the project continues to evolve. + */ +export const userGroupControllerGetOne = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups/{id}', + ...options + }); +}; + +/** + * Put + * Update the group whose id you provided.
To change the permissions granted to the group please use /api/permissions instead.
Please remember that ids can't be changed. + */ +export const userGroupControllerPut = (options: Options) => { + return (options.client ?? _heyApiClient).put({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups/{id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options?.headers + } + }); +}; + +/** + * Get permissions + * Lists all permissions granted to the group as permission response objects. + */ +export const userGroupControllerGetPermissions = (options: Options) => { + return (options.client ?? _heyApiClient).get({ + security: [ + { + scheme: 'bearer', + type: 'http' + } + ], + url: '/api/usergroups/{id}/permissions', + ...options + }); +}; \ No newline at end of file diff --git a/src/types.gen.ts b/src/types.gen.ts new file mode 100644 index 0000000..a4a088d --- /dev/null +++ b/src/types.gen.ts @@ -0,0 +1,3490 @@ +// This file is auto-generated by @hey-api/openapi-ts + +export type ConfigFlag = { + option: string; + value: string; +}; + +export type AddressPostalCodeInvalidError = { + name: string; + message: string; +}; + +export type AddressFirstLineEmptyError = { + name: string; + message: string; +}; + +export type AddressPostalCodeEmptyError = { + name: string; + message: string; +}; + +export type AddressCityEmptyError = { + name: string; + message: string; +}; + +export type AddressCountryEmptyError = { + name: string; + message: string; +}; + +export type Address = { + address1: string; + address2: string; + postalcode: string; + city: string; + country: string; +}; + +export type ResponseGroupContact = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + groups: { + [key: string]: unknown; + }; + address: { + [key: string]: unknown; + }; +}; + +export type ResponseRunnerGroup = { + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; + +export type ResponseRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + teams: Array; + registrationKey?: string; + registrationEnabled?: boolean; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; + +export type GroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; + +export type ResponseParticipant = { + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; + +export type ResponseRunner = { + distance: number; + group: { + [key: string]: unknown; + }; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; + +export type ResponseDonor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; + +export type ResponseDonation = { + id: number; + donor: string; + amount: number; + paidAmount: number; +}; + +export type ResponseDistanceDonation = { + runner: { + [key: string]: unknown; + }; + amountPerDistance: number; + id: number; + donor: string; + amount: number; + paidAmount: number; +}; + +export type Participant = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; + +export type Donor = { + receiptNeeded: boolean; + donationAmount: number; + paidDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; + +export type Donation = { + id: number; + donor: string; + paidAmount: number; +}; + +export type DistanceDonation = { + runner: string; + amountPerDistance: number; + id: number; + donor: string; + paidAmount: number; +}; + +export type RunnerCardNotFoundError = { + name: string; + message: string; +}; + +export type RunnerCardIdsNotMatchingError = { + name: string; + message: string; +}; + +export type RunnerCardHasScansError = { + name: string; + message: string; +}; + +export type RunnerCardIdOutOfRangeError = { + name: string; + message: string; +}; + +export type ResponseRunnerCard = { + id: number; + runner: { + [key: string]: unknown; + }; + code: string; + enabled: boolean; +}; + +export type ResponseScan = { + id: number; + runner: string; + valid: boolean; + distance: number; +}; + +export type TrackNotFoundError = { + name: string; + message: string; +}; + +export type TrackIdsNotMatchingError = { + name: string; + message: string; +}; + +export type TrackLapTimeCantBeNegativeError = { + name: string; + message: string; +}; + +export type TrackHasScanStationsError = { + name: string; + message: string; +}; + +export type ResponseTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; + +export type ResponseScanStation = { + id: number; + description?: string; + key?: string; + prefix: string; + track: { + [key: string]: unknown; + }; + enabled: boolean; +}; + +export type ResponseTrackScan = { + track: string; + card: string; + station: string; + timestamp: string; + lapTime: number; + id: number; + runner: string; + valid: boolean; + distance: number; +}; + +export type Scan = { + id: number; + runner: string; + valid: boolean; + _distance: number; + distance: number; +}; + +export type Track = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; + +export type ScanStation = { + id: number; + description?: string; + track: string; + prefix: string; + key: string; + cleartextkey?: string; + enabled: boolean; +}; + +export type TrackScan = { + track: string; + card: string; + station: string; + distance: number; + timestamp: number; + lapTime: number; + id: number; + runner: string; + valid: boolean; + _distance: number; +}; + +export type RunnerCard = { + id: number; + runner?: unknown; + enabled: boolean; +}; + +export type Runner = { + group: string; + resetRequestedTimestamp?: string; + distance: number; + distanceDonationAmount: number; + id: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; +}; + +export type RunnerGroup = { + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; + +export type ResponseRunnerTeam = { + parentGroup: { + [key: string]: unknown; + }; + id: number; + name: string; + contact?: { + [key: string]: unknown; + }; + total_distance?: number; +}; + +export type RunnerTeam = { + parentGroup: string; + id: number; + name: string; + contact?: unknown; + distance: number; + distanceDonationAmount: number; +}; + +export type RunnerOrganization = { + address?: unknown; + key?: string; + distance: number; + distanceDonationAmount: number; + id: number; + name: string; + contact?: unknown; +}; + +export type GroupContactNotFoundError = { + name: string; + message: string; +}; + +export type GroupContactIdsNotMatchingError = { + name: string; + message: string; +}; + +export type CreateRunnerGroup = { + name: string; + contact?: number; +}; + +export type CreateRunnerOrganization = { + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; + +export type RunnerGroupNotFoundError = { + name: string; + message: string; +}; + +export type CreateGroupContact = { + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; + +export type RunnerOrganizationNotFoundError = { + name: string; + message: string; +}; + +export type RunnerOrganizationIdsNotMatchingError = { + name: string; + message: string; +}; + +export type RunnerOrganizationHasRunnersError = { + name: string; + message: string; +}; + +export type RunnerOrganizationHasTeamsError = { + name: string; + message: string; +}; + +export type RunnerOrganizationWrongTypeError = { + name: string; + message: string; +}; + +export type RunnerTeamNotFoundError = { + name: string; + message: string; +}; + +export type RunnerTeamIdsNotMatchingError = { + name: string; + message: string; +}; + +export type RunnerTeamHasRunnersError = { + name: string; + message: string; +}; + +export type RunnerTeamNeedsParentError = { + name: string; + message: string; +}; + +export type CreateParticipant = { + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type CreateRunner = { + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type CreateRunnerTeam = { + parentGroup: number; + name: string; + contact?: number; +}; + +export type PrincipalNotFoundError = { + name: string; + message: string; +}; + +export type PrincipalWrongTypeError = { + name: string; + message: string; +}; + +export type ResponsePrincipal = { + id: number; +}; + +export type ResponsePermission = { + id: number; + principal: { + [key: string]: unknown; + }; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; + +export type Principal = { + id: number; +}; + +export type Permission = { + id: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; + +export type CreatePermission = { + principal: number; + target: 'RUNNER' | 'ORGANIZATION' | 'TEAM' | 'TRACK' | 'USER' | 'USERGROUP' | 'PERMISSION' | 'STATSCLIENT' | 'DONOR' | 'SCAN' | 'STATION' | 'CARD' | 'DONATION' | 'CONTACT' | 'MAIL'; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; +}; + +export type ResponseUserGroup = { + name: string; + description?: string; + permissions?: Array; + id: number; +}; + +export type UserGroup = { + name: string; + description?: string; + id: number; +}; + +export type CreateUserGroup = { + name: string; + description?: string; +}; + +export type ResponseUser = { + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + username: string; + enabled: boolean; + profilePic: string; + groups?: Array; + permissions?: Array; + id: number; +}; + +export type UserAction = { + id: number; + target: string; + action: 'GET' | 'CREATE' | 'UPDATE' | 'DELETE' | 'IMPORT'; + changed?: string; +}; + +export type User = { + uuid: string; + email: string; + phone?: string; + username: string; + firstname: string; + middlename?: string; + lastname: string; + password: string; + groups?: unknown; + enabled: boolean; + refreshTokenCount: number; + profilePic: string; + resetRequestedTimestamp?: string; + actions?: unknown; + id: number; +}; + +export type IllegalJwtError = { + name: string; + message: string; +}; + +export type UserNonexistantOrRefreshtokenInvalidError = { + name: string; + message: string; +}; + +export type InvalidCredentialsError = { + name: string; + message: string; +}; + +export type NoPermissionError = { + name: string; + message: string; +}; + +export type UsernameOrEmailNeededError = { + name: string; + message: string; +}; + +export type PasswordNeededError = { + name: string; + message: string; +}; + +export type UserNotFoundError = { + name: string; + message: string; +}; + +export type JwtNotProvidedError = { + name: string; + message: string; +}; + +export type UserNotFoundOrRefreshTokenCountInvalidError = { + name: string; + message: string; +}; + +export type RefreshTokenCountInvalidError = { + name: string; + message: string; +}; + +export type ResetAlreadyRequestedError = { + name: string; + message: string; +}; + +export type UserDisabledError = { + name: string; + message: string; +}; + +export type JwtUser = { + id: number; + uuid: string; + email?: string; + username?: string; + firstname: string; + middlename?: string; + lastname: string; + enabled: boolean; + refreshTokenCount: number; + profilePic?: string; +}; + +export type MailSendingError = { + name: string; + message: string; +}; + +export type UsernameContainsIllegalCharacterError = { + name: string; + message: string; +}; + +export type UserEmailNeededError = { + name: string; + message: string; +}; + +export type UserIdsNotMatchingError = { + name: string; + message: string; +}; + +export type UserDeletionNotConfirmedError = { + name: string; + message: string; +}; + +export type PasswordMustContainUppercaseLetterError = { + name: string; + message: string; +}; + +export type PasswordMustContainLowercaseLetterError = { + name: string; + message: string; +}; + +export type PasswordMustContainNumberError = { + name: string; + message: string; +}; + +export type PasswordTooShortError = { + name: string; + message: string; +}; + +export type ResponseAuth = { + access_token: string; + refresh_token: string; + access_token_expires_at: number; + refresh_token_expires_at: number; +}; + +export type CreateAuth = { + username?: string; + email?: string; + password: string; +}; + +export type CreateResetToken = { + email: string; +}; + +export type Logout = { + timestamp: string; +}; + +export type HandleLogout = { + token?: string; +}; + +export type RefreshAuth = { + token?: string; +}; + +export type ResetPassword = { + resetToken?: string; + password: string; +}; + +export type ResponseEmpty = { + response: string; +}; + +export type DonationNotFoundError = { + name: string; + message: string; +}; + +export type DonationIdsNotMatchingError = { + name: string; + message: string; +}; + +export type DonorNotFoundError = { + name: string; + message: string; +}; + +export type DonorIdsNotMatchingError = { + name: string; + message: string; +}; + +export type DonorReceiptAddressNeededError = { + name: string; + message: string; +}; + +export type DonorHasDonationsError = { + name: string; + message: string; +}; + +export type RunnerNotFoundError = { + name: string; + message: string; +}; + +export type RunnerIdsNotMatchingError = { + name: string; + message: string; +}; + +export type RunnerGroupNeededError = { + name: string; + message: string; +}; + +export type RunnerEmailNeededError = { + name: string; + message: string; +}; + +export type RunnerSelfserviceTimeoutError = { + name: string; + message: string; +}; + +export type RunnerHasDistanceDonationsError = { + name: string; + message: string; +}; + +export type CreateDonation = { + donor: number; + paidAmount?: number; +}; + +export type CreateDistanceDonation = { + runner: number; + amountPerDistance: number; + donor: number; + paidAmount?: number; +}; + +export type FixedDonation = { + _amount: number; + amount: number; + id: number; + donor: string; + paidAmount: number; +}; + +export type CreateFixedDonation = { + amount: number; + donor: number; + paidAmount?: number; +}; + +export type UpdateDonation = { + id: number; + donor: number; + paidAmount?: number; +}; + +export type UpdateDistanceDonation = { + runner: number; + amountPerDistance: number; + id: number; + donor: number; + paidAmount?: number; +}; + +export type UpdateFixedDonation = { + amount: number; + id: number; + donor: number; + paidAmount?: number; +}; + +export type CreateDonor = { + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type UpdateDonor = { + id: number; + receiptNeeded?: boolean; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type UpdateGroupContact = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + address?: { + [key: string]: unknown; + }; + phone?: string; + email?: string; + groups?: unknown; +}; + +export type ImportRunner = { + firstname: string; + middlename?: string; + lastname: string; + team?: string; + class?: string; +}; + +export type UpdateRunner = { + id: number; + group: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type CreateRunnerCard = { + runner?: number; + enabled: boolean; +}; + +export type UpdateRunnerCard = { + id: number; + runner?: number; + enabled: boolean; +}; + +export type ScanNotFoundError = { + name: string; + message: string; +}; + +export type ScanIdsNotMatchingError = { + name: string; + message: string; +}; + +export type ScanStationNotFoundError = { + name: string; + message: string; +}; + +export type ScanStationIdsNotMatchingError = { + name: string; + message: string; +}; + +export type ScanStationHasScansError = { + name: string; + message: string; +}; + +export type CreateScan = { + runner: number; + valid?: boolean; + distance: number; +}; + +export type CreateTrackScan = { + card: number; + station?: number; +}; + +export type UpdateScan = { + id: number; + runner: number; + valid?: boolean; + distance: number; +}; + +export type UpdateTrackScan = { + id: number; + runner: number; + valid?: boolean; + track: number; +}; + +export type GroupNameNeededError = { + name: string; + message: string; +}; + +export type UserGroupNotFoundError = { + name: string; + message: string; +}; + +export type UserGroupIdsNotMatchingError = { + name: string; + message: string; +}; + +export type UpdateUser = { + id: number; + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password?: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; + +export type ResponseUserPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; + +export type PermissionNotFoundError = { + name: string; + message: string; +}; + +export type PermissionIdsNotMatchingError = { + name: string; + message: string; +}; + +export type PermissionNeedsPrincipalError = { + name: string; + message: string; +}; + +export type UpdatePermission = { + id: number; + principal: number; + target: string; + action: string; +}; + +export type UpdateRunnerOrganization = { + id: number; + address?: { + [key: string]: unknown; + }; + registrationEnabled?: boolean; + name: string; + contact?: number; +}; + +export type UpdateRunnerTeam = { + id: number; + parentGroup: number; + name: string; + contact?: number; +}; + +export type CreateSelfServiceCitizenRunner = { + email?: string; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type CreateSelfServiceRunner = { + team?: number; + firstname: string; + middlename?: string; + lastname: string; + phone?: string; + email?: string; + address?: { + [key: string]: unknown; + }; +}; + +export type ResponseSelfServiceTeam = { + name: string; + id: number; +}; + +export type ResponseSelfServiceOrganisation = { + name: string; + teams: Array; +}; + +export type ResponseSelfServiceDonor = { + id: number; + firstname: string; + middlename: string; + lastname: string; +}; + +export type ResponseSelfServiceDonation = { + donor: string; + amount: number; + amountPerDistance: number; +}; + +export type ResponseSelfServiceRunner = { + distance: number; + donationAmount: number; + group: string; + distanceDonations: string; + token?: string; + id: number; + firstname: string; + middlename: string; + lastname: string; + phone: string; + email: string; + address?: { + [key: string]: unknown; + }; +}; + +export type ResponseSelfServiceScan = { + id: number; + valid: boolean; + distance: number; + lapTime: number; +}; + +export type CreateScanStation = { + description?: string; + track: number; + enabled?: boolean; +}; + +export type UpdateScanStation = { + id: number; + description?: string; + enabled?: boolean; +}; + +export type StatsClientNotFoundError = { + name: string; + message: string; +}; + +export type StatsClientIdsNotMatchingError = { + name: string; + message: string; +}; + +export type ResponseStatsClient = { + id: number; + description?: string; + key?: string; + prefix: string; +}; + +export type StatsClient = { + id: number; + description?: string; + prefix: string; + key: string; + cleartextkey?: string; +}; + +export type CreateStatsClient = { + description?: string; +}; + +export type ResponseStats = { + total_runners: number; + total_teams: number; + total_orgs: number; + total_users: number; + total_scans: number; + total_distance: number; + total_donation: number; + total_donations: number; + total_donors: number; + average_distance: number; + average_donation: number; +}; + +export type ResponseStatsOrgnisation = { + id: number; + name: string; + distance: number; + donationAmount: number; +}; + +export type ResponseStatsRunner = { + id: number; + firstname: string; + middlename: string; + lastname: string; + distance: number; + donationAmount: number; + minLaptime?: number; + group: { + [key: string]: unknown; + }; +}; + +export type ResponseStatsTeam = { + id: number; + name: string; + distance: number; + donationAmount: number; + parent: { + [key: string]: unknown; + }; +}; + +export type CreateTrack = { + name: string; + distance: number; + minimumLapTime?: number; +}; + +export type UpdateTrack = { + id: number; + name: string; + distance: number; + minimumLapTime?: number; +}; + +export type CreateUser = { + firstname: string; + middlename?: string; + lastname: string; + username?: string; + email: string; + phone?: string; + password: string; + enabled?: boolean; + groups?: unknown; + profilePic?: string; +}; + +export type UpdateUserGroup = { + id: number; + name: string; + description?: string; +}; + +export type ResponseUserGroupPermissions = { + directlyGranted?: Array; + inherited?: Array; +}; + +export type AuthControllerLoginData = { + /** + * CreateAuth + */ + body?: CreateAuth; + path?: never; + query?: never; + url: '/api/auth/login'; +}; + +export type AuthControllerLoginResponses = { + 200: ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; + +export type AuthControllerLoginResponse = AuthControllerLoginResponses[keyof AuthControllerLoginResponses]; + +export type AuthControllerLogoutData = { + /** + * HandleLogout + */ + body?: HandleLogout; + path?: never; + query?: never; + url: '/api/auth/logout'; +}; + +export type AuthControllerLogoutResponses = { + 200: Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError; +}; + +export type AuthControllerLogoutResponse = AuthControllerLogoutResponses[keyof AuthControllerLogoutResponses]; + +export type AuthControllerRefreshData = { + /** + * RefreshAuth + */ + body?: RefreshAuth; + path?: never; + query?: never; + url: '/api/auth/refresh'; +}; + +export type AuthControllerRefreshResponses = { + 200: ResponseAuth | JwtNotProvidedError | IllegalJwtError | UserNotFoundError | RefreshTokenCountInvalidError; +}; + +export type AuthControllerRefreshResponse = AuthControllerRefreshResponses[keyof AuthControllerRefreshResponses]; + +export type AuthControllerGetResetTokenData = { + /** + * CreateResetToken + */ + body?: CreateResetToken; + path?: never; + query?: { + locale?: string; + }; + url: '/api/auth/reset'; +}; + +export type AuthControllerGetResetTokenErrors = { + 404: UserNotFoundError; + 406: UsernameOrEmailNeededError; + 500: MailSendingError; +}; + +export type AuthControllerGetResetTokenError = AuthControllerGetResetTokenErrors[keyof AuthControllerGetResetTokenErrors]; + +export type AuthControllerGetResetTokenResponses = { + 200: ResponseEmpty; +}; + +export type AuthControllerGetResetTokenResponse = AuthControllerGetResetTokenResponses[keyof AuthControllerGetResetTokenResponses]; + +export type AuthControllerResetPasswordData = { + /** + * ResetPassword + */ + body?: ResetPassword; + path: { + token: string; + }; + query?: never; + url: '/api/auth/reset/{token}'; +}; + +export type AuthControllerResetPasswordResponses = { + 200: ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError; +}; + +export type AuthControllerResetPasswordResponse = AuthControllerResetPasswordResponses[keyof AuthControllerResetPasswordResponses]; + +export type DonationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donations'; +}; + +export type DonationControllerGetAllResponses = { + 200: Array | Array; +}; + +export type DonationControllerGetAllResponse = DonationControllerGetAllResponses[keyof DonationControllerGetAllResponses]; + +export type DonationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donations/{id}'; +}; + +export type DonationControllerRemoveResponses = { + 200: ResponseDonation | ResponseDistanceDonation; + 204: ResponseEmpty; +}; + +export type DonationControllerRemoveResponse = DonationControllerRemoveResponses[keyof DonationControllerRemoveResponses]; + +export type DonationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donations/{id}'; +}; + +export type DonationControllerGetOneErrors = { + 404: DonationNotFoundError; +}; + +export type DonationControllerGetOneError = DonationControllerGetOneErrors[keyof DonationControllerGetOneErrors]; + +export type DonationControllerGetOneResponses = { + 200: ResponseDonation | ResponseDistanceDonation; +}; + +export type DonationControllerGetOneResponse = DonationControllerGetOneResponses[keyof DonationControllerGetOneResponses]; + +export type DonationControllerPostFixedData = { + /** + * CreateFixedDonation + */ + body?: CreateFixedDonation; + path?: never; + query?: never; + url: '/api/donations/fixed'; +}; + +export type DonationControllerPostFixedErrors = { + 404: DonorNotFoundError; +}; + +export type DonationControllerPostFixedError = DonationControllerPostFixedErrors[keyof DonationControllerPostFixedErrors]; + +export type DonationControllerPostFixedResponses = { + 200: ResponseDonation; +}; + +export type DonationControllerPostFixedResponse = DonationControllerPostFixedResponses[keyof DonationControllerPostFixedResponses]; + +export type DonationControllerPostDistanceData = { + /** + * CreateDistanceDonation + */ + body?: CreateDistanceDonation; + path?: never; + query?: never; + url: '/api/donations/distance'; +}; + +export type DonationControllerPostDistanceErrors = { + 404: DonorNotFoundError | RunnerNotFoundError; +}; + +export type DonationControllerPostDistanceError = DonationControllerPostDistanceErrors[keyof DonationControllerPostDistanceErrors]; + +export type DonationControllerPostDistanceResponses = { + 200: ResponseDistanceDonation; +}; + +export type DonationControllerPostDistanceResponse = DonationControllerPostDistanceResponses[keyof DonationControllerPostDistanceResponses]; + +export type DonationControllerPutFixedData = { + /** + * UpdateFixedDonation + */ + body?: UpdateFixedDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/fixed/{id}'; +}; + +export type DonationControllerPutFixedErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; + +export type DonationControllerPutFixedError = DonationControllerPutFixedErrors[keyof DonationControllerPutFixedErrors]; + +export type DonationControllerPutFixedResponses = { + 200: ResponseDonation; +}; + +export type DonationControllerPutFixedResponse = DonationControllerPutFixedResponses[keyof DonationControllerPutFixedResponses]; + +export type DonationControllerPutDistanceData = { + /** + * UpdateDistanceDonation + */ + body?: UpdateDistanceDonation; + path: { + id: number; + }; + query?: never; + url: '/api/donations/distance/{id}'; +}; + +export type DonationControllerPutDistanceErrors = { + 404: DonationNotFoundError | DonorNotFoundError | RunnerNotFoundError; + 406: DonationIdsNotMatchingError; +}; + +export type DonationControllerPutDistanceError = DonationControllerPutDistanceErrors[keyof DonationControllerPutDistanceErrors]; + +export type DonationControllerPutDistanceResponses = { + 200: ResponseDonation; +}; + +export type DonationControllerPutDistanceResponse = DonationControllerPutDistanceResponses[keyof DonationControllerPutDistanceResponses]; + +export type DonorControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/donors'; +}; + +export type DonorControllerGetAllResponses = { + 200: Array; +}; + +export type DonorControllerGetAllResponse = DonorControllerGetAllResponses[keyof DonorControllerGetAllResponses]; + +export type DonorControllerPostData = { + /** + * CreateDonor + */ + body?: CreateDonor; + path?: never; + query?: never; + url: '/api/donors'; +}; + +export type DonorControllerPostResponses = { + 200: ResponseDonor; +}; + +export type DonorControllerPostResponse = DonorControllerPostResponses[keyof DonorControllerPostResponses]; + +export type DonorControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/donors/{id}'; +}; + +export type DonorControllerRemoveResponses = { + 200: ResponseDonor; + 204: ResponseEmpty; +}; + +export type DonorControllerRemoveResponse = DonorControllerRemoveResponses[keyof DonorControllerRemoveResponses]; + +export type DonorControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; + +export type DonorControllerGetOneErrors = { + 404: DonorNotFoundError; +}; + +export type DonorControllerGetOneError = DonorControllerGetOneErrors[keyof DonorControllerGetOneErrors]; + +export type DonorControllerGetOneResponses = { + 200: ResponseDonor; +}; + +export type DonorControllerGetOneResponse = DonorControllerGetOneResponses[keyof DonorControllerGetOneResponses]; + +export type DonorControllerPutData = { + /** + * UpdateDonor + */ + body?: UpdateDonor; + path: { + id: number; + }; + query?: never; + url: '/api/donors/{id}'; +}; + +export type DonorControllerPutErrors = { + 404: DonorNotFoundError; + 406: DonorIdsNotMatchingError; +}; + +export type DonorControllerPutError = DonorControllerPutErrors[keyof DonorControllerPutErrors]; + +export type DonorControllerPutResponses = { + 200: ResponseDonor; +}; + +export type DonorControllerPutResponse = DonorControllerPutResponses[keyof DonorControllerPutResponses]; + +export type GroupContactControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/contacts'; +}; + +export type GroupContactControllerGetAllResponses = { + 200: Array; +}; + +export type GroupContactControllerGetAllResponse = GroupContactControllerGetAllResponses[keyof GroupContactControllerGetAllResponses]; + +export type GroupContactControllerPostData = { + /** + * CreateGroupContact + */ + body?: CreateGroupContact; + path?: never; + query?: never; + url: '/api/contacts'; +}; + +export type GroupContactControllerPostErrors = { + 404: RunnerGroupNotFoundError; +}; + +export type GroupContactControllerPostError = GroupContactControllerPostErrors[keyof GroupContactControllerPostErrors]; + +export type GroupContactControllerPostResponses = { + 200: ResponseGroupContact; +}; + +export type GroupContactControllerPostResponse = GroupContactControllerPostResponses[keyof GroupContactControllerPostResponses]; + +export type GroupContactControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/contacts/{id}'; +}; + +export type GroupContactControllerRemoveResponses = { + 200: ResponseGroupContact; + 204: ResponseEmpty; +}; + +export type GroupContactControllerRemoveResponse = GroupContactControllerRemoveResponses[keyof GroupContactControllerRemoveResponses]; + +export type GroupContactControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; + +export type GroupContactControllerGetOneErrors = { + 404: GroupContactNotFoundError; +}; + +export type GroupContactControllerGetOneError = GroupContactControllerGetOneErrors[keyof GroupContactControllerGetOneErrors]; + +export type GroupContactControllerGetOneResponses = { + 200: ResponseGroupContact; +}; + +export type GroupContactControllerGetOneResponse = GroupContactControllerGetOneResponses[keyof GroupContactControllerGetOneResponses]; + +export type GroupContactControllerPutData = { + /** + * UpdateGroupContact + */ + body?: UpdateGroupContact; + path: { + id: number; + }; + query?: never; + url: '/api/contacts/{id}'; +}; + +export type GroupContactControllerPutErrors = { + 404: GroupContactNotFoundError | RunnerGroupNotFoundError; + 406: GroupContactIdsNotMatchingError; +}; + +export type GroupContactControllerPutError = GroupContactControllerPutErrors[keyof GroupContactControllerPutErrors]; + +export type GroupContactControllerPutResponses = { + 200: ResponseGroupContact; +}; + +export type GroupContactControllerPutResponse = GroupContactControllerPutResponses[keyof GroupContactControllerPutResponses]; + +export type ScanControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/scans'; +}; + +export type ScanControllerGetAllResponses = { + 200: Array | Array; +}; + +export type ScanControllerGetAllResponse = ScanControllerGetAllResponses[keyof ScanControllerGetAllResponses]; + +export type ScanControllerPostData = { + /** + * CreateScan + */ + body?: CreateScan; + path?: never; + query?: never; + url: '/api/scans'; +}; + +export type ScanControllerPostErrors = { + 404: RunnerNotFoundError; +}; + +export type ScanControllerPostError = ScanControllerPostErrors[keyof ScanControllerPostErrors]; + +export type ScanControllerPostResponses = { + 200: ResponseScan; +}; + +export type ScanControllerPostResponse = ScanControllerPostResponses[keyof ScanControllerPostResponses]; + +export type ScanControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/scans/{id}'; +}; + +export type ScanControllerRemoveResponses = { + 200: ResponseScan; + 204: ResponseEmpty; +}; + +export type ScanControllerRemoveResponse = ScanControllerRemoveResponses[keyof ScanControllerRemoveResponses]; + +export type ScanControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; + +export type ScanControllerGetOneErrors = { + 404: ScanNotFoundError; +}; + +export type ScanControllerGetOneError = ScanControllerGetOneErrors[keyof ScanControllerGetOneErrors]; + +export type ScanControllerGetOneResponses = { + 200: ResponseScan | ResponseTrackScan; +}; + +export type ScanControllerGetOneResponse = ScanControllerGetOneResponses[keyof ScanControllerGetOneResponses]; + +export type ScanControllerPutData = { + /** + * UpdateScan + */ + body?: UpdateScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/{id}'; +}; + +export type ScanControllerPutErrors = { + 404: ScanNotFoundError | RunnerNotFoundError; + 406: ScanIdsNotMatchingError; +}; + +export type ScanControllerPutError = ScanControllerPutErrors[keyof ScanControllerPutErrors]; + +export type ScanControllerPutResponses = { + 200: ResponseScan; +}; + +export type ScanControllerPutResponse = ScanControllerPutResponses[keyof ScanControllerPutResponses]; + +export type ScanControllerPostTrackScansData = { + /** + * CreateTrackScan + */ + body?: CreateTrackScan; + path?: never; + query?: never; + url: '/api/scans/trackscans'; +}; + +export type ScanControllerPostTrackScansErrors = { + 404: RunnerNotFoundError; +}; + +export type ScanControllerPostTrackScansError = ScanControllerPostTrackScansErrors[keyof ScanControllerPostTrackScansErrors]; + +export type ScanControllerPostTrackScansResponses = { + 200: ResponseTrackScan; +}; + +export type ScanControllerPostTrackScansResponse = ScanControllerPostTrackScansResponses[keyof ScanControllerPostTrackScansResponses]; + +export type ScanControllerPutTrackScanData = { + /** + * UpdateTrackScan + */ + body?: UpdateTrackScan; + path: { + id: number; + }; + query?: never; + url: '/api/scans/trackscans/{id}'; +}; + +export type ScanControllerPutTrackScanErrors = { + 404: ScanNotFoundError | RunnerNotFoundError | ScanStationNotFoundError; + 406: ScanIdsNotMatchingError; +}; + +export type ScanControllerPutTrackScanError = ScanControllerPutTrackScanErrors[keyof ScanControllerPutTrackScanErrors]; + +export type ScanControllerPutTrackScanResponses = { + 200: ResponseTrackScan; +}; + +export type ScanControllerPutTrackScanResponse = ScanControllerPutTrackScanResponses[keyof ScanControllerPutTrackScanResponses]; + +export type RunnerCardControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/cards'; +}; + +export type RunnerCardControllerGetAllResponses = { + 200: Array; +}; + +export type RunnerCardControllerGetAllResponse = RunnerCardControllerGetAllResponses[keyof RunnerCardControllerGetAllResponses]; + +export type RunnerCardControllerPostData = { + /** + * CreateRunnerCard + */ + body?: CreateRunnerCard; + path?: never; + query?: never; + url: '/api/cards'; +}; + +export type RunnerCardControllerPostErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerCardControllerPostError = RunnerCardControllerPostErrors[keyof RunnerCardControllerPostErrors]; + +export type RunnerCardControllerPostResponses = { + 200: ResponseRunnerCard; +}; + +export type RunnerCardControllerPostResponse = RunnerCardControllerPostResponses[keyof RunnerCardControllerPostResponses]; + +export type RunnerCardControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/cards/{id}'; +}; + +export type RunnerCardControllerRemoveErrors = { + 406: RunnerCardHasScansError; +}; + +export type RunnerCardControllerRemoveError = RunnerCardControllerRemoveErrors[keyof RunnerCardControllerRemoveErrors]; + +export type RunnerCardControllerRemoveResponses = { + 200: ResponseRunnerCard; + 204: ResponseEmpty; +}; + +export type RunnerCardControllerRemoveResponse = RunnerCardControllerRemoveResponses[keyof RunnerCardControllerRemoveResponses]; + +export type RunnerCardControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; + +export type RunnerCardControllerGetOneErrors = { + 404: RunnerCardNotFoundError; +}; + +export type RunnerCardControllerGetOneError = RunnerCardControllerGetOneErrors[keyof RunnerCardControllerGetOneErrors]; + +export type RunnerCardControllerGetOneResponses = { + 200: ResponseRunnerCard; +}; + +export type RunnerCardControllerGetOneResponse = RunnerCardControllerGetOneResponses[keyof RunnerCardControllerGetOneResponses]; + +export type RunnerCardControllerPutData = { + /** + * UpdateRunnerCard + */ + body?: UpdateRunnerCard; + path: { + id: number; + }; + query?: never; + url: '/api/cards/{id}'; +}; + +export type RunnerCardControllerPutErrors = { + 404: RunnerCardNotFoundError | RunnerNotFoundError; + 406: RunnerCardIdsNotMatchingError; +}; + +export type RunnerCardControllerPutError = RunnerCardControllerPutErrors[keyof RunnerCardControllerPutErrors]; + +export type RunnerCardControllerPutResponses = { + 200: ResponseRunnerCard; +}; + +export type RunnerCardControllerPutResponse = RunnerCardControllerPutResponses[keyof RunnerCardControllerPutResponses]; + +export type RunnerCardControllerPostBlancoBulkData = { + body?: never; + path?: never; + query?: { + count?: number; + returnCards?: boolean; + }; + url: '/api/cards/bulk'; +}; + +export type RunnerCardControllerPostBlancoBulkResponses = { + 200: ResponseEmpty; +}; + +export type RunnerCardControllerPostBlancoBulkResponse = RunnerCardControllerPostBlancoBulkResponses[keyof RunnerCardControllerPostBlancoBulkResponses]; + +export type RunnerControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/runners'; +}; + +export type RunnerControllerGetAllResponses = { + 200: Array; +}; + +export type RunnerControllerGetAllResponse = RunnerControllerGetAllResponses[keyof RunnerControllerGetAllResponses]; + +export type RunnerControllerPostData = { + /** + * CreateRunner + */ + body?: CreateRunner; + path?: never; + query?: never; + url: '/api/runners'; +}; + +export type RunnerControllerPostResponses = { + 200: ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError; +}; + +export type RunnerControllerPostResponse = RunnerControllerPostResponses[keyof RunnerControllerPostResponses]; + +export type RunnerControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/{id}'; +}; + +export type RunnerControllerRemoveErrors = { + 406: RunnerHasDistanceDonationsError; +}; + +export type RunnerControllerRemoveError = RunnerControllerRemoveErrors[keyof RunnerControllerRemoveErrors]; + +export type RunnerControllerRemoveResponses = { + 200: ResponseRunner; + 204: ResponseEmpty; +}; + +export type RunnerControllerRemoveResponse = RunnerControllerRemoveResponses[keyof RunnerControllerRemoveResponses]; + +export type RunnerControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; + +export type RunnerControllerGetOneErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerControllerGetOneError = RunnerControllerGetOneErrors[keyof RunnerControllerGetOneErrors]; + +export type RunnerControllerGetOneResponses = { + 200: ResponseRunner; +}; + +export type RunnerControllerGetOneResponse = RunnerControllerGetOneResponses[keyof RunnerControllerGetOneResponses]; + +export type RunnerControllerPutData = { + /** + * UpdateRunner + */ + body?: UpdateRunner; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}'; +}; + +export type RunnerControllerPutErrors = { + 404: RunnerNotFoundError; + 406: RunnerIdsNotMatchingError; +}; + +export type RunnerControllerPutError = RunnerControllerPutErrors[keyof RunnerControllerPutErrors]; + +export type RunnerControllerPutResponses = { + 200: ResponseRunner; +}; + +export type RunnerControllerPutResponse = RunnerControllerPutResponses[keyof RunnerControllerPutResponses]; + +export type RunnerControllerGetScansData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/runners/{id}/scans'; +}; + +export type RunnerControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerControllerGetScansError = RunnerControllerGetScansErrors[keyof RunnerControllerGetScansErrors]; + +export type RunnerControllerGetScansResponses = { + 200: Array | Array; +}; + +export type RunnerControllerGetScansResponse = RunnerControllerGetScansResponses[keyof RunnerControllerGetScansResponses]; + +export type ImportControllerPostJsonData = { + /** + * ImportRunner + */ + body?: Array; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import'; +}; + +export type ImportControllerPostJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostJsonError = ImportControllerPostJsonErrors[keyof ImportControllerPostJsonErrors]; + +export type ImportControllerPostJsonResponses = { + 200: Array; +}; + +export type ImportControllerPostJsonResponse = ImportControllerPostJsonResponses[keyof ImportControllerPostJsonResponses]; + +export type ImportControllerPostOrgsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import'; +}; + +export type ImportControllerPostOrgsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostOrgsJsonError = ImportControllerPostOrgsJsonErrors[keyof ImportControllerPostOrgsJsonErrors]; + +export type ImportControllerPostOrgsJsonResponses = { + 200: Array; +}; + +export type ImportControllerPostOrgsJsonResponse = ImportControllerPostOrgsJsonResponses[keyof ImportControllerPostOrgsJsonResponses]; + +export type ImportControllerPostTeamsJsonData = { + /** + * ImportRunner + */ + body?: Array; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import'; +}; + +export type ImportControllerPostTeamsJsonErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostTeamsJsonError = ImportControllerPostTeamsJsonErrors[keyof ImportControllerPostTeamsJsonErrors]; + +export type ImportControllerPostTeamsJsonResponses = { + 200: Array; +}; + +export type ImportControllerPostTeamsJsonResponse = ImportControllerPostTeamsJsonResponses[keyof ImportControllerPostTeamsJsonResponses]; + +export type ImportControllerPostCsvData = { + body?: never; + path?: never; + query?: { + group?: number; + }; + url: '/api/runners/import/csv'; +}; + +export type ImportControllerPostCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostCsvError = ImportControllerPostCsvErrors[keyof ImportControllerPostCsvErrors]; + +export type ImportControllerPostCsvResponses = { + 200: Array; +}; + +export type ImportControllerPostCsvResponse = ImportControllerPostCsvResponses[keyof ImportControllerPostCsvResponses]; + +export type ImportControllerPostOrgsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}/import/csv'; +}; + +export type ImportControllerPostOrgsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostOrgsCsvError = ImportControllerPostOrgsCsvErrors[keyof ImportControllerPostOrgsCsvErrors]; + +export type ImportControllerPostOrgsCsvResponses = { + 200: Array; +}; + +export type ImportControllerPostOrgsCsvResponse = ImportControllerPostOrgsCsvResponses[keyof ImportControllerPostOrgsCsvResponses]; + +export type ImportControllerPostTeamsCsvData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/import/csv'; +}; + +export type ImportControllerPostTeamsCsvErrors = { + 404: RunnerGroupNotFoundError; + 406: RunnerGroupNeededError; +}; + +export type ImportControllerPostTeamsCsvError = ImportControllerPostTeamsCsvErrors[keyof ImportControllerPostTeamsCsvErrors]; + +export type ImportControllerPostTeamsCsvResponses = { + 200: Array; +}; + +export type ImportControllerPostTeamsCsvResponse = ImportControllerPostTeamsCsvResponses[keyof ImportControllerPostTeamsCsvResponses]; + +export type PermissionControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/permissions'; +}; + +export type PermissionControllerGetAllResponses = { + 200: Array; +}; + +export type PermissionControllerGetAllResponse = PermissionControllerGetAllResponses[keyof PermissionControllerGetAllResponses]; + +export type PermissionControllerPostData = { + /** + * CreatePermission + */ + body?: CreatePermission; + path?: never; + query?: never; + url: '/api/permissions'; +}; + +export type PermissionControllerPostErrors = { + 404: PrincipalNotFoundError; +}; + +export type PermissionControllerPostError = PermissionControllerPostErrors[keyof PermissionControllerPostErrors]; + +export type PermissionControllerPostResponses = { + 200: ResponsePermission; +}; + +export type PermissionControllerPostResponse = PermissionControllerPostResponses[keyof PermissionControllerPostResponses]; + +export type PermissionControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/permissions/{id}'; +}; + +export type PermissionControllerRemoveResponses = { + 200: ResponsePermission; + 204: ResponseEmpty; +}; + +export type PermissionControllerRemoveResponse = PermissionControllerRemoveResponses[keyof PermissionControllerRemoveResponses]; + +export type PermissionControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; + +export type PermissionControllerGetOneErrors = { + 404: PermissionNotFoundError; +}; + +export type PermissionControllerGetOneError = PermissionControllerGetOneErrors[keyof PermissionControllerGetOneErrors]; + +export type PermissionControllerGetOneResponses = { + 200: ResponsePermission; +}; + +export type PermissionControllerGetOneResponse = PermissionControllerGetOneResponses[keyof PermissionControllerGetOneResponses]; + +export type PermissionControllerPutData = { + /** + * UpdatePermission + */ + body?: UpdatePermission; + path: { + id: number; + }; + query?: never; + url: '/api/permissions/{id}'; +}; + +export type PermissionControllerPutErrors = { + 404: PermissionNotFoundError | PrincipalNotFoundError; + 406: PermissionIdsNotMatchingError | PermissionNeedsPrincipalError; +}; + +export type PermissionControllerPutError = PermissionControllerPutErrors[keyof PermissionControllerPutErrors]; + +export type PermissionControllerPutResponses = { + 200: ResponsePrincipal; +}; + +export type PermissionControllerPutResponse = PermissionControllerPutResponses[keyof PermissionControllerPutResponses]; + +export type MeControllerRemoveData = { + body?: never; + path?: never; + query?: { + force?: boolean; + }; + url: '/api/users/me/'; +}; + +export type MeControllerRemoveErrors = { + 404: UserNotFoundError; + 406: UserDeletionNotConfirmedError; +}; + +export type MeControllerRemoveError = MeControllerRemoveErrors[keyof MeControllerRemoveErrors]; + +export type MeControllerRemoveResponses = { + 200: ResponseUser; +}; + +export type MeControllerRemoveResponse = MeControllerRemoveResponses[keyof MeControllerRemoveResponses]; + +export type MeControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/'; +}; + +export type MeControllerGetErrors = { + 404: UserNotFoundError; +}; + +export type MeControllerGetError = MeControllerGetErrors[keyof MeControllerGetErrors]; + +export type MeControllerGetResponses = { + 200: ResponseUser; +}; + +export type MeControllerGetResponse = MeControllerGetResponses[keyof MeControllerGetResponses]; + +export type MeControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path?: never; + query?: never; + url: '/api/users/me/'; +}; + +export type MeControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; + +export type MeControllerPutError = MeControllerPutErrors[keyof MeControllerPutErrors]; + +export type MeControllerPutResponses = { + 200: ResponseUser; +}; + +export type MeControllerPutResponse = MeControllerPutResponses[keyof MeControllerPutResponses]; + +export type MeControllerGetPermissionsData = { + body?: never; + path?: never; + query?: never; + url: '/api/users/me/permissions'; +}; + +export type MeControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; + +export type MeControllerGetPermissionsError = MeControllerGetPermissionsErrors[keyof MeControllerGetPermissionsErrors]; + +export type MeControllerGetPermissionsResponses = { + 200: ResponseUserPermissions; +}; + +export type MeControllerGetPermissionsResponse = MeControllerGetPermissionsResponses[keyof MeControllerGetPermissionsResponses]; + +export type RunnerTeamControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/teams'; +}; + +export type RunnerTeamControllerGetAllResponses = { + 200: Array; +}; + +export type RunnerTeamControllerGetAllResponse = RunnerTeamControllerGetAllResponses[keyof RunnerTeamControllerGetAllResponses]; + +export type RunnerTeamControllerPostData = { + /** + * CreateRunnerTeam + */ + body?: CreateRunnerTeam; + path?: never; + query?: never; + url: '/api/teams'; +}; + +export type RunnerTeamControllerPostResponses = { + 200: ResponseRunnerTeam; +}; + +export type RunnerTeamControllerPostResponse = RunnerTeamControllerPostResponses[keyof RunnerTeamControllerPostResponses]; + +export type RunnerTeamControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/teams/{id}'; +}; + +export type RunnerTeamControllerRemoveErrors = { + 406: RunnerTeamHasRunnersError; +}; + +export type RunnerTeamControllerRemoveError = RunnerTeamControllerRemoveErrors[keyof RunnerTeamControllerRemoveErrors]; + +export type RunnerTeamControllerRemoveResponses = { + 200: ResponseRunnerTeam; + 204: ResponseEmpty; +}; + +export type RunnerTeamControllerRemoveResponse = RunnerTeamControllerRemoveResponses[keyof RunnerTeamControllerRemoveResponses]; + +export type RunnerTeamControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; + +export type RunnerTeamControllerGetOneErrors = { + 404: RunnerTeamNotFoundError; +}; + +export type RunnerTeamControllerGetOneError = RunnerTeamControllerGetOneErrors[keyof RunnerTeamControllerGetOneErrors]; + +export type RunnerTeamControllerGetOneResponses = { + 200: ResponseRunnerTeam; +}; + +export type RunnerTeamControllerGetOneResponse = RunnerTeamControllerGetOneResponses[keyof RunnerTeamControllerGetOneResponses]; + +export type RunnerTeamControllerPutData = { + /** + * UpdateRunnerTeam + */ + body?: UpdateRunnerTeam; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}'; +}; + +export type RunnerTeamControllerPutErrors = { + 404: RunnerTeamNotFoundError; + 406: RunnerTeamIdsNotMatchingError; +}; + +export type RunnerTeamControllerPutError = RunnerTeamControllerPutErrors[keyof RunnerTeamControllerPutErrors]; + +export type RunnerTeamControllerPutResponses = { + 200: ResponseRunnerTeam; +}; + +export type RunnerTeamControllerPutResponse = RunnerTeamControllerPutResponses[keyof RunnerTeamControllerPutResponses]; + +export type RunnerTeamControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/teams/{id}/runners'; +}; + +export type RunnerTeamControllerGetRunnersErrors = { + 404: RunnerTeamNotFoundError; +}; + +export type RunnerTeamControllerGetRunnersError = RunnerTeamControllerGetRunnersErrors[keyof RunnerTeamControllerGetRunnersErrors]; + +export type RunnerTeamControllerGetRunnersResponses = { + 200: Array; +}; + +export type RunnerTeamControllerGetRunnersResponse = RunnerTeamControllerGetRunnersResponses[keyof RunnerTeamControllerGetRunnersResponses]; + +export type RunnerOrganizationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/organizations'; +}; + +export type RunnerOrganizationControllerGetAllResponses = { + 200: Array; +}; + +export type RunnerOrganizationControllerGetAllResponse = RunnerOrganizationControllerGetAllResponses[keyof RunnerOrganizationControllerGetAllResponses]; + +export type RunnerOrganizationControllerPostData = { + /** + * CreateRunnerOrganization + */ + body?: CreateRunnerOrganization; + path?: never; + query?: never; + url: '/api/organizations'; +}; + +export type RunnerOrganizationControllerPostResponses = { + 200: ResponseRunnerOrganization; +}; + +export type RunnerOrganizationControllerPostResponse = RunnerOrganizationControllerPostResponses[keyof RunnerOrganizationControllerPostResponses]; + +export type RunnerOrganizationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/organizations/{id}'; +}; + +export type RunnerOrganizationControllerRemoveErrors = { + 406: RunnerOrganizationHasTeamsError | RunnerOrganizationHasRunnersError; +}; + +export type RunnerOrganizationControllerRemoveError = RunnerOrganizationControllerRemoveErrors[keyof RunnerOrganizationControllerRemoveErrors]; + +export type RunnerOrganizationControllerRemoveResponses = { + 200: ResponseRunnerOrganization; + 204: ResponseEmpty; +}; + +export type RunnerOrganizationControllerRemoveResponse = RunnerOrganizationControllerRemoveResponses[keyof RunnerOrganizationControllerRemoveResponses]; + +export type RunnerOrganizationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; + +export type RunnerOrganizationControllerGetOneErrors = { + 404: RunnerOrganizationNotFoundError; +}; + +export type RunnerOrganizationControllerGetOneError = RunnerOrganizationControllerGetOneErrors[keyof RunnerOrganizationControllerGetOneErrors]; + +export type RunnerOrganizationControllerGetOneResponses = { + 200: ResponseRunnerOrganization; +}; + +export type RunnerOrganizationControllerGetOneResponse = RunnerOrganizationControllerGetOneResponses[keyof RunnerOrganizationControllerGetOneResponses]; + +export type RunnerOrganizationControllerPutData = { + /** + * UpdateRunnerOrganization + */ + body?: UpdateRunnerOrganization; + path: { + id: number; + }; + query?: never; + url: '/api/organizations/{id}'; +}; + +export type RunnerOrganizationControllerPutErrors = { + 404: RunnerOrganizationNotFoundError; + 406: RunnerOrganizationIdsNotMatchingError; +}; + +export type RunnerOrganizationControllerPutError = RunnerOrganizationControllerPutErrors[keyof RunnerOrganizationControllerPutErrors]; + +export type RunnerOrganizationControllerPutResponses = { + 200: ResponseRunnerOrganization; +}; + +export type RunnerOrganizationControllerPutResponse = RunnerOrganizationControllerPutResponses[keyof RunnerOrganizationControllerPutResponses]; + +export type RunnerOrganizationControllerGetRunnersData = { + body?: never; + path: { + id: number; + }; + query?: { + onlyDirect?: boolean; + }; + url: '/api/organizations/{id}/runners'; +}; + +export type RunnerOrganizationControllerGetRunnersErrors = { + 404: RunnerOrganizationNotFoundError; +}; + +export type RunnerOrganizationControllerGetRunnersError = RunnerOrganizationControllerGetRunnersErrors[keyof RunnerOrganizationControllerGetRunnersErrors]; + +export type RunnerOrganizationControllerGetRunnersResponses = { + 200: Array; +}; + +export type RunnerOrganizationControllerGetRunnersResponse = RunnerOrganizationControllerGetRunnersResponses[keyof RunnerOrganizationControllerGetRunnersResponses]; + +export type RunnerSelfServiceControllerRemoveData = { + body?: never; + path: { + jwt: string; + }; + query?: { + force?: boolean; + }; + url: '/api/runners/me/{jwt}'; +}; + +export type RunnerSelfServiceControllerRemoveErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerSelfServiceControllerRemoveError = RunnerSelfServiceControllerRemoveErrors[keyof RunnerSelfServiceControllerRemoveErrors]; + +export type RunnerSelfServiceControllerRemoveResponses = { + 200: ResponseSelfServiceRunner; +}; + +export type RunnerSelfServiceControllerRemoveResponse = RunnerSelfServiceControllerRemoveResponses[keyof RunnerSelfServiceControllerRemoveResponses]; + +export type RunnerSelfServiceControllerGetData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}'; +}; + +export type RunnerSelfServiceControllerGetErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerSelfServiceControllerGetError = RunnerSelfServiceControllerGetErrors[keyof RunnerSelfServiceControllerGetErrors]; + +export type RunnerSelfServiceControllerGetResponses = { + 200: ResponseSelfServiceRunner; +}; + +export type RunnerSelfServiceControllerGetResponse = RunnerSelfServiceControllerGetResponses[keyof RunnerSelfServiceControllerGetResponses]; + +export type RunnerSelfServiceControllerGetScansData = { + body?: never; + path: { + jwt: string; + }; + query?: never; + url: '/api/runners/me/{jwt}/scans'; +}; + +export type RunnerSelfServiceControllerGetScansErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerSelfServiceControllerGetScansError = RunnerSelfServiceControllerGetScansErrors[keyof RunnerSelfServiceControllerGetScansErrors]; + +export type RunnerSelfServiceControllerGetScansResponses = { + 200: Array; +}; + +export type RunnerSelfServiceControllerGetScansResponse = RunnerSelfServiceControllerGetScansResponses[keyof RunnerSelfServiceControllerGetScansResponses]; + +export type RunnerSelfServiceControllerGetStationMeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stations/me'; +}; + +export type RunnerSelfServiceControllerGetStationMeErrors = { + 404: ScanStationNotFoundError; +}; + +export type RunnerSelfServiceControllerGetStationMeError = RunnerSelfServiceControllerGetStationMeErrors[keyof RunnerSelfServiceControllerGetStationMeErrors]; + +export type RunnerSelfServiceControllerGetStationMeResponses = { + 200: ResponseScanStation; +}; + +export type RunnerSelfServiceControllerGetStationMeResponse = RunnerSelfServiceControllerGetStationMeResponses[keyof RunnerSelfServiceControllerGetStationMeResponses]; + +export type RunnerSelfServiceControllerRequestNewTokenData = { + body?: never; + path?: never; + query?: { + mail?: string; + locale?: string; + }; + url: '/api/runners/login'; +}; + +export type RunnerSelfServiceControllerRequestNewTokenErrors = { + 404: RunnerNotFoundError; +}; + +export type RunnerSelfServiceControllerRequestNewTokenError = RunnerSelfServiceControllerRequestNewTokenErrors[keyof RunnerSelfServiceControllerRequestNewTokenErrors]; + +export type RunnerSelfServiceControllerRequestNewTokenResponses = { + /** + * Successful response + */ + 200: unknown; +}; + +export type RunnerSelfServiceControllerRegisterRunnerData = { + /** + * CreateSelfServiceCitizenRunner + */ + body?: CreateSelfServiceCitizenRunner; + path?: never; + query?: { + locale?: string; + }; + url: '/api/runners/register'; +}; + +export type RunnerSelfServiceControllerRegisterRunnerErrors = { + 406: RunnerEmailNeededError; +}; + +export type RunnerSelfServiceControllerRegisterRunnerError = RunnerSelfServiceControllerRegisterRunnerErrors[keyof RunnerSelfServiceControllerRegisterRunnerErrors]; + +export type RunnerSelfServiceControllerRegisterRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; + +export type RunnerSelfServiceControllerRegisterRunnerResponse = RunnerSelfServiceControllerRegisterRunnerResponses[keyof RunnerSelfServiceControllerRegisterRunnerResponses]; + +export type RunnerSelfServiceControllerRegisterOrganizationRunnerData = { + /** + * CreateSelfServiceRunner + */ + body?: CreateSelfServiceRunner; + path: { + token: string; + }; + query?: { + locale?: string; + }; + url: '/api/runners/register/{token}'; +}; + +export type RunnerSelfServiceControllerRegisterOrganizationRunnerErrors = { + 404: RunnerOrganizationNotFoundError; +}; + +export type RunnerSelfServiceControllerRegisterOrganizationRunnerError = RunnerSelfServiceControllerRegisterOrganizationRunnerErrors[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerErrors]; + +export type RunnerSelfServiceControllerRegisterOrganizationRunnerResponses = { + 200: ResponseSelfServiceRunner; +}; + +export type RunnerSelfServiceControllerRegisterOrganizationRunnerResponse = RunnerSelfServiceControllerRegisterOrganizationRunnerResponses[keyof RunnerSelfServiceControllerRegisterOrganizationRunnerResponses]; + +export type RunnerSelfServiceControllerGetSelfserviceOrgData = { + body?: never; + path: { + token: string; + }; + query?: never; + url: '/api/organizations/selfservice/{token}'; +}; + +export type RunnerSelfServiceControllerGetSelfserviceOrgErrors = { + 404: RunnerOrganizationNotFoundError; +}; + +export type RunnerSelfServiceControllerGetSelfserviceOrgError = RunnerSelfServiceControllerGetSelfserviceOrgErrors[keyof RunnerSelfServiceControllerGetSelfserviceOrgErrors]; + +export type RunnerSelfServiceControllerGetSelfserviceOrgResponses = { + 200: ResponseSelfServiceOrganisation; +}; + +export type RunnerSelfServiceControllerGetSelfserviceOrgResponse = RunnerSelfServiceControllerGetSelfserviceOrgResponses[keyof RunnerSelfServiceControllerGetSelfserviceOrgResponses]; + +export type ScanStationControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/stations'; +}; + +export type ScanStationControllerGetAllResponses = { + 200: Array; +}; + +export type ScanStationControllerGetAllResponse = ScanStationControllerGetAllResponses[keyof ScanStationControllerGetAllResponses]; + +export type ScanStationControllerPostData = { + /** + * CreateScanStation + */ + body?: CreateScanStation; + path?: never; + query?: never; + url: '/api/stations'; +}; + +export type ScanStationControllerPostErrors = { + 404: TrackNotFoundError; +}; + +export type ScanStationControllerPostError = ScanStationControllerPostErrors[keyof ScanStationControllerPostErrors]; + +export type ScanStationControllerPostResponses = { + 200: ResponseScanStation; +}; + +export type ScanStationControllerPostResponse = ScanStationControllerPostResponses[keyof ScanStationControllerPostResponses]; + +export type ScanStationControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/stations/{id}'; +}; + +export type ScanStationControllerRemoveErrors = { + 406: ScanStationHasScansError; +}; + +export type ScanStationControllerRemoveError = ScanStationControllerRemoveErrors[keyof ScanStationControllerRemoveErrors]; + +export type ScanStationControllerRemoveResponses = { + 200: ResponseScanStation; + 204: ResponseEmpty; +}; + +export type ScanStationControllerRemoveResponse = ScanStationControllerRemoveResponses[keyof ScanStationControllerRemoveResponses]; + +export type ScanStationControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; + +export type ScanStationControllerGetOneErrors = { + 404: ScanStationNotFoundError; +}; + +export type ScanStationControllerGetOneError = ScanStationControllerGetOneErrors[keyof ScanStationControllerGetOneErrors]; + +export type ScanStationControllerGetOneResponses = { + 200: ResponseScanStation; +}; + +export type ScanStationControllerGetOneResponse = ScanStationControllerGetOneResponses[keyof ScanStationControllerGetOneResponses]; + +export type ScanStationControllerPutData = { + /** + * UpdateScanStation + */ + body?: UpdateScanStation; + path: { + id: number; + }; + query?: never; + url: '/api/stations/{id}'; +}; + +export type ScanStationControllerPutErrors = { + 404: ScanStationNotFoundError; + 406: ScanStationIdsNotMatchingError; +}; + +export type ScanStationControllerPutError = ScanStationControllerPutErrors[keyof ScanStationControllerPutErrors]; + +export type ScanStationControllerPutResponses = { + 200: ResponseScanStation; +}; + +export type ScanStationControllerPutResponse = ScanStationControllerPutResponses[keyof ScanStationControllerPutResponses]; + +export type StatsClientControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/statsclients'; +}; + +export type StatsClientControllerGetAllResponses = { + 200: Array; +}; + +export type StatsClientControllerGetAllResponse = StatsClientControllerGetAllResponses[keyof StatsClientControllerGetAllResponses]; + +export type StatsClientControllerPostData = { + /** + * CreateStatsClient + */ + body?: CreateStatsClient; + path?: never; + query?: never; + url: '/api/statsclients'; +}; + +export type StatsClientControllerPostResponses = { + 200: ResponseStatsClient; +}; + +export type StatsClientControllerPostResponse = StatsClientControllerPostResponses[keyof StatsClientControllerPostResponses]; + +export type StatsClientControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/statsclients/{id}'; +}; + +export type StatsClientControllerRemoveResponses = { + 200: ResponseStatsClient; + 204: ResponseEmpty; +}; + +export type StatsClientControllerRemoveResponse = StatsClientControllerRemoveResponses[keyof StatsClientControllerRemoveResponses]; + +export type StatsClientControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/statsclients/{id}'; +}; + +export type StatsClientControllerGetOneErrors = { + 404: StatsClientNotFoundError; +}; + +export type StatsClientControllerGetOneError = StatsClientControllerGetOneErrors[keyof StatsClientControllerGetOneErrors]; + +export type StatsClientControllerGetOneResponses = { + 200: ResponseStatsClient; +}; + +export type StatsClientControllerGetOneResponse = StatsClientControllerGetOneResponses[keyof StatsClientControllerGetOneResponses]; + +export type StatsControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats'; +}; + +export type StatsControllerGetResponses = { + 200: ResponseStats; +}; + +export type StatsControllerGetResponse = StatsControllerGetResponses[keyof StatsControllerGetResponses]; + +export type StatsControllerGetTopRunnersByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/distance'; +}; + +export type StatsControllerGetTopRunnersByDistanceResponses = { + 200: Array; +}; + +export type StatsControllerGetTopRunnersByDistanceResponse = StatsControllerGetTopRunnersByDistanceResponses[keyof StatsControllerGetTopRunnersByDistanceResponses]; + +export type StatsControllerGetTopRunnersByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/runners/donations'; +}; + +export type StatsControllerGetTopRunnersByDonationsResponses = { + 200: Array; +}; + +export type StatsControllerGetTopRunnersByDonationsResponse = StatsControllerGetTopRunnersByDonationsResponses[keyof StatsControllerGetTopRunnersByDonationsResponses]; + +export type StatsControllerGetTopRunnersByLaptimeData = { + body?: never; + path?: never; + query?: { + track?: number; + }; + url: '/api/stats/runners/laptime'; +}; + +export type StatsControllerGetTopRunnersByLaptimeResponses = { + 200: Array; +}; + +export type StatsControllerGetTopRunnersByLaptimeResponse = StatsControllerGetTopRunnersByLaptimeResponses[keyof StatsControllerGetTopRunnersByLaptimeResponses]; + +export type StatsControllerGetTopRunnersByTrackTimeData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/scans'; +}; + +export type StatsControllerGetTopRunnersByTrackTimeResponses = { + 200: Array; +}; + +export type StatsControllerGetTopRunnersByTrackTimeResponse = StatsControllerGetTopRunnersByTrackTimeResponses[keyof StatsControllerGetTopRunnersByTrackTimeResponses]; + +export type StatsControllerGetTopTeamsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/distance'; +}; + +export type StatsControllerGetTopTeamsByDistanceResponses = { + 200: Array; +}; + +export type StatsControllerGetTopTeamsByDistanceResponse = StatsControllerGetTopTeamsByDistanceResponses[keyof StatsControllerGetTopTeamsByDistanceResponses]; + +export type StatsControllerGetTopTeamsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/teams/donations'; +}; + +export type StatsControllerGetTopTeamsByDonationsResponses = { + 200: Array; +}; + +export type StatsControllerGetTopTeamsByDonationsResponse = StatsControllerGetTopTeamsByDonationsResponses[keyof StatsControllerGetTopTeamsByDonationsResponses]; + +export type StatsControllerGetTopOrgsByDistanceData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/distance'; +}; + +export type StatsControllerGetTopOrgsByDistanceResponses = { + 200: Array; +}; + +export type StatsControllerGetTopOrgsByDistanceResponse = StatsControllerGetTopOrgsByDistanceResponses[keyof StatsControllerGetTopOrgsByDistanceResponses]; + +export type StatsControllerGetTopOrgsByDonationsData = { + body?: never; + path?: never; + query?: never; + url: '/api/stats/organizations/donations'; +}; + +export type StatsControllerGetTopOrgsByDonationsResponses = { + 200: Array; +}; + +export type StatsControllerGetTopOrgsByDonationsResponse = StatsControllerGetTopOrgsByDonationsResponses[keyof StatsControllerGetTopOrgsByDonationsResponses]; + +export type StatusControllerGetData = { + body?: never; + path?: never; + query?: never; + url: '/api/status'; +}; + +export type StatusControllerGetResponses = { + /** + * Successful response + */ + 200: unknown; +}; + +export type StatusControllerGetVersionData = { + body?: never; + path?: never; + query?: never; + url: '/api/version'; +}; + +export type StatusControllerGetVersionResponses = { + /** + * Successful response + */ + 200: unknown; +}; + +export type TrackControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/tracks'; +}; + +export type TrackControllerGetAllResponses = { + 200: Array; +}; + +export type TrackControllerGetAllResponse = TrackControllerGetAllResponses[keyof TrackControllerGetAllResponses]; + +export type TrackControllerPostData = { + /** + * CreateTrack + */ + body?: CreateTrack; + path?: never; + query?: never; + url: '/api/tracks'; +}; + +export type TrackControllerPostErrors = { + 406: TrackLapTimeCantBeNegativeError; +}; + +export type TrackControllerPostError = TrackControllerPostErrors[keyof TrackControllerPostErrors]; + +export type TrackControllerPostResponses = { + 200: ResponseTrack; +}; + +export type TrackControllerPostResponse = TrackControllerPostResponses[keyof TrackControllerPostResponses]; + +export type TrackControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/tracks/{id}'; +}; + +export type TrackControllerRemoveResponses = { + 200: ResponseTrack; + 204: ResponseEmpty; +}; + +export type TrackControllerRemoveResponse = TrackControllerRemoveResponses[keyof TrackControllerRemoveResponses]; + +export type TrackControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; + +export type TrackControllerGetOneErrors = { + 404: TrackNotFoundError; +}; + +export type TrackControllerGetOneError = TrackControllerGetOneErrors[keyof TrackControllerGetOneErrors]; + +export type TrackControllerGetOneResponses = { + 200: ResponseTrack; +}; + +export type TrackControllerGetOneResponse = TrackControllerGetOneResponses[keyof TrackControllerGetOneResponses]; + +export type TrackControllerPutData = { + /** + * UpdateTrack + */ + body?: UpdateTrack; + path: { + id: number; + }; + query?: never; + url: '/api/tracks/{id}'; +}; + +export type TrackControllerPutErrors = { + 404: TrackNotFoundError; + 406: TrackIdsNotMatchingError | TrackLapTimeCantBeNegativeError; +}; + +export type TrackControllerPutError = TrackControllerPutErrors[keyof TrackControllerPutErrors]; + +export type TrackControllerPutResponses = { + 200: ResponseTrack; +}; + +export type TrackControllerPutResponse = TrackControllerPutResponses[keyof TrackControllerPutResponses]; + +export type UserControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/users'; +}; + +export type UserControllerGetAllResponses = { + 200: Array; +}; + +export type UserControllerGetAllResponse = UserControllerGetAllResponses[keyof UserControllerGetAllResponses]; + +export type UserControllerPostData = { + /** + * CreateUser + */ + body?: CreateUser; + path?: never; + query?: never; + url: '/api/users'; +}; + +export type UserControllerPostErrors = { + 404: UserGroupNotFoundError; + 406: UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; + +export type UserControllerPostError = UserControllerPostErrors[keyof UserControllerPostErrors]; + +export type UserControllerPostResponses = { + 200: ResponseUser; +}; + +export type UserControllerPostResponse = UserControllerPostResponses[keyof UserControllerPostResponses]; + +export type UserControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/users/{id}'; +}; + +export type UserControllerRemoveErrors = { + 406: UserDeletionNotConfirmedError; +}; + +export type UserControllerRemoveError = UserControllerRemoveErrors[keyof UserControllerRemoveErrors]; + +export type UserControllerRemoveResponses = { + 200: ResponseUser; + 204: ResponseEmpty; +}; + +export type UserControllerRemoveResponse = UserControllerRemoveResponses[keyof UserControllerRemoveResponses]; + +export type UserControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; + +export type UserControllerGetOneErrors = { + 404: UserNotFoundError; +}; + +export type UserControllerGetOneError = UserControllerGetOneErrors[keyof UserControllerGetOneErrors]; + +export type UserControllerGetOneResponses = { + 200: ResponseUser; +}; + +export type UserControllerGetOneResponse = UserControllerGetOneResponses[keyof UserControllerGetOneResponses]; + +export type UserControllerPutData = { + /** + * UpdateUser + */ + body?: UpdateUser; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}'; +}; + +export type UserControllerPutErrors = { + 404: UserNotFoundError; + 406: UserIdsNotMatchingError | UsernameContainsIllegalCharacterError | PasswordMustContainUppercaseLetterError | PasswordMustContainLowercaseLetterError | PasswordMustContainNumberError | PasswordTooShortError; +}; + +export type UserControllerPutError = UserControllerPutErrors[keyof UserControllerPutErrors]; + +export type UserControllerPutResponses = { + 200: ResponseUser; +}; + +export type UserControllerPutResponse = UserControllerPutResponses[keyof UserControllerPutResponses]; + +export type UserControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/users/{id}/permissions'; +}; + +export type UserControllerGetPermissionsErrors = { + 404: UserNotFoundError; +}; + +export type UserControllerGetPermissionsError = UserControllerGetPermissionsErrors[keyof UserControllerGetPermissionsErrors]; + +export type UserControllerGetPermissionsResponses = { + 200: ResponseUser; +}; + +export type UserControllerGetPermissionsResponse = UserControllerGetPermissionsResponses[keyof UserControllerGetPermissionsResponses]; + +export type UserGroupControllerGetAllData = { + body?: never; + path?: never; + query?: { + page?: number; + page_size?: number; + }; + url: '/api/usergroups'; +}; + +export type UserGroupControllerGetAllResponses = { + 200: Array; +}; + +export type UserGroupControllerGetAllResponse = UserGroupControllerGetAllResponses[keyof UserGroupControllerGetAllResponses]; + +export type UserGroupControllerPostData = { + /** + * CreateUserGroup + */ + body?: CreateUserGroup; + path?: never; + query?: never; + url: '/api/usergroups'; +}; + +export type UserGroupControllerPostResponses = { + 200: UserGroup | UserGroupNotFoundError; +}; + +export type UserGroupControllerPostResponse = UserGroupControllerPostResponses[keyof UserGroupControllerPostResponses]; + +export type UserGroupControllerRemoveData = { + body?: never; + path: { + id: number; + }; + query?: { + force?: boolean; + }; + url: '/api/usergroups/{id}'; +}; + +export type UserGroupControllerRemoveResponses = { + 200: ResponseUserGroup; + 204: ResponseEmpty; +}; + +export type UserGroupControllerRemoveResponse = UserGroupControllerRemoveResponses[keyof UserGroupControllerRemoveResponses]; + +export type UserGroupControllerGetOneData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; + +export type UserGroupControllerGetOneErrors = { + 404: UserGroupNotFoundError; +}; + +export type UserGroupControllerGetOneError = UserGroupControllerGetOneErrors[keyof UserGroupControllerGetOneErrors]; + +export type UserGroupControllerGetOneResponses = { + 200: ResponseUserGroup; +}; + +export type UserGroupControllerGetOneResponse = UserGroupControllerGetOneResponses[keyof UserGroupControllerGetOneResponses]; + +export type UserGroupControllerPutData = { + /** + * UpdateUserGroup + */ + body?: UpdateUserGroup; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}'; +}; + +export type UserGroupControllerPutErrors = { + 404: UserGroupNotFoundError; + 406: UserGroupIdsNotMatchingError; +}; + +export type UserGroupControllerPutError = UserGroupControllerPutErrors[keyof UserGroupControllerPutErrors]; + +export type UserGroupControllerPutResponses = { + 200: UserGroup; +}; + +export type UserGroupControllerPutResponse = UserGroupControllerPutResponses[keyof UserGroupControllerPutResponses]; + +export type UserGroupControllerGetPermissionsData = { + body?: never; + path: { + id: number; + }; + query?: never; + url: '/api/usergroups/{id}/permissions'; +}; + +export type UserGroupControllerGetPermissionsErrors = { + 404: UserGroupNotFoundError; +}; + +export type UserGroupControllerGetPermissionsError = UserGroupControllerGetPermissionsErrors[keyof UserGroupControllerGetPermissionsErrors]; + +export type UserGroupControllerGetPermissionsResponses = { + 200: ResponseUserGroupPermissions; +}; + +export type UserGroupControllerGetPermissionsResponse = UserGroupControllerGetPermissionsResponses[keyof UserGroupControllerGetPermissionsResponses]; + +export type ClientOptions = { + baseUrl: 'https://run.lauf-fuer-kaya.de' | (string & {}); +}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..e2d86a3 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "rootDir": ".", + "target": "es2018", + "module": "esnext", + "lib": [ + "esnext" + ], + "moduleResolution": "node", + "esModuleInterop": true, + "strict": true, + "strictNullChecks": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "skipDefaultLibCheck": true + } +} \ No newline at end of file