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.7 KiB
TypeScript
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;
|
|
}>;
|
|
}
|