UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

186 lines (185 loc) 7.31 kB
import { Amount } from "./amount"; import { AmountAdjustment } from "./amountAdjustment"; import { BalanceMutation } from "./balanceMutation"; import { ExternalReason } from "./externalReason"; import { Modification } from "./modification"; import { TransferEventEventsDataInner } from "./transferEventEventsDataInner"; import { TransferEventTrackingData } from "./transferEventTrackingData"; export declare class TransferEvent { "amount"?: Amount | null; /** * The amount adjustments in this transfer. Only applicable for [issuing](https://docs.adyen.com/issuing/) integrations. */ "amountAdjustments"?: Array<AmountAdjustment>; /** * Scheme unique arn identifier useful for tracing captures, chargebacks, refunds, etc. */ "arn"?: string; /** * The date when the transfer request was sent. */ "bookingDate"?: Date; /** * The estimated time when the beneficiary should have access to the funds. */ "estimatedArrivalTime"?: Date; /** * A list of event data. */ "eventsData"?: Array<TransferEventEventsDataInner>; "externalReason"?: ExternalReason | null; /** * The unique identifier of the transfer event. */ "id"?: string; "modification"?: Modification | null; /** * The list of balance mutations per event. */ "mutations"?: Array<BalanceMutation>; "originalAmount"?: Amount | null; /** * The reason for the transfer status. */ "reason"?: TransferEvent.ReasonEnum; /** * The status of the transfer event. */ "status"?: TransferEvent.StatusEnum; "trackingData"?: TransferEventTrackingData | null; /** * The id of the transaction that is related to this accounting event. Only sent for events of type **accounting** where the balance changes. */ "transactionId"?: string; /** * The type of the transfer event. Possible values: **accounting**, **tracking**. */ "type"?: TransferEvent.TypeEnum; /** * The date when the tracking status was updated. */ "updateDate"?: Date; /** * The date when the funds are expected to be deducted from or credited to the balance account. This date can be in either the past or future. */ "valueDate"?: Date; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); } export declare namespace TransferEvent { enum ReasonEnum { AccountHierarchyNotActive = "accountHierarchyNotActive", AmountLimitExceeded = "amountLimitExceeded", ApprovalExpired = "approvalExpired", Approved = "approved", BalanceAccountTemporarilyBlockedByTransactionRule = "balanceAccountTemporarilyBlockedByTransactionRule", CounterpartyAccountBlocked = "counterpartyAccountBlocked", CounterpartyAccountClosed = "counterpartyAccountClosed", CounterpartyAccountNotFound = "counterpartyAccountNotFound", CounterpartyAddressRequired = "counterpartyAddressRequired", CounterpartyBankTimedOut = "counterpartyBankTimedOut", CounterpartyBankUnavailable = "counterpartyBankUnavailable", Declined = "declined", DeclinedByTransactionRule = "declinedByTransactionRule", DirectDebitNotSupported = "directDebitNotSupported", Error = "error", NotEnoughBalance = "notEnoughBalance", Pending = "pending", PendingApproval = "pendingApproval", PendingExecution = "pendingExecution", RefusedByCounterpartyBank = "refusedByCounterpartyBank", RefusedByCustomer = "refusedByCustomer", RouteNotFound = "routeNotFound", ScaFailed = "scaFailed", TransferInstrumentDoesNotExist = "transferInstrumentDoesNotExist", Unknown = "unknown" } enum StatusEnum { ApprovalPending = "approvalPending", AtmWithdrawal = "atmWithdrawal", AtmWithdrawalReversalPending = "atmWithdrawalReversalPending", AtmWithdrawalReversed = "atmWithdrawalReversed", AuthAdjustmentAuthorised = "authAdjustmentAuthorised", AuthAdjustmentError = "authAdjustmentError", AuthAdjustmentRefused = "authAdjustmentRefused", Authorised = "authorised", BankTransfer = "bankTransfer", BankTransferPending = "bankTransferPending", Booked = "booked", BookingPending = "bookingPending", Cancelled = "cancelled", CapturePending = "capturePending", CaptureReversalPending = "captureReversalPending", CaptureReversed = "captureReversed", Captured = "captured", CapturedExternally = "capturedExternally", Chargeback = "chargeback", ChargebackExternally = "chargebackExternally", ChargebackPending = "chargebackPending", ChargebackReversalPending = "chargebackReversalPending", ChargebackReversed = "chargebackReversed", Credited = "credited", DepositCorrection = "depositCorrection", DepositCorrectionPending = "depositCorrectionPending", Dispute = "dispute", DisputeClosed = "disputeClosed", DisputeExpired = "disputeExpired", DisputeNeedsReview = "disputeNeedsReview", Error = "error", Expired = "expired", Failed = "failed", Fee = "fee", FeePending = "feePending", InternalTransfer = "internalTransfer", InternalTransferPending = "internalTransferPending", InvoiceDeduction = "invoiceDeduction", InvoiceDeductionPending = "invoiceDeductionPending", ManualCorrectionPending = "manualCorrectionPending", ManuallyCorrected = "manuallyCorrected", MatchedStatement = "matchedStatement", MatchedStatementPending = "matchedStatementPending", MerchantPayin = "merchantPayin", MerchantPayinPending = "merchantPayinPending", MerchantPayinReversed = "merchantPayinReversed", MerchantPayinReversedPending = "merchantPayinReversedPending", MiscCost = "miscCost", MiscCostPending = "miscCostPending", PaymentCost = "paymentCost", PaymentCostPending = "paymentCostPending", PendingApproval = "pendingApproval", PendingExecution = "pendingExecution", Received = "received", RefundPending = "refundPending", RefundReversalPending = "refundReversalPending", RefundReversed = "refundReversed", Refunded = "refunded", RefundedExternally = "refundedExternally", Refused = "refused", Rejected = "rejected", ReserveAdjustment = "reserveAdjustment", ReserveAdjustmentPending = "reserveAdjustmentPending", Returned = "returned", SecondChargeback = "secondChargeback", SecondChargebackPending = "secondChargebackPending", Undefined = "undefined" } enum TypeEnum { Accounting = "accounting", Tracking = "tracking" } }