export declare type MachineCodeListParams = { order_id: number | string; available: number; prepare_payments: { voucher_id: number; amount: number; tag: string; }[]; filter_prepare_wallet_pass: 1 | 0; sale_channel: string; other_exact_codes?: string[]; }; export declare type WalletPassDataType = { id: number; shop_id: number; customer_id: number; code: string; encoded: string; status: string; cover: string; tag: string; relation_type: string; product_id: number; limit_status: string; sales_status: number; par_value: string; used_par_value: string; start_date: string; expire_date: string; end_time: string; start_time: string; created_at: string; product_name: string; expire_time: string; available_max_par_value: string; available_max_amount: string; recommended_usage_amount: string; custom_expire_status: number; wallet_pass_usage_unit: WalletPassUsageUnit; custom_order_deduct_exhausted: number; available_product_status: number; available_product_ids: any[]; available_product_type: string; available_num: number; available_product_title: string; unified_available_status: number; unified_messages: UnifiedMessages; external_card: any[]; product: Product; shop: Shop; wallet_pass_usage?: any; balance_par_value: string; custom_schedule_snapshot?: { data: any[]; }; metadata?: { validity_type: string; }; /** 前端计算 可用最大金额 */ _available_max_amount?: number; /** 前端计算 统一可用状态 */ _unified_available_status?: 0 | 1; /** 前端计算 禁用原因 */ reason?: string; }; declare type Shop = { id: number; name: string; default_url: string; }; declare type Product = { id: number; title: string; cover: string; is_charge_tax: number; }; declare type UnifiedMessages = { title: string; desc: string; alert: string; }; declare type WalletPassUsageUnit = { price: number; points: number; }; /** * 查询支付识别码列表 */ export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise; /** * 获取推荐的支付识别码 */ export declare const getRecommendMachineCodeList: (order_id: number) => Promise; /** * 搜索支付识别码 */ export declare const searchMachineCodeList: (params: { order_id: number | string; code?: string; sale_channel: string; prepare_payments: { voucher_id: number; amount: number; tag: string; }[]; filter_prepare_wallet_pass?: 1 | 0; customer_pin_key?: string; }) => Promise; /** * walletpass支付 */ export declare const walletPassPay: (params: { order_id: number | string; payment_group_id: number; payments: { amount: string; wallet_pass_use_value: string; voucher_id: number; tag: string; wallet_pass_usage_unit: { price: number; points: number; }; }[]; }) => Promise; /** * 搜索wallet code */ export declare const searchWalletCode: (params: { code: string; with_customer: 1 | 0; }) => Promise<{ code: string; id: number; status: 'enable' | 'disable' | 'expired'; expired_at: string; customer: Record; check_max_count: number; failed_count: number; }>; /** * 验证pin码 */ export declare const verifyPinCode: (params: { wallet_detail_id: number; pin: string; }) => Promise<{ status: number; customer_id: number; msg: string; customer_pin_key: string; }>; /** * 获取pin码 */ export declare const getPin: (params: { wallet_detail_id: number; }) => Promise<{ pin: string; }>; export {};