import { ID } from '../../../commonStateTypes/common'; import { VendorTransactionPayload } from '../../transaction/payloadTypes/vendorTransactionPayload'; import { BillPaymentMethod, BillPaymentRefundStatus, BillPaymentStatus, BillStage, BillStatus, BillTransaction, BulkProcessingDetail, DeletionInfo } from './billTransactionState'; export interface BillTransactionPayload extends VendorTransactionPayload { bill_pay_info: BillPayInfoPayload; bulk_operation_detail: BulkOperationDetailPayload | null; deletion_info: DeletionInfoPayload; entity_approval_id: ID; is_deleted: boolean; is_recurring: boolean; processing_status: string | null; recipient_currency_code: string; recipient_currency_symbol: string; recipient_total_amount: number; recurring_bill_config_id: string | null; recurring_bill_instance: number | null; total_amount_with_fee_usd: number | null; total_fee: number; update_time: string; candidate_vendor_name?: string; class_id?: ID | null; class_name?: string | null; created_by_user_id?: ID | null; discount?: number; home_currency_amount?: number; home_currency_code?: string; home_currency_symbol?: string; invoice_number?: string; last_updated_by_user_id?: string; qbo_class_id?: ID | null; tax?: number; transaction_reference_id?: ID | null; } export interface BulkOperationDetailPayload { error: { error_code: string; error_message: string; } | null; operation_type: string; processing_message: string | null; } interface BillPayInfoPayload { bill_payment_method_type: BillPaymentMethodPayload; bill_payment_refund_status: BillPaymentRefundStatusPayload; bill_payment_status: BillPaymentStatusPayload; bill_status: BillStatusPayload; from_account: BillAccountPayload; is_cancelled: boolean; is_refund_complete: boolean | null; is_refund_initiated: boolean | null; outside_zeni_transaction_payment_mode: string | null; stage: BillStagePayload; stage_message: string | null; to_account: BillAccountPayload; actual_deposit_date?: string | null; bill_payment_status_message?: string | null; bill_payment_status_update_time?: string | null; bill_stage_update_time?: string | null; expected_deposit_date?: string | null; international_transfer_fee_bearer_payment_method?: string | null; is_collect_to_account_info_from_vendor_contact?: boolean; payment_date?: string; refund_completion_time?: string; refund_initiation_time?: string; scheduled_date?: string | null; to_account_vendor_email?: string | null; } export interface BillStagePayload { code: string; name: string; } export interface BillPaymentStatusPayload { description: string; description_code: string | null; name: string | null; summary: string; summary_code: string | null; code?: string | null; } export interface BillPaymentRefundStatusPayload { code: string | null; description: string; name: string | null; summary: string; } export interface BillStatusPayload { code: string; description: string; description_code: string | null; name: string; summary: string; summary_code: string | null; } export interface BillPaymentMethodPayload { name: string | null; code?: string | null; sub_code?: string | null; } export interface BillAccountPayload { account_type: string | null; account_holder_type?: string | null; account_id?: string | null; payment_instrument_id?: string | null; } export interface DeletionInfoPayload { deleted_by_user_id: string | null; deleted_by_user_name: string | null; deletion_source: string | null; } export declare const toBillTransaction: (payload: BillTransactionPayload) => BillTransaction; export declare const toBulkProcessingDetail: (processing_status: string, bulk_operation_detail: BulkOperationDetailPayload | null) => BulkProcessingDetail; export declare const toBillStage: (payload: BillStagePayload) => BillStage; export declare const toBillPaymentMethod: (payload: BillPaymentMethodPayload) => BillPaymentMethod; export declare const toBillPaymentStatus: (payload: BillPaymentStatusPayload) => BillPaymentStatus; export declare const toBillPaymentRefundStatus: (payload: BillPaymentRefundStatusPayload) => BillPaymentRefundStatus; export declare const toBillStatus: (payload: BillStatusPayload) => BillStatus; export declare const toDeletionInfo: (payload: DeletionInfoPayload) => DeletionInfo; export {};