@delopay/sdk 0.115.0 → 0.117.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/index.d.ts CHANGED
@@ -940,14 +940,252 @@ type SurchargeResponse = {
940
940
  percentage: number;
941
941
  };
942
942
  };
943
+ /**
944
+ * Where a pane's tile is offered.
945
+ *
946
+ * - `always` — wherever the checkout renders.
947
+ * - `embedded_only` — inside a merchant iframe only, which keeps the wallet
948
+ * inside the connector's own form at top level.
949
+ * - `external_only` — the inverse: only when the checkout renders at top level
950
+ * (a hosted payment link or the focused view), hidden inside a merchant
951
+ * iframe.
952
+ *
953
+ * Wallet rail only. A redirect pane is suppressed server-side, before any
954
+ * render knows whether it is framed, so a framing-dependent value there would
955
+ * leave the method unpayable on one side and the router forces it back to
956
+ * `always`.
957
+ */
958
+ type PaneVisibility = 'always' | 'embedded_only' | 'external_only';
959
+ /**
960
+ * How the embedded checkout opens a pane's focused view: a new browser tab
961
+ * (`tab`, the historical behaviour) or a centred popup window (`popup`).
962
+ * Only meaningful when the checkout renders inside an iframe — a top-level
963
+ * render always navigates in place. Browsers that refuse popup windows fall
964
+ * back to a tab on their own.
965
+ */
966
+ type PaneOpenTarget = 'tab' | 'popup';
967
+ /**
968
+ * The adjustment a buyer pays (or is credited) for one pane.
969
+ *
970
+ * Every amount is **signed** — negative is a provider discount — and the minor
971
+ * and major-unit figures are both sent: format from `display_total_amount`,
972
+ * reconcile against `total_amount`. A client that derived major units itself
973
+ * would have to carry the zero-decimal currency table the router already has.
974
+ */
975
+ interface PaneSurcharge {
976
+ /** The adjustment excluding tax, in minor units. Signed. */
977
+ surcharge_amount: number;
978
+ /** Tax on the adjustment, in minor units. Same sign as `surcharge_amount`. */
979
+ tax_amount: number;
980
+ /** `surcharge_amount + tax_amount`, in minor units. Signed. */
981
+ total_amount: number;
982
+ /** The same total in the payment's currency major units. Signed. */
983
+ display_total_amount: number;
984
+ /**
985
+ * Whether the buyer is charged or credited. Redundant with the sign, and
986
+ * carried so a renderer picks its word from a stated fact rather than from a
987
+ * comparison against zero.
988
+ */
989
+ direction: SurchargeDirection;
990
+ /**
991
+ * What this adjustment is as an unsigned percentage of the order amount —
992
+ * `1.5` for 1.5% — so a tile can show a share instead of, or beside, a figure
993
+ * in money. `null` only on an order of zero.
994
+ *
995
+ * Derived by the router from the charge rather than read off the merchant's
996
+ * rule, so the two figures a tile can print always describe the same money: a
997
+ * fixed rule has no configured rate and still has a share of this cart, and a
998
+ * rate rule carrying tax charges more than its own rate.
999
+ *
1000
+ * Unsigned — `direction` carries the sign.
1001
+ */
1002
+ percent_of_order?: number | null;
1003
+ }
1004
+ /**
1005
+ * One resolved pane as the buyer-facing checkout receives it on the
1006
+ * payment-link payload (`native_panes`). Labels are already localized for the
1007
+ * render's locale and icons already sanitized — snake_case because this is the
1008
+ * API wire shape, not the editor's.
1009
+ */
1010
+ interface PaneView {
1011
+ method: string;
1012
+ /**
1013
+ * Connector brand that owns this pane (`stripe`, `klarna`, …).
1014
+ *
1015
+ * Pass straight to {@link focusedCheckoutUrl}'s `connector` to mint a link
1016
+ * that resolves to this tile and no other: `method` alone is ambiguous the
1017
+ * moment two connectors publish one key, and a bare `pane=` then resolves to
1018
+ * whichever tile sorts first server-side.
1019
+ *
1020
+ * It names a brand, not an account — {@link PaneView.merchant_connector_id}
1021
+ * is what separates two accounts of the same connector.
1022
+ *
1023
+ * Optional only because a router predating the field omits it; every router
1024
+ * that has it always serializes it, and it is never `null`.
1025
+ */
1026
+ connector?: string;
1027
+ /**
1028
+ * Merchant connector **account** this pane was configured on.
1029
+ *
1030
+ * Pass straight to {@link focusedCheckoutUrl}'s `merchantConnectorId`. The
1031
+ * checkout echoes this back on confirm as `native_pane_merchant_connector_id`
1032
+ * and the router re-validates it against the profile's live accounts, so a
1033
+ * pane charges the credentials it was configured on rather than a sibling
1034
+ * account's.
1035
+ *
1036
+ * Absent on the wallet rail — that rail charges the PaymentIntent the card
1037
+ * connector already created, so there is no routing decision to pin — and on
1038
+ * payloads predating the field. Omitted rather than `null` when unset.
1039
+ */
1040
+ merchant_connector_id?: string;
1041
+ rail: PaneRail;
1042
+ label: string;
1043
+ sublabel: string;
1044
+ /**
1045
+ * `true` when {@link PaneView.label} is the router's compiled catalog
1046
+ * default rather than anything the merchant typed.
1047
+ *
1048
+ * The catalog defaults are compiled in English only — the merchant's
1049
+ * `labelTranslations` are the sole localized path — so a merchant who
1050
+ * configures nothing gets an English tile label under a translated section
1051
+ * heading. This flag is what lets a localizing surface substitute its own
1052
+ * copy for exactly those tiles and leave merchant-authored ones alone.
1053
+ *
1054
+ * Key that copy on `method` alone. Two connectors may publish one key —
1055
+ * Cryptomus and NOWPayments both publish `crypto`, Stripe and Klarna both
1056
+ * publish `klarna` — and the catalog copy is identical for both on purpose.
1057
+ * What tells such a pair apart is
1058
+ * {@link PaneView.connector_display_name}, which is not translated and must
1059
+ * be appended to whichever copy wins.
1060
+ *
1061
+ * Absent on payloads that predate the field, which read as `false` —
1062
+ * merchant-authored, so nothing gets rewritten.
1063
+ */
1064
+ label_is_default?: boolean;
1065
+ /**
1066
+ * `true` when {@link PaneView.sublabel} is the router's compiled catalog
1067
+ * default. Same contract as {@link PaneView.label_is_default}.
1068
+ *
1069
+ * An explicitly-empty sublabel is a merchant decision ("hide the second
1070
+ * line") and reports `false`, so substituting copy there would restore a
1071
+ * line they deliberately cleared.
1072
+ */
1073
+ sublabel_is_default?: boolean;
1074
+ /**
1075
+ * The connector's brand, present **only** when this render would otherwise
1076
+ * show two tiles a buyer cannot tell apart — a merchant running both
1077
+ * Cryptomus and NOWPayments, or both Klarna rails.
1078
+ *
1079
+ * Append it to the sublabel you render (`` `${sublabel} · ${name}` ``).
1080
+ * It travels separately from {@link PaneView.sublabel} precisely because that
1081
+ * string is replaced wholesale when {@link PaneView.sublabel_is_default} is
1082
+ * set: a brand baked into it would be discarded with it, collapsing the two
1083
+ * tiles again. Do not translate it — brand names are the same in every
1084
+ * locale, which is why it can arrive as data at all.
1085
+ *
1086
+ * Absent for the common case of one connector per method. A merchant with
1087
+ * only Stripe must never read "· via Stripe" on a tile there is nothing
1088
+ * to distinguish it from.
1089
+ */
1090
+ connector_display_name?: string | null;
1091
+ category: string;
1092
+ icon?: string | null;
1093
+ icon_svg?: string | null;
1094
+ display_order: number;
1095
+ /**
1096
+ * What this tile's own provider adds to (or takes off) the buyer's total.
1097
+ *
1098
+ * Resolved server-side against this pane's {@link PaneView.merchant_connector_id},
1099
+ * and the pane's confirm is pinned to that same account — so the figure here
1100
+ * is a promise about what the statement will say, not an estimate. Render it
1101
+ * on the tile: with provider-scoped surcharges a buyer choosing between panes
1102
+ * is choosing between prices.
1103
+ *
1104
+ * **Absent means show nothing** — no `+0.00`, no empty slot that shifts the
1105
+ * layout. It is absent whenever no rule applies to this provider, whenever
1106
+ * the pane names no account to price against, and on every payload from a
1107
+ * router that predates the field. Never substitute a merchant-wide figure for
1108
+ * it; that is a price this tile cannot deliver.
1109
+ */
1110
+ surcharge?: PaneSurcharge | null;
1111
+ /** Redirect rail only — echo verbatim on confirm, never derive. */
1112
+ payment_method?: string | null;
1113
+ /** Redirect rail only — echo verbatim on confirm, never derive. */
1114
+ payment_method_type?: string | null;
1115
+ /** Redirect rail only — echo verbatim on confirm, never derive. */
1116
+ payment_method_data?: Record<string, unknown> | null;
1117
+ /**
1118
+ * The confirm body needs the buyer's country: merged into
1119
+ * `billing.address.country` and echoed into the single `payment_method_data`
1120
+ * variant's `billing_country`.
1121
+ */
1122
+ requires_billing_country?: boolean;
1123
+ /**
1124
+ * `true` when the tile is only offered inside an iframe. Wallet rail only.
1125
+ *
1126
+ * Superseded by {@link PaneView.visibility}, which carries all three states,
1127
+ * and kept by the router at exactly its historical meaning (`rail ===
1128
+ * 'wallet' && visibility === 'embedded_only'`) so checkout builds that
1129
+ * predate that field keep working. Such a build reads an `external_only`
1130
+ * pane as `embedded_only: false` and shows it in the embed too — it
1131
+ * over-shows, which loses a placement rule, rather than hiding a tile the
1132
+ * buyer needs. Read {@link paneViewVisibility} instead of either field.
1133
+ */
1134
+ embedded_only?: boolean;
1135
+ /**
1136
+ * Which render contexts this tile is offered in.
1137
+ *
1138
+ * **This is the resolved value, not the merchant's stored one, and the two do
1139
+ * not round-trip.** The router coerces anything the render path cannot
1140
+ * honour before emitting: a pane whose suppression is decided server-side
1141
+ * reads `always` here whatever the merchant configured. Stripe's redirect
1142
+ * panes are the case to know about — the router forces every redirect-rail
1143
+ * pane back to `always` (suppression happens before any render knows whether
1144
+ * it is framed), so a redirect pane stored as `embedded_only` on the config
1145
+ * {@link Pane} still arrives here as `always`. Do not read this field back as
1146
+ * the merchant's setting; read {@link Pane.visibility} off the connector
1147
+ * account's `metadata.native_panes` for that.
1148
+ *
1149
+ * Optional because a router predating this field omits it, not because the
1150
+ * router ever skips it: it is always serialized once present. A value
1151
+ * outside the union can also arrive from a router newer than this SDK, so
1152
+ * read it through {@link paneViewVisibility} rather than comparing it
1153
+ * directly.
1154
+ */
1155
+ visibility?: PaneVisibility;
1156
+ /**
1157
+ * How the embedded checkout opens this tile's focused view. Absent on
1158
+ * payloads from older backends — treat as `tab`.
1159
+ */
1160
+ open_in?: PaneOpenTarget;
1161
+ }
1162
+ /**
1163
+ * Which way an adjustment moves the buyer's total.
1164
+ *
1165
+ * The magnitude and the sign travel separately because the router's
1166
+ * `Percentage<2>` is unsigned by construction and is persisted — see
1167
+ * `SurchargeDirection` in `common_utils`. Read this rather than comparing an
1168
+ * amount against zero: a renderer should pick its word from a stated fact.
1169
+ */
1170
+ type SurchargeDirection = 'surcharge' | 'discount';
943
1171
  interface SurchargeDetailsResponse {
944
1172
  surcharge: SurchargeResponse;
945
1173
  tax_on_surcharge?: {
946
1174
  percentage: number;
947
1175
  } | null;
1176
+ /** Signed: negative on a provider discount. */
948
1177
  display_surcharge_amount: number;
1178
+ /** Signed, same direction as `display_surcharge_amount`. */
949
1179
  display_tax_on_surcharge_amount: number;
950
1180
  display_total_surcharge_amount: number;
1181
+ /**
1182
+ * Whether the figures above are charged to or credited to the buyer.
1183
+ *
1184
+ * Optional here, required on the wire: a router that predates provider
1185
+ * discounts sends no `direction`, and absent means `surcharge` — which is
1186
+ * what every such response was.
1187
+ */
1188
+ direction?: SurchargeDirection;
951
1189
  }
