/* tslint:disable */ /* eslint-disable */ /** * cards * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { CardTransaction } from './card-transaction'; // May contain unused imports in some cases // @ts-ignore import type { CardTransactionReversal } from './card-transaction-reversal'; // May contain unused imports in some cases // @ts-ignore import type { DepositAffectedAmounts } from './deposit-affected-amounts'; // May contain unused imports in some cases // @ts-ignore import type { DepositFee } from './deposit-fee'; // May contain unused imports in some cases // @ts-ignore import type { DepositInterestAccruedAmounts } from './deposit-interest-accrued-amounts'; // May contain unused imports in some cases // @ts-ignore import type { DepositTaxes } from './deposit-taxes'; // May contain unused imports in some cases // @ts-ignore import type { DepositTerms } from './deposit-terms'; // May contain unused imports in some cases // @ts-ignore import type { DepositTransactionBalances } from './deposit-transaction-balances'; // May contain unused imports in some cases // @ts-ignore import type { PaymentDetails } from './payment-details'; // May contain unused imports in some cases // @ts-ignore import type { TransactionDetails } from './transaction-details'; // May contain unused imports in some cases // @ts-ignore import type { TransferDetails } from './transfer-details'; /** * Details for retrieving a card financial transaction. */ export interface GetCardTransaction { accountBalances?: DepositTransactionBalances; /** * The key of the deposit transaction where the adjustment for this transaction was made (if any adjustment was involved) */ adjustmentTransactionKey?: string; affectedAmounts?: DepositAffectedAmounts; /** * How much was added/removed in account */ amount?: number; /** * The block fund id associated with the transaction */ blockId?: string; /** * The date when corresponding JE is booked (as Organization Time) */ bookingDate?: string; /** * The branch where the transaction was performed */ branchKey?: string; cardTransaction?: CardTransaction; /** * Object containing all the associated reversal transactions. */ cardTransactionReversals?: Array; /** * The center where the transaction was performed */ centreKey?: string; /** * The date when this deposit transaction was created */ creationDate?: string; /** * The currency in which this transaction was posted */ currencyCode?: string; /** * The encoded key of the deposit transaction, auto generated, unique */ encodedKey?: string; /** * The external id of the deposit transaction, customizable, unique */ externalId?: string; /** * All the amounts that have been applied or paid within this transaction and involved predefined fees */ fees?: Array; /** * The external id of an account authorization hold */ holdExternalReferenceId?: string; /** * The id of the deposit transaction, auto generated, unique */ id?: string; interestAccruedAmounts?: DepositInterestAccruedAmounts; /** * The migration event encoded key associated with this deposit account. If this account was imported, track which \'migration event\' they came from */ migrationEventKey?: string; /** * Extra notes about this deposit transaction */ notes?: string; /** * The encodedKey of the transaction that was adjusted as part of this one. Available only for adjustment transactions */ originalTransactionKey?: string; /** * The key of the parent deposit account */ parentAccountKey?: string; paymentDetails?: PaymentDetails; /** * The payment order id of the deposit transaction, customizable */ paymentOrderId?: string; taxes?: DepositTaxes; terms?: DepositTerms; /** * The till key associated with this transaction */ tillKey?: string; transactionDetails?: TransactionDetails; transferDetails?: TransferDetails; /** * The type of the deposit transaction */ type?: GetCardTransactionTypeEnum; /** * The person that performed the transaction */ userKey?: string; /** * Date of the entry (eg date of repayment or disbursal, etc.) (as Organization Time) */ valueDate?: string; } export const GetCardTransactionTypeEnum = { Import: 'IMPORT', WriteOff: 'WRITE_OFF', WriteOffAdjustment: 'WRITE_OFF_ADJUSTMENT', Deposit: 'DEPOSIT', Adjustment: 'ADJUSTMENT', Withdrawal: 'WITHDRAWAL', WithdrawalAdjustment: 'WITHDRAWAL_ADJUSTMENT', CardTransactionReversal: 'CARD_TRANSACTION_REVERSAL', CardTransactionReversalAdjustment: 'CARD_TRANSACTION_REVERSAL_ADJUSTMENT', Transfer: 'TRANSFER', TransferAdjustment: 'TRANSFER_ADJUSTMENT', FeeApplied: 'FEE_APPLIED', FeeAdjusted: 'FEE_ADJUSTED', FeesDueReduced: 'FEES_DUE_REDUCED', InterestApplied: 'INTEREST_APPLIED', InterestAppliedAdjustment: 'INTEREST_APPLIED_ADJUSTMENT', NetDiffInterest: 'NET_DIFF_INTEREST', ProfitApplied: 'PROFIT_APPLIED', ProfitAppliedAdjustment: 'PROFIT_APPLIED_ADJUSTMENT', FeeReductionAdjustment: 'FEE_REDUCTION_ADJUSTMENT', WithholdingTax: 'WITHHOLDING_TAX', WithholdingTaxAdjustment: 'WITHHOLDING_TAX_ADJUSTMENT', InterestRateChanged: 'INTEREST_RATE_CHANGED', OverdraftInterestRateChanged: 'OVERDRAFT_INTEREST_RATE_CHANGED', OverdraftLimitChanged: 'OVERDRAFT_LIMIT_CHANGED', BranchChanged: 'BRANCH_CHANGED', AccountHolderChanged: 'ACCOUNT_HOLDER_CHANGED', LoanFunded: 'LOAN_FUNDED', LoanFundedAdjustment: 'LOAN_FUNDED_ADJUSTMENT', LoanRepaid: 'LOAN_REPAID', LoanRepaidAdjustment: 'LOAN_REPAID_ADJUSTMENT', LoanFractionBought: 'LOAN_FRACTION_BOUGHT', LoanFractionBoughtAdjustment: 'LOAN_FRACTION_BOUGHT_ADJUSTMENT', LoanFractionSold: 'LOAN_FRACTION_SOLD', LoanFractionSoldAdjustment: 'LOAN_FRACTION_SOLD_ADJUSTMENT', SeizedAmount: 'SEIZED_AMOUNT', CourtesyPayLimitChanged: 'COURTESY_PAY_LIMIT_CHANGED', } as const; export type GetCardTransactionTypeEnum = (typeof GetCardTransactionTypeEnum)[keyof typeof GetCardTransactionTypeEnum];