@paydock/client-sdk 1.103.1 → 1.104.1-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 +102 -104
- package/bundles/index.cjs +10674 -0
- package/bundles/index.cjs.d.ts +3163 -0
- package/bundles/index.cjs.map +1 -0
- package/bundles/index.mjs +10642 -0
- package/bundles/index.mjs.d.ts +3163 -0
- package/bundles/index.mjs.map +1 -0
- package/{lib → bundles/types}/api/api-base.d.ts +2 -1
- package/bundles/types/api/api-base.d.ts.map +1 -0
- package/{lib → bundles/types}/api/api-charge-internal.d.ts +1 -0
- package/bundles/types/api/api-charge-internal.d.ts.map +1 -0
- package/{lib → bundles/types}/api/api-charge.d.ts +1 -0
- package/bundles/types/api/api-charge.d.ts.map +1 -0
- package/{lib → bundles/types}/api/api-internal.d.ts +1 -0
- package/bundles/types/api/api-internal.d.ts.map +1 -0
- package/{lib → bundles/types}/api/api-service-internal.d.ts +1 -0
- package/bundles/types/api/api-service-internal.d.ts.map +1 -0
- package/{lib → bundles/types}/api/api.d.ts +1 -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/{lib → bundles/types}/canvas-3ds/canvas-3ds.d.ts +1 -0
- package/bundles/types/canvas-3ds/canvas-3ds.d.ts.map +1 -0
- package/{lib → bundles/types}/canvas-3ds/index.d.ts +1 -0
- package/bundles/types/canvas-3ds/index.d.ts.map +1 -0
- package/{lib → bundles/types}/canvas-3ds/services/gpayments-service.d.ts +1 -0
- package/bundles/types/canvas-3ds/services/gpayments-service.d.ts.map +1 -0
- package/{lib → bundles/types}/canvas-3ds/services/index.d.ts +1 -0
- package/bundles/types/canvas-3ds/services/index.d.ts.map +1 -0
- package/{lib → bundles/types}/canvas-3ds/services/standalone3ds-service.d.ts +1 -0
- package/bundles/types/canvas-3ds/services/standalone3ds-service.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/afterpay/afterpay-checkout-button.d.ts +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay-checkout-button.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/afterpay/afterpay.runner.d.ts +1 -0
- package/bundles/types/checkout-button/afterpay/afterpay.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/checkout-button.d.ts +1 -0
- package/bundles/types/checkout-button/checkout-button.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/checkout-button.interface.d.ts +1 -0
- package/bundles/types/checkout-button/checkout-button.interface.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/checkout-contextual-handler.d.ts +1 -0
- package/bundles/types/checkout-button/checkout-contextual-handler.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/index.d.ts +2 -1
- package/bundles/types/checkout-button/index.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/paypal/paypal-checkout-button.d.ts +1 -0
- package/bundles/types/checkout-button/paypal/paypal-checkout-button.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/paypal/paypal.runner.d.ts +1 -0
- package/bundles/types/checkout-button/paypal/paypal.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/runner/base.runner.d.ts +4 -3
- package/bundles/types/checkout-button/runner/base.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/runner/contextual.runner.d.ts +2 -1
- package/bundles/types/checkout-button/runner/contextual.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/runner/index.d.ts +1 -0
- package/bundles/types/checkout-button/runner/index.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/runner/popup.runner.d.ts +2 -1
- package/bundles/types/checkout-button/runner/popup.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/runner/redirect.runner.d.ts +2 -1
- 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/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-checkout-button.d.ts +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney-checkout-button.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts +2 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-contextual.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts +2 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney-redirect.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.config.d.ts +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.config.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.runner.d.ts +2 -1
- package/bundles/types/checkout-button/zipmoney/zipmoney.runner.d.ts.map +1 -0
- package/{lib → bundles/types}/checkout-button/zipmoney/zipmoney.types.d.ts +1 -0
- package/bundles/types/checkout-button/zipmoney/zipmoney.types.d.ts.map +1 -0
- package/{lib → bundles/types}/components/ability-guard.d.ts +1 -0
- package/bundles/types/components/ability-guard.d.ts.map +1 -0
- package/{lib → bundles/types}/components/background.d.ts +1 -0
- package/bundles/types/components/background.d.ts.map +1 -0
- package/{lib → bundles/types}/components/container.d.ts +1 -0
- package/bundles/types/components/container.d.ts.map +1 -0
- package/{lib → bundles/types}/components/dispatcher.d.ts +2 -1
- package/bundles/types/components/dispatcher.d.ts.map +1 -0
- package/{lib → bundles/types}/components/element-style.d.ts +2 -1
- package/bundles/types/components/element-style.d.ts.map +1 -0
- package/{lib → bundles/types}/components/flypay-iframe-event.d.ts +1 -0
- package/bundles/types/components/flypay-iframe-event.d.ts.map +1 -0
- package/{lib → bundles/types}/components/form-Interceptor.d.ts +1 -0
- package/bundles/types/components/form-Interceptor.d.ts.map +1 -0
- package/{lib → bundles/types}/components/http-core.d.ts +1 -0
- package/bundles/types/components/http-core.d.ts.map +1 -0
- package/{lib → bundles/types}/components/iframe-event.d.ts +2 -0
- package/bundles/types/components/iframe-event.d.ts.map +1 -0
- package/{lib → bundles/types}/components/iframe.d.ts +1 -0
- package/bundles/types/components/iframe.d.ts.map +1 -0
- package/{lib → bundles/types}/components/link.d.ts +2 -1
- package/bundles/types/components/link.d.ts.map +1 -0
- package/{lib → bundles/types}/components/loader.d.ts +1 -0
- package/bundles/types/components/loader.d.ts.map +1 -0
- package/{lib → bundles/types}/components/param.d.ts +6 -5
- package/bundles/types/components/param.d.ts.map +1 -0
- package/{lib → bundles/types}/components/popup.d.ts +1 -0
- package/bundles/types/components/popup.d.ts.map +1 -0
- package/{lib → bundles/types}/components/storage-dispatcher.d.ts +1 -0
- package/bundles/types/components/storage-dispatcher.d.ts.map +1 -0
- package/{lib → bundles/types}/components/trigger.d.ts +1 -0
- package/bundles/types/components/trigger.d.ts.map +1 -0
- package/{lib → bundles/types}/components/vault-display-iframe-event.d.ts +1 -0
- package/bundles/types/components/vault-display-iframe-event.d.ts.map +1 -0
- package/{lib → bundles/types}/components/wallet-background.d.ts +1 -0
- package/bundles/types/components/wallet-background.d.ts.map +1 -0
- package/{lib → bundles/types}/components/wallet-trigger.d.ts +1 -0
- package/bundles/types/components/wallet-trigger.d.ts.map +1 -0
- package/bundles/types/configs/env/environment.cba.d.ts +29 -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/{lib/configs/env/env.d.ts → bundles/types/configs/env/environment.paydock.d.ts} +5 -8
- 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/{lib → bundles/types}/configs/sdk.d.ts +3 -2
- package/bundles/types/configs/sdk.d.ts.map +1 -0
- package/{lib → bundles/types}/external-checkout/builder.d.ts +1 -0
- package/bundles/types/external-checkout/builder.d.ts.map +1 -0
- package/{lib → bundles/types}/external-checkout/checker.d.ts +1 -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/{lib → bundles/types}/helper/access-token.d.ts +1 -0
- package/bundles/types/helper/access-token.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/browser.d.ts +1 -0
- package/bundles/types/helper/browser.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/event-emitter.d.ts +1 -0
- package/bundles/types/helper/event-emitter.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/event.d.ts +1 -0
- package/bundles/types/helper/event.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/ms.d.ts +1 -0
- package/bundles/types/helper/ms.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/object.d.ts +1 -0
- package/bundles/types/helper/object.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/url.d.ts +1 -0
- package/bundles/types/helper/url.d.ts.map +1 -0
- package/{lib → bundles/types}/helper/uuid.d.ts +1 -0
- package/bundles/types/helper/uuid.d.ts.map +1 -0
- package/bundles/types/index-cba.d.ts +13 -0
- package/bundles/types/index-cba.d.ts.map +1 -0
- package/bundles/types/index.d.ts +14 -0
- package/bundles/types/index.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source/builder.d.ts +1 -0
- package/bundles/types/payment-source/builder.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source/index.d.ts +1 -0
- package/bundles/types/payment-source/index.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source-widget/html-payment-source-widget.d.ts +1 -0
- package/bundles/types/payment-source-widget/html-payment-source-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source-widget/index.d.ts +1 -0
- package/bundles/types/payment-source-widget/index.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source-widget/interfaces.d.ts +1 -0
- package/bundles/types/payment-source-widget/interfaces.d.ts.map +1 -0
- package/{lib → bundles/types}/payment-source-widget/payment-source-widget.d.ts +1 -0
- package/bundles/types/payment-source-widget/payment-source-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/index.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/interfaces.d.ts +6 -5
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/providers/src-provider.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/providers/src-provider.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/providers/visa-src/helper.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/providers/visa-src/helper.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/providers/visa-src/index.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/providers/visa-src/index.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/providers/visa-src/visa-src.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/providers/visa-src/visa-src.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/providers/visa-src/visa-src.styles.d.ts.map +1 -0
- package/{lib → bundles/types}/secure-remote-commerce/secure-remote-commerce.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/secure-remote-commerce.d.ts.map +1 -0
- package/{lib → bundles/types}/vault-display-widget/index.d.ts +1 -0
- package/bundles/types/vault-display-widget/index.d.ts.map +1 -0
- package/{lib → bundles/types}/vault-display-widget/vault-display-widget.d.ts +1 -0
- package/bundles/types/vault-display-widget/vault-display-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/afterpay.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/afterpay.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/apple.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/apple.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/flypay-v2.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/flypay-v2.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/flypay.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/flypay.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/google.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/google.wallet-service.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/{lib → bundles/types}/wallet-buttons/index.d.ts +1 -0
- package/bundles/types/wallet-buttons/index.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/interfaces.d.ts +1 -0
- package/bundles/types/wallet-buttons/interfaces.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/mastercard.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/mastercard.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/paypal.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/paypal.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/stripe.wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/stripe.wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/wallet-buttons/wallet-buttons.d.ts +1 -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/{lib → bundles/types}/wallet-buttons/wallet-service.d.ts +1 -0
- package/bundles/types/wallet-buttons/wallet-service.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/configuration.d.ts +2 -1
- package/bundles/types/widget/configuration.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/html-multi-widget.d.ts +1 -0
- package/bundles/types/widget/html-multi-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/html-widget.d.ts +1 -0
- package/bundles/types/widget/html-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/index.d.ts +2 -1
- package/bundles/types/widget/index.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/meta.d.ts +1 -0
- package/bundles/types/widget/meta.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/multi-widget.d.ts +2 -1
- package/bundles/types/widget/multi-widget.d.ts.map +1 -0
- package/{lib → bundles/types}/widget/style.d.ts +1 -0
- package/bundles/types/widget/style.d.ts.map +1 -0
- package/bundles/widget.umd.js +6813 -6963
- package/bundles/widget.umd.js.d.ts +3163 -0
- package/bundles/widget.umd.js.map +1 -0
- package/bundles/widget.umd.js.min.d.ts +3163 -0
- package/bundles/widget.umd.min.js +2 -1
- package/bundles/widget.umd.min.js.map +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 +2444 -0
- package/docs/api-wrapper.md +78 -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/header.md +15 -0
- package/docs/html/layout.html +78 -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 +21 -0
- package/docs/install/umd.example.md +6 -0
- package/docs/install.md +53 -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/ps-examples.md +129 -0
- package/docs/secure-remote-commerce-examples.md +258 -0
- package/docs/secure-remote-commerce.md +265 -0
- package/docs/vault-display-example.md +132 -0
- package/docs/wallet-buttons-examples.md +580 -0
- package/docs/wallet-buttons.md +424 -0
- package/docs/wallet-cba-buttons-examples.md +388 -0
- package/docs/widget-examples.md +134 -0
- package/package.json +164 -42
- package/slate.md +89 -88
- package/.nvmrc +0 -1
- package/api.d.ts +0 -1
- package/api.js +0 -1
- package/canvas3ds.d.ts +0 -1
- package/canvas3ds.js +0 -1
- package/checkout-button.d.ts +0 -1
- package/checkout-button.js +0 -1
- package/inicialization-guide.md +0 -7
- package/lib/api/api-base.js +0 -101
- package/lib/api/api-base.js.map +0 -1
- package/lib/api/api-charge-internal.js +0 -30
- package/lib/api/api-charge-internal.js.map +0 -1
- package/lib/api/api-charge.js +0 -49
- package/lib/api/api-charge.js.map +0 -1
- package/lib/api/api-internal.js +0 -13
- package/lib/api/api-internal.js.map +0 -1
- package/lib/api/api-service-internal.js +0 -18
- package/lib/api/api-service-internal.js.map +0 -1
- package/lib/api/api.js +0 -61
- package/lib/api/api.js.map +0 -1
- package/lib/api/index.d.ts +0 -1
- package/lib/api/index.js +0 -2
- package/lib/api/index.js.map +0 -1
- package/lib/canvas-3ds/canvas-3ds.js +0 -156
- package/lib/canvas-3ds/canvas-3ds.js.map +0 -1
- package/lib/canvas-3ds/index.js +0 -2
- package/lib/canvas-3ds/index.js.map +0 -1
- package/lib/canvas-3ds/services/gpayments-service.js +0 -181
- package/lib/canvas-3ds/services/gpayments-service.js.map +0 -1
- package/lib/canvas-3ds/services/index.js +0 -2
- package/lib/canvas-3ds/services/index.js.map +0 -1
- package/lib/canvas-3ds/services/standalone3ds-service.js +0 -32
- package/lib/canvas-3ds/services/standalone3ds-service.js.map +0 -1
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js +0 -49
- package/lib/checkout-button/afterpay/afterpay-checkout-button.js.map +0 -1
- package/lib/checkout-button/afterpay/afterpay.runner.js +0 -41
- package/lib/checkout-button/afterpay/afterpay.runner.js.map +0 -1
- package/lib/checkout-button/checkout-button.interface.js +0 -45
- package/lib/checkout-button/checkout-button.interface.js.map +0 -1
- package/lib/checkout-button/checkout-button.js +0 -265
- package/lib/checkout-button/checkout-button.js.map +0 -1
- package/lib/checkout-button/checkout-contextual-handler.js +0 -75
- package/lib/checkout-button/checkout-contextual-handler.js.map +0 -1
- package/lib/checkout-button/index.js +0 -85
- package/lib/checkout-button/index.js.map +0 -1
- package/lib/checkout-button/paypal/paypal-checkout-button.js +0 -24
- package/lib/checkout-button/paypal/paypal-checkout-button.js.map +0 -1
- package/lib/checkout-button/paypal/paypal.runner.js +0 -14
- package/lib/checkout-button/paypal/paypal.runner.js.map +0 -1
- package/lib/checkout-button/runner/base.runner.js +0 -13
- package/lib/checkout-button/runner/base.runner.js.map +0 -1
- package/lib/checkout-button/runner/contextual.runner.js +0 -40
- package/lib/checkout-button/runner/contextual.runner.js.map +0 -1
- package/lib/checkout-button/runner/index.js +0 -11
- package/lib/checkout-button/runner/index.js.map +0 -1
- package/lib/checkout-button/runner/popup.runner.js +0 -68
- package/lib/checkout-button/runner/popup.runner.js.map +0 -1
- package/lib/checkout-button/runner/redirect.runner.js +0 -15
- package/lib/checkout-button/runner/redirect.runner.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js +0 -63
- package/lib/checkout-button/zipmoney/zipmoney-checkout-button.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js +0 -78
- package/lib/checkout-button/zipmoney/zipmoney-contextual.runner.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js +0 -49
- package/lib/checkout-button/zipmoney/zipmoney-redirect.runner.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.config.js +0 -4
- package/lib/checkout-button/zipmoney/zipmoney.config.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.runner.js +0 -23
- package/lib/checkout-button/zipmoney/zipmoney.runner.js.map +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.types.js +0 -1
- package/lib/checkout-button/zipmoney/zipmoney.types.js.map +0 -1
- package/lib/components/ability-guard.js +0 -44
- package/lib/components/ability-guard.js.map +0 -1
- package/lib/components/background.js +0 -193
- package/lib/components/background.js.map +0 -1
- package/lib/components/container.js +0 -60
- package/lib/components/container.js.map +0 -1
- package/lib/components/dispatcher.js +0 -39
- package/lib/components/dispatcher.js.map +0 -1
- package/lib/components/element-style.js +0 -52
- package/lib/components/element-style.js.map +0 -1
- package/lib/components/flypay-iframe-event.js +0 -28
- package/lib/components/flypay-iframe-event.js.map +0 -1
- package/lib/components/form-Interceptor.js +0 -38
- package/lib/components/form-Interceptor.js.map +0 -1
- package/lib/components/http-core.js +0 -57
- package/lib/components/http-core.js.map +0 -1
- package/lib/components/iframe-event.js +0 -84
- package/lib/components/iframe-event.js.map +0 -1
- package/lib/components/iframe.js +0 -62
- package/lib/components/iframe.js.map +0 -1
- package/lib/components/link.js +0 -59
- package/lib/components/link.js.map +0 -1
- package/lib/components/loader.js +0 -234
- package/lib/components/loader.js.map +0 -1
- package/lib/components/param.js +0 -147
- package/lib/components/param.js.map +0 -1
- package/lib/components/popup.js +0 -104
- package/lib/components/popup.js.map +0 -1
- package/lib/components/storage-dispatcher.js +0 -75
- package/lib/components/storage-dispatcher.js.map +0 -1
- package/lib/components/trigger.js +0 -49
- package/lib/components/trigger.js.map +0 -1
- package/lib/components/vault-display-iframe-event.js +0 -27
- package/lib/components/vault-display-iframe-event.js.map +0 -1
- package/lib/components/wallet-background.js +0 -60
- package/lib/components/wallet-background.js.map +0 -1
- package/lib/components/wallet-trigger.js +0 -27
- package/lib/components/wallet-trigger.js.map +0 -1
- package/lib/configs/env/env.js +0 -117
- package/lib/configs/env/env.js.map +0 -1
- package/lib/configs/sdk.js +0 -16
- package/lib/configs/sdk.js.map +0 -1
- package/lib/external-checkout/builder.js +0 -45
- package/lib/external-checkout/builder.js.map +0 -1
- package/lib/external-checkout/checker.js +0 -22
- package/lib/external-checkout/checker.js.map +0 -1
- package/lib/external-checkout/index.d.ts +0 -2
- package/lib/external-checkout/index.js +0 -3
- package/lib/external-checkout/index.js.map +0 -1
- package/lib/helper/access-token.js +0 -44
- package/lib/helper/access-token.js.map +0 -1
- package/lib/helper/browser.js +0 -79
- package/lib/helper/browser.js.map +0 -1
- package/lib/helper/event-emitter.js +0 -23
- package/lib/helper/event-emitter.js.map +0 -1
- package/lib/helper/event.js +0 -23
- package/lib/helper/event.js.map +0 -1
- package/lib/helper/ms.js +0 -32
- package/lib/helper/ms.js.map +0 -1
- package/lib/helper/object.js +0 -6
- package/lib/helper/object.js.map +0 -1
- package/lib/helper/url.js +0 -11
- package/lib/helper/url.js.map +0 -1
- package/lib/helper/uuid.js +0 -26
- package/lib/helper/uuid.js.map +0 -1
- package/lib/index.d.ts +0 -15
- package/lib/index.js +0 -15
- package/lib/index.js.map +0 -1
- package/lib/payment-source/builder.js +0 -49
- package/lib/payment-source/builder.js.map +0 -1
- package/lib/payment-source/index.js +0 -2
- package/lib/payment-source/index.js.map +0 -1
- package/lib/payment-source-widget/html-payment-source-widget.js +0 -167
- package/lib/payment-source-widget/html-payment-source-widget.js.map +0 -1
- package/lib/payment-source-widget/index.js +0 -35
- package/lib/payment-source-widget/index.js.map +0 -1
- package/lib/payment-source-widget/interfaces.js +0 -2
- package/lib/payment-source-widget/interfaces.js.map +0 -1
- package/lib/payment-source-widget/payment-source-widget.js +0 -141
- package/lib/payment-source-widget/payment-source-widget.js.map +0 -1
- package/lib/secure-remote-commerce/index.js +0 -2
- package/lib/secure-remote-commerce/index.js.map +0 -1
- package/lib/secure-remote-commerce/interfaces.js +0 -28
- package/lib/secure-remote-commerce/interfaces.js.map +0 -1
- package/lib/secure-remote-commerce/providers/src-provider.js +0 -1
- package/lib/secure-remote-commerce/providers/src-provider.js.map +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/helper.js +0 -36
- package/lib/secure-remote-commerce/providers/visa-src/helper.js.map +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/index.js +0 -2
- package/lib/secure-remote-commerce/providers/visa-src/index.js.map +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js +0 -113
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.js.map +0 -1
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js +0 -10
- package/lib/secure-remote-commerce/providers/visa-src/visa-src.styles.js.map +0 -1
- package/lib/secure-remote-commerce/secure-remote-commerce.js +0 -238
- package/lib/secure-remote-commerce/secure-remote-commerce.js.map +0 -1
- package/lib/vault-display-widget/index.js +0 -14
- package/lib/vault-display-widget/index.js.map +0 -1
- package/lib/vault-display-widget/vault-display-widget.js +0 -98
- package/lib/vault-display-widget/vault-display-widget.js.map +0 -1
- package/lib/wallet-buttons/afterpay.wallet-service.js +0 -152
- package/lib/wallet-buttons/afterpay.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/apple.wallet-service.js +0 -291
- package/lib/wallet-buttons/apple.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/flypay-v2.wallet-service.js +0 -192
- package/lib/wallet-buttons/flypay-v2.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/flypay.wallet-service.js +0 -117
- package/lib/wallet-buttons/flypay.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/google.wallet-service.js +0 -268
- package/lib/wallet-buttons/google.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/index.js +0 -2
- package/lib/wallet-buttons/index.js.map +0 -1
- package/lib/wallet-buttons/interfaces.js +0 -1
- package/lib/wallet-buttons/interfaces.js.map +0 -1
- package/lib/wallet-buttons/mastercard.wallet-service.js +0 -27
- package/lib/wallet-buttons/mastercard.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/paypal.wallet-service.js +0 -129
- package/lib/wallet-buttons/paypal.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/stripe.wallet-service.js +0 -100
- package/lib/wallet-buttons/stripe.wallet-service.js.map +0 -1
- package/lib/wallet-buttons/wallet-buttons.js +0 -454
- package/lib/wallet-buttons/wallet-buttons.js.map +0 -1
- package/lib/wallet-buttons/wallet-service.js +0 -49
- package/lib/wallet-buttons/wallet-service.js.map +0 -1
- package/lib/widget/configuration.js +0 -259
- package/lib/widget/configuration.js.map +0 -1
- package/lib/widget/html-multi-widget.js +0 -380
- package/lib/widget/html-multi-widget.js.map +0 -1
- package/lib/widget/html-widget.js +0 -126
- package/lib/widget/html-widget.js.map +0 -1
- package/lib/widget/index.js +0 -132
- package/lib/widget/index.js.map +0 -1
- package/lib/widget/meta.js +0 -8
- package/lib/widget/meta.js.map +0 -1
- package/lib/widget/multi-widget.js +0 -436
- package/lib/widget/multi-widget.js.map +0 -1
- package/lib/widget/style.js +0 -204
- package/lib/widget/style.js.map +0 -1
- package/payment-source-widget.d.ts +0 -1
- package/payment-source-widget.js +0 -1
- package/tslint.json +0 -130
- package/typings/globals/@auspayplus/open-payments-checkout/index.d.ts +0 -43
- package/typings/globals/jasmine/index.d.ts +0 -576
- package/typings/globals/jasmine-ajax/index.d.ts +0 -83
- package/typings/globals/jquery/index.d.ts +0 -3759
- package/typings/index.d.ts +0 -4
- package/vault-display-widget.d.ts +0 -1
- package/vault-display-widget.js +0 -1
- package/vendors/zipmoney.d.ts +0 -18
- package/vendors/zipmoney.js +0 -2
- package/widget.d.ts +0 -1
- package/widget.js +0 -1
|
@@ -1,576 +0,0 @@
|
|
|
1
|
-
// Generated by typings
|
|
2
|
-
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/f817f2f75e2afd8dbb07a7f41296efdc34cc6654/jasmine/index.d.ts
|
|
3
|
-
declare function describe(description: string, specDefinitions: () => void): void;
|
|
4
|
-
declare function fdescribe(description: string, specDefinitions: () => void): void;
|
|
5
|
-
declare function xdescribe(description: string, specDefinitions: () => void): void;
|
|
6
|
-
|
|
7
|
-
declare function it(expectation: string, assertion?: (done: DoneFn) => void, timeout?: number): void;
|
|
8
|
-
declare function fit(expectation: string, assertion?: (done: DoneFn) => void, timeout?: number): void;
|
|
9
|
-
declare function xit(expectation: string, assertion?: (done: DoneFn) => void, timeout?: number): void;
|
|
10
|
-
|
|
11
|
-
/** If you call the function pending anywhere in the spec body, no matter the expectations, the spec will be marked pending. */
|
|
12
|
-
declare function pending(reason?: string): void;
|
|
13
|
-
|
|
14
|
-
declare function beforeEach(action: (done: DoneFn) => void, timeout?: number): void;
|
|
15
|
-
declare function afterEach(action: (done: DoneFn) => void, timeout?: number): void;
|
|
16
|
-
|
|
17
|
-
declare function beforeAll(action: (done: DoneFn) => void, timeout?: number): void;
|
|
18
|
-
declare function afterAll(action: (done: DoneFn) => void, timeout?: number): void;
|
|
19
|
-
|
|
20
|
-
declare function expect(spy: Function): jasmine.Matchers;
|
|
21
|
-
declare function expect(actual: any): jasmine.Matchers;
|
|
22
|
-
|
|
23
|
-
declare function fail(e?: any): void;
|
|
24
|
-
/** Action method that should be called when the async work is complete */
|
|
25
|
-
interface DoneFn extends Function {
|
|
26
|
-
(): void;
|
|
27
|
-
|
|
28
|
-
/** fails the spec and indicates that it has completed. If the message is an Error, Error.message is used */
|
|
29
|
-
fail: (message?: Error|string) => void;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
declare function spyOn<T>(object: T, method: keyof T): jasmine.Spy;
|
|
33
|
-
|
|
34
|
-
declare function spyOnProperty<T>(object: T, property: keyof T, accessType: string): jasmine.Spy;
|
|
35
|
-
|
|
36
|
-
declare function runs(asyncMethod: Function): void;
|
|
37
|
-
declare function waitsFor(latchMethod: () => boolean, failureMessage?: string, timeout?: number): void;
|
|
38
|
-
declare function waits(timeout?: number): void;
|
|
39
|
-
|
|
40
|
-
declare namespace jasmine {
|
|
41
|
-
|
|
42
|
-
var clock: () => Clock;
|
|
43
|
-
|
|
44
|
-
function any(aclass: any): Any;
|
|
45
|
-
function anything(): Any;
|
|
46
|
-
function arrayContaining(sample: any[]): ArrayContaining;
|
|
47
|
-
function objectContaining(sample: any): ObjectContaining;
|
|
48
|
-
function createSpy(name: string, originalFn?: Function): Spy;
|
|
49
|
-
function createSpyObj(baseName: string, methodNames: any[]): any;
|
|
50
|
-
function createSpyObj<T>(baseName: string, methodNames: any[]): T;
|
|
51
|
-
function pp(value: any): string;
|
|
52
|
-
function getEnv(): Env;
|
|
53
|
-
function addCustomEqualityTester(equalityTester: CustomEqualityTester): void;
|
|
54
|
-
function addMatchers(matchers: CustomMatcherFactories): void;
|
|
55
|
-
function stringMatching(str: string): Any;
|
|
56
|
-
function stringMatching(str: RegExp): Any;
|
|
57
|
-
function formatErrorMsg(domain: string, usage: string) : (msg: string) => string
|
|
58
|
-
|
|
59
|
-
interface Any {
|
|
60
|
-
|
|
61
|
-
new (expectedClass: any): any;
|
|
62
|
-
|
|
63
|
-
jasmineMatches(other: any): boolean;
|
|
64
|
-
jasmineToString(): string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// taken from TypeScript lib.core.es6.d.ts, applicable to CustomMatchers.contains()
|
|
68
|
-
interface ArrayLike<T> {
|
|
69
|
-
length: number;
|
|
70
|
-
[n: number]: T;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
interface ArrayContaining {
|
|
74
|
-
new (sample: any[]): any;
|
|
75
|
-
|
|
76
|
-
asymmetricMatch(other: any): boolean;
|
|
77
|
-
jasmineToString(): string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
interface ObjectContaining {
|
|
81
|
-
new (sample: any): any;
|
|
82
|
-
|
|
83
|
-
jasmineMatches(other: any, mismatchKeys: any[], mismatchValues: any[]): boolean;
|
|
84
|
-
jasmineToString(): string;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
interface Block {
|
|
88
|
-
|
|
89
|
-
new (env: Env, func: SpecFunction, spec: Spec): any;
|
|
90
|
-
|
|
91
|
-
execute(onComplete: () => void): void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface WaitsBlock extends Block {
|
|
95
|
-
new (env: Env, timeout: number, spec: Spec): any;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
interface WaitsForBlock extends Block {
|
|
99
|
-
new (env: Env, timeout: number, latchFunction: SpecFunction, message: string, spec: Spec): any;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface Clock {
|
|
103
|
-
install(): void;
|
|
104
|
-
uninstall(): void;
|
|
105
|
-
/** Calls to any registered callback are triggered when the clock is ticked forward via the jasmine.clock().tick function, which takes a number of milliseconds. */
|
|
106
|
-
tick(ms: number): void;
|
|
107
|
-
mockDate(date?: Date): void;
|
|
108
|
-
withMock(func: () => void): void;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
interface CustomEqualityTester {
|
|
112
|
-
(first: any, second: any): boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
interface CustomMatcher {
|
|
116
|
-
compare<T>(actual: T, expected: T): CustomMatcherResult;
|
|
117
|
-
compare(actual: any, expected: any): CustomMatcherResult;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
interface CustomMatcherFactory {
|
|
121
|
-
(util: MatchersUtil, customEqualityTesters: Array<CustomEqualityTester>): CustomMatcher;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
interface CustomMatcherFactories {
|
|
125
|
-
[index: string]: CustomMatcherFactory;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
interface CustomMatcherResult {
|
|
129
|
-
pass: boolean;
|
|
130
|
-
message?: string;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
interface MatchersUtil {
|
|
134
|
-
equals(a: any, b: any, customTesters?: Array<CustomEqualityTester>): boolean;
|
|
135
|
-
contains<T>(haystack: ArrayLike<T> | string, needle: any, customTesters?: Array<CustomEqualityTester>): boolean;
|
|
136
|
-
buildFailureMessage(matcherName: string, isNot: boolean, actual: any, ...expected: Array<any>): string;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
interface Env {
|
|
140
|
-
setTimeout: any;
|
|
141
|
-
clearTimeout: void;
|
|
142
|
-
setInterval: any;
|
|
143
|
-
clearInterval: void;
|
|
144
|
-
updateInterval: number;
|
|
145
|
-
|
|
146
|
-
currentSpec: Spec;
|
|
147
|
-
|
|
148
|
-
matchersClass: Matchers;
|
|
149
|
-
|
|
150
|
-
version(): any;
|
|
151
|
-
versionString(): string;
|
|
152
|
-
nextSpecId(): number;
|
|
153
|
-
addReporter(reporter: Reporter): void;
|
|
154
|
-
addReporter(reporter: CustomReporter): void;
|
|
155
|
-
execute(): void;
|
|
156
|
-
describe(description: string, specDefinitions: () => void): Suite;
|
|
157
|
-
// ddescribe(description: string, specDefinitions: () => void): Suite; Not a part of jasmine. Angular team adds these
|
|
158
|
-
beforeEach(beforeEachFunction: () => void): void;
|
|
159
|
-
beforeAll(beforeAllFunction: () => void): void;
|
|
160
|
-
currentRunner(): Runner;
|
|
161
|
-
afterEach(afterEachFunction: () => void): void;
|
|
162
|
-
afterAll(afterAllFunction: () => void): void;
|
|
163
|
-
xdescribe(desc: string, specDefinitions: () => void): XSuite;
|
|
164
|
-
it(description: string, func: () => void): Spec;
|
|
165
|
-
// iit(description: string, func: () => void): Spec; Not a part of jasmine. Angular team adds these
|
|
166
|
-
xit(desc: string, func: () => void): XSpec;
|
|
167
|
-
compareRegExps_(a: RegExp, b: RegExp, mismatchKeys: string[], mismatchValues: string[]): boolean;
|
|
168
|
-
compareObjects_(a: any, b: any, mismatchKeys: string[], mismatchValues: string[]): boolean;
|
|
169
|
-
equals_(a: any, b: any, mismatchKeys: string[], mismatchValues: string[]): boolean;
|
|
170
|
-
contains_(haystack: any, needle: any): boolean;
|
|
171
|
-
addCustomEqualityTester(equalityTester: CustomEqualityTester): void;
|
|
172
|
-
addMatchers(matchers: CustomMatcherFactories): void;
|
|
173
|
-
specFilter(spec: Spec): boolean;
|
|
174
|
-
throwOnExpectationFailure(value: boolean): void;
|
|
175
|
-
seed(seed: string | number): string | number;
|
|
176
|
-
provideFallbackReporter(reporter: Reporter): void;
|
|
177
|
-
throwingExpectationFailures(): boolean;
|
|
178
|
-
allowRespy(allow: boolean): void;
|
|
179
|
-
randomTests(): boolean;
|
|
180
|
-
randomizeTests(b: boolean): void;
|
|
181
|
-
clearReporters(): void;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
interface FakeTimer {
|
|
185
|
-
|
|
186
|
-
new (): any;
|
|
187
|
-
|
|
188
|
-
reset(): void;
|
|
189
|
-
tick(millis: number): void;
|
|
190
|
-
runFunctionsWithinRange(oldMillis: number, nowMillis: number): void;
|
|
191
|
-
scheduleFunction(timeoutKey: any, funcToCall: () => void, millis: number, recurring: boolean): void;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
interface HtmlReporter {
|
|
195
|
-
new (): any;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
interface HtmlSpecFilter {
|
|
199
|
-
new (): any;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
interface Result {
|
|
203
|
-
type: string;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
interface NestedResults extends Result {
|
|
207
|
-
description: string;
|
|
208
|
-
|
|
209
|
-
totalCount: number;
|
|
210
|
-
passedCount: number;
|
|
211
|
-
failedCount: number;
|
|
212
|
-
|
|
213
|
-
skipped: boolean;
|
|
214
|
-
|
|
215
|
-
rollupCounts(result: NestedResults): void;
|
|
216
|
-
log(values: any): void;
|
|
217
|
-
getItems(): Result[];
|
|
218
|
-
addResult(result: Result): void;
|
|
219
|
-
passed(): boolean;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
interface MessageResult extends Result {
|
|
223
|
-
values: any;
|
|
224
|
-
trace: Trace;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
interface ExpectationResult extends Result {
|
|
228
|
-
matcherName: string;
|
|
229
|
-
passed(): boolean;
|
|
230
|
-
expected: any;
|
|
231
|
-
actual: any;
|
|
232
|
-
message: string;
|
|
233
|
-
trace: Trace;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
interface Order {
|
|
237
|
-
new (options: {random: boolean, seed: string}): any;
|
|
238
|
-
random: boolean;
|
|
239
|
-
seed: string;
|
|
240
|
-
sort<T>(items: T[]) : T[];
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
namespace errors {
|
|
244
|
-
class ExpectationFailed extends Error {
|
|
245
|
-
constructor();
|
|
246
|
-
stack: any;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
interface TreeProcessor {
|
|
251
|
-
new (attrs: any): any;
|
|
252
|
-
execute: (done: Function) => void;
|
|
253
|
-
processTree() : any;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
interface Trace {
|
|
257
|
-
name: string;
|
|
258
|
-
message: string;
|
|
259
|
-
stack: any;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
interface PrettyPrinter {
|
|
263
|
-
|
|
264
|
-
new (): any;
|
|
265
|
-
|
|
266
|
-
format(value: any): void;
|
|
267
|
-
iterateObject(obj: any, fn: (property: string, isGetter: boolean) => void): void;
|
|
268
|
-
emitScalar(value: any): void;
|
|
269
|
-
emitString(value: string): void;
|
|
270
|
-
emitArray(array: any[]): void;
|
|
271
|
-
emitObject(obj: any): void;
|
|
272
|
-
append(value: any): void;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
interface StringPrettyPrinter extends PrettyPrinter {
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
interface Queue {
|
|
279
|
-
|
|
280
|
-
new (env: any): any;
|
|
281
|
-
|
|
282
|
-
env: Env;
|
|
283
|
-
ensured: boolean[];
|
|
284
|
-
blocks: Block[];
|
|
285
|
-
running: boolean;
|
|
286
|
-
index: number;
|
|
287
|
-
offset: number;
|
|
288
|
-
abort: boolean;
|
|
289
|
-
|
|
290
|
-
addBefore(block: Block, ensure?: boolean): void;
|
|
291
|
-
add(block: any, ensure?: boolean): void;
|
|
292
|
-
insertNext(block: any, ensure?: boolean): void;
|
|
293
|
-
start(onComplete?: () => void): void;
|
|
294
|
-
isRunning(): boolean;
|
|
295
|
-
next_(): void;
|
|
296
|
-
results(): NestedResults;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
interface Matchers {
|
|
300
|
-
|
|
301
|
-
new (env: Env, actual: any, spec: Env, isNot?: boolean): any;
|
|
302
|
-
|
|
303
|
-
env: Env;
|
|
304
|
-
actual: any;
|
|
305
|
-
spec: Env;
|
|
306
|
-
isNot?: boolean;
|
|
307
|
-
message(): any;
|
|
308
|
-
|
|
309
|
-
toBe(expected: any, expectationFailOutput?: any): boolean;
|
|
310
|
-
toEqual(expected: any, expectationFailOutput?: any): boolean;
|
|
311
|
-
toMatch(expected: string | RegExp, expectationFailOutput?: any): boolean;
|
|
312
|
-
toBeDefined(expectationFailOutput?: any): boolean;
|
|
313
|
-
toBeUndefined(expectationFailOutput?: any): boolean;
|
|
314
|
-
toBeNull(expectationFailOutput?: any): boolean;
|
|
315
|
-
toBeNaN(): boolean;
|
|
316
|
-
toBeTruthy(expectationFailOutput?: any): boolean;
|
|
317
|
-
toBeFalsy(expectationFailOutput?: any): boolean;
|
|
318
|
-
toHaveBeenCalled(): boolean;
|
|
319
|
-
toHaveBeenCalledWith(...params: any[]): boolean;
|
|
320
|
-
toHaveBeenCalledTimes(expected: number): boolean;
|
|
321
|
-
toContain(expected: any, expectationFailOutput?: any): boolean;
|
|
322
|
-
toBeLessThan(expected: number, expectationFailOutput?: any): boolean;
|
|
323
|
-
toBeLessThanOrEqual(expected: number, expectationFailOutput?: any): boolean;
|
|
324
|
-
toBeGreaterThan(expected: number, expectationFailOutput?: any): boolean;
|
|
325
|
-
toBeGreaterThanOrEqual(expected: number, expectationFailOutput?: any): boolean;
|
|
326
|
-
toBeCloseTo(expected: number, precision?: any, expectationFailOutput?: any): boolean;
|
|
327
|
-
toThrow(expected?: any): boolean;
|
|
328
|
-
toThrowError(message?: string | RegExp): boolean;
|
|
329
|
-
toThrowError(expected?: new (...args: any[]) => Error, message?: string | RegExp): boolean;
|
|
330
|
-
not: Matchers;
|
|
331
|
-
|
|
332
|
-
Any: Any;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
interface Reporter {
|
|
336
|
-
reportRunnerStarting(runner: Runner): void;
|
|
337
|
-
reportRunnerResults(runner: Runner): void;
|
|
338
|
-
reportSuiteResults(suite: Suite): void;
|
|
339
|
-
reportSpecStarting(spec: Spec): void;
|
|
340
|
-
reportSpecResults(spec: Spec): void;
|
|
341
|
-
log(str: string): void;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
interface MultiReporter extends Reporter {
|
|
345
|
-
addReporter(reporter: Reporter): void;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
interface SuiteInfo {
|
|
349
|
-
totalSpecsDefined: number;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
interface CustomReportExpectation {
|
|
353
|
-
matcherName: string;
|
|
354
|
-
message: string;
|
|
355
|
-
passed: boolean;
|
|
356
|
-
stack: string;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
interface FailedExpectation extends CustomReportExpectation {
|
|
360
|
-
actual: string;
|
|
361
|
-
expected: string;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
interface PassedExpectation extends CustomReportExpectation {
|
|
365
|
-
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
interface CustomReporterResult {
|
|
369
|
-
description: string,
|
|
370
|
-
failedExpectations?: FailedExpectation[],
|
|
371
|
-
fullName: string,
|
|
372
|
-
id: string;
|
|
373
|
-
passedExpectations?: PassedExpectation[],
|
|
374
|
-
pendingReason?: string;
|
|
375
|
-
status?: string;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
interface RunDetails {
|
|
379
|
-
failedExpectations: ExpectationResult[];
|
|
380
|
-
order: jasmine.Order
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
interface CustomReporter {
|
|
384
|
-
jasmineStarted?(suiteInfo: SuiteInfo): void;
|
|
385
|
-
suiteStarted?(result: CustomReporterResult): void;
|
|
386
|
-
specStarted?(result: CustomReporterResult): void;
|
|
387
|
-
specDone?(result: CustomReporterResult): void;
|
|
388
|
-
suiteDone?(result: CustomReporterResult): void;
|
|
389
|
-
jasmineDone?(runDetails: RunDetails): void;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
interface Runner {
|
|
393
|
-
|
|
394
|
-
new (env: Env): any;
|
|
395
|
-
|
|
396
|
-
execute(): void;
|
|
397
|
-
beforeEach(beforeEachFunction: SpecFunction): void;
|
|
398
|
-
afterEach(afterEachFunction: SpecFunction): void;
|
|
399
|
-
beforeAll(beforeAllFunction: SpecFunction): void;
|
|
400
|
-
afterAll(afterAllFunction: SpecFunction): void;
|
|
401
|
-
finishCallback(): void;
|
|
402
|
-
addSuite(suite: Suite): void;
|
|
403
|
-
add(block: Block): void;
|
|
404
|
-
specs(): Spec[];
|
|
405
|
-
suites(): Suite[];
|
|
406
|
-
topLevelSuites(): Suite[];
|
|
407
|
-
results(): NestedResults;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
interface SpecFunction {
|
|
411
|
-
(spec?: Spec): void;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
interface SuiteOrSpec {
|
|
415
|
-
id: number;
|
|
416
|
-
env: Env;
|
|
417
|
-
description: string;
|
|
418
|
-
queue: Queue;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
interface Spec extends SuiteOrSpec {
|
|
422
|
-
|
|
423
|
-
new (env: Env, suite: Suite, description: string): any;
|
|
424
|
-
|
|
425
|
-
suite: Suite;
|
|
426
|
-
|
|
427
|
-
afterCallbacks: SpecFunction[];
|
|
428
|
-
spies_: Spy[];
|
|
429
|
-
|
|
430
|
-
results_: NestedResults;
|
|
431
|
-
matchersClass: Matchers;
|
|
432
|
-
|
|
433
|
-
getFullName(): string;
|
|
434
|
-
results(): NestedResults;
|
|
435
|
-
log(arguments: any): any;
|
|
436
|
-
runs(func: SpecFunction): Spec;
|
|
437
|
-
addToQueue(block: Block): void;
|
|
438
|
-
addMatcherResult(result: Result): void;
|
|
439
|
-
getResult(): any;
|
|
440
|
-
expect(actual: any): any;
|
|
441
|
-
waits(timeout: number): Spec;
|
|
442
|
-
waitsFor(latchFunction: SpecFunction, timeoutMessage?: string, timeout?: number): Spec;
|
|
443
|
-
fail(e?: any): void;
|
|
444
|
-
getMatchersClass_(): Matchers;
|
|
445
|
-
addMatchers(matchersPrototype: CustomMatcherFactories): void;
|
|
446
|
-
finishCallback(): void;
|
|
447
|
-
finish(onComplete?: () => void): void;
|
|
448
|
-
after(doAfter: SpecFunction): void;
|
|
449
|
-
execute(onComplete?: () => void, enabled?: boolean): any;
|
|
450
|
-
addBeforesAndAftersToQueue(): void;
|
|
451
|
-
explodes(): void;
|
|
452
|
-
spyOn(obj: any, methodName: string, ignoreMethodDoesntExist: boolean): Spy;
|
|
453
|
-
spyOnProperty(object: any, property: string, accessType: string): Spy;
|
|
454
|
-
removeAllSpies(): void;
|
|
455
|
-
throwOnExpectationFailure: boolean;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
interface XSpec {
|
|
459
|
-
id: number;
|
|
460
|
-
runs(): void;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
interface Suite extends SuiteOrSpec {
|
|
464
|
-
|
|
465
|
-
new (env: Env, description: string, specDefinitions: () => void, parentSuite: Suite): any;
|
|
466
|
-
|
|
467
|
-
parentSuite: Suite;
|
|
468
|
-
|
|
469
|
-
getFullName(): string;
|
|
470
|
-
finish(onComplete?: () => void): void;
|
|
471
|
-
beforeEach(beforeEachFunction: SpecFunction): void;
|
|
472
|
-
afterEach(afterEachFunction: SpecFunction): void;
|
|
473
|
-
beforeAll(beforeAllFunction: SpecFunction): void;
|
|
474
|
-
afterAll(afterAllFunction: SpecFunction): void;
|
|
475
|
-
results(): NestedResults;
|
|
476
|
-
add(suiteOrSpec: SuiteOrSpec): void;
|
|
477
|
-
specs(): Spec[];
|
|
478
|
-
suites(): Suite[];
|
|
479
|
-
children(): any[];
|
|
480
|
-
execute(onComplete?: () => void): void;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
interface XSuite {
|
|
484
|
-
execute(): void;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
interface Spy {
|
|
488
|
-
(...params: any[]): any;
|
|
489
|
-
|
|
490
|
-
identity: string;
|
|
491
|
-
and: SpyAnd;
|
|
492
|
-
calls: Calls;
|
|
493
|
-
mostRecentCall: { args: any[]; };
|
|
494
|
-
argsForCall: any[];
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
interface SpyAnd {
|
|
498
|
-
/** By chaining the spy with and.callThrough, the spy will still track all calls to it but in addition it will delegate to the actual implementation. */
|
|
499
|
-
callThrough(): Spy;
|
|
500
|
-
/** By chaining the spy with and.returnValue, all calls to the function will return a specific value. */
|
|
501
|
-
returnValue(val: any): Spy;
|
|
502
|
-
/** By chaining the spy with and.returnValues, all calls to the function will return specific values in order until it reaches the end of the return values list. */
|
|
503
|
-
returnValues(...values: any[]): Spy;
|
|
504
|
-
/** By chaining the spy with and.callFake, all calls to the spy will delegate to the supplied function. */
|
|
505
|
-
callFake(fn: Function): Spy;
|
|
506
|
-
/** By chaining the spy with and.throwError, all calls to the spy will throw the specified value. */
|
|
507
|
-
throwError(msg: string): Spy;
|
|
508
|
-
/** When a calling strategy is used for a spy, the original stubbing behavior can be returned at any time with and.stub. */
|
|
509
|
-
stub(): Spy;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
interface Calls {
|
|
513
|
-
/** By chaining the spy with calls.any(), will return false if the spy has not been called at all, and then true once at least one call happens. **/
|
|
514
|
-
any(): boolean;
|
|
515
|
-
/** By chaining the spy with calls.count(), will return the number of times the spy was called **/
|
|
516
|
-
count(): number;
|
|
517
|
-
/** By chaining the spy with calls.argsFor(), will return the arguments passed to call number index **/
|
|
518
|
-
argsFor(index: number): any[];
|
|
519
|
-
/** By chaining the spy with calls.allArgs(), will return the arguments to all calls **/
|
|
520
|
-
allArgs(): any[];
|
|
521
|
-
/** By chaining the spy with calls.all(), will return the context (the this) and arguments passed all calls **/
|
|
522
|
-
all(): CallInfo[];
|
|
523
|
-
/** By chaining the spy with calls.mostRecent(), will return the context (the this) and arguments for the most recent call **/
|
|
524
|
-
mostRecent(): CallInfo;
|
|
525
|
-
/** By chaining the spy with calls.first(), will return the context (the this) and arguments for the first call **/
|
|
526
|
-
first(): CallInfo;
|
|
527
|
-
/** By chaining the spy with calls.reset(), will clears all tracking for a spy **/
|
|
528
|
-
reset(): void;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
interface CallInfo {
|
|
532
|
-
/** The context (the this) for the call */
|
|
533
|
-
object: any;
|
|
534
|
-
/** All arguments passed to the call */
|
|
535
|
-
args: any[];
|
|
536
|
-
/** The return value of the call */
|
|
537
|
-
returnValue: any;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
interface Util {
|
|
541
|
-
inherit(childClass: Function, parentClass: Function): any;
|
|
542
|
-
formatException(e: any): any;
|
|
543
|
-
htmlEscape(str: string): string;
|
|
544
|
-
argsToArray(args: any): any;
|
|
545
|
-
extend(destination: any, source: any): any;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
interface JsApiReporter extends Reporter {
|
|
549
|
-
|
|
550
|
-
started: boolean;
|
|
551
|
-
finished: boolean;
|
|
552
|
-
result: any;
|
|
553
|
-
messages: any;
|
|
554
|
-
runDetails: RunDetails
|
|
555
|
-
|
|
556
|
-
new (): any;
|
|
557
|
-
|
|
558
|
-
suites(): Suite[];
|
|
559
|
-
summarize_(suiteOrSpec: SuiteOrSpec): any;
|
|
560
|
-
results(): any;
|
|
561
|
-
resultsForSpec(specId: any): any;
|
|
562
|
-
log(str: any): any;
|
|
563
|
-
resultsForSpecs(specIds: any): any;
|
|
564
|
-
summarizeResult_(result: any): any;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
interface Jasmine {
|
|
568
|
-
Spec: Spec;
|
|
569
|
-
clock: Clock;
|
|
570
|
-
util: Util;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export var HtmlReporter: HtmlReporter;
|
|
574
|
-
export var HtmlSpecFilter: HtmlSpecFilter;
|
|
575
|
-
export var DEFAULT_TIMEOUT_INTERVAL: number;
|
|
576
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// Generated by typings
|
|
2
|
-
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b91b67fc09fc34ae8f7e34b0d2a905421de101c5/jasmine-ajax/jasmine-ajax.d.ts
|
|
3
|
-
interface JasmineAjaxResponse {
|
|
4
|
-
status?: number;
|
|
5
|
-
statusText?: string;
|
|
6
|
-
responseText?: string;
|
|
7
|
-
response?: string;
|
|
8
|
-
contentType?: string;
|
|
9
|
-
responseHeaders?: { [key: string]: string };
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface JasmineAjaxRequest extends XMLHttpRequest {
|
|
13
|
-
url: string;
|
|
14
|
-
method: string;
|
|
15
|
-
params: any;
|
|
16
|
-
username: string;
|
|
17
|
-
password: string;
|
|
18
|
-
requestHeaders: { [key: string]: string };
|
|
19
|
-
overriddenMimeType: string;
|
|
20
|
-
|
|
21
|
-
respondWith(response: JasmineAjaxResponse): void;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface JasmineAjaxRequestTracker {
|
|
25
|
-
track(request: JasmineAjaxRequest): void;
|
|
26
|
-
first(): JasmineAjaxRequest;
|
|
27
|
-
count(): number;
|
|
28
|
-
reset(): void;
|
|
29
|
-
mostRecent(): JasmineAjaxRequest;
|
|
30
|
-
at(index: number): JasmineAjaxRequest;
|
|
31
|
-
filter(urlToMatch: RegExp): JasmineAjaxRequest[];
|
|
32
|
-
filter(urlToMatch: Function): JasmineAjaxRequest[];
|
|
33
|
-
filter(urlToMatch: string): JasmineAjaxRequest[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface JasmineAjaxRequestStubReturnOptions {
|
|
37
|
-
status?: number;
|
|
38
|
-
contentType?: string;
|
|
39
|
-
response?: string;
|
|
40
|
-
responseText?: string;
|
|
41
|
-
responseHeaders?: { [key: string]: string };
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface JasmineAjaxRequestStub {
|
|
45
|
-
data?: string;
|
|
46
|
-
method?: string;
|
|
47
|
-
andReturn(options: JasmineAjaxRequestStubReturnOptions): void;
|
|
48
|
-
matches(fullUrl: string, data: string, method: string): boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
interface JasmineAjaxStubTracker {
|
|
52
|
-
addStub(stub: JasmineAjaxRequestStub): void;
|
|
53
|
-
reset(): void;
|
|
54
|
-
findStub(url: string, data?: string, method?: string): JasmineAjaxRequestStub;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
interface JasmineAjaxParamParser {
|
|
58
|
-
test(xhr: XMLHttpRequest): boolean;
|
|
59
|
-
parse(paramString: string): any;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
declare class MockAjax {
|
|
63
|
-
constructor(globals: any);
|
|
64
|
-
|
|
65
|
-
install(): void;
|
|
66
|
-
uninstall(): void;
|
|
67
|
-
|
|
68
|
-
withMock(closure: () => void): void;
|
|
69
|
-
addCustomParamParser(parser: JasmineAjaxParamParser): void;
|
|
70
|
-
|
|
71
|
-
stubRequest(url: RegExp, data?: string, method?: string): JasmineAjaxRequestStub;
|
|
72
|
-
stubRequest(url: string, data?: string, method?: string): JasmineAjaxRequestStub;
|
|
73
|
-
|
|
74
|
-
stubRequest(url: RegExp, data?: RegExp, method?: string): JasmineAjaxRequestStub;
|
|
75
|
-
stubRequest(url: string, data?: RegExp, method?: string): JasmineAjaxRequestStub;
|
|
76
|
-
|
|
77
|
-
requests: JasmineAjaxRequestTracker;
|
|
78
|
-
stubs: JasmineAjaxStubTracker;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
declare namespace jasmine {
|
|
82
|
-
export var Ajax: MockAjax;
|
|
83
|
-
}
|