@delopay/sdk 0.124.0 → 0.125.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
@@ -1319,7 +1319,7 @@ interface PaymentMethodDeleteResponse {
1319
1319
  * neither — rounding it to `reported` would promise an outcome that never
1320
1320
  * comes for a dispute the merchant wins.
1321
1321
  */
1322
- type DisputeOutcomeReporting = 'reported' | 'loss_only' | 'not_reported' | 'unknown';
1322
+ type DisputeOutcomeReporting = 'reported' | 'loss_only' | 'not_reported' | 'not_recorded' | 'unknown';
1323
1323
  interface DisputeResponse {
1324
1324
  dispute_id: string;
1325
1325
  payment_id: string;
@@ -2451,6 +2451,82 @@ interface RoutingConnectorCaps {
2451
2451
  */
2452
2452
  caps: RoutingConnectorCap[];
2453
2453
  }
2454
+ /**
2455
+ * The span a `routing_volume` counter aggregates over.
2456
+ *
2457
+ * The calendar windows are UTC buckets — the day, ISO week (Monday-based) and
2458
+ * month a payment was charged in — so "£500 a week" is a week everyone agrees
2459
+ * on rather than seven days counted from whenever the question is asked. The
2460
+ * rolling windows are that other thing: the last 7 or 30 UTC days *including
2461
+ * today*. Their history begins with the release that introduced them: for the
2462
+ * first 30 days after it a `rolling_30d` figure is a lower bound, not a total.
2463
+ *
2464
+ * Set per advanced program in `Program.metadata["volume_window"]`, and per rule
2465
+ * in a `routing_volume` condition's own `metadata`.
2466
+ */
2467
+ type RoutingVolumeWindow = 'monthly' | 'weekly' | 'daily' | 'rolling_7d' | 'rolling_30d';
2468
+ /**
2469
+ * What a `routing_volume` counter aggregates *over*. `profile` is one shared
2470
+ * counter per shop; `payment_method` segments it by the payment's own method,
2471
+ * so a rule that pairs a `payment_method` condition with a `routing_volume`
2472
+ * threshold gets an independent budget per method.
2473
+ */
2474
+ type RoutingVolumeScope = 'profile' | 'payment_method';
2475
+ /**
2476
+ * One live `routing_volume` counter the shop's active program reads.
2477
+ *
2478
+ * This is **what routing will use right now**, not what the shop turned over:
2479
+ * the counters are held in Redis only, a lost Redis restarts the window at
2480
+ * zero, and a payment whose amount could not be priced in USD was never
2481
+ * counted. Turnover is the billing ledger's to answer.
2482
+ */
2483
+ interface RoutingVolumeCounter {
2484
+ /** The span this counter aggregates over. */
2485
+ window: RoutingVolumeWindow;
2486
+ /** Whether this is the shop-wide counter or one payment method's. */
2487
+ scope: RoutingVolumeScope;
2488
+ /** Under `payment_method` scope, the method this counter is segmented by. Absent under `profile` scope. */
2489
+ payment_method?: PaymentMethod | null;
2490
+ /** Start of the current window, UTC, inclusive (ISO 8601). */
2491
+ window_start: string;
2492
+ /** End of the current window, UTC, exclusive — the moment the counter starts again at zero. */
2493
+ window_end: string;
2494
+ /** The counter as stored: USD minor units, normalised at the rate of the day each payment was charged. */
2495
+ amount_usd: number;
2496
+ /**
2497
+ * The currency the rules' thresholds are written in, when the program pins
2498
+ * one. Absent when thresholds are read in each payment's own currency —
2499
+ * there is then no single figure to compare against.
2500
+ */
2501
+ threshold_currency?: Currency | null;
2502
+ /**
2503
+ * `amount_usd` in `threshold_currency`'s minor units at the current rate —
2504
+ * the number the rule compares its threshold to. Absent when no currency is
2505
+ * pinned or no usable rate exists; never a zero standing in for either.
2506
+ */
2507
+ amount_in_threshold_currency?: number | null;
2508
+ /** The rules whose `routing_volume` conditions read this counter, by name. */
2509
+ rules: string[];
2510
+ }
2511
+ /** The live `routing_volume` counters behind a shop's active advanced program. */
2512
+ interface RoutingVolumeCounters {
2513
+ /** The shop the counters belong to. */
2514
+ profile_id: string;
2515
+ /**
2516
+ * The active advanced program the counters were resolved from. Absent when
2517
+ * the shop has no active program or it is not an advanced one.
2518
+ */
2519
+ routing_algorithm_id?: string | null;
2520
+ /** When the counters were read, UTC (ISO 8601). The figures are a snapshot: the next charged payment moves them. */
2521
+ read_at: string;
2522
+ /**
2523
+ * One entry per counter the program reads. Empty when no rule conditions on
2524
+ * `routing_volume`. Under `payment_method` scope only methods that have
2525
+ * charged something in the window appear — a method with no entry is at
2526
+ * zero.
2527
+ */
2528
+ counters: RoutingVolumeCounter[];
2529
+ }
2454
2530
  /** Body for `POST /routing/{id}/activate`. */
2455
2531
  interface RoutingActivatePayload {
2456
2532
  transaction_type?: TransactionType | null;
@@ -3861,6 +3937,16 @@ interface ProfileResponse {
3861
3937
  */
3862
3938
  home_country?: string | null;
3863
3939
  [key: string]: unknown;
3940
+ /** The Stripe connected account this shop settles through, when one is linked. */
3941
+ stripe_connected_account_id?: string | null;
3942
+ /**
3943
+ * Whether `stripe_connected_account_id` names an account DeloPay onboarded
3944
+ * onto its own Stripe platform. Read-only: set only by the Stripe onboarding
3945
+ * flow and cleared whenever the id is repointed through a profile update.
3946
+ * `false` means DeloPay's platform fee is collected from the prepaid balance
3947
+ * rather than as a Stripe application fee.
3948
+ */
3949
+ stripe_connected_account_delopay_onboarded: boolean;
3864
3950
  }
3865
3951
  type BlocklistAddRequest = {
3866
3952
  type: 'card_bin';
@@ -5947,6 +6033,27 @@ interface FeeStatementSummary {
5947
6033
  * figure** — `net_to_shop_usd` is the computed sub-total before them.
5948
6034
  */
5949
6035
  net_after_adjustments_usd: number;
6036
+ /**
6037
+ * Payments taken back by a reversal that produced no refund row (a void
6038
+ * after a charge, a rail-side refund), USD minor, already subtracted from
6039
+ * `net_to_shop_usd` and kept apart from `refund_usd`. Zero on statements
6040
+ * generated before reversals were tracked.
6041
+ */
6042
+ reversal_usd: number;
6043
+ /** How many payments `reversal_usd` stands for. */
6044
+ reversal_count: number;
6045
+ /**
6046
+ * What the rail charged and the shop owner was made to carry, USD minor,
6047
+ * already subtracted from `net_to_shop_usd`. Zero unless the host switched
6048
+ * pass-through on for this shop. Never redacted from the shop owner.
6049
+ */
6050
+ processor_cost_passthrough_usd: number;
6051
+ /**
6052
+ * True when at least one passed-through payment had no known rail fee, so
6053
+ * `processor_cost_passthrough_usd` is a lower bound and the host carried the
6054
+ * rest. `false` on statements generated before pass-through existed.
6055
+ */
6056
+ processor_cost_passthrough_incomplete: boolean;
5950
6057
  }
5951
6058
  /** A statement with its per-connector/currency breakdown. */
5952
6059
  interface FeeStatementDetail extends FeeStatementSummary {
@@ -5983,6 +6090,17 @@ interface ShopSettlementOverview {
5983
6090
  fx_incomplete: boolean;
5984
6091
  has_fee_config: boolean;
5985
6092
  visible_to_shop: boolean;
6093
+ /** Already paid out on account of the running month, USD minor. */
6094
+ current_period_advances_usd: number;
6095
+ /**
6096
+ * `current_period_net_usd` less what has already been paid on account,
6097
+ * floored at zero. The figure a payout panel should show beside a shop: the
6098
+ * gross running total on its own would offer a host a payment they have
6099
+ * already made.
6100
+ */
6101
+ current_period_still_accruing_usd: number;
6102
+ /** Whether this shop's owner currently carries the payment rail's own fee. The setting in force now; past payouts keep what was stamped on their lines. */
6103
+ processor_cost_passthrough: boolean;
5986
6104
  }
5987
6105
  interface SettlementOverviewResponse {
5988
6106
  shops: ShopSettlementOverview[];
@@ -6007,6 +6125,28 @@ interface SettlementCurrentResponse {
6007
6125
  fx_incomplete: boolean;
6008
6126
  platform_fee_incomplete: boolean;
6009
6127
  breakdown: SettlementBucket[];
6128
+ /** Payments taken back so far this period by a reversal with no refund row, USD minor, already subtracted from `net_to_shop_usd`. */
6129
+ reversal_usd: number;
6130
+ reversal_count: number;
6131
+ /** What the rail charged and the shop owner carried so far this period, USD minor, already subtracted from `net_to_shop_usd`. */
6132
+ processor_cost_passthrough_usd: number;
6133
+ /** True when a passed-through payment had no known rail fee, so the figure above is a lower bound. */
6134
+ processor_cost_passthrough_incomplete: boolean;
6135
+ /**
6136
+ * Already paid out on account of this period, USD minor — the signed total
6137
+ * of the advances recorded against it. Statements exist only for closed
6138
+ * months, so until this month closes these payments live nowhere else.
6139
+ */
6140
+ advances_usd: number;
6141
+ /** `net_to_shop_usd` less what has been paid out on account, floored at zero: what is left to pay if the month ended now. */
6142
+ still_accruing_usd: number;
6143
+ /**
6144
+ * Paid out beyond the period's net so far, USD minor — zero in the ordinary
6145
+ * case. Provisional while the month is open: the net is still moving, so a
6146
+ * figure here today can be gone tomorrow because the shop took more
6147
+ * payments. Reported rather than hidden so a host who has overpaid can see it.
6148
+ */
6149
+ advance_excess_usd: number;
6010
6150
  }
6011
6151
  interface StatementGenerateRequest {
6012
6152
  profile_id: string;
@@ -6256,6 +6396,117 @@ type SettlementCostParams = {
6256
6396
  */
6257
6397
  test_mode?: boolean;
6258
6398
  } & SettlementCostPeriod;
6399
+ /**
6400
+ * Which revenue the margin is a margin *on*: `hosting_fee` for a host (what it
6401
+ * charged its shops), `merchant_sales` for a merchant that hosts nobody (its
6402
+ * own captured sales). Read `revenue_usd` and this beside it rather than
6403
+ * either source directly — the two are never added, since a hosted shop's
6404
+ * payments are also payments.
6405
+ */
6406
+ type RevenueBasis = 'hosting_fee' | 'merchant_sales';
6407
+ /** Whose money a term of the cost model comes out of. */
6408
+ type TermBearer = 'merchant' | 'shop_owner';
6409
+ /**
6410
+ * How a period expense that only partly overlaps the report window is
6411
+ * counted: pro rata by days, or not applied at all.
6412
+ */
6413
+ type ExpenseAllocation = 'pro_rata_days' | 'not_applied';
6414
+ /**
6415
+ * What a host charged the shops it runs, as a term of the cost model. The same
6416
+ * money as `SettlementCostResponse.merchant_fee_usd`, carrying the evidence
6417
+ * that says how far it can be trusted.
6418
+ */
6419
+ interface HostingFeeTerm {
6420
+ bearer: TermBearer;
6421
+ /** USD minor units. Identical to `merchant_fee_usd` by construction. */
6422
+ amount_usd: number;
6423
+ /** Settlement lines in the period — the denominator the counts below are read against. */
6424
+ line_count: number;
6425
+ /** A bucket carrying a non-zero hosting fee had no USD reporting rate, so `amount_usd` understates. Never blended 1:1, never counted as zero. */
6426
+ fx_incomplete: boolean;
6427
+ /** Attempts where the rail took money and no settlement line exists, so their hosting fee is in no figure here. */
6428
+ uncovered_captured_attempt_count: number;
6429
+ /** Unlined attempts whose outcome never resolved. Informational: they establish no capture, so no missing fee. */
6430
+ uncovered_unresolved_attempt_count: number;
6431
+ }
6432
+ /**
6433
+ * One merchant-side cost term of the profit statement (cost of goods, partner
6434
+ * shares): a total plus the evidence that says how far it can be trusted.
6435
+ * `amount_usd` is a **lower bound** whenever `incomplete` or `fx_incomplete`
6436
+ * is set; a gap is never a zero.
6437
+ */
6438
+ interface ProfitCostTerm {
6439
+ bearer: TermBearer;
6440
+ /** USD minor units. Zero with `row_count == 0` means nothing was recorded; zero with `fx_incomplete` means nothing could be converted. */
6441
+ amount_usd: number;
6442
+ /** Rows in the period, priced or not. */
6443
+ row_count: number;
6444
+ /** Rows carrying no figure at all. Never counted as zero. */
6445
+ unavailable_count: number;
6446
+ /** Rows that carry a figure this term deliberately does not sum. */
6447
+ excluded_count: number;
6448
+ /** Either count above is non-zero: the total is a floor. */
6449
+ incomplete: boolean;
6450
+ /** A figure exists in a currency no USD reporting rate covered, so it is missing from `amount_usd` entirely. */
6451
+ fx_incomplete: boolean;
6452
+ /** Attempts where the rail took money and no row of this kind exists. Makes the margin an upper bound. */
6453
+ uncovered_captured_attempt_count: number;
6454
+ /** The same for attempts whose outcome never resolved. Informational. */
6455
+ uncovered_unresolved_attempt_count: number;
6456
+ }
6457
+ /**
6458
+ * What the period cost the merchant outside the payment rails — advertising,
6459
+ * stock, anything booked to a period rather than to a payment.
6460
+ */
6461
+ interface PeriodExpenseTerm {
6462
+ bearer: TermBearer;
6463
+ /** USD minor units, after allocation. A lower bound whenever `incomplete` or `fx_incomplete` is set. */
6464
+ amount_usd: number;
6465
+ /** Rows that contributed a figure. */
6466
+ row_count: number;
6467
+ /** Rows selected by the window that contributed nothing, for a reason that is not "they cost nothing". */
6468
+ excluded_count: number;
6469
+ /** `excluded_count > 0`: `amount_usd` is a floor. */
6470
+ incomplete: boolean;
6471
+ /** At least one selected row's currency had no USD reporting rate. */
6472
+ fx_incomplete: boolean;
6473
+ allocation: ExpenseAllocation;
6474
+ /**
6475
+ * The exclusive end of the sub-window expenses were actually allocated to
6476
+ * (ISO date). Equal to `period_end` for a closed month, the current date for
6477
+ * the running one; absent when nothing was allocated.
6478
+ */
6479
+ allocated_through?: string | null;
6480
+ }
6481
+ /**
6482
+ * What the merchant itself sold in the period — the revenue term for a
6483
+ * merchant who hosts nobody. Present only when `revenue_basis` is
6484
+ * `merchant_sales`.
6485
+ */
6486
+ interface SalesRevenueTerm {
6487
+ /** `captured_usd - refunded_usd`, USD minor. Negative in a period that refunded more than it sold. */
6488
+ amount_usd: number;
6489
+ /** What the rails captured in the period, USD minor. */
6490
+ captured_usd: number;
6491
+ /** Successful refunds created in the period, USD minor. */
6492
+ refunded_usd: number;
6493
+ /** Attempts contributing to `captured_usd`. */
6494
+ attempt_count: number;
6495
+ /** Refunds contributing to `refunded_usd`. */
6496
+ refund_count: number;
6497
+ /** Captures whose money went back to the buyer outside the refund flow. They earn nothing and bound nothing. */
6498
+ reversed_attempt_count: number;
6499
+ /** The rail captured and no usable figure says how much. */
6500
+ unpriced_captured_attempt_count: number;
6501
+ /** Attempts establishing neither a capture nor its absence. Informational. */
6502
+ unresolved_attempt_count: number;
6503
+ /** Refunds left out of `refunded_usd` because their attempt's gross was never counted as revenue. */
6504
+ excluded_refund_count: number;
6505
+ /** Either count above is non-zero: `amount_usd` cannot be reconciled and no margin is published. */
6506
+ incomplete: boolean;
6507
+ /** A bucket's currency had no USD reporting rate, so that money is missing from every figure here. */
6508
+ fx_incomplete: boolean;
6509
+ }
6259
6510
  /**
6260
6511
  * What a period's payments cost, and what was left over.
6261
6512
  *
@@ -6353,6 +6604,36 @@ interface SettlementCostResponse {
6353
6604
  platform_fee_incomplete: boolean;
6354
6605
  /** Per-connector cost breakdown. */
6355
6606
  breakdown: ProcessorCostBucket[];
6607
+ /**
6608
+ * The part of `processor_cost_usd` a shop owner carried because the host
6609
+ * switched pass-through on, USD minor. Reported so the drop in
6610
+ * `host_processor_cost_usd` has a name rather than looking like cost that
6611
+ * went missing.
6612
+ */
6613
+ passed_through_cost_usd: number;
6614
+ /**
6615
+ * The revenue every cost below is subtracted from, USD minor:
6616
+ * `merchant_fee_usd` when `revenue_basis` is `hosting_fee`,
6617
+ * `sales_revenue.amount_usd` when it is `merchant_sales`. Never both.
6618
+ */
6619
+ revenue_usd: number;
6620
+ /** Which revenue `revenue_usd` is. */
6621
+ revenue_basis: RevenueBasis;
6622
+ /** The merchant's own sales. Present only when `revenue_basis` is `merchant_sales`. */
6623
+ sales_revenue?: SalesRevenueTerm | null;
6624
+ /**
6625
+ * `platform_fee_usd + host_processor_cost_usd` — what the period's payments
6626
+ * cost the merchant, before anything the merchant spent on its own account.
6627
+ * This was the whole of `total_cost_usd` before the operating costs joined it.
6628
+ */
6629
+ payment_cost_usd: number;
6630
+ /** What the host charged its shops, with the evidence behind the figure. */
6631
+ hosting_fee: HostingFeeTerm;
6632
+ cost_of_goods: ProfitCostTerm;
6633
+ partner_shares: ProfitCostTerm;
6634
+ period_expenses: PeriodExpenseTerm;
6635
+ /** `cost_of_goods + partner_shares + period_expenses` — what the merchant spent on its own account, as distinct from what the payments cost. */
6636
+ operating_cost_usd: number;
6356
6637
  }
6357
6638
  interface ShopFeeConfigParams {
6358
6639
  profile_id: string;
@@ -6372,6 +6653,12 @@ interface ShopFeeConfigEntry {
6372
6653
  interface ShopFeeConfigResponse {
6373
6654
  profile_id: string;
6374
6655
  schedules: ShopFeeConfigEntry[];
6656
+ /**
6657
+ * Whether this shop currently carries the payment rail's own fee on top of
6658
+ * the hosting fee. Shown to the shop owner deliberately: this endpoint
6659
+ * exists so they can see the terms they are charged under.
6660
+ */
6661
+ processor_cost_passthrough: boolean;
6375
6662
  }
6376
6663
  interface SettlementBackfillRequest {
6377
6664
  /** Restrict to one shop; omitted = all shops of the merchant. */
@@ -9243,6 +9530,21 @@ declare class Routing {
9243
9530
  * `GET /routing/connector-caps/{profileId}`
9244
9531
  */
9245
9532
  connectorCaps(profileId: string): Promise<RoutingConnectorCaps>;
9533
+ /**
9534
+ * The live `routing_volume` counters behind a shop's active advanced
9535
+ * program: one per distinct budget the program reads, each with the window
9536
+ * it covers, the figure in the pinned threshold currency, and the rules that
9537
+ * read it. Lets a merchant see whether a `routing_volume < 50000` rule is at
9538
+ * 120 or at 499 today, and support answer why a payment went to the overflow
9539
+ * connector.
9540
+ *
9541
+ * What routing will use right now, not what the shop turned over: the
9542
+ * counters are held in Redis only and a lost Redis restarts the window at
9543
+ * zero. Read-only; needs the same permission as reading the rules.
9544
+ *
9545
+ * `GET /routing/volume-counters/{profileId}`
9546
+ */
9547
+ volumeCounters(profileId: string): Promise<RoutingVolumeCounters>;
9246
9548
  /**
9247
9549
  * Replace a shop's per-connector payment caps.
9248
9550
  *
@@ -12514,4 +12816,4 @@ declare const decodeNativePanes: typeof decodePanes;
12514
12816
  /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
12515
12817
  declare const encodeNativePanes: typeof encodePanes;
12516
12818
 
12517
- export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type 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 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, 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 ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, 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, 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 MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type 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 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 PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, 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, 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 RuleConnectorSelection, 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 ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, 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 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, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };
12819
+ export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type 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 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 InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, 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, 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 MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneOpenTarget, type PaneRail, type 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 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, 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, 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, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validatePanes, verticalGapValue, visibleCustomFields };
package/dist/index.js CHANGED
@@ -131,7 +131,7 @@ import {
131
131
  validatePanes,
132
132
  verticalGapValue,
133
133
  visibleCustomFields
134
- } from "./chunk-4TVKPQTZ.js";
134
+ } from "./chunk-VJIRHNXT.js";
135
135
  export {
136
136
  ALL_CUSTOM_FIELD_CONDITION_SOURCES,
137
137
  ALL_CUSTOM_FIELD_OPERATORS,
package/dist/internal.cjs CHANGED
@@ -2553,6 +2553,23 @@ var Routing = class {
2553
2553
  async connectorCaps(profileId) {
2554
2554
  return this.request("GET", `/routing/connector-caps/${encodeURIComponent(profileId)}`);
2555
2555
  }
2556
+ /**
2557
+ * The live `routing_volume` counters behind a shop's active advanced
2558
+ * program: one per distinct budget the program reads, each with the window
2559
+ * it covers, the figure in the pinned threshold currency, and the rules that
2560
+ * read it. Lets a merchant see whether a `routing_volume < 50000` rule is at
2561
+ * 120 or at 499 today, and support answer why a payment went to the overflow
2562
+ * connector.
2563
+ *
2564
+ * What routing will use right now, not what the shop turned over: the
2565
+ * counters are held in Redis only and a lost Redis restarts the window at
2566
+ * zero. Read-only; needs the same permission as reading the rules.
2567
+ *
2568
+ * `GET /routing/volume-counters/{profileId}`
2569
+ */
2570
+ async volumeCounters(profileId) {
2571
+ return this.request("GET", `/routing/volume-counters/${encodeURIComponent(profileId)}`);
2572
+ }
2556
2573
  /**
2557
2574
  * Replace a shop's per-connector payment caps.
2558
2575
  *