952
1190
  /** One payment method type offered for a payment, with everything needed to render it. */
953
1191
  interface ResponsePaymentMethodTypes {
@@ -1608,7 +1846,7 @@ interface BillingProfileResponse {
1608
1846
  * any payment, the payment gate never blocks on `billing_status`, top-ups
1609
1847
  * are refused and auto-recharge is inert. Orthogonal to `is_trusted`, which
1610
1848
  * only shields against suspension. Absent on a router that predates the
1611
- * flag (delopay-backend#378); read absent as `false`.
1849
+ * flag; read absent as `false`.
1612
1850
  */
1613
1851
  is_free?: boolean;
1614
1852
  /** Admin-provided reason the merchant is free. Absent when not free. */
@@ -2280,9 +2518,12 @@ interface ProfileDeniedConnectorsResponse {
2280
2518
  denied_connectors: string[];
2281
2519
  }
2282
2520
  /**
2283
- * A buyer-facing surcharge added to the checkout amount.
2521
+ * A buyer-facing adjustment to the checkout amount.
2284
2522
  *
2285
2523
  * Either a flat amount in minor units, or a percentage of the order amount.
2524
+ * **Signed**: a negative value is a provider discount credited to the buyer,
2525
+ * not a charge. A rate discount steeper than -100% is rejected by the router;
2526
+ * a fixed discount larger than the order is clamped to the order amount.
2286
2527
  */
2287
2528
  type MethodSurcharge = {
2288
2529
  fixed: {
@@ -2293,16 +2534,109 @@ type MethodSurcharge = {
2293
2534
  percent: number;
2294
2535
  };
2295
2536
  };
2296
- /** One per-payment-method surcharge entry. */
2537
+ /** What a {@link SurchargeCondition} reads off the payment. */
2538
+ type SurchargeConditionSource = 'metadata' | 'currency' | 'amount';
2539
+ /**
2540
+ * Operators a metadata condition admits. Metadata values are compared as
2541
+ * strings by the rule engine, so there is no ordering and no list form.
2542
+ */
2543
+ type SurchargeMetadataOperator = 'equals' | 'not_equals';
2544
+ /** Operators a currency condition admits. `in` / `not_in` take a list. */
2545
+ type SurchargeCurrencyOperator = SurchargeMetadataOperator | 'in' | 'not_in';
2546
+ /** Operators an order-amount condition admits. Ordering is amount-only. */
2547
+ type SurchargeAmountOperator = SurchargeMetadataOperator | 'greater_than' | 'greater_than_or_equal' | 'less_than' | 'less_than_or_equal';
2548
+ /**
2549
+ * Every operator the rule engine can evaluate inside one AND-ed condition.
2550
+ *
2551
+ * The union of the three source-specific sets above. Which of them a given
2552
+ * condition may use is decided by its source, and {@link SurchargeCondition}
2553
+ * enforces that at compile time — this alias exists for code that handles all
2554
+ * of them uniformly (an operator picker, a label map), not as the type of a
2555
+ * condition's `operator` field.
2556
+ */
2557
+ type SurchargeOperator = SurchargeCurrencyOperator | SurchargeAmountOperator;
2558
+ /**
2559
+ * The value to compare against, as a string in every case: an ISO currency
2560
+ * code, a minor-unit integer, a metadata value, or a comma-separated list for
2561
+ * `in` / `not_in`. The `source` decides how the router reads it.
2562
+ */
2563
+ interface SurchargeConditionValue {
2564
+ value: string;
2565
+ }
2566
+ /**
2567
+ * One extra condition a surcharge rule must satisfy, beyond its connector and
2568
+ * method scope. Conditions AND with the scope and with each other, so two
2569
+ * conditions on the same source express a range.
2570
+ *
2571
+ * Deliberately the same three sources the checkout's custom fields condition on
2572
+ * ({@link CustomFieldConditionSource}) — merchants already express "this is a
2573
+ * digital order" / "this is over EUR 500" that way.
2574
+ *
2575
+ * Modelled as a discriminated union rather than three loose fields because the
2576
+ * router rejects the invalid combinations with a 400 that names the DSL, not
2577
+ * the row: a metadata condition with no key has nothing to read, an ordering
2578
+ * operator on a string compares nothing, and `in` on an amount is not a
2579
+ * comparison the engine has. A rule set is money added to a buyer's total, so
2580
+ * those belong in the type rather than in a runtime error.
2581
+ */
2582
+ type SurchargeCondition = (SurchargeConditionValue & {
2583
+ source: 'metadata';
2584
+ /** The metadata key to read. Required — there is nothing to compare without it. */
2585
+ key: string;
2586
+ operator: SurchargeMetadataOperator;
2587
+ }) | (SurchargeConditionValue & {
2588
+ source: 'currency';
2589
+ /** Meaningless for this source; omit it, or send an explicit `null`. */
2590
+ key?: null;
2591
+ operator: SurchargeCurrencyOperator;
2592
+ }) | (SurchargeConditionValue & {
2593
+ source: 'amount';
2594
+ /** Meaningless for this source; omit it, or send an explicit `null`. */
2595
+ key?: null;
2596
+ operator: SurchargeAmountOperator;
2597
+ });
2598
+ /**
2599
+ * One surcharge entry. Every scope field is optional and they AND together, so
2600
+ * this expresses "Stripe, any method", "card on any provider" (the pre-#196
2601
+ * shape), "Stripe card only", and — with `conditions` — "Stripe card over
2602
+ * EUR 500".
2603
+ */
2297
2604
  interface PerMethodSurchargeItem {
2298
- /** e.g. "card", "crypto", "wallet". */
2299
- payment_method: string;
2605
+ /**
2606
+ * e.g. "card", "crypto", "wallet". Omit/null = any method, which is what
2607
+ * makes a provider-only rule expressible.
2608
+ *
2609
+ * Required before the connector axis landed; every rule stored then carries
2610
+ * one, so those round-trip unchanged.
2611
+ */
2612
+ payment_method?: string | null;
2300
2613
  /** Optional finer scope (e.g. a specific wallet/crypto). Not valid for cards — use `card_network`. */
2301
2614
  payment_method_type?: string | null;
2302
2615
  /** Optional card-network scope (card only), e.g. "Visa". */
2303
2616
  card_network?: string | null;
2617
+ /**
2618
+ * Provider **brand** scope (`stripe`, `cryptomus`, …).
2619
+ *
2620
+ * The axis a surcharge actually belongs on: what a payment costs the merchant
2621
+ * is set by the processor, so the same `card` charge routed to two providers
2622
+ * costs two different amounts and one method-keyed number cannot cover both.
2623
+ */
2624
+ connector?: string | null;
2625
+ /**
2626
+ * Provider **account** scope, finer than `connector`.
2627
+ *
2628
+ * One shop can hold several enabled accounts for one connector and price them
2629
+ * differently, which the brand alone cannot express.
2630
+ */
2631
+ merchant_connector_id?: string | null;
2632
+ /** Extra conditions on the payment itself. Omit/empty = none. */
2633
+ conditions?: SurchargeCondition[];
2304
2634
  surcharge: MethodSurcharge;
2305
- /** Optional tax on the surcharge, as a percentage of the surcharge amount. */
2635
+ /**
2636
+ * Optional tax on the surcharge, as a percentage of the surcharge amount.
2637
+ * Always non-negative — on a discount the tax follows the discount's sign, so
2638
+ * the two lines never disagree.
2639
+ */
2306
2640
  tax_on_surcharge_percent?: number | null;
2307
2641
  }
2308
2642
  /** Request for `PUT /routing/surcharge/rules`. */
@@ -2310,9 +2644,9 @@ interface SurchargeRuleRequest {
2310
2644
  name?: string | null;
2311
2645
  /** Shop scope. Omit/null = merchant-wide. */
2312
2646
  profile_id?: string | null;
2313
- /** Per-method surcharges, evaluated top-to-bottom (first match wins). */
2647
+ /** Surcharge entries, evaluated top-to-bottom (first match wins). */
2314
2648
  surcharges?: PerMethodSurchargeItem[];
2315
- /** Applied when no per-method entry matches. Omit/null = no surcharge. */
2649
+ /** Applied when no entry matches. Omit/null = no adjustment. */
2316
2650
  default_surcharge?: MethodSurcharge | null;
2317
2651
  show_surcharge_breakup_screen?: boolean | null;
2318
2652
  /** RFC3339; defaults to now when omitted. */
@@ -3236,7 +3570,7 @@ interface MerchantAccountResponse {
3236
3570
  /**
3237
3571
  * A partial update of a connector's `connector_webhook_details`.
3238
3572
  *
3239
- * **Merged over the stored block, not swapped for it** (be#992). Each key is
3573
+ * **Merged over the stored block, not swapped for it.** Each key is
3240
3574
  * decided on its own:
3241
3575
  *
3242
3576
  * - **absent (or the whole object omitted / `null`) — keeps** whatever is
@@ -3315,8 +3649,8 @@ interface ConnectorUpdateRequest {
3315
3649
  disabled?: boolean | null;
3316
3650
  /**
3317
3651
  * **Merged key by key into the stored webhook details, not a whole-value
3318
- * replacement** (be#992). An absent key keeps its stored value; an explicit
3319
- * value is written, and an explicit `''` **clears** that secret.
3652
+ * replacement.** An absent key keeps its stored value; an explicit value is
3653
+ * written, and an explicit `''` **clears** that secret.
3320
3654
  *
3321
3655
  * Send only the keys an operator typed. Padding the environment you are not
3322
3656
  * editing with `''` — the shape the old replacement semantics invited —
@@ -6042,9 +6376,10 @@ interface ShopVisibilityResponse {
6042
6376
  * behind an adjustment, so `max_payment_age_days` means nothing, and an
6043
6377
  * adjustment is hard-deleted with no tombstone, so a count read back from
6044
6378
  * live rows counts positions standing rather than adds performed.
6045
- * - `settlement_payout` — `max_amount_per_operation` only. Recording a payout
6046
- * mutates one statement row, so the row cannot say how many times anyone
6047
- * acted, and its date is caller-supplied neither window is enforceable.
6379
+ * - `settlement_payout` — everything but `max_payment_age_days`, there being
6380
+ * no payment behind a payout whose age a rule could ask about. Both windows
6381
+ * count the individual payments recorded against a statement, each of which
6382
+ * is attributed and server-timestamped.
6048
6383
  */
6049
6384
  type LimitedOperation = 'refund' | 'settlement_adjustment' | 'settlement_payout';
6050
6385
  /** Rule target: the merchant default, one role, or one user. */
@@ -6140,17 +6475,23 @@ interface UpsertSettlementAdjustmentLimitRuleRequest extends UpsertOperationLimi
6140
6475
  on_exceeded?: 'block';
6141
6476
  }
6142
6477
  /**
6143
- * A payout-recording rule: a per-operation ceiling and nothing else.
6478
+ * A payout-recording rule: the per-operation ceiling and both windows.
6479
+ *
6480
+ * The windows were previously refused. Recording a payout used to overwrite
6481
+ * a single running figure on the statement, so it named only whoever acted
6482
+ * last, and the only date it carried was one the caller supplied — a
6483
+ * backdated request fell straight out of every window. Each payment is now
6484
+ * recorded as its own entry, attributed and server-timestamped, and that is
6485
+ * what the windows count.
6144
6486
  *
6145
- * Recording a payout mutates one statement row, so the row cannot say how
6146
- * many times anyone acted, and its window would rest on a caller-supplied
6147
- * business date. Neither window is enforceable, so neither is accepted.
6487
+ * An age limit is still refused: there is no payment behind a payout whose
6488
+ * age the rule could ask about.
6148
6489
  */
6149
6490
  interface UpsertSettlementPayoutLimitRuleRequest extends UpsertOperationLimitRuleBase {
6150
6491
  operation: 'settlement_payout';
6151
6492
  max_amount_per_operation?: number;
6152
- max_total_amount_per_window?: never;
6153
- max_count_per_window?: never;
6493
+ max_total_amount_per_window?: number;
6494
+ max_count_per_window?: number;
6154
6495
  max_payment_age_days?: never;
6155
6496
  /** `block` only — see `UpsertSettlementAdjustmentLimitRuleRequest`. */
6156
6497
  on_exceeded?: 'block';
@@ -7258,9 +7599,9 @@ declare class Connectors {
7258
7599
  /**
7259
7600
  * Update a connector account.
7260
7601
  *
7261
- * `connector_webhook_details` **merges** into the stored block key by key
7262
- * (be#992): an absent key keeps its stored secret, an explicit value is
7263
- * written, and an explicit empty string clears that secret. Send only the
7602
+ * `connector_webhook_details` **merges** into the stored block key by key:
7603
+ * an absent key keeps its stored secret, an explicit value is written, and
7604
+ * an explicit empty string clears that secret. Send only the
7264
7605
  * keys the operator typed — padding the other environment's keys with `''`
7265
7606
  * clears a live signing secret and inbound webhooks stop verifying.
7266
7607
  *
@@ -9824,11 +10165,12 @@ declare class Settlement {
9824
10165
  /**
9825
10166
  * Record payout progress on a statement (`unpaid` / `partial` / `paid`).
9826
10167
  *
9827
- * Subject to the caller's `settlement_payout` operation limit, which can
9828
- * only be a per-operation ceiling: an over-limit call fails with `DE_01`
9829
- * and nothing is recorded. There is no approval route out of it — four-eyes
9830
- * needs an executor that can run the operation once somebody says yes, and
9831
- * only refunds have one, so a settlement rule can only block.
10168
+ * Subject to the caller's `settlement_payout` operation limit a
10169
+ * per-operation ceiling, a windowed total, a windowed count, or any
10170
+ * combination: an over-limit call fails with `DE_01` and nothing is
10171
+ * recorded. There is no approval route out of it four-eyes needs an
10172
+ * executor that can run the operation once somebody says yes, and only
10173
+ * refunds have one, so a settlement rule can only block.
9832
10174
  *
9833
10175
  * `POST /settlement/statements/{statementId}/payout`
9834
10176
  */
@@ -10580,6 +10922,152 @@ type LabelStyle = 'above' | 'hidden';
10580
10922
  type PaymentLayout = 'tabs' | 'accordion' | 'spaced_accordion';
10581
10923
  type LogoShape = 'square' | 'rounded' | 'circle';
10582
10924
  type LogoSize = 'sm' | 'md' | 'lg';
10925
+ type SurchargePosition = 'inline' | 'trailing' | 'below' | 'above' | 'cornerStart' | 'cornerEnd';
10926
+ type SurchargeStyle = 'plain' | 'badge' | 'outline' | 'solid' | 'underline' | 'ribbon';
10927
+ type SurchargeBorderWidth = 'none' | 'thin' | 'medium' | 'thick';
10928
+ type SurchargeBorderStyle = 'solid' | 'dashed' | 'dotted';
10929
+ type SurchargeSize = 'sm' | 'md' | 'lg';
10930
+ type SurchargeShape = 'pill' | 'rounded' | 'square';
10931
+ type SurchargeWeight = 'regular' | 'medium' | 'bold';
10932
+ type SurchargeSign = 'always' | 'minusOnly' | 'none';
10933
+ type SurchargeLabelMode = 'amount' | 'labelled';
10934
+ type SurchargeFigureMode = 'amount' | 'percent' | 'amountThenPercent' | 'percentThenAmount';
10935
+ /**
10936
+ * Whether the tile has room to print the wording alongside the figure.
10937
+ *
10938
+ * One pairing says no: the diagonal ribbon at either corner. That band is
10939
+ * clipped by the tile it crosses, and the readable length is set by how far the
10940
+ * corner is inset — roughly 75px on a standard payment tile, against roughly
10941
+ * 107px for a labelled figure at the default size. Printing the word there
10942
+ * clips the *figure*, and a half-shown price is worse than a plain one, so the
10943
+ * word is what gives way.
10944
+ *
10945
+ * Exported, and shared by the buyer-facing checkout and the dashboard's live
10946
+ * preview, because the two must reach the same answer. A preview that promises
10947
+ * a word the checkout will not print is the one failure a preview cannot have.
10948
+ */
10949
+ declare function surchargeShowsLabel(labelMode: SurchargeLabelMode, style: SurchargeStyle, position: SurchargePosition): boolean;
10950
+ /** One of the two things a tile can print. */
10951
+ type SurchargeFigurePart = 'amount' | 'percent';
10952
+ /** Exactly what one tile prints, in order. See {@link surchargeFigurePlan}. */
10953
+ interface SurchargeFigurePlan {
10954
+ /** The leading figure. Always present — a tile with nothing to say renders nothing at all. */
10955
+ first: SurchargeFigurePart;
10956
+ /** The trailing figure, parenthesised by the renderer, or `null` for one figure. */
10957
+ second: SurchargeFigurePart | null;
10958
+ /** Whether the localized direction word prefixes the whole thing. */
10959
+ label: boolean;
10960
+ }
10961
+ /**
10962
+ * What one tile prints: which figures, in which order, and whether the word
10963
+ * comes with them.
10964
+ *
10965
+ * One function rather than a rule per surface, because the buyer-facing tile
10966
+ * and the dashboard's live preview must reach the same answer. A preview that
10967
+ * shows a percentage the checkout will not print — or prints in the other
10968
+ * order — is the one failure a preview cannot have.
10969
+ *
10970
+ * Three things it decides, in order of how much they cost to get wrong:
10971
+ *
10972
+ * * **No percentage available, no percentage printed.** `percentAvailable` is
10973
+ * false when the router sent none, which happens on an order of zero. A
10974
+ * merchant who asked for `percent` gets the amount instead — never a blank
10975
+ * tile, and never `0%`. This is the fallback the whole design leans on: the
10976
+ * amount is exact in every case, so it is what every degradation lands on.
10977
+ * * **A corner ribbon prints one figure.** The band crossing a tile's corner
10978
+ * is clipped to roughly 75px of readable length; two figures and a word do
10979
+ * not fit, and clipping a *price* is worse than showing less of one. It
10980
+ * keeps the merchant's leading figure — their own statement of which half
10981
+ * matters — and drops the trailing one along with the word.
10982
+ * * **Direction picks the setting.** `discountFigure` for a credit,
10983
+ * `surchargeFigure` for a charge, because a saving and a fee are not the
10984
+ * same message even though they are the same mechanism.
10985
+ */
10986
+ declare function surchargeFigurePlan(branding: Pick<CheckoutBranding, 'surchargeFigure' | 'discountFigure' | 'surchargeLabel' | 'surchargeStyle' | 'surchargePosition'>, isDiscount: boolean, percentAvailable: boolean): SurchargeFigurePlan;
10987
+ /**
10988
+ * Black or white, whichever reads better on `color` — for the `solid` style,
10989
+ * which writes on the configured colour itself.
10990
+ *
10991
+ * Picked by contrast rather than by a luminance threshold so the answer is the
10992
+ * one WCAG would give, and falls back to white on an unparseable colour, which
10993
+ * is what the rest of this module does with a colour it cannot read.
10994
+ */
10995
+ declare function readableInkOn(color: string): string;
10996
+ /**
10997
+ * The values each disclosure axis accepts, in the order a picker should offer
10998
+ * them: quietest first, so a merchant scrolling down is turning the figure up.
10999
+ *
11000
+ * Exported because both the dashboard's picker and this module's decoder need
11001
+ * the same list, and a picker offering a value the decoder rejects is a control
11002
+ * that silently does nothing.
11003
+ */
11004
+ declare const SURCHARGE_POSITIONS: readonly SurchargePosition[];
11005
+ declare const SURCHARGE_STYLES: readonly SurchargeStyle[];
11006
+ declare const SURCHARGE_BORDER_WIDTHS: readonly SurchargeBorderWidth[];
11007
+ declare const SURCHARGE_BORDER_STYLES: readonly SurchargeBorderStyle[];
11008
+ declare const SURCHARGE_SIZES: readonly SurchargeSize[];
11009
+ /**
11010
+ * Whether a style draws a shape behind the figure, and therefore whether
11011
+ * {@link SurchargeShape} means anything for it.
11012
+ *
11013
+ * `plain` and `underline` paint text. A dashboard that leaves the corner picker
11014
+ * live under them offers a control that changes nothing on screen, which is how
11015
+ * a merchant decides the whole panel is broken; one that hides it loses their
11016
+ * choice when they switch back. Disabled is the answer, and this is the
11017
+ * predicate it needs.
11018
+ */
11019
+ declare function surchargeStyleDrawsAShape(style: SurchargeStyle): boolean;
11020
+ declare const SURCHARGE_SHAPES: readonly SurchargeShape[];
11021
+ declare const SURCHARGE_WEIGHTS: readonly SurchargeWeight[];
11022
+ declare const SURCHARGE_SIGNS: readonly SurchargeSign[];
11023
+ declare const SURCHARGE_LABEL_MODES: readonly SurchargeLabelMode[];
11024
+ declare const SURCHARGE_FIGURE_MODES: readonly SurchargeFigureMode[];
11025
+ /**
11026
+ * The buyer locales the checkout ships copy for, and therefore the ones a
11027
+ * merchant can override.
11028
+ *
11029
+ * Driven from here rather than restated in the dashboard, so a locale added to
11030
+ * the checkout cannot leave the dashboard offering one fewer box than the
11031
+ * buyer-facing render reads.
11032
+ */
11033
+ declare const CHECKOUT_LOCALES: readonly ["en", "de"];
11034
+ type CheckoutLocale = (typeof CHECKOUT_LOCALES)[number];
11035
+ /**
11036
+ * The copy fields a merchant may write once per locale.
11037
+ *
11038
+ * Each has a flat `<field>` and a `<field>Translations` map beside it. The flat
11039
+ * value is what every existing merchant already has and stays authoritative
11040
+ * wherever no override is set — which is what makes this additive: a profile
11041
+ * saved before translations existed renders exactly as it did, in every locale.
11042
+ */
11043
+ declare const LOCALIZABLE_COPY_FIELDS: readonly ["headerText", "payButtonLabel", "cardTermsMessage", "footerText"];
11044
+ type LocalizableCopyField = (typeof LOCALIZABLE_COPY_FIELDS)[number];
11045
+ /** The translations key that belongs to a copy field. */
11046
+ declare function copyTranslationsKey(field: LocalizableCopyField): `${LocalizableCopyField}Translations`;
11047
+ /**
11048
+ * One piece of merchant copy, in the buyer's locale.
11049
+ *
11050
+ * Exact locale wins (`de-AT`), then its base language (`de`), then the flat
11051
+ * field — the same order `customFieldText` resolves in, because a merchant who
11052
+ * has learnt one of these should not have to learn the other.
11053
+ *
11054
+ * Returning the flat value rather than `''` is the backward-compatibility
11055
+ * guarantee: an override is an addition to what a merchant already wrote, never
11056
+ * a replacement for it, so an empty or missing map changes nothing.
11057
+ */
11058
+ declare function checkoutCopy(branding: CheckoutBranding, field: LocalizableCopyField, locale?: string): string;
11059
+ /**
11060
+ * The merchant's own word for one direction, or `null` to use the checkout's
11061
+ * built-in one.
11062
+ *
11063
+ * `null` rather than a default string because the fallback is *localized* and
11064
+ * lives in the buyer-facing bundle — this module has no i18n of its own, and
11065
+ * inventing an English default here would print "Discount" to a German buyer.
11066
+ *
11067
+ * A merchant who sets nothing therefore keeps the shipped wording in both
11068
+ * languages, which is the intended default and already reads well.
11069
+ */
11070
+ declare function surchargeWordFor(branding: Pick<CheckoutBranding, 'surchargeWordTranslations' | 'discountWordTranslations'>, isDiscount: boolean, locale?: string): string | null;
10583
11071
  interface TrustBadge {
10584
11072
  id: string;
10585
11073
  label: string;
@@ -10662,12 +11150,33 @@ interface CheckoutBranding {
10662
11150
  totalLabel: string;
10663
11151
  showCurrencyCode: boolean;
10664
11152
  showOrderItems: boolean;
11153
+ showSurcharge: boolean;
11154
+ surchargePosition: SurchargePosition;
11155
+ surchargeStyle: SurchargeStyle;
11156
+ surchargeSize: SurchargeSize;
11157
+ surchargeShape: SurchargeShape;
11158
+ surchargeBorderWidth: SurchargeBorderWidth;
11159
+ surchargeBorderStyle: SurchargeBorderStyle;
11160
+ surchargeWeight: SurchargeWeight;
11161
+ surchargeSign: SurchargeSign;
11162
+ surchargeUppercase: boolean;
11163
+ surchargeLabel: SurchargeLabelMode;
11164
+ surchargeFigure: SurchargeFigureMode;
11165
+ discountFigure: SurchargeFigureMode;
11166
+ surchargeWordTranslations: CustomFieldTranslations;
11167
+ discountWordTranslations: CustomFieldTranslations;
11168
+ surchargeColor: string;
11169
+ discountColor: string;
10665
11170
  trustBadges: TrustBadge[];
10666
11171
  customFields: CheckoutCustomField[];
10667
11172
  headerText: string;
11173
+ headerTextTranslations: CustomFieldTranslations;
10668
11174
  payButtonLabel: string;
11175
+ payButtonLabelTranslations: CustomFieldTranslations;
10669
11176
  cardTermsMessage: string;
11177
+ cardTermsMessageTranslations: CustomFieldTranslations;
10670
11178
  footerText: string;
11179
+ footerTextTranslations: CustomFieldTranslations;
10671
11180
  supportEmail: string;
10672
11181
  paymentLayout: PaymentLayout;
10673
11182
  labelStyle: LabelStyle;
@@ -11073,30 +11582,6 @@ declare class CheckoutSession {
11073
11582
  }, options?: RequestExtras): Promise<PaymentMethodListResponse>;
11074
11583
  }
11075
11584
 
11076
- /**
11077
- * Where a pane's tile is offered.
11078
- *
11079
- * - `always` — wherever the checkout renders.
11080
- * - `embedded_only` — inside a merchant iframe only, which keeps the wallet
11081
- * inside the connector's own form at top level.
11082
- * - `external_only` — the inverse: only when the checkout renders at top level
11083
- * (a hosted payment link or the focused view), hidden inside a merchant
11084
- * iframe.
11085
- *
11086
- * Wallet rail only. A redirect pane is suppressed server-side, before any
11087
- * render knows whether it is framed, so a framing-dependent value there would
11088
- * leave the method unpayable on one side and the router forces it back to
11089
- * `always`.
11090
- */
11091
- type PaneVisibility = 'always' | 'embedded_only' | 'external_only';
11092
- /**
11093
- * How the embedded checkout opens a pane's focused view: a new browser tab
11094
- * (`tab`, the historical behaviour) or a centred popup window (`popup`).
11095
- * Only meaningful when the checkout renders inside an iframe — a top-level
11096
- * render always navigates in place. Browsers that refuse popup windows fall
11097
- * back to a tab on their own.
11098
- */
11099
- type PaneOpenTarget = 'tab' | 'popup';
11100
11585
  /**
11101
11586
  * One pane exactly as the merchant configures it. Persisted (JSON) under
11102
11587
  * `metadata.native_panes` on the merchant connector account.
@@ -11140,148 +11625,6 @@ interface Pane {
11140
11625
  /** How the embedded checkout opens the focused view — see {@link PaneOpenTarget}. */
11141
11626
  openIn: PaneOpenTarget;
11142
11627
  }
11143
- /**
11144
- * One resolved pane as the buyer-facing checkout receives it on the
11145
- * payment-link payload (`native_panes`). Labels are already localized for the
11146
- * render's locale and icons already sanitized — snake_case because this is the
11147
- * API wire shape, not the editor's.
11148
- */
11149
- interface PaneView {
11150
- method: string;
11151
- /**
11152
- * Connector brand that owns this pane (`stripe`, `klarna`, …).
11153
- *
11154
- * Pass straight to {@link focusedCheckoutUrl}'s `connector` to mint a link
11155
- * that resolves to this tile and no other: `method` alone is ambiguous the
11156
- * moment two connectors publish one key, and a bare `pane=` then resolves to
11157
- * whichever tile sorts first server-side.
11158
- *
11159
- * It names a brand, not an account — {@link PaneView.merchant_connector_id}
11160
- * is what separates two accounts of the same connector.
11161
- *
11162
- * Optional only because a router predating the field omits it; every router
11163
- * that has it always serializes it, and it is never `null`.
11164
- */
11165
- connector?: string;
11166
- /**
11167
- * Merchant connector **account** this pane was configured on.
11168
- *
11169
- * Pass straight to {@link focusedCheckoutUrl}'s `merchantConnectorId`. The
11170
- * checkout echoes this back on confirm as `native_pane_merchant_connector_id`
11171
- * and the router re-validates it against the profile's live accounts, so a
11172
- * pane charges the credentials it was configured on rather than a sibling
11173
- * account's.
11174
- *
11175
- * Absent on the wallet rail — that rail charges the PaymentIntent the card
11176
- * connector already created, so there is no routing decision to pin — and on
11177
- * payloads predating the field. Omitted rather than `null` when unset.
11178
- */
11179
- merchant_connector_id?: string;
11180
- rail: PaneRail;
11181
- label: string;
11182
- sublabel: string;
11183
- /**
11184
- * `true` when {@link PaneView.label} is the router's compiled catalog
11185
- * default rather than anything the merchant typed.
11186
- *
11187
- * The catalog defaults are compiled in English only — the merchant's
11188
- * `labelTranslations` are the sole localized path — so a merchant who
11189
- * configures nothing gets an English tile label under a translated section
11190
- * heading. This flag is what lets a localizing surface substitute its own
11191
- * copy for exactly those tiles and leave merchant-authored ones alone.
11192
- *
11193
- * Key that copy on `method` alone. Two connectors may publish one key —
11194
- * Cryptomus and NOWPayments both publish `crypto`, Stripe and Klarna both
11195
- * publish `klarna` — and the catalog copy is identical for both on purpose.
11196
- * What tells such a pair apart is
11197
- * {@link PaneView.connector_display_name}, which is not translated and must
11198
- * be appended to whichever copy wins.
11199
- *
11200
- * Absent on payloads that predate the field, which read as `false` —
11201
- * merchant-authored, so nothing gets rewritten.
11202
- */
11203
- label_is_default?: boolean;
11204
- /**
11205
- * `true` when {@link PaneView.sublabel} is the router's compiled catalog
11206
- * default. Same contract as {@link PaneView.label_is_default}.
11207
- *
11208
- * An explicitly-empty sublabel is a merchant decision ("hide the second
11209
- * line") and reports `false`, so substituting copy there would restore a
11210
- * line they deliberately cleared.
11211
- */
11212
- sublabel_is_default?: boolean;
11213
- /**
11214
- * The connector's brand, present **only** when this render would otherwise
11215
- * show two tiles a buyer cannot tell apart — a merchant running both
11216
- * Cryptomus and NOWPayments, or both Klarna rails.
11217
- *
11218
- * Append it to the sublabel you render (`` `${sublabel} · ${name}` ``).
11219
- * It travels separately from {@link PaneView.sublabel} precisely because that
11220
- * string is replaced wholesale when {@link PaneView.sublabel_is_default} is
11221
- * set: a brand baked into it would be discarded with it, collapsing the two
11222
- * tiles again. Do not translate it — brand names are the same in every
11223
- * locale, which is why it can arrive as data at all.
11224
- *
11225
- * Absent for the common case of one connector per method. A merchant with
11226
- * only Stripe must never read "· via Stripe" on a tile there is nothing
11227
- * to distinguish it from.
11228
- */
11229
- connector_display_name?: string | null;
11230
- category: string;
11231
- icon?: string | null;
11232
- icon_svg?: string | null;
11233
- display_order: number;
11234
- /** Redirect rail only — echo verbatim on confirm, never derive. */
11235
- payment_method?: string | null;
11236
- /** Redirect rail only — echo verbatim on confirm, never derive. */
11237
- payment_method_type?: string | null;
11238
- /** Redirect rail only — echo verbatim on confirm, never derive. */
11239
- payment_method_data?: Record<string, unknown> | null;
11240
- /**
11241
- * The confirm body needs the buyer's country: merged into
11242
- * `billing.address.country` and echoed into the single `payment_method_data`
11243
- * variant's `billing_country`.
11244
- */
11245
- requires_billing_country?: boolean;
11246
- /**
11247
- * `true` when the tile is only offered inside an iframe. Wallet rail only.
11248
- *
11249
- * Superseded by {@link PaneView.visibility}, which carries all three states,
11250
- * and kept by the router at exactly its historical meaning (`rail ===
11251
- * 'wallet' && visibility === 'embedded_only'`) so checkout builds that
11252
- * predate that field keep working. Such a build reads an `external_only`
11253
- * pane as `embedded_only: false` and shows it in the embed too — it
11254
- * over-shows, which loses a placement rule, rather than hiding a tile the
11255
- * buyer needs. Read {@link paneViewVisibility} instead of either field.
11256
- */
11257
- embedded_only?: boolean;
11258
- /**
11259
- * Which render contexts this tile is offered in.
11260
- *
11261
- * **This is the resolved value, not the merchant's stored one, and the two do
11262
- * not round-trip.** The router coerces anything the render path cannot
11263
- * honour before emitting: a pane whose suppression is decided server-side
11264
- * reads `always` here whatever the merchant configured. Stripe's redirect
11265
- * panes are the case to know about — the router forces every redirect-rail
11266
- * pane back to `always` (suppression happens before any render knows whether
11267
- * it is framed), so a redirect pane stored as `embedded_only` on the config
11268
- * {@link Pane} still arrives here as `always`. Do not read this field back as
11269
- * the merchant's setting; read {@link Pane.visibility} off the connector
11270
- * account's `metadata.native_panes` for that.
11271
- *
11272
- * Optional because a router predating this field omits it, not because the
11273
- * router ever skips it: it is always serialized once present. A value
11274
- * outside the union can also arrive from a router newer than this SDK, so
11275
- * read it through {@link paneViewVisibility} rather than comparing it
11276
- * directly.
11277
- */
11278
- visibility?: PaneVisibility;
11279
- /**
11280
- * How the embedded checkout opens this tile's focused view. Absent on
11281
- * payloads from older backends — treat as `tab`.
11282
- */
11283
- open_in?: PaneOpenTarget;
11284
- }
11285
11628
  /**
11286
11629
  * Read a resolved tile's placement rule, across every payload version.
11287
11630
  *
@@ -11329,8 +11672,8 @@ interface PaneMethodInfo {
11329
11672
  /**
11330
11673
  * What this SDK assumes when the router cannot answer.
11331
11674
  *
11332
- * The capability endpoint shipped with delopay-backend#964 and does not exist
11333
- * on an older router, which answers `connectors.getPanesCatalog()` with a 404.
11675
+ * The capability endpoint does not exist on an older router, which answers
11676
+ * `connectors.getPanesCatalog()` with a 404.
11334
11677
  * Rather than leaving a caller with nothing, the pane helpers default to
11335
11678
  * exactly the behaviour they had before that endpoint existed: panes on the
11336
11679
  * Stripe connector only, with the method set the router's Stripe catalogue had
@@ -11688,4 +12031,4 @@ declare const decodeNativePanes: typeof decodePanes;
11688
12031
  /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
11689
12032
  declare const encodeNativePanes: typeof encodePanes;
11690
12033
 
11691
- export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RuleConnectorSelection, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeDetailsResponse, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };
12034
+ export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RuleConnectorSelection, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, checkoutCopy, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };