@delopay/sdk 0.129.0 → 0.131.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-IWGBRSUJ.js → chunk-I2YGFOLA.js} +52 -4
- package/dist/chunk-I2YGFOLA.js.map +1 -0
- package/dist/index.cjs +52 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +123 -4
- package/dist/index.d.ts +123 -4
- package/dist/index.js +3 -1
- package/dist/internal.cjs +52 -3
- 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 +3 -1
- package/dist/internal.js.map +1 -1
- package/package.json +18 -17
- package/dist/chunk-IWGBRSUJ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ type ConnectorType = 'payment_processor' | 'payment_vas' | 'fin_operations' | 'f
|
|
|
17
17
|
* to the API before the SDK is updated, so any name can be passed
|
|
18
18
|
* without a type error. Known names get IDE autocomplete.
|
|
19
19
|
*/
|
|
20
|
-
type Connector = 'aci' | 'adyen' | 'adyenplatform' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authipay' | 'authorizedotnet' | 'bambora' | 'bamboraapac' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'blackhawknetwork' | 'bluesnap' | 'boku' | 'braintree' | 'breadpay' | 'calida' | 'cardinal' | 'cashtocode' | 'celero' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'creem' | 'cryptomus' | 'cryptopay' | 'ctp_mastercard' | 'ctp_visa' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'delopaythreedsserver' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'epayouts' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservcommercehub' | 'fiservemea' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'globalpay' | 'globepay' | 'gocardless' | 'gpayments' | 'helcim' | 'hipay' | 'hyperpg' | 'iatapay' | 'inespay' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'netcetera' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nowpayments' | 'nuvei' | 'opennode' | 'paybox' | 'payload' | 'payme' | 'payone' | 'paypal' | 'paysafe' | 'paysepro' | 'paystack' | 'paytm' | 'payu' | 'payjustnow' | 'payjustnowinstore' | 'peachpayments' | 'phonepe' | 'placetopay' | 'plaid' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'skinsback' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'taxjar' | 'tesouro' | 'threedsecureio' | 'tokenex' | 'tokenio' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tsys' | 'vgs' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'zsl' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | (string & {});
|
|
20
|
+
type Connector = 'aci' | 'adyen' | 'adyenplatform' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authipay' | 'authorizedotnet' | 'bambora' | 'bamboraapac' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'blackhawknetwork' | 'bluesnap' | 'boku' | 'braintree' | 'breadpay' | 'calida' | 'cardinal' | 'cashtocode' | 'celero' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'creem' | 'cryptomus' | 'cryptopay' | 'ctp_mastercard' | 'ctp_visa' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'delopaythreedsserver' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'epayouts' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservcommercehub' | 'fiservemea' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'globalpay' | 'globepay' | 'gocardless' | 'gpayments' | 'helcim' | 'hipay' | 'hyperpg' | 'iatapay' | 'inespay' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'netcetera' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'nomupay_oppwa' | 'noon' | 'nordea' | 'novalnet' | 'nowpayments' | 'nuvei' | 'opennode' | 'paybox' | 'payload' | 'payme' | 'payone' | 'paypal' | 'paysafe' | 'paysepro' | 'paystack' | 'paytm' | 'payu' | 'payjustnow' | 'payjustnowinstore' | 'peachpayments' | 'phonepe' | 'placetopay' | 'plaid' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'skinsback' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'taxjar' | 'tesouro' | 'threedsecureio' | 'tokenex' | 'tokenio' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tsys' | 'vgs' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'zsl' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | (string & {});
|
|
21
21
|
type DisputeStage = 'pre_dispute' | 'dispute' | 'pre_arbitration' | 'arbitration' | 'dispute_reversal';
|
|
22
22
|
type DisputeStatus = 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost';
|
|
23
23
|
type MandateStatus = 'active' | 'inactive' | 'pending' | 'revoked';
|
|
@@ -1059,6 +1059,15 @@ interface PaneView {
|
|
|
1059
1059
|
*/
|
|
1060
1060
|
merchant_connector_id?: string;
|
|
1061
1061
|
rail: PaneRail;
|
|
1062
|
+
/**
|
|
1063
|
+
* The **connector's own** name for this method, on the rails where the
|
|
1064
|
+
* browser needs it: `hosted_element` mounts the connector's SDK element by
|
|
1065
|
+
* that name (`applepay`, `ideal`, `klarna` for Airwallex). Published rather
|
|
1066
|
+
* than derived in the checkout, so one table owns the translation between
|
|
1067
|
+
* DeloPay's vocabulary and each processor's. Absent on the rails that do
|
|
1068
|
+
* not mount by name, and on a router predating the field.
|
|
1069
|
+
*/
|
|
1070
|
+
connector_method_name?: string | null;
|
|
1062
1071
|
label: string;
|
|
1063
1072
|
sublabel: string;
|
|
1064
1073
|
/**
|
|
@@ -1173,6 +1182,16 @@ interface PaneView {
|
|
|
1173
1182
|
* directly.
|
|
1174
1183
|
*/
|
|
1175
1184
|
visibility?: PaneVisibility;
|
|
1185
|
+
/**
|
|
1186
|
+
* Where this pane is drawn as the wallet's own button instead of its tile —
|
|
1187
|
+
* see {@link PaneNativeElement}.
|
|
1188
|
+
*
|
|
1189
|
+
* **Absent means "tile only"**, and absent is the common case: the router
|
|
1190
|
+
* omits the field on every method that cannot draw a native button, so a
|
|
1191
|
+
* client never has to know which keys those are, and a router predating the
|
|
1192
|
+
* field omits it everywhere.
|
|
1193
|
+
*/
|
|
1194
|
+
native_element?: PaneNativeElement | null;
|
|
1176
1195
|
/**
|
|
1177
1196
|
* How the embedded checkout opens this tile's focused view. Absent on
|
|
1178
1197
|
* payloads from older backends — treat as `tab`.
|
|
@@ -1761,6 +1780,51 @@ interface StripePaymentMethodDomainsRegisterResponse {
|
|
|
1761
1780
|
environment: WebhookRegistrationEnvironment;
|
|
1762
1781
|
results: StripePaymentMethodDomainResult[];
|
|
1763
1782
|
}
|
|
1783
|
+
/**
|
|
1784
|
+
* Register checkout/shop domains as Airwallex Apple Pay domains.
|
|
1785
|
+
*
|
|
1786
|
+
* The Airwallex counterpart of {@link StripePaymentMethodDomainsRegisterRequest}
|
|
1787
|
+
* — Apple's requirement is the same for both processors, the API that satisfies
|
|
1788
|
+
* it is not.
|
|
1789
|
+
*/
|
|
1790
|
+
interface AirwallexApplePayDomainsRegisterRequest {
|
|
1791
|
+
/** Credential set to register with. Defaults to `'live'`. */
|
|
1792
|
+
environment?: WebhookRegistrationEnvironment;
|
|
1793
|
+
/**
|
|
1794
|
+
* Absolute URLs (or bare hostnames) whose hosts are registered — the hosted
|
|
1795
|
+
* checkout origin first, plus any of the merchant's own shop URLs. At most 10
|
|
1796
|
+
* per request.
|
|
1797
|
+
*/
|
|
1798
|
+
urls: string[];
|
|
1799
|
+
}
|
|
1800
|
+
/** Outcome of registering one URL as an Airwallex Apple Pay domain. */
|
|
1801
|
+
type AirwallexApplePayDomainStatus = 'registered' | 'already_registered' | 'invalid_url' | 'failed';
|
|
1802
|
+
/** Per-URL outcome of an {@link AirwallexApplePayDomainsRegisterRequest}. */
|
|
1803
|
+
interface AirwallexApplePayDomainResult {
|
|
1804
|
+
/** The URL exactly as sent. */
|
|
1805
|
+
url: string;
|
|
1806
|
+
/** Host actually registered with Airwallex; absent when the URL failed to parse. */
|
|
1807
|
+
domain?: string | null;
|
|
1808
|
+
status: AirwallexApplePayDomainStatus;
|
|
1809
|
+
/**
|
|
1810
|
+
* Human-readable failure detail. Never contains credentials.
|
|
1811
|
+
*
|
|
1812
|
+
* Airwallex validates the domain-association file when the domain is added,
|
|
1813
|
+
* so a failure here usually names a missing
|
|
1814
|
+
* `/.well-known/apple-developer-merchantid-domain-association`.
|
|
1815
|
+
*/
|
|
1816
|
+
message?: string | null;
|
|
1817
|
+
}
|
|
1818
|
+
interface AirwallexApplePayDomainsRegisterResponse {
|
|
1819
|
+
environment: WebhookRegistrationEnvironment;
|
|
1820
|
+
results: AirwallexApplePayDomainResult[];
|
|
1821
|
+
/**
|
|
1822
|
+
* Every domain the account carries after the call, including any added from
|
|
1823
|
+
* Airwallex's own dashboard. Airwallex reports no per-domain Apple status, so
|
|
1824
|
+
* there is no counterpart to Stripe's `apple_pay_status`.
|
|
1825
|
+
*/
|
|
1826
|
+
registered_domains?: string[];
|
|
1827
|
+
}
|
|
1764
1828
|
interface PaymentLinkBackgroundImageConfig {
|
|
1765
1829
|
url: string;
|
|
1766
1830
|
position?: 'top-left' | 'top-center' | 'top-right' | 'center-left' | 'center' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | null;
|
|
@@ -7677,9 +7741,29 @@ interface FeatureMatrixResponse {
|
|
|
7677
7741
|
* Rail a pane is rendered and confirmed on.
|
|
7678
7742
|
*
|
|
7679
7743
|
* `wallet` panes are collected in-page by the connector's own SDK;
|
|
7680
|
-
* `redirect` panes hand the buyer to a connector-hosted page
|
|
7744
|
+
* `redirect` panes hand the buyer to a connector-hosted page;
|
|
7745
|
+
* `hosted_element` panes are mounted by the connector's own SDK against the
|
|
7746
|
+
* intent the render already minted and reconciled by that connector's return
|
|
7747
|
+
* leg — Airwallex's whole catalogue.
|
|
7681
7748
|
*/
|
|
7682
|
-
type PaneRail = 'wallet' | 'redirect';
|
|
7749
|
+
type PaneRail = 'wallet' | 'redirect' | 'hosted_element';
|
|
7750
|
+
/**
|
|
7751
|
+
* Where the checkout draws a wallet's **own** button in place of the pane's
|
|
7752
|
+
* tile — Stripe's Express Checkout Element on the `wallet` rail, Airwallex's
|
|
7753
|
+
* wallet button on the `hosted_element` rail — for the two brands that have
|
|
7754
|
+
* one (Apple Pay, Google Pay).
|
|
7755
|
+
*
|
|
7756
|
+
* The three contexts are {@link PaneVisibility}'s two names plus `everywhere`,
|
|
7757
|
+
* and the two fields **compose** in that order: `visibility` decides whether
|
|
7758
|
+
* the pane is offered in a render at all, and only then does this decide which
|
|
7759
|
+
* of the two surfaces it is offered as. There is no "never": wherever the
|
|
7760
|
+
* processor reports the wallet unavailable the checkout falls back to the tile
|
|
7761
|
+
* by itself, so this can never take the method off a checkout.
|
|
7762
|
+
*
|
|
7763
|
+
* Only meaningful where {@link PaneCapability.supports_native_element} is
|
|
7764
|
+
* `true`; the router omits {@link PaneView.native_element} everywhere else.
|
|
7765
|
+
*/
|
|
7766
|
+
type PaneNativeElement = 'everywhere' | 'embedded_only' | 'external_only';
|
|
7683
7767
|
/**
|
|
7684
7768
|
* One method a connector can publish as a pane.
|
|
7685
7769
|
*
|
|
@@ -7697,6 +7781,17 @@ interface PaneCapability {
|
|
|
7697
7781
|
payment_method_type: PaymentMethodType;
|
|
7698
7782
|
/** Whether a configuration for this method must carry a billing country. */
|
|
7699
7783
|
requires_billing_country: boolean;
|
|
7784
|
+
/**
|
|
7785
|
+
* Whether this method can be drawn as the wallet's own button instead of a
|
|
7786
|
+
* DeloPay tile — i.e. whether {@link Pane.nativeElement} means anything
|
|
7787
|
+
* here. The router's answer, not the dashboard's: Apple Pay and Google Pay
|
|
7788
|
+
* on Stripe's wallet rail and on Airwallex's hosted-element rail today.
|
|
7789
|
+
*
|
|
7790
|
+
* Optional because a router predating the field omits it; read absent as
|
|
7791
|
+
* `false`, so the control is offered nowhere rather than on a method the
|
|
7792
|
+
* router would ignore.
|
|
7793
|
+
*/
|
|
7794
|
+
supports_native_element?: boolean;
|
|
7700
7795
|
}
|
|
7701
7796
|
/** What one connector can publish as panes. */
|
|
7702
7797
|
interface PanesConnectorCatalog {
|
|
@@ -8461,6 +8556,17 @@ declare class Connectors {
|
|
|
8461
8556
|
* is a request-level 400.
|
|
8462
8557
|
*/
|
|
8463
8558
|
registerStripePaymentMethodDomains(merchantId: string, connectorId: string, params: StripePaymentMethodDomainsRegisterRequest): Promise<StripePaymentMethodDomainsRegisterResponse>;
|
|
8559
|
+
/**
|
|
8560
|
+
* Register checkout/shop domains as Airwallex Apple Pay domains, so Apple Pay
|
|
8561
|
+
* renders on those pages.
|
|
8562
|
+
* `POST /account/{merchantId}/connectors/{connectorId}/airwallex/apple-pay-domains`
|
|
8563
|
+
*
|
|
8564
|
+
* Airwallex connectors only. One call registers against a single credential
|
|
8565
|
+
* set (`environment`, default `'live'`) — call twice to cover live and
|
|
8566
|
+
* sandbox. Idempotent: a host already on the account comes back
|
|
8567
|
+
* `already_registered` without a write.
|
|
8568
|
+
*/
|
|
8569
|
+
registerAirwallexApplePayDomains(merchantId: string, connectorId: string, params: AirwallexApplePayDomainsRegisterRequest): Promise<AirwallexApplePayDomainsRegisterResponse>;
|
|
8464
8570
|
/** Get registered webhooks for a connector. `GET /account/{merchantId}/connectors/webhooks/{connectorId}` */
|
|
8465
8571
|
getWebhook(merchantId: string, connectorId: string): Promise<ConnectorWebhookListResponse>;
|
|
8466
8572
|
/**
|
|
@@ -11823,6 +11929,7 @@ type PaymentLayout = 'tabs' | 'accordion' | 'spaced_accordion';
|
|
|
11823
11929
|
type LogoShape = 'square' | 'rounded' | 'circle';
|
|
11824
11930
|
type LogoSize = 'sm' | 'md' | 'lg';
|
|
11825
11931
|
type SurchargePosition = 'inline' | 'trailing' | 'below' | 'above' | 'cornerStart' | 'cornerEnd';
|
|
11932
|
+
type NativeElementPosition = 'top' | 'bottom';
|
|
11826
11933
|
type SurchargeStyle = 'plain' | 'badge' | 'outline' | 'solid' | 'underline' | 'ribbon';
|
|
11827
11934
|
type SurchargeBorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
11828
11935
|
type SurchargeBorderStyle = 'solid' | 'dashed' | 'dotted';
|
|
@@ -11902,6 +12009,7 @@ declare function readableInkOn(color: string): string;
|
|
|
11902
12009
|
* that silently does nothing.
|
|
11903
12010
|
*/
|
|
11904
12011
|
declare const SURCHARGE_POSITIONS: readonly SurchargePosition[];
|
|
12012
|
+
declare const NATIVE_ELEMENT_POSITIONS: readonly NativeElementPosition[];
|
|
11905
12013
|
declare const SURCHARGE_STYLES: readonly SurchargeStyle[];
|
|
11906
12014
|
declare const SURCHARGE_BORDER_WIDTHS: readonly SurchargeBorderWidth[];
|
|
11907
12015
|
declare const SURCHARGE_BORDER_STYLES: readonly SurchargeBorderStyle[];
|
|
@@ -12074,6 +12182,7 @@ interface CheckoutBranding {
|
|
|
12074
12182
|
showOrderItems: boolean;
|
|
12075
12183
|
showSurcharge: boolean;
|
|
12076
12184
|
surchargePosition: SurchargePosition;
|
|
12185
|
+
nativeElementPosition: NativeElementPosition;
|
|
12077
12186
|
surchargeStyle: SurchargeStyle;
|
|
12078
12187
|
surchargeSize: SurchargeSize;
|
|
12079
12188
|
surchargeShape: SurchargeShape;
|
|
@@ -12645,6 +12754,14 @@ interface Pane {
|
|
|
12645
12754
|
visibility: PaneVisibility;
|
|
12646
12755
|
/** How the embedded checkout opens the focused view — see {@link PaneOpenTarget}. */
|
|
12647
12756
|
openIn: PaneOpenTarget;
|
|
12757
|
+
/**
|
|
12758
|
+
* Where the wallet's own button replaces this tile — see
|
|
12759
|
+
* {@link PaneNativeElement}. Only meaningful on a method whose catalogue
|
|
12760
|
+
* entry says {@link PaneCapability.supports_native_element}; the router
|
|
12761
|
+
* ignores it elsewhere. `everywhere` is the default and what a row stored
|
|
12762
|
+
* before the field existed decodes to.
|
|
12763
|
+
*/
|
|
12764
|
+
nativeElement: PaneNativeElement;
|
|
12648
12765
|
}
|
|
12649
12766
|
/**
|
|
12650
12767
|
* Read a resolved tile's placement rule, across every payload version.
|
|
@@ -12989,6 +13106,8 @@ type NativePaneView = PaneView;
|
|
|
12989
13106
|
type NativePaneVisibility = PaneVisibility;
|
|
12990
13107
|
/** @deprecated Renamed to {@link PaneOpenTarget}. Removed in 0.112.0. */
|
|
12991
13108
|
type NativePaneOpenTarget = PaneOpenTarget;
|
|
13109
|
+
/** @deprecated Spelt {@link PaneNativeElement} on the SDK side. Removed in 0.112.0. */
|
|
13110
|
+
type NativePaneNativeElement = PaneNativeElement;
|
|
12992
13111
|
/**
|
|
12993
13112
|
* @deprecated Superseded by {@link PaneMethodInfo}. Removed in 0.112.0.
|
|
12994
13113
|
*
|
|
@@ -13052,4 +13171,4 @@ declare const decodeNativePanes: typeof decodePanes;
|
|
|
13052
13171
|
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
13053
13172
|
declare const encodeNativePanes: typeof encodePanes;
|
|
13054
13173
|
|
|
13055
|
-
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, 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, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, 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 HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, 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 MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, 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 NextActionCall, type NextActionDataType, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, 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 PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, 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 PeriodExpenseTerm, 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 ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, 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, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
|
13174
|
+
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, 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, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, 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 HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, 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 MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NextActionCall, type NextActionDataType, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, 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 PaneNativeElement, type PaneOpenTarget, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, 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 PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, 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 PeriodExpenseTerm, 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 ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, 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, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
MAX_SECTION_ORDER,
|
|
38
38
|
METHOD_SECTIONS,
|
|
39
39
|
MIN_SECTION_ORDER,
|
|
40
|
+
NATIVE_ELEMENT_POSITIONS,
|
|
40
41
|
NATIVE_PANES_MAX,
|
|
41
42
|
NATIVE_PANE_CATEGORY_KEYS,
|
|
42
43
|
NATIVE_PANE_ICON_KEYS,
|
|
@@ -148,7 +149,7 @@ import {
|
|
|
148
149
|
validatePanes,
|
|
149
150
|
verticalGapValue,
|
|
150
151
|
visibleCustomFields
|
|
151
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-I2YGFOLA.js";
|
|
152
153
|
export {
|
|
153
154
|
ALL_CUSTOM_FIELD_CONDITION_SOURCES,
|
|
154
155
|
ALL_CUSTOM_FIELD_OPERATORS,
|
|
@@ -188,6 +189,7 @@ export {
|
|
|
188
189
|
MAX_SECTION_ORDER,
|
|
189
190
|
METHOD_SECTIONS,
|
|
190
191
|
MIN_SECTION_ORDER,
|
|
192
|
+
NATIVE_ELEMENT_POSITIONS,
|
|
191
193
|
NATIVE_PANES_MAX,
|
|
192
194
|
NATIVE_PANE_CATEGORY_KEYS,
|
|
193
195
|
NATIVE_PANE_ICON_KEYS,
|
package/dist/internal.cjs
CHANGED
|
@@ -68,6 +68,7 @@ __export(internal_exports, {
|
|
|
68
68
|
MAX_SECTION_ORDER: () => MAX_SECTION_ORDER,
|
|
69
69
|
METHOD_SECTIONS: () => METHOD_SECTIONS,
|
|
70
70
|
MIN_SECTION_ORDER: () => MIN_SECTION_ORDER,
|
|
71
|
+
NATIVE_ELEMENT_POSITIONS: () => NATIVE_ELEMENT_POSITIONS,
|
|
71
72
|
NATIVE_PANES_MAX: () => NATIVE_PANES_MAX,
|
|
72
73
|
NATIVE_PANE_CATEGORY_KEYS: () => NATIVE_PANE_CATEGORY_KEYS,
|
|
73
74
|
NATIVE_PANE_ICON_KEYS: () => NATIVE_PANE_ICON_KEYS,
|
|
@@ -886,6 +887,23 @@ var Connectors = class {
|
|
|
886
887
|
{ body: params }
|
|
887
888
|
);
|
|
888
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
* Register checkout/shop domains as Airwallex Apple Pay domains, so Apple Pay
|
|
892
|
+
* renders on those pages.
|
|
893
|
+
* `POST /account/{merchantId}/connectors/{connectorId}/airwallex/apple-pay-domains`
|
|
894
|
+
*
|
|
895
|
+
* Airwallex connectors only. One call registers against a single credential
|
|
896
|
+
* set (`environment`, default `'live'`) — call twice to cover live and
|
|
897
|
+
* sandbox. Idempotent: a host already on the account comes back
|
|
898
|
+
* `already_registered` without a write.
|
|
899
|
+
*/
|
|
900
|
+
async registerAirwallexApplePayDomains(merchantId, connectorId, params) {
|
|
901
|
+
return this.request(
|
|
902
|
+
"POST",
|
|
903
|
+
`/account/${encodeURIComponent(merchantId)}/connectors/${encodeURIComponent(connectorId)}/airwallex/apple-pay-domains`,
|
|
904
|
+
{ body: params }
|
|
905
|
+
);
|
|
906
|
+
}
|
|
889
907
|
/** Get registered webhooks for a connector. `GET /account/{merchantId}/connectors/webhooks/{connectorId}` */
|
|
890
908
|
async getWebhook(merchantId, connectorId) {
|
|
891
909
|
return this.request(
|
|
@@ -5428,6 +5446,7 @@ var SURCHARGE_POSITIONS = [
|
|
|
5428
5446
|
"cornerStart",
|
|
5429
5447
|
"cornerEnd"
|
|
5430
5448
|
];
|
|
5449
|
+
var NATIVE_ELEMENT_POSITIONS = ["top", "bottom"];
|
|
5431
5450
|
var SURCHARGE_STYLES = [
|
|
5432
5451
|
"plain",
|
|
5433
5452
|
"underline",
|
|
@@ -5840,6 +5859,9 @@ var DEFAULT_BRANDING_BASE = {
|
|
|
5840
5859
|
// find out about on the statement.
|
|
5841
5860
|
showSurcharge: true,
|
|
5842
5861
|
surchargePosition: "trailing",
|
|
5862
|
+
// The button is the surface a buyer recognises fastest; it leads its section
|
|
5863
|
+
// unless the merchant says otherwise.
|
|
5864
|
+
nativeElementPosition: "top",
|
|
5843
5865
|
surchargeStyle: "badge",
|
|
5844
5866
|
surchargeSize: "sm",
|
|
5845
5867
|
surchargeShape: "pill",
|
|
@@ -6480,6 +6502,11 @@ function decodeBranding(source) {
|
|
|
6480
6502
|
SURCHARGE_POSITIONS,
|
|
6481
6503
|
DEFAULT_BRANDING.surchargePosition
|
|
6482
6504
|
),
|
|
6505
|
+
nativeElementPosition: pickEnum(
|
|
6506
|
+
extras["nativeElementPosition"],
|
|
6507
|
+
NATIVE_ELEMENT_POSITIONS,
|
|
6508
|
+
DEFAULT_BRANDING.nativeElementPosition
|
|
6509
|
+
),
|
|
6483
6510
|
surchargeStyle: pickEnum(
|
|
6484
6511
|
extras["surchargeStyle"],
|
|
6485
6512
|
SURCHARGE_STYLES,
|
|
@@ -6599,6 +6626,7 @@ function encodeBranding(branding, base) {
|
|
|
6599
6626
|
buttonSize: branding.buttonSize,
|
|
6600
6627
|
showSurcharge: String(branding.showSurcharge),
|
|
6601
6628
|
surchargePosition: branding.surchargePosition,
|
|
6629
|
+
nativeElementPosition: branding.nativeElementPosition,
|
|
6602
6630
|
surchargeStyle: branding.surchargeStyle,
|
|
6603
6631
|
surchargeSize: branding.surchargeSize,
|
|
6604
6632
|
surchargeShape: branding.surchargeShape,
|
|
@@ -6757,6 +6785,11 @@ function parseImportedBranding(raw) {
|
|
|
6757
6785
|
SURCHARGE_POSITIONS,
|
|
6758
6786
|
dflt.surchargePosition
|
|
6759
6787
|
),
|
|
6788
|
+
nativeElementPosition: pickEnum(
|
|
6789
|
+
root["nativeElementPosition"],
|
|
6790
|
+
NATIVE_ELEMENT_POSITIONS,
|
|
6791
|
+
dflt.nativeElementPosition
|
|
6792
|
+
),
|
|
6760
6793
|
surchargeStyle: pickEnum(
|
|
6761
6794
|
root["surchargeStyle"],
|
|
6762
6795
|
SURCHARGE_STYLES,
|
|
@@ -7287,6 +7320,14 @@ var PANE_VISIBILITIES = ["always", "embedded_only", "external_only"];
|
|
|
7287
7320
|
function parseVisibility(raw) {
|
|
7288
7321
|
return PANE_VISIBILITIES.find((value) => value === raw) ?? "always";
|
|
7289
7322
|
}
|
|
7323
|
+
var PANE_NATIVE_ELEMENTS = [
|
|
7324
|
+
"everywhere",
|
|
7325
|
+
"embedded_only",
|
|
7326
|
+
"external_only"
|
|
7327
|
+
];
|
|
7328
|
+
function parseNativeElement(raw) {
|
|
7329
|
+
return PANE_NATIVE_ELEMENTS.find((value) => value === raw) ?? "everywhere";
|
|
7330
|
+
}
|
|
7290
7331
|
function paneViewVisibility(view) {
|
|
7291
7332
|
const declared = PANE_VISIBILITIES.find((value) => value === view.visibility);
|
|
7292
7333
|
if (declared) return declared;
|
|
@@ -7518,7 +7559,8 @@ function defaultPane(method, catalog = STRIPE_FALLBACK_PANE_CATALOG) {
|
|
|
7518
7559
|
iconSvg: "",
|
|
7519
7560
|
displayOrder: 0,
|
|
7520
7561
|
visibility: "always",
|
|
7521
|
-
openIn: "tab"
|
|
7562
|
+
openIn: "tab",
|
|
7563
|
+
nativeElement: "everywhere"
|
|
7522
7564
|
};
|
|
7523
7565
|
}
|
|
7524
7566
|
function clonePane(pane) {
|
|
@@ -7564,7 +7606,8 @@ function decodePanes(raw) {
|
|
|
7564
7606
|
// Anything unrecognised degrades to `always` rather than dropping the row.
|
|
7565
7607
|
visibility: parseVisibility(entry["visibility"]),
|
|
7566
7608
|
// Same tolerance: an unknown value degrades to the default `tab`.
|
|
7567
|
-
openIn: entry["open_in"] === "popup" ? "popup" : "tab"
|
|
7609
|
+
openIn: entry["open_in"] === "popup" ? "popup" : "tab",
|
|
7610
|
+
nativeElement: parseNativeElement(entry["native_element"])
|
|
7568
7611
|
});
|
|
7569
7612
|
const indexByMethod = /* @__PURE__ */ new Map();
|
|
7570
7613
|
const out = [];
|
|
@@ -7616,7 +7659,12 @@ function encodePanes(panes) {
|
|
|
7616
7659
|
// never went through `decodePanes`. A decoded pane always holds a valid
|
|
7617
7660
|
// value, so this is a no-op on the round-trip path.
|
|
7618
7661
|
visibility: parseVisibility(pane.visibility),
|
|
7619
|
-
open_in: pane.openIn === "popup" ? "popup" : "tab"
|
|
7662
|
+
open_in: pane.openIn === "popup" ? "popup" : "tab",
|
|
7663
|
+
// Omitted at the default: `everywhere` is what the router decodes an
|
|
7664
|
+
// absent key to, so leaving it out changes nothing — and keeps a blob
|
|
7665
|
+
// stored before the field existed byte-identical on re-encode, which
|
|
7666
|
+
// is what the wire-compatibility test pins.
|
|
7667
|
+
...parseNativeElement(pane.nativeElement) === "everywhere" ? {} : { native_element: parseNativeElement(pane.nativeElement) }
|
|
7620
7668
|
};
|
|
7621
7669
|
});
|
|
7622
7670
|
}
|
|
@@ -8683,6 +8731,7 @@ var DelopayInternal = class extends Delopay {
|
|
|
8683
8731
|
MAX_SECTION_ORDER,
|
|
8684
8732
|
METHOD_SECTIONS,
|
|
8685
8733
|
MIN_SECTION_ORDER,
|
|
8734
|
+
NATIVE_ELEMENT_POSITIONS,
|
|
8686
8735
|
NATIVE_PANES_MAX,
|
|
8687
8736
|
NATIVE_PANE_CATEGORY_KEYS,
|
|
8688
8737
|
NATIVE_PANE_ICON_KEYS,
|