@delopay/sdk 0.154.0 → 0.156.0

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/internal.cjs CHANGED
@@ -33,6 +33,8 @@ __export(internal_exports, {
33
33
  ALL_CUSTOM_FIELD_CONDITION_SOURCES: () => ALL_CUSTOM_FIELD_CONDITION_SOURCES,
34
34
  ALL_CUSTOM_FIELD_OPERATORS: () => ALL_CUSTOM_FIELD_OPERATORS,
35
35
  ALL_CUSTOM_FIELD_TYPES: () => ALL_CUSTOM_FIELD_TYPES,
36
+ APPLE_PAY_BUTTON_STYLES: () => APPLE_PAY_BUTTON_STYLES,
37
+ APPLE_PAY_BUTTON_TYPES: () => APPLE_PAY_BUTTON_TYPES,
36
38
  Admin: () => Admin,
37
39
  AdminPortal: () => AdminPortal,
38
40
  Analytics: () => Analytics,
@@ -42,6 +44,10 @@ __export(internal_exports, {
42
44
  AvailabilityOverrides: () => AvailabilityOverrides,
43
45
  BRANDING_EXPORT_FORMAT: () => BRANDING_EXPORT_FORMAT,
44
46
  BRANDING_EXPORT_VERSION: () => BRANDING_EXPORT_VERSION,
47
+ CARD_FIELD_CHROMES: () => CARD_FIELD_CHROMES,
48
+ CARD_FIELD_FONT_SIZES: () => CARD_FIELD_FONT_SIZES,
49
+ CARD_FIELD_WEIGHTS: () => CARD_FIELD_WEIGHTS,
50
+ CARD_FOCUS_RINGS: () => CARD_FOCUS_RINGS,
45
51
  CHECKBOX_CHECKED: () => CHECKBOX_CHECKED,
46
52
  CHECKBOX_UNCHECKED: () => CHECKBOX_UNCHECKED,
47
53
  CHECKOUT_EVENT_KINDS: () => CHECKOUT_EVENT_KINDS,
@@ -74,6 +80,8 @@ __export(internal_exports, {
74
80
  FeeProgramBuilder: () => FeeProgramBuilder,
75
81
  Files: () => Files,
76
82
  Forex: () => Forex,
83
+ GOOGLE_PAY_BUTTON_COLORS: () => GOOGLE_PAY_BUTTON_COLORS,
84
+ GOOGLE_PAY_BUTTON_TYPES: () => GOOGLE_PAY_BUTTON_TYPES,
77
85
  Gsm: () => Gsm,
78
86
  LOCALIZABLE_COPY_FIELDS: () => LOCALIZABLE_COPY_FIELDS,
79
87
  MAX_SECTION_LABEL_LENGTH: () => MAX_SECTION_LABEL_LENGTH,
@@ -84,10 +92,13 @@ __export(internal_exports, {
84
92
  NATIVE_PANES_MAX: () => NATIVE_PANES_MAX,
85
93
  NATIVE_PANE_CATEGORY_KEYS: () => NATIVE_PANE_CATEGORY_KEYS,
86
94
  NATIVE_PANE_ICON_KEYS: () => NATIVE_PANE_ICON_KEYS,
95
+ NOMUPAY_FORM_STYLES: () => NOMUPAY_FORM_STYLES,
87
96
  OperationLimits: () => OperationLimits,
88
97
  PANES_MAX: () => PANES_MAX,
89
98
  PANE_CATEGORY_KEYS: () => PANE_CATEGORY_KEYS,
90
99
  PANE_ICON_KEYS: () => PANE_ICON_KEYS,
100
+ PAYPAL_CARD_LAYOUTS: () => PAYPAL_CARD_LAYOUTS,
101
+ PAYPAL_LABEL_STYLES: () => PAYPAL_LABEL_STYLES,
91
102
  PaypalDisputes: () => PaypalDisputes,
92
103
  PlatformBilling: () => PlatformBilling,
93
104
  PlatformFees: () => PlatformFees,
@@ -97,7 +108,11 @@ __export(internal_exports, {
97
108
  SECTION_ALIASES: () => SECTION_ALIASES,
98
109
  STRIPE_FALLBACK_PANE_CATALOG: () => STRIPE_FALLBACK_PANE_CATALOG,
99
110
  STRIPE_FALLBACK_PANE_METHODS: () => STRIPE_FALLBACK_PANE_METHODS,
111
+ STRIPE_INPUT_STYLES: () => STRIPE_INPUT_STYLES,
112
+ STRIPE_LABEL_PLACEMENTS: () => STRIPE_LABEL_PLACEMENTS,
100
113
  STRIPE_NATIVE_PANE_METHODS: () => STRIPE_NATIVE_PANE_METHODS,
114
+ STRIPE_SPACINGS: () => STRIPE_SPACINGS,
115
+ STRIPE_THEMES: () => STRIPE_THEMES,
101
116
  SURCHARGE_BORDER_STYLES: () => SURCHARGE_BORDER_STYLES,
102
117
  SURCHARGE_BORDER_WIDTHS: () => SURCHARGE_BORDER_WIDTHS,
103
118
  SURCHARGE_FIGURE_MODES: () => SURCHARGE_FIGURE_MODES,
@@ -127,6 +142,8 @@ __export(internal_exports, {
127
142
  buildBrandingExport: () => buildBrandingExport,
128
143
  buttonPadValue: () => buttonPadValue,
129
144
  canonicalSectionId: () => canonicalSectionId,
145
+ cardFieldFontPx: () => cardFieldFontPx,
146
+ cardFieldWeightValue: () => cardFieldWeightValue,
130
147
  checkoutCopy: () => checkoutCopy,
131
148
  checkoutLocaleDir: () => checkoutLocaleDir,
132
149
  cloneBranding: () => cloneBranding,
@@ -172,6 +189,7 @@ __export(internal_exports, {
172
189
  isCheckboxChecked: () => isCheckboxChecked,
173
190
  isDarkSurface: () => isDarkSurface,
174
191
  isHexColor: () => isHexColor,
192
+ isSubscriptionDisputeWebhook: () => isSubscriptionDisputeWebhook,
175
193
  isSubscriptionLifecycleWebhook: () => isSubscriptionLifecycleWebhook,
176
194
  knownSectionLabelKey: () => knownSectionLabelKey,
177
195
  leaf: () => leaf,
@@ -190,11 +208,15 @@ __export(internal_exports, {
190
208
  readableInkOn: () => readableInkOn,
191
209
  resolveAirwallexCardPreset: () => resolveAirwallexCardPreset,
192
210
  resolveAirwallexLabelStyle: () => resolveAirwallexLabelStyle,
211
+ resolveApplePayButtonStyle: () => resolveApplePayButtonStyle,
212
+ resolveGooglePayButtonColor: () => resolveGooglePayButtonColor,
213
+ resolveStripeTheme: () => resolveStripeTheme,
193
214
  ruleMatchToTree: () => ruleMatchToTree,
194
215
  sanitizeCustomCss: () => sanitizeCustomCss,
195
216
  sectionLabel: () => sectionLabel,
196
217
  sectionOrderOf: () => sectionOrderOf,
197
218
  shadowFor: () => shadowFor,
219
+ stripeSpacingValues: () => stripeSpacingValues,
198
220
  surchargeFigurePlan: () => surchargeFigurePlan,
199
221
  surchargeShowsLabel: () => surchargeShowsLabel,
200
222
  surchargeStyleDrawsAShape: () => surchargeStyleDrawsAShape,
@@ -4018,6 +4040,9 @@ var Verification = class {
4018
4040
  function isSubscriptionLifecycleWebhook(object) {
4019
4041
  return typeof object.transition_id === "string";
4020
4042
  }
4043
+ function isSubscriptionDisputeWebhook(object) {
4044
+ return typeof object.connector_dispute_id === "string";
4045
+ }
4021
4046
  function hexToBytes(hex) {
4022
4047
  if (hex.length === 0 || hex.length % 2 !== 0) return null;
4023
4048
  const bytes = new Uint8Array(hex.length / 2);
@@ -6062,6 +6087,72 @@ function airwallexFieldWeightValue(weight) {
6062
6087
  }
6063
6088
  var AIRWALLEX_NETWORK_MARKS = ["visa", "mastercard", "amex", "discover"];
6064
6089
 
6090
+ // src/cardFormStyles.ts
6091
+ var CARD_FIELD_CHROMES = AIRWALLEX_FIELD_CHROMES;
6092
+ var CARD_FIELD_FONT_SIZES = AIRWALLEX_FIELD_FONT_SIZES;
6093
+ var CARD_FIELD_WEIGHTS = AIRWALLEX_FIELD_WEIGHTS;
6094
+ var CARD_FOCUS_RINGS = AIRWALLEX_FOCUS_RINGS;
6095
+ function cardFieldFontPx(size) {
6096
+ return size === "sm" ? 14 : size === "lg" ? 18 : 16;
6097
+ }
6098
+ function cardFieldWeightValue(weight) {
6099
+ return weight === "regular" ? 400 : weight === "semibold" ? 600 : 500;
6100
+ }
6101
+ var STRIPE_THEMES = ["auto", "stripe", "flat", "night"];
6102
+ function resolveStripeTheme(theme, dark) {
6103
+ if (theme === "auto") return dark ? "night" : "stripe";
6104
+ return theme;
6105
+ }
6106
+ var STRIPE_INPUT_STYLES = ["spaced", "condensed"];
6107
+ var STRIPE_LABEL_PLACEMENTS = ["above", "floating"];
6108
+ var STRIPE_SPACINGS = ["compact", "comfortable", "spacious"];
6109
+ function stripeSpacingValues(spacing) {
6110
+ if (spacing === "compact") return { spacingUnit: "3px", gridRowSpacing: "8px" };
6111
+ if (spacing === "spacious") return { spacingUnit: "5px", gridRowSpacing: "16px" };
6112
+ return { spacingUnit: "4px", gridRowSpacing: "12px" };
6113
+ }
6114
+ var PAYPAL_CARD_LAYOUTS = ["split", "stacked"];
6115
+ var PAYPAL_LABEL_STYLES = ["above", "none"];
6116
+ var NOMUPAY_FORM_STYLES = ["plain", "card"];
6117
+ var APPLE_PAY_BUTTON_STYLES = ["auto", "black", "white", "white-outline"];
6118
+ function resolveApplePayButtonStyle(style, dark) {
6119
+ if (style === "auto") return dark ? "white" : "black";
6120
+ return style;
6121
+ }
6122
+ var APPLE_PAY_BUTTON_TYPES = [
6123
+ "pay",
6124
+ "plain",
6125
+ "buy",
6126
+ "check-out",
6127
+ "continue",
6128
+ "book",
6129
+ "order",
6130
+ "subscribe",
6131
+ "donate",
6132
+ "contribute",
6133
+ "support",
6134
+ "tip",
6135
+ "add-money",
6136
+ "top-up",
6137
+ "reload",
6138
+ "rent"
6139
+ ];
6140
+ var GOOGLE_PAY_BUTTON_COLORS = ["auto", "default", "black", "white"];
6141
+ function resolveGooglePayButtonColor(color, dark) {
6142
+ if (color === "auto") return dark ? "white" : "black";
6143
+ return color;
6144
+ }
6145
+ var GOOGLE_PAY_BUTTON_TYPES = [
6146
+ "pay",
6147
+ "plain",
6148
+ "buy",
6149
+ "checkout",
6150
+ "book",
6151
+ "order",
6152
+ "subscribe",
6153
+ "donate"
6154
+ ];
6155
+
6065
6156
  // src/branding.ts
6066
6157
  function surchargeShowsLabel(labelMode, style, position) {
6067
6158
  if (labelMode !== "labelled") return false;
@@ -6625,6 +6716,34 @@ var DEFAULT_BRANDING_BASE = {
6625
6716
  airwallexAutofill: "system",
6626
6717
  airwallexValidTint: false,
6627
6718
  airwallexNetworkMarks: false,
6719
+ // Every card-form field below starts on what its pane drew before the
6720
+ // setting existed, so a merchant who never opens a section sees no change.
6721
+ stripeTheme: "auto",
6722
+ stripeInputs: "spaced",
6723
+ stripeLabels: "above",
6724
+ stripeSpacing: "comfortable",
6725
+ stripeFieldFontSize: "md",
6726
+ stripeFieldWeight: "medium",
6727
+ stripeFocusRing: "strong",
6728
+ stripeDisableAnimations: false,
6729
+ paypalCardLayout: "split",
6730
+ paypalLabelStyle: "above",
6731
+ paypalFieldChrome: "outlined",
6732
+ paypalFieldFontSize: "md",
6733
+ paypalFieldWeight: "regular",
6734
+ paypalFocusRing: "strong",
6735
+ paypalValidTint: false,
6736
+ nomupayFormStyle: "plain",
6737
+ nomupayShowLabels: true,
6738
+ nomupayShowPlaceholders: true,
6739
+ nomupayShowCvvHint: false,
6740
+ nomupayFieldChrome: "outlined",
6741
+ nomupayFieldFontSize: "md",
6742
+ nomupayFocusRing: "none",
6743
+ nomupayApplePayButtonStyle: "auto",
6744
+ nomupayApplePayButtonType: "pay",
6745
+ nomupayGooglePayButtonColor: "auto",
6746
+ nomupayGooglePayButtonType: "pay",
6628
6747
  customCss: ""
6629
6748
  };
6630
6749
  var DEFAULT_BRANDING = {
@@ -7363,6 +7482,125 @@ function decodeBranding(source) {
7363
7482
  extras["airwallexNetworkMarks"],
7364
7483
  DEFAULT_BRANDING.airwallexNetworkMarks
7365
7484
  ),
7485
+ stripeTheme: pickEnum(
7486
+ extras["stripeTheme"],
7487
+ STRIPE_THEMES,
7488
+ DEFAULT_BRANDING.stripeTheme
7489
+ ),
7490
+ stripeInputs: pickEnum(
7491
+ extras["stripeInputs"],
7492
+ STRIPE_INPUT_STYLES,
7493
+ DEFAULT_BRANDING.stripeInputs
7494
+ ),
7495
+ stripeLabels: pickEnum(
7496
+ extras["stripeLabels"],
7497
+ STRIPE_LABEL_PLACEMENTS,
7498
+ DEFAULT_BRANDING.stripeLabels
7499
+ ),
7500
+ stripeSpacing: pickEnum(
7501
+ extras["stripeSpacing"],
7502
+ STRIPE_SPACINGS,
7503
+ DEFAULT_BRANDING.stripeSpacing
7504
+ ),
7505
+ stripeFieldFontSize: pickEnum(
7506
+ extras["stripeFieldFontSize"],
7507
+ CARD_FIELD_FONT_SIZES,
7508
+ DEFAULT_BRANDING.stripeFieldFontSize
7509
+ ),
7510
+ stripeFieldWeight: pickEnum(
7511
+ extras["stripeFieldWeight"],
7512
+ CARD_FIELD_WEIGHTS,
7513
+ DEFAULT_BRANDING.stripeFieldWeight
7514
+ ),
7515
+ stripeFocusRing: pickEnum(
7516
+ extras["stripeFocusRing"],
7517
+ CARD_FOCUS_RINGS,
7518
+ DEFAULT_BRANDING.stripeFocusRing
7519
+ ),
7520
+ stripeDisableAnimations: parseBool(
7521
+ extras["stripeDisableAnimations"],
7522
+ DEFAULT_BRANDING.stripeDisableAnimations
7523
+ ),
7524
+ paypalCardLayout: pickEnum(
7525
+ extras["paypalCardLayout"],
7526
+ PAYPAL_CARD_LAYOUTS,
7527
+ DEFAULT_BRANDING.paypalCardLayout
7528
+ ),
7529
+ paypalLabelStyle: pickEnum(
7530
+ extras["paypalLabelStyle"],
7531
+ PAYPAL_LABEL_STYLES,
7532
+ DEFAULT_BRANDING.paypalLabelStyle
7533
+ ),
7534
+ paypalFieldChrome: pickEnum(
7535
+ extras["paypalFieldChrome"],
7536
+ CARD_FIELD_CHROMES,
7537
+ DEFAULT_BRANDING.paypalFieldChrome
7538
+ ),
7539
+ paypalFieldFontSize: pickEnum(
7540
+ extras["paypalFieldFontSize"],
7541
+ CARD_FIELD_FONT_SIZES,
7542
+ DEFAULT_BRANDING.paypalFieldFontSize
7543
+ ),
7544
+ paypalFieldWeight: pickEnum(
7545
+ extras["paypalFieldWeight"],
7546
+ CARD_FIELD_WEIGHTS,
7547
+ DEFAULT_BRANDING.paypalFieldWeight
7548
+ ),
7549
+ paypalFocusRing: pickEnum(
7550
+ extras["paypalFocusRing"],
7551
+ CARD_FOCUS_RINGS,
7552
+ DEFAULT_BRANDING.paypalFocusRing
7553
+ ),
7554
+ paypalValidTint: parseBool(extras["paypalValidTint"], DEFAULT_BRANDING.paypalValidTint),
7555
+ nomupayFormStyle: pickEnum(
7556
+ extras["nomupayFormStyle"],
7557
+ NOMUPAY_FORM_STYLES,
7558
+ DEFAULT_BRANDING.nomupayFormStyle
7559
+ ),
7560
+ nomupayShowLabels: parseBool(extras["nomupayShowLabels"], DEFAULT_BRANDING.nomupayShowLabels),
7561
+ nomupayShowPlaceholders: parseBool(
7562
+ extras["nomupayShowPlaceholders"],
7563
+ DEFAULT_BRANDING.nomupayShowPlaceholders
7564
+ ),
7565
+ nomupayShowCvvHint: parseBool(
7566
+ extras["nomupayShowCvvHint"],
7567
+ DEFAULT_BRANDING.nomupayShowCvvHint
7568
+ ),
7569
+ nomupayFieldChrome: pickEnum(
7570
+ extras["nomupayFieldChrome"],
7571
+ CARD_FIELD_CHROMES,
7572
+ DEFAULT_BRANDING.nomupayFieldChrome
7573
+ ),
7574
+ nomupayFieldFontSize: pickEnum(
7575
+ extras["nomupayFieldFontSize"],
7576
+ CARD_FIELD_FONT_SIZES,
7577
+ DEFAULT_BRANDING.nomupayFieldFontSize
7578
+ ),
7579
+ nomupayFocusRing: pickEnum(
7580
+ extras["nomupayFocusRing"],
7581
+ CARD_FOCUS_RINGS,
7582
+ DEFAULT_BRANDING.nomupayFocusRing
7583
+ ),
7584
+ nomupayApplePayButtonStyle: pickEnum(
7585
+ extras["nomupayApplePayButtonStyle"],
7586
+ APPLE_PAY_BUTTON_STYLES,
7587
+ DEFAULT_BRANDING.nomupayApplePayButtonStyle
7588
+ ),
7589
+ nomupayApplePayButtonType: pickEnum(
7590
+ extras["nomupayApplePayButtonType"],
7591
+ APPLE_PAY_BUTTON_TYPES,
7592
+ DEFAULT_BRANDING.nomupayApplePayButtonType
7593
+ ),
7594
+ nomupayGooglePayButtonColor: pickEnum(
7595
+ extras["nomupayGooglePayButtonColor"],
7596
+ GOOGLE_PAY_BUTTON_COLORS,
7597
+ DEFAULT_BRANDING.nomupayGooglePayButtonColor
7598
+ ),
7599
+ nomupayGooglePayButtonType: pickEnum(
7600
+ extras["nomupayGooglePayButtonType"],
7601
+ GOOGLE_PAY_BUTTON_TYPES,
7602
+ DEFAULT_BRANDING.nomupayGooglePayButtonType
7603
+ ),
7366
7604
  customCss: s(extras["customCss"])
7367
7605
  };
7368
7606
  }
@@ -7435,6 +7673,32 @@ function encodeBranding(branding, base) {
7435
7673
  airwallexAutofill: branding.airwallexAutofill,
7436
7674
  airwallexValidTint: String(branding.airwallexValidTint),
7437
7675
  airwallexNetworkMarks: String(branding.airwallexNetworkMarks),
7676
+ stripeTheme: branding.stripeTheme,
7677
+ stripeInputs: branding.stripeInputs,
7678
+ stripeLabels: branding.stripeLabels,
7679
+ stripeSpacing: branding.stripeSpacing,
7680
+ stripeFieldFontSize: branding.stripeFieldFontSize,
7681
+ stripeFieldWeight: branding.stripeFieldWeight,
7682
+ stripeFocusRing: branding.stripeFocusRing,
7683
+ stripeDisableAnimations: String(branding.stripeDisableAnimations),
7684
+ paypalCardLayout: branding.paypalCardLayout,
7685
+ paypalLabelStyle: branding.paypalLabelStyle,
7686
+ paypalFieldChrome: branding.paypalFieldChrome,
7687
+ paypalFieldFontSize: branding.paypalFieldFontSize,
7688
+ paypalFieldWeight: branding.paypalFieldWeight,
7689
+ paypalFocusRing: branding.paypalFocusRing,
7690
+ paypalValidTint: String(branding.paypalValidTint),
7691
+ nomupayFormStyle: branding.nomupayFormStyle,
7692
+ nomupayShowLabels: String(branding.nomupayShowLabels),
7693
+ nomupayShowPlaceholders: String(branding.nomupayShowPlaceholders),
7694
+ nomupayShowCvvHint: String(branding.nomupayShowCvvHint),
7695
+ nomupayFieldChrome: branding.nomupayFieldChrome,
7696
+ nomupayFieldFontSize: branding.nomupayFieldFontSize,
7697
+ nomupayFocusRing: branding.nomupayFocusRing,
7698
+ nomupayApplePayButtonStyle: branding.nomupayApplePayButtonStyle,
7699
+ nomupayApplePayButtonType: branding.nomupayApplePayButtonType,
7700
+ nomupayGooglePayButtonColor: branding.nomupayGooglePayButtonColor,
7701
+ nomupayGooglePayButtonType: branding.nomupayGooglePayButtonType,
7438
7702
  trustBadges: encodeBadges(branding.trustBadges),
7439
7703
  [METHOD_SECTION_ORDER_KEY]: encodeMethodSectionOrder(branding.methodSectionOrder)
7440
7704
  };
@@ -7705,6 +7969,118 @@ function parseImportedBranding(raw) {
7705
7969
  ),
7706
7970
  airwallexValidTint: parseBool(root["airwallexValidTint"], dflt.airwallexValidTint),
7707
7971
  airwallexNetworkMarks: parseBool(root["airwallexNetworkMarks"], dflt.airwallexNetworkMarks),
7972
+ stripeTheme: pickEnum(root["stripeTheme"], STRIPE_THEMES, dflt.stripeTheme),
7973
+ stripeInputs: pickEnum(
7974
+ root["stripeInputs"],
7975
+ STRIPE_INPUT_STYLES,
7976
+ dflt.stripeInputs
7977
+ ),
7978
+ stripeLabels: pickEnum(
7979
+ root["stripeLabels"],
7980
+ STRIPE_LABEL_PLACEMENTS,
7981
+ dflt.stripeLabels
7982
+ ),
7983
+ stripeSpacing: pickEnum(
7984
+ root["stripeSpacing"],
7985
+ STRIPE_SPACINGS,
7986
+ dflt.stripeSpacing
7987
+ ),
7988
+ stripeFieldFontSize: pickEnum(
7989
+ root["stripeFieldFontSize"],
7990
+ CARD_FIELD_FONT_SIZES,
7991
+ dflt.stripeFieldFontSize
7992
+ ),
7993
+ stripeFieldWeight: pickEnum(
7994
+ root["stripeFieldWeight"],
7995
+ CARD_FIELD_WEIGHTS,
7996
+ dflt.stripeFieldWeight
7997
+ ),
7998
+ stripeFocusRing: pickEnum(
7999
+ root["stripeFocusRing"],
8000
+ CARD_FOCUS_RINGS,
8001
+ dflt.stripeFocusRing
8002
+ ),
8003
+ stripeDisableAnimations: parseBool(
8004
+ root["stripeDisableAnimations"],
8005
+ dflt.stripeDisableAnimations
8006
+ ),
8007
+ paypalCardLayout: pickEnum(
8008
+ root["paypalCardLayout"],
8009
+ PAYPAL_CARD_LAYOUTS,
8010
+ dflt.paypalCardLayout
8011
+ ),
8012
+ paypalLabelStyle: pickEnum(
8013
+ root["paypalLabelStyle"],
8014
+ PAYPAL_LABEL_STYLES,
8015
+ dflt.paypalLabelStyle
8016
+ ),
8017
+ paypalFieldChrome: pickEnum(
8018
+ root["paypalFieldChrome"],
8019
+ CARD_FIELD_CHROMES,
8020
+ dflt.paypalFieldChrome
8021
+ ),
8022
+ paypalFieldFontSize: pickEnum(
8023
+ root["paypalFieldFontSize"],
8024
+ CARD_FIELD_FONT_SIZES,
8025
+ dflt.paypalFieldFontSize
8026
+ ),
8027
+ paypalFieldWeight: pickEnum(
8028
+ root["paypalFieldWeight"],
8029
+ CARD_FIELD_WEIGHTS,
8030
+ dflt.paypalFieldWeight
8031
+ ),
8032
+ paypalFocusRing: pickEnum(
8033
+ root["paypalFocusRing"],
8034
+ CARD_FOCUS_RINGS,
8035
+ dflt.paypalFocusRing
8036
+ ),
8037
+ paypalValidTint: parseBool(root["paypalValidTint"], dflt.paypalValidTint),
8038
+ nomupayFormStyle: pickEnum(
8039
+ root["nomupayFormStyle"],
8040
+ NOMUPAY_FORM_STYLES,
8041
+ dflt.nomupayFormStyle
8042
+ ),
8043
+ nomupayShowLabels: parseBool(root["nomupayShowLabels"], dflt.nomupayShowLabels),
8044
+ nomupayShowPlaceholders: parseBool(
8045
+ root["nomupayShowPlaceholders"],
8046
+ dflt.nomupayShowPlaceholders
8047
+ ),
8048
+ nomupayShowCvvHint: parseBool(root["nomupayShowCvvHint"], dflt.nomupayShowCvvHint),
8049
+ nomupayFieldChrome: pickEnum(
8050
+ root["nomupayFieldChrome"],
8051
+ CARD_FIELD_CHROMES,
8052
+ dflt.nomupayFieldChrome
8053
+ ),
8054
+ nomupayFieldFontSize: pickEnum(
8055
+ root["nomupayFieldFontSize"],
8056
+ CARD_FIELD_FONT_SIZES,
8057
+ dflt.nomupayFieldFontSize
8058
+ ),
8059
+ nomupayFocusRing: pickEnum(
8060
+ root["nomupayFocusRing"],
8061
+ CARD_FOCUS_RINGS,
8062
+ dflt.nomupayFocusRing
8063
+ ),
8064
+ nomupayApplePayButtonStyle: pickEnum(
8065
+ root["nomupayApplePayButtonStyle"],
8066
+ APPLE_PAY_BUTTON_STYLES,
8067
+ dflt.nomupayApplePayButtonStyle
8068
+ ),
8069
+ nomupayApplePayButtonType: pickEnum(
8070
+ root["nomupayApplePayButtonType"],
8071
+ APPLE_PAY_BUTTON_TYPES,
8072
+ dflt.nomupayApplePayButtonType
8073
+ ),
8074
+ nomupayGooglePayButtonColor: pickEnum(
8075
+ root["nomupayGooglePayButtonColor"],
8076
+ GOOGLE_PAY_BUTTON_COLORS,
8077
+ dflt.nomupayGooglePayButtonColor
8078
+ ),
8079
+ nomupayGooglePayButtonType: pickEnum(
8080
+ root["nomupayGooglePayButtonType"],
8081
+ GOOGLE_PAY_BUTTON_TYPES,
8082
+ dflt.nomupayGooglePayButtonType
8083
+ ),
7708
8084
  customCss: sStr(root["customCss"], dflt.customCss).slice(0, CUSTOM_CSS_MAX_LENGTH)
7709
8085
  };
7710
8086
  }
@@ -9843,6 +10219,8 @@ var DelopayInternal = class extends Delopay {
9843
10219
  ALL_CUSTOM_FIELD_CONDITION_SOURCES,
9844
10220
  ALL_CUSTOM_FIELD_OPERATORS,
9845
10221
  ALL_CUSTOM_FIELD_TYPES,
10222
+ APPLE_PAY_BUTTON_STYLES,
10223
+ APPLE_PAY_BUTTON_TYPES,
9846
10224
  Admin,
9847
10225
  AdminPortal,
9848
10226
  Analytics,
@@ -9852,6 +10230,10 @@ var DelopayInternal = class extends Delopay {
9852
10230
  AvailabilityOverrides,
9853
10231
  BRANDING_EXPORT_FORMAT,
9854
10232
  BRANDING_EXPORT_VERSION,
10233
+ CARD_FIELD_CHROMES,
10234
+ CARD_FIELD_FONT_SIZES,
10235
+ CARD_FIELD_WEIGHTS,
10236
+ CARD_FOCUS_RINGS,
9855
10237
  CHECKBOX_CHECKED,
9856
10238
  CHECKBOX_UNCHECKED,
9857
10239
  CHECKOUT_EVENT_KINDS,
@@ -9884,6 +10266,8 @@ var DelopayInternal = class extends Delopay {
9884
10266
  FeeProgramBuilder,
9885
10267
  Files,
9886
10268
  Forex,
10269
+ GOOGLE_PAY_BUTTON_COLORS,
10270
+ GOOGLE_PAY_BUTTON_TYPES,
9887
10271
  Gsm,
9888
10272
  LOCALIZABLE_COPY_FIELDS,
9889
10273
  MAX_SECTION_LABEL_LENGTH,
@@ -9894,10 +10278,13 @@ var DelopayInternal = class extends Delopay {
9894
10278
  NATIVE_PANES_MAX,
9895
10279
  NATIVE_PANE_CATEGORY_KEYS,
9896
10280
  NATIVE_PANE_ICON_KEYS,
10281
+ NOMUPAY_FORM_STYLES,
9897
10282
  OperationLimits,
9898
10283
  PANES_MAX,
9899
10284
  PANE_CATEGORY_KEYS,
9900
10285
  PANE_ICON_KEYS,
10286
+ PAYPAL_CARD_LAYOUTS,
10287
+ PAYPAL_LABEL_STYLES,
9901
10288
  PaypalDisputes,
9902
10289
  PlatformBilling,
9903
10290
  PlatformFees,
@@ -9907,7 +10294,11 @@ var DelopayInternal = class extends Delopay {
9907
10294
  SECTION_ALIASES,
9908
10295
  STRIPE_FALLBACK_PANE_CATALOG,
9909
10296
  STRIPE_FALLBACK_PANE_METHODS,
10297
+ STRIPE_INPUT_STYLES,
10298
+ STRIPE_LABEL_PLACEMENTS,
9910
10299
  STRIPE_NATIVE_PANE_METHODS,
10300
+ STRIPE_SPACINGS,
10301
+ STRIPE_THEMES,
9911
10302
  SURCHARGE_BORDER_STYLES,
9912
10303
  SURCHARGE_BORDER_WIDTHS,
9913
10304
  SURCHARGE_FIGURE_MODES,
@@ -9937,6 +10328,8 @@ var DelopayInternal = class extends Delopay {
9937
10328
  buildBrandingExport,
9938
10329
  buttonPadValue,
9939
10330
  canonicalSectionId,
10331
+ cardFieldFontPx,
10332
+ cardFieldWeightValue,
9940
10333
  checkoutCopy,
9941
10334
  checkoutLocaleDir,
9942
10335
  cloneBranding,
@@ -9982,6 +10375,7 @@ var DelopayInternal = class extends Delopay {
9982
10375
  isCheckboxChecked,
9983
10376
  isDarkSurface,
9984
10377
  isHexColor,
10378
+ isSubscriptionDisputeWebhook,
9985
10379
  isSubscriptionLifecycleWebhook,
9986
10380
  knownSectionLabelKey,
9987
10381
  leaf,
@@ -10000,11 +10394,15 @@ var DelopayInternal = class extends Delopay {
10000
10394
  readableInkOn,
10001
10395
  resolveAirwallexCardPreset,
10002
10396
  resolveAirwallexLabelStyle,
10397
+ resolveApplePayButtonStyle,
10398
+ resolveGooglePayButtonColor,
10399
+ resolveStripeTheme,
10003
10400
  ruleMatchToTree,
10004
10401
  sanitizeCustomCss,
10005
10402
  sectionLabel,
10006
10403
  sectionOrderOf,
10007
10404
  shadowFor,
10405
+ stripeSpacingValues,
10008
10406
  surchargeFigurePlan,
10009
10407
  surchargeShowsLabel,
10010
10408
  surchargeStyleDrawsAShape,