@paydock/client-sdk 1.144.1-beta → 1.145.0-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.
Files changed (50) hide show
  1. package/README.md +422 -31
  2. package/bundles/index.cjs +1972 -532
  3. package/bundles/index.cjs.d.ts +192 -8
  4. package/bundles/index.mjs +1972 -532
  5. package/bundles/index.mjs.d.ts +192 -8
  6. package/bundles/types/helper/browser.d.ts.map +1 -1
  7. package/bundles/types/helper/element-id.d.ts +3 -1
  8. package/bundles/types/helper/element-id.d.ts.map +1 -1
  9. package/bundles/types/helper/uuid.d.ts.map +1 -1
  10. package/bundles/types/open-wallets/apple-pay-open-wallet-button.d.ts +41 -0
  11. package/bundles/types/open-wallets/apple-pay-open-wallet-button.d.ts.map +1 -1
  12. package/bundles/types/open-wallets/base/open-wallet-buttons.d.ts +10 -0
  13. package/bundles/types/open-wallets/base/open-wallet-buttons.d.ts.map +1 -1
  14. package/bundles/types/open-wallets/base/service-config-cache.d.ts +23 -0
  15. package/bundles/types/open-wallets/base/service-config-cache.d.ts.map +1 -0
  16. package/bundles/types/open-wallets/google-pay-open-wallet-button.d.ts +33 -1
  17. package/bundles/types/open-wallets/google-pay-open-wallet-button.d.ts.map +1 -1
  18. package/bundles/types/open-wallets/index.d.ts +82 -1
  19. package/bundles/types/open-wallets/index.d.ts.map +1 -1
  20. package/bundles/types/open-wallets/interfaces/apple-pay/apple-pay-availability.interface.d.ts +41 -0
  21. package/bundles/types/open-wallets/interfaces/apple-pay/apple-pay-availability.interface.d.ts.map +1 -0
  22. package/bundles/types/open-wallets/interfaces/apple-pay/index.d.ts +1 -0
  23. package/bundles/types/open-wallets/interfaces/apple-pay/index.d.ts.map +1 -1
  24. package/bundles/types/open-wallets/interfaces/google-pay/google-pay-availability.interface.d.ts +25 -0
  25. package/bundles/types/open-wallets/interfaces/google-pay/google-pay-availability.interface.d.ts.map +1 -0
  26. package/bundles/types/open-wallets/interfaces/google-pay/index.d.ts +1 -0
  27. package/bundles/types/open-wallets/interfaces/google-pay/index.d.ts.map +1 -1
  28. package/bundles/types/open-wallets/interfaces/index.d.ts +3 -0
  29. package/bundles/types/open-wallets/interfaces/index.d.ts.map +1 -1
  30. package/bundles/types/open-wallets/interfaces/open-wallet-availability.interface.d.ts +31 -0
  31. package/bundles/types/open-wallets/interfaces/open-wallet-availability.interface.d.ts.map +1 -0
  32. package/bundles/types/open-wallets/services/apple-pay/apple-pay-availability.d.ts +58 -0
  33. package/bundles/types/open-wallets/services/apple-pay/apple-pay-availability.d.ts.map +1 -0
  34. package/bundles/types/open-wallets/services/apple-pay/apple-pay.open-wallet.service.d.ts +8 -10
  35. package/bundles/types/open-wallets/services/apple-pay/apple-pay.open-wallet.service.d.ts.map +1 -1
  36. package/bundles/types/open-wallets/services/apple-pay/index.d.ts +1 -0
  37. package/bundles/types/open-wallets/services/apple-pay/index.d.ts.map +1 -1
  38. package/bundles/types/open-wallets/services/google-pay/google-pay-availability.d.ts +53 -0
  39. package/bundles/types/open-wallets/services/google-pay/google-pay-availability.d.ts.map +1 -0
  40. package/bundles/types/open-wallets/services/google-pay/google-pay.open-wallet.service.d.ts.map +1 -1
  41. package/bundles/types/open-wallets/services/google-pay/index.d.ts +1 -0
  42. package/bundles/types/open-wallets/services/google-pay/index.d.ts.map +1 -1
  43. package/bundles/widget.umd.js +1972 -532
  44. package/bundles/widget.umd.js.d.ts +192 -8
  45. package/bundles/widget.umd.js.min.d.ts +192 -8
  46. package/bundles/widget.umd.min.js +1 -1
  47. package/docs/open-wallet-buttons-examples.md +170 -2
  48. package/docs/open-wallet-buttons.md +252 -29
  49. package/package.json +10 -7
  50. package/slate.md +170 -2
