export interface IStudentPendingFeesRs { ip_applicant: string; status: number; message: IMessageWpRs; data: IStudentPendingFeeRs[]; } export interface IMessageWpRs { code: number; message: string; } export interface IStudentPendingFeeRs { code: number; cod: number; timely_date: string; amount: number; fee_number: number; status: number; updated_amount_by: number | null; updated_by: number; deleted_at: string | null; updated_at: string; created_at: string; dayVenc: number; colorDay: string; selected?: boolean; partialAmount?: number; isPartial?: boolean; } export interface IPaymentSelectionRs { selectedFees: IStudentPendingFeeRs[]; totalAmount: number; isPartialMode: boolean; partialAmount: number; } export interface IWompiPaymentRq { token: string; fee_codes: number[]; amount_in_cents: number; amount_discount?: number; code_discount?: number; customer_type_id_card: number; customer_id_card: string; customer_full_name: string; customer_phone_indicative: number; customer_phone: string; customer_email: string; type_currency: number; type_environment: number; payment_method: number; is_partial: boolean; } export interface IWompiPaymentRs { checkout_url: string; reference: string; transaction_id?: string; } export interface IGetTransactionsByUserCodeRq { token: string; user_code: number; } export interface IWpTransactionRs { wp_payment_gateway_transaction_code: number; wp_payment_method: string; wp_reference: string; wp_transaction_amount: number; wp_status: string; customer_type_id_card: number; customer_id_card: string; customer_full_name: string; customer_email: string; customer_phone: string; fees: IWpFeeRs[]; } export interface IWpFeeRs { wp_transaction_code: number; cod_payment_code: number; wp_status: string; fee_amount: number; fee_number: number; total_credits: number; wp_applied: number; amount_due: number; fee_due_date: string; fee_created_at: string; payment_bills: IWpPaymentBillRs[]; } export interface IWpPaymentBillRs { code: number; amount: number; payment_method: string; payment_date: string; } export interface IUpdateTransactionStatusRq { token?: string; reference_ipt?: string; new_status?: string; new_wp_transaction_code?: string; new_wp_payment_method?: string; status_message_resp?: string; wp_trans_started_at?: Date; wp_trans_finished_at?: Date; } export interface IWompiTransactionPayloadRq { token: string; wompi_transaction_id: number; type_environment: string; }