@flopay/shared 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -98,7 +98,29 @@ interface ButtonsLayoutStyles {
98
98
  stateInput?: Record<string, string | number>;
99
99
  }
100
100
  /** Predefined theme for the `buttons` layout. */
101
- type ButtonsLayoutTheme = 'default' | 'minimal' | 'rounded' | 'dark';
101
+ type ButtonsLayoutTheme = 'default' | 'minimal' | 'rounded' | 'dark' | 'modern-light' | 'modern-dark' | 'bold-light' | 'bold-dark' | 'glass-light' | 'glass-dark';
102
+ /**
103
+ * Identifier for a coherent {appearance, buttonsLayout} theme bundle exported
104
+ * by `@flopay/shared`. Subset of `ButtonsLayoutTheme` covering the bundles
105
+ * that ship matching `*_APPEARANCE` + `BUTTONS_LAYOUT_*` halves.
106
+ */
107
+ type ThemeBundleId = 'modern-light' | 'modern-dark' | 'bold-light' | 'bold-dark' | 'glass-light' | 'glass-dark';
108
+ /**
109
+ * Theme identifier accepted by FloPay React components (`FloPayCheckout`,
110
+ * `FloPayAutomaticPaymentButton`, `SplitCardForm`) on the `theme` prop.
111
+ *
112
+ * - `'classic'` — historic FloPay look (no bundle applied); kept as the
113
+ * no-theme baseline so consumers can declare it explicitly.
114
+ * - Bundle ids (`'modern-light'`, `'glass-dark'`, …) pull both halves
115
+ * (`appearance` + `buttonsLayout`) from {@link THEMES} so a single prop
116
+ * styles every part of the checkout consistently.
117
+ */
118
+ type ThemeId = 'classic' | ThemeBundleId;
119
+ /** A coherent theme: appearance for Stripe Elements + wrapper styles for the FloPay buttons/card form. */
120
+ interface ThemeBundle {
121
+ appearance: FloPayAppearance;
122
+ buttonsLayout: ButtonsLayoutStyles;
123
+ }
102
124
  /**
103
125
  * Per-field AVS configuration.
104
126
  * - `true` = show for all countries
@@ -913,7 +935,7 @@ declare function getConfiguredBillingApiUrl(): string;
913
935
  declare function getFloPayEnvironment(): FloPayEnvironment;
914
936
 
915
937
  /** Current SDK version. */
916
- declare const SDK_VERSION = "1.1.4";
938
+ declare const SDK_VERSION = "1.1.6";
917
939
  /** Billing API URL for staging environment. */
918
940
  declare const BILLING_API_URL_STAGING = "https://api.stage.flopay.com";
919
941
  /** Billing API URL for production environment. */
@@ -951,6 +973,18 @@ declare const DEFAULT_APPEARANCE: FloPayAppearance;
951
973
  declare const FLAT_APPEARANCE: FloPayAppearance;
952
974
  /** Night theme — dark background. */
953
975
  declare const NIGHT_APPEARANCE: FloPayAppearance;
976
+ /** Modern light — clean & airy: Inter, soft shadows, generous spacing, 12px radius. */
977
+ declare const MODERN_LIGHT_APPEARANCE: FloPayAppearance;
978
+ /** Modern dark — clean & airy on a deep-blue surface, 12px radius. */
979
+ declare const MODERN_DARK_APPEARANCE: FloPayAppearance;
980
+ /** Bold light — vibrant: saturated primary, gradient submit, heavier weights. */
981
+ declare const BOLD_LIGHT_APPEARANCE: FloPayAppearance;
982
+ /** Bold dark — saturated deep-blue surface, gradient submit. */
983
+ declare const BOLD_DARK_APPEARANCE: FloPayAppearance;
984
+ /** Glass light — translucent surfaces with backdrop blur over a pastel blue gradient. */
985
+ declare const GLASS_LIGHT_APPEARANCE: FloPayAppearance;
986
+ /** Glass dark — translucent surfaces with backdrop blur over a deep-blue gradient. */
987
+ declare const GLASS_DARK_APPEARANCE: FloPayAppearance;
954
988
  /** Default buttons layout — white card button, neutral borders. */
955
989
  declare const BUTTONS_LAYOUT_DEFAULT: ButtonsLayoutStyles;
