This commit is contained in:
12
dist/services/DonorService.js
vendored
12
dist/services/DonorService.js
vendored
@@ -6,7 +6,7 @@ class DonorService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all donor. <br> This includes the donor's current donation amount.
|
||||
* @result ResponseDonor
|
||||
* @returns ResponseDonor
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async donorControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class DonorService {
|
||||
* Post
|
||||
* Create a new donor.
|
||||
* @param requestBody CreateDonor
|
||||
* @result ResponseDonor
|
||||
* @returns ResponseDonor
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async donorControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class DonorService {
|
||||
* Get one
|
||||
* Lists all information about the donor whose id got provided. <br> This includes the donor's current donation amount.
|
||||
* @param id
|
||||
* @result ResponseDonor
|
||||
* @returns ResponseDonor
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
* @param id
|
||||
* @param requestBody UpdateDonor
|
||||
* @result ResponseDonor
|
||||
* @returns ResponseDonor
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
* @param id
|
||||
* @param force
|
||||
* @result ResponseDonor
|
||||
* @result ResponseEmpty
|
||||
* @returns ResponseDonor
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async donorControllerRemove(id, force) {
|
||||
|
||||
Reference in New Issue
Block a user