@paydock/client-sdk 1.104.6-beta → 1.105.1
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/.nvmrc +1 -0
- package/README.md +320 -362
- package/api.d.ts +1 -0
- package/api.js +1 -0
- package/bundles/widget.umd.js +7410 -6717
- package/bundles/widget.umd.min.js +1 -2
- package/canvas3ds.d.ts +1 -0
- package/canvas3ds.js +1 -0
- package/checkout-button.d.ts +1 -0
- package/checkout-button.js +1 -0
- package/inicialization-guide.md +7 -0
- package/{bundles/types → lib}/api/api-base.d.ts +1 -2
- package/lib/api/api-base.js +101 -0
- package/lib/api/api-base.js.map +1 -0
- package/{bundles/types → lib}/api/api-charge-internal.d.ts +0 -1
- package/lib/api/api-charge-internal.js +30 -0
- package/lib/api/api-charge-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api-charge.d.ts +0 -1
- package/lib/api/api-charge.js +49 -0
- package/lib/api/api-charge.js.map +1 -0
- package/{bundles/types → lib}/api/api-internal.d.ts +0 -1
- package/lib/api/api-internal.js +13 -0
- package/lib/api/api-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api-service-internal.d.ts +1 -3
- package/lib/api/api-service-internal.js +18 -0
- package/lib/api/api-service-internal.js.map +1 -0
- package/{bundles/types → lib}/api/api.d.ts +0 -1
- package/lib/api/api.js +62 -0
- package/lib/api/api.js.map +1 -0
- package/lib/api/index.d.ts +1 -0
- package/lib/api/index.js +2 -0
- package/lib/api/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/canvas-3ds.d.ts +0 -1
- package/lib/canvas-3ds/canvas-3ds.js +157 -0
- package/lib/canvas-3ds/canvas-3ds.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/index.d.ts +0 -1
- package/lib/canvas-3ds/index.js +2 -0
- package/lib/canvas-3ds/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/gpayments-service.d.ts +0 -1
- package/lib/canvas-3ds/services/gpayments-service.js +181 -0
- package/lib/canvas-3ds/services/gpayments-service.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/index.d.ts +0 -1
- package/lib/canvas-3ds/services/index.js +2 -0
- package/lib/canvas-3ds/services/index.js.map +1 -0
- package/{bundles/types → lib}/canvas-3ds/services/standalone3ds-service.d.ts +0 -1
- package/lib/canvas-3ds/services/standalone3ds-service.js +32 -0
- package/lib/canvas-3ds/services/standalone3ds-service.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/afterpay/afterpay-checkout-button.d.ts +0 -1
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js +50 -0
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/afterpay/afterpay.runner.d.ts +0 -1
- package/lib/checkout-button/afterpay/afterpay.runner.js +41 -0
- package/lib/checkout-button/afterpay/afterpay.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/checkout-button.d.ts +0 -1
- package/{bundles/types → lib}/checkout-button/checkout-button.interface.d.ts +0 -1
- package/lib/checkout-button/checkout-button.interface.js +45 -0
- package/lib/checkout-button/checkout-button.interface.js.map +1 -0
- package/lib/checkout-button/checkout-button.js +266 -0
- package/lib/checkout-button/checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/checkout-contextual-handler.d.ts +0 -1
- package/lib/checkout-button/checkout-contextual-handler.js +75 -0
- package/lib/checkout-button/checkout-contextual-handler.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/index.d.ts +1 -2
- package/lib/checkout-button/index.js +85 -0
- package/lib/checkout-button/index.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/paypal/paypal-checkout-button.d.ts +0 -1
- package/lib/checkout-button/paypal/paypal-checkout-button.js +25 -0
- package/lib/checkout-button/paypal/paypal-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/paypal/paypal.runner.d.ts +0 -1
- package/lib/checkout-button/paypal/paypal.runner.js +14 -0
- package/lib/checkout-button/paypal/paypal.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/base.runner.d.ts +3 -4
- package/lib/checkout-button/runner/base.runner.js +13 -0
- package/lib/checkout-button/runner/base.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/contextual.runner.d.ts +1 -2
- package/lib/checkout-button/runner/contextual.runner.js +40 -0
- package/lib/checkout-button/runner/contextual.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/index.d.ts +0 -1
- package/lib/checkout-button/runner/index.js +11 -0
- package/lib/checkout-button/runner/index.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/popup.runner.d.ts +1 -2
- package/lib/checkout-button/runner/popup.runner.js +68 -0
- package/lib/checkout-button/runner/popup.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/runner/redirect.runner.d.ts +1 -2
- package/lib/checkout-button/runner/redirect.runner.js +15 -0
- package/lib/checkout-button/runner/redirect.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +0 -1
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js +64 -0
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js +78 -0
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js +49 -0
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.config.d.ts +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.config.js +4 -0
- package/lib/checkout-button/zipmoney/zipmoney.config.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.runner.d.ts +1 -2
- package/lib/checkout-button/zipmoney/zipmoney.runner.js +23 -0
- package/lib/checkout-button/zipmoney/zipmoney.runner.js.map +1 -0
- package/{bundles/types → lib}/checkout-button/zipmoney/zipmoney.types.d.ts +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.types.js +1 -0
- package/lib/checkout-button/zipmoney/zipmoney.types.js.map +1 -0
- package/{bundles/types → lib}/components/ability-guard.d.ts +0 -1
- package/lib/components/ability-guard.js +44 -0
- package/lib/components/ability-guard.js.map +1 -0
- package/{bundles/types → lib}/components/background.d.ts +0 -1
- package/lib/components/background.js +193 -0
- package/lib/components/background.js.map +1 -0
- package/{bundles/types → lib}/components/container.d.ts +0 -1
- package/lib/components/container.js +63 -0
- package/lib/components/container.js.map +1 -0
- package/{bundles/types → lib}/components/dispatcher.d.ts +1 -2
- package/lib/components/dispatcher.js +39 -0
- package/lib/components/dispatcher.js.map +1 -0
- package/{bundles/types → lib}/components/element-style.d.ts +1 -2
- package/lib/components/element-style.js +52 -0
- package/lib/components/element-style.js.map +1 -0
- package/{bundles/types → lib}/components/flypay-iframe-event.d.ts +0 -1
- package/lib/components/flypay-iframe-event.js +28 -0
- package/lib/components/flypay-iframe-event.js.map +1 -0
- package/{bundles/types/components/form-interceptor.d.ts → lib/components/form-Interceptor.d.ts} +0 -1
- package/lib/components/form-Interceptor.js +38 -0
- package/lib/components/form-Interceptor.js.map +1 -0
- package/{bundles/types → lib}/components/http-core.d.ts +0 -1
- package/lib/components/http-core.js +57 -0
- package/lib/components/http-core.js.map +1 -0
- package/{bundles/types → lib}/components/iframe-event.d.ts +0 -4
- package/lib/components/iframe-event.js +75 -0
- package/lib/components/iframe-event.js.map +1 -0
- package/{bundles/types → lib}/components/iframe.d.ts +0 -1
- package/lib/components/iframe.js +62 -0
- package/lib/components/iframe.js.map +1 -0
- package/{bundles/types → lib}/components/link.d.ts +3 -5
- package/lib/components/link.js +59 -0
- package/lib/components/link.js.map +1 -0
- package/{bundles/types → lib}/components/loader.d.ts +0 -1
- package/lib/components/loader.js +234 -0
- package/lib/components/loader.js.map +1 -0
- package/{bundles/types → lib}/components/param.d.ts +9 -10
- package/lib/components/param.js +147 -0
- package/lib/components/param.js.map +1 -0
- package/{bundles/types → lib}/components/popup.d.ts +0 -1
- package/lib/components/popup.js +104 -0
- package/lib/components/popup.js.map +1 -0
- package/{bundles/types → lib}/components/storage-dispatcher.d.ts +0 -1
- package/lib/components/storage-dispatcher.js +75 -0
- package/lib/components/storage-dispatcher.js.map +1 -0
- package/{bundles/types → lib}/components/trigger.d.ts +0 -1
- package/lib/components/trigger.js +49 -0
- package/lib/components/trigger.js.map +1 -0
- package/{bundles/types → lib}/components/vault-display-iframe-event.d.ts +0 -1
- package/lib/components/vault-display-iframe-event.js +27 -0
- package/lib/components/vault-display-iframe-event.js.map +1 -0
- package/{bundles/types → lib}/components/wallet-background.d.ts +0 -1
- package/lib/components/wallet-background.js +63 -0
- package/lib/components/wallet-background.js.map +1 -0
- package/{bundles/types → lib}/components/wallet-trigger.d.ts +0 -1
- package/lib/components/wallet-trigger.js +27 -0
- package/lib/components/wallet-trigger.js.map +1 -0
- package/{bundles/types/configs/env/environment.paydock.d.ts → lib/configs/env/env.d.ts} +8 -5
- package/lib/configs/env/env.js +117 -0
- package/lib/configs/env/env.js.map +1 -0
- package/{bundles/types → lib}/configs/sdk.d.ts +2 -3
- package/lib/configs/sdk.js +16 -0
- package/lib/configs/sdk.js.map +1 -0
- package/{bundles/types → lib}/constants/validators.d.ts +2 -3
- package/lib/constants/validators.js +42 -0
- package/lib/constants/validators.js.map +1 -0
- package/{bundles/types → lib}/external-checkout/builder.d.ts +0 -1
- package/lib/external-checkout/builder.js +45 -0
- package/lib/external-checkout/builder.js.map +1 -0
- package/{bundles/types → lib}/external-checkout/checker.d.ts +0 -1
- package/lib/external-checkout/checker.js +22 -0
- package/lib/external-checkout/checker.js.map +1 -0
- package/lib/external-checkout/index.d.ts +2 -0
- package/lib/external-checkout/index.js +3 -0
- package/lib/external-checkout/index.js.map +1 -0
- package/{bundles/types → lib}/helper/access-token.d.ts +0 -1
- package/lib/helper/access-token.js +44 -0
- package/lib/helper/access-token.js.map +1 -0
- package/{bundles/types → lib}/helper/browser.d.ts +0 -1
- package/lib/helper/browser.js +79 -0
- package/lib/helper/browser.js.map +1 -0
- package/{bundles/types → lib}/helper/event-emitter.d.ts +0 -1
- package/lib/helper/event-emitter.js +23 -0
- package/lib/helper/event-emitter.js.map +1 -0
- package/{bundles/types → lib}/helper/event.d.ts +0 -1
- package/lib/helper/event.js +23 -0
- package/lib/helper/event.js.map +1 -0
- package/{bundles/types → lib}/helper/ms.d.ts +0 -1
- package/lib/helper/ms.js +32 -0
- package/lib/helper/ms.js.map +1 -0
- package/{bundles/types → lib}/helper/object.d.ts +0 -1
- package/lib/helper/object.js +6 -0
- package/lib/helper/object.js.map +1 -0
- package/{bundles/types → lib}/helper/url.d.ts +0 -1
- package/lib/helper/url.js +11 -0
- package/lib/helper/url.js.map +1 -0
- package/{bundles/types → lib}/helper/uuid.d.ts +0 -1
- package/lib/helper/uuid.js +26 -0
- package/lib/helper/uuid.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +15 -0
- package/lib/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source/builder.d.ts +0 -1
- package/lib/payment-source/builder.js +49 -0
- package/lib/payment-source/builder.js.map +1 -0
- package/{bundles/types → lib}/payment-source/index.d.ts +0 -1
- package/lib/payment-source/index.js +2 -0
- package/lib/payment-source/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/html-payment-source-widget.d.ts +0 -1
- package/lib/payment-source-widget/html-payment-source-widget.js +172 -0
- package/lib/payment-source-widget/html-payment-source-widget.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/index.d.ts +0 -1
- package/lib/payment-source-widget/index.js +35 -0
- package/lib/payment-source-widget/index.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/interfaces.d.ts +0 -1
- package/lib/payment-source-widget/interfaces.js +2 -0
- package/lib/payment-source-widget/interfaces.js.map +1 -0
- package/{bundles/types → lib}/payment-source-widget/payment-source-widget.d.ts +0 -1
- package/lib/payment-source-widget/payment-source-widget.js +142 -0
- package/lib/payment-source-widget/payment-source-widget.js.map +1 -0
- package/lib/secure-remote-commerce/index.d.ts +1 -0
- package/lib/secure-remote-commerce/index.js +2 -0
- package/lib/secure-remote-commerce/index.js.map +1 -0
- package/lib/secure-remote-commerce/interfaces.d.ts +71 -0
- package/lib/secure-remote-commerce/interfaces.js +28 -0
- package/lib/secure-remote-commerce/interfaces.js.map +1 -0
- package/{bundles/types → lib}/secure-remote-commerce/providers/src-provider.d.ts +0 -1
- package/lib/secure-remote-commerce/providers/src-provider.js +1 -0
- package/lib/secure-remote-commerce/providers/src-provider.js.map +1 -0
- package/lib/secure-remote-commerce/providers/visa-src/helper.d.ts +7 -0
- package/lib/secure-remote-commerce/providers/visa-src/helper.js +36 -0
- package/lib/secure-remote-commerce/providers/visa-src/helper.js.map +1 -0
- package/lib/secure-remote-commerce/providers/visa-src/index.d.ts +1 -0
- package/lib/secure-remote-commerce/providers/visa-src/index.js +2 -0
- package/lib/secure-remote-commerce/providers/visa-src/index.js.map +1 -0
- package/{bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts → lib/secure-remote-commerce/providers/visa-src/visa-src.d.ts} +7 -5
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js +113 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js.map +1 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts +8 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js +10 -0
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js.map +1 -0
- package/lib/secure-remote-commerce/secure-remote-commerce.d.ts +163 -0
- package/lib/secure-remote-commerce/secure-remote-commerce.js +239 -0
- package/lib/secure-remote-commerce/secure-remote-commerce.js.map +1 -0
- package/{bundles/types → lib}/vault-display-widget/index.d.ts +0 -1
- package/lib/vault-display-widget/index.js +14 -0
- package/lib/vault-display-widget/index.js.map +1 -0
- package/{bundles/types → lib}/vault-display-widget/vault-display-widget.d.ts +0 -1
- package/lib/vault-display-widget/vault-display-widget.js +99 -0
- package/lib/vault-display-widget/vault-display-widget.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/afterpay.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/afterpay.wallet-service.js +152 -0
- package/lib/wallet-buttons/afterpay.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/apple.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/apple.wallet-service.js +324 -0
- package/lib/wallet-buttons/apple.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/flypay-v2.wallet-service.d.ts +1 -1
- package/lib/wallet-buttons/flypay-v2.wallet-service.js +165 -0
- package/lib/wallet-buttons/flypay-v2.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/flypay.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/flypay.wallet-service.js +117 -0
- package/lib/wallet-buttons/flypay.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/google.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/google.wallet-service.js +301 -0
- package/lib/wallet-buttons/google.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/helpers/flypay-v2.helper.d.ts +0 -1
- package/lib/wallet-buttons/helpers/flypay-v2.helper.js +151 -0
- package/lib/wallet-buttons/helpers/flypay-v2.helper.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/index.d.ts +0 -1
- package/lib/wallet-buttons/index.js +128 -0
- package/lib/wallet-buttons/index.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/interfaces.d.ts +0 -1
- package/lib/wallet-buttons/interfaces.js +1 -0
- package/lib/wallet-buttons/interfaces.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/mastercard.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/mastercard.wallet-service.js +27 -0
- package/lib/wallet-buttons/mastercard.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/paypal.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/paypal.wallet-service.js +144 -0
- package/lib/wallet-buttons/paypal.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/stripe.wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/stripe.wallet-service.js +100 -0
- package/lib/wallet-buttons/stripe.wallet-service.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/wallet-buttons.d.ts +0 -1
- package/lib/wallet-buttons/wallet-buttons.js +479 -0
- package/lib/wallet-buttons/wallet-buttons.js.map +1 -0
- package/{bundles/types → lib}/wallet-buttons/wallet-service.d.ts +0 -1
- package/lib/wallet-buttons/wallet-service.js +60 -0
- package/lib/wallet-buttons/wallet-service.js.map +1 -0
- package/{bundles/types → lib}/widget/configuration.d.ts +1 -2
- package/lib/widget/configuration.js +260 -0
- package/lib/widget/configuration.js.map +1 -0
- package/{bundles/types → lib}/widget/html-multi-widget.d.ts +3 -4
- package/lib/widget/html-multi-widget.js +422 -0
- package/lib/widget/html-multi-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/html-widget.d.ts +0 -1
- package/lib/widget/html-widget.js +127 -0
- package/lib/widget/html-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/index.d.ts +1 -2
- package/lib/widget/index.js +132 -0
- package/lib/widget/index.js.map +1 -0
- package/{bundles/types → lib}/widget/meta.d.ts +0 -1
- package/lib/widget/meta.js +8 -0
- package/lib/widget/meta.js.map +1 -0
- package/{bundles/types → lib}/widget/multi-widget.d.ts +1 -2
- package/lib/widget/multi-widget.js +437 -0
- package/lib/widget/multi-widget.js.map +1 -0
- package/{bundles/types → lib}/widget/style.d.ts +0 -1
- package/lib/widget/style.js +204 -0
- package/lib/widget/style.js.map +1 -0
- package/package.json +42 -164
- package/payment-source-widget.d.ts +1 -0
- package/payment-source-widget.js +1 -0
- package/slate.md +189 -163
- package/tslint.json +129 -0
- package/typings/globals/@auspayplus/open-payments-checkout/index.d.ts +43 -0
- package/typings/globals/jasmine/index.d.ts +576 -0
- package/typings/globals/jasmine-ajax/index.d.ts +83 -0
- package/typings/globals/jquery/index.d.ts +3759 -0
- package/typings/index.d.ts +4 -0
- package/vault-display-widget.d.ts +1 -0
- package/vault-display-widget.js +1 -0
- package/vendors/zipmoney.d.ts +18 -0
- package/vendors/zipmoney.js +2 -0
- package/widget.d.ts +1 -0
- package/widget.js +1 -0
- package/bundles/index.cjs +0 -10456
- package/bundles/index.cjs.d.ts +0 -3206
- package/bundles/index.cjs.map +0 -1
- package/bundles/index.mjs +0 -10424
- package/bundles/index.mjs.d.ts +0 -3206
- package/bundles/index.mjs.map +0 -1
- package/bundles/types/api/api-base.d.ts.map +0 -1
- package/bundles/types/api/api-charge-internal.d.ts.map +0 -1
- package/bundles/types/api/api-charge.d.ts.map +0 -1
- package/bundles/types/api/api-internal.d.ts.map +0 -1
- package/bundles/types/api/api-service-internal.d.ts.map +0 -1
- package/bundles/types/api/api.d.ts.map +0 -1
- package/bundles/types/api/index.d.ts +0 -2
- package/bundles/types/api/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/index.d.ts.map +0 -1
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +0 -1
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +0 -1
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +0 -1
- package/bundles/types/checkout-button/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/base.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/index.d.ts +0 -4
- package/bundles/types/checkout-button/zipmoney/index.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +0 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +0 -1
- package/bundles/types/components/ability-guard.d.ts.map +0 -1
- package/bundles/types/components/background.d.ts.map +0 -1
- package/bundles/types/components/container.d.ts.map +0 -1
- package/bundles/types/components/dispatcher.d.ts.map +0 -1
- package/bundles/types/components/element-style.d.ts.map +0 -1
- package/bundles/types/components/flypay-iframe-event.d.ts.map +0 -1
- package/bundles/types/components/form-interceptor.d.ts.map +0 -1
- package/bundles/types/components/http-core.d.ts.map +0 -1
- package/bundles/types/components/iframe-event.d.ts.map +0 -1
- package/bundles/types/components/iframe.d.ts.map +0 -1
- package/bundles/types/components/link.d.ts.map +0 -1
- package/bundles/types/components/loader.d.ts.map +0 -1
- package/bundles/types/components/param.d.ts.map +0 -1
- package/bundles/types/components/popup.d.ts.map +0 -1
- package/bundles/types/components/storage-dispatcher.d.ts.map +0 -1
- package/bundles/types/components/trigger.d.ts.map +0 -1
- package/bundles/types/components/vault-display-iframe-event.d.ts.map +0 -1
- package/bundles/types/components/wallet-background.d.ts.map +0 -1
- package/bundles/types/components/wallet-trigger.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.cba.d.ts +0 -29
- package/bundles/types/configs/env/environment.cba.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.interface.d.ts +0 -12
- package/bundles/types/configs/env/environment.interface.d.ts.map +0 -1
- package/bundles/types/configs/env/environment.paydock.d.ts.map +0 -1
- package/bundles/types/configs/env/index.d.ts +0 -3
- package/bundles/types/configs/env/index.d.ts.map +0 -1
- package/bundles/types/configs/sdk.d.ts.map +0 -1
- package/bundles/types/constants/validators.d.ts.map +0 -1
- package/bundles/types/external-checkout/builder.d.ts.map +0 -1
- package/bundles/types/external-checkout/checker.d.ts.map +0 -1
- package/bundles/types/external-checkout/index.d.ts +0 -3
- package/bundles/types/external-checkout/index.d.ts.map +0 -1
- package/bundles/types/helper/access-token.d.ts.map +0 -1
- package/bundles/types/helper/browser.d.ts.map +0 -1
- package/bundles/types/helper/event-emitter.d.ts.map +0 -1
- package/bundles/types/helper/event.d.ts.map +0 -1
- package/bundles/types/helper/ms.d.ts.map +0 -1
- package/bundles/types/helper/object.d.ts.map +0 -1
- package/bundles/types/helper/url.d.ts.map +0 -1
- package/bundles/types/helper/uuid.d.ts.map +0 -1
- package/bundles/types/index-cba.d.ts +0 -13
- package/bundles/types/index-cba.d.ts.map +0 -1
- package/bundles/types/index.d.ts +0 -14
- package/bundles/types/index.d.ts.map +0 -1
- package/bundles/types/payment-source/builder.d.ts.map +0 -1
- package/bundles/types/payment-source/index.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/index.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/interfaces.d.ts.map +0 -1
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/index.d.ts +0 -103
- package/bundles/types/secure-remote-commerce/index.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/interfaces.d.ts +0 -149
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts +0 -31
- package/bundles/types/secure-remote-commerce/mastercard-secure-remote-commerce.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +0 -2
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +0 -1
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +0 -86
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +0 -1
- package/bundles/types/vault-display-widget/index.d.ts.map +0 -1
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/afterpay.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/apple.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/flypay.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/google.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/index-cba.d.ts +0 -2
- package/bundles/types/wallet-buttons/index-cba.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/index.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/interfaces.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/mastercard.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/paypal.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/stripe.wallet-service.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +0 -330
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +0 -1
- package/bundles/types/wallet-buttons/wallet-service.d.ts.map +0 -1
- package/bundles/types/widget/configuration.d.ts.map +0 -1
- package/bundles/types/widget/html-multi-widget.d.ts.map +0 -1
- package/bundles/types/widget/html-widget.d.ts.map +0 -1
- package/bundles/types/widget/index.d.ts.map +0 -1
- package/bundles/types/widget/meta.d.ts.map +0 -1
- package/bundles/types/widget/multi-widget.d.ts.map +0 -1
- package/bundles/types/widget/style.d.ts.map +0 -1
- package/bundles/widget.umd.js.d.ts +0 -3206
- package/bundles/widget.umd.js.map +0 -1
- package/bundles/widget.umd.js.min.d.ts +0 -3206
- package/bundles/widget.umd.min.js.map +0 -1
- package/docs/api-canvas3ds.md +0 -158
- package/docs/api-checkout-button.md +0 -912
- package/docs/api-examples.md +0 -65
- package/docs/api-ps-widget.md +0 -585
- package/docs/api-vault-display.md +0 -94
- package/docs/api-widget.md +0 -2499
- package/docs/api-wrapper.md +0 -78
- package/docs/canvas3ds-examples.md +0 -242
- package/docs/cba-header.md +0 -13
- package/docs/cba-license.md +0 -2
- package/docs/checkout-examples.md +0 -248
- package/docs/header.md +0 -15
- package/docs/html/layout.html +0 -78
- package/docs/html/marked.js +0 -23
- package/docs/html/style.css +0 -365
- package/docs/install/npm.content.md +0 -16
- package/docs/install/npm.example.md +0 -24
- package/docs/install/umd.content.md +0 -20
- package/docs/install/umd.example.md +0 -6
- package/docs/install.md +0 -43
- package/docs/install.readme.t.md +0 -17
- package/docs/install.slate.t.md +0 -17
- package/docs/license.md +0 -2
- package/docs/partials/header.hbs +0 -3
- package/docs/ps-examples.md +0 -129
- package/docs/secure-remote-commerce-examples.md +0 -232
- package/docs/secure-remote-commerce.md +0 -336
- package/docs/vault-display-example.md +0 -132
- package/docs/wallet-buttons-examples.md +0 -609
- package/docs/wallet-buttons.md +0 -619
- package/docs/wallet-cba-buttons-examples.md +0 -388
- package/docs/widget-examples.md +0 -134
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
import { Container } from "../components/container";
|
|
2
|
-
import { IWalletMeta } from "../components/param";
|
|
3
|
-
import { EventEmitter } from "../helper/event-emitter";
|
|
4
|
-
import { IWalletPaymentSuccessful, IWalletUnavailable, IWalletUpdate } from "./interfaces";
|
|
5
|
-
import { ApiInternal } from "../api/api-internal";
|
|
6
|
-
import { IWalletService } from "./wallet-service";
|
|
7
|
-
/**
|
|
8
|
-
* List of available event's name in the wallet button lifecycle
|
|
9
|
-
* @const EVENT
|
|
10
|
-
*
|
|
11
|
-
* @type {object}
|
|
12
|
-
* @param {string} UNAVAILABLE=unavailable
|
|
13
|
-
* @param {string} UPDATE=update
|
|
14
|
-
* @param {string} PAYMENT_SUCCESSFUL=paymentSuccessful
|
|
15
|
-
* @param {string} PAYMENT_ERROR=paymentError
|
|
16
|
-
*/
|
|
17
|
-
export declare const EVENT: {
|
|
18
|
-
UNAVAILABLE: string;
|
|
19
|
-
UPDATE: string;
|
|
20
|
-
PAYMENT_SUCCESSFUL: string;
|
|
21
|
-
PAYMENT_ERROR: string;
|
|
22
|
-
PAYMENT_IN_REVIEW: string;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Interface of data from events.
|
|
26
|
-
* @interface IEventData
|
|
27
|
-
*
|
|
28
|
-
* @param {string} event
|
|
29
|
-
* @param {void | IWalletPaymentSuccessful | IWalletUpdate | IWalletUnavailable | any} data
|
|
30
|
-
* */
|
|
31
|
-
export interface IEventData {
|
|
32
|
-
event: string;
|
|
33
|
-
data: void | IWalletPaymentSuccessful | IWalletUpdate | IWalletUnavailable | any;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Interface of data from a successful payment result.
|
|
37
|
-
* @interface IWalletPaymentSuccessful
|
|
38
|
-
*
|
|
39
|
-
* @param {string} id
|
|
40
|
-
* @param {number} amount
|
|
41
|
-
* @param {string} currency
|
|
42
|
-
* @param {string} status
|
|
43
|
-
* @param {string} [payer_name]
|
|
44
|
-
* @param {string} [payer_email]
|
|
45
|
-
* @param {string} [payer_phone]
|
|
46
|
-
* */
|
|
47
|
-
/**
|
|
48
|
-
* Interface of data from an update event.
|
|
49
|
-
* @interface IWalletUpdate
|
|
50
|
-
*
|
|
51
|
-
* @param {string} [wallet_response_code]
|
|
52
|
-
* @param {string} [wallet_session_id]
|
|
53
|
-
* @param {object} [payment_source]
|
|
54
|
-
* @param {string} [payment_source.wallet_payment_method_id]
|
|
55
|
-
* @param {string} [payment_source.card_number_last4]
|
|
56
|
-
* @param {string} [payment_source.card_scheme]
|
|
57
|
-
* @param {object} [wallet_loyalty_account]
|
|
58
|
-
* @param {string} [wallet_loyalty_account.id]
|
|
59
|
-
* @param {string} [wallet_loyalty_account.barcode]
|
|
60
|
-
* @param {object} [shipping]
|
|
61
|
-
* @param {string} [shipping.address_line1]
|
|
62
|
-
* @param {string} [shipping.address_line2]
|
|
63
|
-
* @param {string} [shipping.address_postcode]
|
|
64
|
-
* @param {string} [shipping.address_city]
|
|
65
|
-
* @param {string} [shipping.address_state]
|
|
66
|
-
* @param {string} [shipping.address_country]
|
|
67
|
-
* @param {string} [shipping.address_company]
|
|
68
|
-
* @param {string} [shipping.post_office_box_number]
|
|
69
|
-
* @param {string} [shipping.wallet_address_id]
|
|
70
|
-
* @param {string} [shipping.wallet_address_name]
|
|
71
|
-
* @param {string} [shipping.wallet_address_created_timestamp]
|
|
72
|
-
* @param {string} [shipping.wallet_address_updated_timestamp]
|
|
73
|
-
* */
|
|
74
|
-
/**
|
|
75
|
-
* Interface of data from an unavailable event.
|
|
76
|
-
* @interface IWalletUnavailable
|
|
77
|
-
*
|
|
78
|
-
* @param {string} [wallet] For gateways with more than one wallet button available (e.g: MPGS with ApplePay and GooglePay). Possible values for wallet are 'apple' or 'google'.
|
|
79
|
-
* */
|
|
80
|
-
/**
|
|
81
|
-
* Interface of data for wallet button `update` call.
|
|
82
|
-
* @interface IWalletUpdateData
|
|
83
|
-
*
|
|
84
|
-
* @param {boolean} success
|
|
85
|
-
* */
|
|
86
|
-
export interface IWalletUpdateData {
|
|
87
|
-
success: boolean;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Interface of data used by the wallet checkout and payment proccess.
|
|
91
|
-
* @interface IWalletMeta
|
|
92
|
-
*
|
|
93
|
-
* @type {object}
|
|
94
|
-
* @param {string} [amount_label] Label shown next to the total amount to be paid. Required for [ApplePay, GooglePay]. N/A for [ PayPal].
|
|
95
|
-
* @param {string} [country] Country of the user. 2 letter ISO code format. Required for [ ApplePay, GooglePay]. N/A for [PayPal].
|
|
96
|
-
* @param {boolean} [pay_later] Used to enable Pay Later feature in PayPal Smart Checkout WalletButton integration when available. Optional for [PayPal]. N/A for other wallets.
|
|
97
|
-
* @param {boolean} [standalone] Used to enable Standalone Buttons feature in PayPal Smart Checkout WalletButton integration. Used together with `pay_later`. Optional for [PayPal]. N/A for other wallets.
|
|
98
|
-
* @param {boolean} [show_billing_address] Used to hide/show the billing address on ApplePay and GooglePay popups. Default value is false. Optional for [ApplePay, GooglePay]. N/A for other wallets.
|
|
99
|
-
* @param {boolean} [request_shipping] Used to request or not shipping address in the Wallet checkout, being able to handle amount changes via the `update` event. Optional for [PayPal, ApplePay, GooglePay].
|
|
100
|
-
* @param {IApplePayShippingOption[] | IPayPalShippingOption[]} [shipping_options] Used to provide available shipping options.(To use shipping_options the request_shipping flag should be true). Optional for [ApplePay]. N/A for the other wallets.
|
|
101
|
-
* @param {string} [merchant_name] Merchant Name used for GooglePay integration via MPGS. Required for [GooglePay]. N/A for other wallets.
|
|
102
|
-
* @param {object} [raw_data_initialization] Used to provide values to initialize wallet with raw data. Optional for [ApplePay]. N/A for the other wallets.
|
|
103
|
-
* @param {object} [style] Used to style PayPal buttons, check possible values at https://developer.paypal.com/docs/business/checkout/reference/style-guide. Also used at ApplePay to select button type. Optional for [PayPal, ApplePay].
|
|
104
|
-
* @param {object} [style.button_type] Used to select ApplePay button type (e.g: 'buy','donate', etc), check possible values at https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_css. Optional for [ApplePay]. N/A for other wallets.
|
|
105
|
-
* @param {array} [wallets] By default if this is not sent or empty, we will try to show either Apple Pay or Google Pay buttons. This can be limited sending the following array in this field: ['apple','google]. Optional for [ApplePay, GooglePay]. N/A for other wallets.
|
|
106
|
-
*/
|
|
107
|
-
/**
|
|
108
|
-
* Interface of Shipping Options for ApplePay
|
|
109
|
-
* @interface IApplePayShippingOption
|
|
110
|
-
*
|
|
111
|
-
* @type {object}
|
|
112
|
-
* @param {string} [id] Identifier of the Shipping Option. Required.
|
|
113
|
-
* @param {string} [label] Identifier of the Shipping Option. Required.
|
|
114
|
-
* @param {string} [amount] Amount of the Shipping Option. Required.
|
|
115
|
-
* @param {string} [detail] Details of the Shipping Option. Required.
|
|
116
|
-
* @param {string} [type] Type of the Shipping Option. Values can be 'ELECTRONIC', 'GROUND', 'NOT_SHIPPED', 'OVERNIGHT', 'PICKUP', 'PRIORITY', 'SAME_DAY'. Optional.
|
|
117
|
-
*/
|
|
118
|
-
/**
|
|
119
|
-
* Interface of Shipping Options for GooglePay
|
|
120
|
-
* @interface IGooglePayShippingOption
|
|
121
|
-
*
|
|
122
|
-
* @type {object}
|
|
123
|
-
* @param {string} [id] Identifier of the Shipping Option. Required.
|
|
124
|
-
* @param {string} [label] Identifier of the Shipping Option. Required.
|
|
125
|
-
* @param {string} [detail] Details of the Shipping Option. Optional.
|
|
126
|
-
* @param {string} [type] Type of the Shipping Option. Values can be 'ELECTRONIC', 'GROUND', 'NOT_SHIPPED', 'OVERNIGHT', 'PICKUP', 'PRIORITY', 'SAME_DAY'. Optional.
|
|
127
|
-
*/
|
|
128
|
-
/**
|
|
129
|
-
* Interface of Shipping Options for PayPal
|
|
130
|
-
* @interface IPayPalShippingOption
|
|
131
|
-
*
|
|
132
|
-
* @type {object}
|
|
133
|
-
* @param {string} [id] Identifier of the Shipping Option. Required.
|
|
134
|
-
* @param {string} [label] Identifier of the Shipping Option. Required.
|
|
135
|
-
* @param {string} [amount] Amount of the Shipping Option. Required.
|
|
136
|
-
* @param {string} [currency] Currency of the Shipping Option. Required.
|
|
137
|
-
* @param {string} [type] Type of the Shipping Option. Values can be 'SHIPPING' or 'PICKUP'. Required.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* Class WalletButtons to work with different E-Wallets within html (currently supports Apple Pay, Google Pay, Paypal)
|
|
141
|
-
* @constructor
|
|
142
|
-
*
|
|
143
|
-
* @example
|
|
144
|
-
* var button = new WalletButtons('#wallet-buttons', 'charge-token', { amount_label: 'Total', country: 'us' });
|
|
145
|
-
*
|
|
146
|
-
* @param {string} selector - Selector of html element. Container for the WalletButtons.
|
|
147
|
-
* @param {string} chargeToken - token for the wallet transaction, created with a secure call to `POST charges/wallet`.
|
|
148
|
-
* @param {IWalletMeta} object - data that configures the E-Wallet, which can be shown on checkout page and configures required customer information.
|
|
149
|
-
*/
|
|
150
|
-
declare class WalletButtons {
|
|
151
|
-
protected container: Container;
|
|
152
|
-
protected api: ApiInternal;
|
|
153
|
-
protected service: IWalletService;
|
|
154
|
-
protected eventEmitter: EventEmitter;
|
|
155
|
-
protected hasUpdateHandler: boolean;
|
|
156
|
-
/** @constructs */ constructor(selector: string, chargeToken: string, meta: IWalletMeta);
|
|
157
|
-
/**
|
|
158
|
-
* Initializes the availability checks and inserts the button if possible.
|
|
159
|
-
* Otherwise function onUnavailable(handler: VoidFunction) will be called.
|
|
160
|
-
*
|
|
161
|
-
* @example
|
|
162
|
-
* var button = new WalletButtons(
|
|
163
|
-
* '#buttons',
|
|
164
|
-
* token,
|
|
165
|
-
* {
|
|
166
|
-
* amount_label: 'Total',
|
|
167
|
-
* country: 'DE',
|
|
168
|
-
* }
|
|
169
|
-
* );
|
|
170
|
-
* button.load();
|
|
171
|
-
*/
|
|
172
|
-
load(): void;
|
|
173
|
-
/**
|
|
174
|
-
* Triggers the update process of the wallet, if available.
|
|
175
|
-
* Currently supported by Paypal and ApplePay/GooglePay via MPGS Wallets.
|
|
176
|
-
*
|
|
177
|
-
* @example
|
|
178
|
-
* var button = new WalletButtons(
|
|
179
|
-
* '#buttons',
|
|
180
|
-
* token,
|
|
181
|
-
* {
|
|
182
|
-
* amount_label: 'Total',
|
|
183
|
-
* country: 'DE',
|
|
184
|
-
* }
|
|
185
|
-
* );
|
|
186
|
-
* button.on('update', (data) => {
|
|
187
|
-
* updateChargeAmountInBackend(data);
|
|
188
|
-
* button.update({ success: true });
|
|
189
|
-
* });
|
|
190
|
-
*
|
|
191
|
-
* @example
|
|
192
|
-
* // ApplePay via MPGS example:
|
|
193
|
-
* var button = new WalletButtons(
|
|
194
|
-
* '#buttons',
|
|
195
|
-
* token,
|
|
196
|
-
* {
|
|
197
|
-
* amount_label: 'Total',
|
|
198
|
-
* country: 'AU',
|
|
199
|
-
* ...
|
|
200
|
-
* }
|
|
201
|
-
* );
|
|
202
|
-
* button.on('update', (data) => {
|
|
203
|
-
* updateChargeAmountInBackend(data);
|
|
204
|
-
* button.update({
|
|
205
|
-
* success: true,
|
|
206
|
-
* body: {
|
|
207
|
-
* amount: 15,
|
|
208
|
-
* shipping_options: [
|
|
209
|
-
* {
|
|
210
|
-
* id: "NEW-FreeShip",
|
|
211
|
-
* label: "NEW - Free Shipping",
|
|
212
|
-
* detail: "Arrives in 3 to 5 days",
|
|
213
|
-
* amount: "0.00"
|
|
214
|
-
* },
|
|
215
|
-
* {
|
|
216
|
-
* id: "NEW - FastShip",
|
|
217
|
-
* label: "NEW - Fast Shipping",
|
|
218
|
-
* detail: "Arrives in less than 1 day",
|
|
219
|
-
* amount: "10.00"
|
|
220
|
-
* }
|
|
221
|
-
* ]
|
|
222
|
-
* }
|
|
223
|
-
* });
|
|
224
|
-
* });
|
|
225
|
-
*/
|
|
226
|
-
update(data: IWalletUpdateData): void;
|
|
227
|
-
/**
|
|
228
|
-
* Current method can change environment. By default environment = sandbox.
|
|
229
|
-
* Also we can change domain alias for this environment. By default domain_alias = paydock.com
|
|
230
|
-
* Bear in mind that you must set an environment before calling `button.load()`.
|
|
231
|
-
*
|
|
232
|
-
* @example
|
|
233
|
-
* button.setEnv('production', 'paydock.com');
|
|
234
|
-
* @param {string} env - sandbox, production
|
|
235
|
-
* @param {string} [alias] - Own domain alias
|
|
236
|
-
*/
|
|
237
|
-
setEnv(env: string, alias?: string): void;
|
|
238
|
-
on(eventName: string): Promise<IEventData>;
|
|
239
|
-
on(eventName: string, cb: (data: IEventData) => void): any;
|
|
240
|
-
/**
|
|
241
|
-
* User to subscribe to the no button available event. This method is used after loading when the button is not available.
|
|
242
|
-
* For MPGS, since can have more than one wallet button configured (ApplePay/GooglePay) you will receive a body (({ wallet: WALLET_TYPE.GOOGLE }) or ({ wallet: WALLET_TYPE.APPLE })) indicating which button is unavailable
|
|
243
|
-
* Important: Do not perform thread blocking operations in callback such as window.alert() calls.
|
|
244
|
-
*
|
|
245
|
-
* @example
|
|
246
|
-
* button.onUnavailable(() => {
|
|
247
|
-
* console.log('No wallet buttons available');
|
|
248
|
-
* });
|
|
249
|
-
*
|
|
250
|
-
* @example
|
|
251
|
-
* button.onUnavailable().then(() => console.log('No wallet buttons available'));
|
|
252
|
-
*
|
|
253
|
-
* @example
|
|
254
|
-
* button.onUnavailable(function (data) {console.log('data.wallet :: ', data.wallet)});
|
|
255
|
-
*
|
|
256
|
-
* @param {listener} [handler] - Function to be called when no button is available.
|
|
257
|
-
*/
|
|
258
|
-
onUnavailable(handler?: (data: IEventData) => void): Promise<void> | (() => void);
|
|
259
|
-
/**
|
|
260
|
-
* If the wallet performs some update in the checkout process, the function passed as parameter will be called.
|
|
261
|
-
*
|
|
262
|
-
* NOTE: make sure to call the `button.update(result)` method on handler completion.
|
|
263
|
-
*
|
|
264
|
-
* @example
|
|
265
|
-
* button.onUpdate((data) => {
|
|
266
|
-
* button.update({ success: true });
|
|
267
|
-
* });
|
|
268
|
-
*
|
|
269
|
-
* @example
|
|
270
|
-
* button.onUpdate().then((data) => throw new Error());
|
|
271
|
-
*
|
|
272
|
-
* @param {listener} [handler] - Function to be called when the payment was successful.
|
|
273
|
-
*/
|
|
274
|
-
onUpdate(handler?: (data: IEventData) => void): Promise<unknown> | (() => void);
|
|
275
|
-
/**
|
|
276
|
-
* If the payment was successful, the function passed as parameter will be called.
|
|
277
|
-
* Important: Do not perform thread blocking operations in callback such as window.alert() calls.
|
|
278
|
-
*
|
|
279
|
-
* @example
|
|
280
|
-
* button.onPaymentSuccessful((data) => {
|
|
281
|
-
* console.log('Payment successful!');
|
|
282
|
-
* });
|
|
283
|
-
*
|
|
284
|
-
* @example
|
|
285
|
-
* button.onPaymentSuccessful().then((data) => console.log('Payment successful!'));
|
|
286
|
-
*
|
|
287
|
-
* @param {listener} [handler] - Function to be called when the payment was successful.
|
|
288
|
-
*/
|
|
289
|
-
onPaymentSuccessful(handler?: (data: IEventData) => void): Promise<unknown> | (() => void);
|
|
290
|
-
/**
|
|
291
|
-
* If the payment was left in fraud review, the function passed as parameter will be called.
|
|
292
|
-
* Important: Do not perform thread blocking operations in callback such as window.alert() calls.
|
|
293
|
-
*
|
|
294
|
-
* @example
|
|
295
|
-
* button.onPaymentInReview((data) => {
|
|
296
|
-
* console.log('Payment in fraud review');
|
|
297
|
-
* });
|
|
298
|
-
*
|
|
299
|
-
* @example
|
|
300
|
-
* button.onPaymentInReview().then((data) => console.log('Payment in fraud review'));
|
|
301
|
-
*
|
|
302
|
-
* @param {listener} [handler] - Function to be called when the payment was left in fraud review status.
|
|
303
|
-
*/
|
|
304
|
-
onPaymentInReview(handler?: (err: IEventData) => void): Promise<unknown> | (() => void);
|
|
305
|
-
/**
|
|
306
|
-
* If the payment was not successful, the function passed as parameter will be called.
|
|
307
|
-
* Important: Do not perform thread blocking operations in callback such as window.alert() calls.
|
|
308
|
-
*
|
|
309
|
-
* @example
|
|
310
|
-
* button.onPaymentError((err) => {
|
|
311
|
-
* console.log('Payment not successful');
|
|
312
|
-
* });
|
|
313
|
-
*
|
|
314
|
-
* @example
|
|
315
|
-
* button.onPaymentError().then((err) => console.log('Payment not successful'));
|
|
316
|
-
*
|
|
317
|
-
* @param {listener} [handler] - Function to be called when the payment was not successful.
|
|
318
|
-
*/
|
|
319
|
-
onPaymentError(handler?: (err: IEventData) => void): Promise<unknown> | (() => void);
|
|
320
|
-
private setupServiceCallbacks;
|
|
321
|
-
private setupUnavailableCallback;
|
|
322
|
-
private setupUpdateCallback;
|
|
323
|
-
private setupWalletCallback;
|
|
324
|
-
private setupPaymentCallback;
|
|
325
|
-
private setupPaymentSuccessCallback;
|
|
326
|
-
private setupPaymentInReviewCallback;
|
|
327
|
-
private setupPaymentErrorCallback;
|
|
328
|
-
}
|
|
329
|
-
export { WalletButtons };
|
|
330
|
-
//# sourceMappingURL=wallet-cba-buttons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-cba-buttons.d.ts","sourceRoot":"","sources":["../../src/wallet-buttons/wallet-cba-buttons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAoF,MAAM,qBAAqB,CAAC;AAGpI,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAiB,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAmE,cAAc,EAAgB,MAAM,kBAAkB,CAAC;AAEjI;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC;AAEF;;;;;;KAMK;AACL,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,wBAAwB,GAAG,aAAa,GAAG,kBAAkB,GAAG,GAAG,CAAC;C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;;;;;;;;;;;GAcG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/widget/meta.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-widget.d.ts","sourceRoot":"","sources":["../../src/widget/multi-widget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAe,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,OAAO,EACP,MAAM,EAMN,WAAW,EAEX,MAAM,EACN,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAChE,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,kBAAkB,EAClB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAEhC,MAAM,SAAS,CAAC;AAIjB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,cAAM,WAAW;IAEb,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,OAAO,EAAE,aAAa,EAAE,CAAM;IACxC,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,CAAM;IACtC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC;gBAElB,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE;gBACzC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;gBACtC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE;gBAC7C,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa;IAqCpD;;;;;;;;;;;;;OAaG;IACI,SAAS,CAAC,MAAM,EAAE,OAAO;IAQhC;;;;;;;;;;;;;;;;;OAiBG;IACI,mBAAmB,CAAC,OAAO,CAAC,EAAE,iBAAiB;IA0B/C,QAAQ,CAAC,KAAK,EAAE,MAAM,EA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