956
990
  /** Minimal buttons layout — borderless, subtle hover. */
@@ -959,8 +993,44 @@ declare const BUTTONS_LAYOUT_MINIMAL: ButtonsLayoutStyles;
959
993
  declare const BUTTONS_LAYOUT_ROUNDED: ButtonsLayoutStyles;
960
994
  /** Dark buttons layout — dark backgrounds, light text. */
961
995
  declare const BUTTONS_LAYOUT_DARK: ButtonsLayoutStyles;
996
+ /** Modern light — soft surface, 14px radius, FloPay-blue submit with subtle shadow. */
997
+ declare const BUTTONS_LAYOUT_MODERN_LIGHT: ButtonsLayoutStyles;
998
+ /** Modern dark — deep surface, 14px radius, sky-blue submit. */
999
+ declare const BUTTONS_LAYOUT_MODERN_DARK: ButtonsLayoutStyles;
1000
+ /** Bold light — blue-tint backdrop, primary-bordered card, gradient pill submit. */
1001
+ declare const BUTTONS_LAYOUT_BOLD_LIGHT: ButtonsLayoutStyles;
1002
+ /** Bold dark — saturated deep-blue surface, accented borders, gradient pill submit. */
1003
+ declare const BUTTONS_LAYOUT_BOLD_DARK: ButtonsLayoutStyles;
1004
+ /** Glass light — translucent surfaces with backdrop blur over a pastel blue gradient. */
1005
+ declare const BUTTONS_LAYOUT_GLASS_LIGHT: ButtonsLayoutStyles;
1006
+ /** Glass dark — translucent surfaces with backdrop blur over a deep-blue gradient. */
1007
+ declare const BUTTONS_LAYOUT_GLASS_DARK: ButtonsLayoutStyles;
962
1008
  /** Resolve a buttons layout theme name to its style preset. */
963
1009
  declare function resolveButtonsLayoutTheme(theme?: ButtonsLayoutTheme): ButtonsLayoutStyles;
1010
+ /**
1011
+ * First-class theme bundles. Each entry pairs a `FloPayAppearance` (for Stripe
1012
+ * Elements) with a `ButtonsLayoutStyles` (for the FloPay wrapper) so the look
1013
+ * is coherent across both halves. Consumers can pick by id without having to
1014
+ * import the two halves separately.
1015
+ *
1016
+ * @example
1017
+ * ```tsx
1018
+ * import { THEMES } from '@flopay/shared';
1019
+ *
1020
+ * const { appearance, buttonsLayout } = THEMES['glass-dark'];
1021
+ * <FloPayCheckout appearance={appearance} buttonsLayoutStyles={buttonsLayout} />
1022
+ * ```
1023
+ */
1024
+ declare const THEMES: Record<ThemeBundleId, ThemeBundle>;
1025
+ /**
1026
+ * Resolve a {@link ThemeId} to its {@link ThemeBundle}, or `undefined` for
1027
+ * `'classic'` / a missing id (the historic FloPay look with no bundle applied).
1028
+ *
1029
+ * Used by FloPay React components when consumers pass the high-level `theme`
1030
+ * prop instead of supplying `appearance` + `buttonsStyles` manually. Explicit
1031
+ * `appearance` / `buttonsStyles` props still override the resolved bundle.
1032
+ */
1033
+ declare function resolveTheme(id?: ThemeId | null): ThemeBundle | undefined;
964
1034
  /** All supported element type identifiers. */
965
1035
  declare const ELEMENT_TYPES: readonly ["payment", "card", "cardNumber", "cardExpiry", "cardCvc", "address"];
966
1036
  declare const SUPPORTED_CARD_BRANDS: readonly ["visa", "mastercard", "mastercard_debit", "amex", "discover"];
@@ -1148,4 +1218,4 @@ declare function isValidPublishableKey(key: string): boolean;
1148
1218
  /** Returns `true` if the string looks like a Stripe secret key. */
1149
1219
  declare function isValidSecretKey(key: string): boolean;
1150
1220
 
