🚀New lib version [CI SKIP]

This commit is contained in:
2023-02-02 09:42:58 +00:00
parent b3676087f2
commit fa42e1085f
220 changed files with 551 additions and 554 deletions

View File

@@ -6,11 +6,11 @@ class DonorService {
/**
* Get all
* Lists all donor. <br> This includes the donor's current donation amount.
* @returns ResponseDonor
* @result ResponseDonor
* @throws ApiError
*/
static async donorControllerGetAll() {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donors`,
});
@@ -20,11 +20,11 @@ class DonorService {
* Post
* Create a new donor.
* @param requestBody CreateDonor
* @returns ResponseDonor
* @result ResponseDonor
* @throws ApiError
*/
static async donorControllerPost(requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'POST',
path: `/api/donors`,
body: requestBody,
@@ -35,11 +35,11 @@ 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
* @returns ResponseDonor
* @result ResponseDonor
* @throws ApiError
*/
static async donorControllerGetOne(id) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donors/${id}`,
});
@@ -50,11 +50,11 @@ class DonorService {
* Update the donor whose id you provided. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody UpdateDonor
* @returns ResponseDonor
* @result ResponseDonor
* @throws ApiError
*/
static async donorControllerPut(id, requestBody) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'PUT',
path: `/api/donors/${id}`,
body: requestBody,
@@ -66,12 +66,12 @@ 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
* @returns ResponseDonor
* @returns ResponseEmpty
* @result ResponseDonor
* @result ResponseEmpty
* @throws ApiError
*/
static async donorControllerRemove(id, force) {
const result = await request_1.request({
const result = await (0, request_1.request)({
method: 'DELETE',
path: `/api/donors/${id}`,
query: {