export declare namespace Master { enum Actions { LoadPlugin = 'loadPlugin', RegisterMaster = 'registerMaster', RegisterComponent = 'registerComponent', TokenizeCardData = 'tokenizeCardData', TokenizeBankData = 'tokenizeBankData', RelayEvent = 'relayEvent', Broadcast = 'broadcast', CaptureException = 'captureException', CaptureKVL = 'captureKVL', SetBusinessEntity = 'setBusinessEntity', /** Field related actions */ RegisterField = 'registerField', Update = 'update', Focus = 'focus', Blur = 'blur', Clear = 'clear', Destroy = 'destroy', Validate = 'validate', KeyPress = 'keyPress', WhitelistFonts = 'whitelistFonts', UpdateStyles = 'updateStyles', UpdatePlaceholder = 'updatePlaceholder', UpdateAriaLabel = 'updateAriaLabel', UpdateIcon = 'updateIcon', UpdateLocale = 'updateLocale', IDealFocus = 'iDealFocus', IDealBlur = 'iDealBlur', FocusIDealSelect = 'focusIDealSelect', IDealBankSelected = 'iDealBankSelected', RetrievePaymentIntent = 'retrievePaymentIntent', ConfirmPaymentIntent = 'confirmPaymentIntent', CancelPaymentIntent = 'cancelPaymentIntent', FetchGatewayCredential = 'fetchGatewayCredential', FetchGatewayToken = 'FetchGatewayToken', GenerateBraintreeClientToken = 'generateBraintreeClientToken', CreateBluesnapPfToken = 'createBluesnapPfToken', GenerateDeviceDataJWT = 'generateDeviceDataJWT', PollAdyen3DS1 = 'pollAdyen3DS1', PollCheckoutCom3DS = 'pollCheckoutCom3DS', PollCybersource3DS = 'pollCybersource3DS', SetAdyen3DS1VerificationResult = 'setAdyen3DS1VerificationResult', SetCheckoutCom3DSVerificationResult = 'setCheckoutCom3DSVerificationResult', SetCybersource3DSVerificationResult = 'setCybersource3DSVerificationResult', GenerateAdyenOriginKey = 'generateAdyenOriginKey', SetPaymentIntent3DSResult = 'setPaymentIntent3DSResult', PollPaymentIntent3DSResult = 'pollPaymentIntent3DSResult', StopPollPaymentIntent3DSResult = 'stopPollPaymentIntent3DSResult', SetupWorker = 'setupWorker', RetrieveBraintreePaymentMethodNonce = 'RetrieveBraintreePaymentMethodNonce', /** * iDeal Actions */ PollAdyenIDeal = 'pollAdyenIDeal', StopAdyenIDealPoll = 'stopAdyenIDealPoll', SetAdyenIDealVerificationResult = 'setAdyenIDealVerificationResult', GetIDealGatewayDetails = 'getIDealGatewayDetails', UpdateIDealBankList = 'updateIDealBankList', PollStripeIDeal = 'pollStripeIDeal', StopStripeIDealPoll = 'stopStripeIDealPoll', SetStripeIDealVerificationResult = 'setStripeIDealVerificationResult', /** * Sofort Actions */ PollAdyenSofort = 'pollAdyenSofort', StopAdyenSofortPoll = 'stopAdyenSofortPoll', SetAdyenSofortVerificationResult = 'setAdyenSofortVerificationResult', /** * Bancontact Actions */ PollAdyenBancontact = 'pollAdyenBancontact', StopAdyenBancontactPoll = 'stopAdyenBancontactPoll', SetAdyenBancontactVerificationResult = 'setAdyenBancontactVerificationResult', /** * Giropay Actions */ PollAdyenGiropay = 'pollAdyenGiropay', StopAdyenGiropayPoll = 'stopAdyenGiropayPoll', SetAdyenGiropayVerificationResult = 'setAdyenGiropayVerificationResult', /** * Dotpay Actions */ GetDotpayGatewayDetails = 'getDotpayGatewayDetails', PollAdyenDotpay = 'pollAdyenDotpay', StopAdyenDotpayPoll = 'stopAdyenDotpayPoll', SetAdyenDotpayVerificationResult = 'setAdyenDotpayVerificationResult', /** * FasterPayments Actions */ GetFasterPaymentsGatewayDetails = 'getFasterPaymentsGatewayDetails', /** * PayTo Actions */ GetPayToGatewayDetails = 'getPayToGatewayDetails', /** * SepaInstantTransfer Actions */ GetSepaInstantTransferGatewayDetails = 'getSepaInstantTransferGatewayDetails', LoadJsInfo = 'loadJsInfo', PortalLogout = 'portalLogout', SetHpData = 'setHpData', GetHpData = 'getHpData', GetBinData = 'getBinData', CreateSubscriptionEstimate = 'createSubscriptionEstimate', UpdateSubscriptionEstimate = 'updateSubscriptionEstimate', RenewSubscriptionEstimate = 'renewSubscriptionEstimate', ValidateVat = 'validateVat', GetTranslations = 'getTranslations', FetchPlaidLinkToken = 'fetchPlaidLinkToken', FetchGWPaymentMethodConfig = 'FetchGWPaymentMethodConfig', ValidateApplePaySession = 'ValidateApplePaySession', selectTestCard = 'selectTestCard', InitializeCaptcha = 'InitializeCaptcha', GenerateCaptchaToken = 'GenerateCaptchaToken', FetchAmazonPayButtonSignature = 'FetchAmazonPayButtonSignature', } } export declare namespace Child { enum Actions { LoadComponent = 'loadComponent', FetchData = 'fetchData', ReceiveStatusBroadcast = 'receiveStatus', Update = 'update', Focus = 'focus', Blur = 'blur', Clear = 'clear', Destroy = 'destroy', Validate = 'validate', UpdateFonts = 'updateFonts', UpdateStyles = 'updateStyles', UpdatePlaceholder = 'updatePlaceholder', UpdateAriaLabel = 'updateAriaLabel', UpdateIcon = 'updateIcon', UpdateLocale = 'updateLocale', IDealFocus = 'iDealFocus', IDealBlur = 'iDealBlur', UpdateIDealBankList = 'updateIDealBankList', IDealBankSelected = 'iDealBankSelected', selectTestCard = 'selectTestCard', sendConfigData = 'sendConfigData', } } export declare namespace Host { enum Actions { TriggerEvent = 'triggerEvent', ReceiveStatusBroadcast = 'receiveStatus', SetPaymentIntent3DSResult = 'setPaymentIntent3DSResult', SetAdyen3DS1VerificationResult = 'setAdyen3DS1VerificationResult', SetCheckoutCom3DSVerificationResult = 'setCheckoutCom3DSVerificationResult', SetAdyenIDealVerificationResult = 'setAdyenIDealVerificationResult', SetStripeIDealVerificationResult = 'setStripeIDealVerificationResult', SetAdyenSofortVerificationResult = 'setAdyenSofortVerificationResult', SetAdyenBancontactVerificationResult = 'setAdyenBancontactVerificationResult', SetAdyenGiropayVerificationResult = 'setAdyenGiropayVerificationResult', SetAdyenDotpayVerificationResult = 'setAdyenDotpayVerificationResult', SetFrameLoaded = 'setFrameLoaded', CaptureKVL = 'captureKVL', CaptureException = 'captureException', ShowFrame = 'showFrame', HideFrame = 'hideFrame', SetCustomerHandle = 'setCustomerHandle', SetAuthToken = 'setAuthToken', SetPreviewPortalEmail = 'setPreviewPortalEmail', GetPreviewPortalEmail = 'getPreviewPortalEmail', setTestCards = 'setTestCards', } } export declare enum WindowType { Master = 0, Component = 1, Host = 2, } export declare enum MessageHandler { Client = 'client', Receiver = 'Receiver', } export declare enum CardIconPosition { START = 'start', END = 'end', } export declare enum Field { Number = 'cardnumber', Expiry = 'exp-date', CVV = 'cvc', PREFERRED_NETWORK = 'preferred-network', IDealBankList = 'ideal-bank-list', IDealBankSelect = 'ideal-bank-select', ACCOUNT_NUMBER = 'accountNumber', ROUTING_NUMBER = 'routingNumber', NAME_ON_ACCOUNT = 'nameOnAccount', ACCOUNT_TYPE = 'accountType', FIRST_NAME = 'firstName', LAST_NAME = 'lastName', BILLING_ADDR1 = 'billingAddr1', BILLING_ADDR2 = 'billingAddr2', BILLING_CITY = 'billingCity', BILLING_STATE = 'billingState', BILLING_STATE_CODE = 'billingStateCode', BILLING_ZIP = 'billingZip', BILLING_COUNTRY = 'billingCountry', BILLING_PHONE = 'phone', BILLING_ADDRESS_LINE1 = 'addressLine1', BILLING_ADDRESS_LINE2 = 'addressLine2', BILLING_ADDRESS_LINE3 = 'addressLine3', BILLING_CITY2 = 'city', BILLING_STATE2 = 'state', BILLING_STATECODE = 'stateCode', BILLING_COUNTRYCODE = 'countryCode', BILLING_ZIPCODE = 'zip', DOCUMENT_ID = 'document_id', NAME = 'name', EMAIL = 'email', } export declare enum Entity { field = 'field', component = 'component', } export declare namespace Card { enum ComponentFieldType { Combined = 'combined', Number = 'number', CVV = 'cvv', Expiry = 'expiry', } } export declare namespace IDeal { enum ComponentFieldType { BankSelect = 'bank-select', BankList = 'bank-list', } } export declare namespace Bank { enum ComponentFieldType {} } export declare enum ComponentMountStatus { Created = 0, Mounting = 1, Mounted = 2, } export declare enum Events { blur = 'blur', focus = 'focus', error = 'error', change = 'change', ready = 'ready', setTranslations = 'setTranslations', setTestCards = 'setTestCards', keyPress = 'keyPress', } export declare enum EventKeys { escape = 'Escape', } export declare enum FieldState { focus = 'CbHosted--focus', complete = 'CbHosted--complete', invalid = 'CbHosted--invalid', empty = 'CbHosted--empty', valid = 'CbHosted--valid', } export declare namespace HostedFields { enum CSSClass { focus = 'focus', empty = 'empty', invalid = 'invalid', complete = 'complete', } enum InternalCSSClass { focus = 'is-focused', empty = 'is-empty', invalid = 'is-invalid', complete = 'is-complete', valid = 'is-valid', } enum Options { currency = 'currency', classes = 'classes', style = 'style', fonts = 'fonts', locale = 'locale', placeholder = 'placeholder', field = 'field', icon = 'icon', ariaLabel = 'ariaLabel', } enum StyleSections { base = 'base', invalid = 'invalid', empty = 'empty', } enum CustomCSSProperty { iconColor = 'iconColor', } enum StdCSSProperty { color = 'color', background = 'background', backgroundColor = 'backgroundColor', letterSpacing = 'letterSpacing', textAlign = 'textAlign', textTransform = 'textTransform', textDecoration = 'textDecoration', textShadow = 'textShadow', lineHeight = 'lineHeight', webkitTextColor = 'webkitTextColor', } enum FontProperty { src = 'src', fontFamily = 'fontFamily', fontSize = 'fontSize', fontSmoothing = 'fontSmoothing', fontStyle = 'fontStyle', fontWeight = 'fontWeight', fontVariant = 'fontVariant', } enum PseudoCSSProperty { hover = ':hover', focus = ':focus', disabled = ':disabled', placeholder = '::placeholder', selection = '::selection', autofill = ':-webkit-autofill', focusPlaceholder = ':focus::placeholder', } enum Placeholder { number = 'number', expiry = 'expiry', cvv = 'cvv', } enum FieldOption { required = 'required', show = 'show', } enum Field { cvv = 'cvv', } enum AriaLabel { number = 'number', expiry = 'expiry', cvv = 'cvv', } } export declare enum Locale { en = 'en', fr = 'fr', es = 'es', pt = 'pt', it = 'it', de = 'de', } export declare enum Currency {} export declare namespace Razorpay { type Error = { status?: string; errorCode?: string; message?: string; errorType?: string; }; }