1151
- export { type AVSFieldConfig, BILLING_API_URL, BILLING_API_URL_PRODUCTION, BILLING_API_URL_STAGING, BUTTONS_LAYOUT_DARK, BUTTONS_LAYOUT_DEFAULT, BUTTONS_LAYOUT_MINIMAL, BUTTONS_LAYOUT_ROUNDED, type BeforeButtonClickEvent, type BillingDetails, type BillingProvider, type BuildCheckoutDisplayDataOptions, type ButtonsLayoutStyles, type ButtonsLayoutTheme, CA_PROVINCES, COUNTRY_OPTIONS, CURRENCY_MAP, type CheckoutAccount, type CheckoutButtonMethod, type CheckoutDisplayData, type CheckoutGateway, type CheckoutGateways, type CheckoutItem, type CheckoutMode, type CheckoutModeKind, type CheckoutProcessError, type CheckoutProcessingPending, type CheckoutProduct, type CheckoutProductType, type CheckoutSession, type CheckoutSessionProduct, type CheckoutSessionResult, type CheckoutSubscription, type ConfirmCardPaymentParams, type ConfirmCardPaymentResult, type ConfirmPaymentParams, type CountryOption, type CreateCustomerParams, type CreatePaymentMethodResult, type CreateSessionParams, type CurrencyInfo, type Customer, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DEFAULT_APPEARANCE, DEFAULT_CURRENCY, type DeclineEvent, type DisplayLineItem, ELEMENT_TYPES, type ElementChangeEvent, type ElementOptions, type ElementType, FLAT_APPEARANCE, type FloPayAppearance, type FloPayConfig, type FloPayEnvironment, FloPayError, type FloPayErrorType, type FloPayThemeVariables, type GatewayEnvironment, type InlineSessionDraft, type InlineSessionParams, type InlineSessionPatch, type LineItem, type MountedElement, NIGHT_APPEARANCE, type NormalizedCheckoutSession, type NormalizedGatewayEnvironment, type PaymentProviderAdapter, type PaymentResult, type PriceData, type ProcessPaymentParams, type RecurringInterval, SDK_VERSION, SUPPORTED_CARD_BRANDS, type StateOption, type TagsData, type TokenizedBody, US_STATES, type UpdateCustomerParams, type WebhookEvent, apiError, authenticationError, buildCheckoutDisplayData, buildItemPayload, buildProductPayload, buildSubscriptionPayload, configureFlopay, foldIntoProducts, getConfiguredBillingApiUrl, getCountryByCode, getCurrencyByCountry, getFloPayEnvironment, getPostalCodeLabel, getStateFromPostalCode, getStateLabel, getStateOptions, isAVSEnabled, isAVSFieldVisible, isValidPublishableKey, isValidSecretKey, networkError, normalizeGatewayEnvironment, rateLimitError, resolveAVSConfig, resolveBillingApiUrl, resolveButtonsLayoutTheme, resolveSessionCurrency, validationError };
1221
+ export { type AVSFieldConfig, BILLING_API_URL, BILLING_API_URL_PRODUCTION, BILLING_API_URL_STAGING, BOLD_DARK_APPEARANCE, BOLD_LIGHT_APPEARANCE, BUTTONS_LAYOUT_BOLD_DARK, BUTTONS_LAYOUT_BOLD_LIGHT, BUTTONS_LAYOUT_DARK, BUTTONS_LAYOUT_DEFAULT, BUTTONS_LAYOUT_GLASS_DARK, BUTTONS_LAYOUT_GLASS_LIGHT, BUTTONS_LAYOUT_MINIMAL, BUTTONS_LAYOUT_MODERN_DARK, BUTTONS_LAYOUT_MODERN_LIGHT, BUTTONS_LAYOUT_ROUNDED, type BeforeButtonClickEvent, type BillingDetails, type BillingProvider, type BuildCheckoutDisplayDataOptions, type ButtonsLayoutStyles, type ButtonsLayoutTheme, CA_PROVINCES, COUNTRY_OPTIONS, CURRENCY_MAP, type CheckoutAccount, type CheckoutButtonMethod, type CheckoutDisplayData, type CheckoutGateway, type CheckoutGateways, type CheckoutItem, type CheckoutMode, type CheckoutModeKind, type CheckoutProcessError, type CheckoutProcessingPending, type CheckoutProduct, type CheckoutProductType, type CheckoutSession, type CheckoutSessionProduct, type CheckoutSessionResult, type CheckoutSubscription, type ConfirmCardPaymentParams, type ConfirmCardPaymentResult, type ConfirmPaymentParams, type CountryOption, type CreateCustomerParams, type CreatePaymentMethodResult, type CreateSessionParams, type CurrencyInfo, type Customer, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DEFAULT_APPEARANCE, DEFAULT_CURRENCY, type DeclineEvent, type DisplayLineItem, ELEMENT_TYPES, type ElementChangeEvent, type ElementOptions, type ElementType, FLAT_APPEARANCE, type FloPayAppearance, type FloPayConfig, type FloPayEnvironment, FloPayError, type FloPayErrorType, type FloPayThemeVariables, GLASS_DARK_APPEARANCE, GLASS_LIGHT_APPEARANCE, type GatewayEnvironment, type InlineSessionDraft, type InlineSessionParams, type InlineSessionPatch, type LineItem, MODERN_DARK_APPEARANCE, MODERN_LIGHT_APPEARANCE, type MountedElement, NIGHT_APPEARANCE, type NormalizedCheckoutSession, type NormalizedGatewayEnvironment, type PaymentProviderAdapter, type PaymentResult, type PriceData, type ProcessPaymentParams, type RecurringInterval, SDK_VERSION, SUPPORTED_CARD_BRANDS, type StateOption, THEMES, type TagsData, type ThemeBundle, type ThemeBundleId, type ThemeId, type TokenizedBody, US_STATES, type UpdateCustomerParams, type WebhookEvent, apiError, authenticationError, buildCheckoutDisplayData, buildItemPayload, buildProductPayload, buildSubscriptionPayload, configureFlopay, foldIntoProducts, getConfiguredBillingApiUrl, getCountryByCode, getCurrencyByCountry, getFloPayEnvironment, getPostalCodeLabel, getStateFromPostalCode, getStateLabel, getStateOptions, isAVSEnabled, isAVSFieldVisible, isValidPublishableKey, isValidSecretKey, networkError, normalizeGatewayEnvironment, rateLimitError, resolveAVSConfig, resolveBillingApiUrl, resolveButtonsLayoutTheme, resolveSessionCurrency, resolveTheme, validationError };
package/dist/index.d.ts CHANGED
@@ -98,7 +98,29 @@ interface ButtonsLayoutStyles {
98
98
  stateInput?: Record<string, string | number>;
99
99
  }
