Fresh dist
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Nicolai Ort 2023-02-02 16:14:10 +01:00
parent e996375677
commit ad90844846
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
43 changed files with 270 additions and 267 deletions

View File

@ -3,7 +3,7 @@ import type { ApiResult } from './ApiResult';
/** /**
* Request using fetch client * Request using fetch client
* @param options The request options from the the service * @param options The request options from the the service
* @result ApiResult * @returns ApiResult
* @throws ApiError * @throws ApiError
*/ */
export declare function request(options: ApiRequestOptions): Promise<ApiResult>; export declare function request(options: ApiRequestOptions): Promise<ApiResult>;

View File

@ -111,6 +111,9 @@ async function sendRequest(options, url) {
headers: await getHeaders(options), headers: await getHeaders(options),
body: getRequestBody(options), body: getRequestBody(options),
}; };
if (OpenAPI_1.OpenAPI.WITH_CREDENTIALS) {
request.credentials = 'include';
}
return await fetch(url, request); return await fetch(url, request);
} }
function getResponseHeader(response, responseHeader) { function getResponseHeader(response, responseHeader) {
@ -162,7 +165,7 @@ function catchErrors(options, result) {
/** /**
* Request using fetch client * Request using fetch client
* @param options The request options from the the service * @param options The request options from the the service
* @result ApiResult * @returns ApiResult
* @throws ApiError * @throws ApiError
*/ */
async function request(options) { async function request(options) {

View File

@ -20,25 +20,25 @@ export declare class AuthService {
* * access token (use it as a bearer token) * * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie) * * refresh token (will also be sent as a cookie)
* @param requestBody CreateAuth * @param requestBody CreateAuth
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static authControllerLogin(requestBody?: CreateAuth): Promise<(ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError | InvalidCredentialsError)>; static authControllerLogin(requestBody?: CreateAuth): Promise<(ResponseAuth | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError)>;
/** /**
* Logout * Logout
* Logout using your refresh token. <br> This instantly invalidates all your access and refresh tokens. * Logout using your refresh token. <br> This instantly invalidates all your access and refresh tokens.
* @param requestBody HandleLogout * @param requestBody HandleLogout
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static authControllerLogout(requestBody?: HandleLogout): Promise<(Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError | InvalidCredentialsError)>; static authControllerLogout(requestBody?: HandleLogout): Promise<(Logout | InvalidCredentialsError | UserNotFoundError | UsernameOrEmailNeededError | PasswordNeededError)>;
/** /**
* Refresh * Refresh
* Refresh your access and refresh tokens using a valid refresh token. <br> You will receive: * Refresh your access and refresh tokens using a valid refresh token. <br> You will receive:
* * access token (use it as a bearer token) * * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie) * * refresh token (will also be sent as a cookie)
* @param requestBody RefreshAuth * @param requestBody RefreshAuth
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static authControllerRefresh(requestBody?: RefreshAuth): Promise<(ResponseAuth | JwtNotProvidedError | IllegalJWTError | UserNotFoundError | RefreshTokenCountInvalidError)>; static authControllerRefresh(requestBody?: RefreshAuth): Promise<(ResponseAuth | JwtNotProvidedError | IllegalJWTError | UserNotFoundError | RefreshTokenCountInvalidError)>;
@ -47,7 +47,7 @@ export declare class AuthService {
* Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. * Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}.
* @param locale * @param locale
* @param requestBody CreateResetToken * @param requestBody CreateResetToken
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static authControllerGetResetToken(locale?: string, requestBody?: CreateResetToken): Promise<ResponseEmpty>; static authControllerGetResetToken(locale?: string, requestBody?: CreateResetToken): Promise<ResponseEmpty>;
@ -56,7 +56,7 @@ export declare class AuthService {
* Reset a user's utilising a valid password reset token. <br> This will set the user's password to the one you provided in the body. <br> To get a reset token post to /api/auth/reset with your username. * Reset a user's utilising a valid password reset token. <br> This will set the user's password to the one you provided in the body. <br> To get a reset token post to /api/auth/reset with your username.
* @param token * @param token
* @param requestBody ResetPassword * @param requestBody ResetPassword
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static authControllerResetPassword(token: string, requestBody?: ResetPassword): Promise<(ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError)>; static authControllerResetPassword(token: string, requestBody?: ResetPassword): Promise<(ResponseAuth | UserNotFoundError | UsernameOrEmailNeededError)>;

View File

@ -9,7 +9,7 @@ class AuthService {
* * access token (use it as a bearer token) * * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie) * * refresh token (will also be sent as a cookie)
* @param requestBody CreateAuth * @param requestBody CreateAuth
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async authControllerLogin(requestBody) { static async authControllerLogin(requestBody) {
@ -24,7 +24,7 @@ class AuthService {
* Logout * Logout
* Logout using your refresh token. <br> This instantly invalidates all your access and refresh tokens. * Logout using your refresh token. <br> This instantly invalidates all your access and refresh tokens.
* @param requestBody HandleLogout * @param requestBody HandleLogout
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async authControllerLogout(requestBody) { static async authControllerLogout(requestBody) {
@ -41,7 +41,7 @@ class AuthService {
* * access token (use it as a bearer token) * * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie) * * refresh token (will also be sent as a cookie)
* @param requestBody RefreshAuth * @param requestBody RefreshAuth
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async authControllerRefresh(requestBody) { static async authControllerRefresh(requestBody) {
@ -57,7 +57,7 @@ class AuthService {
* Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}. * Request a password reset token. <br> This will provide you with a reset token that you can use by posting to /api/auth/reset/{token}.
* @param locale * @param locale
* @param requestBody CreateResetToken * @param requestBody CreateResetToken
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async authControllerGetResetToken(locale, requestBody) { static async authControllerGetResetToken(locale, requestBody) {
@ -76,7 +76,7 @@ class AuthService {
* Reset a user's utilising a valid password reset token. <br> This will set the user's password to the one you provided in the body. <br> To get a reset token post to /api/auth/reset with your username. * Reset a user's utilising a valid password reset token. <br> This will set the user's password to the one you provided in the body. <br> To get a reset token post to /api/auth/reset with your username.
* @param token * @param token
* @param requestBody ResetPassword * @param requestBody ResetPassword
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async authControllerResetPassword(token, requestBody) { static async authControllerResetPassword(token, requestBody) {

View File

@ -9,7 +9,7 @@ export declare class DonationService {
/** /**
* Get all * Get all
* Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation). * Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation).
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static donationControllerGetAll(): Promise<(Array<ResponseDonation> | Array<ResponseDistanceDonation>)>; static donationControllerGetAll(): Promise<(Array<ResponseDonation> | Array<ResponseDistanceDonation>)>;
@ -17,7 +17,7 @@ export declare class DonationService {
* Get one * Get one
* Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation).
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static donationControllerGetOne(id: number): Promise<(ResponseDonation | ResponseDistanceDonation)>; static donationControllerGetOne(id: number): Promise<(ResponseDonation | ResponseDistanceDonation)>;
@ -26,8 +26,8 @@ export declare class DonationService {
* Delete the donation whose id you provided. <br> If no donation with this id exists it will just return 204(no content). * Delete the donation whose id you provided. <br> If no donation with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result any * @returns any
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static donationControllerRemove(id: number, force?: boolean): Promise<(ResponseDonation | ResponseDistanceDonation) | ResponseEmpty>; static donationControllerRemove(id: number, force?: boolean): Promise<(ResponseDonation | ResponseDistanceDonation) | ResponseEmpty>;
@ -35,7 +35,7 @@ export declare class DonationService {
* Post fixed * Post fixed
* Create a fixed donation (not distance donation - use /donations/distance instead). <br> Please rmemember to provide the donation's donors's id and amount. * Create a fixed donation (not distance donation - use /donations/distance instead). <br> Please rmemember to provide the donation's donors's id and amount.
* @param requestBody CreateFixedDonation * @param requestBody CreateFixedDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static donationControllerPostFixed(requestBody?: CreateFixedDonation): Promise<ResponseDonation>; static donationControllerPostFixed(requestBody?: CreateFixedDonation): Promise<ResponseDonation>;
@ -43,7 +43,7 @@ export declare class DonationService {
* Post distance * Post distance
* Create a distance donation (not fixed donation - use /donations/fixed instead). <br> Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). * Create a distance donation (not fixed donation - use /donations/fixed instead). <br> Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer).
* @param requestBody CreateDistanceDonation * @param requestBody CreateDistanceDonation
* @result ResponseDistanceDonation * @returns ResponseDistanceDonation
* @throws ApiError * @throws ApiError
*/ */
static donationControllerPostDistance(requestBody?: CreateDistanceDonation): Promise<ResponseDistanceDonation>; static donationControllerPostDistance(requestBody?: CreateDistanceDonation): Promise<ResponseDistanceDonation>;
@ -52,7 +52,7 @@ export declare class DonationService {
* Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided. <br> Please remember that ids can't be changed and amounts must be positive. * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided. <br> Please remember that ids can't be changed and amounts must be positive.
* @param id * @param id
* @param requestBody UpdateFixedDonation * @param requestBody UpdateFixedDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static donationControllerPutFixed(id: number, requestBody?: UpdateFixedDonation): Promise<ResponseDonation>; static donationControllerPutFixed(id: number, requestBody?: UpdateFixedDonation): Promise<ResponseDonation>;
@ -61,7 +61,7 @@ export declare class DonationService {
* Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided. <br> Please remember that ids can't be changed and amountPerDistance must be positive. * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided. <br> Please remember that ids can't be changed and amountPerDistance must be positive.
* @param id * @param id
* @param requestBody UpdateDistanceDonation * @param requestBody UpdateDistanceDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static donationControllerPutDistance(id: number, requestBody?: UpdateDistanceDonation): Promise<ResponseDonation>; static donationControllerPutDistance(id: number, requestBody?: UpdateDistanceDonation): Promise<ResponseDonation>;

View File

@ -6,7 +6,7 @@ class DonationService {
/** /**
* Get all * Get all
* Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation). * Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation).
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerGetAll() { static async donationControllerGetAll() {
@ -20,7 +20,7 @@ class DonationService {
* Get one * Get one
* Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation). * Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation).
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerGetOne(id) { static async donationControllerGetOne(id) {
@ -35,8 +35,8 @@ class DonationService {
* Delete the donation whose id you provided. <br> If no donation with this id exists it will just return 204(no content). * Delete the donation whose id you provided. <br> If no donation with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result any * @returns any
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerRemove(id, force) { static async donationControllerRemove(id, force) {
@ -53,7 +53,7 @@ class DonationService {
* Post fixed * Post fixed
* Create a fixed donation (not distance donation - use /donations/distance instead). <br> Please rmemember to provide the donation's donors's id and amount. * Create a fixed donation (not distance donation - use /donations/distance instead). <br> Please rmemember to provide the donation's donors's id and amount.
* @param requestBody CreateFixedDonation * @param requestBody CreateFixedDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerPostFixed(requestBody) { static async donationControllerPostFixed(requestBody) {
@ -68,7 +68,7 @@ class DonationService {
* Post distance * Post distance
* Create a distance donation (not fixed donation - use /donations/fixed instead). <br> Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer). * Create a distance donation (not fixed donation - use /donations/fixed instead). <br> Please rmemember to provide the donation's donors's and runners ids and amount per distance (kilometer).
* @param requestBody CreateDistanceDonation * @param requestBody CreateDistanceDonation
* @result ResponseDistanceDonation * @returns ResponseDistanceDonation
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerPostDistance(requestBody) { static async donationControllerPostDistance(requestBody) {
@ -84,7 +84,7 @@ class DonationService {
* Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided. <br> Please remember that ids can't be changed and amounts must be positive. * Update the fixed donation (not distance donation - use /donations/distance instead) whose id you provided. <br> Please remember that ids can't be changed and amounts must be positive.
* @param id * @param id
* @param requestBody UpdateFixedDonation * @param requestBody UpdateFixedDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerPutFixed(id, requestBody) { static async donationControllerPutFixed(id, requestBody) {
@ -100,7 +100,7 @@ class DonationService {
* Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided. <br> Please remember that ids can't be changed and amountPerDistance must be positive. * Update the distance donation (not fixed donation - use /donations/fixed instead) whose id you provided. <br> Please remember that ids can't be changed and amountPerDistance must be positive.
* @param id * @param id
* @param requestBody UpdateDistanceDonation * @param requestBody UpdateDistanceDonation
* @result ResponseDonation * @returns ResponseDonation
* @throws ApiError * @throws ApiError
*/ */
static async donationControllerPutDistance(id, requestBody) { static async donationControllerPutDistance(id, requestBody) {

View File

@ -6,7 +6,7 @@ export declare class DonorService {
/** /**
* Get all * Get all
* Lists all donor. <br> This includes the donor's current donation amount. * Lists all donor. <br> This includes the donor's current donation amount.
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static donorControllerGetAll(): Promise<Array<ResponseDonor>>; static donorControllerGetAll(): Promise<Array<ResponseDonor>>;
@ -14,7 +14,7 @@ export declare class DonorService {
* Post * Post
* Create a new donor. * Create a new donor.
* @param requestBody CreateDonor * @param requestBody CreateDonor
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static donorControllerPost(requestBody?: CreateDonor): Promise<ResponseDonor>; static donorControllerPost(requestBody?: CreateDonor): Promise<ResponseDonor>;
@ -22,7 +22,7 @@ export declare class DonorService {
* Get one * Get one
* Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount. * Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount.
* @param id * @param id
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static donorControllerGetOne(id: number): Promise<ResponseDonor>; static donorControllerGetOne(id: number): Promise<ResponseDonor>;
@ -31,7 +31,7 @@ export declare class DonorService {
* Update the donor whose id you provided. <br> Please remember that ids can't be changed. * Update the donor whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateDonor * @param requestBody UpdateDonor
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static donorControllerPut(id: number, requestBody?: UpdateDonor): Promise<ResponseDonor>; static donorControllerPut(id: number, requestBody?: UpdateDonor): Promise<ResponseDonor>;
@ -40,8 +40,8 @@ export declare class DonorService {
* Delete the donor whose id you provided. <br> If no donor with this id exists it will just return 204(no content). <br> 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. * Delete the donor whose id you provided. <br> If no donor with this id exists it will just return 204(no content). <br> 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.
* @param id * @param id
* @param force * @param force
* @result ResponseDonor * @returns ResponseDonor
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static donorControllerRemove(id: number, force?: boolean): Promise<ResponseDonor | ResponseEmpty>; static donorControllerRemove(id: number, force?: boolean): Promise<ResponseDonor | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class DonorService {
/** /**
* Get all * Get all
* Lists all donor. <br> This includes the donor's current donation amount. * Lists all donor. <br> This includes the donor's current donation amount.
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static async donorControllerGetAll() { static async donorControllerGetAll() {
@ -20,7 +20,7 @@ class DonorService {
* Post * Post
* Create a new donor. * Create a new donor.
* @param requestBody CreateDonor * @param requestBody CreateDonor
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static async donorControllerPost(requestBody) { static async donorControllerPost(requestBody) {
@ -35,7 +35,7 @@ class DonorService {
* Get one * Get one
* Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount. * Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount.
* @param id * @param id
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static async donorControllerGetOne(id) { static async donorControllerGetOne(id) {
@ -50,7 +50,7 @@ class DonorService {
* Update the donor whose id you provided. <br> Please remember that ids can't be changed. * Update the donor whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateDonor * @param requestBody UpdateDonor
* @result ResponseDonor * @returns ResponseDonor
* @throws ApiError * @throws ApiError
*/ */
static async donorControllerPut(id, requestBody) { static async donorControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class DonorService {
* Delete the donor whose id you provided. <br> If no donor with this id exists it will just return 204(no content). <br> 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. * Delete the donor whose id you provided. <br> If no donor with this id exists it will just return 204(no content). <br> 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.
* @param id * @param id
* @param force * @param force
* @result ResponseDonor * @returns ResponseDonor
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async donorControllerRemove(id, force) { static async donorControllerRemove(id, force) {

View File

@ -6,7 +6,7 @@ export declare class GroupContactService {
/** /**
* Get all * Get all
* Lists all contacts. <br> This includes the contact's associated groups. * Lists all contacts. <br> This includes the contact's associated groups.
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static groupContactControllerGetAll(): Promise<Array<ResponseGroupContact>>; static groupContactControllerGetAll(): Promise<Array<ResponseGroupContact>>;
@ -14,7 +14,7 @@ export declare class GroupContactService {
* Post * Post
* Create a new contact. * Create a new contact.
* @param requestBody CreateGroupContact * @param requestBody CreateGroupContact
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static groupContactControllerPost(requestBody?: CreateGroupContact): Promise<ResponseGroupContact>; static groupContactControllerPost(requestBody?: CreateGroupContact): Promise<ResponseGroupContact>;
@ -22,7 +22,7 @@ export declare class GroupContactService {
* Get one * Get one
* Lists all information about the contact whose id got provided. <br> This includes the contact's associated groups. * Lists all information about the contact whose id got provided. <br> This includes the contact's associated groups.
* @param id * @param id
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static groupContactControllerGetOne(id: number): Promise<ResponseGroupContact>; static groupContactControllerGetOne(id: number): Promise<ResponseGroupContact>;
@ -31,7 +31,7 @@ export declare class GroupContactService {
* Update the contact whose id you provided. <br> Please remember that ids can't be changed. * Update the contact whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateGroupContact * @param requestBody UpdateGroupContact
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static groupContactControllerPut(id: number, requestBody?: UpdateGroupContact): Promise<ResponseGroupContact>; static groupContactControllerPut(id: number, requestBody?: UpdateGroupContact): Promise<ResponseGroupContact>;
@ -40,8 +40,8 @@ export declare class GroupContactService {
* Delete the contact whose id you provided. <br> If no contact with this id exists it will just return 204(no content). <br> This won't delete any groups associated with the contact. * Delete the contact whose id you provided. <br> If no contact with this id exists it will just return 204(no content). <br> This won't delete any groups associated with the contact.
* @param id * @param id
* @param force * @param force
* @result ResponseGroupContact * @returns ResponseGroupContact
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static groupContactControllerRemove(id: number, force?: boolean): Promise<ResponseGroupContact | ResponseEmpty>; static groupContactControllerRemove(id: number, force?: boolean): Promise<ResponseGroupContact | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class GroupContactService {
/** /**
* Get all * Get all
* Lists all contacts. <br> This includes the contact's associated groups. * Lists all contacts. <br> This includes the contact's associated groups.
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static async groupContactControllerGetAll() { static async groupContactControllerGetAll() {
@ -20,7 +20,7 @@ class GroupContactService {
* Post * Post
* Create a new contact. * Create a new contact.
* @param requestBody CreateGroupContact * @param requestBody CreateGroupContact
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static async groupContactControllerPost(requestBody) { static async groupContactControllerPost(requestBody) {
@ -35,7 +35,7 @@ class GroupContactService {
* Get one * Get one
* Lists all information about the contact whose id got provided. <br> This includes the contact's associated groups. * Lists all information about the contact whose id got provided. <br> This includes the contact's associated groups.
* @param id * @param id
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static async groupContactControllerGetOne(id) { static async groupContactControllerGetOne(id) {
@ -50,7 +50,7 @@ class GroupContactService {
* Update the contact whose id you provided. <br> Please remember that ids can't be changed. * Update the contact whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateGroupContact * @param requestBody UpdateGroupContact
* @result ResponseGroupContact * @returns ResponseGroupContact
* @throws ApiError * @throws ApiError
*/ */
static async groupContactControllerPut(id, requestBody) { static async groupContactControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class GroupContactService {
* Delete the contact whose id you provided. <br> If no contact with this id exists it will just return 204(no content). <br> This won't delete any groups associated with the contact. * Delete the contact whose id you provided. <br> If no contact with this id exists it will just return 204(no content). <br> This won't delete any groups associated with the contact.
* @param id * @param id
* @param force * @param force
* @result ResponseGroupContact * @returns ResponseGroupContact
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async groupContactControllerRemove(id, force) { static async groupContactControllerRemove(id, force) {

View File

@ -6,7 +6,7 @@ export declare class ImportService {
* Create new runners from json and insert them into the provided group. <br> 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. * Create new runners from json and insert them into the provided group. <br> 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.
* @param group * @param group
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostJson(group?: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>; static importControllerPostJson(group?: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
@ -15,7 +15,7 @@ export declare class ImportService {
* Create new runners from json and insert them into the provided org. <br> 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. * Create new runners from json and insert them into the provided org. <br> 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.
* @param id * @param id
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostOrgsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>; static importControllerPostOrgsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
@ -24,7 +24,7 @@ export declare class ImportService {
* Create new runners from json and insert them into the provided team * Create new runners from json and insert them into the provided team
* @param id * @param id
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostTeamsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>; static importControllerPostTeamsJson(id: number, requestBody?: Array<ImportRunner>): Promise<Array<ResponseRunner>>;
@ -32,7 +32,7 @@ export declare class ImportService {
* Post csv * Post csv
* Create new runners from csv and insert them into the provided group. <br> 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. * Create new runners from csv and insert them into the provided group. <br> 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.
* @param group * @param group
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostCsv(group?: number): Promise<Array<ResponseRunner>>; static importControllerPostCsv(group?: number): Promise<Array<ResponseRunner>>;
@ -40,7 +40,7 @@ export declare class ImportService {
* Post orgs csv * Post orgs csv
* Create new runners from csv and insert them into the provided org. <br> 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. * Create new runners from csv and insert them into the provided org. <br> 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.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostOrgsCsv(id: number): Promise<Array<ResponseRunner>>; static importControllerPostOrgsCsv(id: number): Promise<Array<ResponseRunner>>;
@ -48,7 +48,7 @@ export declare class ImportService {
* Post teams csv * Post teams csv
* Create new runners from csv and insert them into the provided team * Create new runners from csv and insert them into the provided team
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static importControllerPostTeamsCsv(id: number): Promise<Array<ResponseRunner>>; static importControllerPostTeamsCsv(id: number): Promise<Array<ResponseRunner>>;

View File

@ -8,7 +8,7 @@ class ImportService {
* Create new runners from json and insert them into the provided group. <br> 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. * Create new runners from json and insert them into the provided group. <br> 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.
* @param group * @param group
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostJson(group, requestBody) { static async importControllerPostJson(group, requestBody) {
@ -27,7 +27,7 @@ class ImportService {
* Create new runners from json and insert them into the provided org. <br> 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. * Create new runners from json and insert them into the provided org. <br> 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.
* @param id * @param id
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostOrgsJson(id, requestBody) { static async importControllerPostOrgsJson(id, requestBody) {
@ -43,7 +43,7 @@ class ImportService {
* Create new runners from json and insert them into the provided team * Create new runners from json and insert them into the provided team
* @param id * @param id
* @param requestBody ImportRunner * @param requestBody ImportRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostTeamsJson(id, requestBody) { static async importControllerPostTeamsJson(id, requestBody) {
@ -58,7 +58,7 @@ class ImportService {
* Post csv * Post csv
* Create new runners from csv and insert them into the provided group. <br> 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. * Create new runners from csv and insert them into the provided group. <br> 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.
* @param group * @param group
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostCsv(group) { static async importControllerPostCsv(group) {
@ -75,7 +75,7 @@ class ImportService {
* Post orgs csv * Post orgs csv
* Create new runners from csv and insert them into the provided org. <br> 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. * Create new runners from csv and insert them into the provided org. <br> 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.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostOrgsCsv(id) { static async importControllerPostOrgsCsv(id) {
@ -89,7 +89,7 @@ class ImportService {
* Post teams csv * Post teams csv
* Create new runners from csv and insert them into the provided team * Create new runners from csv and insert them into the provided team
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async importControllerPostTeamsCsv(id) { static async importControllerPostTeamsCsv(id) {

View File

@ -5,7 +5,7 @@ export declare class MeService {
/** /**
* Get * Get
* Lists all information about yourself. * Lists all information about yourself.
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static meControllerGet(): Promise<ResponseUser>; static meControllerGet(): Promise<ResponseUser>;
@ -13,7 +13,7 @@ export declare class MeService {
* Put * Put
* Update the yourself. <br> You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead. <br> Please remember that ids can't be changed. * Update the yourself. <br> You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead. <br> Please remember that ids can't be changed.
* @param requestBody UpdateUser * @param requestBody UpdateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static meControllerPut(requestBody?: UpdateUser): Promise<ResponseUser>; static meControllerPut(requestBody?: UpdateUser): Promise<ResponseUser>;
@ -21,14 +21,14 @@ export declare class MeService {
* Remove * Remove
* Delete yourself. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to you they will get deleted as well. * Delete yourself. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to you they will get deleted as well.
* @param force * @param force
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static meControllerRemove(force?: boolean): Promise<ResponseUser>; static meControllerRemove(force?: boolean): Promise<ResponseUser>;
/** /**
* Get permissions * Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @result ResponseUserPermissions * @returns ResponseUserPermissions
* @throws ApiError * @throws ApiError
*/ */
static meControllerGetPermissions(): Promise<ResponseUserPermissions>; static meControllerGetPermissions(): Promise<ResponseUserPermissions>;

View File

@ -6,7 +6,7 @@ class MeService {
/** /**
* Get * Get
* Lists all information about yourself. * Lists all information about yourself.
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async meControllerGet() { static async meControllerGet() {
@ -20,7 +20,7 @@ class MeService {
* Put * Put
* Update the yourself. <br> You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead. <br> Please remember that ids can't be changed. * Update the yourself. <br> You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead. <br> Please remember that ids can't be changed.
* @param requestBody UpdateUser * @param requestBody UpdateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async meControllerPut(requestBody) { static async meControllerPut(requestBody) {
@ -35,7 +35,7 @@ class MeService {
* Remove * Remove
* Delete yourself. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to you they will get deleted as well. * Delete yourself. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to you they will get deleted as well.
* @param force * @param force
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async meControllerRemove(force) { static async meControllerRemove(force) {
@ -51,7 +51,7 @@ class MeService {
/** /**
* Get permissions * Get permissions
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
* @result ResponseUserPermissions * @returns ResponseUserPermissions
* @throws ApiError * @throws ApiError
*/ */
static async meControllerGetPermissions() { static async meControllerGetPermissions() {

View File

@ -7,7 +7,7 @@ export declare class PermissionService {
/** /**
* Get all * Get all
* Lists all permissions for all users and groups. * Lists all permissions for all users and groups.
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static permissionControllerGetAll(): Promise<Array<ResponsePermission>>; static permissionControllerGetAll(): Promise<Array<ResponsePermission>>;
@ -15,7 +15,7 @@ export declare class PermissionService {
* Post * Post
* Create a new permission for a existing principal(user/group). <br> If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. * Create a new permission for a existing principal(user/group). <br> If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one.
* @param requestBody CreatePermission * @param requestBody CreatePermission
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static permissionControllerPost(requestBody?: CreatePermission): Promise<ResponsePermission>; static permissionControllerPost(requestBody?: CreatePermission): Promise<ResponsePermission>;
@ -23,7 +23,7 @@ export declare class PermissionService {
* Get one * Get one
* Lists all information about the permission whose id got provided. * Lists all information about the permission whose id got provided.
* @param id * @param id
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static permissionControllerGetOne(id: number): Promise<ResponsePermission>; static permissionControllerGetOne(id: number): Promise<ResponsePermission>;
@ -32,7 +32,7 @@ export declare class PermissionService {
* Update a permission object. <br> 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. <br> Please remember that ids can't be changed. * Update a permission object. <br> 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. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdatePermission * @param requestBody UpdatePermission
* @result ResponsePrincipal * @returns ResponsePrincipal
* @throws ApiError * @throws ApiError
*/ */
static permissionControllerPut(id: number, requestBody?: UpdatePermission): Promise<ResponsePrincipal>; static permissionControllerPut(id: number, requestBody?: UpdatePermission): Promise<ResponsePrincipal>;
@ -41,8 +41,8 @@ export declare class PermissionService {
* Deletes the permission whose id you provide. <br> If no permission with this id exists it will just return 204(no content). * Deletes the permission whose id you provide. <br> If no permission with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponsePermission * @returns ResponsePermission
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static permissionControllerRemove(id: number, force?: boolean): Promise<ResponsePermission | ResponseEmpty>; static permissionControllerRemove(id: number, force?: boolean): Promise<ResponsePermission | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class PermissionService {
/** /**
* Get all * Get all
* Lists all permissions for all users and groups. * Lists all permissions for all users and groups.
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static async permissionControllerGetAll() { static async permissionControllerGetAll() {
@ -20,7 +20,7 @@ class PermissionService {
* Post * Post
* Create a new permission for a existing principal(user/group). <br> If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one. * Create a new permission for a existing principal(user/group). <br> If a permission with this target, action and prinicpal already exists that permission will be returned instead of creating a new one.
* @param requestBody CreatePermission * @param requestBody CreatePermission
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static async permissionControllerPost(requestBody) { static async permissionControllerPost(requestBody) {
@ -35,7 +35,7 @@ class PermissionService {
* Get one * Get one
* Lists all information about the permission whose id got provided. * Lists all information about the permission whose id got provided.
* @param id * @param id
* @result ResponsePermission * @returns ResponsePermission
* @throws ApiError * @throws ApiError
*/ */
static async permissionControllerGetOne(id) { static async permissionControllerGetOne(id) {
@ -50,7 +50,7 @@ class PermissionService {
* Update a permission object. <br> 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. <br> Please remember that ids can't be changed. * Update a permission object. <br> 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. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdatePermission * @param requestBody UpdatePermission
* @result ResponsePrincipal * @returns ResponsePrincipal
* @throws ApiError * @throws ApiError
*/ */
static async permissionControllerPut(id, requestBody) { static async permissionControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class PermissionService {
* Deletes the permission whose id you provide. <br> If no permission with this id exists it will just return 204(no content). * Deletes the permission whose id you provide. <br> If no permission with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponsePermission * @returns ResponsePermission
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async permissionControllerRemove(id, force) { static async permissionControllerRemove(id, force) {

View File

@ -6,7 +6,7 @@ export declare class RunnerCardService {
/** /**
* Get all * Get all
* Lists all card. * Lists all card.
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerGetAll(): Promise<Array<ResponseRunnerCard>>; static runnerCardControllerGetAll(): Promise<Array<ResponseRunnerCard>>;
@ -14,7 +14,7 @@ export declare class RunnerCardService {
* Post * Post
* Create a new card. <br> You can provide a associated runner by id but you don't have to. * Create a new card. <br> You can provide a associated runner by id but you don't have to.
* @param requestBody CreateRunnerCard * @param requestBody CreateRunnerCard
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerPost(requestBody?: CreateRunnerCard): Promise<ResponseRunnerCard>; static runnerCardControllerPost(requestBody?: CreateRunnerCard): Promise<ResponseRunnerCard>;
@ -22,7 +22,7 @@ export declare class RunnerCardService {
* Get one * Get one
* Lists all information about the card whose id got provided. * Lists all information about the card whose id got provided.
* @param id * @param id
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerGetOne(id: number): Promise<ResponseRunnerCard>; static runnerCardControllerGetOne(id: number): Promise<ResponseRunnerCard>;
@ -31,7 +31,7 @@ export declare class RunnerCardService {
* Update the card whose id you provided. <br> Scans created via this card will still be associated with the old runner. <br> Please remember that ids can't be changed. * Update the card whose id you provided. <br> Scans created via this card will still be associated with the old runner. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerCard * @param requestBody UpdateRunnerCard
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerPut(id: number, requestBody?: UpdateRunnerCard): Promise<ResponseRunnerCard>; static runnerCardControllerPut(id: number, requestBody?: UpdateRunnerCard): Promise<ResponseRunnerCard>;
@ -40,8 +40,8 @@ export declare class RunnerCardService {
* Delete the card whose id you provided. <br> If no card with this id exists it will just return 204(no content). <br> 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). * Delete the card whose id you provided. <br> If no card with this id exists it will just return 204(no content). <br> 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).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>; static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>;
@ -50,7 +50,7 @@ export declare class RunnerCardService {
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. * Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response.
* @param count * @param count
* @param returnCards * @param returnCards
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerPostBlancoBulk(count?: number, returnCards?: boolean): Promise<ResponseEmpty>; static runnerCardControllerPostBlancoBulk(count?: number, returnCards?: boolean): Promise<ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class RunnerCardService {
/** /**
* Get all * Get all
* Lists all card. * Lists all card.
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerGetAll() { static async runnerCardControllerGetAll() {
@ -20,7 +20,7 @@ class RunnerCardService {
* Post * Post
* Create a new card. <br> You can provide a associated runner by id but you don't have to. * Create a new card. <br> You can provide a associated runner by id but you don't have to.
* @param requestBody CreateRunnerCard * @param requestBody CreateRunnerCard
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerPost(requestBody) { static async runnerCardControllerPost(requestBody) {
@ -35,7 +35,7 @@ class RunnerCardService {
* Get one * Get one
* Lists all information about the card whose id got provided. * Lists all information about the card whose id got provided.
* @param id * @param id
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerGetOne(id) { static async runnerCardControllerGetOne(id) {
@ -50,7 +50,7 @@ class RunnerCardService {
* Update the card whose id you provided. <br> Scans created via this card will still be associated with the old runner. <br> Please remember that ids can't be changed. * Update the card whose id you provided. <br> Scans created via this card will still be associated with the old runner. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerCard * @param requestBody UpdateRunnerCard
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerPut(id, requestBody) { static async runnerCardControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class RunnerCardService {
* Delete the card whose id you provided. <br> If no card with this id exists it will just return 204(no content). <br> 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). * Delete the card whose id you provided. <br> If no card with this id exists it will just return 204(no content). <br> 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).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerCard * @returns ResponseRunnerCard
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerRemove(id, force) { static async runnerCardControllerRemove(id, force) {
@ -85,7 +85,7 @@ class RunnerCardService {
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response. * Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response.
* @param count * @param count
* @param returnCards * @param returnCards
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerPostBlancoBulk(count, returnCards) { static async runnerCardControllerPostBlancoBulk(count, returnCards) {

View File

@ -7,7 +7,7 @@ export declare class RunnerOrganizationService {
/** /**
* Get all * Get all
* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated). * Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerGetAll(): Promise<Array<ResponseRunnerOrganization>>; static runnerOrganizationControllerGetAll(): Promise<Array<ResponseRunnerOrganization>>;
@ -15,7 +15,7 @@ export declare class RunnerOrganizationService {
* Post * Post
* Create a new organsisation. * Create a new organsisation.
* @param requestBody CreateRunnerOrganization * @param requestBody CreateRunnerOrganization
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerPost(requestBody?: CreateRunnerOrganization): Promise<ResponseRunnerOrganization>; static runnerOrganizationControllerPost(requestBody?: CreateRunnerOrganization): Promise<ResponseRunnerOrganization>;
@ -23,7 +23,7 @@ export declare class RunnerOrganizationService {
* Get one * Get one
* Lists all information about the organization whose id got provided. * Lists all information about the organization whose id got provided.
* @param id * @param id
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerGetOne(id: number): Promise<ResponseRunnerOrganization>; static runnerOrganizationControllerGetOne(id: number): Promise<ResponseRunnerOrganization>;
@ -32,7 +32,7 @@ export declare class RunnerOrganizationService {
* Update the organization whose id you provided. <br> Please remember that ids can't be changed. * Update the organization whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerOrganization * @param requestBody UpdateRunnerOrganization
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerPut(id: number, requestBody?: UpdateRunnerOrganization): Promise<ResponseRunnerOrganization>; static runnerOrganizationControllerPut(id: number, requestBody?: UpdateRunnerOrganization): Promise<ResponseRunnerOrganization>;
@ -41,8 +41,8 @@ export declare class RunnerOrganizationService {
* Delete the organsisation whose id you provided. <br> If the organization still has runners and/or teams associated this will fail. <br> To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact. <br> If no organization with this id exists it will just return 204(no content). * Delete the organsisation whose id you provided. <br> If the organization still has runners and/or teams associated this will fail. <br> To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact. <br> If no organization with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerOrganization | ResponseEmpty>; static runnerOrganizationControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerOrganization | ResponseEmpty>;
@ -51,7 +51,7 @@ export declare class RunnerOrganizationService {
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran. * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param onlyDirect * @param onlyDirect
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerGetRunners(id: number, onlyDirect?: boolean): Promise<Array<ResponseRunner>>; static runnerOrganizationControllerGetRunners(id: number, onlyDirect?: boolean): Promise<Array<ResponseRunner>>;

View File

@ -6,7 +6,7 @@ class RunnerOrganizationService {
/** /**
* Get all * Get all
* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated). * Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerGetAll() { static async runnerOrganizationControllerGetAll() {
@ -20,7 +20,7 @@ class RunnerOrganizationService {
* Post * Post
* Create a new organsisation. * Create a new organsisation.
* @param requestBody CreateRunnerOrganization * @param requestBody CreateRunnerOrganization
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerPost(requestBody) { static async runnerOrganizationControllerPost(requestBody) {
@ -35,7 +35,7 @@ class RunnerOrganizationService {
* Get one * Get one
* Lists all information about the organization whose id got provided. * Lists all information about the organization whose id got provided.
* @param id * @param id
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerGetOne(id) { static async runnerOrganizationControllerGetOne(id) {
@ -50,7 +50,7 @@ class RunnerOrganizationService {
* Update the organization whose id you provided. <br> Please remember that ids can't be changed. * Update the organization whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerOrganization * @param requestBody UpdateRunnerOrganization
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerPut(id, requestBody) { static async runnerOrganizationControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class RunnerOrganizationService {
* Delete the organsisation whose id you provided. <br> If the organization still has runners and/or teams associated this will fail. <br> To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact. <br> If no organization with this id exists it will just return 204(no content). * Delete the organsisation whose id you provided. <br> If the organization still has runners and/or teams associated this will fail. <br> To delete the organization with all associated runners and teams set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact. <br> If no organization with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerOrganization * @returns ResponseRunnerOrganization
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerRemove(id, force) { static async runnerOrganizationControllerRemove(id, force) {
@ -85,7 +85,7 @@ class RunnerOrganizationService {
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran. * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param onlyDirect * @param onlyDirect
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerGetRunners(id, onlyDirect) { static async runnerOrganizationControllerGetRunners(id, onlyDirect) {

View File

@ -9,7 +9,7 @@ export declare class RunnerSelfService {
* Get * Get
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint. * Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
* @param jwt * @param jwt
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerGet(jwt: string): Promise<ResponseSelfServiceRunner>; static runnerSelfServiceControllerGet(jwt: string): Promise<ResponseSelfServiceRunner>;
@ -18,7 +18,7 @@ export declare class RunnerSelfService {
* Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint. * Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
* @param jwt * @param jwt
* @param force * @param force
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerRemove(jwt: string, force?: boolean): Promise<ResponseSelfServiceRunner>; static runnerSelfServiceControllerRemove(jwt: string, force?: boolean): Promise<ResponseSelfServiceRunner>;
@ -26,14 +26,14 @@ export declare class RunnerSelfService {
* Get scans * Get scans
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support. * Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
* @param jwt * @param jwt
* @result ResponseSelfServiceScan * @returns ResponseSelfServiceScan
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerGetScans(jwt: string): Promise<Array<ResponseSelfServiceScan>>; static runnerSelfServiceControllerGetScans(jwt: string): Promise<Array<ResponseSelfServiceScan>>;
/** /**
* Get station me * Get station me
* Lists basic information about the station whose token got provided. <br> This includes it's associated track. * Lists basic information about the station whose token got provided. <br> This includes it's associated track.
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerGetStationMe(): Promise<ResponseScanStation>; static runnerSelfServiceControllerGetStationMe(): Promise<ResponseScanStation>;
@ -42,7 +42,7 @@ export declare class RunnerSelfService {
* Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs). * Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs).
* @param mail * @param mail
* @param locale * @param locale
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerRequestNewToken(mail?: string, locale?: string): Promise<any>; static runnerSelfServiceControllerRequestNewToken(mail?: string, locale?: string): Promise<any>;
@ -51,7 +51,7 @@ export declare class RunnerSelfService {
* Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification. * Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification.
* @param locale * @param locale
* @param requestBody CreateSelfServiceCitizenRunner * @param requestBody CreateSelfServiceCitizenRunner
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerRegisterRunner(locale?: string, requestBody?: CreateSelfServiceCitizenRunner): Promise<ResponseSelfServiceRunner>; static runnerSelfServiceControllerRegisterRunner(locale?: string, requestBody?: CreateSelfServiceCitizenRunner): Promise<ResponseSelfServiceRunner>;
@ -61,7 +61,7 @@ export declare class RunnerSelfService {
* @param token * @param token
* @param locale * @param locale
* @param requestBody CreateSelfServiceRunner * @param requestBody CreateSelfServiceRunner
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerRegisterOrganizationRunner(token: string, locale?: string, requestBody?: CreateSelfServiceRunner): Promise<ResponseSelfServiceRunner>; static runnerSelfServiceControllerRegisterOrganizationRunner(token: string, locale?: string, requestBody?: CreateSelfServiceRunner): Promise<ResponseSelfServiceRunner>;
@ -69,7 +69,7 @@ export declare class RunnerSelfService {
* Get selfservice org * Get selfservice org
* Get the basic info and teams for a org. * Get the basic info and teams for a org.
* @param token * @param token
* @result ResponseSelfServiceOrganisation * @returns ResponseSelfServiceOrganisation
* @throws ApiError * @throws ApiError
*/ */
static runnerSelfServiceControllerGetSelfserviceOrg(token: string): Promise<ResponseSelfServiceOrganisation>; static runnerSelfServiceControllerGetSelfserviceOrg(token: string): Promise<ResponseSelfServiceOrganisation>;

View File

@ -7,7 +7,7 @@ class RunnerSelfService {
* Get * Get
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint. * Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
* @param jwt * @param jwt
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerGet(jwt) { static async runnerSelfServiceControllerGet(jwt) {
@ -22,7 +22,7 @@ class RunnerSelfService {
* Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint. * Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
* @param jwt * @param jwt
* @param force * @param force
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerRemove(jwt, force) { static async runnerSelfServiceControllerRemove(jwt, force) {
@ -39,7 +39,7 @@ class RunnerSelfService {
* Get scans * Get scans
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support. * Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
* @param jwt * @param jwt
* @result ResponseSelfServiceScan * @returns ResponseSelfServiceScan
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerGetScans(jwt) { static async runnerSelfServiceControllerGetScans(jwt) {
@ -52,7 +52,7 @@ class RunnerSelfService {
/** /**
* Get station me * Get station me
* Lists basic information about the station whose token got provided. <br> This includes it's associated track. * Lists basic information about the station whose token got provided. <br> This includes it's associated track.
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerGetStationMe() { static async runnerSelfServiceControllerGetStationMe() {
@ -67,7 +67,7 @@ class RunnerSelfService {
* Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs). * Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs).
* @param mail * @param mail
* @param locale * @param locale
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerRequestNewToken(mail, locale) { static async runnerSelfServiceControllerRequestNewToken(mail, locale) {
@ -86,7 +86,7 @@ class RunnerSelfService {
* Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification. * Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification.
* @param locale * @param locale
* @param requestBody CreateSelfServiceCitizenRunner * @param requestBody CreateSelfServiceCitizenRunner
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerRegisterRunner(locale, requestBody) { static async runnerSelfServiceControllerRegisterRunner(locale, requestBody) {
@ -106,7 +106,7 @@ class RunnerSelfService {
* @param token * @param token
* @param locale * @param locale
* @param requestBody CreateSelfServiceRunner * @param requestBody CreateSelfServiceRunner
* @result ResponseSelfServiceRunner * @returns ResponseSelfServiceRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerRegisterOrganizationRunner(token, locale, requestBody) { static async runnerSelfServiceControllerRegisterOrganizationRunner(token, locale, requestBody) {
@ -124,7 +124,7 @@ class RunnerSelfService {
* Get selfservice org * Get selfservice org
* Get the basic info and teams for a org. * Get the basic info and teams for a org.
* @param token * @param token
* @result ResponseSelfServiceOrganisation * @returns ResponseSelfServiceOrganisation
* @throws ApiError * @throws ApiError
*/ */
static async runnerSelfServiceControllerGetSelfserviceOrg(token) { static async runnerSelfServiceControllerGetSelfserviceOrg(token) {

View File

@ -10,7 +10,7 @@ export declare class RunnerService {
/** /**
* Get all * Get all
* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran. * Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerGetAll(): Promise<Array<ResponseRunner>>; static runnerControllerGetAll(): Promise<Array<ResponseRunner>>;
@ -18,7 +18,7 @@ export declare class RunnerService {
* Post * Post
* Create a new runner. <br> Please remeber to provide the runner's group's id. * Create a new runner. <br> Please remeber to provide the runner's group's id.
* @param requestBody CreateRunner * @param requestBody CreateRunner
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerPost(requestBody?: CreateRunner): Promise<(ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError)>; static runnerControllerPost(requestBody?: CreateRunner): Promise<(ResponseRunner | RunnerGroupNeededError | RunnerGroupNotFoundError)>;
@ -26,7 +26,7 @@ export declare class RunnerService {
* Get one * Get one
* Lists all information about the runner whose id got provided. * Lists all information about the runner whose id got provided.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerGetOne(id: number): Promise<ResponseRunner>; static runnerControllerGetOne(id: number): Promise<ResponseRunner>;
@ -35,7 +35,7 @@ export declare class RunnerService {
* Update the runner whose id you provided. <br> Please remember that ids can't be changed. * Update the runner whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunner * @param requestBody UpdateRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerPut(id: number, requestBody?: UpdateRunner): Promise<ResponseRunner>; static runnerControllerPut(id: number, requestBody?: UpdateRunner): Promise<ResponseRunner>;
@ -44,8 +44,8 @@ export declare class RunnerService {
* Delete the runner whose id you provided. <br> This will also delete all scans and cards associated with the runner. <br> If no runner with this id exists it will just return 204(no content). * Delete the runner whose id you provided. <br> This will also delete all scans and cards associated with the runner. <br> If no runner with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunner * @returns ResponseRunner
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerRemove(id: number, force?: boolean): Promise<ResponseRunner | ResponseEmpty>; static runnerControllerRemove(id: number, force?: boolean): Promise<ResponseRunner | ResponseEmpty>;
@ -53,7 +53,7 @@ export declare class RunnerService {
* Get scans * Get scans
* Lists all scans of the runner whose id got provided. <br> If you only want the valid scans just add the ?onlyValid=true query param. * Lists all scans of the runner whose id got provided. <br> If you only want the valid scans just add the ?onlyValid=true query param.
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static runnerControllerGetScans(id: number): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>; static runnerControllerGetScans(id: number): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>;

View File

@ -6,7 +6,7 @@ class RunnerService {
/** /**
* Get all * Get all
* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran. * Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerGetAll() { static async runnerControllerGetAll() {
@ -20,7 +20,7 @@ class RunnerService {
* Post * Post
* Create a new runner. <br> Please remeber to provide the runner's group's id. * Create a new runner. <br> Please remeber to provide the runner's group's id.
* @param requestBody CreateRunner * @param requestBody CreateRunner
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerPost(requestBody) { static async runnerControllerPost(requestBody) {
@ -35,7 +35,7 @@ class RunnerService {
* Get one * Get one
* Lists all information about the runner whose id got provided. * Lists all information about the runner whose id got provided.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerGetOne(id) { static async runnerControllerGetOne(id) {
@ -50,7 +50,7 @@ class RunnerService {
* Update the runner whose id you provided. <br> Please remember that ids can't be changed. * Update the runner whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunner * @param requestBody UpdateRunner
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerPut(id, requestBody) { static async runnerControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class RunnerService {
* Delete the runner whose id you provided. <br> This will also delete all scans and cards associated with the runner. <br> If no runner with this id exists it will just return 204(no content). * Delete the runner whose id you provided. <br> This will also delete all scans and cards associated with the runner. <br> If no runner with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunner * @returns ResponseRunner
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerRemove(id, force) { static async runnerControllerRemove(id, force) {
@ -84,7 +84,7 @@ class RunnerService {
* Get scans * Get scans
* Lists all scans of the runner whose id got provided. <br> If you only want the valid scans just add the ?onlyValid=true query param. * Lists all scans of the runner whose id got provided. <br> If you only want the valid scans just add the ?onlyValid=true query param.
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async runnerControllerGetScans(id) { static async runnerControllerGetScans(id) {

View File

@ -7,7 +7,7 @@ export declare class RunnerTeamService {
/** /**
* Get all * Get all
* Lists all teams. <br> This includes their parent organization and contact (if existing/associated). * Lists all teams. <br> This includes their parent organization and contact (if existing/associated).
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerGetAll(): Promise<Array<ResponseRunnerTeam>>; static runnerTeamControllerGetAll(): Promise<Array<ResponseRunnerTeam>>;
@ -15,7 +15,7 @@ export declare class RunnerTeamService {
* Post * Post
* Create a new organsisation. <br> Please remember to provide it's parent group's id. * Create a new organsisation. <br> Please remember to provide it's parent group's id.
* @param requestBody CreateRunnerTeam * @param requestBody CreateRunnerTeam
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerPost(requestBody?: CreateRunnerTeam): Promise<ResponseRunnerTeam>; static runnerTeamControllerPost(requestBody?: CreateRunnerTeam): Promise<ResponseRunnerTeam>;
@ -23,7 +23,7 @@ export declare class RunnerTeamService {
* Get one * Get one
* Lists all information about the team whose id got provided. * Lists all information about the team whose id got provided.
* @param id * @param id
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerGetOne(id: number): Promise<ResponseRunnerTeam>; static runnerTeamControllerGetOne(id: number): Promise<ResponseRunnerTeam>;
@ -32,7 +32,7 @@ export declare class RunnerTeamService {
* Update the team whose id you provided. <br> Please remember that ids can't be changed. * Update the team whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerTeam * @param requestBody UpdateRunnerTeam
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerPut(id: number, requestBody?: UpdateRunnerTeam): Promise<ResponseRunnerTeam>; static runnerTeamControllerPut(id: number, requestBody?: UpdateRunnerTeam): Promise<ResponseRunnerTeam>;
@ -41,8 +41,8 @@ export declare class RunnerTeamService {
* Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact.<br> If no team with this id exists it will just return 204(no content). * Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact.<br> If no team with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerTeam | ResponseEmpty>; static runnerTeamControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerTeam | ResponseEmpty>;
@ -50,7 +50,7 @@ export declare class RunnerTeamService {
* Get runners * Get runners
* Lists all runners from this team. <br> This includes the runner's group and distance ran. * Lists all runners from this team. <br> This includes the runner's group and distance ran.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerGetRunners(id: number): Promise<Array<ResponseRunner>>; static runnerTeamControllerGetRunners(id: number): Promise<Array<ResponseRunner>>;

View File

@ -6,7 +6,7 @@ class RunnerTeamService {
/** /**
* Get all * Get all
* Lists all teams. <br> This includes their parent organization and contact (if existing/associated). * Lists all teams. <br> This includes their parent organization and contact (if existing/associated).
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerGetAll() { static async runnerTeamControllerGetAll() {
@ -20,7 +20,7 @@ class RunnerTeamService {
* Post * Post
* Create a new organsisation. <br> Please remember to provide it's parent group's id. * Create a new organsisation. <br> Please remember to provide it's parent group's id.
* @param requestBody CreateRunnerTeam * @param requestBody CreateRunnerTeam
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerPost(requestBody) { static async runnerTeamControllerPost(requestBody) {
@ -35,7 +35,7 @@ class RunnerTeamService {
* Get one * Get one
* Lists all information about the team whose id got provided. * Lists all information about the team whose id got provided.
* @param id * @param id
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerGetOne(id) { static async runnerTeamControllerGetOne(id) {
@ -50,7 +50,7 @@ class RunnerTeamService {
* Update the team whose id you provided. <br> Please remember that ids can't be changed. * Update the team whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateRunnerTeam * @param requestBody UpdateRunnerTeam
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerPut(id, requestBody) { static async runnerTeamControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class RunnerTeamService {
* Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact.<br> If no team with this id exists it will just return 204(no content). * Delete the team whose id you provided. <br> If the team still has runners associated this will fail. <br> To delete the team with all associated runners set the force QueryParam to true (cascading deletion might take a while). <br> This won't delete the associated contact.<br> If no team with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseRunnerTeam * @returns ResponseRunnerTeam
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerRemove(id, force) { static async runnerTeamControllerRemove(id, force) {
@ -84,7 +84,7 @@ class RunnerTeamService {
* Get runners * Get runners
* Lists all runners from this team. <br> This includes the runner's group and distance ran. * Lists all runners from this team. <br> This includes the runner's group and distance ran.
* @param id * @param id
* @result ResponseRunner * @returns ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerGetRunners(id) { static async runnerTeamControllerGetRunners(id) {

View File

@ -9,7 +9,7 @@ export declare class ScanService {
/** /**
* Get all * Get all
* Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran. * Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran.
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static scanControllerGetAll(): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>; static scanControllerGetAll(): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>;
@ -17,7 +17,7 @@ export declare class ScanService {
* Post * Post
* Create a new scan (not track scan - use /scans/trackscans instead). <br> Please rmemember to provide the scan's runner's id and distance. * Create a new scan (not track scan - use /scans/trackscans instead). <br> Please rmemember to provide the scan's runner's id and distance.
* @param requestBody CreateScan * @param requestBody CreateScan
* @result ResponseScan * @returns ResponseScan
* @throws ApiError * @throws ApiError
*/ */
static scanControllerPost(requestBody?: CreateScan): Promise<ResponseScan>; static scanControllerPost(requestBody?: CreateScan): Promise<ResponseScan>;
@ -25,7 +25,7 @@ export declare class ScanService {
* Get one * Get one
* Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran.
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static scanControllerGetOne(id: number): Promise<(ResponseScan | ResponseTrackScan)>; static scanControllerGetOne(id: number): Promise<(ResponseScan | ResponseTrackScan)>;
@ -34,7 +34,7 @@ export declare class ScanService {
* Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that ids can't be changed and distances must be positive. * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that ids can't be changed and distances must be positive.
* @param id * @param id
* @param requestBody UpdateScan * @param requestBody UpdateScan
* @result ResponseScan * @returns ResponseScan
* @throws ApiError * @throws ApiError
*/ */
static scanControllerPut(id: number, requestBody?: UpdateScan): Promise<ResponseScan>; static scanControllerPut(id: number, requestBody?: UpdateScan): Promise<ResponseScan>;
@ -43,8 +43,8 @@ export declare class ScanService {
* Delete the scan whose id you provided. <br> If no scan with this id exists it will just return 204(no content). * Delete the scan whose id you provided. <br> If no scan with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseScan * @returns ResponseScan
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static scanControllerRemove(id: number, force?: boolean): Promise<ResponseScan | ResponseEmpty>; static scanControllerRemove(id: number, force?: boolean): Promise<ResponseScan | ResponseEmpty>;
@ -52,7 +52,7 @@ export declare class ScanService {
* Post track scans * Post track scans
* Create a new track scan (for "normal" scans use /scans instead). <br> Please remember that to provide the scan's card's station's id. * Create a new track scan (for "normal" scans use /scans instead). <br> Please remember that to provide the scan's card's station's id.
* @param requestBody CreateTrackScan * @param requestBody CreateTrackScan
* @result ResponseTrackScan * @returns ResponseTrackScan
* @throws ApiError * @throws ApiError
*/ */
static scanControllerPostTrackScans(requestBody?: CreateTrackScan): Promise<ResponseTrackScan>; static scanControllerPostTrackScans(requestBody?: CreateTrackScan): Promise<ResponseTrackScan>;
@ -61,7 +61,7 @@ export declare class ScanService {
* Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that only the validity, runner and track can be changed. * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that only the validity, runner and track can be changed.
* @param id * @param id
* @param requestBody UpdateTrackScan * @param requestBody UpdateTrackScan
* @result ResponseTrackScan * @returns ResponseTrackScan
* @throws ApiError * @throws ApiError
*/ */
static scanControllerPutTrackScan(id: number, requestBody?: UpdateTrackScan): Promise<ResponseTrackScan>; static scanControllerPutTrackScan(id: number, requestBody?: UpdateTrackScan): Promise<ResponseTrackScan>;

View File

@ -6,7 +6,7 @@ class ScanService {
/** /**
* Get all * Get all
* Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran. * Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran.
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerGetAll() { static async scanControllerGetAll() {
@ -20,7 +20,7 @@ class ScanService {
* Post * Post
* Create a new scan (not track scan - use /scans/trackscans instead). <br> Please rmemember to provide the scan's runner's id and distance. * Create a new scan (not track scan - use /scans/trackscans instead). <br> Please rmemember to provide the scan's runner's id and distance.
* @param requestBody CreateScan * @param requestBody CreateScan
* @result ResponseScan * @returns ResponseScan
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerPost(requestBody) { static async scanControllerPost(requestBody) {
@ -35,7 +35,7 @@ class ScanService {
* Get one * Get one
* Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran. * Lists all information about the scan whose id got provided. This includes the scan's runner's distance ran.
* @param id * @param id
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerGetOne(id) { static async scanControllerGetOne(id) {
@ -50,7 +50,7 @@ class ScanService {
* Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that ids can't be changed and distances must be positive. * Update the scan (not track scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that ids can't be changed and distances must be positive.
* @param id * @param id
* @param requestBody UpdateScan * @param requestBody UpdateScan
* @result ResponseScan * @returns ResponseScan
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerPut(id, requestBody) { static async scanControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class ScanService {
* Delete the scan whose id you provided. <br> If no scan with this id exists it will just return 204(no content). * Delete the scan whose id you provided. <br> If no scan with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseScan * @returns ResponseScan
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerRemove(id, force) { static async scanControllerRemove(id, force) {
@ -84,7 +84,7 @@ class ScanService {
* Post track scans * Post track scans
* Create a new track scan (for "normal" scans use /scans instead). <br> Please remember that to provide the scan's card's station's id. * Create a new track scan (for "normal" scans use /scans instead). <br> Please remember that to provide the scan's card's station's id.
* @param requestBody CreateTrackScan * @param requestBody CreateTrackScan
* @result ResponseTrackScan * @returns ResponseTrackScan
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerPostTrackScans(requestBody) { static async scanControllerPostTrackScans(requestBody) {
@ -100,7 +100,7 @@ class ScanService {
* Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that only the validity, runner and track can be changed. * Update the track scan (not "normal" scan use /scans/trackscans/:id instead) whose id you provided. <br> Please remember that only the validity, runner and track can be changed.
* @param id * @param id
* @param requestBody UpdateTrackScan * @param requestBody UpdateTrackScan
* @result ResponseTrackScan * @returns ResponseTrackScan
* @throws ApiError * @throws ApiError
*/ */
static async scanControllerPutTrackScan(id, requestBody) { static async scanControllerPutTrackScan(id, requestBody) {

View File

@ -6,7 +6,7 @@ export declare class ScanStationService {
/** /**
* Get all * Get all
* Lists all stations. <br> This includes their associated tracks. * Lists all stations. <br> This includes their associated tracks.
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static scanStationControllerGetAll(): Promise<Array<ResponseScanStation>>; static scanStationControllerGetAll(): Promise<Array<ResponseScanStation>>;
@ -14,7 +14,7 @@ export declare class ScanStationService {
* Post * Post
* Create a new station. <br> Please remeber to provide the station's track's id. <br> Please also remember that the station key is only visibe on creation. * Create a new station. <br> Please remeber to provide the station's track's id. <br> Please also remember that the station key is only visibe on creation.
* @param requestBody CreateScanStation * @param requestBody CreateScanStation
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static scanStationControllerPost(requestBody?: CreateScanStation): Promise<ResponseScanStation>; static scanStationControllerPost(requestBody?: CreateScanStation): Promise<ResponseScanStation>;
@ -22,7 +22,7 @@ export declare class ScanStationService {
* Get one * Get one
* Lists all information about the station whose id got provided. <br> This includes it's associated track. * Lists all information about the station whose id got provided. <br> This includes it's associated track.
* @param id * @param id
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static scanStationControllerGetOne(id: number): Promise<ResponseScanStation>; static scanStationControllerGetOne(id: number): Promise<ResponseScanStation>;
@ -31,7 +31,7 @@ export declare class ScanStationService {
* Update the station whose id you provided. <br> Please remember that only the description and enabled state can be changed. * Update the station whose id you provided. <br> Please remember that only the description and enabled state can be changed.
* @param id * @param id
* @param requestBody UpdateScanStation * @param requestBody UpdateScanStation
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static scanStationControllerPut(id: number, requestBody?: UpdateScanStation): Promise<ResponseScanStation>; static scanStationControllerPut(id: number, requestBody?: UpdateScanStation): Promise<ResponseScanStation>;
@ -40,8 +40,8 @@ export declare class ScanStationService {
* Delete the station whose id you provided. <br> If no station with this id exists it will just return 204(no content). <br> 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). * Delete the station whose id you provided. <br> If no station with this id exists it will just return 204(no content). <br> 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).
* @param id * @param id
* @param force * @param force
* @result ResponseScanStation * @returns ResponseScanStation
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static scanStationControllerRemove(id: number, force?: boolean): Promise<ResponseScanStation | ResponseEmpty>; static scanStationControllerRemove(id: number, force?: boolean): Promise<ResponseScanStation | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class ScanStationService {
/** /**
* Get all * Get all
* Lists all stations. <br> This includes their associated tracks. * Lists all stations. <br> This includes their associated tracks.
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static async scanStationControllerGetAll() { static async scanStationControllerGetAll() {
@ -20,7 +20,7 @@ class ScanStationService {
* Post * Post
* Create a new station. <br> Please remeber to provide the station's track's id. <br> Please also remember that the station key is only visibe on creation. * Create a new station. <br> Please remeber to provide the station's track's id. <br> Please also remember that the station key is only visibe on creation.
* @param requestBody CreateScanStation * @param requestBody CreateScanStation
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static async scanStationControllerPost(requestBody) { static async scanStationControllerPost(requestBody) {
@ -35,7 +35,7 @@ class ScanStationService {
* Get one * Get one
* Lists all information about the station whose id got provided. <br> This includes it's associated track. * Lists all information about the station whose id got provided. <br> This includes it's associated track.
* @param id * @param id
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static async scanStationControllerGetOne(id) { static async scanStationControllerGetOne(id) {
@ -50,7 +50,7 @@ class ScanStationService {
* Update the station whose id you provided. <br> Please remember that only the description and enabled state can be changed. * Update the station whose id you provided. <br> Please remember that only the description and enabled state can be changed.
* @param id * @param id
* @param requestBody UpdateScanStation * @param requestBody UpdateScanStation
* @result ResponseScanStation * @returns ResponseScanStation
* @throws ApiError * @throws ApiError
*/ */
static async scanStationControllerPut(id, requestBody) { static async scanStationControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class ScanStationService {
* Delete the station whose id you provided. <br> If no station with this id exists it will just return 204(no content). <br> 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). * Delete the station whose id you provided. <br> If no station with this id exists it will just return 204(no content). <br> 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).
* @param id * @param id
* @param force * @param force
* @result ResponseScanStation * @returns ResponseScanStation
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async scanStationControllerRemove(id, force) { static async scanStationControllerRemove(id, force) {

View File

@ -5,7 +5,7 @@ export declare class StatsClientService {
/** /**
* Get all * Get all
* Lists all stats clients. Please remember that the key can only be viewed on creation. * Lists all stats clients. Please remember that the key can only be viewed on creation.
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static statsClientControllerGetAll(): Promise<Array<ResponseStatsClient>>; static statsClientControllerGetAll(): Promise<Array<ResponseStatsClient>>;
@ -13,7 +13,7 @@ export declare class StatsClientService {
* Post * Post
* Create a new stats client. <br> Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. * Create a new stats client. <br> Please remember that the client's key will be generated automaticly and that it can only be viewed on creation.
* @param requestBody CreateStatsClient * @param requestBody CreateStatsClient
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static statsClientControllerPost(requestBody?: CreateStatsClient): Promise<ResponseStatsClient>; static statsClientControllerPost(requestBody?: CreateStatsClient): Promise<ResponseStatsClient>;
@ -21,7 +21,7 @@ export declare class StatsClientService {
* Get one * Get one
* Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation.
* @param id * @param id
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static statsClientControllerGetOne(id: number): Promise<ResponseStatsClient>; static statsClientControllerGetOne(id: number): Promise<ResponseStatsClient>;
@ -30,8 +30,8 @@ export declare class StatsClientService {
* Delete the stats client whose id you provided. <br> If no client with this id exists it will just return 204(no content). * Delete the stats client whose id you provided. <br> If no client with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseStatsClient * @returns ResponseStatsClient
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static statsClientControllerRemove(id: number, force?: boolean): Promise<ResponseStatsClient | ResponseEmpty>; static statsClientControllerRemove(id: number, force?: boolean): Promise<ResponseStatsClient | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class StatsClientService {
/** /**
* Get all * Get all
* Lists all stats clients. Please remember that the key can only be viewed on creation. * Lists all stats clients. Please remember that the key can only be viewed on creation.
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static async statsClientControllerGetAll() { static async statsClientControllerGetAll() {
@ -20,7 +20,7 @@ class StatsClientService {
* Post * Post
* Create a new stats client. <br> Please remember that the client's key will be generated automaticly and that it can only be viewed on creation. * Create a new stats client. <br> Please remember that the client's key will be generated automaticly and that it can only be viewed on creation.
* @param requestBody CreateStatsClient * @param requestBody CreateStatsClient
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static async statsClientControllerPost(requestBody) { static async statsClientControllerPost(requestBody) {
@ -35,7 +35,7 @@ class StatsClientService {
* Get one * Get one
* Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation. * Lists all information about the stats client whose id got provided. Please remember that the key can only be viewed on creation.
* @param id * @param id
* @result ResponseStatsClient * @returns ResponseStatsClient
* @throws ApiError * @throws ApiError
*/ */
static async statsClientControllerGetOne(id) { static async statsClientControllerGetOne(id) {
@ -50,8 +50,8 @@ class StatsClientService {
* Delete the stats client whose id you provided. <br> If no client with this id exists it will just return 204(no content). * Delete the stats client whose id you provided. <br> If no client with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseStatsClient * @returns ResponseStatsClient
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async statsClientControllerRemove(id, force) { static async statsClientControllerRemove(id, force) {

View File

@ -6,21 +6,21 @@ export declare class StatsService {
/** /**
* Get * Get
* A very basic stats endpoint providing basic counters for a dashboard or simmilar * A very basic stats endpoint providing basic counters for a dashboard or simmilar
* @result ResponseStats * @returns ResponseStats
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGet(): Promise<ResponseStats>; static statsControllerGet(): Promise<ResponseStats>;
/** /**
* Get top runners by distance * Get top runners by distance
* Returns the top ten runners by distance. * Returns the top ten runners by distance.
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopRunnersByDistance(): Promise<Array<ResponseStatsRunner>>; static statsControllerGetTopRunnersByDistance(): Promise<Array<ResponseStatsRunner>>;
/** /**
* Get top runners by donations * Get top runners by donations
* Returns the top ten runners by donations. * Returns the top ten runners by donations.
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopRunnersByDonations(): Promise<Array<ResponseStatsRunner>>; static statsControllerGetTopRunnersByDonations(): Promise<Array<ResponseStatsRunner>>;
@ -28,42 +28,42 @@ export declare class StatsService {
* Get top runners by laptime * Get top runners by laptime
* Returns the top ten runners by fastest laptime on your selected track (track by id). * Returns the top ten runners by fastest laptime on your selected track (track by id).
* @param track * @param track
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopRunnersByLaptime(track?: number): Promise<Array<ResponseStatsRunner>>; static statsControllerGetTopRunnersByLaptime(track?: number): Promise<Array<ResponseStatsRunner>>;
/** /**
* Get top runners by track time * Get top runners by track time
* Returns the top ten fastest track times (with their runner and the runner's group). * Returns the top ten fastest track times (with their runner and the runner's group).
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopRunnersByTrackTime(): Promise<Array<ResponseStatsRunner>>; static statsControllerGetTopRunnersByTrackTime(): Promise<Array<ResponseStatsRunner>>;
/** /**
* Get top teams by distance * Get top teams by distance
* Returns the top ten teams by distance. * Returns the top ten teams by distance.
* @result ResponseStatsTeam * @returns ResponseStatsTeam
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopTeamsByDistance(): Promise<Array<ResponseStatsTeam>>; static statsControllerGetTopTeamsByDistance(): Promise<Array<ResponseStatsTeam>>;
/** /**
* Get top teams by donations * Get top teams by donations
* Returns the top ten teams by donations. * Returns the top ten teams by donations.
* @result ResponseStatsTeam * @returns ResponseStatsTeam
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopTeamsByDonations(): Promise<Array<ResponseStatsTeam>>; static statsControllerGetTopTeamsByDonations(): Promise<Array<ResponseStatsTeam>>;
/** /**
* Get top orgs by distance * Get top orgs by distance
* Returns the top ten organizations by distance. * Returns the top ten organizations by distance.
* @result ResponseStatsOrgnisation * @returns ResponseStatsOrgnisation
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopOrgsByDistance(): Promise<Array<ResponseStatsOrgnisation>>; static statsControllerGetTopOrgsByDistance(): Promise<Array<ResponseStatsOrgnisation>>;
/** /**
* Get top orgs by donations * Get top orgs by donations
* Returns the top ten organizations by donations. * Returns the top ten organizations by donations.
* @result ResponseStatsOrgnisation * @returns ResponseStatsOrgnisation
* @throws ApiError * @throws ApiError
*/ */
static statsControllerGetTopOrgsByDonations(): Promise<Array<ResponseStatsOrgnisation>>; static statsControllerGetTopOrgsByDonations(): Promise<Array<ResponseStatsOrgnisation>>;

View File

@ -6,7 +6,7 @@ class StatsService {
/** /**
* Get * Get
* A very basic stats endpoint providing basic counters for a dashboard or simmilar * A very basic stats endpoint providing basic counters for a dashboard or simmilar
* @result ResponseStats * @returns ResponseStats
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGet() { static async statsControllerGet() {
@ -19,7 +19,7 @@ class StatsService {
/** /**
* Get top runners by distance * Get top runners by distance
* Returns the top ten runners by distance. * Returns the top ten runners by distance.
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopRunnersByDistance() { static async statsControllerGetTopRunnersByDistance() {
@ -32,7 +32,7 @@ class StatsService {
/** /**
* Get top runners by donations * Get top runners by donations
* Returns the top ten runners by donations. * Returns the top ten runners by donations.
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopRunnersByDonations() { static async statsControllerGetTopRunnersByDonations() {
@ -46,7 +46,7 @@ class StatsService {
* Get top runners by laptime * Get top runners by laptime
* Returns the top ten runners by fastest laptime on your selected track (track by id). * Returns the top ten runners by fastest laptime on your selected track (track by id).
* @param track * @param track
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopRunnersByLaptime(track) { static async statsControllerGetTopRunnersByLaptime(track) {
@ -62,7 +62,7 @@ class StatsService {
/** /**
* Get top runners by track time * Get top runners by track time
* Returns the top ten fastest track times (with their runner and the runner's group). * Returns the top ten fastest track times (with their runner and the runner's group).
* @result ResponseStatsRunner * @returns ResponseStatsRunner
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopRunnersByTrackTime() { static async statsControllerGetTopRunnersByTrackTime() {
@ -75,7 +75,7 @@ class StatsService {
/** /**
* Get top teams by distance * Get top teams by distance
* Returns the top ten teams by distance. * Returns the top ten teams by distance.
* @result ResponseStatsTeam * @returns ResponseStatsTeam
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopTeamsByDistance() { static async statsControllerGetTopTeamsByDistance() {
@ -88,7 +88,7 @@ class StatsService {
/** /**
* Get top teams by donations * Get top teams by donations
* Returns the top ten teams by donations. * Returns the top ten teams by donations.
* @result ResponseStatsTeam * @returns ResponseStatsTeam
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopTeamsByDonations() { static async statsControllerGetTopTeamsByDonations() {
@ -101,7 +101,7 @@ class StatsService {
/** /**
* Get top orgs by distance * Get top orgs by distance
* Returns the top ten organizations by distance. * Returns the top ten organizations by distance.
* @result ResponseStatsOrgnisation * @returns ResponseStatsOrgnisation
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopOrgsByDistance() { static async statsControllerGetTopOrgsByDistance() {
@ -114,7 +114,7 @@ class StatsService {
/** /**
* Get top orgs by donations * Get top orgs by donations
* Returns the top ten organizations by donations. * Returns the top ten organizations by donations.
* @result ResponseStatsOrgnisation * @returns ResponseStatsOrgnisation
* @throws ApiError * @throws ApiError
*/ */
static async statsControllerGetTopOrgsByDonations() { static async statsControllerGetTopOrgsByDonations() {

View File

@ -2,14 +2,14 @@ export declare class StatusService {
/** /**
* Get * Get
* A very basic status/health endpoint that just checks if the database connection is available. <br> The available information depth will be expanded later. * A very basic status/health endpoint that just checks if the database connection is available. <br> The available information depth will be expanded later.
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static statusControllerGet(): Promise<any>; static statusControllerGet(): Promise<any>;
/** /**
* Get version * Get version
* A very basic endpoint that just returns the curent package version. * A very basic endpoint that just returns the curent package version.
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static statusControllerGetVersion(): Promise<any>; static statusControllerGetVersion(): Promise<any>;

View File

@ -9,7 +9,7 @@ class StatusService {
/** /**
* Get * Get
* A very basic status/health endpoint that just checks if the database connection is available. <br> The available information depth will be expanded later. * A very basic status/health endpoint that just checks if the database connection is available. <br> The available information depth will be expanded later.
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static async statusControllerGet() { static async statusControllerGet() {
@ -22,7 +22,7 @@ class StatusService {
/** /**
* Get version * Get version
* A very basic endpoint that just returns the curent package version. * A very basic endpoint that just returns the curent package version.
* @result any Successful response * @returns any Successful response
* @throws ApiError * @throws ApiError
*/ */
static async statusControllerGetVersion() { static async statusControllerGetVersion() {

View File

@ -6,7 +6,7 @@ export declare class TrackService {
/** /**
* Get all * Get all
* Lists all tracks. * Lists all tracks.
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static trackControllerGetAll(): Promise<Array<ResponseTrack>>; static trackControllerGetAll(): Promise<Array<ResponseTrack>>;
@ -14,7 +14,7 @@ export declare class TrackService {
* Post * Post
* Create a new track. <br> Please remember that the track's distance must be greater than 0. * Create a new track. <br> Please remember that the track's distance must be greater than 0.
* @param requestBody CreateTrack * @param requestBody CreateTrack
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>; static trackControllerPost(requestBody?: CreateTrack): Promise<ResponseTrack>;
@ -22,7 +22,7 @@ export declare class TrackService {
* Get one * Get one
* Lists all information about the track whose id got provided. * Lists all information about the track whose id got provided.
* @param id * @param id
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static trackControllerGetOne(id: number): Promise<ResponseTrack>; static trackControllerGetOne(id: number): Promise<ResponseTrack>;
@ -31,7 +31,7 @@ export declare class TrackService {
* Update the track whose id you provided. <br> Please remember that ids can't be changed. * Update the track whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateTrack * @param requestBody UpdateTrack
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static trackControllerPut(id: number, requestBody?: UpdateTrack): Promise<ResponseTrack>; static trackControllerPut(id: number, requestBody?: UpdateTrack): Promise<ResponseTrack>;
@ -40,8 +40,8 @@ export declare class TrackService {
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content). * Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseTrack * @returns ResponseTrack
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static trackControllerRemove(id: number, force?: boolean): Promise<ResponseTrack | ResponseEmpty>; static trackControllerRemove(id: number, force?: boolean): Promise<ResponseTrack | ResponseEmpty>;

View File

@ -6,7 +6,7 @@ class TrackService {
/** /**
* Get all * Get all
* Lists all tracks. * Lists all tracks.
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static async trackControllerGetAll() { static async trackControllerGetAll() {
@ -20,7 +20,7 @@ class TrackService {
* Post * Post
* Create a new track. <br> Please remember that the track's distance must be greater than 0. * Create a new track. <br> Please remember that the track's distance must be greater than 0.
* @param requestBody CreateTrack * @param requestBody CreateTrack
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static async trackControllerPost(requestBody) { static async trackControllerPost(requestBody) {
@ -35,7 +35,7 @@ class TrackService {
* Get one * Get one
* Lists all information about the track whose id got provided. * Lists all information about the track whose id got provided.
* @param id * @param id
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static async trackControllerGetOne(id) { static async trackControllerGetOne(id) {
@ -50,7 +50,7 @@ class TrackService {
* Update the track whose id you provided. <br> Please remember that ids can't be changed. * Update the track whose id you provided. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateTrack * @param requestBody UpdateTrack
* @result ResponseTrack * @returns ResponseTrack
* @throws ApiError * @throws ApiError
*/ */
static async trackControllerPut(id, requestBody) { static async trackControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class TrackService {
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content). * Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseTrack * @returns ResponseTrack
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async trackControllerRemove(id, force) { static async trackControllerRemove(id, force) {

View File

@ -9,7 +9,7 @@ export declare class UserGroupService {
/** /**
* Get all * Get all
* Lists all groups. <br> The information provided might change while the project continues to evolve. * Lists all groups. <br> The information provided might change while the project continues to evolve.
* @result ResponseUserGroup * @returns ResponseUserGroup
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerGetAll(): Promise<Array<ResponseUserGroup>>; static userGroupControllerGetAll(): Promise<Array<ResponseUserGroup>>;
@ -17,7 +17,7 @@ export declare class UserGroupService {
* Post * Post
* Create a new group. <br> If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. * Create a new group. <br> If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group.
* @param requestBody CreateUserGroup * @param requestBody CreateUserGroup
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerPost(requestBody?: CreateUserGroup): Promise<(UserGroup | UserGroupNotFoundError)>; static userGroupControllerPost(requestBody?: CreateUserGroup): Promise<(UserGroup | UserGroupNotFoundError)>;
@ -25,7 +25,7 @@ export declare class UserGroupService {
* Get one * Get one
* Lists all information about the group whose id got provided. <br> The information provided might change while the project continues to evolve. * Lists all information about the group whose id got provided. <br> The information provided might change while the project continues to evolve.
* @param id * @param id
* @result ResponseUserGroup * @returns ResponseUserGroup
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerGetOne(id: number): Promise<ResponseUserGroup>; static userGroupControllerGetOne(id: number): Promise<ResponseUserGroup>;
@ -34,7 +34,7 @@ export declare class UserGroupService {
* Update the group whose id you provided. <br> To change the permissions granted to the group please use /api/permissions instead. <br> Please remember that ids can't be changed. * Update the group whose id you provided. <br> To change the permissions granted to the group please use /api/permissions instead. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateUserGroup * @param requestBody UpdateUserGroup
* @result UserGroup * @returns UserGroup
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerPut(id: number, requestBody?: UpdateUserGroup): Promise<UserGroup>; static userGroupControllerPut(id: number, requestBody?: UpdateUserGroup): Promise<UserGroup>;
@ -43,8 +43,8 @@ export declare class UserGroupService {
* Delete the group whose id you provided. <br> If there are any permissions directly granted to the group they will get deleted as well. <br> Users associated with this group won't get deleted - just deassociated. <br> If no group with this id exists it will just return 204(no content). * Delete the group whose id you provided. <br> If there are any permissions directly granted to the group they will get deleted as well. <br> Users associated with this group won't get deleted - just deassociated. <br> If no group with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseUserGroup * @returns ResponseUserGroup
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerRemove(id: number, force?: boolean): Promise<ResponseUserGroup | ResponseEmpty>; static userGroupControllerRemove(id: number, force?: boolean): Promise<ResponseUserGroup | ResponseEmpty>;
@ -52,7 +52,7 @@ export declare class UserGroupService {
* Get permissions * Get permissions
* Lists all permissions granted to the group as permission response objects. * Lists all permissions granted to the group as permission response objects.
* @param id * @param id
* @result ResponseUserGroupPermissions * @returns ResponseUserGroupPermissions
* @throws ApiError * @throws ApiError
*/ */
static userGroupControllerGetPermissions(id: number): Promise<ResponseUserGroupPermissions>; static userGroupControllerGetPermissions(id: number): Promise<ResponseUserGroupPermissions>;

View File

@ -6,7 +6,7 @@ class UserGroupService {
/** /**
* Get all * Get all
* Lists all groups. <br> The information provided might change while the project continues to evolve. * Lists all groups. <br> The information provided might change while the project continues to evolve.
* @result ResponseUserGroup * @returns ResponseUserGroup
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerGetAll() { static async userGroupControllerGetAll() {
@ -20,7 +20,7 @@ class UserGroupService {
* Post * Post
* Create a new group. <br> If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group. * Create a new group. <br> If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group.
* @param requestBody CreateUserGroup * @param requestBody CreateUserGroup
* @result any * @returns any
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerPost(requestBody) { static async userGroupControllerPost(requestBody) {
@ -35,7 +35,7 @@ class UserGroupService {
* Get one * Get one
* Lists all information about the group whose id got provided. <br> The information provided might change while the project continues to evolve. * Lists all information about the group whose id got provided. <br> The information provided might change while the project continues to evolve.
* @param id * @param id
* @result ResponseUserGroup * @returns ResponseUserGroup
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerGetOne(id) { static async userGroupControllerGetOne(id) {
@ -50,7 +50,7 @@ class UserGroupService {
* Update the group whose id you provided. <br> To change the permissions granted to the group please use /api/permissions instead. <br> Please remember that ids can't be changed. * Update the group whose id you provided. <br> To change the permissions granted to the group please use /api/permissions instead. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateUserGroup * @param requestBody UpdateUserGroup
* @result UserGroup * @returns UserGroup
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerPut(id, requestBody) { static async userGroupControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class UserGroupService {
* Delete the group whose id you provided. <br> If there are any permissions directly granted to the group they will get deleted as well. <br> Users associated with this group won't get deleted - just deassociated. <br> If no group with this id exists it will just return 204(no content). * Delete the group whose id you provided. <br> If there are any permissions directly granted to the group they will get deleted as well. <br> Users associated with this group won't get deleted - just deassociated. <br> If no group with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseUserGroup * @returns ResponseUserGroup
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerRemove(id, force) { static async userGroupControllerRemove(id, force) {
@ -84,7 +84,7 @@ class UserGroupService {
* Get permissions * Get permissions
* Lists all permissions granted to the group as permission response objects. * Lists all permissions granted to the group as permission response objects.
* @param id * @param id
* @result ResponseUserGroupPermissions * @returns ResponseUserGroupPermissions
* @throws ApiError * @throws ApiError
*/ */
static async userGroupControllerGetPermissions(id) { static async userGroupControllerGetPermissions(id) {

View File

@ -6,7 +6,7 @@ export declare class UserService {
/** /**
* Get all * Get all
* Lists all users. <br> This includes their groups and permissions granted to them. * Lists all users. <br> This includes their groups and permissions granted to them.
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static userControllerGetAll(): Promise<Array<ResponseUser>>; static userControllerGetAll(): Promise<Array<ResponseUser>>;
@ -14,7 +14,7 @@ export declare class UserService {
* Post * Post
* Create a new user. <br> If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. * Create a new user. <br> If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user.
* @param requestBody CreateUser * @param requestBody CreateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static userControllerPost(requestBody?: CreateUser): Promise<ResponseUser>; static userControllerPost(requestBody?: CreateUser): Promise<ResponseUser>;
@ -22,7 +22,7 @@ export declare class UserService {
* Get one * Get one
* Lists all information about the user whose id got provided. <br> Please remember that all permissions granted to the user will show up here. * Lists all information about the user whose id got provided. <br> Please remember that all permissions granted to the user will show up here.
* @param id * @param id
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static userControllerGetOne(id: number): Promise<ResponseUser>; static userControllerGetOne(id: number): Promise<ResponseUser>;
@ -31,7 +31,7 @@ export declare class UserService {
* Update the user whose id you provided. <br> To change the permissions directly granted to the user please use /api/permissions instead. <br> Please remember that ids can't be changed. * Update the user whose id you provided. <br> To change the permissions directly granted to the user please use /api/permissions instead. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateUser * @param requestBody UpdateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static userControllerPut(id: number, requestBody?: UpdateUser): Promise<ResponseUser>; static userControllerPut(id: number, requestBody?: UpdateUser): Promise<ResponseUser>;
@ -40,8 +40,8 @@ export declare class UserService {
* Delete the user whose id you provided. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to the user they will get deleted as well. <br> If no user with this id exists it will just return 204(no content). * Delete the user whose id you provided. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to the user they will get deleted as well. <br> If no user with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseUser * @returns ResponseUser
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static userControllerRemove(id: number, force?: boolean): Promise<ResponseUser | ResponseEmpty>; static userControllerRemove(id: number, force?: boolean): Promise<ResponseUser | ResponseEmpty>;
@ -49,7 +49,7 @@ export declare class UserService {
* Get permissions * Get permissions
* Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects.
* @param id * @param id
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static userControllerGetPermissions(id: number): Promise<ResponseUser>; static userControllerGetPermissions(id: number): Promise<ResponseUser>;

View File

@ -6,7 +6,7 @@ class UserService {
/** /**
* Get all * Get all
* Lists all users. <br> This includes their groups and permissions granted to them. * Lists all users. <br> This includes their groups and permissions granted to them.
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async userControllerGetAll() { static async userControllerGetAll() {
@ -20,7 +20,7 @@ class UserService {
* Post * Post
* Create a new user. <br> If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user. * Create a new user. <br> If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user.
* @param requestBody CreateUser * @param requestBody CreateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async userControllerPost(requestBody) { static async userControllerPost(requestBody) {
@ -35,7 +35,7 @@ class UserService {
* Get one * Get one
* Lists all information about the user whose id got provided. <br> Please remember that all permissions granted to the user will show up here. * Lists all information about the user whose id got provided. <br> Please remember that all permissions granted to the user will show up here.
* @param id * @param id
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async userControllerGetOne(id) { static async userControllerGetOne(id) {
@ -50,7 +50,7 @@ class UserService {
* Update the user whose id you provided. <br> To change the permissions directly granted to the user please use /api/permissions instead. <br> Please remember that ids can't be changed. * Update the user whose id you provided. <br> To change the permissions directly granted to the user please use /api/permissions instead. <br> Please remember that ids can't be changed.
* @param id * @param id
* @param requestBody UpdateUser * @param requestBody UpdateUser
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async userControllerPut(id, requestBody) { static async userControllerPut(id, requestBody) {
@ -66,8 +66,8 @@ class UserService {
* Delete the user whose id you provided. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to the user they will get deleted as well. <br> If no user with this id exists it will just return 204(no content). * Delete the user whose id you provided. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to the user they will get deleted as well. <br> If no user with this id exists it will just return 204(no content).
* @param id * @param id
* @param force * @param force
* @result ResponseUser * @returns ResponseUser
* @result ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async userControllerRemove(id, force) { static async userControllerRemove(id, force) {
@ -84,7 +84,7 @@ class UserService {
* Get permissions * Get permissions
* Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects. * Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects.
* @param id * @param id
* @result ResponseUser * @returns ResponseUser
* @throws ApiError * @throws ApiError
*/ */
static async userControllerGetPermissions(id) { static async userControllerGetPermissions(id) {

View File

@ -16,7 +16,7 @@
], ],
"author": "ODIT.Services", "author": "ODIT.Services",
"files": [ "files": [
"**/dist", "dist",
"package.json", "package.json",
"README.md" "README.md"
], ],