/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CreditTransactionHistoryStatusEnum } from './CreditTransactionHistoryStatusEnum'; import type { TransactionTypeEnum } from './TransactionTypeEnum'; /** * Serializer for user-facing transaction history. * NEVER exposes internal USD amounts (amount_usd, usd_balance_*). * * - payment_amount_usd: only shown for ``add`` transactions (real user payment). * - description: user-friendly label derived from service_name/transaction_type. * - service_name is excluded from the response (internal detail). */ export type CreditTransactionHistory = { readonly id: string; transaction_type: TransactionTypeEnum; status?: CreditTransactionHistoryStatusEnum; readonly payment_amount_usd: string; readonly credits_amount: string; readonly credits_balance_after: string; readonly description: string; readonly created_at: string; };