🚀New lib version [CI SKIP]
This commit is contained in:
16
dist/services/DonationService.d.ts
vendored
16
dist/services/DonationService.d.ts
vendored
@@ -9,7 +9,7 @@ export declare class DonationService {
|
||||
/**
|
||||
* 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).
|
||||
* @returns any
|
||||
* @result any
|
||||
* @throws ApiError
|
||||
*/
|
||||
static donationControllerGetAll(): Promise<(Array<ResponseDonation> | Array<ResponseDistanceDonation>)>;
|
||||
@@ -17,7 +17,7 @@ export declare class DonationService {
|
||||
* Get one
|
||||
* Lists all information about the donation whose id got provided. This includes the donation's runner's distance ran (if distance donation).
|
||||
* @param id
|
||||
* @returns any
|
||||
* @result any
|
||||
* @throws ApiError
|
||||
*/
|
||||
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).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns any
|
||||
* @returns ResponseEmpty
|
||||
* @result any
|
||||
* @result ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static donationControllerRemove(id: number, force?: boolean): Promise<(ResponseDonation | ResponseDistanceDonation) | ResponseEmpty>;
|
||||
@@ -35,7 +35,7 @@ export declare class DonationService {
|
||||
* 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.
|
||||
* @param requestBody CreateFixedDonation
|
||||
* @returns ResponseDonation
|
||||
* @result ResponseDonation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static donationControllerPostFixed(requestBody?: CreateFixedDonation): Promise<ResponseDonation>;
|
||||
@@ -43,7 +43,7 @@ export declare class DonationService {
|
||||
* 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).
|
||||
* @param requestBody CreateDistanceDonation
|
||||
* @returns ResponseDistanceDonation
|
||||
* @result ResponseDistanceDonation
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
* @param id
|
||||
* @param requestBody UpdateFixedDonation
|
||||
* @returns ResponseDonation
|
||||
* @result ResponseDonation
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
* @param id
|
||||
* @param requestBody UpdateDistanceDonation
|
||||
* @returns ResponseDonation
|
||||
* @result ResponseDonation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static donationControllerPutDistance(id: number, requestBody?: UpdateDistanceDonation): Promise<ResponseDonation>;
|
||||
|
||||
Reference in New Issue
Block a user