Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file. Co-authored-by: Cursor <cursoragent@cursor.com>
50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
import { PrismaService } from '../prisma/prisma.service';
|
|
import { UpdateCheckStatusDto } from './dto/check.dto';
|
|
export declare class ChecksService {
|
|
private readonly prisma;
|
|
constructor(prisma: PrismaService);
|
|
findByOrder(orderId: string): Promise<{
|
|
id: string;
|
|
orderId: string;
|
|
row: number;
|
|
amount: number;
|
|
dueDate: string;
|
|
sayadId: string;
|
|
checkNumber: string | undefined;
|
|
ownerNationalId: string | undefined;
|
|
ownerFirstName: string | undefined;
|
|
ownerLastName: string | undefined;
|
|
bankName: string;
|
|
branchName: string | undefined;
|
|
frontImage: string | undefined;
|
|
backImage: string | undefined;
|
|
notes: string | undefined;
|
|
mode: string;
|
|
status: import("@prisma/client").$Enums.CheckStatus;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}[]>;
|
|
updateStatus(id: string, adminId: string, dto: UpdateCheckStatusDto): Promise<{
|
|
id: string;
|
|
orderId: string;
|
|
row: number;
|
|
amount: number;
|
|
dueDate: string;
|
|
sayadId: string;
|
|
checkNumber: string | undefined;
|
|
ownerNationalId: string | undefined;
|
|
ownerFirstName: string | undefined;
|
|
ownerLastName: string | undefined;
|
|
bankName: string;
|
|
branchName: string | undefined;
|
|
frontImage: string | undefined;
|
|
backImage: string | undefined;
|
|
notes: string | undefined;
|
|
mode: string;
|
|
status: import("@prisma/client").$Enums.CheckStatus;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}>;
|
|
private map;
|
|
}
|