UNPKG

@receeco/pos-agent

Version:

Receeco POS Integration Middleware Agent

32 lines 908 B
export interface ReceiptPayload { token: string; short_code: string; merchant_string_id: string; merchant_name?: string; merchant_logo?: string; accent_color?: string; customer_email?: string | null; customer_phone?: string | null; total_amount: number; currency: string; transaction_date: string; items: Array<{ name: string; quantity: number; unit_price: number; total_price: number; }>; category: string; payment_method?: string; location?: string; status: string; } export declare class ReceiptService { private apiUrl; private apiKey; constructor(); createReceipt(payload: ReceiptPayload): Promise<string>; getReceiptStatus(receiptId: string): Promise<any>; updateReceiptStatus(receiptId: string, status: string): Promise<boolean>; } //# sourceMappingURL=receipt-service.d.ts.map