import { AllowedValueWithCode } from '../../../../commonStateTypes/allowedValue'; import { ZeniAPIResponse } from '../../../../responsePayload'; import { CreditTerm, RePaymentInfo } from './chargeCardConfigState'; export interface ChargeCardConfigPayload { allowed_credit_limit_span_options: AllowedValueWithCode[]; credit_terms: CreditTermsPayload; is_ai_categorization_enabled_for_cards_transactions: boolean; receipt_bot_email: string; receipt_required_above_amount: { amount: number; currency_code: string; currency_symbol: string; }; repayment_info: RePaymentInfoPayload | null; } interface CreditTermsPayload { credit_terms_id: string; credit_terms_name: string; max_number_of_physical_charge_cards_per_user: number; max_number_of_physical_debit_cards_per_user: number; max_number_of_virtual_charge_cards_per_user: number; max_number_of_virtual_debit_cards_per_user: number; } interface RePaymentInfoPayload { card_limit_reset_date: string; current_statement_period_end_date: string; current_statement_period_start_date: string; next_repayment_due_date: string; } export type ChargeCardConfigResponse = ZeniAPIResponse; export declare const toCreditTerm: (payload: CreditTermsPayload) => CreditTerm; export declare const toRePaymentInfo: (payload: RePaymentInfoPayload) => RePaymentInfo; export {};