100
100
  /** Predefined theme for the `buttons` layout. */
101
- type ButtonsLayoutTheme = 'default' | 'minimal' | 'rounded' | 'dark';
101
+ type ButtonsLayoutTheme = 'default' | 'minimal' | 'rounded' | 'dark' | 'modern-light' | 'modern-dark' | 'bold-light' | 'bold-dark' | 'glass-light' | 'glass-dark';
102
+ /**
103
+ * Identifier for a coherent {appearance, buttonsLayout} theme bundle exported
104
+ * by `@flopay/shared`. Subset of `ButtonsLayoutTheme` covering the bundles
105
+ * that ship matching `*_APPEARANCE` + `BUTTONS_LAYOUT_*` halves.
106
+ */
107
+ type ThemeBundleId = 'modern-light' | 'modern-dark' | 'bold-light' | 'bold-dark' | 'glass-light' | 'glass-dark';
108
+ /**
109
+ * Theme identifier accepted by FloPay React components (`FloPayCheckout`,
110
+ * `FloPayAutomaticPaymentButton`, `SplitCardForm`) on the `theme` prop.
111
+ *
112
+ * - `'classic'` — historic FloPay look (no bundle applied); kept as the
113
+ * no-theme baseline so consumers can declare it explicitly.
114
+ * - Bundle ids (`'modern-light'`, `'glass-dark'`, …) pull both halves
115
+ * (`appearance` + `buttonsLayout`) from {@link THEMES} so a single prop
116
+ * styles every part of the checkout consistently.
117
+ */
118
+ type ThemeId = 'classic' | ThemeBundleId;
119
+ /** A coherent theme: appearance for Stripe Elements + wrapper styles for the FloPay buttons/card form. */
120
+ interface ThemeBundle {
121
+ appearance: FloPayAppearance;
122
+ buttonsLayout: ButtonsLayoutStyles;
123
+ }
102
124
  /**
103
125
  * Per-field AVS configuration.
104
126
  * - `true` = show for all countries
@@ -913,7 +935,7 @@ declare function getConfiguredBillingApiUrl(): string;
913
935
  declare function getFloPayEnvironment(): FloPayEnvironment;
914
936
 
915
937
  /** Current SDK version. */
