@delopay/sdk 0.132.0 → 0.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -29,9 +29,31 @@ type ApiKeyExpiration = 'never' | string;
29
29
  type AuthenticationStatus = 'started' | 'pending' | 'success' | 'failed';
30
30
  type MandateType = 'single_use' | 'multi_use';
31
31
  type MerchantAccountType = 'standard' | 'platform' | 'connected';
32
- type EventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' | 'payment_cancelled' | 'payment_cancelled_post_capture' | 'payment_authorized' | 'payment_partially_authorized' | 'payment_captured' | 'payment_expired' | 'action_required' | 'refund_succeeded' | 'refund_failed' | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid';
32
+ /**
33
+ * The event types `events.trigger()` accepts (be#318).
34
+ *
35
+ * Firing an event by hand works by overwriting the payload's `status`, so it
36
+ * is defined only where the object HAS a status a shop's order state keys off:
37
+ * payment intents and refunds. The endpoint refuses everything else with a
38
+ * 400, so this is the wire contract, not a convenience narrowing.
39
+ *
40
+ * `EventType` is built from this union rather than repeating its members, so
41
+ * the two cannot drift apart.
42
+ */
43
+ type ManualTriggerEventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' | 'payment_cancelled' | 'payment_cancelled_post_capture' | 'payment_authorized' | 'payment_partially_authorized' | 'payment_captured' | 'payment_expired' | 'action_required' | 'refund_succeeded' | 'refund_failed';
44
+ type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid';
33
45
  type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions';
34
- type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry';
46
+ type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry'
47
+ /**
48
+ * An event a dashboard operator fired by hand (be#318).
49
+ *
50
+ * Not a replay. `manual_retry` redelivers the recorded bytes of an event the
51
+ * router produced; this is a brand-new event whose payload status was forced
52
+ * to agree with the chosen event type, so it may assert a state DeloPay's own
53
+ * records contradict. Treat it as an assertion by a person, never as evidence
54
+ * of what the object did.
55
+ */
56
+ | 'manual_trigger';
35
57
  /**
36
58
  * Why DeloPay stopped delivering an event.
37
59
  *
@@ -1143,6 +1165,22 @@ interface PaneView {
1143
1165
  payment_method_type?: string | null;
1144
1166
  /** Redirect rail only — echo verbatim on confirm, never derive. */
1145
1167
  payment_method_data?: Record<string, unknown> | null;
