import { SubmissionEventTypes } from '@oneblink/types'; import { BasePaymentConfigurationPayload, PaymentProvider } from '../../types/payments'; import { FormSubmissionResult } from '../../types/submissions'; declare class CPPayPaymentProvider implements PaymentProvider { constructor(paymentSubmissionEvent: SubmissionEventTypes.CPPaySubmissionEvent, formSubmissionResult: FormSubmissionResult); paymentSubmissionEvent: SubmissionEventTypes.CPPaySubmissionEvent; formSubmissionResult: FormSubmissionResult; preparePaymentConfiguration(basePayload: BasePaymentConfigurationPayload): { path: string; payload: { integrationGatewayId: string; amount: number; redirectUrl: string; submissionId: string | null; paymentFormUrl?: string; }; }; verifyPaymentTransaction(query: Record): Promise<{ receiptItems: import("../../types/payments").PaymentReceiptItem[]; transaction: { isSuccess: boolean; errorMessage: "NoError" | "BadRequest" | "Unauthorized" | "NotFound" | "Unavailable" | "InvalidApiCredentials" | "CardTypeNotEnabled" | "MissingRequestFields" | "InvalidConfiguration" | "BlockedIpAddress" | "OperationNotSupported" | "UnknownInternalError" | "TransactionCanceled" | "SecurityTokenMismatch" | "ExpiredSession" | "OutstandingTransactionsExist" | "MissingFormFields" | "UnknownOrInvalidTokenData" | "CardNumberInvalid" | "CardLimitExceeded" | "CardExpired" | "CardExpirationInvalid" | "CardCvvInvalid" | "CardAvsFailed" | "CardDeclined" | "CardDeclinedFraud" | "CardDeclinedCallForApproval" | "CardDeclinedCallIssuer" | "CardDeclinedPossibleLost" | "CardDeclinedPossibleStolen" | "CardDeclinedLostOrStolen" | "CardDeclinedPickUpCard" | "CardDeclinedInsufficientFunds" | "CardDeclinedNoAccount" | "CardDeclinedContactIssuingBank" | "CardDeclinedByDevice" | "CardPartialApproval" | "CardNotFound" | "CardDeclinedLost" | "CardDeclinedStolen" | "CardDeclinedWrongPin" | "CardDeclinedInvalid" | "CardDeclinedWithdrawLimit" | "CardDeclinedPossibleFraud" | "CardDeclinedWrongPinLimit" | "CardOk" | "CardDeclinedCantVerifyPin" | "SignatureDeclined" | "CardDeclinedPartialAuth" | "CardDeclinedSwipeOnly" | "CardDeclinedTrackInvalid" | "CardDeclinedSwipeError" | "CardDeclinedChipError" | "CardMismatch" | "PaymentMethodNotSupported" | "AmountInvalid" | "AmountLimitExceeded" | "InvalidCurrency" | "DuplicateTransaction" | "InvalidTransaction" | "TransactionNotAllowedCallIssuer" | "TransactionAbandoned" | "TransactionReenter" | "TransactionReversalDataDoesNotMatchIssuer" | "TransactionTimeOut" | "TransactionStopSingleRecurringPayment" | "TransactionStopRecurringPayment" | "TransactionStopAllRecurringPaymentsForThisCard" | "TransactionTerminalIdError" | "TransactionAborted" | "TransactionUnsupported" | "TransactionAlreadyVoided" | "TransactionInvalidTaxExceedAmount" | "TransactionNotFound" | "TransactionDataMismatch" | "TransactionResponseDataMissing" | "TransactionAlreadyRefunded" | "TransactionAlreadyCaptured" | "TransactionRejected" | "TransactionDisputed" | "TransactionAlreadyInProgress" | "TransactionCaptureFailed" | "TransactionVoidFailed" | "TransactionAuthorizationFailed" | "TransactionSavePaymentFailed" | "TransactionListRetrievalFailed" | "TemporaryErrorPleaseTryAgain" | "TemporaryErrorDoNotTryAgain" | "UnknownMerchantError" | "UnsupportedDataFormatError" | "InvalidRequestToGateway" | "GatewayOperationError" | "CustomerDataCouldNotBeFound" | "MerchantClosed" | "SecViolation" | "DateError" | "CheckDigitError" | "CIDFormatError" | "MerchantTransactionLimitExceeded" | "InvalidGatewayConfigurationCredentials" | "TerminalRemoveCardFirst" | "TerminalUnsupportedEDC" | "TerminalBatchFailed" | "TerminalConnectionError" | "TerminalReceiveMessageError" | "TerminalCommunicationError" | "TerminalVariableError" | "TerminalPINPadError" | "TerminalUnknownError" | "TerminalNoHostApp" | "TerminalSettlementRequested" | "TerminalPartialBatchClosed" | "TerminalPrinterNotSupported" | "TerminalPrinterDisabled" | "TerminalPrinterOutOfPaper" | "TerminalInternalError" | "TerminalSendMessageError" | "TerminalUnsupportedCommand" | "TerminalTypeInvalid" | "TerminalInvalid" | "TerminalUpdatePending" | "AccountError" | "AccountOnHold" | "AccountRoutingError" | "AccountNumberInvalid" | undefined; }; submissionResult: FormSubmissionResult; }>; } export default CPPayPaymentProvider;