@@ -3782,6 +3782,77 @@ declare enum ERROR_OPERATION {
3782
3782
  SHIPPING_UPDATE = "shipping_update"
3783
3783
  }
3784
3784
 
3785
+ /**
3786
+ * Base options shared by every wallet's static availability check
3787
+ * (e.g. `ApplePayOpenWalletButton.checkAvailability`). Wallet-specific option
3788
+ * interfaces extend this with their own fields.
3789
+ */
3790
+ interface OpenWalletAvailabilityOptions {
3791
+ /** Public key or access token used to fetch the service config when needed. */
3792
+ public_key_or_access_token?: string;
3793
+ /** Service ID — used with `public_key_or_access_token` to resolve the wallet configuration. */
3794
+ service_id?: string;
3795
+ /** Environment for the config fetch (e.g. `'sandbox'`). Defaults to the SDK default. */
3796
+ env?: string;
3797
+ /**
3798
+ * When `true`, performs only the cheap, network-free synchronous check and resolves
3799
+ * immediately — no config fetch, SDK load, or remote capability query.
3800
+ */
3801
+ sync?: boolean;
3802
+ }
3803
+ /**
3804
+ * Base result shared by every wallet's static availability check. Wallet-specific
3805
+ * result interfaces extend this with their own fields.
3806
+ */
3807
+ interface OpenWalletAvailabilityResult {
3808
+ /** Convenience verdict: the wallet is usable for a payment in the current context. */
3809
+ available: boolean;
3810
+ /** Whether the wallet is supported here at all (may be available via a fallback flow). */
3811
+ supported: boolean;
3812
+ /** Machine-readable reason when not available. */
3813
+ reason?: string;
3814
+ }
3815
+
3816
+ /**
3817
+ * Friendly capability tokens accepted as **input** — the same values used in
3818
+ * `ApplePayOpenWalletMeta.apple_pay_capabilities`. They declare which device
3819
+ * credential statuses should be treated as "available".
3820
+ */
3821
+ type ApplePayCapabilityToken = 'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable';
3822
+ /**
3823
+ * Device-reported credential status — the **output** of
3824
+ * `ApplePaySession.applePayCapabilities()`.
3825
+ */
3826
+ type ApplePayCredentialStatus = 'paymentCredentialsAvailable' | 'paymentCredentialStatusUnknown' | 'paymentCredentialsUnavailable' | 'applePayUnsupported';
3827
+ /**
3828
+ * Options for `ApplePayOpenWalletButton.checkAvailability`. Provide `merchant_id`
3829
+ * directly to skip the network call, **or** provide `public_key_or_access_token` +
3830
+ * `service_id` to have the SDK resolve the merchant identifier from the service config.
3831
+ */
3832
+ interface ApplePayAvailabilityOptions extends OpenWalletAvailabilityOptions {
3833
+ /** Apple merchant identifier. Provide this OR (`public_key_or_access_token` + `service_id`). */
3834
+ merchant_id?: string;
3835
+ /**
3836
+ * Device credential statuses that count as available. Defaults to
3837
+ * `['credentials_available', 'credentials_status_unknown']` — `credentials_status_unknown`
3838
+ * is what third-party / cross-device (QR) browsers report, so the default keeps Apple Pay
3839
+ * visible outside Safari.
3840
+ */
3841
+ apple_pay_capabilities?: ApplePayCapabilityToken[];
3842
+ }
3843
+ /** Result of `ApplePayOpenWalletButton.checkAvailability`. */
3844
+ interface ApplePayAvailabilityResult extends OpenWalletAvailabilityResult {
3845
+ /**
3846
+ * Whether a **native, same-device** Apple Pay session is present right now
3847
+ * (`ApplePaySession` exists and `canMakePayments()` is `true`). Apple does not expose
3848
+ * the transport directly, so use this to infer it: `available && has_native_session` ⇒
3849
+ * native sheet likely; `available && !has_native_session` ⇒ cross-device / QR handoff likely.
3850
+ */
3851
+ has_native_session: boolean;
3852
+ /** The raw device-reported credential status. Undefined when unsupported or not queried. */
3853
+ payment_credential_status?: ApplePayCredentialStatus;
3854
+ }
3855
+
3785
3856
  /**
3786
3857
  * Events emitted during the OpenWallet payment lifecycle.
3787
3858
  */
