🚀New lib version v0.0.12 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
10
dist/services/DonorService.js
vendored
10
dist/services/DonorService.js
vendored
@@ -5,7 +5,7 @@ const request_1 = require("../core/request");
|
||||
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
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ class DonorService {
|
||||
}
|
||||
/**
|
||||
* 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
|
||||
@@ -33,7 +33,7 @@ class DonorService {
|
||||
}
|
||||
/**
|
||||
* 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
|
||||
@@ -47,7 +47,7 @@ class DonorService {
|
||||
}
|
||||
/**
|
||||
* 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
|
||||
@@ -63,7 +63,7 @@ class DonorService {
|
||||
}
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user