@adyen/adyen-web 5.2.2 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adyen.css +7 -7
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +7 -7
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +7 -7
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/ar.js +1 -1
- package/dist/es/cs-CZ.js +1 -1
- package/dist/es/da-DK.js +1 -1
- package/dist/es/de-DE.js +1 -1
- package/dist/es/el-GR.js +1 -1
- package/dist/es/es-ES.js +1 -1
- package/dist/es/fi-FI.js +1 -1
- package/dist/es/fr-FR.js +1 -1
- package/dist/es/hr-HR.js +1 -1
- package/dist/es/hu-HU.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/it-IT.js +1 -1
- package/dist/es/ja-JP.js +1 -1
- package/dist/es/ko-KR.js +1 -1
- package/dist/es/nl-NL.js +1 -1
- package/dist/es/no-NO.js +1 -1
- package/dist/es/pl-PL.js +1 -1
- package/dist/es/pt-BR.js +1 -1
- package/dist/es/ro-RO.js +1 -1
- package/dist/es/ru-RU.js +1 -1
- package/dist/es/sk-SK.js +1 -1
- package/dist/es/sl-SI.js +1 -1
- package/dist/es/sv-SE.js +1 -1
- package/dist/es/zh-CN.js +1 -1
- package/dist/es/zh-TW.js +1 -1
- package/dist/es.modern/adyen.css +54 -0
- package/dist/es.modern/adyen.css.map +1 -0
- package/dist/es.modern/ar.js +1 -0
- package/dist/es.modern/cs-CZ.js +1 -0
- package/dist/es.modern/da-DK.js +1 -0
- package/dist/es.modern/de-DE.js +1 -0
- package/dist/es.modern/el-GR.js +1 -0
- package/dist/es.modern/es-ES.js +1 -0
- package/dist/es.modern/fi-FI.js +1 -0
- package/dist/es.modern/fr-FR.js +1 -0
- package/dist/es.modern/hr-HR.js +1 -0
- package/dist/es.modern/hu-HU.js +1 -0
- package/dist/es.modern/index.js +1 -0
- package/dist/es.modern/it-IT.js +1 -0
- package/dist/es.modern/ja-JP.js +1 -0
- package/dist/es.modern/ko-KR.js +1 -0
- package/dist/es.modern/nl-NL.js +1 -0
- package/dist/es.modern/no-NO.js +1 -0
- package/dist/es.modern/pl-PL.js +1 -0
- package/dist/es.modern/pt-BR.js +1 -0
- package/dist/es.modern/ro-RO.js +1 -0
- package/dist/es.modern/ru-RU.js +1 -0
- package/dist/es.modern/sk-SK.js +1 -0
- package/dist/es.modern/sl-SI.js +1 -0
- package/dist/es.modern/sv-SE.js +1 -0
- package/dist/es.modern/zh-CN.js +1 -0
- package/dist/es.modern/zh-TW.js +1 -0
- package/dist/types/components/Ach/Ach.d.ts +19 -19
- package/dist/types/components/Ach/components/AchInput/AchInput.d.ts +31 -31
- package/dist/types/components/Ach/components/AchInput/components/AchSFInput.d.ts +14 -14
- package/dist/types/components/Ach/components/AchInput/components/AchSecuredFields.d.ts +8 -8
- package/dist/types/components/Ach/components/AchInput/defaultProps.d.ts +26 -26
- package/dist/types/components/Ach/components/AchInput/defaultStyles.d.ts +6 -6
- package/dist/types/components/Ach/components/AchInput/index.d.ts +1 -1
- package/dist/types/components/Ach/components/AchInput/types.d.ts +12 -12
- package/dist/types/components/Ach/index.d.ts +1 -1
- package/dist/types/components/Address/Address.d.ts +8 -8
- package/dist/types/components/Address/index.d.ts +1 -1
- package/dist/types/components/Affirm/Affirm.d.ts +5 -5
- package/dist/types/components/Affirm/config.d.ts +1 -1
- package/dist/types/components/Affirm/index.d.ts +1 -1
- package/dist/types/components/AfterPay/AfterPay.d.ts +5 -5
- package/dist/types/components/AfterPay/AfterPayB2B.d.ts +20 -20
- package/dist/types/components/AfterPay/components/ConsentCheckboxLabel/ConsentCheckboxLabel.d.ts +6 -6
- package/dist/types/components/AfterPay/components/ConsentCheckboxLabel/index.d.ts +1 -1
- package/dist/types/components/AfterPay/config.d.ts +6 -6
- package/dist/types/components/AfterPay/index.d.ts +3 -3
- package/dist/types/components/AfterPay/utils.d.ts +2 -2
- package/dist/types/components/AmazonPay/AmazonPay.d.ts +35 -35
- package/dist/types/components/AmazonPay/components/AmazonPayButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/AmazonPayComponent.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/ChangePaymentDetailsButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/OrderButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/components/SignOutButton.d.ts +3 -3
- package/dist/types/components/AmazonPay/config.d.ts +12 -12
- package/dist/types/components/AmazonPay/defaultProps.d.ts +17 -17
- package/dist/types/components/AmazonPay/index.d.ts +1 -1
- package/dist/types/components/AmazonPay/services.d.ts +25 -25
- package/dist/types/components/AmazonPay/types.d.ts +211 -211
- package/dist/types/components/AmazonPay/utils.d.ts +52 -52
- package/dist/types/components/ApplePay/ApplePay.d.ts +68 -68
- package/dist/types/components/ApplePay/ApplePayService.d.ts +69 -69
- package/dist/types/components/ApplePay/components/ApplePayButton.d.ts +22 -22
- package/dist/types/components/ApplePay/config.d.ts +1 -1
- package/dist/types/components/ApplePay/defaultProps.d.ts +67 -67
- package/dist/types/components/ApplePay/index.d.ts +1 -1
- package/dist/types/components/ApplePay/payment-request.d.ts +8 -8
- package/dist/types/components/ApplePay/types.d.ts +127 -123
- package/dist/types/components/ApplePay/utils.d.ts +2 -2
- package/dist/types/components/BacsDD/BacsDD.d.ts +19 -19
- package/dist/types/components/BacsDD/components/BacsInput.d.ts +11 -11
- package/dist/types/components/BacsDD/components/BacsResult.d.ts +5 -5
- package/dist/types/components/BacsDD/components/types.d.ts +27 -27
- package/dist/types/components/BacsDD/components/validate.d.ts +6 -6
- package/dist/types/components/BacsDD/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/BankTransfer.d.ts +24 -24
- package/dist/types/components/BankTransfer/components/BankTransferInput/BankTransferInput.d.ts +4 -4
- package/dist/types/components/BankTransfer/components/BankTransferInput/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/components/BankTransferResult/BankTransferResult.d.ts +2 -2
- package/dist/types/components/BankTransfer/components/BankTransferResult/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/index.d.ts +1 -1
- package/dist/types/components/BankTransfer/types.d.ts +15 -15
- package/dist/types/components/BaseElement.d.ts +57 -56
- package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +48 -47
- package/dist/types/components/BcmcMobile/config.d.ts +7 -7
- package/dist/types/components/BcmcMobile/index.d.ts +1 -1
- package/dist/types/components/BillDesk/BillDeskOnline.d.ts +6 -6
- package/dist/types/components/BillDesk/BillDeskWallet.d.ts +6 -6
- package/dist/types/components/BillDesk/index.d.ts +3 -3
- package/dist/types/components/Blik/Blik.d.ts +15 -15
- package/dist/types/components/Blik/components/BlikInput.d.ts +18 -18
- package/dist/types/components/Blik/config.d.ts +15 -15
- package/dist/types/components/Blik/index.d.ts +1 -1
- package/dist/types/components/Boleto/Boleto.d.ts +24 -24
- package/dist/types/components/Boleto/components/BoletoInput/BoletoInput.d.ts +11 -11
- package/dist/types/components/Boleto/components/BoletoInput/index.d.ts +1 -1
- package/dist/types/components/Boleto/components/BoletoInput/utils.d.ts +3 -3
- package/dist/types/components/Boleto/components/BoletoInput/validate.d.ts +2 -2
- package/dist/types/components/Boleto/components/BoletoVoucherResult/BoletoVoucherResult.d.ts +4 -4
- package/dist/types/components/Boleto/components/BoletoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Boleto/index.d.ts +1 -1
- package/dist/types/components/Boleto/types.d.ts +28 -28
- package/dist/types/components/Card/Bancontact.d.ts +77 -76
- package/dist/types/components/Card/Card.d.ts +92 -91
- package/dist/types/components/Card/components/CardInput/CardInput.d.ts +42 -42
- package/dist/types/components/Card/components/CardInput/components/BrandIcon.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CVC.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CVCHint.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardFields.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardHolderName.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/CardNumber.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/DataSfSpan.d.ts +7 -7
- package/dist/types/components/Card/components/CardInput/components/DualBrandingIcon/DualBrandingIcon.d.ts +5 -5
- package/dist/types/components/Card/components/CardInput/components/ExpirationDate.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/Installments/Installments.d.ts +14 -14
- package/dist/types/components/Card/components/CardInput/components/Installments/index.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/components/KCPAuthentication.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/StoredCardFields.d.ts +3 -3
- package/dist/types/components/Card/components/CardInput/components/types.d.ts +138 -138
- package/dist/types/components/Card/components/CardInput/defaultProps.d.ts +37 -37
- package/dist/types/components/Card/components/CardInput/defaultStyles.d.ts +6 -6
- package/dist/types/components/Card/components/CardInput/index.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/types.d.ts +91 -91
- package/dist/types/components/Card/components/CardInput/utils.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/validate.d.ts +7 -7
- package/dist/types/components/Card/index.d.ts +1 -1
- package/dist/types/components/Card/types.d.ts +139 -139
- package/dist/types/components/Doku/Doku.d.ts +13 -13
- package/dist/types/components/Doku/components/DokuInput/DokuInput.d.ts +2 -2
- package/dist/types/components/Doku/components/DokuInput/index.d.ts +1 -1
- package/dist/types/components/Doku/components/DokuVoucherResult/DokuVoucherResult.d.ts +4 -4
- package/dist/types/components/Doku/components/DokuVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Doku/index.d.ts +1 -1
- package/dist/types/components/Doku/types.d.ts +18 -18
- package/dist/types/components/Donation/Donation.d.ts +26 -26
- package/dist/types/components/Donation/components/CampaignContainer.d.ts +2 -2
- package/dist/types/components/Donation/components/CampaignContent.d.ts +8 -8
- package/dist/types/components/Donation/components/DonationComponent.d.ts +13 -13
- package/dist/types/components/Donation/index.d.ts +1 -1
- package/dist/types/components/Dotpay/index.d.ts +5 -5
- package/dist/types/components/Dragonpay/Dragonpay.d.ts +57 -56
- package/dist/types/components/Dragonpay/components/DragonpayInput/DragonpayInput.d.ts +11 -11
- package/dist/types/components/Dragonpay/components/DragonpayInput/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/components/DragonpayVoucherResult/DragonpayVoucherResult.d.ts +3 -3
- package/dist/types/components/Dragonpay/components/DragonpayVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/index.d.ts +1 -1
- package/dist/types/components/Dragonpay/types.d.ts +44 -44
- package/dist/types/components/Dropin/Dropin.d.ts +94 -45
- package/dist/types/components/Dropin/components/DropinComponent.d.ts +22 -21
- package/dist/types/components/Dropin/components/PaymentMethod/DisableOneClickConfirmation.d.ts +9 -9
- package/dist/types/components/Dropin/components/PaymentMethod/InstantPaymentMethods.d.ts +7 -0
- package/dist/types/components/Dropin/components/PaymentMethod/OrderPaymentMethods.d.ts +8 -8
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodDetails.d.ts +6 -6
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodIcon.d.ts +12 -12
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodItem.d.ts +49 -49
- package/dist/types/components/Dropin/components/PaymentMethod/PaymentMethodList.d.ts +32 -30
- package/dist/types/components/Dropin/components/PaymentMethod/Surcharge.d.ts +8 -8
- package/dist/types/components/Dropin/components/status/Error.d.ts +5 -5
- package/dist/types/components/Dropin/components/status/Success.d.ts +5 -5
- package/dist/types/components/Dropin/components/status/index.d.ts +10 -10
- package/dist/types/components/Dropin/components/utils.d.ts +7 -7
- package/dist/types/components/Dropin/defaultProps.d.ts +21 -20
- package/dist/types/components/Dropin/elements/createElements.d.ts +9 -9
- package/dist/types/components/Dropin/elements/createInstantPaymentElements.d.ts +10 -0
- package/dist/types/components/Dropin/elements/createStoredElements.d.ts +9 -9
- package/dist/types/components/Dropin/elements/filters.d.ts +4 -4
- package/dist/types/components/Dropin/elements/index.d.ts +2 -2
- package/dist/types/components/Dropin/index.d.ts +1 -1
- package/dist/types/components/Dropin/types.d.ts +67 -58
- package/dist/types/components/EPS/index.d.ts +6 -6
- package/dist/types/components/Econtext/Econtext.d.ts +23 -23
- package/dist/types/components/Econtext/components/EcontextInput/EcontextInput.d.ts +14 -14
- package/dist/types/components/Econtext/components/EcontextInput/index.d.ts +1 -1
- package/dist/types/components/Econtext/components/EcontextVoucherResult/EcontextVoucherResult.d.ts +4 -4
- package/dist/types/components/Econtext/components/EcontextVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Econtext/index.d.ts +1 -1
- package/dist/types/components/Econtext/types.d.ts +17 -17
- package/dist/types/components/Econtext/validate.d.ts +2 -2
- package/dist/types/components/Entercash/index.d.ts +5 -5
- package/dist/types/components/EventEmitter.d.ts +7 -7
- package/dist/types/components/FacilyPay/FacilyPay10x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay12x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay3x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay4x.d.ts +5 -5
- package/dist/types/components/FacilyPay/FacilyPay6x.d.ts +5 -5
- package/dist/types/components/FacilyPay/config.d.ts +1 -1
- package/dist/types/components/FacilyPay/index.d.ts +6 -6
- package/dist/types/components/Giftcard/Giftcard.d.ts +29 -29
- package/dist/types/components/Giftcard/components/GiftcardComponent.d.ts +43 -43
- package/dist/types/components/Giftcard/components/GiftcardResult.d.ts +10 -10
- package/dist/types/components/Giftcard/index.d.ts +1 -1
- package/dist/types/components/Giftcard/validationRules.d.ts +7 -7
- package/dist/types/components/Giropay/Giropay.d.ts +17 -17
- package/dist/types/components/Giropay/index.d.ts +1 -1
- package/dist/types/components/GooglePay/GooglePay.d.ts +75 -75
- package/dist/types/components/GooglePay/GooglePayService.d.ts +25 -25
- package/dist/types/components/GooglePay/components/GooglePayButton.d.ts +24 -24
- package/dist/types/components/GooglePay/config.d.ts +7 -7
- package/dist/types/components/GooglePay/defaultProps.d.ts +35 -35
- package/dist/types/components/GooglePay/index.d.ts +1 -1
- package/dist/types/components/GooglePay/requests.d.ts +21 -21
- package/dist/types/components/GooglePay/types.d.ts +112 -112
- package/dist/types/components/GooglePay/utils.d.ts +7 -7
- package/dist/types/components/Ideal/index.d.ts +5 -5
- package/dist/types/components/Klarna/KlarnaPayments.d.ts +22 -22
- package/dist/types/components/Klarna/components/KlarnaContainer/KlarnaContainer.d.ts +1 -1
- package/dist/types/components/Klarna/components/KlarnaWidget/KlarnaWidget.d.ts +4 -4
- package/dist/types/components/Klarna/constants.d.ts +1 -1
- package/dist/types/components/Klarna/index.d.ts +1 -1
- package/dist/types/components/Klarna/types.d.ts +40 -40
- package/dist/types/components/MBWay/MBWay.d.ts +14 -14
- package/dist/types/components/MBWay/components/MBWayAwait/config.d.ts +15 -15
- package/dist/types/components/MBWay/components/MBWayInput/MBWayInput.d.ts +10 -10
- package/dist/types/components/MBWay/components/MBWayInput/index.d.ts +1 -1
- package/dist/types/components/MBWay/components/MBWayInput/types.d.ts +17 -17
- package/dist/types/components/MBWay/index.d.ts +1 -1
- package/dist/types/components/MolPayEBanking/MolPayEBankingMY.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/MolPayEBankingTH.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/MolPayEBankingVN.d.ts +5 -5
- package/dist/types/components/MolPayEBanking/index.d.ts +4 -4
- package/dist/types/components/Multibanco/Multibanco.d.ts +21 -21
- package/dist/types/components/Multibanco/components/MultibancoVoucherResult/MultibancoVoucherResult.d.ts +4 -4
- package/dist/types/components/Multibanco/components/MultibancoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Multibanco/index.d.ts +1 -1
- package/dist/types/components/Multibanco/types.d.ts +11 -11
- package/dist/types/components/OpenBankingUK/index.d.ts +5 -5
- package/dist/types/components/Oxxo/Oxxo.d.ts +18 -18
- package/dist/types/components/Oxxo/components/OxxoVoucherResult/OxxoVoucherResult.d.ts +5 -5
- package/dist/types/components/Oxxo/components/OxxoVoucherResult/index.d.ts +1 -1
- package/dist/types/components/Oxxo/index.d.ts +1 -1
- package/dist/types/components/Oxxo/types.d.ts +11 -11
- package/dist/types/components/PayPal/Paypal.d.ts +42 -41
- package/dist/types/components/PayPal/components/PaypalButtons.d.ts +3 -3
- package/dist/types/components/PayPal/components/PaypalComponent.d.ts +3 -3
- package/dist/types/components/PayPal/config.d.ts +7 -7
- package/dist/types/components/PayPal/constants.d.ts +7 -7
- package/dist/types/components/PayPal/defaultProps.d.ts +3 -3
- package/dist/types/components/PayPal/index.d.ts +1 -1
- package/dist/types/components/PayPal/types.d.ts +155 -150
- package/dist/types/components/PayPal/utils.d.ts +15 -15
- package/dist/types/components/PayU/PayuCashcard.d.ts +6 -6
- package/dist/types/components/PayU/PayuNetBanking.d.ts +6 -6
- package/dist/types/components/PayU/index.d.ts +3 -3
- package/dist/types/components/PersonalDetails/PersonalDetails.d.ts +8 -8
- package/dist/types/components/PersonalDetails/index.d.ts +1 -1
- package/dist/types/components/Pix/Pix.d.ts +73 -72
- package/dist/types/components/Pix/PixInput/PixInput.d.ts +9 -9
- package/dist/types/components/Pix/PixInput/index.d.ts +1 -1
- package/dist/types/components/Pix/PixInput/utils.d.ts +3 -3
- package/dist/types/components/Pix/PixInput/validate.d.ts +2 -2
- package/dist/types/components/Pix/index.d.ts +1 -1
- package/dist/types/components/Pix/types.d.ts +19 -19
- package/dist/types/components/QiwiWallet/QiwiWallet.d.ts +25 -25
- package/dist/types/components/QiwiWallet/countries.d.ts +6 -6
- package/dist/types/components/QiwiWallet/index.d.ts +1 -1
- package/dist/types/components/QiwiWallet/utils.d.ts +12 -12
- package/dist/types/components/RatePay/RatePay.d.ts +5 -5
- package/dist/types/components/RatePay/config.d.ts +1 -1
- package/dist/types/components/RatePay/index.d.ts +1 -1
- package/dist/types/components/Redirect/Redirect.d.ts +28 -28
- package/dist/types/components/Redirect/components/RedirectShopper/RedirectShopper.d.ts +21 -21
- package/dist/types/components/Redirect/components/RedirectShopper/index.d.ts +1 -1
- package/dist/types/components/Redirect/index.d.ts +1 -1
- package/dist/types/components/SecuredFields/SecuredFields.d.ts +31 -31
- package/dist/types/components/SecuredFields/SecuredFieldsInput/SecuredFieldsInput.d.ts +14 -14
- package/dist/types/components/SecuredFields/SecuredFieldsInput/index.d.ts +1 -1
- package/dist/types/components/SecuredFields/index.d.ts +1 -1
- package/dist/types/components/Sepa/Sepa.d.ts +23 -23
- package/dist/types/components/Sepa/components/IbanInput/IbanInput.d.ts +43 -43
- package/dist/types/components/Sepa/components/IbanInput/index.d.ts +1 -1
- package/dist/types/components/Sepa/components/IbanInput/specifications.d.ts +1 -1
- package/dist/types/components/Sepa/components/IbanInput/utils.d.ts +13 -13
- package/dist/types/components/Sepa/components/IbanInput/validate.d.ts +15 -15
- package/dist/types/components/Sepa/index.d.ts +1 -1
- package/dist/types/components/Sepa/types.d.ts +7 -7
- package/dist/types/components/Swish/Swish.d.ts +48 -47
- package/dist/types/components/Swish/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/ThreeDS2Challenge.d.ts +24 -24
- package/dist/types/components/ThreeDS2/ThreeDS2DeviceFingerprint.d.ts +26 -26
- package/dist/types/components/ThreeDS2/callSubmit3DS2Fingerprint.d.ts +6 -6
- package/dist/types/components/ThreeDS2/components/Challenge/DoChallenge3DS2.d.ts +20 -20
- package/dist/types/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.d.ts +15 -15
- package/dist/types/components/ThreeDS2/components/Challenge/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/Challenge/types.d.ts +18 -18
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.d.ts +28 -28
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.d.ts +19 -19
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/types.d.ts +18 -18
- package/dist/types/components/ThreeDS2/components/Form/ThreeDS2Form.d.ts +20 -20
- package/dist/types/components/ThreeDS2/components/Form/index.d.ts +1 -1
- package/dist/types/components/ThreeDS2/components/utils.d.ts +94 -94
- package/dist/types/components/ThreeDS2/config.d.ts +31 -31
- package/dist/types/components/ThreeDS2/index.d.ts +3 -3
- package/dist/types/components/ThreeDS2/types.d.ts +43 -43
- package/dist/types/components/Twint/Twint.d.ts +23 -23
- package/dist/types/components/Twint/index.d.ts +1 -1
- package/dist/types/components/UIElement.d.ts +61 -61
- package/dist/types/components/Vipps/Vipps.d.ts +10 -10
- package/dist/types/components/Vipps/index.d.ts +1 -1
- package/dist/types/components/WeChat/WeChat.d.ts +48 -47
- package/dist/types/components/WeChat/config.d.ts +7 -7
- package/dist/types/components/WeChat/index.d.ts +1 -1
- package/dist/types/components/helpers/IssuerListContainer.d.ts +40 -40
- package/dist/types/components/helpers/OpenInvoiceContainer/OpenInvoiceContainer.d.ts +32 -32
- package/dist/types/components/helpers/OpenInvoiceContainer/index.d.ts +1 -1
- package/dist/types/components/helpers/QRLoaderContainer.d.ts +36 -36
- package/dist/types/components/index.d.ts +166 -166
- package/dist/types/components/internal/Address/Address.d.ts +14 -14
- package/dist/types/components/internal/Address/Specifications.d.ts +43 -43
- package/dist/types/components/internal/Address/components/CountryField.d.ts +3 -3
- package/dist/types/components/internal/Address/components/FieldContainer.d.ts +4 -4
- package/dist/types/components/internal/Address/components/ReadOnlyAddress.d.ts +4 -4
- package/dist/types/components/internal/Address/components/StateField.d.ts +3 -3
- package/dist/types/components/internal/Address/constants.d.ts +4 -4
- package/dist/types/components/internal/Address/index.d.ts +1 -1
- package/dist/types/components/internal/Address/types.d.ts +84 -84
- package/dist/types/components/internal/Address/validate.d.ts +2 -2
- package/dist/types/components/internal/Alert/Alert.d.ts +11 -11
- package/dist/types/components/internal/Alert/index.d.ts +1 -1
- package/dist/types/components/internal/Await/Await.d.ts +18 -18
- package/dist/types/components/internal/Await/index.d.ts +1 -1
- package/dist/types/components/internal/Await/types.d.ts +29 -29
- package/dist/types/components/internal/Button/Button.d.ts +29 -29
- package/dist/types/components/internal/Button/index.d.ts +1 -1
- package/dist/types/components/internal/Button/types.d.ts +19 -19
- package/dist/types/components/internal/ButtonGroup/ButtonGroup.d.ts +8 -8
- package/dist/types/components/internal/ButtonGroup/index.d.ts +1 -1
- package/dist/types/components/internal/CompanyDetails/CompanyDetails.d.ts +18 -18
- package/dist/types/components/internal/CompanyDetails/ReadOnlyCompanyDetails.d.ts +5 -5
- package/dist/types/components/internal/CompanyDetails/index.d.ts +1 -1
- package/dist/types/components/internal/CompanyDetails/types.d.ts +21 -21
- package/dist/types/components/internal/CompanyDetails/utils.d.ts +6 -6
- package/dist/types/components/internal/CompanyDetails/validate.d.ts +6 -6
- package/dist/types/components/internal/ContentSeparator/ContentSeparator.d.ts +7 -0
- package/dist/types/components/internal/{IssuerList/ContentSeparator → ContentSeparator}/index.d.ts +1 -1
- package/dist/types/components/internal/Countdown/index.d.ts +30 -30
- package/dist/types/components/internal/Countdown/utils.d.ts +31 -31
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +20 -20
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/ConsentCheckbox/ConsentCheckbox.d.ts +7 -7
- package/dist/types/components/internal/FormFields/ConsentCheckbox/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/Field.d.ts +32 -32
- package/dist/types/components/internal/FormFields/Field/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Field/types.d.ts +28 -28
- package/dist/types/components/internal/FormFields/Fieldset/Fieldset.d.ts +10 -10
- package/dist/types/components/internal/FormFields/Fieldset/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputBase.d.ts +9 -9
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +6 -6
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +21 -21
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +2 -2
- package/dist/types/components/internal/FormFields/InputText.d.ts +2 -2
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +11 -11
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +16 -16
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +15 -15
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/constants.d.ts +8 -8
- package/dist/types/components/internal/FormFields/Select/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +54 -54
- package/dist/types/components/internal/FormFields/index.d.ts +4 -4
- package/dist/types/components/internal/FormFields/utils.d.ts +2 -2
- package/dist/types/components/internal/IFrame/Iframe.d.ts +41 -41
- package/dist/types/components/internal/IFrame/index.d.ts +1 -1
- package/dist/types/components/internal/Icon/Icon.d.ts +7 -7
- package/dist/types/components/internal/Icon/index.d.ts +1 -1
- package/dist/types/components/internal/Img/Img.d.ts +4 -4
- package/dist/types/components/internal/Img/index.d.ts +1 -1
- package/dist/types/components/internal/Img/types.d.ts +16 -16
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButton.d.ts +11 -11
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/IssuerButtonGroup.d.ts +10 -10
- package/dist/types/components/internal/IssuerList/IssuerButtonGroup/index.d.ts +1 -1
- package/dist/types/components/internal/IssuerList/IssuerList.d.ts +10 -10
- package/dist/types/components/internal/IssuerList/index.d.ts +1 -1
- package/dist/types/components/internal/IssuerList/types.d.ts +16 -16
- package/dist/types/components/internal/LoadingWrapper/LoadingWrapper.d.ts +7 -7
- package/dist/types/components/internal/LoadingWrapper/index.d.ts +1 -1
- package/dist/types/components/internal/OpenInvoice/OpenInvoice.d.ts +4 -4
- package/dist/types/components/internal/OpenInvoice/index.d.ts +1 -1
- package/dist/types/components/internal/OpenInvoice/types.d.ts +57 -57
- package/dist/types/components/internal/OpenInvoice/utils.d.ts +4 -4
- package/dist/types/components/internal/PayButton/PayButton.d.ts +16 -16
- package/dist/types/components/internal/PayButton/index.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/PersonalDetails.d.ts +15 -15
- package/dist/types/components/internal/PersonalDetails/ReadOnlyPersonalDetails.d.ts +5 -5
- package/dist/types/components/internal/PersonalDetails/index.d.ts +1 -1
- package/dist/types/components/internal/PersonalDetails/types.d.ts +42 -42
- package/dist/types/components/internal/PersonalDetails/utils.d.ts +10 -10
- package/dist/types/components/internal/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +9 -9
- package/dist/types/components/internal/PhoneInput/index.d.ts +1 -1
- package/dist/types/components/internal/PhoneInput/types.d.ts +29 -29
- package/dist/types/components/internal/PhoneInput/validate.d.ts +5 -5
- package/dist/types/components/internal/QRLoader/QRLoader.d.ts +33 -33
- package/dist/types/components/internal/QRLoader/index.d.ts +1 -1
- package/dist/types/components/internal/QRLoader/types.d.ts +34 -34
- package/dist/types/components/internal/RedirectButton/RedirectButton.d.ts +9 -9
- package/dist/types/components/internal/RedirectButton/index.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/SecuredFieldsProvider.d.ts +93 -93
- package/dist/types/components/internal/SecuredFields/SecuredFieldsProviderHandlers.d.ts +48 -48
- package/dist/types/components/internal/SecuredFields/binLookup/createCardVariantSwitcher.d.ts +10 -10
- package/dist/types/components/internal/SecuredFields/binLookup/extensions.d.ts +15 -15
- package/dist/types/components/internal/SecuredFields/binLookup/sortBinLookupBrands.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/binLookup/triggerBinLookUp.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/defaultProps.d.ts +104 -104
- package/dist/types/components/internal/SecuredFields/lib/configuration/configureCallbacks.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +29 -29
- package/dist/types/components/internal/SecuredFields/lib/configuration/handleConfig.d.ts +7 -7
- package/dist/types/components/internal/SecuredFields/lib/core/AbstractCSF.d.ts +42 -42
- package/dist/types/components/internal/SecuredFields/lib/core/AbstractSecuredField.d.ts +97 -97
- package/dist/types/components/internal/SecuredFields/lib/core/CSF.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/SecuredField.d.ts +39 -39
- package/dist/types/components/internal/SecuredFields/lib/core/createSecuredFields.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/lib/core/destroySecuredFields.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/handleEncryption.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/handleValidation.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/initCSF.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/lib/core/utils/callbackUtils.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/utils/getCardGroupTypes.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/handleBinValue.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/handleBrandFromBinLookup.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/handleFocus.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/handleIframeConfigFeedback.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageToAllIframes.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageToIframe.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/postMessageValidation.d.ts +3 -3
- package/dist/types/components/internal/SecuredFields/lib/core/utils/iframes/setFocusOnFrame.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/init/processAriaConfig.d.ts +12 -12
- package/dist/types/components/internal/SecuredFields/lib/core/utils/init/processPlaceholders.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/isConfigured.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processAutoComplete.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processBrand.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/lib/core/utils/processErrors.d.ts +5 -5
- package/dist/types/components/internal/SecuredFields/lib/core/utils/registerAdditionalField.d.ts +9 -9
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/handleTab.d.ts +7 -7
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioACH.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioCreditCard.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioGiftCard.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/tabbing/tabScenarioKCP.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/core/utils/validateForm.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/index.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/types.d.ts +262 -262
- package/dist/types/components/internal/SecuredFields/lib/ui/domUtils.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/ui/encryptedElements.d.ts +2 -2
- package/dist/types/components/internal/SecuredFields/lib/utilities/cardType.d.ts +15 -15
- package/dist/types/components/internal/SecuredFields/lib/utilities/commonUtils.d.ts +39 -39
- package/dist/types/components/internal/SecuredFields/lib/utilities/createIframe.d.ts +6 -6
- package/dist/types/components/internal/SecuredFields/lib/utilities/dom.d.ts +6 -6
- package/dist/types/components/internal/SecuredFields/lib/utilities/logger.d.ts +17 -17
- package/dist/types/components/internal/SecuredFields/lib/utilities/userAgent.d.ts +8 -8
- package/dist/types/components/internal/SecuredFields/utils.d.ts +57 -57
- package/dist/types/components/internal/SendCopyToEmail/SendCopyToEmail.d.ts +2 -2
- package/dist/types/components/internal/SendCopyToEmail/index.d.ts +1 -1
- package/dist/types/components/internal/SocialSecurityNumberBrazil/BrazilPersonalDetail.d.ts +2 -2
- package/dist/types/components/internal/SocialSecurityNumberBrazil/SocialSecurityNumberBrazil.d.ts +8 -8
- package/dist/types/components/internal/SocialSecurityNumberBrazil/constants.d.ts +1 -1
- package/dist/types/components/internal/SocialSecurityNumberBrazil/utils.d.ts +4 -4
- package/dist/types/components/internal/SocialSecurityNumberBrazil/validate.d.ts +1 -1
- package/dist/types/components/internal/Spinner/Spinner.d.ts +18 -18
- package/dist/types/components/internal/Spinner/index.d.ts +1 -1
- package/dist/types/components/internal/StoreDetails/StoreDetails.d.ts +9 -9
- package/dist/types/components/internal/StoreDetails/index.d.ts +1 -1
- package/dist/types/components/internal/Voucher/Voucher.d.ts +4 -4
- package/dist/types/components/internal/Voucher/index.d.ts +1 -1
- package/dist/types/components/internal/Voucher/types.d.ts +34 -34
- package/dist/types/components/types.d.ts +49 -48
- package/dist/types/components/utils.d.ts +3 -3
- package/dist/types/core/Analytics/Analytics.d.ts +13 -13
- package/dist/types/core/Analytics/EventsQueue.d.ts +7 -7
- package/dist/types/core/Analytics/index.d.ts +1 -1
- package/dist/types/core/Analytics/types.d.ts +32 -32
- package/dist/types/core/CheckoutSession/CheckoutSession.d.ts +47 -47
- package/dist/types/core/CheckoutSession/index.d.ts +1 -1
- package/dist/types/core/CheckoutSession/utils.d.ts +2 -2
- package/dist/types/core/Context/CoreContext.d.ts +5 -5
- package/dist/types/core/Context/CoreProvider.d.ts +18 -18
- package/dist/types/core/Context/useCoreContext.d.ts +5 -5
- package/dist/types/core/Environment/Environment.d.ts +3 -3
- package/dist/types/core/Environment/index.d.ts +1 -1
- package/dist/types/core/Errors/AdyenCheckoutError.d.ts +14 -14
- package/dist/types/core/Errors/constants.d.ts +29 -29
- package/dist/types/core/Errors/utils.d.ts +15 -15
- package/dist/types/core/ProcessResponse/PaymentAction/PaymentAction.d.ts +3 -3
- package/dist/types/core/ProcessResponse/PaymentAction/actionTypes.d.ts +13 -13
- package/dist/types/core/ProcessResponse/PaymentAction/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/PaymentMethodsResponse.d.ts +9 -9
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/filters.d.ts +4 -4
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/types.d.ts +13 -13
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/utils.d.ts +10 -10
- package/dist/types/core/ProcessResponse/index.d.ts +1 -1
- package/dist/types/core/ProcessResponse/process-response.d.ts +8 -8
- package/dist/types/core/RiskModule/RiskModule.d.ts +35 -35
- package/dist/types/core/RiskModule/components/DeviceFingerprint/DeviceFingerprint.d.ts +16 -16
- package/dist/types/core/RiskModule/components/DeviceFingerprint/GetDeviceFingerprint.d.ts +14 -14
- package/dist/types/core/RiskModule/components/DeviceFingerprint/index.d.ts +1 -1
- package/dist/types/core/RiskModule/components/DeviceFingerprint/types.d.ts +15 -15
- package/dist/types/core/RiskModule/components/DeviceFingerprint/utils.d.ts +6 -6
- package/dist/types/core/RiskModule/constants.d.ts +31 -31
- package/dist/types/core/RiskModule/index.d.ts +1 -1
- package/dist/types/core/Services/analytics/collect-id.d.ts +11 -11
- package/dist/types/core/Services/analytics/log-event.d.ts +7 -7
- package/dist/types/core/Services/analytics/post-telemetry.d.ts +6 -6
- package/dist/types/core/Services/fetch.d.ts +2 -2
- package/dist/types/core/Services/get-dataset.d.ts +1 -1
- package/dist/types/core/Services/http.d.ts +14 -14
- package/dist/types/core/Services/order-status.d.ts +5 -5
- package/dist/types/core/Services/payment-status.d.ts +8 -8
- package/dist/types/core/Services/sessions/check-balance.d.ts +6 -6
- package/dist/types/core/Services/sessions/constants.d.ts +1 -1
- package/dist/types/core/Services/sessions/create-order.d.ts +6 -6
- package/dist/types/core/Services/sessions/make-payment.d.ts +6 -6
- package/dist/types/core/Services/sessions/setup-session.d.ts +6 -6
- package/dist/types/core/Services/sessions/submit-details.d.ts +6 -6
- package/dist/types/core/config.d.ts +10 -10
- package/dist/types/core/core.d.ts +58 -58
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/core/types.d.ts +60 -60
- package/dist/types/core/utils.d.ts +6 -6
- package/dist/types/index.d.ts +3 -4
- package/dist/types/language/Language.d.ts +30 -30
- package/dist/types/language/config.d.ts +221 -215
- package/dist/types/language/index.d.ts +1 -1
- package/dist/types/language/locales/index.d.ts +10735 -10435
- package/dist/types/language/types.d.ts +7 -7
- package/dist/types/language/utils.d.ts +38 -38
- package/dist/types/types/index.d.ts +214 -210
- package/dist/types/utils/Script.d.ts +24 -24
- package/dist/types/utils/Storage.d.ts +10 -10
- package/dist/types/utils/Validator/Validator.d.ts +59 -59
- package/dist/types/utils/Validator/defaultRules.d.ts +10 -10
- package/dist/types/utils/Validator/index.d.ts +1 -1
- package/dist/types/utils/amount-util.d.ts +1 -1
- package/dist/types/utils/base64.d.ts +1 -1
- package/dist/types/utils/browserInfo.d.ts +13 -13
- package/dist/types/utils/clipboard.d.ts +2 -2
- package/dist/types/utils/constants/currency-codes.d.ts +170 -170
- package/dist/types/utils/constants/currency-decimals.d.ts +28 -28
- package/dist/types/utils/get-image.d.ts +13 -13
- package/dist/types/utils/get-issuer-image.d.ts +2 -2
- package/dist/types/utils/get-process-message-handler.d.ts +11 -11
- package/dist/types/utils/getOrigin.d.ts +11 -11
- package/dist/types/utils/getProp.d.ts +14 -14
- package/dist/types/utils/hasOwnProperty.d.ts +1 -1
- package/dist/types/utils/idGenerator.d.ts +1 -1
- package/dist/types/utils/promiseTimeout.d.ts +12 -12
- package/dist/types/utils/regex.d.ts +8 -8
- package/dist/types/utils/useForm/index.d.ts +1 -1
- package/dist/types/utils/useForm/reducer.d.ts +14 -14
- package/dist/types/utils/useForm/types.d.ts +14 -14
- package/dist/types/utils/useForm/useForm.d.ts +23 -23
- package/dist/types/utils/uuid.d.ts +1 -1
- package/dist/types/utils/wait.d.ts +2 -2
- package/package.json +21 -6
- package/dist/types/components/internal/IssuerList/ContentSeparator/ContentSeparator.d.ts +0 -4
- package/dist/types/polyfills.d.ts +0 -6
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export declare const RISK_DATA_VERSION = "1.0.0";
|
|
2
|
-
export declare const DF_VERSION = "1.0.0";
|
|
3
|
-
export declare const DEVICE_FINGERPRINT = "deviceFingerprint";
|
|
4
|
-
export declare const DF_TIMEOUT = 20000;
|
|
5
|
-
export declare const FAILED_DFP_RESOLVE_OBJECT_TIMEOUT: {
|
|
6
|
-
result: {
|
|
7
|
-
type: string;
|
|
8
|
-
value: string;
|
|
9
|
-
};
|
|
10
|
-
errorCode: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const FAILED_DFP_RESOLVE_OBJECT: {
|
|
13
|
-
result: {
|
|
14
|
-
type: string;
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const ERRORS: {
|
|
19
|
-
TIME_OUT: string;
|
|
20
|
-
WRONG_ORIGIN: string;
|
|
21
|
-
WRONG_DATA_TYPE: string;
|
|
22
|
-
MISSING_PROPERTY: string;
|
|
23
|
-
UNKNOWN: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const ERROR_MESSAGES: {
|
|
26
|
-
timeout: string;
|
|
27
|
-
wrongOrigin: string;
|
|
28
|
-
wrongDataType: string;
|
|
29
|
-
missingProperty: string;
|
|
30
|
-
unknownError: string;
|
|
31
|
-
};
|
|
1
|
+
export declare const RISK_DATA_VERSION = "1.0.0";
|
|
2
|
+
export declare const DF_VERSION = "1.0.0";
|
|
3
|
+
export declare const DEVICE_FINGERPRINT = "deviceFingerprint";
|
|
4
|
+
export declare const DF_TIMEOUT = 20000;
|
|
5
|
+
export declare const FAILED_DFP_RESOLVE_OBJECT_TIMEOUT: {
|
|
6
|
+
result: {
|
|
7
|
+
type: string;
|
|
8
|
+
value: string;
|
|
9
|
+
};
|
|
10
|
+
errorCode: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const FAILED_DFP_RESOLVE_OBJECT: {
|
|
13
|
+
result: {
|
|
14
|
+
type: string;
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const ERRORS: {
|
|
19
|
+
TIME_OUT: string;
|
|
20
|
+
WRONG_ORIGIN: string;
|
|
21
|
+
WRONG_DATA_TYPE: string;
|
|
22
|
+
MISSING_PROPERTY: string;
|
|
23
|
+
UNKNOWN: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const ERROR_MESSAGES: {
|
|
26
|
+
timeout: string;
|
|
27
|
+
wrongOrigin: string;
|
|
28
|
+
wrongDataType: string;
|
|
29
|
+
missingProperty: string;
|
|
30
|
+
unknownError: string;
|
|
31
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './RiskModule';
|
|
1
|
+
export { default } from './RiskModule';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log event to Adyen
|
|
3
|
-
* @param config - ready to be serialized and included in the body of request
|
|
4
|
-
* @returns a function returning a promise containing the response of the call
|
|
5
|
-
*/
|
|
6
|
-
declare const collectId: ({ loadingContext, clientKey, experiments }: {
|
|
7
|
-
loadingContext: any;
|
|
8
|
-
clientKey: any;
|
|
9
|
-
experiments: any;
|
|
10
|
-
}) => () => any;
|
|
11
|
-
export default collectId;
|
|
1
|
+
/**
|
|
2
|
+
* Log event to Adyen
|
|
3
|
+
* @param config - ready to be serialized and included in the body of request
|
|
4
|
+
* @returns a function returning a promise containing the response of the call
|
|
5
|
+
*/
|
|
6
|
+
declare const collectId: ({ loadingContext, clientKey, experiments }: {
|
|
7
|
+
loadingContext: any;
|
|
8
|
+
clientKey: any;
|
|
9
|
+
experiments: any;
|
|
10
|
+
}) => () => any;
|
|
11
|
+
export default collectId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log event to Adyen
|
|
3
|
-
* @param config - ready to be serialized and included in the request
|
|
4
|
-
* @returns A log event function
|
|
5
|
-
*/
|
|
6
|
-
declare const logEvent: (config: any) => (event: any) => void;
|
|
7
|
-
export default logEvent;
|
|
1
|
+
/**
|
|
2
|
+
* Log event to Adyen
|
|
3
|
+
* @param config - ready to be serialized and included in the request
|
|
4
|
+
* @returns A log event function
|
|
5
|
+
*/
|
|
6
|
+
declare const logEvent: (config: any) => (event: any) => void;
|
|
7
|
+
export default logEvent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log event to Adyen
|
|
3
|
-
* @param config -
|
|
4
|
-
*/
|
|
5
|
-
declare const logTelemetry: (config: any) => (event: any) => Promise<any>;
|
|
6
|
-
export default logTelemetry;
|
|
1
|
+
/**
|
|
2
|
+
* Log event to Adyen
|
|
3
|
+
* @param config -
|
|
4
|
+
*/
|
|
5
|
+
declare const logTelemetry: (config: any) => (event: any) => Promise<any>;
|
|
6
|
+
export default logTelemetry;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const fetch: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
2
|
-
export default fetch;
|
|
1
|
+
declare const fetch: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
2
|
+
export default fetch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function getDataset(name: string, loadingContext: any, locale: any): Promise<any>;
|
|
1
|
+
export default function getDataset(name: string, loadingContext: any, locale: any): Promise<any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
interface HttpOptions {
|
|
2
|
-
accept?: string;
|
|
3
|
-
contentType?: string;
|
|
4
|
-
errorMessage?: string;
|
|
5
|
-
headers?: any;
|
|
6
|
-
loadingContext?: string;
|
|
7
|
-
method?: string;
|
|
8
|
-
path: string;
|
|
9
|
-
errorLevel?: 'silent' | 'info' | 'warn' | 'error' | 'fatal';
|
|
10
|
-
}
|
|
11
|
-
export declare function http(options: HttpOptions, data?: any): Promise<any>;
|
|
12
|
-
export declare const httpGet: (options: HttpOptions, data?: any) => Promise<any>;
|
|
13
|
-
export declare const httpPost: (options: HttpOptions, data?: any) => Promise<any>;
|
|
14
|
-
export {};
|
|
1
|
+
interface HttpOptions {
|
|
2
|
+
accept?: string;
|
|
3
|
+
contentType?: string;
|
|
4
|
+
errorMessage?: string;
|
|
5
|
+
headers?: any;
|
|
6
|
+
loadingContext?: string;
|
|
7
|
+
method?: string;
|
|
8
|
+
path: string;
|
|
9
|
+
errorLevel?: 'silent' | 'info' | 'warn' | 'error' | 'fatal';
|
|
10
|
+
}
|
|
11
|
+
export declare function http(options: HttpOptions, data?: any): Promise<any>;
|
|
12
|
+
export declare const httpGet: (options: HttpOptions, data?: any) => Promise<any>;
|
|
13
|
+
export declare const httpPost: (options: HttpOptions, data?: any) => Promise<any>;
|
|
14
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrderStatus } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare function orderStatus(config: any, order: any): Promise<OrderStatus>;
|
|
5
|
-
export default orderStatus;
|
|
1
|
+
import { OrderStatus } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
declare function orderStatus(config: any, order: any): Promise<OrderStatus>;
|
|
5
|
+
export default orderStatus;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Calls the payment status endpoint
|
|
3
|
-
* @param paymentData -
|
|
4
|
-
* @param clientKey -
|
|
5
|
-
* @param loadingContext -
|
|
6
|
-
* @returns a promise containing the response of the call
|
|
7
|
-
*/
|
|
8
|
-
export default function checkPaymentStatus(paymentData: any, clientKey: any, loadingContext: any): Promise<any>;
|
|
1
|
+
/**
|
|
2
|
+
* Calls the payment status endpoint
|
|
3
|
+
* @param paymentData -
|
|
4
|
+
* @param clientKey -
|
|
5
|
+
* @param loadingContext -
|
|
6
|
+
* @returns a promise containing the response of the call
|
|
7
|
+
*/
|
|
8
|
+
export default function checkPaymentStatus(paymentData: any, clientKey: any, loadingContext: any): Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Session from '../../CheckoutSession';
|
|
2
|
-
import { CheckoutSessionBalanceResponse } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
declare function checkBalance(paymentRequest: any, session: Session): Promise<CheckoutSessionBalanceResponse>;
|
|
6
|
-
export default checkBalance;
|
|
1
|
+
import Session from '../../CheckoutSession';
|
|
2
|
+
import { CheckoutSessionBalanceResponse } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
declare function checkBalance(paymentRequest: any, session: Session): Promise<CheckoutSessionBalanceResponse>;
|
|
6
|
+
export default checkBalance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "v1";
|
|
1
|
+
export declare const API_VERSION = "v1";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Session from '../../CheckoutSession';
|
|
2
|
-
import { CheckoutSessionOrdersResponse } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
declare function createOrder(session: Session): Promise<CheckoutSessionOrdersResponse>;
|
|
6
|
-
export default createOrder;
|
|
1
|
+
import Session from '../../CheckoutSession';
|
|
2
|
+
import { CheckoutSessionOrdersResponse } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
declare function createOrder(session: Session): Promise<CheckoutSessionOrdersResponse>;
|
|
6
|
+
export default createOrder;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Session from '../../CheckoutSession';
|
|
2
|
-
import { CheckoutSessionPaymentResponse } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
declare function makePayment(paymentRequest: any, session: Session): Promise<CheckoutSessionPaymentResponse>;
|
|
6
|
-
export default makePayment;
|
|
1
|
+
import Session from '../../CheckoutSession';
|
|
2
|
+
import { CheckoutSessionPaymentResponse } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
declare function makePayment(paymentRequest: any, session: Session): Promise<CheckoutSessionPaymentResponse>;
|
|
6
|
+
export default makePayment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Session from '../../CheckoutSession';
|
|
2
|
-
import { CheckoutSessionSetupResponse } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
declare function setupSession(session: Session, options: any): Promise<CheckoutSessionSetupResponse>;
|
|
6
|
-
export default setupSession;
|
|
1
|
+
import Session from '../../CheckoutSession';
|
|
2
|
+
import { CheckoutSessionSetupResponse } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
declare function setupSession(session: Session, options: any): Promise<CheckoutSessionSetupResponse>;
|
|
6
|
+
export default setupSession;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Session from '../../CheckoutSession';
|
|
2
|
-
import { CheckoutSessionDetailsResponse } from '../../../types';
|
|
3
|
-
/**
|
|
4
|
-
*/
|
|
5
|
-
declare function submitDetails(details: any, session: Session): Promise<CheckoutSessionDetailsResponse>;
|
|
6
|
-
export default submitDetails;
|
|
1
|
+
import Session from '../../CheckoutSession';
|
|
2
|
+
import { CheckoutSessionDetailsResponse } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
*/
|
|
5
|
+
declare function submitDetails(details: any, session: Session): Promise<CheckoutSessionDetailsResponse>;
|
|
6
|
+
export default submitDetails;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FALLBACK_CONTEXT
|
|
3
|
-
*/
|
|
4
|
-
export declare const FALLBACK_CONTEXT = "https://checkoutshopper-live.adyen.com/checkoutshopper/";
|
|
5
|
-
export declare const GENERIC_OPTIONS: string[];
|
|
6
|
-
declare const _default: {
|
|
7
|
-
FALLBACK_CONTEXT: string;
|
|
8
|
-
GENERIC_OPTIONS: string[];
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
1
|
+
/**
|
|
2
|
+
* FALLBACK_CONTEXT
|
|
3
|
+
*/
|
|
4
|
+
export declare const FALLBACK_CONTEXT = "https://checkoutshopper-live.adyen.com/checkoutshopper/";
|
|
5
|
+
export declare const GENERIC_OPTIONS: string[];
|
|
6
|
+
declare const _default: {
|
|
7
|
+
FALLBACK_CONTEXT: string;
|
|
8
|
+
GENERIC_OPTIONS: string[];
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import UIElement from '../components/UIElement';
|
|
2
|
-
import { PaymentAction } from '../types';
|
|
3
|
-
import { CoreOptions } from './types';
|
|
4
|
-
import { PaymentMethods, PaymentMethodOptions } from '../types';
|
|
5
|
-
import Session from './CheckoutSession';
|
|
6
|
-
declare class Core {
|
|
7
|
-
session: Session;
|
|
8
|
-
private paymentMethodsResponse;
|
|
9
|
-
modules: any;
|
|
10
|
-
options: CoreOptions;
|
|
11
|
-
components: any[];
|
|
12
|
-
static readonly version: {
|
|
13
|
-
version: string;
|
|
14
|
-
revision: string;
|
|
15
|
-
branch: string;
|
|
16
|
-
buildId: string;
|
|
17
|
-
};
|
|
18
|
-
constructor(options: CoreOptions);
|
|
19
|
-
initialize(): Promise<this>;
|
|
20
|
-
/**
|
|
21
|
-
* Submit data to payments using the onSubmit event or the session flow if available
|
|
22
|
-
* @param data -
|
|
23
|
-
*/
|
|
24
|
-
submitPayment(data: any): void;
|
|
25
|
-
/**
|
|
26
|
-
* Submits details using onAdditionalDetails or the session flow if available
|
|
27
|
-
* @param details -
|
|
28
|
-
*/
|
|
29
|
-
submitDetails(details: any): void;
|
|
30
|
-
/**
|
|
31
|
-
* Instantiates a new UIElement component ready to be mounted
|
|
32
|
-
* @param paymentMethod - name or class of the paymentMethod
|
|
33
|
-
* @param options - options that will be merged to the global Checkout props
|
|
34
|
-
* @returns new UIElement
|
|
35
|
-
*/
|
|
36
|
-
create<T extends keyof PaymentMethods>(paymentMethod: T | string, options?: PaymentMethodOptions<T>): InstanceType<PaymentMethods[T]>;
|
|
37
|
-
create<T extends new (...args: any) => T, P extends ConstructorParameters<T>>(paymentMethod: T, options?: P[0]): T;
|
|
38
|
-
/**
|
|
39
|
-
* Instantiates a new element component ready to be mounted from an action object
|
|
40
|
-
* @param action - action defining the component with the component data
|
|
41
|
-
* @param options - options that will be merged to the global Checkout props
|
|
42
|
-
* @returns new UIElement
|
|
43
|
-
*/
|
|
44
|
-
createFromAction(action: PaymentAction, options?: {}): UIElement;
|
|
45
|
-
/**
|
|
46
|
-
* Updates global configurations, resets the internal state and remounts each element.
|
|
47
|
-
* @param options - props to update
|
|
48
|
-
* @returns this - the element instance
|
|
49
|
-
*/
|
|
50
|
-
update: (options?: CoreOptions) => Promise<this>;
|
|
51
|
-
/**
|
|
52
|
-
* Remove the reference of a component
|
|
53
|
-
* @param component - reference to the component to be removed
|
|
54
|
-
* @returns this - the element instance
|
|
55
|
-
*/
|
|
56
|
-
remove: (component: any) => this;
|
|
57
|
-
}
|
|
58
|
-
export default Core;
|
|
1
|
+
import UIElement from '../components/UIElement';
|
|
2
|
+
import { PaymentAction } from '../types';
|
|
3
|
+
import { CoreOptions } from './types';
|
|
4
|
+
import { PaymentMethods, PaymentMethodOptions } from '../types';
|
|
5
|
+
import Session from './CheckoutSession';
|
|
6
|
+
declare class Core {
|
|
7
|
+
session: Session;
|
|
8
|
+
private paymentMethodsResponse;
|
|
9
|
+
modules: any;
|
|
10
|
+
options: CoreOptions;
|
|
11
|
+
components: any[];
|
|
12
|
+
static readonly version: {
|
|
13
|
+
version: string;
|
|
14
|
+
revision: string;
|
|
15
|
+
branch: string;
|
|
16
|
+
buildId: string;
|
|
17
|
+
};
|
|
18
|
+
constructor(options: CoreOptions);
|
|
19
|
+
initialize(): Promise<this>;
|
|
20
|
+
/**
|
|
21
|
+
* Submit data to payments using the onSubmit event or the session flow if available
|
|
22
|
+
* @param data -
|
|
23
|
+
*/
|
|
24
|
+
submitPayment(data: any): void;
|
|
25
|
+
/**
|
|
26
|
+
* Submits details using onAdditionalDetails or the session flow if available
|
|
27
|
+
* @param details -
|
|
28
|
+
*/
|
|
29
|
+
submitDetails(details: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* Instantiates a new UIElement component ready to be mounted
|
|
32
|
+
* @param paymentMethod - name or class of the paymentMethod
|
|
33
|
+
* @param options - options that will be merged to the global Checkout props
|
|
34
|
+
* @returns new UIElement
|
|
35
|
+
*/
|
|
36
|
+
create<T extends keyof PaymentMethods>(paymentMethod: T | string, options?: PaymentMethodOptions<T>): InstanceType<PaymentMethods[T]>;
|
|
37
|
+
create<T extends new (...args: any) => T, P extends ConstructorParameters<T>>(paymentMethod: T, options?: P[0]): T;
|
|
38
|
+
/**
|
|
39
|
+
* Instantiates a new element component ready to be mounted from an action object
|
|
40
|
+
* @param action - action defining the component with the component data
|
|
41
|
+
* @param options - options that will be merged to the global Checkout props
|
|
42
|
+
* @returns new UIElement
|
|
43
|
+
*/
|
|
44
|
+
createFromAction(action: PaymentAction, options?: {}): UIElement;
|
|
45
|
+
/**
|
|
46
|
+
* Updates global configurations, resets the internal state and remounts each element.
|
|
47
|
+
* @param options - props to update
|
|
48
|
+
* @returns this - the element instance
|
|
49
|
+
*/
|
|
50
|
+
update: (options?: CoreOptions) => Promise<this>;
|
|
51
|
+
/**
|
|
52
|
+
* Remove the reference of a component
|
|
53
|
+
* @param component - reference to the component to be removed
|
|
54
|
+
* @returns this - the element instance
|
|
55
|
+
*/
|
|
56
|
+
remove: (component: any) => this;
|
|
57
|
+
}
|
|
58
|
+
export default Core;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './core';
|
|
1
|
+
export { default } from './core';
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { CustomTranslations, Locales } from '../language/types';
|
|
2
|
-
import { PaymentAmount, PaymentMethods, PaymentMethodOptions, PaymentActionsType } from '../types';
|
|
3
|
-
import { AnalyticsOptions } from './Analytics/types';
|
|
4
|
-
import { PaymentMethodsResponseObject } from './ProcessResponse/PaymentMethodsResponse/types';
|
|
5
|
-
import { RiskModuleOptions } from './RiskModule/RiskModule';
|
|
6
|
-
export interface CoreOptions {
|
|
7
|
-
session?: any;
|
|
8
|
-
/**
|
|
9
|
-
* Use test. When you're ready to accept live payments, change the value to one of our {@link https://docs.adyen.com/checkout/drop-in-web#testing-your-integration | live environments}.
|
|
10
|
-
*/
|
|
11
|
-
environment?: 'test' | 'live' | 'live-us' | 'live-au' | string;
|
|
12
|
-
/**
|
|
13
|
-
* A public key linked to your web service user, used for {@link https://docs.adyen.com/user-management/client-side-authentication | client-side authentication}.
|
|
14
|
-
*/
|
|
15
|
-
clientKey?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The shopper's locale. This is used to set the language rendered in the UI.
|
|
18
|
-
* For a list of supported locales, see {@link https://docs.adyen.com/checkout/components-web/localization-components | Localization}.
|
|
19
|
-
* For adding a custom locale, see {@link https://docs.adyen.com/checkout/components-web/localization-components#create-localization | Create localization}.
|
|
20
|
-
* @defaultValue 'en-US'
|
|
21
|
-
*/
|
|
22
|
-
locale?: Locales | string;
|
|
23
|
-
/**
|
|
24
|
-
* Custom translations and localizations
|
|
25
|
-
* See {@link https://docs.adyen.com/checkout/components-web/localization-components | Localizing Components}
|
|
26
|
-
*/
|
|
27
|
-
translations?: CustomTranslations;
|
|
28
|
-
/**
|
|
29
|
-
* The full `/paymentMethods` response
|
|
30
|
-
*/
|
|
31
|
-
paymentMethodsResponse?: PaymentMethodsResponseObject;
|
|
32
|
-
/**
|
|
33
|
-
* Amount of the payment
|
|
34
|
-
*/
|
|
35
|
-
amount?: PaymentAmount;
|
|
36
|
-
/**
|
|
37
|
-
* The shopper's country code. A valid value is an ISO two-character country code (e.g. 'NL').
|
|
38
|
-
*/
|
|
39
|
-
countryCode?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Optional per payment method configuration
|
|
42
|
-
*/
|
|
43
|
-
paymentMethodsConfiguration?: PaymentMethodsConfiguration;
|
|
44
|
-
/**
|
|
45
|
-
* Display only these payment methods
|
|
46
|
-
*/
|
|
47
|
-
allowPaymentMethods?: string[];
|
|
48
|
-
/**
|
|
49
|
-
* Never display these payment methods
|
|
50
|
-
*/
|
|
51
|
-
removePaymentMethods?: string[];
|
|
52
|
-
analytics?: AnalyticsOptions;
|
|
53
|
-
risk?: RiskModuleOptions;
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}
|
|
56
|
-
export declare type PaymentMethodsConfiguration = {
|
|
57
|
-
[key in keyof PaymentMethods]?: Partial<PaymentMethodOptions<key>>;
|
|
58
|
-
} | {
|
|
59
|
-
[key in PaymentActionsType]?: any;
|
|
60
|
-
};
|
|
1
|
+
import { CustomTranslations, Locales } from '../language/types';
|
|
2
|
+
import { PaymentAmount, PaymentMethods, PaymentMethodOptions, PaymentActionsType } from '../types';
|
|
3
|
+
import { AnalyticsOptions } from './Analytics/types';
|
|
4
|
+
import { PaymentMethodsResponseObject } from './ProcessResponse/PaymentMethodsResponse/types';
|
|
5
|
+
import { RiskModuleOptions } from './RiskModule/RiskModule';
|
|
6
|
+
export interface CoreOptions {
|
|
7
|
+
session?: any;
|
|
8
|
+
/**
|
|
9
|
+
* Use test. When you're ready to accept live payments, change the value to one of our {@link https://docs.adyen.com/checkout/drop-in-web#testing-your-integration | live environments}.
|
|
10
|
+
*/
|
|
11
|
+
environment?: 'test' | 'live' | 'live-us' | 'live-au' | string;
|
|
12
|
+
/**
|
|
13
|
+
* A public key linked to your web service user, used for {@link https://docs.adyen.com/user-management/client-side-authentication | client-side authentication}.
|
|
14
|
+
*/
|
|
15
|
+
clientKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The shopper's locale. This is used to set the language rendered in the UI.
|
|
18
|
+
* For a list of supported locales, see {@link https://docs.adyen.com/checkout/components-web/localization-components | Localization}.
|
|
19
|
+
* For adding a custom locale, see {@link https://docs.adyen.com/checkout/components-web/localization-components#create-localization | Create localization}.
|
|
20
|
+
* @defaultValue 'en-US'
|
|
21
|
+
*/
|
|
22
|
+
locale?: Locales | string;
|
|
23
|
+
/**
|
|
24
|
+
* Custom translations and localizations
|
|
25
|
+
* See {@link https://docs.adyen.com/checkout/components-web/localization-components | Localizing Components}
|
|
26
|
+
*/
|
|
27
|
+
translations?: CustomTranslations;
|
|
28
|
+
/**
|
|
29
|
+
* The full `/paymentMethods` response
|
|
30
|
+
*/
|
|
31
|
+
paymentMethodsResponse?: PaymentMethodsResponseObject;
|
|
32
|
+
/**
|
|
33
|
+
* Amount of the payment
|
|
34
|
+
*/
|
|
35
|
+
amount?: PaymentAmount;
|
|
36
|
+
/**
|
|
37
|
+
* The shopper's country code. A valid value is an ISO two-character country code (e.g. 'NL').
|
|
38
|
+
*/
|
|
39
|
+
countryCode?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional per payment method configuration
|
|
42
|
+
*/
|
|
43
|
+
paymentMethodsConfiguration?: PaymentMethodsConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
* Display only these payment methods
|
|
46
|
+
*/
|
|
47
|
+
allowPaymentMethods?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Never display these payment methods
|
|
50
|
+
*/
|
|
51
|
+
removePaymentMethods?: string[];
|
|
52
|
+
analytics?: AnalyticsOptions;
|
|
53
|
+
risk?: RiskModuleOptions;
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}
|
|
56
|
+
export declare type PaymentMethodsConfiguration = {
|
|
57
|
+
[key in keyof PaymentMethods]?: Partial<PaymentMethodOptions<key>>;
|
|
58
|
+
} | {
|
|
59
|
+
[key in PaymentActionsType]?: any;
|
|
60
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Filter properties in a global configuration object from an allow list (GENERIC_OPTIONS)
|
|
3
|
-
* @param globalOptions -
|
|
4
|
-
* @returns any
|
|
5
|
-
*/
|
|
6
|
-
export declare function processGlobalOptions(globalOptions: any): {};
|
|
1
|
+
/**
|
|
2
|
+
* Filter properties in a global configuration object from an allow list (GENERIC_OPTIONS)
|
|
3
|
+
* @param globalOptions -
|
|
4
|
+
* @returns any
|
|
5
|
+
*/
|
|
6
|
+
export declare function processGlobalOptions(globalOptions: any): {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import './
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export default AdyenCheckout;
|
|
1
|
+
import Checkout from './core';
|
|
2
|
+
declare function AdyenCheckout(props: any): Promise<Checkout>;
|
|
3
|
+
export default AdyenCheckout;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export declare class Language {
|
|
2
|
-
constructor(locale?: string, customTranslations?: object);
|
|
3
|
-
readonly locale: string;
|
|
4
|
-
readonly languageCode: string;
|
|
5
|
-
private readonly supportedLocales;
|
|
6
|
-
translations: object;
|
|
7
|
-
readonly customTranslations: any;
|
|
8
|
-
loaded: Promise<any>;
|
|
9
|
-
/**
|
|
10
|
-
* Returns a translated string from a key in the current {@link Language.locale}
|
|
11
|
-
* @param key - Translation key
|
|
12
|
-
* @param options - Translation options
|
|
13
|
-
* @returns Translated string
|
|
14
|
-
*/
|
|
15
|
-
get(key: string, options?: any): string;
|
|
16
|
-
/**
|
|
17
|
-
* Returns a localized string for an amount
|
|
18
|
-
* @param amount - Amount to be converted
|
|
19
|
-
* @param currencyCode - Currency code of the amount
|
|
20
|
-
* @param options - Options for String.prototype.toLocaleString
|
|
21
|
-
*/
|
|
22
|
-
amount(amount: number, currencyCode: string, options?: object): string;
|
|
23
|
-
/**
|
|
24
|
-
* Returns a localized string for a date
|
|
25
|
-
* @param date - Date to be localized
|
|
26
|
-
* @param options - Options for {@link Date.toLocaleDateString}
|
|
27
|
-
*/
|
|
28
|
-
date(date: string, options?: object): string;
|
|
29
|
-
}
|
|
30
|
-
export default Language;
|
|
1
|
+
export declare class Language {
|
|
2
|
+
constructor(locale?: string, customTranslations?: object);
|
|
3
|
+
readonly locale: string;
|
|
4
|
+
readonly languageCode: string;
|
|
5
|
+
private readonly supportedLocales;
|
|
6
|
+
translations: object;
|
|
7
|
+
readonly customTranslations: any;
|
|
8
|
+
loaded: Promise<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Returns a translated string from a key in the current {@link Language.locale}
|
|
11
|
+
* @param key - Translation key
|
|
12
|
+
* @param options - Translation options
|
|
13
|
+
* @returns Translated string
|
|
14
|
+
*/
|
|
15
|
+
get(key: string, options?: any): string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a localized string for an amount
|
|
18
|
+
* @param amount - Amount to be converted
|
|
19
|
+
* @param currencyCode - Currency code of the amount
|
|
20
|
+
* @param options - Options for String.prototype.toLocaleString
|
|
21
|
+
*/
|
|
22
|
+
amount(amount: number, currencyCode: string, options?: object): string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns a localized string for a date
|
|
25
|
+
* @param date - Date to be localized
|
|
26
|
+
* @param options - Options for {@link Date.toLocaleDateString}
|
|
27
|
+
*/
|
|
28
|
+
date(date: string, options?: object): string;
|
|
29
|
+
}
|
|
30
|
+
export default Language;
|