@@ -3933,6 +4004,30 @@ interface OnCancelEventData extends OpenWalletBaseEvent {
3933
4004
  event: EVENT$1.CHECKOUT_CLOSE;
3934
4005
  }
3935
4006
 
4007
+ /**
4008
+ * Options for `GooglePayOpenWalletButton.checkAvailability`. Extends
4009
+ * {@link OpenWalletAvailabilityOptions}. All fields are optional — Google Pay's
4010
+ * `isReadyToPay` check does not require a merchant identifier. Provide
4011
+ * `public_key_or_access_token` + `service_id` to validate that the service is a Google Pay
4012
+ * service (and resolve the merchant id), or `merchant_id` directly.
4013
+ */
4014
+ interface GooglePayAvailabilityOptions extends OpenWalletAvailabilityOptions {
4015
+ /**
4016
+ * Google Pay gateway merchant identifier. Optional — `isReadyToPay` does not require it;
4017
+ * when omitted the readiness check still runs.
4018
+ */
4019
+ merchant_id?: string;
4020
+ }
4021
+ /** Result of `GooglePayOpenWalletButton.checkAvailability`. */
4022
+ interface GooglePayAvailabilityResult extends OpenWalletAvailabilityResult {
4023
+ /**
4024
+ * Google's `isReadyToPay` `paymentMethodPresent` — whether the buyer already has a
4025
+ * payment method usable with Google Pay. `undefined` when not reported (e.g. the
4026
+ * synchronous check, or browsers where it is not surfaced).
4027
+ */
4028
+ payment_method_present?: boolean;
4029
+ }
4030
+
3936
4031
  /**
3937
4032
  * Base metadata required to configure an OpenWallet button.
3938
4033
  */
@@ -4201,6 +4296,16 @@ declare abstract class OpenWalletButtons<TMeta extends OpenWalletMeta = OpenWall
4201
4296
  abstract readonly walletType: WalletType;
4202
4297
  /** @private */
4203
4298
  constructor(selector: string, publicKeyOrAccessToken: string, serviceId: string, meta: TMeta);
4299
+ /**
4300
+ * Invalidates the cached service configuration whenever an error or unavailable
4301
+ * event fires, so the next `load()` re-fetches a fresh config. The cache is keyed
4302
+ * on the service ID with a 1-day TTL; clearing it on failure means a config that
4303
+ * changed server-side (and caused the failure) is not reused until the TTL expires.
4304
+ * Registered once per button, independently of any merchant-registered handlers.
4305
+ *
4306
+ * @private
4307
+ */
4308
+ private registerCacheInvalidationOnError;
4204
4309
  /**
4205
4310
  * Creates the wallet-specific service instance for this button.
4206
4311
  * Each concrete subclass implements this to instantiate its specific wallet service.
@@ -5062,11 +5167,6 @@ type ApplePayButtonStyle$1 = 'black' | 'white' | 'white-outline';
5062
5167
 
5063
5168
  type ApplePayButtonType$1 = 'add-money' | 'book' | 'buy' | 'check-out' | 'continue' | 'contribute' | 'donate' | 'order' | 'pay' | 'plain' | 'reload' | 'rent' | 'set-up' | 'subscribe' | 'support' | 'tip' | 'top-up';
5064
5169
 
5065
- declare global {
5066
- interface Window {
5067
- ApplePaySession: ApplePaySession;
5068
- }
5069
- }
5070
5170
  /** Styling configuration for the Apple Pay button. */