916
- declare const SDK_VERSION = "1.1.4";
938
+ declare const SDK_VERSION = "1.1.6";
917
939
  /** Billing API URL for staging environment. */
918
940
  declare const BILLING_API_URL_STAGING = "https://api.stage.flopay.com";
919
941
  /** Billing API URL for production environment. */
@@ -951,6 +973,18 @@ declare const DEFAULT_APPEARANCE: FloPayAppearance;
951
973
  declare const FLAT_APPEARANCE: FloPayAppearance;
952
974
  /** Night theme — dark background. */
953
975
  declare const NIGHT_APPEARANCE: FloPayAppearance;
976
+ /** Modern light — clean & airy: Inter, soft shadows, generous spacing, 12px radius. */
977
+ declare const MODERN_LIGHT_APPEARANCE: FloPayAppearance;
978
+ /** Modern dark — clean & airy on a deep-blue surface, 12px radius. */
979
+ declare const MODERN_DARK_APPEARANCE: FloPayAppearance;
980
+ /** Bold light — vibrant: saturated primary, gradient submit, heavier weights. */
981
+ declare const BOLD_LIGHT_APPEARANCE: FloPayAppearance;
982
+ /** Bold dark — saturated deep-blue surface, gradient submit. */
983
+ declare const BOLD_DARK_APPEARANCE: FloPayAppearance;
984
+ /** Glass light — translucent surfaces with backdrop blur over a pastel blue gradient. */
985
+ declare const GLASS_LIGHT_APPEARANCE: FloPayAppearance;
986
+ /** Glass dark — translucent surfaces with backdrop blur over a deep-blue gradient. */
987
+ declare const GLASS_DARK_APPEARANCE: FloPayAppearance;
954
988
  /** Default buttons layout — white card button, neutral borders. */
955
989
  declare const BUTTONS_LAYOUT_DEFAULT: ButtonsLayoutStyles;
956
990
  /** Minimal buttons layout — borderless, subtle hover. */
@@ -959,8 +993,44 @@ declare const BUTTONS_LAYOUT_MINIMAL: ButtonsLayoutStyles;
959
993
  declare const BUTTONS_LAYOUT_ROUNDED: ButtonsLayoutStyles;
960
994
  /** Dark buttons layout — dark backgrounds, light text. */
961
995
  declare const BUTTONS_LAYOUT_DARK: ButtonsLayoutStyles;
996
+ /** Modern light — soft surface, 14px radius, FloPay-blue submit with subtle shadow. */
997
+ declare const BUTTONS_LAYOUT_MODERN_LIGHT: ButtonsLayoutStyles;
998
+ /** Modern dark — deep surface, 14px radius, sky-blue submit. */
999
+ declare const BUTTONS_LAYOUT_MODERN_DARK: ButtonsLayoutStyles;
1000
+ /** Bold light — blue-tint backdrop, primary-bordered card, gradient pill submit. */
1001
+ declare const BUTTONS_LAYOUT_BOLD_LIGHT: ButtonsLayoutStyles;
1002
+ /** Bold dark — saturated deep-blue surface, accented borders, gradient pill submit. */
1003
+ declare const BUTTONS_LAYOUT_BOLD_DARK: ButtonsLayoutStyles;
1004
+ /** Glass light — translucent surfaces with backdrop blur over a pastel blue gradient. */
1005
+ declare const BUTTONS_LAYOUT_GLASS_LIGHT: ButtonsLayoutStyles;
1006
+ /** Glass dark — translucent surfaces with backdrop blur over a deep-blue gradient. */
1007
+ declare const BUTTONS_LAYOUT_GLASS_DARK: ButtonsLayoutStyles;
962
1008
  /** Resolve a buttons layout theme name to its style preset. */
963
1009
  declare function resolveButtonsLayoutTheme(theme?: ButtonsLayoutTheme): ButtonsLayoutStyles;
