@paydock/client-sdk 0.0.3 → 0.1.2-beta
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/README.md +9050 -52
- package/bundles/index.cjs +38558 -0
- package/bundles/index.cjs.d.ts +4777 -0
- package/bundles/index.mjs +38519 -0
- package/bundles/index.mjs.d.ts +4777 -0
- package/bundles/types/api/api-base.d.ts +54 -0
- package/bundles/types/api/api-base.d.ts.map +1 -0
- package/bundles/types/api/api-charge-internal.d.ts +99 -0
- package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
- package/bundles/types/api/api-charge.d.ts +36 -0
- package/bundles/types/api/api-charge.d.ts.map +1 -0
- package/bundles/types/api/api-checkout-internal.d.ts +58 -0
- package/bundles/types/api/api-checkout-internal.d.ts.map +1 -0
- package/bundles/types/api/api-gateway-internal.d.ts +12 -0
- package/bundles/types/api/api-gateway-internal.d.ts.map +1 -0
- package/bundles/types/api/api-internal.d.ts +13 -0
- package/bundles/types/api/api-internal.d.ts.map +1 -0
- package/bundles/types/api/api-service-internal.d.ts +19 -0
- package/bundles/types/api/api-service-internal.d.ts.map +1 -0
- package/bundles/types/api/api.d.ts +55 -0
- package/bundles/types/api/api.d.ts.map +1 -0
- package/bundles/types/api/index.d.ts +2 -0
- package/bundles/types/api/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts +109 -0
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/index.d.ts +2 -0
- package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts +43 -0
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/index.d.ts +2 -0
- package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts +22 -0
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
- package/bundles/types/checkout/checkout.d.ts +107 -0
- package/bundles/types/checkout/checkout.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-handler.d.ts +25 -0
- package/bundles/types/checkout/helpers/instruction-handler.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-module.d.ts +6 -0
- package/bundles/types/checkout/helpers/instruction-module.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts +6 -0
- package/bundles/types/checkout/helpers/instruction-module.decorator.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/instruction.decorator.d.ts +5 -0
- package/bundles/types/checkout/helpers/instruction.decorator.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/resource-helper.d.ts +6 -0
- package/bundles/types/checkout/helpers/resource-helper.d.ts.map +1 -0
- package/bundles/types/checkout/helpers/session-helper.d.ts +8 -0
- package/bundles/types/checkout/helpers/session-helper.d.ts.map +1 -0
- package/bundles/types/checkout/index.d.ts +2 -0
- package/bundles/types/checkout/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/index.d.ts +3 -0
- package/bundles/types/checkout/instructions/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/index.d.ts +4 -0
- package/bundles/types/checkout/instructions/v1/index.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts +20 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts +14 -0
- package/bundles/types/checkout/instructions/v1/instruction.afterpay_wallet_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts +15 -0
- package/bundles/types/checkout/instructions/v1/instruction.bank_account_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts +11 -0
- package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts +19 -0
- package/bundles/types/checkout/instructions/v1/instruction.card_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts +20 -0
- package/bundles/types/checkout/instructions/v1/instruction.disable_payment_method_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts +21 -0
- package/bundles/types/checkout/instructions/v1/instruction.fraud_service.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts +26 -0
- package/bundles/types/checkout/instructions/v1/instruction.generic.show_message.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.merchant_event.emit.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts +18 -0
- package/bundles/types/checkout/instructions/v1/instruction.payment_methods.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts +21 -0
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts +19 -0
- package/bundles/types/checkout/instructions/v1/instruction.zip_checkout_form.show.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/additionals.d.ts +3 -0
- package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts +9 -0
- package/bundles/types/checkout/layout-widgets/default-variables.enum.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/message.d.ts +34 -0
- package/bundles/types/checkout/layout-widgets/message.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +13 -0
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-methods.d.ts +55 -0
- package/bundles/types/checkout/layout-widgets/payment-methods.d.ts.map +1 -0
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts +3 -0
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts.map +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts +36 -0
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts +13 -0
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-button.d.ts +139 -0
- package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-button.interface.d.ts +49 -0
- package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts +27 -0
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
- package/bundles/types/checkout-button/index.d.ts +85 -0
- package/bundles/types/checkout-button/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts +21 -0
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts +6 -0
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/base.runner.d.ts +18 -0
- package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts +39 -0
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/index.d.ts +9 -0
- package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/popup.runner.d.ts +35 -0
- package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts +17 -0
- package/bundles/types/checkout-button/runner/redirect.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/index.d.ts +4 -0
- package/bundles/types/checkout-button/zipmoney/index.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +49 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +39 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +26 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts +4 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts +10 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts +12 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
- package/bundles/types/components/ability-guard.d.ts +12 -0
- package/bundles/types/components/ability-guard.d.ts.map +1 -0
- package/bundles/types/components/background.d.ts +43 -0
- package/bundles/types/components/background.d.ts.map +1 -0
- package/bundles/types/components/container.d.ts +12 -0
- package/bundles/types/components/container.d.ts.map +1 -0
- package/bundles/types/components/dispatcher.d.ts +14 -0
- package/bundles/types/components/dispatcher.d.ts.map +1 -0
- package/bundles/types/components/element-style.d.ts +17 -0
- package/bundles/types/components/element-style.d.ts.map +1 -0
- package/bundles/types/components/flypay-iframe-event.d.ts +15 -0
- package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
- package/{lib/widget/components/form-Interceptor.d.ts → bundles/types/components/form-interceptor.d.ts} +2 -1
- package/bundles/types/components/form-interceptor.d.ts.map +1 -0
- package/bundles/types/components/http-core.d.ts +14 -0
- package/bundles/types/components/http-core.d.ts.map +1 -0
- package/bundles/types/components/iframe-event.d.ts +72 -0
- package/bundles/types/components/iframe-event.d.ts.map +1 -0
- package/bundles/types/components/iframe.d.ts +20 -0
- package/bundles/types/components/iframe.d.ts.map +1 -0
- package/bundles/types/components/link.d.ts +27 -0
- package/bundles/types/components/link.d.ts.map +1 -0
- package/bundles/types/components/loader.d.ts +5 -0
- package/bundles/types/components/loader.d.ts.map +1 -0
- package/bundles/types/components/param.d.ts +430 -0
- package/bundles/types/components/param.d.ts.map +1 -0
- package/bundles/types/components/popup.d.ts +30 -0
- package/bundles/types/components/popup.d.ts.map +1 -0
- package/bundles/types/components/storage-dispatcher.d.ts +31 -0
- package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
- package/bundles/types/components/trigger.d.ts +48 -0
- package/bundles/types/components/trigger.d.ts.map +1 -0
- package/bundles/types/components/vault-display-iframe-event.d.ts +5 -0
- package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
- package/bundles/types/components/wallet-background.d.ts +13 -0
- package/bundles/types/components/wallet-background.d.ts.map +1 -0
- package/bundles/types/components/wallet-trigger.d.ts +19 -0
- package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.cba.d.ts +30 -0
- package/bundles/types/configs/env/environment.cba.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.interface.d.ts +12 -0
- package/bundles/types/configs/env/environment.interface.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.paydock.d.ts +49 -0
- package/bundles/types/configs/env/environment.paydock.d.ts.map +1 -0
- package/bundles/types/configs/env/index.d.ts +3 -0
- package/bundles/types/configs/env/index.d.ts.map +1 -0
- package/bundles/types/configs/sdk.d.ts +10 -0
- package/bundles/types/configs/sdk.d.ts.map +1 -0
- package/bundles/types/constants/validators.d.ts +45 -0
- package/bundles/types/constants/validators.d.ts.map +1 -0
- package/bundles/types/external-checkout/builder.d.ts +29 -0
- package/bundles/types/external-checkout/builder.d.ts.map +1 -0
- package/bundles/types/external-checkout/checker.d.ts +14 -0
- package/bundles/types/external-checkout/checker.d.ts.map +1 -0
- package/bundles/types/external-checkout/index.d.ts +3 -0
- package/bundles/types/external-checkout/index.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts +9 -0
- package/bundles/types/fraud-prevention/fraud-prevention.constants.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts +42 -0
- package/bundles/types/fraud-prevention/fraud-prevention.events.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts +163 -0
- package/bundles/types/fraud-prevention/fraud-prevention.service.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/index.d.ts +3 -0
- package/bundles/types/fraud-prevention/index.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts +79 -0
- package/bundles/types/fraud-prevention/providers/forter/forter-device-agent.service.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts +2 -0
- package/bundles/types/fraud-prevention/providers/forter/templates/forter-snippet-2025-02-06t14:19:34z.template.d.ts.map +1 -0
- package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts +20 -0
- package/bundles/types/fraud-prevention/resources/find-service-config.repository.d.ts.map +1 -0
- package/bundles/types/helper/access-token.d.ts +26 -0
- package/bundles/types/helper/access-token.d.ts.map +1 -0
- package/bundles/types/helper/browser.d.ts +17 -0
- package/bundles/types/helper/browser.d.ts.map +1 -0
- package/bundles/types/helper/deep-clone.d.ts +13 -0
- package/bundles/types/helper/deep-clone.d.ts.map +1 -0
- package/bundles/types/helper/element-id.d.ts +5 -0
- package/bundles/types/helper/element-id.d.ts.map +1 -0
- package/bundles/types/helper/event-emitter.d.ts +7 -0
- package/bundles/types/helper/event-emitter.d.ts.map +1 -0
- package/bundles/types/helper/event-error.d.ts +55 -0
- package/bundles/types/helper/event-error.d.ts.map +1 -0
- package/bundles/types/helper/event.d.ts +10 -0
- package/bundles/types/helper/event.d.ts.map +1 -0
- package/bundles/types/helper/ms.d.ts +6 -0
- package/bundles/types/helper/ms.d.ts.map +1 -0
- package/{lib/widget → bundles/types}/helper/object.d.ts +1 -0
- package/bundles/types/helper/object.d.ts.map +1 -0
- package/bundles/types/helper/process-event-error.d.ts +9 -0
- package/bundles/types/helper/process-event-error.d.ts.map +1 -0
- package/bundles/types/helper/spiner.util.d.ts +6 -0
- package/bundles/types/helper/spiner.util.d.ts.map +1 -0
- package/bundles/types/helper/url.d.ts +5 -0
- package/bundles/types/helper/url.d.ts.map +1 -0
- package/bundles/types/helper/uuid.d.ts +6 -0
- package/bundles/types/helper/uuid.d.ts.map +1 -0
- package/bundles/types/index-cba.d.ts +52 -0
- package/bundles/types/index-cba.d.ts.map +1 -0
- package/bundles/types/index.d.ts +52 -0
- package/bundles/types/index.d.ts.map +1 -0
- package/bundles/types/payment-source/builder.d.ts +23 -0
- package/bundles/types/payment-source/builder.d.ts.map +1 -0
- package/bundles/types/payment-source/index.d.ts +2 -0
- package/bundles/types/payment-source/index.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts +181 -0
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/index.d.ts +35 -0
- package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/interfaces.d.ts +12 -0
- package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts +93 -0
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/index.d.ts +23 -0
- package/bundles/types/paypal-data-collector/index.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts +58 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts +21 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.interfaces.d.ts.map +1 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts +17 -0
- package/bundles/types/paypal-data-collector/paypal-data-collector.service.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/index.d.ts +61 -0
- package/bundles/types/paypal-save-payment-source/index.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts +85 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts +83 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.interfaces.d.ts.map +1 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts +35 -0
- package/bundles/types/paypal-save-payment-source/paypal-save-payment-source.service.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts +31 -0
- package/bundles/types/secure-remote-commerce/click-to-pay-secure-remote-commerce.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/index.d.ts +105 -0
- package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/interfaces.d.ts +156 -0
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts +2 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/index.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts +25 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts +11 -0
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts +86 -0
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
- package/bundles/types/shared/device/device-info.service.d.ts +13 -0
- package/bundles/types/shared/device/device-info.service.d.ts.map +1 -0
- package/bundles/types/shared/http/authorization-strategy.d.ts +41 -0
- package/bundles/types/shared/http/authorization-strategy.d.ts.map +1 -0
- package/bundles/types/shared/http/http-fetcher.d.ts +29 -0
- package/bundles/types/shared/http/http-fetcher.d.ts.map +1 -0
- package/bundles/types/shared/http/http-fetcher.factory.d.ts +17 -0
- package/bundles/types/shared/http/http-fetcher.factory.d.ts.map +1 -0
- package/bundles/types/shared/http/http-request.d.ts +14 -0
- package/bundles/types/shared/http/http-request.d.ts.map +1 -0
- package/bundles/types/shared/http/http-response.dto.d.ts +19 -0
- package/bundles/types/shared/http/http-response.dto.d.ts.map +1 -0
- package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts +12 -0
- package/bundles/types/shared/services/configuration-validation/configuration-validation.d.ts.map +1 -0
- package/bundles/types/shared/services/configuration-validation/types.d.ts +73 -0
- package/bundles/types/shared/services/configuration-validation/types.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.agent.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts +66 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.config.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts +14 -0
- package/bundles/types/shared/services/instrumentation/instrumentation.types.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/repositories/action.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts +23 -0
- package/bundles/types/shared/services/instrumentation/repositories/error.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts +15 -0
- package/bundles/types/shared/services/instrumentation/repositories/event.repository.d.ts.map +1 -0
- package/bundles/types/shared/services/instrumentation/repositories/index.d.ts +4 -0
- package/bundles/types/shared/services/instrumentation/repositories/index.d.ts.map +1 -0
- package/bundles/types/shared/shared.constants.d.ts +6 -0
- package/bundles/types/shared/shared.constants.d.ts.map +1 -0
- package/bundles/types/vault-display-widget/index.d.ts +14 -0
- package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts +69 -0
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/enums.d.ts +12 -0
- package/bundles/types/wallet-buttons/enums.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts +6 -0
- package/bundles/types/wallet-buttons/helpers/flypay-v2.helper.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/index-cba.d.ts +2 -0
- package/bundles/types/wallet-buttons/index-cba.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/index.d.ts +138 -0
- package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/interfaces.d.ts +128 -0
- package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts +321 -0
- package/bundles/types/wallet-buttons/wallet-buttons.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts +330 -0
- package/bundles/types/wallet-buttons/wallet-cba-buttons.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts +24 -0
- package/bundles/types/wallet-buttons/wallet-services/afterpay.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts +49 -0
- package/bundles/types/wallet-buttons/wallet-services/apple.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts +28 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay-v2.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts +26 -0
- package/bundles/types/wallet-buttons/wallet-services/flypay.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts +35 -0
- package/bundles/types/wallet-buttons/wallet-services/google.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts +8 -0
- package/bundles/types/wallet-buttons/wallet-services/mastercard.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts +26 -0
- package/bundles/types/wallet-buttons/wallet-services/paypal.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts +19 -0
- package/bundles/types/wallet-buttons/wallet-services/stripe.wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts +131 -0
- package/bundles/types/wallet-buttons/wallet-services/wallet-service.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts +252 -0
- package/bundles/types/wallet-buttons-express/base.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts +12 -0
- package/bundles/types/wallet-buttons-express/enum/event.enum.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/index.d.ts +245 -0
- package/bundles/types/wallet-buttons-express/index.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/interfaces/base-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts +44 -0
- package/bundles/types/wallet-buttons-express/interfaces/charge-wallet-token-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-click-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-close-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-error-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-error-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-in-review-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts +11 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-payment-successful-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-address-change-event-response.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts +13 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts +9 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-shipping-option-change-event-response.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/interfaces/on-unavailable-event-data.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts +22 -0
- package/bundles/types/wallet-buttons-express/interfaces/wallet-capture-request.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts +58 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/apple-pay.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-button-style.constant.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/constants/apple-pay-events.constant.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts +22 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/interfaces/apple-pay-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-style.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts +2 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-button-type.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts +5 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-contact-editing-mode.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-data.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts +21 -0
- package/bundles/types/wallet-buttons-express/services/apple-pay/types/apple-pay-shipping-method.type.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts +4 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-gateway-config.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts +164 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-sdk.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts +32 -0
- package/bundles/types/wallet-buttons-express/services/paypal/interfaces/paypal-wallet-meta.interface.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts +53 -0
- package/bundles/types/wallet-buttons-express/services/paypal/paypal.wallet-button-express.d.ts.map +1 -0
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts +6 -0
- package/bundles/types/wallet-buttons-express/types/shipping-event-to-response.type.d.ts.map +1 -0
- package/bundles/types/widget/configuration.d.ts +165 -0
- package/bundles/types/widget/configuration.d.ts.map +1 -0
- package/bundles/types/widget/html-multi-widget.d.ts +337 -0
- package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
- package/bundles/types/widget/html-widget.d.ts +107 -0
- package/bundles/types/widget/html-widget.d.ts.map +1 -0
- package/bundles/types/widget/index.d.ts +132 -0
- package/bundles/types/widget/index.d.ts.map +1 -0
- package/bundles/types/widget/meta.d.ts +8 -0
- package/bundles/types/widget/meta.d.ts.map +1 -0
- package/bundles/types/widget/multi-widget.d.ts +241 -0
- package/bundles/types/widget/multi-widget.d.ts.map +1 -0
- package/bundles/types/widget/style.d.ts +177 -0
- package/bundles/types/widget/style.d.ts.map +1 -0
- package/bundles/widget.umd.js +38429 -767
- package/bundles/widget.umd.js.d.ts +4777 -0
- package/bundles/widget.umd.js.min.d.ts +4777 -0
- package/bundles/widget.umd.min.js +1 -0
- package/docs/api-canvas3ds.md +158 -0
- package/docs/api-checkout-button.md +912 -0
- package/docs/api-examples.md +65 -0
- package/docs/api-ps-widget.md +585 -0
- package/docs/api-vault-display.md +94 -0
- package/docs/api-widget.md +2542 -0
- package/docs/api-wrapper.md +45 -0
- package/docs/canvas3ds-examples.md +242 -0
- package/docs/cba-header.md +13 -0
- package/docs/cba-license.md +2 -0
- package/docs/checkout-examples.md +248 -0
- package/docs/click-to-pay-examples.md +231 -0
- package/docs/click-to-pay.md +337 -0
- package/docs/fraud-prevention-examples.md +154 -0
- package/docs/fraud-prevention.md +0 -0
- package/docs/header.md +15 -0
- package/docs/html/layout.html +79 -0
- package/docs/html/marked.js +23 -0
- package/docs/html/style.css +365 -0
- package/docs/install/npm.content.md +16 -0
- package/docs/install/npm.example.md +24 -0
- package/docs/install/umd.content.md +20 -0
- package/docs/install/umd.example.md +6 -0
- package/docs/install.md +43 -0
- package/docs/install.readme.t.md +17 -0
- package/docs/install.slate.t.md +17 -0
- package/docs/license.md +2 -0
- package/docs/partials/header.hbs +3 -0
- package/docs/paypal-data-collector-examples.md +59 -0
- package/docs/paypal-data-collector.md +149 -0
- package/docs/paypal-save-payment-source-examples.md +63 -0
- package/docs/paypal-save-payment-source.md +256 -0
- package/docs/ps-examples.md +129 -0
- package/docs/vault-display-example.md +132 -0
- package/docs/wallet-buttons-examples.md +638 -0
- package/docs/wallet-buttons-express-examples.md +201 -0
- package/docs/wallet-buttons-express.md +1076 -0
- package/docs/wallet-buttons.md +625 -0
- package/docs/wallet-cba-buttons-examples.md +388 -0
- package/docs/widget-examples.md +271 -0
- package/examples/html-widget/actions.html +47 -0
- package/examples/html-widget/events.html +2 -2
- package/examples/html-widget/form.html +2 -3
- package/examples/html-widget/html-styles.html +29 -0
- package/examples/html-widget/insert-input.html +2 -2
- package/examples/html-widget/optional-settings.html +30 -0
- package/examples/html-widget/simple.html +3 -3
- package/examples/html-widget/styles.html +3 -3
- package/examples/multi-html-widget/extend.html +7 -2
- package/examples/multi-html-widget/simple.html +6 -8
- package/package.json +225 -55
- package/slate.md +2218 -0
- package/.npmignore +0 -15
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -3
- package/lib/index.js.map +0 -1
- package/lib/widget/components/container.d.ts +0 -9
- package/lib/widget/components/container.js +0 -18
- package/lib/widget/components/container.js.map +0 -1
- package/lib/widget/components/env.d.ts +0 -19
- package/lib/widget/components/env.js +0 -33
- package/lib/widget/components/env.js.map +0 -1
- package/lib/widget/components/event.d.ts +0 -26
- package/lib/widget/components/event.js +0 -49
- package/lib/widget/components/event.js.map +0 -1
- package/lib/widget/components/form-Interceptor.js +0 -38
- package/lib/widget/components/form-Interceptor.js.map +0 -1
- package/lib/widget/components/iframe.d.ts +0 -11
- package/lib/widget/components/iframe.js +0 -31
- package/lib/widget/components/iframe.js.map +0 -1
- package/lib/widget/components/link.d.ts +0 -13
- package/lib/widget/components/link.js +0 -37
- package/lib/widget/components/link.js.map +0 -1
- package/lib/widget/components/param.d.ts +0 -39
- package/lib/widget/components/param.js +0 -21
- package/lib/widget/components/param.js.map +0 -1
- package/lib/widget/components/trigger.d.ts +0 -19
- package/lib/widget/components/trigger.js +0 -22
- package/lib/widget/components/trigger.js.map +0 -1
- package/lib/widget/configuration.d.ts +0 -59
- package/lib/widget/configuration.js +0 -134
- package/lib/widget/configuration.js.map +0 -1
- package/lib/widget/helper/event.d.ts +0 -8
- package/lib/widget/helper/event.js +0 -15
- package/lib/widget/helper/event.js.map +0 -1
- package/lib/widget/helper/object.js +0 -6
- package/lib/widget/helper/object.js.map +0 -1
- package/lib/widget/helper/url.d.ts +0 -3
- package/lib/widget/helper/url.js +0 -8
- package/lib/widget/helper/url.js.map +0 -1
- package/lib/widget/html-multi-widget.d.ts +0 -56
- package/lib/widget/html-multi-widget.js +0 -89
- package/lib/widget/html-multi-widget.js.map +0 -1
- package/lib/widget/html-widget.d.ts +0 -37
- package/lib/widget/html-widget.js +0 -50
- package/lib/widget/html-widget.js.map +0 -1
- package/lib/widget/index.d.ts +0 -5
- package/lib/widget/index.js +0 -6
- package/lib/widget/index.js.map +0 -1
- package/lib/widget/multi-widget.d.ts +0 -22
- package/lib/widget/multi-widget.js +0 -83
- package/lib/widget/multi-widget.js.map +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deep clones a value.
|
|
3
|
+
*
|
|
4
|
+
* @param value - The value to clone.
|
|
5
|
+
* @param visited - A WeakMap to track visited objects.
|
|
6
|
+
* @returns A deep clone of the value.
|
|
7
|
+
*
|
|
8
|
+
* Warning: Only own enumerable properties of objects are cloned. Thus, not suitable for cloning custom instances with getters, setters, methods or static properties.
|
|
9
|
+
* Warning: Functions are cloned by reference.
|
|
10
|
+
* Warning: Circular references are cloned by reference.
|
|
11
|
+
*/
|
|
12
|
+
export declare function deepClone<T = any>(value: T, visited?: WeakMap<object, any>): T;
|
|
13
|
+
//# sourceMappingURL=deep-clone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deep-clone.d.ts","sourceRoot":"","sources":["../../src/helper/deep-clone.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,uBAA6B,GAAG,CAAC,CA+DpF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"element-id.d.ts","sourceRoot":"","sources":["../../src/helper/element-id.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,WAAW,WAE1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class EventEmitter {
|
|
2
|
+
private events;
|
|
3
|
+
emit<T>(eventName: string, data?: T): void;
|
|
4
|
+
emitWithResult<T, R>(eventName: string, data?: T): Promise<R[]>;
|
|
5
|
+
subscribe<T>(eventName: string, handler: (data: T) => void): () => void;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=event-emitter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-emitter.d.ts","sourceRoot":"","sources":["../../src/helper/event-emitter.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAErB,OAAO,CAAC,MAAM,CAAiB;IAExB,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;IASnC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAW/D,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,SAMlD,IAAI;CAItB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { PURPOSE } from "../widget";
|
|
2
|
+
export declare const ERROR_CATEGORY: {
|
|
3
|
+
readonly CONFIGURATION: "configuration";
|
|
4
|
+
readonly IDENTITY: "identity_access_management";
|
|
5
|
+
readonly INTERNAL: "internal";
|
|
6
|
+
readonly PROCESS: "process";
|
|
7
|
+
readonly RESOURCE: "resource";
|
|
8
|
+
readonly VALIDATION: "validation";
|
|
9
|
+
};
|
|
10
|
+
export type ErrorCategory = (typeof ERROR_CATEGORY)[keyof typeof ERROR_CATEGORY];
|
|
11
|
+
export declare const ERROR_CAUSE: {
|
|
12
|
+
readonly ABORTED: "aborted";
|
|
13
|
+
readonly ACCESS_FORBIDDEN: "access_forbidden";
|
|
14
|
+
readonly ALREADY_EXISTS: "already_exists";
|
|
15
|
+
readonly CANCELED: "canceled";
|
|
16
|
+
readonly INVALID_CONFIGURATION: "invalid_configuration";
|
|
17
|
+
readonly INVALID_INPUT: "invalid_input";
|
|
18
|
+
readonly NOT_FOUND: "not_found";
|
|
19
|
+
readonly NOT_IMPLEMENTED: "not_implemented";
|
|
20
|
+
readonly RATE_LIMITED: "rate_limited";
|
|
21
|
+
readonly SERVER_BUSY: "server_busy";
|
|
22
|
+
readonly SERVICE_UNREACHABLE: "service_unreachable";
|
|
23
|
+
readonly UNAUTHORIZED: "unauthorized";
|
|
24
|
+
readonly UNKNOWN: "unknown_error";
|
|
25
|
+
readonly UNPROCESSABLE_ENTITY: "unprocessable_entity";
|
|
26
|
+
};
|
|
27
|
+
export type ErrorCause = (typeof ERROR_CAUSE)[keyof typeof ERROR_CAUSE];
|
|
28
|
+
export interface ErrorDetails {
|
|
29
|
+
cause: ErrorCause;
|
|
30
|
+
contextId: string;
|
|
31
|
+
message: string;
|
|
32
|
+
timestamp: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IEventError {
|
|
35
|
+
cause: ErrorCause;
|
|
36
|
+
category: ErrorCategory;
|
|
37
|
+
retryable: boolean;
|
|
38
|
+
details: ErrorDetails;
|
|
39
|
+
}
|
|
40
|
+
export declare class EventError extends Error implements IEventError {
|
|
41
|
+
readonly cause: ErrorCause;
|
|
42
|
+
readonly category: ErrorCategory;
|
|
43
|
+
readonly retryable: boolean;
|
|
44
|
+
readonly details: ErrorDetails;
|
|
45
|
+
purpose: PURPOSE;
|
|
46
|
+
constructor(cause: ErrorCause, category: ErrorCategory, retryable: boolean, details: ErrorDetails);
|
|
47
|
+
static create(cause: ErrorCause, message: string, contextId?: string, retryable?: boolean): EventError;
|
|
48
|
+
toJSON(): {
|
|
49
|
+
error: IEventError;
|
|
50
|
+
};
|
|
51
|
+
setContextId(contextId: string): void;
|
|
52
|
+
setPurpose(purpose: PURPOSE): void;
|
|
53
|
+
}
|
|
54
|
+
export declare function getErrorCategory(cause: ErrorCause): ErrorCategory;
|
|
55
|
+
//# sourceMappingURL=event-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-error.d.ts","sourceRoot":"","sources":["../../src/helper/event-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEjF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;CAed,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAExE,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;CACzB;AAED,qBAAa,UAAW,SAAQ,KAAM,YAAW,WAAW;IACxD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;gBAEZ,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY;IAWjG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,SAAK,EAAE,SAAS,UAAQ,GAAG,UAAU;IAazF,MAAM,IAAI;QAAE,KAAK,EAAE,WAAW,CAAA;KAAE;IAWhC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAIrC,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;CAG5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,UAAU,GAAG,aAAa,CA8BjE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const DATE_TYPE: {
|
|
2
|
+
PAYMENT_SOURCE: string;
|
|
3
|
+
REF_ID: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class Event {
|
|
6
|
+
static insertToInput<T>(selector: any, dataType: any, eventData: T): void;
|
|
7
|
+
static subscribe(name: string, subject: Element, listener: (event: Event) => void): any;
|
|
8
|
+
static subscribe(name: string, subject: Window, listener: (event: Event) => void): any;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/helper/event.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,qBAAa,KAAK;WACA,aAAa,CAAC,CAAC,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA,EAAE,SAAS,EAAE,CAAC,GAAG,IAAI;WAWxD,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;WAC1E,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;CAQ1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ms.d.ts","sourceRoot":"","sources":["../../src/helper/ms.ts"],"names":[],"mappings":"AAAA,qBAAa,EAAE;WAEG,UAAU;WAyBV,cAAc;WAKd,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,GAAE,MAAU;CAOnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/helper/object.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;WACP,MAAM,CAAC,MAAM,EAAE,MAAM;CAGtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process-event-error.d.ts","sourceRoot":"","sources":["../../src/helper/process-event-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,wBAAgB,iBAAiB,CAAC,CAAC,SAAS;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC3E,GAAG,EAAE,CAAC,GACP;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAwCxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spiner.util.d.ts","sourceRoot":"","sources":["../../src/helper/spiner.util.ts"],"names":[],"mappings":"AAAA,qBAAa,OAAO;IAChB,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAIhC,MAAM,CAAC,IAAI;IAKX,MAAM,CAAC,IAAI;CAId"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../src/helper/url.ts"],"names":[],"mappings":"AAAA,qBAAa,GAAG;WACE,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;WAMjE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,MAAM;CAGrF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../src/helper/uuid.ts"],"names":[],"mappings":"AACA,qBAAa,IAAI;WAEE,QAAQ;IAUvB,OAAO,CAAC,MAAM,CAAC,IAAI;IAQnB,OAAO,CAAC,MAAM,CAAC,MAAM;CAKxB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export * from './api';
|
|
2
|
+
export * from './canvas-3ds';
|
|
3
|
+
export * from './checkout-button';
|
|
4
|
+
export * from './external-checkout';
|
|
5
|
+
export * from './fraud-prevention';
|
|
6
|
+
export * from './payment-source-widget';
|
|
7
|
+
export * from './payment-source';
|
|
8
|
+
export * from './secure-remote-commerce';
|
|
9
|
+
export * from './checkout/index';
|
|
10
|
+
export * from './wallet-buttons';
|
|
11
|
+
export * from './wallet-buttons-express';
|
|
12
|
+
export * from './checkout/index';
|
|
13
|
+
export * from './widget';
|
|
14
|
+
export * from './paypal-data-collector';
|
|
15
|
+
export * from './paypal-save-payment-source';
|
|
16
|
+
import { WalletButtons } from './wallet-buttons';
|
|
17
|
+
import { AfterpayCheckoutButton, PaypalCheckoutButton, ZipmoneyCheckoutButton } from './checkout-button';
|
|
18
|
+
import { PaymentSourceWidget } from './payment-source-widget';
|
|
19
|
+
import { VaultDisplayWidget } from './vault-display-widget';
|
|
20
|
+
import { ExternalCheckoutBuilder, ExternalCheckoutChecker } from './external-checkout';
|
|
21
|
+
import { ClickToPay } from './secure-remote-commerce';
|
|
22
|
+
import { PaymentSourceBuilder } from './payment-source';
|
|
23
|
+
import { Canvas3ds } from './canvas-3ds';
|
|
24
|
+
import { HtmlMultiWidget, HtmlWidget, MultiWidget } from './widget';
|
|
25
|
+
import { PayPalDataCollector } from './paypal-data-collector';
|
|
26
|
+
import { PayPalSavePaymentSourceWidget } from './paypal-save-payment-source';
|
|
27
|
+
declare global {
|
|
28
|
+
interface Window {
|
|
29
|
+
paydock: {
|
|
30
|
+
WalletButtons: typeof WalletButtons;
|
|
31
|
+
PaypalCheckoutButton: typeof PaypalCheckoutButton;
|
|
32
|
+
AfterpayCheckoutButton: typeof AfterpayCheckoutButton;
|
|
33
|
+
ZipmoneyCheckoutButton: typeof ZipmoneyCheckoutButton;
|
|
34
|
+
PaymentSourceWidget: typeof PaymentSourceWidget;
|
|
35
|
+
VaultDisplayWidget: typeof VaultDisplayWidget;
|
|
36
|
+
ClickToPay: typeof ClickToPay;
|
|
37
|
+
ExternalCheckoutBuilder: typeof ExternalCheckoutBuilder;
|
|
38
|
+
ExternalCheckoutChecker: typeof ExternalCheckoutChecker;
|
|
39
|
+
PaymentSourceBuilder: typeof PaymentSourceBuilder;
|
|
40
|
+
Canvas3DS: typeof Canvas3ds;
|
|
41
|
+
MultiWidget: typeof MultiWidget;
|
|
42
|
+
HtmlMultiWidget: typeof HtmlMultiWidget;
|
|
43
|
+
HtmlWidget: typeof HtmlWidget;
|
|
44
|
+
PayPalDataCollector: typeof PayPalDataCollector;
|
|
45
|
+
PayPalSavePaymentSource: typeof PayPalSavePaymentSourceWidget;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export { ELEMENT, FORM_FIELD, STYLE, SUPPORTED_CARD_TYPES, TEXT, VAULT_DISPLAY_STYLE, type IPayPalMeta, type IStyles, type ITexts, type VaultDisplayStyle, IWalletMeta, } from './components/param';
|
|
50
|
+
export { EVENT } from './components/iframe-event';
|
|
51
|
+
export { TRIGGER } from './components/trigger';
|
|
52
|
+
//# sourceMappingURL=index-cba.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-cba.d.ts","sourceRoot":"","sources":["../src/index-cba.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,OAAO,EAAE;YACL,aAAa,EAAE,OAAO,aAAa,CAAC;YACpC,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;YAClD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;YACtD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;YACtD,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;YAChD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;YAC9C,UAAU,EAAE,OAAO,UAAU,CAAC;YAC9B,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;YACxD,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;YACxD,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;YAClD,SAAS,EAAE,OAAO,SAAS,CAAC;YAC5B,WAAW,EAAE,OAAO,WAAW,CAAC;YAChC,eAAe,EAAE,OAAO,eAAe,CAAC;YACxC,UAAU,EAAE,OAAO,UAAU,CAAC;YAC9B,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;YAChD,uBAAuB,EAAE,OAAO,6BAA6B,CAAC;SACjE,CAAC;KACL;CACJ;AAED,OAAO,EACL,OAAO,EACP,UAAU,EACV,KAAK,EACL,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export * from './api';
|
|
2
|
+
export * from './canvas-3ds';
|
|
3
|
+
export * from './checkout-button';
|
|
4
|
+
export * from './external-checkout';
|
|
5
|
+
export * from './fraud-prevention';
|
|
6
|
+
export * from './payment-source-widget';
|
|
7
|
+
export * from './payment-source';
|
|
8
|
+
export * from './secure-remote-commerce';
|
|
9
|
+
export * from './vault-display-widget';
|
|
10
|
+
export * from './wallet-buttons';
|
|
11
|
+
export * from './widget';
|
|
12
|
+
export * from './checkout/index';
|
|
13
|
+
export * from './wallet-buttons-express';
|
|
14
|
+
export * from './paypal-data-collector';
|
|
15
|
+
export * from './paypal-save-payment-source';
|
|
16
|
+
import { WalletButtons } from './wallet-buttons';
|
|
17
|
+
import { AfterpayCheckoutButton, PaypalCheckoutButton, ZipmoneyCheckoutButton } from './checkout-button';
|
|
18
|
+
import { PaymentSourceWidget } from './payment-source-widget';
|
|
19
|
+
import { VaultDisplayWidget } from './vault-display-widget';
|
|
20
|
+
import { ExternalCheckoutBuilder, ExternalCheckoutChecker } from './external-checkout';
|
|
21
|
+
import { ClickToPay } from './secure-remote-commerce';
|
|
22
|
+
import { PaymentSourceBuilder } from './payment-source';
|
|
23
|
+
import { Canvas3ds } from './canvas-3ds';
|
|
24
|
+
import { HtmlMultiWidget, HtmlWidget, MultiWidget } from './widget';
|
|
25
|
+
import { PayPalDataCollector } from './paypal-data-collector';
|
|
26
|
+
import { PayPalSavePaymentSourceWidget } from './paypal-save-payment-source';
|
|
27
|
+
declare global {
|
|
28
|
+
interface Window {
|
|
29
|
+
paydock: {
|
|
30
|
+
WalletButtons: typeof WalletButtons;
|
|
31
|
+
PaypalCheckoutButton: typeof PaypalCheckoutButton;
|
|
32
|
+
AfterpayCheckoutButton: typeof AfterpayCheckoutButton;
|
|
33
|
+
ZipmoneyCheckoutButton: typeof ZipmoneyCheckoutButton;
|
|
34
|
+
PaymentSourceWidget: typeof PaymentSourceWidget;
|
|
35
|
+
VaultDisplayWidget: typeof VaultDisplayWidget;
|
|
36
|
+
ClickToPay: typeof ClickToPay;
|
|
37
|
+
ExternalCheckoutBuilder: typeof ExternalCheckoutBuilder;
|
|
38
|
+
ExternalCheckoutChecker: typeof ExternalCheckoutChecker;
|
|
39
|
+
PaymentSourceBuilder: typeof PaymentSourceBuilder;
|
|
40
|
+
Canvas3DS: typeof Canvas3ds;
|
|
41
|
+
MultiWidget: typeof MultiWidget;
|
|
42
|
+
HtmlMultiWidget: typeof HtmlMultiWidget;
|
|
43
|
+
HtmlWidget: typeof HtmlWidget;
|
|
44
|
+
PayPalDataCollector: typeof PayPalDataCollector;
|
|
45
|
+
PayPalSavePaymentSource: typeof PayPalSavePaymentSourceWidget;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export { ELEMENT, FORM_FIELD, STYLE, SUPPORTED_CARD_TYPES, TEXT, VAULT_DISPLAY_STYLE, type IPayPalMeta, type IStyles, type ITexts, type VaultDisplayStyle, type IWalletMeta, } from './components/param';
|
|
50
|
+
export { EVENT } from './components/iframe-event';
|
|
51
|
+
export { TRIGGER } from './components/trigger';
|
|
52
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,OAAO,EAAE;YACL,aAAa,EAAE,OAAO,aAAa,CAAC;YACpC,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;YAClD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;YACtD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;YACtD,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;YAChD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;YAC9C,UAAU,EAAE,OAAO,UAAU,CAAC;YAC9B,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;YACxD,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;YACxD,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;YAClD,SAAS,EAAE,OAAO,SAAS,CAAC;YAC5B,WAAW,EAAE,OAAO,WAAW,CAAC;YAChC,eAAe,EAAE,OAAO,eAAe,CAAC;YACxC,UAAU,EAAE,OAAO,UAAU,CAAC;YAC9B,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;YAChD,uBAAuB,EAAE,OAAO,6BAA6B,CAAC;SACjE,CAAC;KACL;CACJ;AAED,OAAO,EACL,OAAO,EACP,UAAU,EACV,KAAK,EACL,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,WAAW,GACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpCore } from "../components/http-core";
|
|
2
|
+
export declare const TYPE: {
|
|
3
|
+
EXTERNAL_CHECKOUT_TOKEN: string;
|
|
4
|
+
CHECKOUT_TOKEN: string;
|
|
5
|
+
BANK_ACCOUNT: string;
|
|
6
|
+
CARD: string;
|
|
7
|
+
};
|
|
8
|
+
export interface IBody {
|
|
9
|
+
gateway_id: string;
|
|
10
|
+
type: string;
|
|
11
|
+
checkout_token?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class Builder extends HttpCore {
|
|
14
|
+
private body;
|
|
15
|
+
constructor(gatewayID: string, checkoutToken: string, type: string);
|
|
16
|
+
constructor(gatewayID: string, externalCheckoutToken: string, type: string);
|
|
17
|
+
constructor(gatewayID: string, card: any, type: string);
|
|
18
|
+
constructor(gatewayID: string, bankAccount: any, type: string);
|
|
19
|
+
protected getLink(): string;
|
|
20
|
+
send(accessToken: string, cb: (token: string) => void, errorCb?: (error: any) => void): void;
|
|
21
|
+
getConfigs(): IBody;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/payment-source/builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAGjD,eAAO,MAAM,IAAI;;;;;CAKhB,CAAA;AAID,MAAM,WAAW,KAAK;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,qBAAa,OAAQ,SAAQ,QAAQ;IAEjC,OAAO,CAAC,IAAI,CAAQ;gBAER,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;gBACtD,SAAS,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;gBAC9D,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;gBAC1C,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IA4B7D,SAAS,CAAC,OAAO;IAIV,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EAAE,OAAO,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAA0B;IAc3G,UAAU,IAAI,KAAK;CAI7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/payment-source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { PaymentSourceWidget } from "./payment-source-widget";
|
|
2
|
+
import { Container } from "../components/container";
|
|
3
|
+
import { IFrame } from "../components/iframe";
|
|
4
|
+
import { IEventData, IFrameEvent } from "../components/iframe-event";
|
|
5
|
+
export interface IEventSelectData extends IEventData {
|
|
6
|
+
customer_id: string;
|
|
7
|
+
payment_source_id: string;
|
|
8
|
+
gateway_id: string;
|
|
9
|
+
primary: boolean;
|
|
10
|
+
card_number_last4?: string;
|
|
11
|
+
card_scheme?: string;
|
|
12
|
+
checkout_email?: string;
|
|
13
|
+
gateway_type?: string;
|
|
14
|
+
payment_source_type: string;
|
|
15
|
+
account_name?: string;
|
|
16
|
+
account_number?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IEventPaginationData extends IEventData {
|
|
19
|
+
total_item: number;
|
|
20
|
+
skip: number;
|
|
21
|
+
limit: number;
|
|
22
|
+
}
|
|
23
|
+
export interface IEventAfterLoadData extends IEventData {
|
|
24
|
+
total_item: number;
|
|
25
|
+
skip: number;
|
|
26
|
+
limit: number;
|
|
27
|
+
}
|
|
28
|
+
export interface IEventSizeData extends IEventData {
|
|
29
|
+
height: number;
|
|
30
|
+
width: number;
|
|
31
|
+
}
|
|
32
|
+
export interface IEventFinishData extends IEventData {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Interface of data from event.
|
|
36
|
+
*
|
|
37
|
+
* @interface IEventSelectData
|
|
38
|
+
*
|
|
39
|
+
* @param {string} event
|
|
40
|
+
* @param {string} purpose
|
|
41
|
+
* @param {string} message_source
|
|
42
|
+
* @param {string} [ref_id]
|
|
43
|
+
* @param {string} customer_id
|
|
44
|
+
* @param {string} payment_source_id
|
|
45
|
+
* @param {string} gateway_id
|
|
46
|
+
* @param {boolean} primary
|
|
47
|
+
* @param {string} [widget_id]
|
|
48
|
+
* @param {string} [card_number_last4]
|
|
49
|
+
* @param {string} [card_scheme]
|
|
50
|
+
* @param {string} gateway_type
|
|
51
|
+
* @param {string} [checkout_email]
|
|
52
|
+
* @param {string} payment_source_type
|
|
53
|
+
* @param {string} [account_name]
|
|
54
|
+
* @param {string} [account_number]
|
|
55
|
+
* */
|
|
56
|
+
/**
|
|
57
|
+
* Interface of data from event.
|
|
58
|
+
*
|
|
59
|
+
* @interface IEventPaginationData
|
|
60
|
+
*
|
|
61
|
+
* @param {string} event
|
|
62
|
+
* @param {string} purpose
|
|
63
|
+
* @param {string} message_source
|
|
64
|
+
* @param {string} [ref_id]
|
|
65
|
+
* @param {number} total_item
|
|
66
|
+
* @param {number} skip
|
|
67
|
+
* @param {number} limit
|
|
68
|
+
* */
|
|
69
|
+
/**
|
|
70
|
+
* Interface of data from event.
|
|
71
|
+
*
|
|
72
|
+
* @interface IEventAfterLoadData
|
|
73
|
+
*
|
|
74
|
+
* @param {string} event The name of the event.
|
|
75
|
+
* @param {string} purpose A system variable that states the purpose of the event.
|
|
76
|
+
* @param {string} message_source A system variable that identifies the event source.
|
|
77
|
+
* @param {string} [ref_id] Custom unique value that identifies result of processed operation.
|
|
78
|
+
* @param {number} total_item Pagination param. Total item count
|
|
79
|
+
* @param {number} skip Pagination param. Skip items from first item
|
|
80
|
+
* @param {number} limit Pagination param. Query limit
|
|
81
|
+
* */
|
|
82
|
+
/**
|
|
83
|
+
* Interface of data from event.
|
|
84
|
+
* @interface IEventFinishData
|
|
85
|
+
*
|
|
86
|
+
* @param {string} event The name of the event.
|
|
87
|
+
* @param {string} purpose A system variable that states the purpose of the event.
|
|
88
|
+
* @param {string} message_source A system variable that identifies the event source.
|
|
89
|
+
* @param {string} [ref_id] Custom unique value that identifies result of processed operation.
|
|
90
|
+
* */
|
|
91
|
+
/**
|
|
92
|
+
* Interface of data from event.
|
|
93
|
+
* @interface IEventSizeData
|
|
94
|
+
*
|
|
95
|
+
* @param {number} event The name of the event.
|
|
96
|
+
* @param {number} purpose A system variable that states the purpose of the event.
|
|
97
|
+
* @param {string} message_source A system variable that identifies the event source.
|
|
98
|
+
* @param {string} [ref_id] Custom unique value that identifies result of processed operation.
|
|
99
|
+
* @param {number} height Height of iFrame
|
|
100
|
+
* @param {number} width Width of iFrame
|
|
101
|
+
* */
|
|
102
|
+
/**
|
|
103
|
+
* List of available event's name
|
|
104
|
+
*
|
|
105
|
+
* @const EVENT
|
|
106
|
+
*
|
|
107
|
+
* @type {object}
|
|
108
|
+
* @param {string} AFTER_LOAD=afterLoad
|
|
109
|
+
* @param {string} SYSTEM_ERROR=systemError
|
|
110
|
+
* @param {string} SELECT=select
|
|
111
|
+
* @param {string} UNSELECT=unselect
|
|
112
|
+
* @param {string} NEXT=next
|
|
113
|
+
* @param {string} PREV=prev
|
|
114
|
+
* @param {string} META_CHANGE=metaChange
|
|
115
|
+
* @param {string} RESIZE=resize
|
|
116
|
+
*/
|
|
117
|
+
/**
|
|
118
|
+
* Class HtmlPaymentSourceWidget include method for working on html
|
|
119
|
+
* @constructor
|
|
120
|
+
* @extends PaymentSourceWidget
|
|
121
|
+
*
|
|
122
|
+
* @param {string} selector - Selector of html element. Container for widget
|
|
123
|
+
* @param {string} publicKey - PayDock users public key
|
|
124
|
+
* @param {string} queryToken - PayDock's query token that represents params to search customer by id or reference
|
|
125
|
+
* @example
|
|
126
|
+
* * var widget = new HtmlPaymentSourceWidget('#widget', 'publicKey','queryToken');
|
|
127
|
+
|
|
128
|
+
*/
|
|
129
|
+
declare class HtmlPaymentSourceWidget extends PaymentSourceWidget {
|
|
130
|
+
protected container: Container;
|
|
131
|
+
protected iFrame: IFrame;
|
|
132
|
+
protected event: IFrameEvent;
|
|
133
|
+
/** @constructs */ constructor(selector: string, publicKey: string, queryToken: string);
|
|
134
|
+
/**
|
|
135
|
+
* The final method to beginning, the load process of widget to html
|
|
136
|
+
*
|
|
137
|
+
*/
|
|
138
|
+
load(): void;
|
|
139
|
+
/**
|
|
140
|
+
* This callback will be called for each event in payment source widget
|
|
141
|
+
*
|
|
142
|
+
* @callback listener--PaymentSourceWidget
|
|
143
|
+
* @param {IEventData | IEventSelectData | IEventPaginationData | IEventAfterLoadData} response
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* Listen to events of widget
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
*
|
|
150
|
+
* widget.on('select', function (data) {
|
|
151
|
+
* console.log(data);
|
|
152
|
+
* });
|
|
153
|
+
* @param {string} eventName - Available event names [EVENT]{@link EVENT}
|
|
154
|
+
* @param {listener--PaymentSourceWidget} cb
|
|
155
|
+
*/
|
|
156
|
+
on(eventName: string, cb: (data: IEventData | IEventSelectData | IEventPaginationData | IEventAfterLoadData | IEventSizeData) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* Using this method you can hide widget after load
|
|
159
|
+
* @param {boolean} [saveSize=false] - using this param you can save iframe's size
|
|
160
|
+
*/
|
|
161
|
+
hide(saveSize: boolean): void;
|
|
162
|
+
/**
|
|
163
|
+
* Using this method you can show widget after using hide method
|
|
164
|
+
*
|
|
165
|
+
*/
|
|
166
|
+
show(): void;
|
|
167
|
+
/**
|
|
168
|
+
* Using this method you can reload widget
|
|
169
|
+
*
|
|
170
|
+
*/
|
|
171
|
+
reload(): void;
|
|
172
|
+
/**
|
|
173
|
+
* After select event of widget, data (dataType) will be insert to input (selector)
|
|
174
|
+
*
|
|
175
|
+
* @param {string} selector - css selector . [] #
|
|
176
|
+
* @param {string} dataType - data type of [IEventSelectData]{@link IEventSelectData}.
|
|
177
|
+
*/
|
|
178
|
+
onSelectInsert(selector: string, dataType: string): void;
|
|
179
|
+
}
|
|
180
|
+
export { HtmlPaymentSourceWidget };
|
|
181
|
+
//# sourceMappingURL=html-payment-source-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-payment-source-widget.d.ts","sourceRoot":"","sources":["../../src/payment-source-widget/html-payment-source-widget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAS,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAI3E,MAAM,WAAW,gBAAkB,SAAQ,UAAU;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAsB,SAAQ,UAAU;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAqB,SAAQ,UAAU;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;CAAG;AAIvD;;;;;;;;;;;;;;;;;;;;;KAqBK;AAGL;;;;;;;;;;;;KAYK;AAEL;;;;;;;;;;;;KAYK;AAGL;;;;;;;;KAQK;AAEJ;;;;;;;;;;IAUI;AAEL;;;;;;;;;;;;;;GAcG;AAGH;;;;;;;;;;;GAWG;AACH,cAAM,uBAAwB,SAAQ,mBAAmB;IAErD,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAE7B,kBAAkB,aACN,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAOnE;;;OAGG;IACI,IAAI;IAMX;;;;;OAKG;IAEH;;;;;;;;;;OAUG;IACI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,GAAG,gBAAgB,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,cAAc,KAAK,IAAI;IAI5I;;;OAGG;IACI,IAAI,CAAC,QAAQ,EAAE,OAAO;IAK7B;;;OAGG;IACI,IAAI;IAKX;;;OAGG;IACI,MAAM;IAMb;;;;;OAKG;IACI,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK3D;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { PaymentSourceWidget } from './payment-source-widget';
|
|
2
|
+
export { HtmlPaymentSourceWidget } from './html-payment-source-widget';
|
|
3
|
+
/**
|
|
4
|
+
* Interface for classes that represent widget's styles.
|
|
5
|
+
* @interface IStyles
|
|
6
|
+
*
|
|
7
|
+
* @param {string} [background_color]
|
|
8
|
+
* @param {string} [background_active_color]
|
|
9
|
+
* @param {string} [text_color]
|
|
10
|
+
* @param {string} [border_color]
|
|
11
|
+
* @param {string} [font_size]
|
|
12
|
+
* @param {string} [icon_size]
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* List of available style params for widget
|
|
16
|
+
*
|
|
17
|
+
* @const STYLE
|
|
18
|
+
* @type {object}
|
|
19
|
+
* @param {string} BACKGROUND_COLOR=background_color
|
|
20
|
+
* @param {string} BACKGROUND_ACTIVE_COLOR=background_active_color
|
|
21
|
+
* @param {string} TEXT_COLOR=text_color
|
|
22
|
+
* @param {string} BORDER_COLOR=border_color
|
|
23
|
+
* @param {string} ICON_SIZE=icon_size
|
|
24
|
+
* @param {string} FONT_SIZE=font_size
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* List of available payment source types
|
|
28
|
+
*
|
|
29
|
+
* @const PAYMENT_SOURCE_TYPE
|
|
30
|
+
* @type {object}
|
|
31
|
+
* @param {string} CARD=card
|
|
32
|
+
* @param {string} BANK_ACCOUNT=bank_account
|
|
33
|
+
* @param {string} CHECKOUT=checkout
|
|
34
|
+
*/
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/payment-source-widget/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAIvE;;;;;;;;;;GAUG;AAIH;;;;;;;;;;;GAWG;AAIH;;;;;;;;GAQG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface IStyles {
|
|
2
|
+
background_color?: string;
|
|
3
|
+
background_active_color?: string;
|
|
4
|
+
text_color?: string;
|
|
5
|
+
border_color?: string;
|
|
6
|
+
button_color?: string;
|
|
7
|
+
icon_size?: string;
|
|
8
|
+
error_color?: string;
|
|
9
|
+
success_color?: string;
|
|
10
|
+
font_size?: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/payment-source-widget/interfaces.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,OAAO;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|