5071
5171
  interface ApplePayOpenWalletMetaStyles extends OpenWalletMetaStyles {
5072
5172
  /** Variant displayed on the button (e.g. `'buy'`, `'donate'`, `'plain'`, `'check-out'`). */
@@ -5127,12 +5227,24 @@ interface ApplePayOpenWalletMeta extends OpenWalletMeta, Omit<ApplePayPaymentReq
5127
5227
  /** Visual styling for the Apple Pay button. */
5128
5228
  style?: ApplePayOpenWalletMetaStyles;
5129
5229
  /**
5130
- * Device capabilities allowed for the wallet button to be considered available.
5131
- * Used as a relaxation knob for testing — defaults to `['paymentCredentialsAvailable']` only.
5230
+ * Device credential statuses that make the button render. Defaults to
5231
+ * `['credentials_available', 'credentials_status_unknown']`:
5232
+ * - `credentials_available` — the device has a confirmed Apple Pay card ready to use.
5233
+ * - `credentials_status_unknown` — a local card can't be confirmed, but Apple Pay can
5234
+ * still proceed (e.g. the cross-device flow where the buyer completes payment on their
5235
+ * iPhone via QR, used by Chrome, Edge and Firefox).
5236
+ * The button renders when the device's reported status is in this list. Narrow to
5237
+ * `['credentials_available']` to require a confirmed local card.
5132
5238
  */
5133
5239
  apple_pay_capabilities?: Array<'credentials_available' | 'credentials_status_unknown' | 'credentials_unavailable'>;
5134
5240
  }
5135
5241
 
5242
+ declare global {
5243
+ interface Window {
5244
+ ApplePaySession: ApplePaySession;
5245
+ }
5246
+ }
5247
+
5136
5248
  /**
5137
5249
  * @classdesc Apple Pay wallet button that creates One-Time Tokens (OTT) via Apple Pay.
5138
5250
  *
@@ -5171,6 +5283,46 @@ interface ApplePayOpenWalletMeta extends OpenWalletMeta, Omit<ApplePayPaymentReq
5171
5283
  declare class ApplePayOpenWalletButton extends OpenWalletButtons<ApplePayOpenWalletMeta> {
5172
5284
  /** @private */
5173
5285
  readonly walletType: WalletType;
