@delopay/sdk 0.180.0 → 0.182.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-OTLLSSM7.js → chunk-3GSFUNXW.js} +36 -4
- package/dist/{chunk-OTLLSSM7.js.map → chunk-3GSFUNXW.js.map} +1 -1
- package/dist/index.cjs +35 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -36
- package/dist/index.d.ts +134 -36
- package/dist/index.js +1 -1
- package/dist/internal.cjs +35 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +67 -2
- package/dist/internal.d.ts +67 -2
- package/dist/internal.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4889,11 +4889,24 @@ interface ProductListParams {
|
|
|
4889
4889
|
* carries exactly what it needs: a refund has an amount, a payment does not,
|
|
4890
4890
|
* and a payout has no owning payment. `POST /external-records`.
|
|
4891
4891
|
*/
|
|
4892
|
+
/**
|
|
4893
|
+
* Which environment an external record asserts the movement happened in.
|
|
4894
|
+
*/
|
|
4895
|
+
type ExternalRecordEnvironment = 'live' | 'sandbox';
|
|
4892
4896
|
type ExternalRecordTarget = {
|
|
4893
4897
|
resource: 'payment';
|
|
4894
4898
|
payment_id: string;
|
|
4895
4899
|
/** The status the rail actually holds it in. */
|
|
4896
4900
|
status: IntentStatus;
|
|
4901
|
+
/**
|
|
4902
|
+
* Which environment the movement happened in, stated by the operator.
|
|
4903
|
+
*
|
|
4904
|
+
* Required, and required here only: there is deliberately no default and
|
|
4905
|
+
* no inference from the connector's current settings, because a record
|
|
4906
|
+
* filed against the wrong environment is indistinguishable afterwards
|
|
4907
|
+
* from a real one.
|
|
4908
|
+
*/
|
|
4909
|
+
environment: ExternalRecordEnvironment;
|
|
4897
4910
|
} | {
|
|
4898
4911
|
/**
|
|
4899
4912
|
* A refund that has no row here yet — the forcing case, one that exists
|
|
@@ -10721,15 +10734,113 @@ interface ConnectorRisk {
|
|
|
10721
10734
|
/** RFC 3339 UTC — when the snapshot was computed, not when it was read. */
|
|
10722
10735
|
computed_at: string;
|
|
10723
10736
|
/**
|
|
10724
|
-
* Per-signal contributions behind the index.
|
|
10737
|
+
* Per-signal contributions behind the index, newest model first.
|
|
10738
|
+
*
|
|
10739
|
+
* Typed for what every model emits and open for what a newer one adds: the
|
|
10740
|
+
* backend passes the stored blob through verbatim so a new signal reaches a
|
|
10741
|
+
* dashboard without a release on either side, and `RiskComponent` carries an
|
|
10742
|
+
* index signature for exactly that. Treat every field as possibly absent — a
|
|
10743
|
+
* snapshot written before a field existed simply does not carry it, and
|
|
10744
|
+
* nothing backfills it on read.
|
|
10745
|
+
*
|
|
10746
|
+
* **Narrow with `Array.isArray` before reading it.** Every write path in the
|
|
10747
|
+
* backend produces an array — the scorer serialises a list, and an
|
|
10748
|
+
* unassessed shop gets `[]` — but the column is free-form JSON that is
|
|
10749
|
+
* passed through verbatim, so a stored snapshot is not something this SDK
|
|
10750
|
+
* can promise the shape of. The union is deliberate: it costs one guard and
|
|
10751
|
+
* removes the runtime failure a bare `.map()` would hit on a row nothing in
|
|
10752
|
+
* the current code could have written.
|
|
10753
|
+
*/
|
|
10754
|
+
components: RiskComponent[] | Record<string, unknown>;
|
|
10755
|
+
/**
|
|
10756
|
+
* What the scoring pass could **not** measure.
|
|
10725
10757
|
*
|
|
10726
|
-
*
|
|
10727
|
-
*
|
|
10728
|
-
*
|
|
10729
|
-
*
|
|
10730
|
-
*
|
|
10758
|
+
* **Absent is not empty.** Absent means the snapshot predates the field and
|
|
10759
|
+
* nothing is known about what it measured; present with empty lists means
|
|
10760
|
+
* every component the model has was measured. Rendering the first as the
|
|
10761
|
+
* second tells a merchant their band rests on a complete picture when
|
|
10762
|
+
* nobody said so.
|
|
10731
10763
|
*/
|
|
10732
|
-
|
|
10764
|
+
unmeasured?: RiskUnmeasured | null;
|
|
10765
|
+
}
|
|
10766
|
+
/**
|
|
10767
|
+
* One scored signal behind a connector's risk index.
|
|
10768
|
+
*
|
|
10769
|
+
* The names are the scorer's own. Note in particular that the text a merchant
|
|
10770
|
+
* acts on is `remediation`, and it is a **map keyed by locale** rather than a
|
|
10771
|
+
* string — pick your locale and fall back, and expect an empty map when the
|
|
10772
|
+
* model carries no text for that signal.
|
|
10773
|
+
*/
|
|
10774
|
+
interface RiskComponent {
|
|
10775
|
+
/** The model rule measured: `dispute_rate`, `refund_rate`, `decline_mix`, … */
|
|
10776
|
+
name?: string;
|
|
10777
|
+
/**
|
|
10778
|
+
* Which observation under that name this is — a card-scheme programme, a
|
|
10779
|
+
* currency, a velocity dimension. Absent when the signal emits exactly one.
|
|
10780
|
+
*/
|
|
10781
|
+
dimension?: string | null;
|
|
10782
|
+
/** The plain count behind the rate, whatever weighting was applied. */
|
|
10783
|
+
numerator?: number;
|
|
10784
|
+
denominator?: number;
|
|
10785
|
+
/** What the numerator counted for, when the trials did not all count fully. */
|
|
10786
|
+
weighted_numerator?: number | null;
|
|
10787
|
+
/**
|
|
10788
|
+
* What the two numbers are: `{ type: 'proportion' }`, `{ type: 'ratio', … }`
|
|
10789
|
+
* or `{ type: 'baseline', … }`. Open, because a model may add a measure.
|
|
10790
|
+
*/
|
|
10791
|
+
measure?: {
|
|
10792
|
+
type?: string;
|
|
10793
|
+
[key: string]: unknown;
|
|
10794
|
+
};
|
|
10795
|
+
/** The count the minimum-volume floor judged. */
|
|
10796
|
+
observations?: number;
|
|
10797
|
+
/**
|
|
10798
|
+
* The rate to show a merchant — what happened.
|
|
10799
|
+
*
|
|
10800
|
+
* Show this one. `confident_rate` is the statistically conservative figure
|
|
10801
|
+
* the index was built from, and a merchant cannot reproduce it from their
|
|
10802
|
+
* own reports.
|
|
10803
|
+
*/
|
|
10804
|
+
observed_rate?: number;
|
|
10805
|
+
/** The rate that was scored: a lower confidence bound for a proportion. */
|
|
10806
|
+
confident_rate?: number;
|
|
10807
|
+
/** The connector's published threshold this rate is judged against. */
|
|
10808
|
+
threshold?: number;
|
|
10809
|
+
/** The weight the index used: the rule's weight times its class weight. */
|
|
10810
|
+
weight?: number;
|
|
10811
|
+
/** The rule's own weight, before the class weight. */
|
|
10812
|
+
component_weight?: number | null;
|
|
10813
|
+
/** The signal class this rule belongs to, and that class's weight. */
|
|
10814
|
+
class?: string | null;
|
|
10815
|
+
class_weight?: number | null;
|
|
10816
|
+
/**
|
|
10817
|
+
* What the merchant can do about it, keyed by locale (`en`, `de`, …).
|
|
10818
|
+
*
|
|
10819
|
+
* Copied from the scoring model at the time of the score, so an explanation
|
|
10820
|
+
* of an old snapshot still reads as the model of that day stated it.
|
|
10821
|
+
*/
|
|
10822
|
+
remediation?: Record<string, string>;
|
|
10823
|
+
/** The rate normalised against the threshold, before capping. */
|
|
10824
|
+
normalised?: number;
|
|
10825
|
+
/** Whether the normalised value hit the cap. */
|
|
10826
|
+
capped?: boolean;
|
|
10827
|
+
/**
|
|
10828
|
+
* Whether this signal counted toward the index at all.
|
|
10829
|
+
*
|
|
10830
|
+
* A signal can be scored and still not count — the volume floor refused it.
|
|
10831
|
+
* Rendering every component as contributing states something the index does
|
|
10832
|
+
* not.
|
|
10833
|
+
*/
|
|
10834
|
+
counted?: boolean;
|
|
10835
|
+
/** A newer scoring model may add fields; they arrive here rather than being dropped. */
|
|
10836
|
+
[key: string]: unknown;
|
|
10837
|
+
}
|
|
10838
|
+
/** The signals a scoring pass could not judge. */
|
|
10839
|
+
interface RiskUnmeasured {
|
|
10840
|
+
/** Rules whose observations fell below the minimum-volume floor. */
|
|
10841
|
+
skipped_for_volume?: string[];
|
|
10842
|
+
/** Rules with observations but nothing to compare against. */
|
|
10843
|
+
skipped_without_baseline?: string[];
|
|
10733
10844
|
}
|
|
10734
10845
|
/** One shop's stored risk, per connector. */
|
|
10735
10846
|
interface ShopRisk {
|
|
@@ -17478,34 +17589,6 @@ interface CheckoutSessionOptions {
|
|
|
17478
17589
|
debug?: boolean;
|
|
17479
17590
|
logger?: DelopayLogger;
|
|
17480
17591
|
}
|
|
17481
|
-
/**
|
|
17482
|
-
* Buyer-side client for a single hosted-checkout payment.
|
|
17483
|
-
*
|
|
17484
|
-
* Binds the two browser-safe credentials once — the merchant's publishable
|
|
17485
|
-
* key and the payment's client secret — and sends each request with exactly
|
|
17486
|
-
* the credential its route expects:
|
|
17487
|
-
*
|
|
17488
|
-
* - `/payment-link/*` side-channel routes authenticate with
|
|
17489
|
-
* `Authorization: Bearer <client_secret>`.
|
|
17490
|
-
* - `/payments/*` and `/payment-methods` authenticate with the publishable
|
|
17491
|
-
* key in the `api-key` header, with the client secret as query parameter
|
|
17492
|
-
* or body field.
|
|
17493
|
-
*
|
|
17494
|
-
* Neither credential can reach a secret-key route: the publishable key is
|
|
17495
|
-
* typed to the `pk_` prefix and the client secret only ever leaves as a
|
|
17496
|
-
* bearer token / parameter, never as an `api-key`.
|
|
17497
|
-
*
|
|
17498
|
-
* @example
|
|
17499
|
-
* ```typescript
|
|
17500
|
-
* const session = new CheckoutSession({
|
|
17501
|
-
* merchantId: checkout.merchant_id,
|
|
17502
|
-
* paymentId: checkout.payment_id,
|
|
17503
|
-
* publishableKey: checkout.pub_key,
|
|
17504
|
-
* clientSecret: checkout.client_secret,
|
|
17505
|
-
* });
|
|
17506
|
-
* const catalog = await session.epayoutsMethods('de');
|
|
17507
|
-
* ```
|
|
17508
|
-
*/
|
|
17509
17592
|
declare class CheckoutSession {
|
|
17510
17593
|
private readonly client;
|
|
17511
17594
|
private readonly merchantId;
|
|
@@ -17589,10 +17672,25 @@ declare class CheckoutSession {
|
|
|
17589
17672
|
* away (a redirect rail); browsers refuse keepalive bodies over ~64 KiB, so
|
|
17590
17673
|
* only a small final slice should carry it.
|
|
17591
17674
|
*
|
|
17675
|
+
* Pass `compress: true` to send the slice gzipped. Recorded page events
|
|
17676
|
+
* compress heavily, so this is mostly a saving on the buyer's connection. It
|
|
17677
|
+
* is opt-in and degrades silently: a runtime without `CompressionStream`
|
|
17678
|
+
* sends the same slice uncompressed rather than failing, so a caller never
|
|
17679
|
+
* has to feature-test before asking for it.
|
|
17680
|
+
*
|
|
17681
|
+
* ⚠️ `keepalive` overrides it. Compressing means awaiting a stream read
|
|
17682
|
+
* before the request is made, and `keepalive` protects a request only once
|
|
17683
|
+
* it has been initiated — so a page torn down mid-compression would drop the
|
|
17684
|
+
* final slice altogether. A slice sent with `keepalive` therefore always
|
|
17685
|
+
* travels uncompressed, whatever `compress` says. Passing both is allowed and
|
|
17686
|
+
* is what a recorder should do: every ordinary slice compresses, and the last
|
|
17687
|
+
* one is sent the way that actually arrives.
|
|
17688
|
+
*
|
|
17592
17689
|
* `POST /payments/{paymentId}/replay/slice` (publishable key)
|
|
17593
17690
|
*/
|
|
17594
17691
|
storeReplaySlice(params: Omit<ReplayIngestRequest, 'client_secret'>, options?: RequestExtras & {
|
|
17595
17692
|
keepalive?: boolean;
|
|
17693
|
+
compress?: boolean;
|
|
17596
17694
|
}): Promise<ReplayIngestResponse>;
|
|
17597
17695
|
/**
|
|
17598
17696
|
* Confirm a subscription (PayPal approval rail). The client secret is
|
|
@@ -18264,4 +18362,4 @@ declare const decodeNativePanes: typeof decodePanes;
|
|
|
18264
18362
|
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
18265
18363
|
declare const encodeNativePanes: typeof encodePanes;
|
|
18266
18364
|
|
|
18267
|
-
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, APPLE_PAY_BUTTON_STYLES, APPLE_PAY_BUTTON_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AdoptSubscriptionRequest, type AdoptSubscriptionResponse, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, 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 AnalyticsExclusionKind, type AnalyticsExclusionRequest, type AnalyticsExclusionResponse, type AnalyticsExclusionSurface, type AnalyticsExclusionsResponse, 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 ApplePayButtonStyle, type ApplePayButtonType, 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, type AvailableCheckoutMethod, 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 BrowserInfoScopeSetting, type BuiltInRegionGroupResponse, type BulkCreateProcessorCostSchedulesRequest, type BusinessPaymentLinkConfig, CARD_FIELD_CHROMES, CARD_FIELD_FONT_SIZES, CARD_FIELD_WEIGHTS, CARD_FOCUS_RINGS, 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 CardFieldChrome, type CardFieldFontSize, type CardFieldWeight, type CardFocusRing, type CardIssuingCountryEnforcement, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutBrowserInfoScopeResponse, type CheckoutCustomField, type CheckoutDataResponse, type CheckoutEventKind, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodView, type CheckoutMethodVisibility, CheckoutMethods, type CheckoutMethodsResetResponse, type CheckoutMethodsResponse, type CheckoutMethodsUpdateRequest, type CheckoutMethodsView, type CheckoutNotice, 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 CheckoutWalletButtonColor, type CheckoutWalletButtonType, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapUnit, type ConnectorCapWindow, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthCheck, type ConnectorHealthCheckStatus, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSandboxMechanism, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, CostRules, type CreateAndConfirmSubscriptionRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, 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 CustomerListResponse, type CustomerListWithCountParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, DEFAULT_NOTICES, 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 DisputeRefundAssociation, type DisputeRefundAssociationRequest, type DisputeRefundAssociationsResponse, type DisputeRefundDeclaration, type DisputeResponse, type DisputeStage, type DisputeStatus, type DisputeWorkspaceAggregate, type DisputeWorkspaceExport, type DisputeWorkspaceFilters, type DisputeWorkspaceRequest, type DisputeWorkspaceResponse, type DisputeWorkspaceRow, type DownloadProgressEvent, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type DynamicWorkspaceExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsOptions, type EpayoutsMethodsResponse, type EpayoutsPaypalCaptureReport, type EpayoutsPaypalCaptureRequest, type EpayoutsPaypalCaptureResponse, type EpayoutsPaypalCaptureStatus, type EpayoutsPaypalFundingSource, type EpayoutsPaypalOrderResponse, type EpayoutsPaypalProgressReport, 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 EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, type ExportPhase, type ExportPresentation, type ExportPresentationFilter, type ExportProgress, type ExportReportWord, type ExportTransferOptions, type ExternalRecordCapabilities, type ExternalRecordCreateSupport, type ExternalRecordKindCapability, type ExternalRecordMarker, type ExternalRecordRequest, type ExternalRecordResource, type ExternalRecordResponse, type ExternalRecordTarget, ExternalRecords, 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, GOOGLE_PAY_BUTTON_COLORS, GOOGLE_PAY_BUTTON_TYPES, 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 GooglePayButtonColor, type GooglePayButtonType, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type IpCountryEnforcement, type IpCountryResolution, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LifecycleDetails, type LifecycleWebhook, 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 ManualTriggerEventType, 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 MerchantCheckoutBrowserInfoResponse, type MerchantConnectorInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantCostRuleCategory, type MerchantCostRuleDeleteResponse, type MerchantCostRuleResponse, 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, NOMUPAY_FORM_STYLES, NOTICES_PER_SECTION, NOTICE_ICONS, NOTICE_ICON_FALLBACK, NOTICE_ICON_PATHS, NOTICE_LABEL_MAX_LENGTH, NOTICE_SECTIONS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NativeSettlementAccountFees, type NativeSettlementFeeBasis, type NativeSettlementFeeComponent, type NativeSettlementFeeEvidence, type NativeSettlementFeeRefreshRequest, type NativeSettlementFeeRefreshResponse, type NativeSettlementFeeTerm, type NativeSettlementListRequest, type NativeSettlementPayout, type NativeSettlementPayoutCreateRequest, type NativeSettlementPayoutListResponse, type NativeSettlementPdfRequest, type NativeSettlementPreviewRequest, type NativeSettlementPreviewResponse, type NativeSettlementQuality, type NativeSettlementReport, type NativeSettlementReportCreateRequest, type NativeSettlementReportExport, type NativeSettlementReportListResponse, type NativeSettlementReportSummary, type NativeSettlementSource, type NativeSettlementTotals, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, 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, PAYPAL_CARD_LAYOUTS, PAYPAL_LABEL_STYLES, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, 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 PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkDetails, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkStatusDetails, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListFiltersExt, 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 PaymentRoutingDecisionsResponse, 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 PaypalCardLayout, type PaypalDisputeAction, type PaypalDisputeActionRecord, type PaypalDisputeActionRequest, type PaypalDisputeActionResponse, type PaypalDisputeCase, type PaypalDisputeDocument, type PaypalDisputeDownloadRequest, type PaypalDisputeImportRequest, type PaypalDisputeImportResponse, type PaypalDisputeListRequest, PaypalDisputes, type PaypalLabelStyle, type PdfExportOptions, 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 ProcessorCostEstimateBasis, type ProcessorCostEventBucket, type ProcessorCostEventSource, type ProcessorCostEventTerm, type ProcessorCostEventsRequest, type ProcessorCostEventsResponse, type ProcessorCostMethodBucket, type ProcessorCostNativeBucket, type ProcessorCostPeriodBucket, type ProcessorCostPeriodRequest, type ProcessorCostPeriodResponse, type ProcessorCostScheduleResponse, type ProcessorCostSource, ProcessorCosts, type ProcessorFeeMovement, type ProcessorSlice, type ProductAliasKind, type ProductAliasResponse, type ProductConnectorReferenceResponse, type ProductCreateRequest, type ProductKind, type ProductListParams, type ProductListResponse, type ProductMappingMode, type ProductPriceCreateRequest, type ProductPriceInterval, type ProductPriceResponse, type ProductPriceUpdateRequest, type ProductResponse, type ProductStatus, type ProductUpdateRequest, Products, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, 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 ReplaceProcessorCostScheduleRequest, type ReplayIngestRequest, type ReplayIngestResponse, type ReplayPlaybackResponse, type ReplaySliceInfo, type ReplaySliceResponse, 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 RoutingApproach, type RoutingApproachFilter, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorAmountCap, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingConnectorPaymentCap, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, 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_INPUT_STYLES, STRIPE_LABEL_PLACEMENTS, STRIPE_NATIVE_PANE_METHODS, STRIPE_SPACINGS, STRIPE_THEMES, 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 ScopeDrillCohort, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, type SellToRestrictionCapabilitiesResponse, type SellToRestrictionDecisionResponse, type SellToRestrictionDecisionsResponse, type SellToRestrictionPolicy, type SellToRestrictionPolicyRequest, type SellToRestrictionRail, type SellToRestrictionRailCapability, type SellToRestrictionSignal, type SellToRestrictionSource, type SellToRestrictionStage, SellToRestrictions, type SellToRestrictionsResponse, type SetUserPreferenceRequest, Settlement, type SettlementAdvanceListRequest, type SettlementAdvanceListResponse, 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 ShopSellToRestriction, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type ShownNotice, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementAdvance, type StatementAdvanceRecordRequest, type StatementGenerateRequest, type StatementPayout, type StatementPayoutListResponse, type StatementPayoutRecordRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeHostedConfirmDecline, type StripeHostedConfirmRequest, type StripeHostedConfirmResponse, type StripeInputStyle, type StripeLabelPlacement, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type StripeSpacing, type StripeTheme, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDisputeWebhook, 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 SubscriptionLifecycleEventType, 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, type SubscriptionWebhookContent, 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 TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserPreferenceResponse, 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 WebhookContent, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, cardFieldFontPx, cardFieldWeightValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, cloneNotice, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodeNotices, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultNotices, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodeNotices, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isDefaultBadgeSet, isHexColor, isNoticeIcon, isSubscriptionDisputeWebhook, isSubscriptionLifecycleWebhook, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, noticeText, noticesIn, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, parseNoticesLoose, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, resolveApplePayButtonStyle, resolveGooglePayButtonColor, resolveNoticesAndBadges, resolveStripeTheme, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, shownNotices, stripeSpacingValues, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
|
18365
|
+
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, APPLE_PAY_BUTTON_STYLES, APPLE_PAY_BUTTON_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AdoptSubscriptionRequest, type AdoptSubscriptionResponse, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, 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 AnalyticsExclusionKind, type AnalyticsExclusionRequest, type AnalyticsExclusionResponse, type AnalyticsExclusionSurface, type AnalyticsExclusionsResponse, 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 ApplePayButtonStyle, type ApplePayButtonType, 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, type AvailableCheckoutMethod, 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 BrowserInfoScopeSetting, type BuiltInRegionGroupResponse, type BulkCreateProcessorCostSchedulesRequest, type BusinessPaymentLinkConfig, CARD_FIELD_CHROMES, CARD_FIELD_FONT_SIZES, CARD_FIELD_WEIGHTS, CARD_FOCUS_RINGS, 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 CardFieldChrome, type CardFieldFontSize, type CardFieldWeight, type CardFocusRing, type CardIssuingCountryEnforcement, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutBrowserInfoScopeResponse, type CheckoutCustomField, type CheckoutDataResponse, type CheckoutEventKind, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodView, type CheckoutMethodVisibility, CheckoutMethods, type CheckoutMethodsResetResponse, type CheckoutMethodsResponse, type CheckoutMethodsUpdateRequest, type CheckoutMethodsView, type CheckoutNotice, 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 CheckoutWalletButtonColor, type CheckoutWalletButtonType, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapUnit, type ConnectorCapWindow, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthCheck, type ConnectorHealthCheckStatus, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSandboxMechanism, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, CostRules, type CreateAndConfirmSubscriptionRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, 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 CustomerListResponse, type CustomerListWithCountParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, DEFAULT_NOTICES, 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 DisputeRefundAssociation, type DisputeRefundAssociationRequest, type DisputeRefundAssociationsResponse, type DisputeRefundDeclaration, type DisputeResponse, type DisputeStage, type DisputeStatus, type DisputeWorkspaceAggregate, type DisputeWorkspaceExport, type DisputeWorkspaceFilters, type DisputeWorkspaceRequest, type DisputeWorkspaceResponse, type DisputeWorkspaceRow, type DownloadProgressEvent, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type DynamicWorkspaceExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsOptions, type EpayoutsMethodsResponse, type EpayoutsPaypalCaptureReport, type EpayoutsPaypalCaptureRequest, type EpayoutsPaypalCaptureResponse, type EpayoutsPaypalCaptureStatus, type EpayoutsPaypalFundingSource, type EpayoutsPaypalOrderResponse, type EpayoutsPaypalProgressReport, 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 EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, type ExportPhase, type ExportPresentation, type ExportPresentationFilter, type ExportProgress, type ExportReportWord, type ExportTransferOptions, type ExternalRecordCapabilities, type ExternalRecordCreateSupport, type ExternalRecordEnvironment, type ExternalRecordKindCapability, type ExternalRecordMarker, type ExternalRecordRequest, type ExternalRecordResource, type ExternalRecordResponse, type ExternalRecordTarget, ExternalRecords, 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, GOOGLE_PAY_BUTTON_COLORS, GOOGLE_PAY_BUTTON_TYPES, 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 GooglePayButtonColor, type GooglePayButtonType, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type IpCountryEnforcement, type IpCountryResolution, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LifecycleDetails, type LifecycleWebhook, 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 ManualTriggerEventType, 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 MerchantCheckoutBrowserInfoResponse, type MerchantConnectorInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantCostRuleCategory, type MerchantCostRuleDeleteResponse, type MerchantCostRuleResponse, 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, NOMUPAY_FORM_STYLES, NOTICES_PER_SECTION, NOTICE_ICONS, NOTICE_ICON_FALLBACK, NOTICE_ICON_PATHS, NOTICE_LABEL_MAX_LENGTH, NOTICE_SECTIONS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NativeSettlementAccountFees, type NativeSettlementFeeBasis, type NativeSettlementFeeComponent, type NativeSettlementFeeEvidence, type NativeSettlementFeeRefreshRequest, type NativeSettlementFeeRefreshResponse, type NativeSettlementFeeTerm, type NativeSettlementListRequest, type NativeSettlementPayout, type NativeSettlementPayoutCreateRequest, type NativeSettlementPayoutListResponse, type NativeSettlementPdfRequest, type NativeSettlementPreviewRequest, type NativeSettlementPreviewResponse, type NativeSettlementQuality, type NativeSettlementReport, type NativeSettlementReportCreateRequest, type NativeSettlementReportExport, type NativeSettlementReportListResponse, type NativeSettlementReportSummary, type NativeSettlementSource, type NativeSettlementTotals, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, 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, PAYPAL_CARD_LAYOUTS, PAYPAL_LABEL_STYLES, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, 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 PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkDetails, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkStatusDetails, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListFiltersExt, 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 PaymentRoutingDecisionsResponse, 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 PaypalCardLayout, type PaypalDisputeAction, type PaypalDisputeActionRecord, type PaypalDisputeActionRequest, type PaypalDisputeActionResponse, type PaypalDisputeCase, type PaypalDisputeDocument, type PaypalDisputeDownloadRequest, type PaypalDisputeImportRequest, type PaypalDisputeImportResponse, type PaypalDisputeListRequest, PaypalDisputes, type PaypalLabelStyle, type PdfExportOptions, 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 ProcessorCostEstimateBasis, type ProcessorCostEventBucket, type ProcessorCostEventSource, type ProcessorCostEventTerm, type ProcessorCostEventsRequest, type ProcessorCostEventsResponse, type ProcessorCostMethodBucket, type ProcessorCostNativeBucket, type ProcessorCostPeriodBucket, type ProcessorCostPeriodRequest, type ProcessorCostPeriodResponse, type ProcessorCostScheduleResponse, type ProcessorCostSource, ProcessorCosts, type ProcessorFeeMovement, type ProcessorSlice, type ProductAliasKind, type ProductAliasResponse, type ProductConnectorReferenceResponse, type ProductCreateRequest, type ProductKind, type ProductListParams, type ProductListResponse, type ProductMappingMode, type ProductPriceCreateRequest, type ProductPriceInterval, type ProductPriceResponse, type ProductPriceUpdateRequest, type ProductResponse, type ProductStatus, type ProductUpdateRequest, Products, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, 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 ReplaceProcessorCostScheduleRequest, type ReplayIngestRequest, type ReplayIngestResponse, type ReplayPlaybackResponse, type ReplaySliceInfo, type ReplaySliceResponse, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RiskComponent, type RiskUnmeasured, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingApproachFilter, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorAmountCap, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingConnectorPaymentCap, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, 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_INPUT_STYLES, STRIPE_LABEL_PLACEMENTS, STRIPE_NATIVE_PANE_METHODS, STRIPE_SPACINGS, STRIPE_THEMES, 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 ScopeDrillCohort, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, type SellToRestrictionCapabilitiesResponse, type SellToRestrictionDecisionResponse, type SellToRestrictionDecisionsResponse, type SellToRestrictionPolicy, type SellToRestrictionPolicyRequest, type SellToRestrictionRail, type SellToRestrictionRailCapability, type SellToRestrictionSignal, type SellToRestrictionSource, type SellToRestrictionStage, SellToRestrictions, type SellToRestrictionsResponse, type SetUserPreferenceRequest, Settlement, type SettlementAdvanceListRequest, type SettlementAdvanceListResponse, 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 ShopSellToRestriction, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type ShownNotice, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementAdvance, type StatementAdvanceRecordRequest, type StatementGenerateRequest, type StatementPayout, type StatementPayoutListResponse, type StatementPayoutRecordRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeHostedConfirmDecline, type StripeHostedConfirmRequest, type StripeHostedConfirmResponse, type StripeInputStyle, type StripeLabelPlacement, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type StripeSpacing, type StripeTheme, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDisputeWebhook, 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 SubscriptionLifecycleEventType, 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, type SubscriptionWebhookContent, 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 TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserPreferenceResponse, 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 WebhookContent, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, cardFieldFontPx, cardFieldWeightValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, cloneNotice, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodeNotices, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultNotices, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodeNotices, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isDefaultBadgeSet, isHexColor, isNoticeIcon, isSubscriptionDisputeWebhook, isSubscriptionLifecycleWebhook, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, noticeText, noticesIn, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, parseNoticesLoose, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, resolveApplePayButtonStyle, resolveGooglePayButtonColor, resolveNoticesAndBadges, resolveStripeTheme, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, shownNotices, stripeSpacingValues, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
package/dist/index.js
CHANGED
package/dist/internal.cjs
CHANGED
|
@@ -9473,6 +9473,18 @@ function withoutHeader(headers, name) {
|
|
|
9473
9473
|
}
|
|
9474
9474
|
return out;
|
|
9475
9475
|
}
|
|
9476
|
+
async function gzipJson(value) {
|
|
9477
|
+
const ctor = globalThis.CompressionStream;
|
|
9478
|
+
if (typeof ctor !== "function") return null;
|
|
9479
|
+
try {
|
|
9480
|
+
const bytes = new TextEncoder().encode(JSON.stringify(value));
|
|
9481
|
+
return await new Response(
|
|
9482
|
+
new Blob([bytes]).stream().pipeThrough(new ctor("gzip"))
|
|
9483
|
+
).arrayBuffer();
|
|
9484
|
+
} catch {
|
|
9485
|
+
return null;
|
|
9486
|
+
}
|
|
9487
|
+
}
|
|
9476
9488
|
var CheckoutSession = class {
|
|
9477
9489
|
constructor(options) {
|
|
9478
9490
|
this.merchantId = options.merchantId;
|
|
@@ -9624,18 +9636,38 @@ var CheckoutSession = class {
|
|
|
9624
9636
|
* away (a redirect rail); browsers refuse keepalive bodies over ~64 KiB, so
|
|
9625
9637
|
* only a small final slice should carry it.
|
|
9626
9638
|
*
|
|
9639
|
+
* Pass `compress: true` to send the slice gzipped. Recorded page events
|
|
9640
|
+
* compress heavily, so this is mostly a saving on the buyer's connection. It
|
|
9641
|
+
* is opt-in and degrades silently: a runtime without `CompressionStream`
|
|
9642
|
+
* sends the same slice uncompressed rather than failing, so a caller never
|
|
9643
|
+
* has to feature-test before asking for it.
|
|
9644
|
+
*
|
|
9645
|
+
* ⚠️ `keepalive` overrides it. Compressing means awaiting a stream read
|
|
9646
|
+
* before the request is made, and `keepalive` protects a request only once
|
|
9647
|
+
* it has been initiated — so a page torn down mid-compression would drop the
|
|
9648
|
+
* final slice altogether. A slice sent with `keepalive` therefore always
|
|
9649
|
+
* travels uncompressed, whatever `compress` says. Passing both is allowed and
|
|
9650
|
+
* is what a recorder should do: every ordinary slice compresses, and the last
|
|
9651
|
+
* one is sent the way that actually arrives.
|
|
9652
|
+
*
|
|
9627
9653
|
* `POST /payments/{paymentId}/replay/slice` (publishable key)
|
|
9628
9654
|
*/
|
|
9629
9655
|
async storeReplaySlice(params, options) {
|
|
9630
|
-
const { keepalive, ...extras } = options ?? {};
|
|
9656
|
+
const { keepalive, compress, ...extras } = options ?? {};
|
|
9657
|
+
const body = { ...params, client_secret: this.requireClientSecret() };
|
|
9658
|
+
const headers = this.pkHeaders(extras.headers);
|
|
9659
|
+
const gzipped = compress === true && keepalive !== true ? await gzipJson(body) : null;
|
|
9631
9660
|
return this.client.request(
|
|
9632
9661
|
"POST",
|
|
9633
9662
|
`/payments/${encodeURIComponent(this.paymentId)}/replay/slice`,
|
|
9634
9663
|
{
|
|
9635
|
-
body:
|
|
9664
|
+
body: gzipped ?? body,
|
|
9636
9665
|
...keepalive !== void 0 ? { keepalive } : {},
|
|
9637
9666
|
...extras,
|
|
9638
|
-
|
|
9667
|
+
// `Content-Type` has to be stated for the compressed body: the client
|
|
9668
|
+
// only sets it for a body it serialises itself, and the bytes are
|
|
9669
|
+
// still JSON — gzip is how they travel, not what they are.
|
|
9670
|
+
headers: gzipped === null ? headers : { ...headers, "Content-Type": "application/json", "Content-Encoding": "gzip" }
|
|
9639
9671
|
}
|
|
9640
9672
|
);
|
|
9641
9673
|
}
|