Files
evento/dist/gift/api/gift.controller.d.ts
2026-03-18 14:55:56 -03:00

14 lines
946 B
TypeScript

import { Request } from 'express';
import { GiftService } from '../services/gift.service';
import { CreateGiftDto } from './dto/create-gift.dto';
import { CreateContributionDto } from './dto/create-contribution.dto';
export declare class GiftController {
private readonly giftService;
constructor(giftService: GiftService);
createGift(req: Request, tenantId: string, dto: CreateGiftDto): Promise<import("../entities/gift.entity").Gift>;
listGifts(tenantId: string): Promise<import("../entities/gift.entity").Gift[]>;
contribute(tenantId: string, dto: CreateContributionDto): Promise<import("../entities/gift.entity").GiftContribution>;
getGift(req: Request, tenantId: string, id: string): Promise<import("../entities/gift.entity").Gift | null>;
listContributions(req: Request, tenantId: string, id: string): Promise<import("../entities/gift.entity").GiftContribution[]>;
}
//# sourceMappingURL=gift.controller.d.ts.map