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

This commit is contained in:
2021-01-13 19:36:32 +00:00
parent 7c7d0c195e
commit 79606e3f43
55 changed files with 431 additions and 27 deletions

View File

@@ -5,14 +5,14 @@ import type { UpdateDonor } from '../models/UpdateDonor';
export declare class DonorService {
/**
* Get all
* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
* Lists all donor. <br> This includes the donor's current donation amount.
* @returns ResponseDonor
* @throws ApiError
*/
static donorControllerGetAll(): Promise<Array<ResponseDonor>>;
/**
* Post
* Create a new runner. <br> Please remeber to provide the runner's group's id.
* Create a new donor.
* @param requestBody CreateDonor
* @returns ResponseDonor
* @throws ApiError
@@ -20,7 +20,7 @@ export declare class DonorService {
static donorControllerPost(requestBody?: CreateDonor): Promise<ResponseDonor>;
/**
* Get one
* Lists all information about the runner whose id got provided.
* Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount.
* @param id
* @returns ResponseDonor
* @throws ApiError
@@ -28,7 +28,7 @@ export declare class DonorService {
static donorControllerGetOne(id: number): Promise<ResponseDonor>;
/**
* Put
* Update the runner 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 requestBody UpdateDonor
* @returns ResponseDonor
@@ -37,7 +37,7 @@ export declare class DonorService {
static donorControllerPut(id: number, requestBody?: UpdateDonor): Promise<ResponseDonor>;
/**
* Remove
* Delete the runner whose id you provided. <br> If no runner with this id exists it will just return 204(no content).
* 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 force
* @returns ResponseDonor