Files
fabric_trade_server/dist/checks/checks.controller.d.ts
T
mohmdsdgandCursor cbcea58e94 Deploy via committed dist: local Nest build, server runs with .env
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>
2026-08-05 21:35:22 +03:30

50 lines
1.7 KiB
TypeScript

import { ChecksService } from './checks.service';
import type { AuthPrincipal } from '../common/decorators/current-user.decorator';
import { UpdateCheckStatusDto } from './dto/check.dto';
export declare class ChecksController {
private readonly checksService;
constructor(checksService: ChecksService);
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(user: AuthPrincipal, id: 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;
}>;
}