first commit
This commit is contained in:
53
dist/tickets/tickets.controller.d.ts
vendored
Normal file
53
dist/tickets/tickets.controller.d.ts
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
import { TicketsService } from './tickets.service';
|
||||
import { CreateTicketDto } from './dto/create-ticket.dto';
|
||||
export declare class TicketsController {
|
||||
private readonly ticketsService;
|
||||
constructor(ticketsService: TicketsService);
|
||||
create(createTicketDto: CreateTicketDto): Promise<{
|
||||
event: {
|
||||
id: string;
|
||||
name: string;
|
||||
date: string;
|
||||
location: string;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
eventId: string;
|
||||
attendeeName: string;
|
||||
attendeeEmail: string;
|
||||
ticketType: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
}>;
|
||||
findAll(eventId: string): import(".prisma/client").Prisma.PrismaPromise<{
|
||||
id: string;
|
||||
eventId: string;
|
||||
attendeeName: string;
|
||||
attendeeEmail: string;
|
||||
ticketType: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
}[]>;
|
||||
resendEmail(id: string): Promise<{
|
||||
success: boolean;
|
||||
message: string;
|
||||
}>;
|
||||
updateStatus(id: string, status: string): import(".prisma/client").Prisma.Prisma__TicketClient<{
|
||||
id: string;
|
||||
eventId: string;
|
||||
attendeeName: string;
|
||||
attendeeEmail: string;
|
||||
ticketType: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
}, never, import("@prisma/client/runtime/library").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
|
||||
remove(id: string): import(".prisma/client").Prisma.Prisma__TicketClient<{
|
||||
id: string;
|
||||
eventId: string;
|
||||
attendeeName: string;
|
||||
attendeeEmail: string;
|
||||
ticketType: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
}, never, import("@prisma/client/runtime/library").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
|
||||
}
|
||||
Reference in New Issue
Block a user