1168
+ /**
1169
+ * The shipped look the merchant chose for this tile (`paypal`, `card`),
1170
+ * present only when the router knows it for the method. Draw the preset's
1171
+ * `style` in place of the icon-and-text tile; absent → draw `icon` /
1172
+ * `icon_svg`.
1173
+ */
1174
+ preset?: string | null;
1175
+ /** The resolved style of `preset` (`native`, `yellow_button`, `mc_visa`, `two_line`, …). */
1176
+ style?: string | null;
1177
+ /**
1178
+ * Metadata the confirm for this pane must carry — merge it into the
1179
+ * confirm's `metadata`. An aggregator's pane names its vendor here
1180
+ * (`payment_type`) and the instrument the pane stands for (`payment_pane`);
1181
+ * absent on every other connector.
1182
+ */
1183
+ confirm_metadata?: Record<string, unknown> | null;
1146
1184
  /**
1147
1185
  * The confirm body needs the buyer's country: merged into
1148
1186
  * `billing.address.country` and echoed into the single `payment_method_data`
@@ -2385,6 +2423,18 @@ interface EphemeralKeyCreateResponse {
2385
2423
  expires: number;
2386
2424
  secret: string;
2387
2425
  }
2426
+ /** Provider-hosted card form configuration from `PaymentLinkDetails.nomupay_oppwa`. */
2427
+ interface NomupayOppwaCheckoutData {
2428
+ checkout_id: string;
2429
+ /** Per-checkout Subresource Integrity value returned by OPPWA. */
2430
+ integrity: string;
2431
+ /** Server-selected widget URL; preserve its test or live host. */
2432
+ widget_url: string;
2433
+ /** DeloPay return endpoint used as the COPYandPAY form action. */
2434
+ shopper_result_url: string;
2435
+ /** OPPWA identifiers for the form's `data-brands` attribute. */
2436
+ brands: string[];
2437
+ }
2388
2438
  interface PaymentLinkResponse {
2389
2439
  link: string;
2390
2440
  payment_link_id: string;
@@ -4114,6 +4164,15 @@ interface EventListParams {
4114
4164
  event_id?: string | null;
4115
4165
  profile_id?: string | null;
4116
4166
  event_classes?: EventClass[] | null;
4167
+ event_types?: EventType[] | null;
4168
+ /** Filter on whether the webhook was ultimately delivered. */
4169
+ is_delivered?: boolean | null;
4170
+ /**
4171
+ * Filter on how the delivery was produced. Empty or absent means no
4172
+ * filtering; naming any kind excludes events written before the column
4173
+ * existed, whose kind is unknown.
4174
+ */
4175
+ delivery_attempts?: WebhookDeliveryAttempt[] | null;
4117
4176
  }
4118
4177
  interface EventResponse {
4119
4178
  event_id: string;
@@ -4124,6 +4183,13 @@ interface EventResponse {
4124
4183
  event_class: EventClass;
4125
4184
  initial_attempt_id: string;
4126
4185
  created: string;
4186
+ /**
4187
+ * How this delivery was produced. Present on the list as well as the detail,
4188
+ * so a hand-fired `manual_trigger` event — the one event whose payload is an
4189
+ * assertion rather than an observation — is recognisable without opening it.
4190
+ * `null` on events written before the column existed.
4191
+ */
4192
+ delivery_attempt?: WebhookDeliveryAttempt | null;
4127
4193
  is_delivery_successful?: boolean | null;
4128
4194
  delivery_terminal_reason?: WebhookDeliveryTerminalReason | null;
4129
4195
  latest_attempt_id?: string | null;
@@ -4142,9 +4208,42 @@ interface EventDetailResponse extends EventResponse {
4142
4208
  delivery_attempt?: WebhookDeliveryAttempt | null;
4143
4209
  }
4144
4210
  interface EventListResponse {
4145
- data: EventResponse[];
4211
+ events: EventResponse[];
4146
4212
  total_count?: number | null;
4147
4213
  }
4214
+ /**
4215
+ * Fire an outgoing webhook event by hand for one object (be#318).
4216
+ *
4217
+ * Not a replay: the payload is built from the object's current record and its
4218
+ * status is then **overwritten** to agree with `event_type`. The object's own
4219
+ * state is neither checked nor changed, so this can tell a shop that a payment
4220
+ * succeeded which DeloPay records as failed.
4221
+ */
4222
+ interface EventManualTriggerRequest {
4223
+ /** Payment Intent ID for a payments event, Refund ID for a refunds event. */
4224
+ object_id: string;
4225
+ /**
4226
+ * The event type to fire. The payload's status is forced to match it.
4227
+ *
4228
+ * Narrowed to {@link ManualTriggerEventType}: a dispute, mandate, payout or
4229
+ * subscription event has no status this operation can assert, and the
4230
+ * endpoint rejects it.
4231
+ */
4232
+ event_type: ManualTriggerEventType;
4233
+ /** Ignored for a shop-scoped caller, who is pinned to their own shop. */
4234
+ profile_id?: string | null;
4235
+ /** Why it was fired. Required, and recorded on the payload and the timeline. */
4236
+ reason: string;
4237
+ }
4238
+ interface EventManualTriggerResponse extends EventDetailResponse {
4239
+ /** The status the object actually held in DeloPay's records when fired. */
4240
+ object_status?: string | null;
4241
+ /**
4242
+ * `true` when the forced payload status differs from `object_status` — the
4243
+ * merchant has been told something DeloPay's own records contradict.
4244
+ */
4245
+ status_overridden: boolean;
4246
+ }
4148
4247
  interface EventDeliveryAttemptResponse {
4149
4248
  attempt_id: string;
4150
4249
  status: string;
@@ -7604,6 +7703,17 @@ type EpayoutsRail = {
7604
7703
  kind: 'bank_redirect';
7605
7704
  pmt: string;
7606
7705
  data_variant: string;
7706
+ } | {
7707
+ kind: 'wallet';
7708
+ pmt: string;
7709
+ data_variant: string;
7710
+ } | {
7711
+ kind: 'bank_transfer';
7712
+ pmt: string;
7713
+ data_variant: string;
7714
+ } | {
7715
+ kind: 'voucher';
7716
+ pmt: string;
7607
7717
  };
7608
7718
  interface EpayoutsCatalogEntry {
7609
7719
  vendor_code: string;
@@ -7792,6 +7902,17 @@ interface PaneCapability {
7792
7902
  * router would ignore.
7793
7903
  */
7794
7904
  supports_native_element?: boolean;
7905
+ /**
7906
+ * The shipped presets this method may draw with, each with its styles in
7907
+ * picker order (the first is the default). Empty when the checkout has no
7908
+ * preset for the method. Absent on an older router.
7909
+ */
7910
+ presets?: PanePresetCapability[];
7911
+ }
7912
+ /** One preset a pane method may draw with. */
7913
+ interface PanePresetCapability {
7914
+ key: string;
7915
+ styles: string[];
7795
7916
  }
7796
7917
  /** What one connector can publish as panes. */
7797
7918
  interface PanesConnectorCatalog {
@@ -8401,11 +8522,6 @@ declare class Connectors {
8401
8522
  * `GET /account/{accountId}/profile/connectors`
8402
8523
  */
8403
8524
  listByProfile(accountId: string): Promise<ConnectorResponse[]>;
8404
- /**
8405
- * The built-in e-Payouts reference catalog — the "Restore defaults" source.
8406
- * `GET /account/{accountId}/connectors/epayouts/catalog/defaults`
8407
- */
8408
- getEpayoutsCatalogDefaults(accountId: string): Promise<EpayoutsCatalogResponse>;
8409
8525
  /**
8410
8526
  * Every connector's pane capabilities, as the router itself knows them —
8411
8527
  * which rails a connector supports, and which methods it can publish as a
@@ -8820,8 +8936,32 @@ declare class Events {
8820
8936
  list(merchantId: string, params?: EventListParams): Promise<EventListResponse>;
8821
8937
  listDeliveryAttempts(merchantId: string, eventId: string): Promise<EventDeliveryAttemptResponse[]>;
8822
8938
  retryDelivery(merchantId: string, eventId: string): Promise<EventDetailResponse>;
8823
- /** List events (profile-scoped). `POST /events/profile/list` */
8824
- listByProfile(params?: Record<string, unknown>): Promise<EventListResponse>;
8939
+ /**
8940
+ * Fire an outgoing webhook event by hand for one object.
8941
+ * `POST /events/{merchant_id}/trigger` (be#318)
8942
+ *
8943
+ * Not a replay — see {@link EventManualTriggerRequest}. Needs the
8944
+ * `WebhookEventTrigger` permission, which is separate from the one that
8945
+ * authorizes {@link retryDelivery}, and is JWT-only: a forged payload must
8946
+ * be attributable to a person.
8947
+ */
8948
+ trigger(merchantId: string, body: EventManualTriggerRequest): Promise<EventManualTriggerResponse>;
8949
+ /**
8950
+ * List events (profile-scoped). `POST /events/profile/list`
8951
+ *
8952
+ * Takes the same constraints as {@link list} — it is the same endpoint
8953
+ * narrowed to the caller's own shop, so `profile_id` is redundant and
8954
+ * ignored there.
8955
+ */
8956
+ listByProfile(params?: EventListParams): Promise<EventListResponse>;
8957
+ /**
8958
+ * Fire an outgoing webhook event by hand (profile-scoped).
8959
+ * `POST /events/profile/trigger` (be#318)
8960
+ *
8961
+ * The shop-user twin of {@link trigger}; the shop is taken from the auth
8962
+ * context, so `profile_id` on the body is ignored.
8963
+ */
8964
+ triggerByProfile(body: EventManualTriggerRequest): Promise<EventManualTriggerResponse>;
8825
8965
  }
8826
8966
 
8827
8967
  /**
@@ -12762,6 +12902,11 @@ interface Pane {
12762
12902
  * before the field existed decodes to.
12763
12903
  */
12764
12904
  nativeElement: PaneNativeElement;
12905
+ /** A shipped look instead of the icon (`paypal`, `card`); `''` or absent = none.
12906
+ * Optional because a `Pane` built before the field existed must still encode. */
12907
+ preset?: string;
12908
+ /** The preset's style; `''` or absent = the preset's default. */
12909
+ style?: string;
12765
12910
  }
12766
12911
  /**
12767
12912
  * Read a resolved tile's placement rule, across every payload version.
@@ -13171,4 +13316,4 @@ declare const decodeNativePanes: typeof decodePanes;
13171
13316
  /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
13172
13317
  declare const encodeNativePanes: typeof encodePanes;
13173
13318
 
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 };
13319
+ 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 EventManualTriggerRequest, type EventManualTriggerResponse, 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 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 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 NomupayOppwaCheckoutData, 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 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 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
@@ -149,7 +149,7 @@ import {
149
149
  validatePanes,
150
150
  verticalGapValue,
151
151
  visibleCustomFields
152
- } from "./chunk-I2YGFOLA.js";
152
+ } from "./chunk-R4MDAZWF.js";
153
153
  export {
154
154
  ALL_CUSTOM_FIELD_CONDITION_SOURCES,
155
155
  ALL_CUSTOM_FIELD_OPERATORS,
package/dist/internal.cjs CHANGED
@@ -660,16 +660,6 @@ var Connectors = class {
660
660
  async listByProfile(accountId) {
661
661
  return this.request("GET", `/account/${encodeURIComponent(accountId)}/profile/connectors`);
662
662
  }
663
- /**
664
- * The built-in e-Payouts reference catalog — the "Restore defaults" source.
665
- * `GET /account/{accountId}/connectors/epayouts/catalog/defaults`
666
- */
667
- async getEpayoutsCatalogDefaults(accountId) {
668
- return this.request(
669
- "GET",
670
- `/account/${encodeURIComponent(accountId)}/connectors/epayouts/catalog/defaults`
671
- );
672
- }
673
663
  /**
674
664
  * Every connector's pane capabilities, as the router itself knows them —
675
665
  * which rails a connector supports, and which methods it can publish as a
@@ -1240,11 +1230,39 @@ var Events = class {
1240
1230
  `/events/${encodeURIComponent(merchantId)}/${encodeURIComponent(eventId)}/retry`
1241
1231
  );
1242
1232
  }
1233
+ /**
1234
+ * Fire an outgoing webhook event by hand for one object.
1235
+ * `POST /events/{merchant_id}/trigger` (be#318)
1236
+ *
1237
+ * Not a replay — see {@link EventManualTriggerRequest}. Needs the
1238
+ * `WebhookEventTrigger` permission, which is separate from the one that
1239
+ * authorizes {@link retryDelivery}, and is JWT-only: a forged payload must
1240
+ * be attributable to a person.
1241
+ */
1242
+ async trigger(merchantId, body) {
1243
+ return this.request("POST", `/events/${encodeURIComponent(merchantId)}/trigger`, { body });
1244
+ }
1243
1245
  // --- Profile-scoped listing (Task 4.12) ---
1244
- /** List events (profile-scoped). `POST /events/profile/list` */
1246
+ /**
1247
+ * List events (profile-scoped). `POST /events/profile/list`
1248
+ *
1249
+ * Takes the same constraints as {@link list} — it is the same endpoint
1250
+ * narrowed to the caller's own shop, so `profile_id` is redundant and
1251
+ * ignored there.
1252
+ */
1245
1253
  async listByProfile(params) {
1246
1254
  return this.request("POST", "/events/profile/list", { body: params });
1247
1255
  }
1256
+ /**
1257
+ * Fire an outgoing webhook event by hand (profile-scoped).
1258
+ * `POST /events/profile/trigger` (be#318)
1259
+ *
1260
+ * The shop-user twin of {@link trigger}; the shop is taken from the auth
1261
+ * context, so `profile_id` on the body is ignored.
1262
+ */
1263
+ async triggerByProfile(body) {
1264
+ return this.request("POST", "/events/profile/trigger", { body });
1265
+ }
1248
1266
  };
1249
1267
 
1250
1268
  // src/resources/fees.ts
@@ -7560,7 +7578,9 @@ function defaultPane(method, catalog = STRIPE_FALLBACK_PANE_CATALOG) {
7560
7578
  displayOrder: 0,
7561
7579
  visibility: "always",
7562
7580
  openIn: "tab",
7563
- nativeElement: "everywhere"
7581
+ nativeElement: "everywhere",
7582
+ preset: "",
7583
+ style: ""
7564
7584
  };
7565
7585
  }
7566
7586
  function clonePane(pane) {
@@ -7607,7 +7627,9 @@ function decodePanes(raw) {
7607
7627
  visibility: parseVisibility(entry["visibility"]),
7608
7628
  // Same tolerance: an unknown value degrades to the default `tab`.
7609
7629
  openIn: entry["open_in"] === "popup" ? "popup" : "tab",
7610
- nativeElement: parseNativeElement(entry["native_element"])
7630
+ nativeElement: parseNativeElement(entry["native_element"]),
7631
+ preset: str(entry["preset"]),
7632
+ style: str(entry["style"])
7611
7633
  });
7612
7634
  const indexByMethod = /* @__PURE__ */ new Map();
7613
7635
  const out = [];
@@ -7664,7 +7686,11 @@ function encodePanes(panes) {
7664
7686
  // absent key to, so leaving it out changes nothing — and keeps a blob
7665
7687
  // stored before the field existed byte-identical on re-encode, which
7666
7688
  // is what the wire-compatibility test pins.
7667
- ...parseNativeElement(pane.nativeElement) === "everywhere" ? {} : { native_element: parseNativeElement(pane.nativeElement) }
7689
+ ...parseNativeElement(pane.nativeElement) === "everywhere" ? {} : { native_element: parseNativeElement(pane.nativeElement) },
7690
+ // Absent and blank both mean "no look": a pane shaped before the fields
7691
+ // existed encodes exactly as it always did.
7692
+ ...(pane.preset ?? "").trim() ? { preset: (pane.preset ?? "").trim() } : {},
7693
+ ...(pane.style ?? "").trim() ? { style: (pane.style ?? "").trim() } : {}
7668
7694
  };
7669
7695
  });
7670
7696
  }