1010
+ /**
1011
+ * First-class theme bundles. Each entry pairs a `FloPayAppearance` (for Stripe
1012
+ * Elements) with a `ButtonsLayoutStyles` (for the FloPay wrapper) so the look
1013
+ * is coherent across both halves. Consumers can pick by id without having to
1014
+ * import the two halves separately.
1015
+ *
1016
+ * @example
1017
+ * ```tsx
1018
+ * import { THEMES } from '@flopay/shared';
1019
+ *
1020
+ * const { appearance, buttonsLayout } = THEMES['glass-dark'];
1021
+ * <FloPayCheckout appearance={appearance} buttonsLayoutStyles={buttonsLayout} />
1022
+ * ```
1023
+ */
1024
+ declare const THEMES: Record<ThemeBundleId, ThemeBundle>;
1025
+ /**
1026
+ * Resolve a {@link ThemeId} to its {@link ThemeBundle}, or `undefined` for
1027
+ * `'classic'` / a missing id (the historic FloPay look with no bundle applied).
1028
+ *
1029
+ * Used by FloPay React components when consumers pass the high-level `theme`
1030
+ * prop instead of supplying `appearance` + `buttonsStyles` manually. Explicit
1031
+ * `appearance` / `buttonsStyles` props still override the resolved bundle.
1032
+ */
1033
+ declare function resolveTheme(id?: ThemeId | null): ThemeBundle | undefined;
964
1034
  /** All supported element type identifiers. */
965
1035
  declare const ELEMENT_TYPES: readonly ["payment", "card", "cardNumber", "cardExpiry", "cardCvc", "address"];
966
1036
  declare const SUPPORTED_CARD_BRANDS: readonly ["visa", "mastercard", "mastercard_debit", "amex", "discover"];
@@ -1148,4 +1218,4 @@ declare function isValidPublishableKey(key: string): boolean;
1148
1218
  /** Returns `true` if the string looks like a Stripe secret key. */
1149
1219
  declare function isValidSecretKey(key: string): boolean;
1150
1220
 
