@delopay/sdk 0.108.0 → 0.109.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/{chunk-C2O3D7ZM.js → chunk-XMFG7CPX.js} +198 -32
- package/dist/chunk-XMFG7CPX.js.map +1 -0
- package/dist/index.cjs +211 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +513 -103
- package/dist/index.d.ts +513 -103
- package/dist/index.js +35 -1
- package/dist/internal.cjs +211 -28
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +35 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-C2O3D7ZM.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -6416,23 +6416,23 @@ interface FeatureMatrixResponse {
|
|
|
6416
6416
|
connectors: ConnectorFeatureMatrixEntry[];
|
|
6417
6417
|
}
|
|
6418
6418
|
/**
|
|
6419
|
-
* Rail a
|
|
6419
|
+
* Rail a pane is rendered and confirmed on.
|
|
6420
6420
|
*
|
|
6421
6421
|
* `wallet` panes are collected in-page by the connector's own SDK;
|
|
6422
6422
|
* `redirect` panes hand the buyer to a connector-hosted page.
|
|
6423
6423
|
*/
|
|
6424
|
-
type
|
|
6424
|
+
type PaneRail = 'wallet' | 'redirect';
|
|
6425
6425
|
/**
|
|
6426
|
-
* One method a connector can publish as a
|
|
6426
|
+
* One method a connector can publish as a pane.
|
|
6427
6427
|
*
|
|
6428
6428
|
* Capability facts only. There is deliberately no `label`, `sublabel` or
|
|
6429
6429
|
* `category` here — presentational copy for a pane lives in the dashboard's
|
|
6430
6430
|
* `en.json` / `de.json`, keyed by `key`, and never in the router.
|
|
6431
6431
|
*/
|
|
6432
|
-
interface
|
|
6432
|
+
interface PaneCapability {
|
|
6433
6433
|
/** Stable catalogue key (`apple_pay`, `klarna`, …). The copy lookup key. */
|
|
6434
6434
|
key: string;
|
|
6435
|
-
rail:
|
|
6435
|
+
rail: PaneRail;
|
|
6436
6436
|
/** Routing key sent on confirm. Pass through verbatim; never derive it. */
|
|
6437
6437
|
payment_method: PaymentMethod;
|
|
6438
6438
|
/** Routing key sent on confirm. Pass through verbatim; never derive it. */
|
|
@@ -6440,8 +6440,8 @@ interface NativePaneCapability {
|
|
|
6440
6440
|
/** Whether a configuration for this method must carry a billing country. */
|
|
6441
6441
|
requires_billing_country: boolean;
|
|
6442
6442
|
}
|
|
6443
|
-
/** What one connector can publish as
|
|
6444
|
-
interface
|
|
6443
|
+
/** What one connector can publish as panes. */
|
|
6444
|
+
interface PanesConnectorCatalog {
|
|
6445
6445
|
/** Connector name (`stripe`, `creem`, …). */
|
|
6446
6446
|
connector: string;
|
|
6447
6447
|
/**
|
|
@@ -6449,12 +6449,23 @@ interface NativePanesConnectorCatalog {
|
|
|
6449
6449
|
* this list is refused when the connector account is saved, rather than
|
|
6450
6450
|
* accepted and silently dropped.
|
|
6451
6451
|
*/
|
|
6452
|
-
allowed_rails:
|
|
6453
|
-
methods:
|
|
6452
|
+
allowed_rails: PaneRail[];
|
|
6453
|
+
methods: PaneCapability[];
|
|
6454
6454
|
}
|
|
6455
|
-
interface
|
|
6456
|
-
connectors:
|
|
6455
|
+
interface PanesCatalogResponse {
|
|
6456
|
+
connectors: PanesConnectorCatalog[];
|
|
6457
6457
|
}
|
|
6458
|
+
/** @deprecated Renamed to {@link PaneCapability}. Removed in 0.112.0. */
|
|
6459
|
+
interface NativePaneCapability extends PaneCapability {
|
|
6460
|
+
}
|
|
6461
|
+
/** @deprecated Renamed to {@link PanesConnectorCatalog}. Removed in 0.112.0. */
|
|
6462
|
+
interface NativePanesConnectorCatalog extends PanesConnectorCatalog {
|
|
6463
|
+
}
|
|
6464
|
+
/** @deprecated Renamed to {@link PanesCatalogResponse}. Removed in 0.112.0. */
|
|
6465
|
+
interface NativePanesCatalogResponse extends PanesCatalogResponse {
|
|
6466
|
+
}
|
|
6467
|
+
/** @deprecated Renamed to {@link PaneRail}. Removed in 0.112.0. */
|
|
6468
|
+
type NativePaneRail = PaneRail;
|
|
6458
6469
|
|
|
6459
6470
|
/** Create and manage API keys for a merchant account. */
|
|
6460
6471
|
declare class ApiKeys {
|
|
@@ -6759,18 +6770,31 @@ declare class Connectors {
|
|
|
6759
6770
|
*/
|
|
6760
6771
|
getEpayoutsCatalogDefaults(accountId: string): Promise<EpayoutsCatalogResponse>;
|
|
6761
6772
|
/**
|
|
6762
|
-
* Every connector's
|
|
6763
|
-
*
|
|
6764
|
-
*
|
|
6773
|
+
* Every connector's pane capabilities, as the router itself knows them —
|
|
6774
|
+
* which rails a connector supports, and which methods it can publish as a
|
|
6775
|
+
* pane with the confirm routing keys each one carries.
|
|
6765
6776
|
*
|
|
6766
6777
|
* Capability facts only: no label, sublabel or category comes back. A
|
|
6767
6778
|
* designer renders a method's copy from its own locale files, keyed by
|
|
6768
6779
|
* `key`, and takes `payment_method` / `payment_method_type` from here
|
|
6769
6780
|
* verbatim rather than deriving them client-side.
|
|
6770
6781
|
*
|
|
6782
|
+
* This is what the pane helpers in `src/panes.ts` should be driven from —
|
|
6783
|
+
* `paneMethodInfo`, `defaultPane` and `validatePanes` all take a
|
|
6784
|
+
* {@link PanesConnectorCatalog} out of this response, so a connector the
|
|
6785
|
+
* router starts publishing panes for needs no SDK release.
|
|
6786
|
+
*
|
|
6771
6787
|
* `GET /account/{accountId}/connectors/native-panes/catalog`
|
|
6788
|
+
*
|
|
6789
|
+
* The path keeps the `native-panes` spelling deliberately. The identifiers
|
|
6790
|
+
* were renamed off "native pane"; the route was not, and pointing at the
|
|
6791
|
+
* backend's new name before it is deployed everywhere would both 404 against
|
|
6792
|
+
* un-upgraded replicas mid-rollout and fail `scripts/parity-check.mjs`,
|
|
6793
|
+
* which blocks publishing.
|
|
6772
6794
|
*/
|
|
6773
|
-
|
|
6795
|
+
getPanesCatalog(accountId: string): Promise<PanesCatalogResponse>;
|
|
6796
|
+
/** @deprecated Renamed to {@link getPanesCatalog}. Removed in 0.112.0. */
|
|
6797
|
+
getNativePanesCatalog(accountId: string): Promise<PanesCatalogResponse>;
|
|
6774
6798
|
/**
|
|
6775
6799
|
* Sweep the merchant's own e-Payouts module and return the rails it
|
|
6776
6800
|
* actually has enabled. Server-side this makes many upstream calls, so it
|
|
@@ -10490,24 +10514,21 @@ declare class CheckoutSession {
|
|
|
10490
10514
|
}
|
|
10491
10515
|
|
|
10492
10516
|
/**
|
|
10493
|
-
*
|
|
10494
|
-
* server-side; the browser never picks.
|
|
10517
|
+
* Where a pane's tile is offered.
|
|
10495
10518
|
*
|
|
10496
|
-
* - `
|
|
10497
|
-
*
|
|
10498
|
-
*
|
|
10499
|
-
* - `
|
|
10500
|
-
*
|
|
10501
|
-
*
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
*
|
|
10506
|
-
*
|
|
10507
|
-
* `embedded_only` there would leave the method unpayable at top level and the
|
|
10508
|
-
* router forces it back to `always`.
|
|
10519
|
+
* - `always` — wherever the checkout renders.
|
|
10520
|
+
* - `embedded_only` — inside a merchant iframe only, which keeps the wallet
|
|
10521
|
+
* inside the connector's own form at top level.
|
|
10522
|
+
* - `external_only` — the inverse: only when the checkout renders at top level
|
|
10523
|
+
* (a hosted payment link or the focused view), hidden inside a merchant
|
|
10524
|
+
* iframe.
|
|
10525
|
+
*
|
|
10526
|
+
* Wallet rail only. A redirect pane is suppressed server-side, before any
|
|
10527
|
+
* render knows whether it is framed, so a framing-dependent value there would
|
|
10528
|
+
* leave the method unpayable on one side and the router forces it back to
|
|
10529
|
+
* `always`.
|
|
10509
10530
|
*/
|
|
10510
|
-
type
|
|
10531
|
+
type PaneVisibility = 'always' | 'embedded_only' | 'external_only';
|
|
10511
10532
|
/**
|
|
10512
10533
|
* How the embedded checkout opens a pane's focused view: a new browser tab
|
|
10513
10534
|
* (`tab`, the historical behaviour) or a centred popup window (`popup`).
|
|
@@ -10515,61 +10536,137 @@ type NativePaneVisibility = 'always' | 'embedded_only';
|
|
|
10515
10536
|
* render always navigates in place. Browsers that refuse popup windows fall
|
|
10516
10537
|
* back to a tab on their own.
|
|
10517
10538
|
*/
|
|
10518
|
-
type
|
|
10539
|
+
type PaneOpenTarget = 'tab' | 'popup';
|
|
10519
10540
|
/**
|
|
10520
|
-
* One
|
|
10521
|
-
* `metadata.native_panes` on the
|
|
10541
|
+
* One pane exactly as the merchant configures it. Persisted (JSON) under
|
|
10542
|
+
* `metadata.native_panes` on the merchant connector account.
|
|
10522
10543
|
*
|
|
10523
10544
|
* Field names are the wire contract — renaming one is a migration. The router
|
|
10524
10545
|
* decodes strictly row by row: a row that fails strict decoding (e.g. a
|
|
10525
10546
|
* 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
|
-
*
|
|
10528
|
-
*
|
|
10529
|
-
*
|
|
10547
|
+
* log, and the remaining rows still render. This SDK's {@link decodePanes} is
|
|
10548
|
+
* additionally per-property tolerant — including clamping `display_order` into
|
|
10549
|
+
* the router's `i32` range — so a decode→encode round-trip through the SDK
|
|
10550
|
+
* repairs a blob the router would partially drop.
|
|
10530
10551
|
*/
|
|
10531
|
-
interface
|
|
10532
|
-
/**
|
|
10552
|
+
interface Pane {
|
|
10553
|
+
/** Catalogue key of the promoted method — see {@link paneMethodInfo}. */
|
|
10533
10554
|
method: string;
|
|
10534
10555
|
/** Disabled rows keep their tuning but never reach a buyer. */
|
|
10535
10556
|
enabled: boolean;
|
|
10536
|
-
/** Default-language tile label. Empty falls back to the
|
|
10557
|
+
/** Default-language tile label. Empty falls back to the catalogue name. */
|
|
10537
10558
|
label: string;
|
|
10538
10559
|
/** Per-locale overrides of `label`, keyed by checkout locale (`de`, `de-AT`). */
|
|
10539
10560
|
labelTranslations: Record<string, string>;
|
|
10540
10561
|
/**
|
|
10541
|
-
* Secondary line under the label. `null` means "use the
|
|
10562
|
+
* Secondary line under the label. `null` means "use the catalogue default";
|
|
10542
10563
|
* an empty string means the merchant deliberately hid the line. That
|
|
10543
10564
|
* distinction is the whole reason this is nullable and `label` is not.
|
|
10544
10565
|
*/
|
|
10545
10566
|
sublabel: string | null;
|
|
10546
10567
|
/** Per-locale overrides of `sublabel`. */
|
|
10547
10568
|
sublabelTranslations: Record<string, string>;
|
|
10548
|
-
/** Section the tile groups under. Empty falls back to the
|
|
10569
|
+
/** Section the tile groups under. Empty falls back to the catalogue category. */
|
|
10549
10570
|
category: string;
|
|
10550
|
-
/** Built-in icon key — see {@link
|
|
10571
|
+
/** Built-in icon key — see {@link PANE_ICON_KEYS}. */
|
|
10551
10572
|
icon: string;
|
|
10552
10573
|
/** Custom inline SVG. Sanitized server-side before it reaches a buyer; a
|
|
10553
10574
|
* rejected payload falls back to the built-in `icon`. */
|
|
10554
10575
|
iconSvg: string;
|
|
10555
|
-
/** Lower renders first; ties break on
|
|
10576
|
+
/** Lower renders first; ties break on catalogue order. */
|
|
10556
10577
|
displayOrder: number;
|
|
10557
|
-
/**
|
|
10558
|
-
visibility:
|
|
10559
|
-
/** How the embedded checkout opens the focused view — see {@link
|
|
10560
|
-
openIn:
|
|
10578
|
+
/** Where the tile is offered — see {@link PaneVisibility}. */
|
|
10579
|
+
visibility: PaneVisibility;
|
|
10580
|
+
/** How the embedded checkout opens the focused view — see {@link PaneOpenTarget}. */
|
|
10581
|
+
openIn: PaneOpenTarget;
|
|
10561
10582
|
}
|
|
10562
10583
|
/**
|
|
10563
|
-
* One resolved
|
|
10584
|
+
* One resolved pane as the buyer-facing checkout receives it on the
|
|
10564
10585
|
* payment-link payload (`native_panes`). Labels are already localized for the
|
|
10565
10586
|
* render's locale and icons already sanitized — snake_case because this is the
|
|
10566
10587
|
* API wire shape, not the editor's.
|
|
10567
10588
|
*/
|
|
10568
|
-
interface
|
|
10589
|
+
interface PaneView {
|
|
10569
10590
|
method: string;
|
|
10570
|
-
|
|
10591
|
+
/**
|
|
10592
|
+
* Connector brand that owns this pane (`stripe`, `klarna`, …).
|
|
10593
|
+
*
|
|
10594
|
+
* Pass straight to {@link focusedCheckoutUrl}'s `connector` to mint a link
|
|
10595
|
+
* that resolves to this tile and no other: `method` alone is ambiguous the
|
|
10596
|
+
* moment two connectors publish one key, and a bare `pane=` then resolves to
|
|
10597
|
+
* whichever tile sorts first server-side.
|
|
10598
|
+
*
|
|
10599
|
+
* It names a brand, not an account — {@link PaneView.merchant_connector_id}
|
|
10600
|
+
* is what separates two accounts of the same connector.
|
|
10601
|
+
*
|
|
10602
|
+
* Optional only because a router predating the field omits it; every router
|
|
10603
|
+
* that has it always serializes it, and it is never `null`.
|
|
10604
|
+
*/
|
|
10605
|
+
connector?: string;
|
|
10606
|
+
/**
|
|
10607
|
+
* Merchant connector **account** this pane was configured on.
|
|
10608
|
+
*
|
|
10609
|
+
* Pass straight to {@link focusedCheckoutUrl}'s `merchantConnectorId`. The
|
|
10610
|
+
* checkout echoes this back on confirm as `native_pane_merchant_connector_id`
|
|
10611
|
+
* and the router re-validates it against the profile's live accounts, so a
|
|
10612
|
+
* pane charges the credentials it was configured on rather than a sibling
|
|
10613
|
+
* account's.
|
|
10614
|
+
*
|
|
10615
|
+
* Absent on the wallet rail — that rail charges the PaymentIntent the card
|
|
10616
|
+
* connector already created, so there is no routing decision to pin — and on
|
|
10617
|
+
* payloads predating the field. Omitted rather than `null` when unset.
|
|
10618
|
+
*/
|
|
10619
|
+
merchant_connector_id?: string;
|
|
10620
|
+
rail: PaneRail;
|
|
10571
10621
|
label: string;
|
|
10572
10622
|
sublabel: string;
|
|
10623
|
+
/**
|
|
10624
|
+
* `true` when {@link PaneView.label} is the router's compiled catalog
|
|
10625
|
+
* default rather than anything the merchant typed.
|
|
10626
|
+
*
|
|
10627
|
+
* The catalog defaults are compiled in English only — the merchant's
|
|
10628
|
+
* `labelTranslations` are the sole localized path — so a merchant who
|
|
10629
|
+
* configures nothing gets an English tile label under a translated section
|
|
10630
|
+
* heading. This flag is what lets a localizing surface substitute its own
|
|
10631
|
+
* copy for exactly those tiles and leave merchant-authored ones alone.
|
|
10632
|
+
*
|
|
10633
|
+
* Key that copy on `method` alone. Two connectors may publish one key —
|
|
10634
|
+
* Cryptomus and NOWPayments both publish `crypto`, Stripe and Klarna both
|
|
10635
|
+
* publish `klarna` — and the catalog copy is identical for both on purpose.
|
|
10636
|
+
* What tells such a pair apart is
|
|
10637
|
+
* {@link PaneView.connector_display_name}, which is not translated and must
|
|
10638
|
+
* be appended to whichever copy wins.
|
|
10639
|
+
*
|
|
10640
|
+
* Absent on payloads that predate the field, which read as `false` —
|
|
10641
|
+
* merchant-authored, so nothing gets rewritten.
|
|
10642
|
+
*/
|
|
10643
|
+
label_is_default?: boolean;
|
|
10644
|
+
/**
|
|
10645
|
+
* `true` when {@link PaneView.sublabel} is the router's compiled catalog
|
|
10646
|
+
* default. Same contract as {@link PaneView.label_is_default}.
|
|
10647
|
+
*
|
|
10648
|
+
* An explicitly-empty sublabel is a merchant decision ("hide the second
|
|
10649
|
+
* line") and reports `false`, so substituting copy there would restore a
|
|
10650
|
+
* line they deliberately cleared.
|
|
10651
|
+
*/
|
|
10652
|
+
sublabel_is_default?: boolean;
|
|
10653
|
+
/**
|
|
10654
|
+
* The connector's brand, present **only** when this render would otherwise
|
|
10655
|
+
* show two tiles a buyer cannot tell apart — a merchant running both
|
|
10656
|
+
* Cryptomus and NOWPayments, or both Klarna rails.
|
|
10657
|
+
*
|
|
10658
|
+
* Append it to the sublabel you render (`` `${sublabel} · ${name}` ``).
|
|
10659
|
+
* It travels separately from {@link PaneView.sublabel} precisely because that
|
|
10660
|
+
* string is replaced wholesale when {@link PaneView.sublabel_is_default} is
|
|
10661
|
+
* set: a brand baked into it would be discarded with it, collapsing the two
|
|
10662
|
+
* tiles again. Do not translate it — brand names are the same in every
|
|
10663
|
+
* locale, which is why it can arrive as data at all.
|
|
10664
|
+
*
|
|
10665
|
+
* Absent for the common case of one connector per method. A merchant with
|
|
10666
|
+
* only Stripe must never read "· via Stripe" on a tile there is nothing
|
|
10667
|
+
* to distinguish it from.
|
|
10668
|
+
*/
|
|
10669
|
+
connector_display_name?: string | null;
|
|
10573
10670
|
category: string;
|
|
10574
10671
|
icon?: string | null;
|
|
10575
10672
|
icon_svg?: string | null;
|
|
@@ -10586,54 +10683,266 @@ interface NativePaneView {
|
|
|
10586
10683
|
* variant's `billing_country`.
|
|
10587
10684
|
*/
|
|
10588
10685
|
requires_billing_country?: boolean;
|
|
10589
|
-
/**
|
|
10686
|
+
/**
|
|
10687
|
+
* `true` when the tile is only offered inside an iframe. Wallet rail only.
|
|
10688
|
+
*
|
|
10689
|
+
* Superseded by {@link PaneView.visibility}, which carries all three states,
|
|
10690
|
+
* and kept by the router at exactly its historical meaning (`rail ===
|
|
10691
|
+
* 'wallet' && visibility === 'embedded_only'`) so checkout builds that
|
|
10692
|
+
* predate that field keep working. Such a build reads an `external_only`
|
|
10693
|
+
* pane as `embedded_only: false` and shows it in the embed too — it
|
|
10694
|
+
* over-shows, which loses a placement rule, rather than hiding a tile the
|
|
10695
|
+
* buyer needs. Read {@link paneViewVisibility} instead of either field.
|
|
10696
|
+
*/
|
|
10590
10697
|
embedded_only?: boolean;
|
|
10698
|
+
/**
|
|
10699
|
+
* Which render contexts this tile is offered in.
|
|
10700
|
+
*
|
|
10701
|
+
* **This is the resolved value, not the merchant's stored one, and the two do
|
|
10702
|
+
* not round-trip.** The router coerces anything the render path cannot
|
|
10703
|
+
* honour before emitting: a pane whose suppression is decided server-side
|
|
10704
|
+
* reads `always` here whatever the merchant configured. Stripe's redirect
|
|
10705
|
+
* panes are the case to know about — the router forces every redirect-rail
|
|
10706
|
+
* pane back to `always` (suppression happens before any render knows whether
|
|
10707
|
+
* it is framed), so a redirect pane stored as `embedded_only` on the config
|
|
10708
|
+
* {@link Pane} still arrives here as `always`. Do not read this field back as
|
|
10709
|
+
* the merchant's setting; read {@link Pane.visibility} off the connector
|
|
10710
|
+
* account's `metadata.native_panes` for that.
|
|
10711
|
+
*
|
|
10712
|
+
* Optional because a router predating this field omits it, not because the
|
|
10713
|
+
* router ever skips it: it is always serialized once present. A value
|
|
10714
|
+
* outside the union can also arrive from a router newer than this SDK, so
|
|
10715
|
+
* read it through {@link paneViewVisibility} rather than comparing it
|
|
10716
|
+
* directly.
|
|
10717
|
+
*/
|
|
10718
|
+
visibility?: PaneVisibility;
|
|
10591
10719
|
/**
|
|
10592
10720
|
* How the embedded checkout opens this tile's focused view. Absent on
|
|
10593
10721
|
* payloads from older backends — treat as `tab`.
|
|
10594
10722
|
*/
|
|
10595
|
-
open_in?:
|
|
10723
|
+
open_in?: PaneOpenTarget;
|
|
10596
10724
|
}
|
|
10597
10725
|
/**
|
|
10598
|
-
*
|
|
10726
|
+
* Read a resolved tile's placement rule, across every payload version.
|
|
10599
10727
|
*
|
|
10600
|
-
*
|
|
10601
|
-
*
|
|
10602
|
-
*
|
|
10603
|
-
*
|
|
10604
|
-
* `
|
|
10605
|
-
*
|
|
10606
|
-
*
|
|
10728
|
+
* Prefer this to touching either field. They are independent on the wire — a
|
|
10729
|
+
* payload may carry either, both or neither — and each alone loses a placement
|
|
10730
|
+
* rule: `embedded_only` cannot express `external_only`, so an `external_only`
|
|
10731
|
+
* tile read through it renders inside the merchant iframe the merchant asked
|
|
10732
|
+
* to keep it out of; `visibility` is absent on a router that predates it, so
|
|
10733
|
+
* an `embedded_only` tile read through it alone renders at top level too,
|
|
10734
|
+
* duplicating a method Stripe's own form already offers there.
|
|
10735
|
+
*
|
|
10736
|
+
* A recognised `visibility` wins. Otherwise the legacy boolean answers: absent
|
|
10737
|
+
* (old router) it carries the only placement that router could express, and
|
|
10738
|
+
* unrecognised (newer router) the router still sets it under its own fixed
|
|
10739
|
+
* rule. Neither path throws, and both degrade toward showing a tile — losing a
|
|
10740
|
+
* placement rule, never stranding a method.
|
|
10607
10741
|
*/
|
|
10608
|
-
|
|
10742
|
+
declare function paneViewVisibility(view: Pick<PaneView, 'visibility' | 'embedded_only'>): PaneVisibility;
|
|
10743
|
+
/**
|
|
10744
|
+
* A method the frozen Stripe fallback table knows, with the compiled copy the
|
|
10745
|
+
* router shipped for it at the time.
|
|
10746
|
+
*
|
|
10747
|
+
* Only {@link STRIPE_FALLBACK_PANE_METHODS} is typed with this. The live
|
|
10748
|
+
* catalogue (`connectors.getPanesCatalog()`) carries capability facts and no
|
|
10749
|
+
* copy at all, by design — see {@link PaneCapability}.
|
|
10750
|
+
*/
|
|
10751
|
+
interface PaneMethodInfo {
|
|
10609
10752
|
key: string;
|
|
10610
|
-
rail:
|
|
10611
|
-
/**
|
|
10753
|
+
rail: PaneRail;
|
|
10754
|
+
/** Confirm routing key. Pass through verbatim; never derive it. */
|
|
10755
|
+
paymentMethod: string;
|
|
10756
|
+
/** Confirm routing key. Pass through verbatim; never derive it. */
|
|
10757
|
+
paymentMethodType: string;
|
|
10758
|
+
/** The focused checkout has to collect a billing country to confirm this. */
|
|
10759
|
+
requiresBillingCountry: boolean;
|
|
10760
|
+
/** Catalogue default label, shown as the editor's placeholder. */
|
|
10612
10761
|
defaultLabel: string;
|
|
10613
|
-
/**
|
|
10762
|
+
/** Catalogue default sub-text. */
|
|
10614
10763
|
defaultSublabel: string;
|
|
10615
|
-
/**
|
|
10764
|
+
/** Catalogue default section. */
|
|
10616
10765
|
defaultCategory: string;
|
|
10617
|
-
/**
|
|
10766
|
+
/** Catalogue default icon key. */
|
|
10618
10767
|
defaultIcon: string;
|
|
10619
10768
|
}
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10769
|
+
/**
|
|
10770
|
+
* What this SDK assumes when the router cannot answer.
|
|
10771
|
+
*
|
|
10772
|
+
* The capability endpoint shipped with delopay-backend#964 and does not exist
|
|
10773
|
+
* on an older router, which answers `connectors.getPanesCatalog()` with a 404.
|
|
10774
|
+
* Rather than leaving a caller with nothing, the pane helpers default to
|
|
10775
|
+
* exactly the behaviour they had before that endpoint existed: panes on the
|
|
10776
|
+
* Stripe connector only, with the method set the router's Stripe catalogue had
|
|
10777
|
+
* at the time.
|
|
10778
|
+
*
|
|
10779
|
+
* **This is a degradation path, not a mirror. Do not keep it in sync by hand,
|
|
10780
|
+
* and do not add a connector or a method to it** — that is what this table was
|
|
10781
|
+
* before this ticket, and adding to it would quietly rebuild the mirror. A
|
|
10782
|
+
* connector the router serves panes for arrives through the endpoint and needs
|
|
10783
|
+
* no entry here; a connector that needs an entry here to appear is a connector
|
|
10784
|
+
* the router will not deliver panes for anyway.
|
|
10785
|
+
*
|
|
10786
|
+
* The only reason to touch this list is to correct what Stripe's catalogue
|
|
10787
|
+
* looked like *before* the endpoint existed, and that is history, so there is
|
|
10788
|
+
* no such reason. Once the endpoint is reachable it is never consulted for a
|
|
10789
|
+
* connector the router answered for.
|
|
10790
|
+
*
|
|
10791
|
+
* The redirect-rail set is deliberately narrow — every entry is a variant the
|
|
10792
|
+
* Stripe connector accepts and that needs no extra buyer input beyond a
|
|
10793
|
+
* billing country. `eps` / `p24` / `bancontact` are absent because Stripe
|
|
10794
|
+
* hard-requires billing fields the focused checkout never collects (a full
|
|
10795
|
+
* name for EPS and Bancontact, an email for Przelewy24), so their tiles could
|
|
10796
|
+
* never succeed.
|
|
10797
|
+
*
|
|
10798
|
+
* `defaultLabel` / `defaultSublabel` are the copy the router compiled at that
|
|
10799
|
+
* time and are frozen with the rest of the table. Copy for a method the live
|
|
10800
|
+
* catalogue reports belongs to the consumer's own locale files, keyed by
|
|
10801
|
+
* `key` — the router ships none.
|
|
10802
|
+
*/
|
|
10803
|
+
declare const STRIPE_FALLBACK_PANE_METHODS: readonly PaneMethodInfo[];
|
|
10804
|
+
/**
|
|
10805
|
+
* {@link STRIPE_FALLBACK_PANE_METHODS} in the shape the live endpoint returns,
|
|
10806
|
+
* so every helper below takes one type of catalogue and the degradation path
|
|
10807
|
+
* is not a second code path. Derived, not written out: two spellings of one
|
|
10808
|
+
* table is exactly the drift this ticket removed.
|
|
10809
|
+
*/
|
|
10810
|
+
declare const STRIPE_FALLBACK_PANE_CATALOG: PanesConnectorCatalog;
|
|
10811
|
+
/**
|
|
10812
|
+
* An empty catalogue — a connector the router does not offer panes for.
|
|
10813
|
+
* Exported so callers can express "asked, and the answer was no" without
|
|
10814
|
+
* reaching for `null` in the middle of a computation.
|
|
10815
|
+
*/
|
|
10816
|
+
declare function emptyPaneCatalog(connector: string): PanesConnectorCatalog;
|
|
10817
|
+
/**
|
|
10818
|
+
* Pull one connector's entry out of a `connectors.getPanesCatalog()` response.
|
|
10819
|
+
*
|
|
10820
|
+
* Returns {@link emptyPaneCatalog} for a connector the response does not name:
|
|
10821
|
+
* "the router knows this connector and publishes no panes for it" and "the
|
|
10822
|
+
* router has never heard of it" are the same answer to a caller building an
|
|
10823
|
+
* editor, and both mean "offer nothing".
|
|
10824
|
+
*/
|
|
10825
|
+
declare function paneCatalogFor(response: PanesCatalogResponse, connector: string): PanesConnectorCatalog;
|
|
10826
|
+
/**
|
|
10827
|
+
* Built-in tile icon keys the buyer-facing checkout ships a glyph for.
|
|
10828
|
+
*
|
|
10829
|
+
* Reconciled against both ends: every key here has a branch in the checkout's
|
|
10830
|
+
* `NativePaneIcon.svelte`, and every `default_icon` the router's catalogue
|
|
10831
|
+
* publishes is in this list. An icon key the checkout does not ship falls
|
|
10832
|
+
* through to `wallet` there, so a key that drifts in renders as the wrong
|
|
10833
|
+
* glyph rather than as nothing.
|
|
10834
|
+
*/
|
|
10835
|
+
declare const PANE_ICON_KEYS: readonly string[];
|
|
10836
|
+
/**
|
|
10837
|
+
* Section keys a pane's tile may group under.
|
|
10838
|
+
*
|
|
10839
|
+
* Reconciled against the router's actual `default_category` values rather than
|
|
10840
|
+
* against what the Stripe table happened to need. `crypto` and `game_items`
|
|
10841
|
+
* are router defaults (the Cryptomus/NowPayments and Skinsback catalogues) and
|
|
10842
|
+
* were missing here, so a merchant configuring one of those panes was shown a
|
|
10843
|
+
* category their editor did not recognise.
|
|
10844
|
+
*
|
|
10845
|
+
* A custom value is allowed and renders as its own section under that literal
|
|
10846
|
+
* text. The buyer-facing checkout translates a subset of these into a section
|
|
10847
|
+
* header and falls through to the raw key for the rest — `crypto` and
|
|
10848
|
+
* `game_items` are the two it has yet to add, tracked in delopay-checkout#70.
|
|
10849
|
+
*/
|
|
10850
|
+
declare const PANE_CATEGORY_KEYS: readonly string[];
|
|
10625
10851
|
/**
|
|
10626
10852
|
* Mirror of the router's per-connector cap. Counted differently on each side:
|
|
10627
|
-
* {@link
|
|
10628
|
-
*
|
|
10629
|
-
*
|
|
10630
|
-
*
|
|
10631
|
-
*
|
|
10853
|
+
* {@link decodePanes} stops after 12 *decoded* rows (entries with a usable,
|
|
10854
|
+
* non-duplicate `method` — junk and duplicate entries don't consume a slot),
|
|
10855
|
+
* while the router caps *accepted* panes (enabled, known, deduplicated) at 12
|
|
10856
|
+
* — so an oversized hand-written blob may render a pane this decoder drops.
|
|
10857
|
+
* Blobs the SDK itself encodes never exceed the cap.
|
|
10858
|
+
*/
|
|
10859
|
+
declare const PANES_MAX = 12;
|
|
10860
|
+
/**
|
|
10861
|
+
* Look a method up in one connector's catalogue.
|
|
10862
|
+
*
|
|
10863
|
+
* Pass the entry for the connector being configured, from
|
|
10864
|
+
* `connectors.getPanesCatalog()` via {@link paneCatalogFor}. The default is
|
|
10865
|
+
* the degradation path and only correct for Stripe on a router that predates
|
|
10866
|
+
* the endpoint — see {@link STRIPE_FALLBACK_PANE_CATALOG}.
|
|
10867
|
+
*/
|
|
10868
|
+
declare function paneMethodInfo(method: string, catalog?: PanesConnectorCatalog): PaneCapability | undefined;
|
|
10869
|
+
/** Whether this connector may declare a pane on `rail` at all. A wallet pane
|
|
10870
|
+
* on a connector outside its `allowed_rails` is refused at save time — the
|
|
10871
|
+
* wallet rail rides on Stripe's Express Checkout Element charging the *same*
|
|
10872
|
+
* payment intent the embedded checkout holds, which does not generalise. */
|
|
10873
|
+
declare function paneRailAllowed(rail: PaneRail, catalog: PanesConnectorCatalog): boolean;
|
|
10874
|
+
/**
|
|
10875
|
+
* The methods a caller may actually offer for this connector: the catalogue's
|
|
10876
|
+
* own list, minus anything on a rail the connector does not allow.
|
|
10877
|
+
*
|
|
10878
|
+
* The router should not report such a pair in the first place, but the two
|
|
10879
|
+
* fields are independent in the response and a save that crosses them is
|
|
10880
|
+
* refused at the API with an error naming the connector and the method. Filter
|
|
10881
|
+
* rather than trust, so a merchant never configures a tile the save will
|
|
10882
|
+
* bounce.
|
|
10883
|
+
*/
|
|
10884
|
+
declare function offerablePaneMethods(catalog: PanesConnectorCatalog): PaneCapability[];
|
|
10885
|
+
/** Non-copy display defaults for a tile: which built-in glyph and which
|
|
10886
|
+
* section heading a new pane starts on. */
|
|
10887
|
+
interface PaneDisplayDefaults {
|
|
10888
|
+
icon: string;
|
|
10889
|
+
category: string;
|
|
10890
|
+
}
|
|
10891
|
+
/**
|
|
10892
|
+
* What a new tile looks like before the merchant designs it.
|
|
10893
|
+
*
|
|
10894
|
+
* The router serves capability, not presentation, so the glyph and the section
|
|
10895
|
+
* come from here and the accompanying text comes from the caller's own locale
|
|
10896
|
+
* files. A method with no entry at all still resolves — that is the point of
|
|
10897
|
+
* deriving from `payment_method`: a connector added to the router's catalogue
|
|
10898
|
+
* tomorrow needs no SDK release to be designable today.
|
|
10632
10899
|
*/
|
|
10633
|
-
declare
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10900
|
+
declare function paneDisplayDefaults(info: PaneCapability | undefined): PaneDisplayDefaults;
|
|
10901
|
+
/**
|
|
10902
|
+
* Why a configured pane would not survive a save or a render.
|
|
10903
|
+
*
|
|
10904
|
+
* - `method_unknown` — the connector's catalogue does not publish this key, so
|
|
10905
|
+
* the router drops the row at render.
|
|
10906
|
+
* - `rail_not_allowed` — the method's rail is not in the connector's
|
|
10907
|
+
* `allowed_rails`; the API refuses this at save time.
|
|
10908
|
+
* - `over_cap` — past the router's per-connector cap of {@link PANES_MAX}; the
|
|
10909
|
+
* row is stored but never rendered.
|
|
10910
|
+
* - `duplicate_method` — an earlier enabled row already claims this method.
|
|
10911
|
+
* The router skips disabled rows and then dedupes, so the first *enabled*
|
|
10912
|
+
* row renders and every later one is dropped in silence. Reported on the
|
|
10913
|
+
* losing rows, never on the one that survives.
|
|
10914
|
+
*/
|
|
10915
|
+
type PaneIssueCode = 'method_unknown' | 'rail_not_allowed' | 'over_cap' | 'duplicate_method';
|
|
10916
|
+
interface PaneIssue {
|
|
10917
|
+
/** Index into the list handed to {@link validatePanes}. */
|
|
10918
|
+
index: number;
|
|
10919
|
+
method: string;
|
|
10920
|
+
code: PaneIssueCode;
|
|
10921
|
+
}
|
|
10922
|
+
/**
|
|
10923
|
+
* Check a configured list against one connector's catalogue, before writing it
|
|
10924
|
+
* to `metadata.native_panes`.
|
|
10925
|
+
*
|
|
10926
|
+
* The API applies the same rules at save time, so this changes where the
|
|
10927
|
+
* merchant finds out, not whether they do — and an SDK caller building an
|
|
10928
|
+
* editor would otherwise learn it from a bounced request with no row to point
|
|
10929
|
+
* at. An empty result means nothing here will be refused or silently dropped.
|
|
10930
|
+
*/
|
|
10931
|
+
declare function validatePanes(panes: readonly Pane[], catalog?: PanesConnectorCatalog): PaneIssue[];
|
|
10932
|
+
/**
|
|
10933
|
+
* A new pane for `method`, with its glyph and section resolved from the
|
|
10934
|
+
* connector's catalogue entry rather than from a Stripe-keyed table — so
|
|
10935
|
+
* `defaultPane('creem_checkout', catalog)` is a designed tile and not a blank
|
|
10936
|
+
* one.
|
|
10937
|
+
*
|
|
10938
|
+
* Pass the catalogue entry for the connector being configured; the default is
|
|
10939
|
+
* the degradation path (see {@link STRIPE_FALLBACK_PANE_CATALOG}). Labels are
|
|
10940
|
+
* deliberately left empty: empty means "use the catalogue default", which the
|
|
10941
|
+
* router resolves at render, and the router ships no copy for a caller to
|
|
10942
|
+
* mirror.
|
|
10943
|
+
*/
|
|
10944
|
+
declare function defaultPane(method: string, catalog?: PanesConnectorCatalog): Pane;
|
|
10945
|
+
declare function clonePane(pane: Pane): Pane;
|
|
10637
10946
|
/**
|
|
10638
10947
|
* Decode the stored `metadata.native_panes` blob into editor rows.
|
|
10639
10948
|
*
|
|
@@ -10641,32 +10950,53 @@ declare function cloneNativePane(pane: StripeNativePane): StripeNativePane;
|
|
|
10641
10950
|
* property, rows without a usable `method` are dropped, duplicates keep the
|
|
10642
10951
|
* first occurrence — except that an enabled row wins over an earlier disabled
|
|
10643
10952
|
* one for the same method, because that is the row the router renders — and
|
|
10644
|
-
* decoding stops after {@link
|
|
10645
|
-
*
|
|
10646
|
-
*
|
|
10647
|
-
*
|
|
10648
|
-
*
|
|
10649
|
-
*
|
|
10650
|
-
* from "cleared".
|
|
10953
|
+
* decoding stops after {@link PANES_MAX} decoded rows (dropped junk/duplicate
|
|
10954
|
+
* entries don't consume a slot). That is more forgiving than the router, which
|
|
10955
|
+
* drops a strict-decode-failing row whole (keeping the rest) and caps accepted
|
|
10956
|
+
* panes rather than decoded rows — see {@link Pane} and {@link PANES_MAX}.
|
|
10957
|
+
* Returns `null` when the input is not an array so the caller can distinguish
|
|
10958
|
+
* "never configured" from "cleared".
|
|
10651
10959
|
*/
|
|
10652
|
-
declare function
|
|
10960
|
+
declare function decodePanes(raw: unknown): Pane[] | null;
|
|
10653
10961
|
/**
|
|
10654
10962
|
* Encode editor rows back into the snake_case blob the connector account
|
|
10655
10963
|
* stores. Empty optional strings are omitted so the metadata stays small and a
|
|
10656
|
-
* merchant who typed nothing round-trips as "use the
|
|
10964
|
+
* merchant who typed nothing round-trips as "use the catalogue default" rather
|
|
10657
10965
|
* than as an explicit empty override.
|
|
10658
10966
|
*
|
|
10659
10967
|
* `sublabel` is the exception: an explicitly-empty value is preserved (as `""`)
|
|
10660
10968
|
* because that is how a merchant hides the second line.
|
|
10661
10969
|
*/
|
|
10662
|
-
declare function
|
|
10970
|
+
declare function encodePanes(panes: Pane[]): Record<string, unknown>[];
|
|
10663
10971
|
interface FocusedCheckoutUrlParams {
|
|
10664
10972
|
/** Base URL of the DeloPay hosted checkout, e.g. `https://checkout.delopay.net`. */
|
|
10665
10973
|
checkoutBaseUrl: string;
|
|
10666
10974
|
merchantId: string;
|
|
10667
10975
|
paymentId: string;
|
|
10668
|
-
/**
|
|
10976
|
+
/** Pane method key to focus on (`apple_pay`, `klarna`, …). */
|
|
10669
10977
|
method: string;
|
|
10978
|
+
/**
|
|
10979
|
+
* Connector that owns the tile, forwarded as `connector=`.
|
|
10980
|
+
*
|
|
10981
|
+
* A bare `pane=` resolves to the **first payable match in server-sorted
|
|
10982
|
+
* order**, which is unambiguous only while one connector publishes a given
|
|
10983
|
+
* key. Stripe publishes `klarna` and so does the Klarna connector, so a deep
|
|
10984
|
+
* link that names neither charges through whichever tile happens to sort
|
|
10985
|
+
* first. Name the connector whenever you know it.
|
|
10986
|
+
*
|
|
10987
|
+
* Optional because links minted before this parameter existed are already in
|
|
10988
|
+
* merchants' pages and still have to resolve.
|
|
10989
|
+
*/
|
|
10990
|
+
connector?: string;
|
|
10991
|
+
/**
|
|
10992
|
+
* Merchant connector ACCOUNT that owns the tile, forwarded as `mca=`.
|
|
10993
|
+
*
|
|
10994
|
+
* Needed for the same reason `connector` is, one level down: a profile may
|
|
10995
|
+
* hold two enabled accounts of one connector, each publishing its own tile,
|
|
10996
|
+
* and the two links would otherwise be identical. Only meaningful alongside
|
|
10997
|
+
* `connector`.
|
|
10998
|
+
*/
|
|
10999
|
+
merchantConnectorId?: string;
|
|
10670
11000
|
/** Optional buyer locale, forwarded as `?locale=`. */
|
|
10671
11001
|
locale?: string;
|
|
10672
11002
|
/**
|
|
@@ -10686,18 +11016,25 @@ interface FocusedCheckoutUrlParams {
|
|
|
10686
11016
|
*
|
|
10687
11017
|
* Two callers:
|
|
10688
11018
|
* - the embedded checkout, which opens this in a new tab when a buyer clicks
|
|
10689
|
-
* a
|
|
11019
|
+
* a pane tile, and
|
|
10690
11020
|
* - a merchant running their own checkout, who puts it behind their own
|
|
10691
11021
|
* button — the same mechanism without an iframe.
|
|
10692
11022
|
*
|
|
10693
|
-
* `method` is not limited to configured
|
|
10694
|
-
*
|
|
10695
|
-
*
|
|
10696
|
-
*
|
|
10697
|
-
*
|
|
10698
|
-
*
|
|
10699
|
-
*
|
|
10700
|
-
*
|
|
11023
|
+
* `method` is not limited to configured panes. A configured pane gets the
|
|
11024
|
+
* focused one-button view; `card`, `paypal`, `crypto_currency` and the
|
|
11025
|
+
* local-methods catalogs (by method key or vendor code) open the checkout
|
|
11026
|
+
* pinned to that method. Methods that exist only as a tab inside a connector's
|
|
11027
|
+
* own embedded form — iDEAL, Bancontact, P24 and the like, unless promoted to
|
|
11028
|
+
* a pane — cannot be isolated, because the connector owns that surface. An
|
|
11029
|
+
* unknown or unavailable method is never a dead end: the checkout shows a
|
|
11030
|
+
* notice with a visible "show all payment methods" action.
|
|
11031
|
+
*
|
|
11032
|
+
* Pass {@link FocusedCheckoutUrlParams.connector} (and
|
|
11033
|
+
* {@link FocusedCheckoutUrlParams.merchantConnectorId}) whenever you know
|
|
11034
|
+
* them. Without them the method key alone picks the first payable match, and
|
|
11035
|
+
* more than one connector can publish the same key. Omitting them produces
|
|
11036
|
+
* exactly the URL this function has always produced, so links already minted
|
|
11037
|
+
* are unaffected.
|
|
10701
11038
|
*
|
|
10702
11039
|
* Open it **at the top level** (a new tab or a full-page navigation). The whole
|
|
10703
11040
|
* point is that the top-level domain is the registered payment method domain;
|
|
@@ -10714,8 +11051,81 @@ declare function focusedCheckoutUrl(params: FocusedCheckoutUrlParams): string;
|
|
|
10714
11051
|
* status timeline. Written through
|
|
10715
11052
|
* `POST /payment-link/{merchant_id}/{payment_id}/checkout-events`, authorized
|
|
10716
11053
|
* with the payment's `client_secret` as a bearer token.
|
|
11054
|
+
*
|
|
11055
|
+
* The `native_pane_` prefix is the router's enum on the wire and does not move
|
|
11056
|
+
* with the rename — see the module header.
|
|
10717
11057
|
*/
|
|
10718
11058
|
declare const CHECKOUT_EVENT_KINDS: readonly ["native_pane_selected", "native_pane_tab_opened", "native_pane_tab_blocked", "native_pane_abandoned", "native_pane_returned"];
|
|
10719
11059
|
type CheckoutEventKind = (typeof CHECKOUT_EVENT_KINDS)[number];
|
|
11060
|
+
/** @deprecated Renamed to {@link Pane}. Removed in 0.112.0. */
|
|
11061
|
+
type StripeNativePane = Pane;
|
|
11062
|
+
/** @deprecated Renamed to {@link PaneView}. Removed in 0.112.0. */
|
|
11063
|
+
type NativePaneView = PaneView;
|
|
11064
|
+
/** @deprecated Renamed to {@link PaneVisibility}. Removed in 0.112.0. */
|
|
11065
|
+
type NativePaneVisibility = PaneVisibility;
|
|
11066
|
+
/** @deprecated Renamed to {@link PaneOpenTarget}. Removed in 0.112.0. */
|
|
11067
|
+
type NativePaneOpenTarget = PaneOpenTarget;
|
|
11068
|
+
/**
|
|
11069
|
+
* @deprecated Superseded by {@link PaneMethodInfo}. Removed in 0.112.0.
|
|
11070
|
+
*
|
|
11071
|
+
* Deliberately **not** an alias of `PaneMethodInfo`: that type gained three
|
|
11072
|
+
* required routing fields (`paymentMethod`, `paymentMethodType`,
|
|
11073
|
+
* `requiresBillingCountry`), and a consumer who wrote an object literal or a
|
|
11074
|
+
* function return against the 0.108 shape would stop compiling on a deprecated
|
|
11075
|
+
* name that promises the opposite. This stays the six fields that shape had.
|
|
11076
|
+
*
|
|
11077
|
+
* `PaneMethodInfo` is structurally assignable to it, so everything this SDK
|
|
11078
|
+
* hands back — including {@link nativePaneMethodInfo} — still satisfies it.
|
|
11079
|
+
*/
|
|
11080
|
+
interface NativePaneMethodInfo {
|
|
11081
|
+
key: string;
|
|
11082
|
+
rail: PaneRail;
|
|
11083
|
+
/** Catalogue default label, shown as the editor's placeholder. */
|
|
11084
|
+
defaultLabel: string;
|
|
11085
|
+
/** Catalogue default sub-text. */
|
|
11086
|
+
defaultSublabel: string;
|
|
11087
|
+
/** Catalogue default section. */
|
|
11088
|
+
defaultCategory: string;
|
|
11089
|
+
/** Catalogue default icon key. */
|
|
11090
|
+
defaultIcon: string;
|
|
11091
|
+
}
|
|
11092
|
+
/**
|
|
11093
|
+
* @deprecated Renamed to {@link STRIPE_FALLBACK_PANE_METHODS}, which is a
|
|
11094
|
+
* degradation path and not a catalogue mirror. Removed in 0.112.0.
|
|
11095
|
+
*/
|
|
11096
|
+
declare const STRIPE_NATIVE_PANE_METHODS: readonly PaneMethodInfo[];
|
|
11097
|
+
/** @deprecated Renamed to {@link PANE_ICON_KEYS}. Removed in 0.112.0. */
|
|
11098
|
+
declare const NATIVE_PANE_ICON_KEYS: readonly string[];
|
|
11099
|
+
/** @deprecated Renamed to {@link PANE_CATEGORY_KEYS}. Removed in 0.112.0. */
|
|
11100
|
+
declare const NATIVE_PANE_CATEGORY_KEYS: readonly string[];
|
|
11101
|
+
/** @deprecated Renamed to {@link PANES_MAX}. Removed in 0.112.0. */
|
|
11102
|
+
declare const NATIVE_PANES_MAX = 12;
|
|
11103
|
+
/**
|
|
11104
|
+
* @deprecated Superseded by {@link paneMethodInfo}, which takes the connector's
|
|
11105
|
+
* catalogue and answers for every connector rather than only for Stripe.
|
|
11106
|
+
* Removed in 0.112.0.
|
|
11107
|
+
*
|
|
11108
|
+
* Kept as its own function rather than as an alias because it must keep its
|
|
11109
|
+
* old return type: it answers out of the frozen Stripe table and carries that
|
|
11110
|
+
* table's compiled copy, which the live catalogue deliberately does not have.
|
|
11111
|
+
*/
|
|
11112
|
+
declare function nativePaneMethodInfo(method: string): PaneMethodInfo | undefined;
|
|
11113
|
+
/**
|
|
11114
|
+
* @deprecated Superseded by {@link defaultPane}. Removed in 0.112.0.
|
|
11115
|
+
*
|
|
11116
|
+
* Kept as its own function rather than as an alias because it must keep its
|
|
11117
|
+
* old behaviour: it leaves `category` empty and resolves `icon` out of the
|
|
11118
|
+
* frozen Stripe table only. `defaultPane` fills both from the connector's
|
|
11119
|
+
* catalogue, which is the fix — but a caller on the old name encodes whatever
|
|
11120
|
+
* it is handed, and quietly turning a blank field into a stored override is
|
|
11121
|
+
* not something a deprecated alias should do to a merchant's saved config.
|
|
11122
|
+
*/
|
|
11123
|
+
declare function defaultNativePane(method: string): Pane;
|
|
11124
|
+
/** @deprecated Renamed to {@link clonePane}. Removed in 0.112.0. */
|
|
11125
|
+
declare const cloneNativePane: typeof clonePane;
|
|
11126
|
+
/** @deprecated Renamed to {@link decodePanes}. Removed in 0.112.0. */
|
|
11127
|
+
declare const decodeNativePanes: typeof decodePanes;
|
|
11128
|
+
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
11129
|
+
declare const encodeNativePanes: typeof encodePanes;
|
|
10720
11130
|
|
|
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 };
|
|
11131
|
+
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, 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 };
|