@delopay/sdk 0.108.0 → 0.111.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.cts CHANGED
@@ -6317,7 +6317,12 @@ interface EpayoutsCatalogResponse {
6317
6317
  */
6318
6318
  interface ConnectorRisk {
6319
6319
  connector: string;
6320
- /** Coarse bucket the index falls in, e.g. `low` / `elevated` / `high`. */
6320
+ /**
6321
+ * Coarse bucket the index falls in: `healthy` | `watch` | `at_risk` |
6322
+ * `critical` | `insufficient_data`. Open string on purpose — a new band
6323
+ * must reach dashboards without an SDK release, so render unknown values
6324
+ * through the same neutral path as `insufficient_data`, never as healthy.
6325
+ */
6321
6326
  band: string;
6322
6327
  /** The index itself, when the snapshot carries one. */
6323
6328
  index?: number | null;
@@ -6416,23 +6421,23 @@ interface FeatureMatrixResponse {
6416
6421
  connectors: ConnectorFeatureMatrixEntry[];
6417
6422
  }
6418
6423
  /**
6419
- * Rail a native pane is rendered and confirmed on.
6424
+ * Rail a pane is rendered and confirmed on.
6420
6425
  *
6421
6426
  * `wallet` panes are collected in-page by the connector's own SDK;
6422
6427
  * `redirect` panes hand the buyer to a connector-hosted page.
6423
6428
  */
6424
- type NativePaneRail$1 = 'wallet' | 'redirect';
6429
+ type PaneRail = 'wallet' | 'redirect';
6425
6430
  /**
6426
- * One method a connector can publish as a native pane.
6431
+ * One method a connector can publish as a pane.
6427
6432
  *
6428
6433
  * Capability facts only. There is deliberately no `label`, `sublabel` or
6429
6434
  * `category` here — presentational copy for a pane lives in the dashboard's
6430
6435
  * `en.json` / `de.json`, keyed by `key`, and never in the router.
6431
6436
  */
6432
- interface NativePaneCapability {
6437
+ interface PaneCapability {
6433
6438
  /** Stable catalogue key (`apple_pay`, `klarna`, …). The copy lookup key. */
6434
6439
  key: string;
6435
- rail: NativePaneRail$1;
6440
+ rail: PaneRail;
6436
6441
  /** Routing key sent on confirm. Pass through verbatim; never derive it. */
6437
6442
  payment_method: PaymentMethod;
6438
6443
  /** Routing key sent on confirm. Pass through verbatim; never derive it. */
@@ -6440,8 +6445,8 @@ interface NativePaneCapability {
6440
6445
  /** Whether a configuration for this method must carry a billing country. */
6441
6446
  requires_billing_country: boolean;
6442
6447
  }
6443
- /** What one connector can publish as native panes. */
6444
- interface NativePanesConnectorCatalog {
6448
+ /** What one connector can publish as panes. */
6449
+ interface PanesConnectorCatalog {
6445
6450
  /** Connector name (`stripe`, `creem`, …). */
6446
6451
  connector: string;
6447
6452
  /**
@@ -6449,11 +6454,122 @@ interface NativePanesConnectorCatalog {
6449
6454
  * this list is refused when the connector account is saved, rather than
6450
6455
  * accepted and silently dropped.
6451
6456
  */
6452
- allowed_rails: NativePaneRail$1[];
6453
- methods: NativePaneCapability[];
6457
+ allowed_rails: PaneRail[];
6458
+ methods: PaneCapability[];
6459
+ }
6460
+ interface PanesCatalogResponse {
6461
+ connectors: PanesConnectorCatalog[];
6462
+ }
6463
+ /** @deprecated Renamed to {@link PaneCapability}. Removed in 0.112.0. */
6464
+ interface NativePaneCapability extends PaneCapability {
6465
+ }
6466
+ /** @deprecated Renamed to {@link PanesConnectorCatalog}. Removed in 0.112.0. */
6467
+ interface NativePanesConnectorCatalog extends PanesConnectorCatalog {
6468
+ }
6469
+ /** @deprecated Renamed to {@link PanesCatalogResponse}. Removed in 0.112.0. */
6470
+ interface NativePanesCatalogResponse extends PanesCatalogResponse {
6471
+ }
6472
+ /** @deprecated Renamed to {@link PaneRail}. Removed in 0.112.0. */
6473
+ type NativePaneRail = PaneRail;
6474
+ /**
6475
+ * Query parameters for a merchant's own audit log.
6476
+ *
6477
+ * Note what is **absent**: `merchant_id`. The scope comes from the
6478
+ * authenticated token, so there is no field to set and no way to point this at
6479
+ * another merchant.
6480
+ */
6481
+ interface MerchantAuditLogListParams {
6482
+ /** One of this merchant's own users. */
6483
+ user_id?: string | null;
6484
+ /** One of this merchant's shops. */
6485
+ profile_id?: string | null;
6486
+ /** One sign-in — the changes made in a single session. */
6487
+ session_id?: string | null;
6488
+ action?: string | null;
6489
+ entity_type?: string | null;
6490
+ /** Inclusive lower bound, ISO 8601 (`2026-03-12T00:00:00Z`). */
6491
+ start_date?: string | null;
6492
+ /** Inclusive upper bound, ISO 8601. */
6493
+ end_date?: string | null;
6494
+ offset?: number | null;
6495
+ limit?: number | null;
6496
+ }
6497
+ /**
6498
+ * The parties a merchant can see in their own log.
6499
+ *
6500
+ * `delopay` covers support acting on the account and the platform itself,
6501
+ * deliberately as one value: which of DeloPay's mechanisms it was is not the
6502
+ * merchant's question, and splitting it would leak internal structure.
6503
+ */
6504
+ type MerchantAuditActorKind = 'team_member' | 'api_key' | 'delopay' | 'system';
6505
+ /** Who acted, as a merchant is allowed to see it. */
6506
+ interface MerchantAuditActorInfo {
6507
+ /**
6508
+ * Absent for a DeloPay actor: the merchant learns that support acted, not
6509
+ * which employee it was.
6510
+ */
6511
+ id?: string | null;
6512
+ kind: MerchantAuditActorKind;
6513
+ /** The team member's email, or the label for a non-human actor. */
6514
+ name?: string | null;
6515
+ }
6516
+ /**
6517
+ * Which relationship an impersonated change was made under. Absent means
6518
+ * **unknown** — a row written before this was recorded — which is not the same
6519
+ * as `self_acted`.
6520
+ */
6521
+ type MerchantAuditImpersonationKind = 'self_acted' | 'admin_for_merchant' | 'merchant_for_team_member';
6522
+ /**
6523
+ * The sign-in a change was made in.
6524
+ *
6525
+ * Only ever present for the merchant's **own** people. A DeloPay support
6526
+ * session carries none: the employee's device, address and city are not the
6527
+ * merchant's to read back.
6528
+ */
6529
+ interface MerchantAuditSessionInfo {
6530
+ id: string;
6531
+ ip_address?: string | null;
6532
+ user_agent?: string | null;
6533
+ country_code?: string | null;
6534
+ city?: string | null;
6535
+ /** Approximate — derived from the IP, so a neighbourhood, not an address. */
6536
+ latitude?: number | null;
6537
+ longitude?: number | null;
6538
+ auth_method?: string | null;
6539
+ started_at?: string | null;
6540
+ last_seen_at?: string | null;
6541
+ revoked_at?: string | null;
6542
+ }
6543
+ interface MerchantAuditLogEntry {
6544
+ id: string;
6545
+ actor: MerchantAuditActorInfo;
6546
+ /**
6547
+ * The person really acting, when it was one of the merchant's own — an admin
6548
+ * signed in as a team member. Absent when nobody was impersonating, and also
6549
+ * when it was DeloPay: `impersonation_kind` says an admin acted, and `actor`
6550
+ * already says it was DeloPay.
6551
+ */
6552
+ real_actor?: MerchantAuditActorInfo | null;
6553
+ impersonation_kind?: MerchantAuditImpersonationKind | null;
6554
+ session?: MerchantAuditSessionInfo | null;
6555
+ profile_id?: string | null;
6556
+ action: string;
6557
+ entity_type: string;
6558
+ entity_id?: string | null;
6559
+ /** What the entity was called. Absent when it has since been deleted. */
6560
+ entity_name?: string | null;
6561
+ /**
6562
+ * Which fields the change touched. Names only, never values — the raw
6563
+ * payload can carry connector credentials, so it is never forwarded.
6564
+ */
6565
+ changed_fields: string[];
6566
+ created_at: string;
6454
6567
  }
6455
- interface NativePanesCatalogResponse {
6456
- connectors: NativePanesConnectorCatalog[];
6568
+ interface MerchantAuditLogListResponse {
6569
+ entries: MerchantAuditLogEntry[];
6570
+ total_count: number;
6571
+ offset: number;
6572
+ limit: number;
6457
6573
  }
6458
6574
 
6459
6575
  /** Create and manage API keys for a merchant account. */
@@ -6759,18 +6875,31 @@ declare class Connectors {
6759
6875
  */
6760
6876
  getEpayoutsCatalogDefaults(accountId: string): Promise<EpayoutsCatalogResponse>;
6761
6877
  /**
6762
- * Every connector's native-pane capabilities, as the router itself knows
6763
- * them — which rails a connector supports, and which methods it can publish
6764
- * as a pane with the confirm routing keys each one carries.
6878
+ * Every connector's pane capabilities, as the router itself knows them —
6879
+ * which rails a connector supports, and which methods it can publish as a
6880
+ * pane with the confirm routing keys each one carries.
6765
6881
  *
6766
6882
  * Capability facts only: no label, sublabel or category comes back. A
6767
6883
  * designer renders a method's copy from its own locale files, keyed by
6768
6884
  * `key`, and takes `payment_method` / `payment_method_type` from here
6769
6885
  * verbatim rather than deriving them client-side.
6770
6886
  *
6887
+ * This is what the pane helpers in `src/panes.ts` should be driven from —
6888
+ * `paneMethodInfo`, `defaultPane` and `validatePanes` all take a
6889
+ * {@link PanesConnectorCatalog} out of this response, so a connector the
6890
+ * router starts publishing panes for needs no SDK release.
6891
+ *
6771
6892
  * `GET /account/{accountId}/connectors/native-panes/catalog`
6893
+ *
6894
+ * The path keeps the `native-panes` spelling deliberately. The identifiers
6895
+ * were renamed off "native pane"; the route was not, and pointing at the
6896
+ * backend's new name before it is deployed everywhere would both 404 against
6897
+ * un-upgraded replicas mid-rollout and fail `scripts/parity-check.mjs`,
6898
+ * which blocks publishing.
6772
6899
  */
6773
- getNativePanesCatalog(accountId: string): Promise<NativePanesCatalogResponse>;
6900
+ getPanesCatalog(accountId: string): Promise<PanesCatalogResponse>;
6901
+ /** @deprecated Renamed to {@link getPanesCatalog}. Removed in 0.112.0. */
6902
+ getNativePanesCatalog(accountId: string): Promise<PanesCatalogResponse>;
6774
6903
  /**
6775
6904
  * Sweep the merchant's own e-Payouts module and return the rails it
6776
6905
  * actually has enabled. Server-side this makes many upstream calls, so it
@@ -9220,6 +9349,29 @@ declare class Subscriptions {
9220
9349
  getBillingProcessor(options?: RequestExtras): Promise<SubscriptionBillingProcessorResponse>;
9221
9350
  }
9222
9351
 
9352
+ /**
9353
+ * A merchant's own audit log — everything changed on their account and their
9354
+ * shops, grouped by the sign-in it happened in.
9355
+ *
9356
+ * Requires a dashboard JWT (`setJwtToken`) whose role holds the `AuditLog`
9357
+ * permission; an API key cannot read it. This is deliberate: the log names
9358
+ * people, and an API key names no one.
9359
+ *
9360
+ * There is no `merchant_id` parameter. The scope comes from the token, so this
9361
+ * resource cannot be pointed at another merchant — see
9362
+ * {@link MerchantAuditLogListParams}.
9363
+ */
9364
+ declare class Audit {
9365
+ private readonly request;
9366
+ constructor(request: RequestFn);
9367
+ list(params?: MerchantAuditLogListParams): Promise<MerchantAuditLogListResponse>;
9368
+ /**
9369
+ * One entry. An id belonging to another merchant answers 404, not 403 — the
9370
+ * endpoint does not confirm that an entry it will not serve exists.
9371
+ */
9372
+ retrieve(logId: string): Promise<MerchantAuditLogEntry>;
9373
+ }
9374
+
9223
9375
  /**
9224
9376
  * Hosted-shop settlement: monthly statements, the live current-period
9225
9377
  * rollup, per-line detail, fee schedules and backfills.
@@ -9618,6 +9770,11 @@ declare class Delopay {
9618
9770
  readonly relay: Relay;
9619
9771
  readonly stripeConnect: StripeConnect;
9620
9772
  readonly threeDsRules: ThreeDsRules;
9773
+ /**
9774
+ * A merchant's own audit log. Needs a dashboard JWT, not an API key —
9775
+ * see {@link Audit}.
9776
+ */
9777
+ readonly audit: Audit;
9621
9778
  readonly settlement: Settlement;
9622
9779
  readonly operationLimits: OperationLimits;
9623
9780
  readonly risk: Risk;
@@ -10490,24 +10647,21 @@ declare class CheckoutSession {
10490
10647
  }
10491
10648
 
10492
10649
  /**
10493
- * How the focused external checkout charges a paned method. Decided
10494
- * server-side; the browser never picks.
10650
+ * Where a pane's tile is offered.
10495
10651
  *
10496
- * - `wallet` — the method rides inside Stripe's `card` rail (Apple Pay, Google
10497
- * Pay, Link). The focused view charges the **same** PaymentIntent the
10498
- * embedded checkout already holds, so no second intent is ever created.
10499
- * - `redirect` — the method has its own `payment_method_types[]` entry. The
10500
- * focused view confirms through the standard `/payments/{id}/confirm` rail
10501
- * and follows `next_action.redirect_to_url`.
10502
- */
10503
- type NativePaneRail = 'wallet' | 'redirect';
10504
- /**
10505
- * Where a pane's tile is offered. Wallet rail only a redirect pane is
10506
- * suppressed server-side, before any render knows whether it is framed, so
10507
- * `embedded_only` there would leave the method unpayable at top level and the
10508
- * router forces it back to `always`.
10652
+ * - `always` — wherever the checkout renders.
10653
+ * - `embedded_only` inside a merchant iframe only, which keeps the wallet
10654
+ * inside the connector's own form at top level.
10655
+ * - `external_only` — the inverse: only when the checkout renders at top level
10656
+ * (a hosted payment link or the focused view), hidden inside a merchant
10657
+ * iframe.
10658
+ *
10659
+ * Wallet rail only. A redirect pane is suppressed server-side, before any
10660
+ * render knows whether it is framed, so a framing-dependent value there would
10661
+ * leave the method unpayable on one side and the router forces it back to
10662
+ * `always`.
10509
10663
  */
10510
- type NativePaneVisibility = 'always' | 'embedded_only';
10664
+ type PaneVisibility = 'always' | 'embedded_only' | 'external_only';
10511
10665
  /**
10512
10666
  * How the embedded checkout opens a pane's focused view: a new browser tab
10513
10667
  * (`tab`, the historical behaviour) or a centred popup window (`popup`).
@@ -10515,61 +10669,137 @@ type NativePaneVisibility = 'always' | 'embedded_only';
10515
10669
  * render always navigates in place. Browsers that refuse popup windows fall
10516
10670
  * back to a tab on their own.
10517
10671
  */
10518
- type NativePaneOpenTarget = 'tab' | 'popup';
10672
+ type PaneOpenTarget = 'tab' | 'popup';
10519
10673
  /**
10520
- * One native pane exactly as the merchant configures it. Persisted (JSON) under
10521
- * `metadata.native_panes` on the Stripe merchant connector account.
10674
+ * One pane exactly as the merchant configures it. Persisted (JSON) under
10675
+ * `metadata.native_panes` on the merchant connector account.
10522
10676
  *
10523
10677
  * Field names are the wire contract — renaming one is a migration. The router
10524
10678
  * decodes strictly row by row: a row that fails strict decoding (e.g. a
10525
10679
  * wrong-typed field like `display_order: "3"`) is dropped whole with a server
10526
- * log, and the remaining rows still render. This SDK's
10527
- * {@link decodeNativePanes} is additionally per-property tolerant — including
10528
- * clamping `display_order` into the router's `i32` range — so a decode→encode
10529
- * round-trip through the SDK repairs a blob the router would partially drop.
10680
+ * log, and the remaining rows still render. This SDK's {@link decodePanes} is
10681
+ * additionally per-property tolerant — including clamping `display_order` into
10682
+ * the router's `i32` range — so a decode→encode round-trip through the SDK
10683
+ * repairs a blob the router would partially drop.
10530
10684
  */
10531
- interface StripeNativePane {
10532
- /** Catalog key of the promoted method — see {@link STRIPE_NATIVE_PANE_METHODS}. */
10685
+ interface Pane {
10686
+ /** Catalogue key of the promoted method — see {@link paneMethodInfo}. */
10533
10687
  method: string;
10534
10688
  /** Disabled rows keep their tuning but never reach a buyer. */
10535
10689
  enabled: boolean;
10536
- /** Default-language tile label. Empty falls back to the catalog name. */
10690
+ /** Default-language tile label. Empty falls back to the catalogue name. */
10537
10691
  label: string;
10538
10692
  /** Per-locale overrides of `label`, keyed by checkout locale (`de`, `de-AT`). */
10539
10693
  labelTranslations: Record<string, string>;
10540
10694
  /**
10541
- * Secondary line under the label. `null` means "use the catalog default";
10695
+ * Secondary line under the label. `null` means "use the catalogue default";
10542
10696
  * an empty string means the merchant deliberately hid the line. That
10543
10697
  * distinction is the whole reason this is nullable and `label` is not.
10544
10698
  */
10545
10699
  sublabel: string | null;
10546
10700
  /** Per-locale overrides of `sublabel`. */
10547
10701
  sublabelTranslations: Record<string, string>;
10548
- /** Section the tile groups under. Empty falls back to the catalog category. */
10702
+ /** Section the tile groups under. Empty falls back to the catalogue category. */
10549
10703
  category: string;
10550
- /** Built-in icon key — see {@link NATIVE_PANE_ICON_KEYS}. */
10704
+ /** Built-in icon key — see {@link PANE_ICON_KEYS}. */
10551
10705
  icon: string;
10552
10706
  /** Custom inline SVG. Sanitized server-side before it reaches a buyer; a
10553
10707
  * rejected payload falls back to the built-in `icon`. */
10554
10708
  iconSvg: string;
10555
- /** Lower renders first; ties break on catalog order. */
10709
+ /** Lower renders first; ties break on catalogue order. */
10556
10710
  displayOrder: number;
10557
- /** `embedded_only` keeps the wallet inside Stripe's form at top level. */
10558
- visibility: NativePaneVisibility;
10559
- /** How the embedded checkout opens the focused view — see {@link NativePaneOpenTarget}. */
10560
- openIn: NativePaneOpenTarget;
10711
+ /** Where the tile is offered see {@link PaneVisibility}. */
10712
+ visibility: PaneVisibility;
10713
+ /** How the embedded checkout opens the focused view — see {@link PaneOpenTarget}. */
10714
+ openIn: PaneOpenTarget;
10561
10715
  }
10562
10716
  /**
10563
- * One resolved native pane as the buyer-facing checkout receives it on the
10717
+ * One resolved pane as the buyer-facing checkout receives it on the
10564
10718
  * payment-link payload (`native_panes`). Labels are already localized for the
10565
10719
  * render's locale and icons already sanitized — snake_case because this is the
10566
10720
  * API wire shape, not the editor's.
10567
10721
  */
10568
- interface NativePaneView {
10722
+ interface PaneView {
10569
10723
  method: string;
10570
- rail: NativePaneRail;
10724
+ /**
10725
+ * Connector brand that owns this pane (`stripe`, `klarna`, …).
10726
+ *
10727
+ * Pass straight to {@link focusedCheckoutUrl}'s `connector` to mint a link
10728
+ * that resolves to this tile and no other: `method` alone is ambiguous the
10729
+ * moment two connectors publish one key, and a bare `pane=` then resolves to
10730
+ * whichever tile sorts first server-side.
10731
+ *
10732
+ * It names a brand, not an account — {@link PaneView.merchant_connector_id}
10733
+ * is what separates two accounts of the same connector.
10734
+ *
10735
+ * Optional only because a router predating the field omits it; every router
10736
+ * that has it always serializes it, and it is never `null`.
10737
+ */
10738
+ connector?: string;
10739
+ /**
10740
+ * Merchant connector **account** this pane was configured on.
10741
+ *
10742
+ * Pass straight to {@link focusedCheckoutUrl}'s `merchantConnectorId`. The
10743
+ * checkout echoes this back on confirm as `native_pane_merchant_connector_id`
10744
+ * and the router re-validates it against the profile's live accounts, so a
10745
+ * pane charges the credentials it was configured on rather than a sibling
10746
+ * account's.
10747
+ *
10748
+ * Absent on the wallet rail — that rail charges the PaymentIntent the card
10749
+ * connector already created, so there is no routing decision to pin — and on
10750
+ * payloads predating the field. Omitted rather than `null` when unset.
10751
+ */
10752
+ merchant_connector_id?: string;
10753
+ rail: PaneRail;
10571
10754
  label: string;
10572
10755
  sublabel: string;
10756
+ /**
10757
+ * `true` when {@link PaneView.label} is the router's compiled catalog
10758
+ * default rather than anything the merchant typed.
10759
+ *
10760
+ * The catalog defaults are compiled in English only — the merchant's
10761
+ * `labelTranslations` are the sole localized path — so a merchant who
10762
+ * configures nothing gets an English tile label under a translated section
10763
+ * heading. This flag is what lets a localizing surface substitute its own
10764
+ * copy for exactly those tiles and leave merchant-authored ones alone.
10765
+ *
10766
+ * Key that copy on `method` alone. Two connectors may publish one key —
10767
+ * Cryptomus and NOWPayments both publish `crypto`, Stripe and Klarna both
10768
+ * publish `klarna` — and the catalog copy is identical for both on purpose.
10769
+ * What tells such a pair apart is
10770
+ * {@link PaneView.connector_display_name}, which is not translated and must
10771
+ * be appended to whichever copy wins.
10772
+ *
10773
+ * Absent on payloads that predate the field, which read as `false` —
10774
+ * merchant-authored, so nothing gets rewritten.
10775
+ */
10776
+ label_is_default?: boolean;
10777
+ /**
10778
+ * `true` when {@link PaneView.sublabel} is the router's compiled catalog
10779
+ * default. Same contract as {@link PaneView.label_is_default}.
10780
+ *
10781
+ * An explicitly-empty sublabel is a merchant decision ("hide the second
10782
+ * line") and reports `false`, so substituting copy there would restore a
10783
+ * line they deliberately cleared.
10784
+ */
10785
+ sublabel_is_default?: boolean;
10786
+ /**
10787
+ * The connector's brand, present **only** when this render would otherwise
10788
+ * show two tiles a buyer cannot tell apart — a merchant running both
10789
+ * Cryptomus and NOWPayments, or both Klarna rails.
10790
+ *
10791
+ * Append it to the sublabel you render (`` `${sublabel} · ${name}` ``).
10792
+ * It travels separately from {@link PaneView.sublabel} precisely because that
10793
+ * string is replaced wholesale when {@link PaneView.sublabel_is_default} is
10794
+ * set: a brand baked into it would be discarded with it, collapsing the two
10795
+ * tiles again. Do not translate it — brand names are the same in every
10796
+ * locale, which is why it can arrive as data at all.
10797
+ *
10798
+ * Absent for the common case of one connector per method. A merchant with
10799
+ * only Stripe must never read "· via Stripe" on a tile there is nothing
10800
+ * to distinguish it from.
10801
+ */
10802
+ connector_display_name?: string | null;
10573
10803
  category: string;
10574
10804
  icon?: string | null;
10575
10805
  icon_svg?: string | null;
@@ -10586,54 +10816,266 @@ interface NativePaneView {
10586
10816
  * variant's `billing_country`.
10587
10817
  */
10588
10818
  requires_billing_country?: boolean;
10589
- /** `true` when the tile is only offered inside an iframe. Wallet rail only. */
10819
+ /**
10820
+ * `true` when the tile is only offered inside an iframe. Wallet rail only.
10821
+ *
10822
+ * Superseded by {@link PaneView.visibility}, which carries all three states,
10823
+ * and kept by the router at exactly its historical meaning (`rail ===
10824
+ * 'wallet' && visibility === 'embedded_only'`) so checkout builds that
10825
+ * predate that field keep working. Such a build reads an `external_only`
10826
+ * pane as `embedded_only: false` and shows it in the embed too — it
10827
+ * over-shows, which loses a placement rule, rather than hiding a tile the
10828
+ * buyer needs. Read {@link paneViewVisibility} instead of either field.
10829
+ */
10590
10830
  embedded_only?: boolean;
10831
+ /**
10832
+ * Which render contexts this tile is offered in.
10833
+ *
10834
+ * **This is the resolved value, not the merchant's stored one, and the two do
10835
+ * not round-trip.** The router coerces anything the render path cannot
10836
+ * honour before emitting: a pane whose suppression is decided server-side
10837
+ * reads `always` here whatever the merchant configured. Stripe's redirect
10838
+ * panes are the case to know about — the router forces every redirect-rail
10839
+ * pane back to `always` (suppression happens before any render knows whether
10840
+ * it is framed), so a redirect pane stored as `embedded_only` on the config
10841
+ * {@link Pane} still arrives here as `always`. Do not read this field back as
10842
+ * the merchant's setting; read {@link Pane.visibility} off the connector
10843
+ * account's `metadata.native_panes` for that.
10844
+ *
10845
+ * Optional because a router predating this field omits it, not because the
10846
+ * router ever skips it: it is always serialized once present. A value
10847
+ * outside the union can also arrive from a router newer than this SDK, so
10848
+ * read it through {@link paneViewVisibility} rather than comparing it
10849
+ * directly.
10850
+ */
10851
+ visibility?: PaneVisibility;
10591
10852
  /**
10592
10853
  * How the embedded checkout opens this tile's focused view. Absent on
10593
10854
  * payloads from older backends — treat as `tab`.
10594
10855
  */
10595
- open_in?: NativePaneOpenTarget;
10856
+ open_in?: PaneOpenTarget;
10596
10857
  }
10597
10858
  /**
10598
- * Methods that may be promoted to a native pane.
10859
+ * Read a resolved tile's placement rule, across every payload version.
10860
+ *
10861
+ * Prefer this to touching either field. They are independent on the wire — a
10862
+ * payload may carry either, both or neither — and each alone loses a placement
10863
+ * rule: `embedded_only` cannot express `external_only`, so an `external_only`
10864
+ * tile read through it renders inside the merchant iframe the merchant asked
10865
+ * to keep it out of; `visibility` is absent on a router that predates it, so
10866
+ * an `embedded_only` tile read through it alone renders at top level too,
10867
+ * duplicating a method Stripe's own form already offers there.
10599
10868
  *
10600
- * **The router owns this list** `core::payment_link::native_panes::CATALOG` in
10601
- * delopay-backend. This is a mirror so SDK consumers can validate or offer the
10602
- * promotable methods without a round-trip; keep it in sync when the router's
10603
- * catalog changes (the control-center keeps its own copy in
10604
- * `native-panes.model.ts`). Drift is safe in one direction only: the backend
10605
- * silently drops a key it does not know, so a stale entry here produces a row
10606
- * that never renders rather than a broken checkout.
10869
+ * A recognised `visibility` wins. Otherwise the legacy boolean answers: absent
10870
+ * (old router) it carries the only placement that router could express, and
10871
+ * unrecognised (newer router) the router still sets it under its own fixed
10872
+ * rule. Neither path throws, and both degrade toward showing a tile — losing a
10873
+ * placement rule, never stranding a method.
10607
10874
  */
10608
- interface NativePaneMethodInfo {
10875
+ declare function paneViewVisibility(view: Pick<PaneView, 'visibility' | 'embedded_only'>): PaneVisibility;
10876
+ /**
10877
+ * A method the frozen Stripe fallback table knows, with the compiled copy the
10878
+ * router shipped for it at the time.
10879
+ *
10880
+ * Only {@link STRIPE_FALLBACK_PANE_METHODS} is typed with this. The live
10881
+ * catalogue (`connectors.getPanesCatalog()`) carries capability facts and no
10882
+ * copy at all, by design — see {@link PaneCapability}.
10883
+ */
10884
+ interface PaneMethodInfo {
10609
10885
  key: string;
10610
- rail: NativePaneRail;
10611
- /** Catalog default label, shown as the editor's placeholder. */
10886
+ rail: PaneRail;
10887
+ /** Confirm routing key. Pass through verbatim; never derive it. */
10888
+ paymentMethod: string;
10889
+ /** Confirm routing key. Pass through verbatim; never derive it. */
10890
+ paymentMethodType: string;
10891
+ /** The focused checkout has to collect a billing country to confirm this. */
10892
+ requiresBillingCountry: boolean;
10893
+ /** Catalogue default label, shown as the editor's placeholder. */
10612
10894
  defaultLabel: string;
10613
- /** Catalog default sub-text. */
10895
+ /** Catalogue default sub-text. */
10614
10896
  defaultSublabel: string;
10615
- /** Catalog default section. */
10897
+ /** Catalogue default section. */
10616
10898
  defaultCategory: string;
10617
- /** Catalog default icon key. */
10899
+ /** Catalogue default icon key. */
10618
10900
  defaultIcon: string;
10619
10901
  }
10620
- declare const STRIPE_NATIVE_PANE_METHODS: readonly NativePaneMethodInfo[];
10621
- /** Built-in tile icon keys the buyer-facing checkout ships a glyph for. */
10622
- declare const NATIVE_PANE_ICON_KEYS: readonly string[];
10623
- /** Section keys the checkout knows a translated header for. */
10624
- declare const NATIVE_PANE_CATEGORY_KEYS: readonly string[];
10902
+ /**
10903
+ * What this SDK assumes when the router cannot answer.
10904
+ *
10905
+ * The capability endpoint shipped with delopay-backend#964 and does not exist
10906
+ * on an older router, which answers `connectors.getPanesCatalog()` with a 404.
10907
+ * Rather than leaving a caller with nothing, the pane helpers default to
10908
+ * exactly the behaviour they had before that endpoint existed: panes on the
10909
+ * Stripe connector only, with the method set the router's Stripe catalogue had
10910
+ * at the time.
10911
+ *
10912
+ * **This is a degradation path, not a mirror. Do not keep it in sync by hand,
10913
+ * and do not add a connector or a method to it** — that is what this table was
10914
+ * before this ticket, and adding to it would quietly rebuild the mirror. A
10915
+ * connector the router serves panes for arrives through the endpoint and needs
10916
+ * no entry here; a connector that needs an entry here to appear is a connector
10917
+ * the router will not deliver panes for anyway.
10918
+ *
10919
+ * The only reason to touch this list is to correct what Stripe's catalogue
10920
+ * looked like *before* the endpoint existed, and that is history, so there is
10921
+ * no such reason. Once the endpoint is reachable it is never consulted for a
10922
+ * connector the router answered for.
10923
+ *
10924
+ * The redirect-rail set is deliberately narrow — every entry is a variant the
10925
+ * Stripe connector accepts and that needs no extra buyer input beyond a
10926
+ * billing country. `eps` / `p24` / `bancontact` are absent because Stripe
10927
+ * hard-requires billing fields the focused checkout never collects (a full
10928
+ * name for EPS and Bancontact, an email for Przelewy24), so their tiles could
10929
+ * never succeed.
10930
+ *
10931
+ * `defaultLabel` / `defaultSublabel` are the copy the router compiled at that
10932
+ * time and are frozen with the rest of the table. Copy for a method the live
10933
+ * catalogue reports belongs to the consumer's own locale files, keyed by
10934
+ * `key` — the router ships none.
10935
+ */
10936
+ declare const STRIPE_FALLBACK_PANE_METHODS: readonly PaneMethodInfo[];
10937
+ /**
10938
+ * {@link STRIPE_FALLBACK_PANE_METHODS} in the shape the live endpoint returns,
10939
+ * so every helper below takes one type of catalogue and the degradation path
10940
+ * is not a second code path. Derived, not written out: two spellings of one
10941
+ * table is exactly the drift this ticket removed.
10942
+ */
10943
+ declare const STRIPE_FALLBACK_PANE_CATALOG: PanesConnectorCatalog;
10944
+ /**
10945
+ * An empty catalogue — a connector the router does not offer panes for.
10946
+ * Exported so callers can express "asked, and the answer was no" without
10947
+ * reaching for `null` in the middle of a computation.
10948
+ */
10949
+ declare function emptyPaneCatalog(connector: string): PanesConnectorCatalog;
10950
+ /**
10951
+ * Pull one connector's entry out of a `connectors.getPanesCatalog()` response.
10952
+ *
10953
+ * Returns {@link emptyPaneCatalog} for a connector the response does not name:
10954
+ * "the router knows this connector and publishes no panes for it" and "the
10955
+ * router has never heard of it" are the same answer to a caller building an
10956
+ * editor, and both mean "offer nothing".
10957
+ */
10958
+ declare function paneCatalogFor(response: PanesCatalogResponse, connector: string): PanesConnectorCatalog;
10959
+ /**
10960
+ * Built-in tile icon keys the buyer-facing checkout ships a glyph for.
10961
+ *
10962
+ * Reconciled against both ends: every key here has a branch in the checkout's
10963
+ * `NativePaneIcon.svelte`, and every `default_icon` the router's catalogue
10964
+ * publishes is in this list. An icon key the checkout does not ship falls
10965
+ * through to `wallet` there, so a key that drifts in renders as the wrong
10966
+ * glyph rather than as nothing.
10967
+ */
10968
+ declare const PANE_ICON_KEYS: readonly string[];
10969
+ /**
10970
+ * Section keys a pane's tile may group under.
10971
+ *
10972
+ * Reconciled against the router's actual `default_category` values rather than
10973
+ * against what the Stripe table happened to need. `crypto` and `game_items`
10974
+ * are router defaults (the Cryptomus/NowPayments and Skinsback catalogues) and
10975
+ * were missing here, so a merchant configuring one of those panes was shown a
10976
+ * category their editor did not recognise.
10977
+ *
10978
+ * A custom value is allowed and renders as its own section under that literal
10979
+ * text. The buyer-facing checkout translates a subset of these into a section
10980
+ * header and falls through to the raw key for the rest — `crypto` and
10981
+ * `game_items` are the two it has yet to add, tracked in delopay-checkout#70.
10982
+ */
10983
+ declare const PANE_CATEGORY_KEYS: readonly string[];
10625
10984
  /**
10626
10985
  * Mirror of the router's per-connector cap. Counted differently on each side:
10627
- * {@link decodeNativePanes} stops after 12 *decoded* rows (entries with a
10628
- * usable, non-duplicate `method` — junk and duplicate entries don't consume a
10629
- * slot), while the router caps *accepted* panes (enabled, known,
10630
- * deduplicated) at 12 — so an oversized hand-written blob may render a pane
10631
- * this decoder drops. Blobs the SDK itself encodes never exceed the cap.
10986
+ * {@link decodePanes} stops after 12 *decoded* rows (entries with a usable,
10987
+ * non-duplicate `method` — junk and duplicate entries don't consume a slot),
10988
+ * while the router caps *accepted* panes (enabled, known, deduplicated) at 12
10989
+ * — so an oversized hand-written blob may render a pane this decoder drops.
10990
+ * Blobs the SDK itself encodes never exceed the cap.
10991
+ */
10992
+ declare const PANES_MAX = 12;
10993
+ /**
10994
+ * Look a method up in one connector's catalogue.
10995
+ *
10996
+ * Pass the entry for the connector being configured, from
10997
+ * `connectors.getPanesCatalog()` via {@link paneCatalogFor}. The default is
10998
+ * the degradation path and only correct for Stripe on a router that predates
10999
+ * the endpoint — see {@link STRIPE_FALLBACK_PANE_CATALOG}.
11000
+ */
11001
+ declare function paneMethodInfo(method: string, catalog?: PanesConnectorCatalog): PaneCapability | undefined;
11002
+ /** Whether this connector may declare a pane on `rail` at all. A wallet pane
11003
+ * on a connector outside its `allowed_rails` is refused at save time — the
11004
+ * wallet rail rides on Stripe's Express Checkout Element charging the *same*
11005
+ * payment intent the embedded checkout holds, which does not generalise. */
11006
+ declare function paneRailAllowed(rail: PaneRail, catalog: PanesConnectorCatalog): boolean;
11007
+ /**
11008
+ * The methods a caller may actually offer for this connector: the catalogue's
11009
+ * own list, minus anything on a rail the connector does not allow.
11010
+ *
11011
+ * The router should not report such a pair in the first place, but the two
11012
+ * fields are independent in the response and a save that crosses them is
11013
+ * refused at the API with an error naming the connector and the method. Filter
11014
+ * rather than trust, so a merchant never configures a tile the save will
11015
+ * bounce.
11016
+ */
11017
+ declare function offerablePaneMethods(catalog: PanesConnectorCatalog): PaneCapability[];
11018
+ /** Non-copy display defaults for a tile: which built-in glyph and which
11019
+ * section heading a new pane starts on. */
11020
+ interface PaneDisplayDefaults {
11021
+ icon: string;
11022
+ category: string;
11023
+ }
11024
+ /**
11025
+ * What a new tile looks like before the merchant designs it.
11026
+ *
11027
+ * The router serves capability, not presentation, so the glyph and the section
11028
+ * come from here and the accompanying text comes from the caller's own locale
11029
+ * files. A method with no entry at all still resolves — that is the point of
11030
+ * deriving from `payment_method`: a connector added to the router's catalogue
11031
+ * tomorrow needs no SDK release to be designable today.
10632
11032
  */
10633
- declare const NATIVE_PANES_MAX = 12;
10634
- declare function nativePaneMethodInfo(method: string): NativePaneMethodInfo | undefined;
10635
- declare function defaultNativePane(method: string): StripeNativePane;
10636
- declare function cloneNativePane(pane: StripeNativePane): StripeNativePane;
11033
+ declare function paneDisplayDefaults(info: PaneCapability | undefined): PaneDisplayDefaults;
11034
+ /**
11035
+ * Why a configured pane would not survive a save or a render.
11036
+ *
11037
+ * - `method_unknown` — the connector's catalogue does not publish this key, so
11038
+ * the router drops the row at render.
11039
+ * - `rail_not_allowed` — the method's rail is not in the connector's
11040
+ * `allowed_rails`; the API refuses this at save time.
11041
+ * - `over_cap` — past the router's per-connector cap of {@link PANES_MAX}; the
11042
+ * row is stored but never rendered.
11043
+ * - `duplicate_method` — an earlier enabled row already claims this method.
11044
+ * The router skips disabled rows and then dedupes, so the first *enabled*
11045
+ * row renders and every later one is dropped in silence. Reported on the
11046
+ * losing rows, never on the one that survives.
11047
+ */
11048
+ type PaneIssueCode = 'method_unknown' | 'rail_not_allowed' | 'over_cap' | 'duplicate_method';
11049
+ interface PaneIssue {
11050
+ /** Index into the list handed to {@link validatePanes}. */
11051
+ index: number;
11052
+ method: string;
11053
+ code: PaneIssueCode;
11054
+ }
11055
+ /**
11056
+ * Check a configured list against one connector's catalogue, before writing it
11057
+ * to `metadata.native_panes`.
11058
+ *
11059
+ * The API applies the same rules at save time, so this changes where the
11060
+ * merchant finds out, not whether they do — and an SDK caller building an
11061
+ * editor would otherwise learn it from a bounced request with no row to point
11062
+ * at. An empty result means nothing here will be refused or silently dropped.
11063
+ */
11064
+ declare function validatePanes(panes: readonly Pane[], catalog?: PanesConnectorCatalog): PaneIssue[];
11065
+ /**
11066
+ * A new pane for `method`, with its glyph and section resolved from the
11067
+ * connector's catalogue entry rather than from a Stripe-keyed table — so
11068
+ * `defaultPane('creem_checkout', catalog)` is a designed tile and not a blank
11069
+ * one.
11070
+ *
11071
+ * Pass the catalogue entry for the connector being configured; the default is
11072
+ * the degradation path (see {@link STRIPE_FALLBACK_PANE_CATALOG}). Labels are
11073
+ * deliberately left empty: empty means "use the catalogue default", which the
11074
+ * router resolves at render, and the router ships no copy for a caller to
11075
+ * mirror.
11076
+ */
11077
+ declare function defaultPane(method: string, catalog?: PanesConnectorCatalog): Pane;
11078
+ declare function clonePane(pane: Pane): Pane;
10637
11079
  /**
10638
11080
  * Decode the stored `metadata.native_panes` blob into editor rows.
10639
11081
  *
@@ -10641,32 +11083,53 @@ declare function cloneNativePane(pane: StripeNativePane): StripeNativePane;
10641
11083
  * property, rows without a usable `method` are dropped, duplicates keep the
10642
11084
  * first occurrence — except that an enabled row wins over an earlier disabled
10643
11085
  * one for the same method, because that is the row the router renders — and
10644
- * decoding stops after {@link NATIVE_PANES_MAX} decoded
10645
- * rows (dropped junk/duplicate entries don't consume a slot). That is more
10646
- * forgiving than the router, which drops a strict-decode-failing row whole
10647
- * (keeping the rest) and caps accepted panes rather than decoded rows — see
10648
- * {@link StripeNativePane} and {@link NATIVE_PANES_MAX}. Returns `null` when
10649
- * the input is not an array so the caller can distinguish "never configured"
10650
- * from "cleared".
11086
+ * decoding stops after {@link PANES_MAX} decoded rows (dropped junk/duplicate
11087
+ * entries don't consume a slot). That is more forgiving than the router, which
11088
+ * drops a strict-decode-failing row whole (keeping the rest) and caps accepted
11089
+ * panes rather than decoded rows — see {@link Pane} and {@link PANES_MAX}.
11090
+ * Returns `null` when the input is not an array so the caller can distinguish
11091
+ * "never configured" from "cleared".
10651
11092
  */
10652
- declare function decodeNativePanes(raw: unknown): StripeNativePane[] | null;
11093
+ declare function decodePanes(raw: unknown): Pane[] | null;
10653
11094
  /**
10654
11095
  * Encode editor rows back into the snake_case blob the connector account
10655
11096
  * stores. Empty optional strings are omitted so the metadata stays small and a
10656
- * merchant who typed nothing round-trips as "use the catalog default" rather
11097
+ * merchant who typed nothing round-trips as "use the catalogue default" rather
10657
11098
  * than as an explicit empty override.
10658
11099
  *
10659
11100
  * `sublabel` is the exception: an explicitly-empty value is preserved (as `""`)
10660
11101
  * because that is how a merchant hides the second line.
10661
11102
  */
10662
- declare function encodeNativePanes(panes: StripeNativePane[]): Record<string, unknown>[];
11103
+ declare function encodePanes(panes: Pane[]): Record<string, unknown>[];
10663
11104
  interface FocusedCheckoutUrlParams {
10664
11105
  /** Base URL of the DeloPay hosted checkout, e.g. `https://checkout.delopay.net`. */
10665
11106
  checkoutBaseUrl: string;
10666
11107
  merchantId: string;
10667
11108
  paymentId: string;
10668
- /** Native-pane method key to focus on (`apple_pay`, `klarna`, …). */
11109
+ /** Pane method key to focus on (`apple_pay`, `klarna`, …). */
10669
11110
  method: string;
11111
+ /**
11112
+ * Connector that owns the tile, forwarded as `connector=`.
11113
+ *
11114
+ * A bare `pane=` resolves to the **first payable match in server-sorted
11115
+ * order**, which is unambiguous only while one connector publishes a given
11116
+ * key. Stripe publishes `klarna` and so does the Klarna connector, so a deep
11117
+ * link that names neither charges through whichever tile happens to sort
11118
+ * first. Name the connector whenever you know it.
11119
+ *
11120
+ * Optional because links minted before this parameter existed are already in
11121
+ * merchants' pages and still have to resolve.
11122
+ */
11123
+ connector?: string;
11124
+ /**
11125
+ * Merchant connector ACCOUNT that owns the tile, forwarded as `mca=`.
11126
+ *
11127
+ * Needed for the same reason `connector` is, one level down: a profile may
11128
+ * hold two enabled accounts of one connector, each publishing its own tile,
11129
+ * and the two links would otherwise be identical. Only meaningful alongside
11130
+ * `connector`.
11131
+ */
11132
+ merchantConnectorId?: string;
10670
11133
  /** Optional buyer locale, forwarded as `?locale=`. */
10671
11134
  locale?: string;
10672
11135
  /**
@@ -10686,18 +11149,25 @@ interface FocusedCheckoutUrlParams {
10686
11149
  *
10687
11150
  * Two callers:
10688
11151
  * - the embedded checkout, which opens this in a new tab when a buyer clicks
10689
- * a native pane tile, and
11152
+ * a pane tile, and
10690
11153
  * - a merchant running their own checkout, who puts it behind their own
10691
11154
  * button — the same mechanism without an iframe.
10692
11155
  *
10693
- * `method` is not limited to configured native panes. A configured Stripe
10694
- * native pane gets the focused one-button view; `card`, `paypal`,
10695
- * `crypto_currency` and the local-methods catalogs (by method key or vendor
10696
- * code) open the checkout pinned to that method. Methods that exist only as a
10697
- * tab inside Stripe's Payment Element — iDEAL, Bancontact, P24 and the like,
10698
- * unless promoted to a native pane — cannot be isolated, because Stripe owns
10699
- * that surface. An unknown or unavailable method is never a dead end: the
10700
- * checkout shows a notice with a visible "show all payment methods" action.
11156
+ * `method` is not limited to configured panes. A configured pane gets the
11157
+ * focused one-button view; `card`, `paypal`, `crypto_currency` and the
11158
+ * local-methods catalogs (by method key or vendor code) open the checkout
11159
+ * pinned to that method. Methods that exist only as a tab inside a connector's
11160
+ * own embedded form — iDEAL, Bancontact, P24 and the like, unless promoted to
11161
+ * a pane — cannot be isolated, because the connector owns that surface. An
11162
+ * unknown or unavailable method is never a dead end: the checkout shows a
11163
+ * notice with a visible "show all payment methods" action.
11164
+ *
11165
+ * Pass {@link FocusedCheckoutUrlParams.connector} (and
11166
+ * {@link FocusedCheckoutUrlParams.merchantConnectorId}) whenever you know
11167
+ * them. Without them the method key alone picks the first payable match, and
11168
+ * more than one connector can publish the same key. Omitting them produces
11169
+ * exactly the URL this function has always produced, so links already minted
11170
+ * are unaffected.
10701
11171
  *
10702
11172
  * Open it **at the top level** (a new tab or a full-page navigation). The whole
10703
11173
  * point is that the top-level domain is the registered payment method domain;
@@ -10714,8 +11184,81 @@ declare function focusedCheckoutUrl(params: FocusedCheckoutUrlParams): string;
10714
11184
  * status timeline. Written through
10715
11185
  * `POST /payment-link/{merchant_id}/{payment_id}/checkout-events`, authorized
10716
11186
  * with the payment's `client_secret` as a bearer token.
11187
+ *
11188
+ * The `native_pane_` prefix is the router's enum on the wire and does not move
11189
+ * with the rename — see the module header.
10717
11190
  */
10718
11191
  declare const CHECKOUT_EVENT_KINDS: readonly ["native_pane_selected", "native_pane_tab_opened", "native_pane_tab_blocked", "native_pane_abandoned", "native_pane_returned"];
10719
11192
  type CheckoutEventKind = (typeof CHECKOUT_EVENT_KINDS)[number];
11193
+ /** @deprecated Renamed to {@link Pane}. Removed in 0.112.0. */
11194
+ type StripeNativePane = Pane;
11195
+ /** @deprecated Renamed to {@link PaneView}. Removed in 0.112.0. */
11196
+ type NativePaneView = PaneView;
11197
+ /** @deprecated Renamed to {@link PaneVisibility}. Removed in 0.112.0. */
11198
+ type NativePaneVisibility = PaneVisibility;
11199
+ /** @deprecated Renamed to {@link PaneOpenTarget}. Removed in 0.112.0. */
11200
+ type NativePaneOpenTarget = PaneOpenTarget;
11201
+ /**
11202
+ * @deprecated Superseded by {@link PaneMethodInfo}. Removed in 0.112.0.
11203
+ *
11204
+ * Deliberately **not** an alias of `PaneMethodInfo`: that type gained three
11205
+ * required routing fields (`paymentMethod`, `paymentMethodType`,
11206
+ * `requiresBillingCountry`), and a consumer who wrote an object literal or a
11207
+ * function return against the 0.108 shape would stop compiling on a deprecated
11208
+ * name that promises the opposite. This stays the six fields that shape had.
11209
+ *
11210
+ * `PaneMethodInfo` is structurally assignable to it, so everything this SDK
11211
+ * hands back — including {@link nativePaneMethodInfo} — still satisfies it.
11212
+ */
11213
+ interface NativePaneMethodInfo {
11214
+ key: string;
11215
+ rail: PaneRail;
11216
+ /** Catalogue default label, shown as the editor's placeholder. */
11217
+ defaultLabel: string;
11218
+ /** Catalogue default sub-text. */
11219
+ defaultSublabel: string;
11220
+ /** Catalogue default section. */
11221
+ defaultCategory: string;
11222
+ /** Catalogue default icon key. */
11223
+ defaultIcon: string;
11224
+ }
11225
+ /**
11226
+ * @deprecated Renamed to {@link STRIPE_FALLBACK_PANE_METHODS}, which is a
11227
+ * degradation path and not a catalogue mirror. Removed in 0.112.0.
11228
+ */
11229
+ declare const STRIPE_NATIVE_PANE_METHODS: readonly PaneMethodInfo[];
11230
+ /** @deprecated Renamed to {@link PANE_ICON_KEYS}. Removed in 0.112.0. */
11231
+ declare const NATIVE_PANE_ICON_KEYS: readonly string[];
11232
+ /** @deprecated Renamed to {@link PANE_CATEGORY_KEYS}. Removed in 0.112.0. */
11233
+ declare const NATIVE_PANE_CATEGORY_KEYS: readonly string[];
11234
+ /** @deprecated Renamed to {@link PANES_MAX}. Removed in 0.112.0. */
11235
+ declare const NATIVE_PANES_MAX = 12;
11236
+ /**
11237
+ * @deprecated Superseded by {@link paneMethodInfo}, which takes the connector's
11238
+ * catalogue and answers for every connector rather than only for Stripe.
11239
+ * Removed in 0.112.0.
11240
+ *
11241
+ * Kept as its own function rather than as an alias because it must keep its
11242
+ * old return type: it answers out of the frozen Stripe table and carries that
11243
+ * table's compiled copy, which the live catalogue deliberately does not have.
11244
+ */
11245
+ declare function nativePaneMethodInfo(method: string): PaneMethodInfo | undefined;
11246
+ /**
11247
+ * @deprecated Superseded by {@link defaultPane}. Removed in 0.112.0.
11248
+ *
11249
+ * Kept as its own function rather than as an alias because it must keep its
11250
+ * old behaviour: it leaves `category` empty and resolves `icon` out of the
11251
+ * frozen Stripe table only. `defaultPane` fills both from the connector's
11252
+ * catalogue, which is the fix — but a caller on the old name encodes whatever
11253
+ * it is handed, and quietly turning a blank field into a stored override is
11254
+ * not something a deprecated alias should do to a merchant's saved config.
11255
+ */
11256
+ declare function defaultNativePane(method: string): Pane;
11257
+ /** @deprecated Renamed to {@link clonePane}. Removed in 0.112.0. */
11258
+ declare const cloneNativePane: typeof clonePane;
11259
+ /** @deprecated Renamed to {@link decodePanes}. Removed in 0.112.0. */
11260
+ declare const decodeNativePanes: typeof decodePanes;
11261
+ /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
11262
+ declare const encodeNativePanes: typeof encodePanes;
10720
11263
 
10721
- 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 AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, 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, 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 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 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 DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillRequest, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillPayment, type DrillResponse, 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 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, 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_NATIVE_PANE_METHODS, 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 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 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, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, cloneNativePane, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue, visibleCustomFields };
11264
+ 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 AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, 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 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 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 DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillRequest, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillPayment, type DrillResponse, 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, 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 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 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, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, cloneNativePane, clonePane, 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 };