5286
+ /**
5287
+ * Checks Apple Pay availability **without instantiating the button** — the single,
5288
+ * authoritative, cross-browser-aware availability entry point.
5289
+ *
5290
+ * Resolves the merchant identifier (either supplied directly or fetched from the
5291
+ * service configuration), loads Apple's web SDK if needed, then queries
5292
+ * `ApplePaySession.applePayCapabilities()`. Returns a convenience `available` verdict
5293
+ * (computed against `apple_pay_capabilities`), the raw device-reported
5294
+ * `payment_credential_status`, and `has_native_session` so callers can infer the transport:
5295
+ * `available && has_native_session` ⇒ native sheet likely; `available && !has_native_session`
5296
+ * ⇒ cross-device / QR handoff likely.
5297
+ *
5298
+ * Pass `{ sync: true }` for a cheap, network-free native same-device pre-check that
5299
+ * resolves immediately (see {@link ApplePayAvailabilityOptions.sync}).
5300
+ *
5301
+ * @param {ApplePayAvailabilityOptions} [options] - Merchant context, allowed capabilities, and mode.
5302
+ * @returns {Promise<ApplePayAvailabilityResult>} The availability result.
5303
+ *
5304
+ * @example
5305
+ * // Lightest path — no network, when you already know the merchant identifier:
5306
+ * const result = await ApplePayOpenWalletButton.checkAvailability({ merchant_id });
5307
+ *
5308
+ * @example
5309
+ * // Resolve the merchant identifier from the service configuration:
5310
+ * const result = await ApplePayOpenWalletButton.checkAvailability({
5311
+ * public_key_or_access_token,
5312
+ * service_id,
5313
+ * env: 'sandbox',
5314
+ * });
5315
+ * if (result.available) {
5316
+ * // Render the Apple Pay button (native sheet or cross-device QR, per has_native_session).
5317
+ * } else {
5318
+ * console.log('Unavailable:', result.reason, result.payment_credential_status);
5319
+ * }
5320
+ *
5321
+ * @example
5322
+ * // Synchronous native-only fast check (no network / SDK load):
5323
+ * const { has_native_session } = await ApplePayOpenWalletButton.checkAvailability({ sync: true });
5324
+ */
5325
+ static checkAvailability(options?: ApplePayAvailabilityOptions): Promise<ApplePayAvailabilityResult>;
5174
5326
  /**
5175
5327
  * Validates Apple Pay-specific required metadata fields.
5176
5328
  * Apple Pay requires `amount_label` and `store_name` to be present and strings.
@@ -5342,6 +5494,38 @@ interface GooglePayCardConfig {
5342
5494
  declare class GooglePayOpenWalletButton extends OpenWalletButtons<GooglePayOpenWalletMeta> {
5343
5495
  /** @private */
5344
5496
  readonly walletType: WalletType;
5497
+ /**
5498
+ * Checks Google Pay availability **without instantiating the button** — the static
5499
+ * availability entry point.
5500
+ *
5501
+ * Loads the Google Pay JS SDK if needed, then runs `PaymentsClient.isReadyToPay()` using
5502
+ * the **default** card configuration (a button instance with a custom `card_config` may
5503
+ * produce a different result). All options are optional — unlike Apple Pay, Google Pay's
5504
+ * readiness check does not require a merchant identifier; supplying `service_id` +
5505
+ * `public_key_or_access_token` additionally validates that the service is a Google Pay service.
5506
+ *
5507
+ * Pass `{ sync: true }` for a cheap, network-free check that only reports whether the
5508
+ * Google Pay JS API is already present (see {@link GooglePayAvailabilityOptions.sync}).
5509
+ *
5510
+ * @param {GooglePayAvailabilityOptions} [options] - Optional merchant context and mode.
5511
+ * @returns {Promise<GooglePayAvailabilityResult>} The availability result.
5512
+ *
5513
+ * @example
5514
+ * // Simplest form — no merchant context needed:
5515
+ * const result = await GooglePayOpenWalletButton.checkAvailability();
5516
+ * if (result.available) {
5517
+ * // Render the Google Pay button.
5518
+ * }
5519
+ *
5520
+ * @example
5521
+ * // Validate the service is a Google Pay service while checking:
5522
+ * const result = await GooglePayOpenWalletButton.checkAvailability({
5523
+ * public_key_or_access_token,
5524
+ * service_id,
5525
+ * env: 'sandbox',
5526
+ * });
5527
+ */
5528
+ static checkAvailability(options?: GooglePayAvailabilityOptions): Promise<GooglePayAvailabilityResult>;
5345
5529
  /**
5346
5530
  * Validates Google Pay-specific required metadata fields.
5347
5531
  * Google Pay has no additional required fields beyond the base (amount, currency, country).
@@ -7256,4 +7440,4 @@ declare global {
7256
7440
  }
7257
7441
 
7258
7442
  export { AfterpayCheckoutButton, AfterpayOnSiteMessaging, Api, ApplePayOpenWalletButton, ApplePayWalletButtonExpress, CANVAS_3DS_EVENT, CHECKOUT_BUTTON_EVENT, EVENT$2 as CHECKOUT_EVENT, Canvas3ds, Canvas3dsTokenFormat, Checkout, CheckoutActionCode, ClickToPay, Configuration, ContactShippingEditingMode, ELEMENT, ERROR_OPERATION, EVENT$3 as EVENT, Builder$1 as ExternalCheckoutBuilder, Checker as ExternalCheckoutChecker, FORM_FIELD, FRAUD_PREVENTION_EVENTS, FraudPreventionService, GooglePayOpenWalletButton, HtmlMultiWidget, HtmlPaymentSourceWidget, HtmlWidget, InstructionDebugger, MultiWidget, OpenWalletButtons, PAYMENT_EXPIRED, PAYMENT_FAILURE, PAYMENT_SUCCESSFUL, PAYMENT_TYPE, PURPOSE, PayPalDataCollector, PayPalSavePaymentSourceWidget, Builder as PaymentSourceBuilder, PaymentSourceWidget, PaypalCheckoutButton, PaypalWalletButtonExpress, STYLABLE_ELEMENT, STYLABLE_ELEMENT_STATE, STYLE, SUPPORTED_CARD_TYPES, TEXT, TOKEN_TYPE, TRIGGER, TYPE, VAULT_DISPLAY_STYLE, VaultDisplayWidget, EVENT as WALLET_BUTTONS_EXPRESS_EVENT, WALLET_TYPES, WalletButtons, ZipmoneyCheckoutButton };
7259
- export type { ApplePayButtonStyle, ApplePayButtonType, ApplePayOpenWalletMeta, ApplePayWalletMeta, AppleShippingType, BaseWalletMeta, Billing, Canvas3dsAuthPayload, Canvas3dsChargeAuthEventPayload, Canvas3dsErrorEventPayload, Canvas3dsErrorPayload, Canvas3dsEventMap, Canvas3dsEventName, CheckoutIntentTokenPayload, CheckoutPaymentExpiredPayload, CheckoutPaymentFailurePayload, CheckoutPaymentSuccessPayload, CheckoutResponse, CreateOTTData, CreateOTTRequest, CreateOTTResponse, CreateSessionRequest, CreateSessionResponse, EventTypes, FraudPreventionEvent, FraudPreventionEventType, FraudPreventionProvider, GooglePayCardConfig, GooglePayOpenWalletMeta, GooglePayOpenWalletMetaStyles, HandleResponseInterface, IApplePayShippingOption, ICheckout, IClickToPayMeta, IDetails, IElementStyleInput, IEventAfterLoadData, IEventCheckoutFinishData, IEventData$1 as IEventData, IEventError, IEventFinishData, IEventMetaData, IEventSizeData, IFormValidation, IOpenWalletProvider, IPayPalMeta, IStyles$1 as IStyles, ITexts, ITokenStandalone3DS, IWalletMeta, IWalletOnClickEvent, IWalletPaymentSuccessfulEvent, IWalletUnavailableEvent, IWalletUpdateData, IWalletUpdateEvent, OTTResponse, OnCancelEventData, OnClickEventData$1 as OnClickEventData, OnCreateOTTErrorEventData, OnCreateOTTErrorPayload, OnCreateOTTSuccessPayload, OnCreateOTTSuccessfulEventData, OnErrorEventData$1 as OnErrorEventData, OnErrorPayload, OnLoadedEventData, OnUnavailableDetails, OnUnavailableEventData$1 as OnUnavailableEventData, OnUnavailablePayload, OpenWalletBaseEvent, OpenWalletDataEvent, OpenWalletEventType, OpenWalletMeta, PaypalWalletMeta, ProcessAuthenticationResponse, Shipping, VaultDisplayStyle, OnClickEventData as WalletExpressOnClickEventData, OnCloseEventData as WalletExpressOnCloseEventData, OnErrorEventData as WalletExpressOnErrorEventData, OnPaymentErrorEventData as WalletExpressOnPaymentErrorEventData, OnPaymentInReviewEventData as WalletExpressOnPaymentInReviewEventData, OnPaymentSuccessfulEventData as WalletExpressOnPaymentSuccessfulEventData, OnShippingAddressChangeEventData as WalletExpressOnShippingAddressChangeEventData, OnShippingAddressChangeEventResponse as WalletExpressOnShippingAddressChangeEventResponse, OnShippingOptionChangeEventData as WalletExpressOnShippingOptionChangeEventData, OnShippingOptionChangeEventResponse as WalletExpressOnShippingOptionChangeEventResponse, OnUnavailableEventData as WalletExpressOnUnavailableEventData, WalletType, WidgetEventMap, WidgetEventName };
7443
+ export type { ApplePayAvailabilityOptions, ApplePayAvailabilityResult, ApplePayButtonStyle, ApplePayButtonType, ApplePayCapabilityToken, ApplePayCredentialStatus, ApplePayOpenWalletMeta, ApplePayWalletMeta, AppleShippingType, BaseWalletMeta, Billing, Canvas3dsAuthPayload, Canvas3dsChargeAuthEventPayload, Canvas3dsErrorEventPayload, Canvas3dsErrorPayload, Canvas3dsEventMap, Canvas3dsEventName, CheckoutIntentTokenPayload, CheckoutPaymentExpiredPayload, CheckoutPaymentFailurePayload, CheckoutPaymentSuccessPayload, CheckoutResponse, CreateOTTData, CreateOTTRequest, CreateOTTResponse, CreateSessionRequest, CreateSessionResponse, EventTypes, FraudPreventionEvent, FraudPreventionEventType, FraudPreventionProvider, GooglePayAvailabilityOptions, GooglePayAvailabilityResult, GooglePayCardConfig, GooglePayOpenWalletMeta, GooglePayOpenWalletMetaStyles, HandleResponseInterface, IApplePayShippingOption, ICheckout, IClickToPayMeta, IDetails, IElementStyleInput, IEventAfterLoadData, IEventCheckoutFinishData, IEventData$1 as IEventData, IEventError, IEventFinishData, IEventMetaData, IEventSizeData, IFormValidation, IOpenWalletProvider, IPayPalMeta, IStyles$1 as IStyles, ITexts, ITokenStandalone3DS, IWalletMeta, IWalletOnClickEvent, IWalletPaymentSuccessfulEvent, IWalletUnavailableEvent, IWalletUpdateData, IWalletUpdateEvent, OTTResponse, OnCancelEventData, OnClickEventData$1 as OnClickEventData, OnCreateOTTErrorEventData, OnCreateOTTErrorPayload, OnCreateOTTSuccessPayload, OnCreateOTTSuccessfulEventData, OnErrorEventData$1 as OnErrorEventData, OnErrorPayload, OnLoadedEventData, OnUnavailableDetails, OnUnavailableEventData$1 as OnUnavailableEventData, OnUnavailablePayload, OpenWalletAvailabilityOptions, OpenWalletAvailabilityResult, OpenWalletBaseEvent, OpenWalletDataEvent, OpenWalletEventType, OpenWalletMeta, PaypalWalletMeta, ProcessAuthenticationResponse, Shipping, VaultDisplayStyle, OnClickEventData as WalletExpressOnClickEventData, OnCloseEventData as WalletExpressOnCloseEventData, OnErrorEventData as WalletExpressOnErrorEventData, OnPaymentErrorEventData as WalletExpressOnPaymentErrorEventData, OnPaymentInReviewEventData as WalletExpressOnPaymentInReviewEventData, OnPaymentSuccessfulEventData as WalletExpressOnPaymentSuccessfulEventData, OnShippingAddressChangeEventData as WalletExpressOnShippingAddressChangeEventData, OnShippingAddressChangeEventResponse as WalletExpressOnShippingAddressChangeEventResponse, OnShippingOptionChangeEventData as WalletExpressOnShippingOptionChangeEventData, OnShippingOptionChangeEventResponse as WalletExpressOnShippingOptionChangeEventResponse, OnUnavailableEventData as WalletExpressOnUnavailableEventData, WalletType, WidgetEventMap, WidgetEventName };