import { ApprovalRulePayload } from '../../../../entity/approvalRule/approvalRulePayload'; import { BankAccountPayload } from '../../../../entity/bankAccount/bankAccountPayload'; import { EntityApprovalStatusPayload } from '../../../../entity/entityApprovalStatus/entityApprovalStatusPayload'; import { FilePayload } from '../../../../entity/file/filePayload'; import { MerchantPayload } from '../../../../entity/merchant/merchantPayload'; import { AmountPayload, ReimbursementPayload } from '../../../../entity/reimbursement/reimbursementPayload'; import { MilageReimbursementLine, OutofPocketReimbursementLine } from '../../../../entity/reimbursement/reimbursementState'; import { UserPayload } from '../../../../entity/user/userPayload'; import { ZeniAPIResponse } from '../../../../responsePayload'; import { ReimbursementConfigPayload } from '../../reimbursement/reimbursementConfig/reimbursementConfigPayload'; import { SegregatedReimbursementLineWithRecommendation } from './editRemiViewState'; export interface CurrencyConversionPayload { home_currency_conversions: AmountPayload; } export interface ReceiptPayload { account_id: string; amount: number; currency_code: string; currency_symbol: string; exchange_rate: number; file_id: string | null; home_currency_conversions: AmountPayload; merchant_id: string; transaction_date: string; transaction_memo: string; transaction_type: string; } export interface ReceiptsProcessingPayload { files: FilePayload[]; merchants: MerchantPayload[]; receipts: ReceiptPayload[]; } interface RemiSavePayload { approval_rules: ApprovalRulePayload[]; bank_accounts: BankAccountPayload[]; entity_approvals: EntityApprovalStatusPayload[]; merchants: MerchantPayload[]; transactions: ReimbursementPayload[]; users: UserPayload[]; } export type RemiSaveResponse = ZeniAPIResponse; export type CurrencyConversionResponse = ZeniAPIResponse; export type ReimbursementConfigResponse = ZeniAPIResponse; export declare const toReimbursementLineWithRecommendationFromMileage: (line: MilageReimbursementLine) => SegregatedReimbursementLineWithRecommendation; export declare const toReimbursementLineWithRecommendationFromOutOfPocket: (line: OutofPocketReimbursementLine) => SegregatedReimbursementLineWithRecommendation; export {};