1151
- export { type AVSFieldConfig, BILLING_API_URL, BILLING_API_URL_PRODUCTION, BILLING_API_URL_STAGING, BUTTONS_LAYOUT_DARK, BUTTONS_LAYOUT_DEFAULT, BUTTONS_LAYOUT_MINIMAL, BUTTONS_LAYOUT_ROUNDED, type BeforeButtonClickEvent, type BillingDetails, type BillingProvider, type BuildCheckoutDisplayDataOptions, type ButtonsLayoutStyles, type ButtonsLayoutTheme, CA_PROVINCES, COUNTRY_OPTIONS, CURRENCY_MAP, type CheckoutAccount, type CheckoutButtonMethod, type CheckoutDisplayData, type CheckoutGateway, type CheckoutGateways, type CheckoutItem, type CheckoutMode, type CheckoutModeKind, type CheckoutProcessError, type CheckoutProcessingPending, type CheckoutProduct, type CheckoutProductType, type CheckoutSession, type CheckoutSessionProduct, type CheckoutSessionResult, type CheckoutSubscription, type ConfirmCardPaymentParams, type ConfirmCardPaymentResult, type ConfirmPaymentParams, type CountryOption, type CreateCustomerParams, type CreatePaymentMethodResult, type CreateSessionParams, type CurrencyInfo, type Customer, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DEFAULT_APPEARANCE, DEFAULT_CURRENCY, type DeclineEvent, type DisplayLineItem, ELEMENT_TYPES, type ElementChangeEvent, type ElementOptions, type ElementType, FLAT_APPEARANCE, type FloPayAppearance, type FloPayConfig, type FloPayEnvironment, FloPayError, type FloPayErrorType, type FloPayThemeVariables, type GatewayEnvironment, type InlineSessionDraft, type InlineSessionParams, type InlineSessionPatch, type LineItem, type MountedElement, NIGHT_APPEARANCE, type NormalizedCheckoutSession, type NormalizedGatewayEnvironment, type PaymentProviderAdapter, type PaymentResult, type PriceData, type ProcessPaymentParams, type RecurringInterval, SDK_VERSION, SUPPORTED_CARD_BRANDS, type StateOption, type TagsData, type TokenizedBody, US_STATES, type UpdateCustomerParams, type WebhookEvent, apiError, authenticationError, buildCheckoutDisplayData, buildItemPayload, buildProductPayload, buildSubscriptionPayload, configureFlopay, foldIntoProducts, getConfiguredBillingApiUrl, getCountryByCode, getCurrencyByCountry, getFloPayEnvironment, getPostalCodeLabel, getStateFromPostalCode, getStateLabel, getStateOptions, isAVSEnabled, isAVSFieldVisible, isValidPublishableKey, isValidSecretKey, networkError, normalizeGatewayEnvironment, rateLimitError, resolveAVSConfig, resolveBillingApiUrl, resolveButtonsLayoutTheme, resolveSessionCurrency, validationError };
1221
+ export { type AVSFieldConfig, BILLING_API_URL, BILLING_API_URL_PRODUCTION, BILLING_API_URL_STAGING, BOLD_DARK_APPEARANCE, BOLD_LIGHT_APPEARANCE, BUTTONS_LAYOUT_BOLD_DARK, BUTTONS_LAYOUT_BOLD_LIGHT, BUTTONS_LAYOUT_DARK, BUTTONS_LAYOUT_DEFAULT, BUTTONS_LAYOUT_GLASS_DARK, BUTTONS_LAYOUT_GLASS_LIGHT, BUTTONS_LAYOUT_MINIMAL, BUTTONS_LAYOUT_MODERN_DARK, BUTTONS_LAYOUT_MODERN_LIGHT, BUTTONS_LAYOUT_ROUNDED, type BeforeButtonClickEvent, type BillingDetails, type BillingProvider, type BuildCheckoutDisplayDataOptions, type ButtonsLayoutStyles, type ButtonsLayoutTheme, CA_PROVINCES, COUNTRY_OPTIONS, CURRENCY_MAP, type CheckoutAccount, type CheckoutButtonMethod, type CheckoutDisplayData, type CheckoutGateway, type CheckoutGateways, type CheckoutItem, type CheckoutMode, type CheckoutModeKind, type CheckoutProcessError, type CheckoutProcessingPending, type CheckoutProduct, type CheckoutProductType, type CheckoutSession, type CheckoutSessionProduct, type CheckoutSessionResult, type CheckoutSubscription, type ConfirmCardPaymentParams, type ConfirmCardPaymentResult, type ConfirmPaymentParams, type CountryOption, type CreateCustomerParams, type CreatePaymentMethodResult, type CreateSessionParams, type CurrencyInfo, type Customer, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DEFAULT_APPEARANCE, DEFAULT_CURRENCY, type DeclineEvent, type DisplayLineItem, ELEMENT_TYPES, type ElementChangeEvent, type ElementOptions, type ElementType, FLAT_APPEARANCE, type FloPayAppearance, type FloPayConfig, type FloPayEnvironment, FloPayError, type FloPayErrorType, type FloPayThemeVariables, GLASS_DARK_APPEARANCE, GLASS_LIGHT_APPEARANCE, type GatewayEnvironment, type InlineSessionDraft, type InlineSessionParams, type InlineSessionPatch, type LineItem, MODERN_DARK_APPEARANCE, MODERN_LIGHT_APPEARANCE, type MountedElement, NIGHT_APPEARANCE, type NormalizedCheckoutSession, type NormalizedGatewayEnvironment, type PaymentProviderAdapter, type PaymentResult, type PriceData, type ProcessPaymentParams, type RecurringInterval, SDK_VERSION, SUPPORTED_CARD_BRANDS, type StateOption, THEMES, type TagsData, type ThemeBundle, type ThemeBundleId, type ThemeId, type TokenizedBody, US_STATES, type UpdateCustomerParams, type WebhookEvent, apiError, authenticationError, buildCheckoutDisplayData, buildItemPayload, buildProductPayload, buildSubscriptionPayload, configureFlopay, foldIntoProducts, getConfiguredBillingApiUrl, getCountryByCode, getCurrencyByCountry, getFloPayEnvironment, getPostalCodeLabel, getStateFromPostalCode, getStateLabel, getStateOptions, isAVSEnabled, isAVSFieldVisible, isValidPublishableKey, isValidSecretKey, networkError, normalizeGatewayEnvironment, rateLimitError, resolveAVSConfig, resolveBillingApiUrl, resolveButtonsLayoutTheme, resolveSessionCurrency, resolveTheme, validationError };