@delopay/sdk 0.103.0 → 0.105.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
@@ -2057,6 +2057,90 @@ interface RoutingConfigUpdateRequest {
2057
2057
  /** Replacement rule. Validated against the shop exactly as at create. */
2058
2058
  algorithm?: StaticRoutingAlgorithm | Record<string, unknown> | null;
2059
2059
  }
2060
+ /** What kind of rule a routing configuration holds. */
2061
+ type RoutingAlgorithmKind = 'single' | 'priority' | 'volume_split' | 'advanced' | 'dynamic' | 'three_ds_decision_rule';
2062
+ /**
2063
+ * One content window of a routing configuration — the rule as it stood between
2064
+ * `valid_from` and `valid_until`.
2065
+ *
2066
+ * A config's rule can be edited in place, so the rule that decided a past
2067
+ * payment is only recoverable because every earlier version is kept.
2068
+ */
2069
+ interface RoutingConfigVersion {
2070
+ /** 1-based position in the configuration's timeline, oldest first. */
2071
+ version: number;
2072
+ /** Name the configuration had during this window. */
2073
+ name: string;
2074
+ /** Description it had during this window. */
2075
+ description: string;
2076
+ kind: RoutingAlgorithmKind;
2077
+ /** The rule itself, exactly as it was during this window. */
2078
+ algorithm: StaticRoutingAlgorithm | Record<string, unknown>;
2079
+ /** When this content took effect. Seconds since epoch — not milliseconds. */
2080
+ valid_from: number;
2081
+ /** When it was replaced, or absent while it is still the live rule. */
2082
+ valid_until?: number | null;
2083
+ }
2084
+ /** Query for `GET /routing/{id}/history`. */
2085
+ interface RoutingHistoryParams {
2086
+ /**
2087
+ * Maximum entries to return, **counting the live one**. `0` is treated as `1`.
2088
+ */
2089
+ limit?: number | null;
2090
+ /** Entries to skip, counting from the oldest. Advance it by `limit`. */
2091
+ offset?: number | null;
2092
+ }
2093
+ /**
2094
+ * One page of a routing configuration's timeline, oldest first.
2095
+ *
2096
+ * Paging runs over the whole timeline with the live window as its last element,
2097
+ * so `versions` never holds more than `limit` entries and the live window — the
2098
+ * only one without a `valid_until` — appears on exactly one page and not on the
2099
+ * pages before or after it. A page past the end of the timeline is empty. A
2100
+ * configuration nobody has edited returns a single entry, the live one.
2101
+ */
2102
+ interface RoutingConfigHistoryResponse {
2103
+ id: string;
2104
+ profile_id: string;
2105
+ versions: RoutingConfigVersion[];
2106
+ /**
2107
+ * How long the whole timeline is: every closed window plus the live one.
2108
+ *
2109
+ * Lets you compute the last page directly rather than paging until a response
2110
+ * comes back empty.
2111
+ */
2112
+ total_count: number;
2113
+ }
2114
+ /**
2115
+ * A lifetime cap on one connector account: it may take at most `limit`
2116
+ * successful payments for this shop, ever.
2117
+ *
2118
+ * `1` is the acquirer-onboarding case — a new account takes the single live
2119
+ * transaction its review needs, then routing stops selecting it and traffic
2120
+ * returns to the account that was there before. This is a one-time gate, **not**
2121
+ * a recurring budget: nothing resets it.
2122
+ */
2123
+ interface RoutingConnectorCap {
2124
+ /**
2125
+ * The connector *account*, not the acquirer. A shop with two Stripe accounts
2126
+ * has two of these, and a cap on one is not spent by the other.
2127
+ */
2128
+ merchant_connector_id: string;
2129
+ /** Successful payments this account may take for this shop, ever. `0` means never route here. */
2130
+ limit: number;
2131
+ /** How many it has taken. Present on reads only; ignored in a write. */
2132
+ used?: number | null;
2133
+ }
2134
+ /** A shop's connector caps. */
2135
+ interface RoutingConnectorCaps {
2136
+ /** The shop. Ignored in a request body — the path names the shop. */
2137
+ profile_id?: string | null;
2138
+ /**
2139
+ * Every capped connector account. This list *is* the complete set: sending an
2140
+ * empty one removes every cap, which is how onboarding finishes.
2141
+ */
2142
+ caps: RoutingConnectorCap[];
2143
+ }
2060
2144
  /** Body for `POST /routing/{id}/activate`. */
2061
2145
  interface RoutingActivatePayload {
2062
2146
  transaction_type?: TransactionType | null;
@@ -3129,7 +3213,17 @@ interface ConnectorUpdateRequest {
3129
3213
  metadata?: Record<string, unknown> | null;
3130
3214
  test_mode?: boolean | null;
3131
3215
  disabled?: boolean | null;
3216
+ /**
3217
+ * Whole-value replacement, not a patch. Send it only when an operator typed
3218
+ * a new secret; omitting it leaves the stored one alone, which is the only
3219
+ * safe default now that `retrieve` returns `null` here.
3220
+ */
3132
3221
  connector_webhook_details?: Record<string, unknown> | null;
3222
+ /** Whole-value replacement — same rule as `connector_webhook_details`. */
3223
+ connector_wallets_details?: Record<string, unknown> | null;
3224
+ /** Whole-value replacement — same rule as `connector_webhook_details`. */
3225
+ pm_auth_config?: Record<string, unknown> | null;
3226
+ /** Whole-value replacement — same rule as `connector_webhook_details`. */
3133
3227
  additional_merchant_data?: Record<string, unknown> | null;
3134
3228
  }
3135
3229
  interface ConnectorCloneRequest {
@@ -3158,7 +3252,19 @@ interface ConnectorResponse {
3158
3252
  metadata?: Record<string, unknown> | null;
3159
3253
  test_mode?: boolean | null;
3160
3254
  disabled?: boolean | null;
3255
+ /**
3256
+ * Credential-bearing, and **`null` on `retrieve()`** whatever is stored —
3257
+ * see that method. `create`, `update` and `clone` return a live value:
3258
+ * clone's is the copied secret, which the caller never sent. Do not log
3259
+ * these four.
3260
+ */
3161
3261
  connector_webhook_details?: Record<string, unknown> | null;
3262
+ /** Credential-bearing — same handling as `connector_webhook_details`. */
3263
+ connector_wallets_details?: Record<string, unknown> | null;
3264
+ /** Credential-bearing — same handling as `connector_webhook_details`. */
3265
+ pm_auth_config?: Record<string, unknown> | null;
3266
+ /** Credential-bearing — same handling as `connector_webhook_details`. */
3267
+ additional_merchant_data?: Record<string, unknown> | null;
3162
3268
  created_at?: string | null;
3163
3269
  }
3164
3270
  interface ConnectorListResponse {
@@ -4579,12 +4685,42 @@ interface DrillPayment {
4579
4685
  status: string;
4580
4686
  amount_minor?: number | null;
4581
4687
  currency?: string | null;
4582
- /** RFC 3339 UTC. */
4688
+ /**
4689
+ * When the buyer was **observed** — the timestamp of the canonical
4690
+ * client-context row, not of the payment. This is the value the window
4691
+ * filters on, so it always falls inside the requested range.
4692
+ *
4693
+ * Named `created_at` since the endpoint shipped, and kept for
4694
+ * compatibility. Read `payment_created_at` for the payment's own age: the
4695
+ * two can be days apart on a long-lived payment link, and reading this one
4696
+ * as the payment's creation time is what makes a drill list look like it is
4697
+ * ignoring its own window. RFC 3339 UTC.
4698
+ */
4583
4699
  created_at: string;
4700
+ /**
4701
+ * When the **payment** was created, RFC 3339 UTC. Unlike `created_at` this
4702
+ * need not fall inside the requested window: a payment created weeks ago
4703
+ * can be observed today.
4704
+ */
4705
+ payment_created_at: string;
4584
4706
  /** IP-claimed country of the canonical observation. */
4585
4707
  country?: string | null;
4586
4708
  /** IP-resolved city, when GeoLite2 had one. */
4587
4709
  city?: string | null;
4710
+ /**
4711
+ * Subscription this row belongs to. Set only by the subscription drill; its
4712
+ * presence is what tells a client to link the row at the subscription
4713
+ * rather than at the payment.
4714
+ */
4715
+ subscription_id?: string | null;
4716
+ /** Invoice (billing cycle) this row is. Subscription drill only. */
4717
+ invoice_id?: string | null;
4718
+ /**
4719
+ * The invoice's own status, which is not the payment's: a cycle can be
4720
+ * `PaymentFailed` while no payment row exists at all. Subscription drill
4721
+ * only.
4722
+ */
4723
+ invoice_status?: string | null;
4588
4724
  }
4589
4725
  /** The geo drill-through list. */
4590
4726
  interface DrillResponse {
@@ -4595,6 +4731,334 @@ interface DrillResponse {
4595
4731
  /** Full match count (may exceed payments.length). */
4596
4732
  total: number;
4597
4733
  }
4734
+ /** Query for the subscription-analytics endpoint. */
4735
+ interface SubscriptionAnalyticsRequest {
4736
+ /** Trailing days for a rolling window ending now. Default 7, capped at 92. */
4737
+ days?: number | null;
4738
+ /** Naive ISO 8601 datetime for the window start (custom range; span ≤ 92 days). */
4739
+ start_date?: string | null;
4740
+ /** Naive ISO 8601 datetime for the inclusive last day. Defaults to now. */
4741
+ end_date?: string | null;
4742
+ /** Scope to a single merchant. Ignored (server-pinned) on the merchant route. */
4743
+ merchant_id?: string | null;
4744
+ /** Scope to one project's shops. */
4745
+ project_id?: string | null;
4746
+ /** Scope to a single shop; wins over project_id. */
4747
+ shop_id?: string | null;
4748
+ /** `false` = live only, `true` = test only. Omit for both. */
4749
+ test_mode?: boolean | null;
4750
+ /**
4751
+ * Day only. Any other value is rejected rather than downgraded: a billing
4752
+ * cycle carries day resolution at best, so an hourly series over `invoice`
4753
+ * would chart when a scheduler ran.
4754
+ */
4755
+ granularity?: 'day' | null;
4756
+ /**
4757
+ * Comma-separated blocks to compute; omit for all. Tokens: `totals`,
4758
+ * `series`, `movement`, `processors`, `plans`, `outcomes`, `children`,
4759
+ * `previous`. A block you did not ask for comes back empty, zeroed or
4760
+ * `null` — never stale — so a single card placed on another page can load
4761
+ * itself without paying for the whole dashboard.
4762
+ */
4763
+ sections?: string | null;
4764
+ /**
4765
+ * Restrict to subscriptions charged from one country (ISO alpha-2). Narrows
4766
+ * the population to subscriptions with at least one matching invoice in the
4767
+ * window — see `FilterNarrowsToChargedSubscriptions`.
4768
+ */
4769
+ country?: string | null;
4770
+ /** Which country claim the filter matches: `"ip"` (default) or `"billing"`. */
4771
+ country_source?: string | null;
4772
+ /** `phone` | `tablet` | `desktop` | `unknown`. */
4773
+ device_class?: string | null;
4774
+ }
4775
+ /** Known ways a figure in the subscription response is not the whole truth. */
4776
+ type SubscriptionCaveat =
4777
+ /** An active subscription has one invoice, so no cadence could be read from
4778
+ * its own history. Excluded from every estimate rather than guessed at. */
4779
+ 'CadenceUnknownExcluded'
4780
+ /**
4781
+ * At least one cycle was recorded at zero and left out of volume, of
4782
+ * revenue-per-subscription and of cadence inference.
4783
+ *
4784
+ * Named for what was observed, not why: a zero is written both by a
4785
+ * processor-hosted origination and by a genuinely free renewal, and nothing
4786
+ * stored tells them apart.
4787
+ */
4788
+ | 'ZeroAmountCyclesExcluded'
4789
+ /** An invoice had no usable reporting rate for its own day and was left out,
4790
+ * so the converted totals are a lower bound. */
4791
+ | 'FxIncomplete'
4792
+ /** There is no subscription status history, so churn is timed from the last
4793
+ * accepted processor status event. */
4794
+ | 'ChurnTimingFromConnectorEvent'
4795
+ /** A country/device filter can only match cycles that reached a payment
4796
+ * carrying a client-context observation. */
4797
+ | 'FilterRequiresClientContext'
4798
+ /** Under a filter the subscription counts describe subscriptions with a
4799
+ * matching invoice in this window — a narrower population than "active". */
4800
+ | 'FilterNarrowsToChargedSubscriptions'
4801
+ /** The filter reads fraud-collected signals, which the purpose gate forbids.
4802
+ * It was refused and the response is unfiltered. */
4803
+ | 'FilterRefusedOptimisationUseDisabled'
4804
+ /** The window contains no subscription activity at all. */
4805
+ | 'NoSubscriptionsInWindow';
4806
+ /** Echo of the filters actually applied. */
4807
+ interface SubscriptionFilters {
4808
+ country?: string | null;
4809
+ country_source?: string | null;
4810
+ device_class?: string | null;
4811
+ }
4812
+ /**
4813
+ * Headline figures. Volumes are USD major units; counts are exact.
4814
+ *
4815
+ * **Stocks** (`est_*`, `active`, `trial`, `paused`, `unpaid_subscriptions`,
4816
+ * `arpa_usd`) are as at the end of the window. **Flows** are sums over it.
4817
+ */
4818
+ interface SubscriptionTotals {
4819
+ /** Stock. Estimated recurring volume per month for the scope. */
4820
+ est_monthly_volume_usd: number;
4821
+ /** Stock. `est_monthly_volume_usd × 12`, carried so every client agrees. */
4822
+ est_annual_volume_usd: number;
4823
+ /** Stock. */
4824
+ active: number;
4825
+ /** Stock. */
4826
+ trial: number;
4827
+ /** Stock. */
4828
+ paused: number;
4829
+ /** Stock. */
4830
+ unpaid_subscriptions: number;
4831
+ /** Flow. Gross settled invoice volume in the window. */
4832
+ billed_volume_usd: number;
4833
+ /** Flow. Reported beside the gross, never subtracted from it. */
4834
+ refunded_usd: number;
4835
+ /** Flow. */
4836
+ invoices_raised: number;
4837
+ /** Flow. Settled, first attempt or later. */
4838
+ invoices_paid: number;
4839
+ /** Flow. Entered retry, settled or not. */
4840
+ invoices_retried: number;
4841
+ /** Flow. Failed at least once and settled afterwards. */
4842
+ invoices_recovered: number;
4843
+ /** Flow. Still unpaid at window end. */
4844
+ invoices_unpaid: number;
4845
+ /** 0–100. `null` when nothing was raised — a rate over no invoices is not zero. */
4846
+ renewal_success_rate?: number | null;
4847
+ /** Flow. */
4848
+ new_subscriptions: number;
4849
+ /** Flow. */
4850
+ cancelled_subscriptions: number;
4851
+ /** 0–100. `null` when nothing was active to churn. */
4852
+ churn_rate?: number | null;
4853
+ /** Stock. `est_monthly_volume_usd / active`. */
4854
+ arpa_usd?: number | null;
4855
+ }
4856
+ /** One bucket of the series — always a calendar day. */
4857
+ interface SubscriptionBucket {
4858
+ /** `YYYY-MM-DD`. */
4859
+ bucket: string;
4860
+ /** Stock as at the end of this bucket. */
4861
+ est_monthly_volume_usd: number;
4862
+ /** Stock as at the end of this bucket. */
4863
+ active: number;
4864
+ /** Flow within this bucket. */
4865
+ billed_volume_usd: number;
4866
+ /** Flow. Cycles that settled for a subscription that already had one. */
4867
+ renewed: number;
4868
+ /** Flow. */
4869
+ new_subscriptions: number;
4870
+ /** Flow. */
4871
+ failed: number;
4872
+ /** Flow. */
4873
+ cancelled: number;
4874
+ }
4875
+ /**
4876
+ * What moved recurring volume between the previous window and this one.
4877
+ * `opening + new + expansion − contraction − churn = closing`.
4878
+ */
4879
+ interface SubscriptionMovement {
4880
+ opening_usd: number;
4881
+ closing_usd: number;
4882
+ net_usd: number;
4883
+ /** A subscription's first ever invoice. */
4884
+ new_usd: number;
4885
+ new_count: number;
4886
+ /** A renewal billed above the same subscription's previous cycle. */
4887
+ expansion_usd: number;
4888
+ expansion_count: number;
4889
+ /** A renewal billed below the same subscription's previous cycle. */
4890
+ contraction_usd: number;
4891
+ contraction_count: number;
4892
+ churn_usd: number;
4893
+ churn_count: number;
4894
+ /** 0–100. `null` when opening was zero. */
4895
+ nrr?: number | null;
4896
+ /** 0–100. `null` when opening was zero. */
4897
+ grr?: number | null;
4898
+ }
4899
+ /** One processor's share, on either axis. */
4900
+ interface ProcessorSlice {
4901
+ /** Connector token as stored (`stripebilling`, `creem`, `paypal`, …). */
4902
+ key: string;
4903
+ /** Stock. */
4904
+ est_monthly_volume_usd: number;
4905
+ /** Flow. */
4906
+ billed_volume_usd: number;
4907
+ /** Stock. */
4908
+ subscriptions: number;
4909
+ }
4910
+ /**
4911
+ * The two processor axes. They diverge exactly where the billing connector
4912
+ * cannot take money itself: a Recurly subscription charged through Stripe
4913
+ * appears under Recurly in `billing` and Stripe in `charging`.
4914
+ */
4915
+ interface SubscriptionProcessors {
4916
+ /** Grouped by `subscription.billing_processor`. */
4917
+ billing: ProcessorSlice[];
4918
+ /** Grouped by the connector on the payment attempt behind each invoice. */
4919
+ charging: ProcessorSlice[];
4920
+ }
4921
+ /** One plan's share. Annual cadences are divided down to a monthly figure. */
4922
+ interface PlanSlice {
4923
+ key: string;
4924
+ /** Stock. */
4925
+ est_monthly_volume_usd: number;
4926
+ /** Stock. */
4927
+ subscriptions: number;
4928
+ /** Stock. */
4929
+ arpa_usd?: number | null;
4930
+ }
4931
+ /** The invoice funnel. `paid_first_attempt + recovered + unpaid = raised`. */
4932
+ interface InvoiceOutcomes {
4933
+ raised: number;
4934
+ paid_first_attempt: number;
4935
+ retried: number;
4936
+ recovered: number;
4937
+ unpaid: number;
4938
+ /** `recovered / retried`, 0–100. `null` when nothing was retried. */
4939
+ recovery_rate?: number | null;
4940
+ }
4941
+ /** One breakdown row, one drill level below the current scope. */
4942
+ interface SubscriptionChild {
4943
+ /** `merchant` | `project` | `shop`. */
4944
+ kind: string;
4945
+ id: string;
4946
+ /** Display name, when resolvable; falls back to the id. */
4947
+ name?: string | null;
4948
+ /** Shops directly under this row (projects only). */
4949
+ shop_count?: number | null;
4950
+ /** Stock. */
4951
+ est_monthly_volume_usd: number;
4952
+ /** Stock. */
4953
+ active: number;
4954
+ /** Flow. */
4955
+ billed_volume_usd: number;
4956
+ renewal_success_rate?: number | null;
4957
+ churn_rate?: number | null;
4958
+ }
4959
+ /** One drill level of the subscription-analytics dashboard. */
4960
+ interface SubscriptionAnalyticsResponse {
4961
+ /** Always `true` today; kept so the shape matches the device/geo responses. */
4962
+ enabled: boolean;
4963
+ /** `root` | `merchant` | `project` | `shop`. */
4964
+ level: string;
4965
+ days: number;
4966
+ /** `YYYY-MM-DD` of the window's last day. */
4967
+ end_date: string;
4968
+ /** Always `"day"`. */
4969
+ granularity: string;
4970
+ /** Always `null`; the field exists for shape parity with the other pages. */
4971
+ bucket_start?: string | null;
4972
+ totals: SubscriptionTotals;
4973
+ series: SubscriptionBucket[];
4974
+ movement?: SubscriptionMovement | null;
4975
+ processors: SubscriptionProcessors;
4976
+ plans: PlanSlice[];
4977
+ outcomes?: InvoiceOutcomes | null;
4978
+ children: SubscriptionChild[];
4979
+ caveats: SubscriptionCaveat[];
4980
+ filters: SubscriptionFilters;
4981
+ /** The previous window's totals, when `sections` includes `previous`. */
4982
+ previous_totals?: SubscriptionTotals | null;
4983
+ }
4984
+ /** The window, scope and chip filters every drill call carries. */
4985
+ interface SubscriptionDrillBase {
4986
+ days?: number | null;
4987
+ start_date?: string | null;
4988
+ end_date?: string | null;
4989
+ merchant_id?: string | null;
4990
+ project_id?: string | null;
4991
+ shop_id?: string | null;
4992
+ test_mode?: boolean | null;
4993
+ /** Active chip filters, so the drill lists what the charts counted. */
4994
+ country?: string | null;
4995
+ country_source?: string | null;
4996
+ device_class?: string | null;
4997
+ /**
4998
+ * Clicked series bucket (`YYYY-MM-DD`). Narrows whichever target is set to
4999
+ * that one day, so it combines with any of them rather than replacing them.
5000
+ */
5001
+ target_bucket?: string | null;
5002
+ /** Offset into the newest-first list (page size 50). */
5003
+ offset?: number | null;
5004
+ }
5005
+ /**
5006
+ * The clicked target. **Exactly one**, encoded as a discriminated union rather
5007
+ * than a bag of optional fields: the endpoint rejects an ambiguous target, so
5008
+ * `{}` and `{ target_outcome: 'unpaid', target_plan: 'x' }` should be type
5009
+ * errors rather than runtime ones.
5010
+ *
5011
+ * Each member marks the other targets `?: never`. Without that TypeScript
5012
+ * accepts any property present in *some* member of the union, so a second
5013
+ * target compiles happily — the exclusions are what make "exactly one" real.
5014
+ *
5015
+ * `target_child` and `target_child_kind` travel together as one member: a
5016
+ * child id with no kind cannot be resolved to anything, and the server matches
5017
+ * nothing rather than everything when the kind is missing.
5018
+ */
5019
+ type SubscriptionDrillTarget = (SubscriptionOutcomeTarget & NotOther<'target_outcome'>) | (SubscriptionBillingProcessorTarget & NotOther<'target_billing_processor'>) | (SubscriptionChargingConnectorTarget & NotOther<'target_charging_connector'>) | (SubscriptionPlanTarget & NotOther<'target_plan'>) | (SubscriptionStatusTarget & NotOther<'target_status'>) | (SubscriptionMovementTarget & NotOther<'target_movement'>) | (SubscriptionChildTarget & NotOther<'target_child' | 'target_child_kind'>) | (SubscriptionBucketOnlyTarget & NotOther<never>);
5020
+ interface SubscriptionOutcomeTarget {
5021
+ /** Clicked slice of the invoice funnel. */
5022
+ target_outcome: 'paid_first' | 'retried' | 'recovered' | 'unpaid';
5023
+ }
5024
+ interface SubscriptionBillingProcessorTarget {
5025
+ /** Clicked slice of the "bills it" ring. */
5026
+ target_billing_processor: string;
5027
+ }
5028
+ interface SubscriptionChargingConnectorTarget {
5029
+ /** Clicked slice of the "charges the card" ring. */
5030
+ target_charging_connector: string;
5031
+ }
5032
+ interface SubscriptionPlanTarget {
5033
+ /** Clicked plan row. */
5034
+ target_plan: string;
5035
+ }
5036
+ interface SubscriptionStatusTarget {
5037
+ /** Clicked subscription status. */
5038
+ target_status: string;
5039
+ }
5040
+ interface SubscriptionMovementTarget {
5041
+ /** Clicked movement component. */
5042
+ target_movement: 'new' | 'expansion' | 'contraction' | 'churn';
5043
+ }
5044
+ interface SubscriptionChildTarget {
5045
+ /** Clicked breakdown row, with the kind needed to resolve it. */
5046
+ target_child: string;
5047
+ target_child_kind: 'merchant' | 'project' | 'shop';
5048
+ }
5049
+ /**
5050
+ * A clicked day with no further target: every cycle raised that day. The one
5051
+ * member whose key lives on the base, so it is `required` here — without that
5052
+ * `{}` would satisfy the union and an untargeted drill would list the whole
5053
+ * window, which no click means.
5054
+ */
5055
+ interface SubscriptionBucketOnlyTarget {
5056
+ target_bucket: string;
5057
+ }
5058
+ /** Every target key this member does not itself set, forbidden. */
5059
+ type NotOther<Set extends TargetKey> = Partial<Record<Exclude<TargetKey, Set>, never>>;
5060
+ type TargetKey = 'target_outcome' | 'target_billing_processor' | 'target_charging_connector' | 'target_plan' | 'target_status' | 'target_movement' | 'target_child' | 'target_child_kind';
5061
+ type SubscriptionDrillRequest = SubscriptionDrillBase & SubscriptionDrillTarget;
4598
5062
  /** Payout progress of a settlement statement. */
4599
5063
  type SettlementPayoutStatus = 'unpaid' | 'partial' | 'paid';
4600
5064
  /**
@@ -5109,15 +5573,38 @@ interface ShopVisibilityResponse {
5109
5573
  profile_id: string;
5110
5574
  visible_to_shop: boolean;
5111
5575
  }
5112
- /** Operations that can carry limit rules. Only refunds today. */
5113
- type LimitedOperation = 'refund';
5576
+ /**
5577
+ * Operations that can carry limit rules.
5578
+ *
5579
+ * Which *dimensions* a rule may then set is per-operation, and the server
5580
+ * rejects an upsert that names one the operation cannot honour rather than
5581
+ * saving a rule that renders as configured and enforces nothing:
5582
+ *
5583
+ * - `refund` — every dimension.
5584
+ * - `settlement_adjustment` — amount dimensions only. There is no payment
5585
+ * behind an adjustment, so `max_payment_age_days` means nothing, and an
5586
+ * adjustment is hard-deleted with no tombstone, so a count read back from
5587
+ * live rows counts positions standing rather than adds performed.
5588
+ * - `settlement_payout` — `max_amount_per_operation` only. Recording a payout
5589
+ * mutates one statement row, so the row cannot say how many times anyone
5590
+ * acted, and its date is caller-supplied — neither window is enforceable.
5591
+ */
5592
+ type LimitedOperation = 'refund' | 'settlement_adjustment' | 'settlement_payout';
5114
5593
  /** Rule target: the merchant default, one role, or one user. */
5115
5594
  type OperationLimitScope = 'merchant' | 'role' | 'user';
5116
5595
  /**
5117
- * What happens when an operation would exceed its limit. v1 ships `block`
5118
- * only; `require_approval` (four-eyes) arrives in a later release.
5596
+ * What happens when an operation would exceed its limit.
5597
+ *
5598
+ * `block` refuses it outright (`DE_01`). `require_approval` parks it as a
5599
+ * request a second person decides on: the call fails with HTTP 409 `DE_06`
5600
+ * carrying `PendingApprovalErrorDetails`, and the operation executes only
5601
+ * once somebody approves it. Nothing was created either way — the difference
5602
+ * is that `require_approval` names a request that can still succeed.
5603
+ *
5604
+ * `require_approval` is accepted on refund rules alone; the settlement
5605
+ * members of `UpsertOperationLimitRuleRequest` take `block` only.
5119
5606
  */
5120
- type OperationLimitOnExceeded = 'block';
5607
+ type OperationLimitOnExceeded = 'block' | 'require_approval';
5121
5608
  /** How the usage window is anchored. Rolling is the default. */
5122
5609
  type OperationLimitWindowMode = 'rolling' | 'calendar';
5123
5610
  /**
@@ -5146,26 +5633,83 @@ interface OperationLimitRule {
5146
5633
  created_at: string;
5147
5634
  modified_at: string;
5148
5635
  }
5149
- /**
5150
- * Body for `PUT /operation-limits/rules` — a full-replace upsert for one
5151
- * target. Absent limit fields mean "this rule does not constrain that
5152
- * dimension"; a request with no limit at all is rejected (delete the rule
5153
- * instead). Amounts are minor units in `currency`.
5154
- */
5155
- interface UpsertOperationLimitRuleRequest {
5156
- operation: LimitedOperation;
5636
+ /** What every limit rule names, whatever it constrains. */
5637
+ interface UpsertOperationLimitRuleBase {
5157
5638
  scope: OperationLimitScope;
5158
5639
  /** Required for `role`/`user` scopes; must be absent for `merchant`. */
5159
5640
  scope_id?: string;
5160
- max_amount_per_operation?: number;
5161
- max_total_amount_per_window?: number;
5162
- max_count_per_window?: number;
5163
- max_payment_age_days?: number;
5164
5641
  /** Window length in hours (rolling mode). Defaults to 24; 1–720. */
5165
5642
  window_hours?: number;
5166
5643
  /** Currency of the amount fields. Defaults to USD. */
5167
5644
  currency?: Currency;
5168
5645
  }
5646
+ /**
5647
+ * A refund rule — the only operation that takes every dimension, and the only
5648
+ * one that can be sent for approval.
5649
+ */
5650
+ interface UpsertRefundLimitRuleRequest extends UpsertOperationLimitRuleBase {
5651
+ operation: 'refund';
5652
+ max_amount_per_operation?: number;
5653
+ max_total_amount_per_window?: number;
5654
+ max_count_per_window?: number;
5655
+ /** How old the payment being refunded may be. */
5656
+ max_payment_age_days?: number;
5657
+ /**
5658
+ * What an over-limit refund does. Defaults to `block`, so a rule written by
5659
+ * a client that predates four-eyes keeps refusing rather than silently
5660
+ * becoming approvable.
5661
+ */
5662
+ on_exceeded?: OperationLimitOnExceeded;
5663
+ }
5664
+ /**
5665
+ * A settlement-adjustment rule: amount dimensions only.
5666
+ *
5667
+ * There is no payment behind an adjustment, so an age limit means nothing,
5668
+ * and an adjustment is hard-deleted with no tombstone, so a count read back
5669
+ * from live rows counts positions standing rather than adds performed. The
5670
+ * server refuses either field rather than saving a rule nothing enforces.
5671
+ */
5672
+ interface UpsertSettlementAdjustmentLimitRuleRequest extends UpsertOperationLimitRuleBase {
5673
+ operation: 'settlement_adjustment';
5674
+ max_amount_per_operation?: number;
5675
+ max_total_amount_per_window?: number;
5676
+ max_count_per_window?: never;
5677
+ max_payment_age_days?: never;
5678
+ /**
5679
+ * `block` only. Approval needs an executor that can run the operation once
5680
+ * somebody says yes, and only refunds have one — the server refuses
5681
+ * `require_approval` here rather than storing it and quietly blocking.
5682
+ */
5683
+ on_exceeded?: 'block';
5684
+ }
5685
+ /**
5686
+ * A payout-recording rule: a per-operation ceiling and nothing else.
5687
+ *
5688
+ * Recording a payout mutates one statement row, so the row cannot say how
5689
+ * many times anyone acted, and its window would rest on a caller-supplied
5690
+ * business date. Neither window is enforceable, so neither is accepted.
5691
+ */
5692
+ interface UpsertSettlementPayoutLimitRuleRequest extends UpsertOperationLimitRuleBase {
5693
+ operation: 'settlement_payout';
5694
+ max_amount_per_operation?: number;
5695
+ max_total_amount_per_window?: never;
5696
+ max_count_per_window?: never;
5697
+ max_payment_age_days?: never;
5698
+ /** `block` only — see `UpsertSettlementAdjustmentLimitRuleRequest`. */
5699
+ on_exceeded?: 'block';
5700
+ }
5701
+ /**
5702
+ * Body for `PUT /operation-limits/rules` — a full-replace upsert for one
5703
+ * target. Absent limit fields mean "this rule does not constrain that
5704
+ * dimension"; a request with no limit at all is rejected (delete the rule
5705
+ * instead). Amounts are minor units in `currency`.
5706
+ *
5707
+ * Which dimensions a rule may set depends on the operation, and the union
5708
+ * says so: the server rejects a rule naming one its operation cannot honour,
5709
+ * because a rule that saves, lists and renders while no hook can read it is
5710
+ * worse than a refused one.
5711
+ */
5712
+ type UpsertOperationLimitRuleRequest = UpsertRefundLimitRuleRequest | UpsertSettlementAdjustmentLimitRuleRequest | UpsertSettlementPayoutLimitRuleRequest;
5169
5713
  interface OperationLimitRuleListParams {
5170
5714
  /** Without `operation`, every rule of the caller's merchant is returned. */
5171
5715
  operation?: LimitedOperation;
@@ -5188,6 +5732,105 @@ interface UpdateOperationLimitSettingsRequest {
5188
5732
  window_mode?: OperationLimitWindowMode;
5189
5733
  admins_exempt?: boolean;
5190
5734
  }
5735
+ /**
5736
+ * Lifecycle of an over-limit request.
5737
+ *
5738
+ * There is no `executed` state: approving and executing are two facts, so an
5739
+ * approved request that failed to execute stays `approved` and carries
5740
+ * `execution_error`. Read `executed_at` and `result_entity_id` to tell an
5741
+ * approval that ran from one that has not.
5742
+ */
5743
+ type PendingOperationStatus = 'pending' | 'approved' | 'rejected' | 'expired';
5744
+ /** Which limit the operation ran into, and by how much. */
5745
+ interface PendingOperationLimitContext {
5746
+ /** The dimension that tripped, e.g. `max_amount_per_operation`. */
5747
+ limit_type: string;
5748
+ /** The configured ceiling, in minor units of `currency` where it is an amount. */
5749
+ limit?: number | null;
5750
+ /** What the operation asked for, on the same scale as `limit`. */
5751
+ attempted?: number | null;
5752
+ /** For `max_payment_age_days`: how old the payment being refunded is. */
5753
+ attempted_age_seconds?: number | null;
5754
+ currency?: string | null;
5755
+ }
5756
+ /** What the request is about, in the words of the operation that parked it. */
5757
+ interface PendingOperationSummary {
5758
+ payment_id: string;
5759
+ /** Minor units of `currency`. */
5760
+ amount?: number | null;
5761
+ currency?: string | null;
5762
+ reason?: string | null;
5763
+ }
5764
+ /** One over-limit request in the approvals inbox. */
5765
+ interface PendingOperation {
5766
+ id: string;
5767
+ merchant_id: string;
5768
+ profile_id?: string | null;
5769
+ operation: LimitedOperation;
5770
+ status: PendingOperationStatus;
5771
+ summary?: PendingOperationSummary | null;
5772
+ idempotency_key?: string | null;
5773
+ /** The rule that diverted it, when it is still around. */
5774
+ rule_id?: string | null;
5775
+ limit_context?: PendingOperationLimitContext | null;
5776
+ /** The user who asked. The server refuses to let them decide their own request. */
5777
+ requested_by: string;
5778
+ requested_by_role_id?: string | null;
5779
+ request_reason?: string | null;
5780
+ decided_by?: string | null;
5781
+ decided_by_role_id?: string | null;
5782
+ decision_note?: string | null;
5783
+ /** RFC 3339 UTC; absent while `pending`. */
5784
+ decided_at?: string | null;
5785
+ /** RFC 3339 UTC. Past this, the request expires and can no longer be approved. */
5786
+ expires_at: string;
5787
+ /** RFC 3339 UTC. Set when the approved operation actually ran. */
5788
+ executed_at?: string | null;
5789
+ /** The id the executed operation produced — a refund id, for a refund. */
5790
+ result_entity_id?: string | null;
5791
+ /** Why an approved operation failed to execute. `approved` with this set is a real state. */
5792
+ execution_error?: string | null;
5793
+ created_at: string;
5794
+ }
5795
+ interface PendingOperationListParams {
5796
+ /**
5797
+ * Which operation's requests to list. **Defaults to `refund`** — the list
5798
+ * is one operation at a time, not all of them, so a view that covers more
5799
+ * than refunds must ask per operation.
5800
+ */
5801
+ operation?: LimitedOperation;
5802
+ /**
5803
+ * **Defaults to `pending`.** Omitting this filters to what is still
5804
+ * awaiting a decision, not to everything: approved, rejected and expired
5805
+ * requests are reachable only by asking for that status explicitly.
5806
+ */
5807
+ status?: PendingOperationStatus;
5808
+ /** Defaults to 100, clamped to 1–500. */
5809
+ limit?: number;
5810
+ }
5811
+ interface PendingOperationListResponse {
5812
+ requests: PendingOperation[];
5813
+ }
5814
+ /** Body for approve/reject. The note is recorded on the request. */
5815
+ interface DecidePendingOperationRequest {
5816
+ note?: string;
5817
+ }
5818
+ /**
5819
+ * `DelopayError.data` on the 409 `DE_06` a refund gets when a
5820
+ * `require_approval` rule parks it. Refunds are the only operation that can
5821
+ * be parked, so this is the only call that raises `DE_06`.
5822
+ *
5823
+ * A non-2xx deliberately: nothing was created, so a 2xx envelope would be
5824
+ * decoded as a refund that does not exist. Distinct from `DE_01`, which says
5825
+ * the operation will not happen at all — this one names a request a second
5826
+ * person can still approve, and until when.
5827
+ */
5828
+ interface PendingApprovalErrorDetails {
5829
+ pending_operation_id: string;
5830
+ /** RFC 3339 UTC. */
5831
+ expires_at: string;
5832
+ limit_context?: PendingOperationLimitContext | null;
5833
+ }
5191
5834
  /** Half-open amount range filter; minor units. `null` bounds are open. */
5192
5835
  interface AmountFilter {
5193
5836
  start_amount?: number | null;
@@ -5533,6 +6176,112 @@ interface EpayoutsCatalogResponse {
5533
6176
  countries_probed?: number | null;
5534
6177
  countries_ok?: number | null;
5535
6178
  }
6179
+ /**
6180
+ * One connector's stored risk index for a shop.
6181
+ *
6182
+ * Read-only snapshots — neither endpoint scores anything on demand, so
6183
+ * `computed_at` is the age of the answer and can be older than the request.
6184
+ */
6185
+ interface ConnectorRisk {
6186
+ connector: string;
6187
+ /** Coarse bucket the index falls in, e.g. `low` / `elevated` / `high`. */
6188
+ band: string;
6189
+ /** The index itself, when the snapshot carries one. */
6190
+ index?: number | null;
6191
+ /** Direction against the previous snapshot, when there is one to compare. */
6192
+ trend?: string | null;
6193
+ /** Which scoring model produced it. Bands are not comparable across versions. */
6194
+ model_version: number;
6195
+ /** RFC 3339 UTC — when the snapshot was computed, not when it was read. */
6196
+ computed_at: string;
6197
+ /**
6198
+ * Per-signal contributions behind the index.
6199
+ *
6200
+ * Any JSON value: the backend passes the stored blob through verbatim and
6201
+ * its shape is the scoring model's business, so it is versioned by
6202
+ * `model_version` rather than by this type — an object today, an array in
6203
+ * the backend's own fixture. Narrow it against the model you support;
6204
+ * do not assume it is keyed.
6205
+ */
6206
+ components: unknown;
6207
+ }
6208
+ /** One shop's stored risk, per connector. */
6209
+ interface ShopRisk {
6210
+ shop_id: string;
6211
+ /** Newest `computed_at` across `connectors`; absent when the shop has none. */
6212
+ computed_at?: string | null;
6213
+ connectors: ConnectorRisk[];
6214
+ }
6215
+ /**
6216
+ * The merchant-wide roll-up.
6217
+ *
6218
+ * A shop-scoped caller — a JWT with a profile-scoped role, or an API key
6219
+ * pinned to one shop — gets its own shop and no sibling's, from this endpoint
6220
+ * as much as from the per-shop one.
6221
+ */
6222
+ interface MerchantRisk {
6223
+ merchant_id: string;
6224
+ /** Worst band across every shop; absent when nothing has been scored. */
6225
+ worst_band?: string | null;
6226
+ shops: ShopRisk[];
6227
+ }
6228
+ /** How far along a connector's integration is. */
6229
+ type ConnectorIntegrationStatus = 'live' | 'sandbox' | 'beta' | 'alpha';
6230
+ /** What kind of processor a connector is. */
6231
+ type DelopayConnectorCategory = 'payment_gateway' | 'alternative_payment_method' | 'bank_acquirer' | 'payout_processor' | 'authentication_provider' | 'fraud_and_risk_management_provider' | 'tax_calculation_provider' | 'revenue_growth_management_platform' | 'vault_provider';
6232
+ /** Whether one feature is available on a connector's payment method. */
6233
+ type FeatureStatus = 'supported' | 'not_supported';
6234
+ /** Card-only additions to a supported payment method. */
6235
+ interface CardSpecificFeatures {
6236
+ three_ds: FeatureStatus;
6237
+ no_three_ds: FeatureStatus;
6238
+ /** Card network names, as the connector reports them. */
6239
+ supported_card_networks: string[];
6240
+ }
6241
+ /** One payment method type a connector supports, and what it supports on it. */
6242
+ interface SupportedPaymentMethod extends Partial<CardSpecificFeatures> {
6243
+ payment_method: PaymentMethod;
6244
+ payment_method_type: PaymentMethodType;
6245
+ payment_method_type_display_name: string;
6246
+ mandates: FeatureStatus;
6247
+ refunds: FeatureStatus;
6248
+ supported_capture_methods: CaptureMethod[];
6249
+ /** ISO 3166-1 alpha-3 codes. */
6250
+ supported_countries?: string[] | null;
6251
+ supported_currencies?: Currency[] | null;
6252
+ }
6253
+ /** One connector's entry in the feature matrix. */
6254
+ interface ConnectorFeatureMatrixEntry {
6255
+ name: string;
6256
+ display_name: string;
6257
+ description: string;
6258
+ base_url?: string | null;
6259
+ category: DelopayConnectorCategory;
6260
+ integration_status: ConnectorIntegrationStatus;
6261
+ supported_payment_methods?: SupportedPaymentMethod[] | null;
6262
+ supported_webhook_flows?: EventClass[] | null;
6263
+ /**
6264
+ * Whether the connector rejects an incoming webhook it cannot verify,
6265
+ * rather than processing it unverified.
6266
+ *
6267
+ * A statement about failure, not about setup. `true` means an event that
6268
+ * does not verify is dropped at the door; `false` means a failed
6269
+ * verification is not by itself a reason to discard the event.
6270
+ *
6271
+ * It does **not** say the merchant must supply a credential, and must not
6272
+ * be read that way: some connectors verify a signature against a value
6273
+ * stored on the connector account, others check the request's source IP and
6274
+ * fall back to the vendor's documented egress address — fail-closed either
6275
+ * way, with nothing to enter. Read it as "an unverified event will not be
6276
+ * acted on". Which field, if any, the setup flow must then collect is a
6277
+ * separate question the connector's own config answers.
6278
+ */
6279
+ webhook_source_verification_mandatory: boolean;
6280
+ }
6281
+ interface FeatureMatrixResponse {
6282
+ connector_count: number;
6283
+ connectors: ConnectorFeatureMatrixEntry[];
6284
+ }
5536
6285
 
5537
6286
  /** Create and manage API keys for a merchant account. */
5538
6287
  declare class ApiKeys {
@@ -5791,7 +6540,32 @@ declare class Connectors {
5791
6540
  private readonly request;
5792
6541
  constructor(request: RequestFn);
5793
6542
  create(accountId: string, params: ConnectorCreateRequest): Promise<ConnectorResponse>;
6543
+ /**
6544
+ * One connector account.
6545
+ *
6546
+ * The credential-bearing fields come back `null` here, whatever is stored:
6547
+ * `connector_webhook_details`, `connector_wallets_details`,
6548
+ * `pm_auth_config` and `additional_merchant_data`. They are dropped rather
6549
+ * than masked, because an editor that prefills from this response and
6550
+ * PATCHes the field back would otherwise save a mask over a live signing
6551
+ * secret. Send those fields only when the operator has typed a new value,
6552
+ * and omit them entirely otherwise — an omitted field leaves the stored one
6553
+ * alone.
6554
+ *
6555
+ * This is the retrieve path alone. `create` and `update` echo back what the
6556
+ * caller sent, and `clone` returns the *copied* secrets — see that method.
6557
+ *
6558
+ * `GET /account/{accountId}/connectors/{connectorId}`
6559
+ */
5794
6560
  retrieve(accountId: string, connectorId: string): Promise<ConnectorResponse>;
6561
+ /**
6562
+ * The merchant's connector accounts.
6563
+ *
6564
+ * Never wider than the caller: an API key pinned to one shop lists that
6565
+ * shop's connectors only, not every sibling shop's.
6566
+ *
6567
+ * `GET /account/{accountId}/connectors`
6568
+ */
5795
6569
  list(accountId: string): Promise<ConnectorResponse[]>;
5796
6570
  /**
5797
6571
  * The profile-scoped connector list. The merchant-wide `list()` is
@@ -5815,15 +6589,30 @@ declare class Connectors {
5815
6589
  */
5816
6590
  syncEpayoutsCatalog(accountId: string, connectorId: string): Promise<EpayoutsCatalogResponse>;
5817
6591
  update(accountId: string, connectorId: string, params: ConnectorUpdateRequest): Promise<ConnectorResponse>;
6592
+ /**
6593
+ * Remove a connector account.
6594
+ *
6595
+ * A shop-scoped role may remove a connector of its own shop — the shop is
6596
+ * re-checked server-side — so creating processors and removing them are the
6597
+ * same rung of access rather than two.
6598
+ *
6599
+ * `DELETE /account/{accountId}/connectors/{connectorId}`
6600
+ */
5818
6601
  delete(accountId: string, connectorId: string): Promise<ConnectorResponse>;
5819
6602
  /**
5820
6603
  * Clone a connector into another shop (business profile) of the same
5821
6604
  * merchant. `POST /account/{accountId}/connectors/{connectorId}/clone`
5822
6605
  *
5823
6606
  * Credentials are copied server-side, re-encrypted under the same merchant
5824
- * key the caller never handles them (list/retrieve mask credentials, so a
5825
- * client-side copy is impossible). Returns the newly created connector in
5826
- * the target shop.
6607
+ * key, so the caller never has to *supply* them — `retrieve` returns `null`
6608
+ * for the credential fields, which is what makes a client-side copy
6609
+ * impossible in the first place.
6610
+ *
6611
+ * The response, however, is the unredacted connector: `connector_account_details`
6612
+ * is masked, but `connector_webhook_details`, `connector_wallets_details`,
6613
+ * `pm_auth_config` and `additional_merchant_data` come back with the copied
6614
+ * secrets in them — values this caller never sent. Do not log or echo the
6615
+ * response; read `merchant_connector_id` and discard the rest.
5827
6616
  */
5828
6617
  clone(accountId: string, connectorId: string, params: ConnectorCloneRequest): Promise<ConnectorResponse>;
5829
6618
  /**
@@ -6095,6 +6884,11 @@ declare class Disputes {
6095
6884
  * Ephemeral keys grant a mobile or browser client temporary access to a
6096
6885
  * specific customer's data (e.g. to display saved payment methods) without
6097
6886
  * exposing your secret API key.
6887
+ *
6888
+ * The key is confined to the customer it was minted for, and that is
6889
+ * enforced on every customer and payment-method route: a request for another
6890
+ * customer — or for a payment method belonging to one — is refused rather
6891
+ * than served. Mint one key per customer; do not reuse a key across them.
6098
6892
  */
6099
6893
  declare class EphemeralKeys {
6100
6894
  private readonly request;
@@ -6453,6 +7247,13 @@ declare class Payments {
6453
7247
  * test_mode: process.env.NODE_ENV !== 'production',
6454
7248
  * });
6455
7249
  * ```
7250
+ *
7251
+ * A payment that pins one connector through `routing` (the `single` form)
7252
+ * is now checked against `test_mode` here rather than at confirm: if that
7253
+ * connector has no credentials for the environment asked for, create fails
7254
+ * instead of handing back a payment whose checkout the buyer cannot
7255
+ * complete. `priority` and `volume_split` name several accounts and are
7256
+ * still resolved at confirm.
6456
7257
  */
6457
7258
  create(params: PaymentCreateRequest, options?: RequestExtras): Promise<PaymentResponse>;
6458
7259
  /**
@@ -6848,6 +7649,14 @@ declare class Refunds {
6848
7649
  /**
6849
7650
  * Create a refund for a payment.
6850
7651
  *
7652
+ * Dashboard-initiated refunds are subject to the caller's operation-limit
7653
+ * rule, resolved against the role the request authenticated with. An
7654
+ * over-limit refund either fails with `DE_01` (the rule blocks) or with
7655
+ * HTTP 409 `DE_06` — the rule requires approval, and `DelopayError.data`
7656
+ * carries `PendingApprovalErrorDetails`. No refund exists in either case;
7657
+ * `DE_06` names one that a second approver can still let through, via
7658
+ * `operationLimits.approve()`.
7659
+ *
6851
7660
  * @param params - Refund parameters, including the required `payment_id` and optional amount.
6852
7661
  * @returns The created refund.
6853
7662
  *
@@ -7020,6 +7829,45 @@ declare class Routing {
7020
7829
  * @returns The updated routing configuration including the algorithm body.
7021
7830
  */
7022
7831
  update(algorithmId: string, params: RoutingConfigUpdateRequest): Promise<MerchantRoutingAlgorithm>;
7832
+ /**
7833
+ * Every content window a routing configuration has had, oldest first.
7834
+ *
7835
+ * A configuration's rule can be edited in place, so this is what makes "which
7836
+ * rule decided this payment" answerable after the fact. Each entry is the rule
7837
+ * as it stood between `valid_from` and `valid_until`; the windows of one
7838
+ * config abut exactly, with no gap.
7839
+ *
7840
+ * Paging covers the whole timeline including the live window, so a page never
7841
+ * holds more than `limit` entries and the live one — the only entry without a
7842
+ * `valid_until` — comes back on exactly one page. Advance `offset` by `limit`;
7843
+ * a page past the end is empty, and `total_count` says where that end is
7844
+ * without probing for it.
7845
+ *
7846
+ * `GET /routing/{algorithmId}/history`
7847
+ *
7848
+ * @param algorithmId - The routing algorithm to read the history of.
7849
+ * @param params - Optional paging.
7850
+ */
7851
+ history(algorithmId: string, params?: RoutingHistoryParams): Promise<RoutingConfigHistoryResponse>;
7852
+ /**
7853
+ * A shop's lifetime per-connector payment caps, each with how much of it is
7854
+ * already spent.
7855
+ *
7856
+ * `GET /routing/connector-caps/{profileId}`
7857
+ */
7858
+ connectorCaps(profileId: string): Promise<RoutingConnectorCaps>;
7859
+ /**
7860
+ * Replace a shop's per-connector payment caps.
7861
+ *
7862
+ * Whole-set replacement, not a patch: the list sent becomes the complete set
7863
+ * of capped connectors, and an empty list clears them all — which is how
7864
+ * acquirer onboarding finishes, the new account ceasing to be a special case.
7865
+ *
7866
+ * Every account named must belong to this shop; one that does not is refused.
7867
+ *
7868
+ * `PUT /routing/connector-caps/{profileId}`
7869
+ */
7870
+ setConnectorCaps(profileId: string, params: RoutingConnectorCaps): Promise<RoutingConnectorCaps>;
7023
7871
  /**
7024
7872
  * List all routing algorithms for the current merchant.
7025
7873
  *
@@ -7731,7 +8579,15 @@ declare class Users {
7731
8579
  getAuthUrl(): Promise<Record<string, unknown>>;
7732
8580
  /** Select auth method. `POST /user/auth/select` */
7733
8581
  selectAuth(params: Record<string, unknown>): Promise<Record<string, unknown>>;
7734
- /** List users in lineage. `GET /user/employees/list` */
8582
+ /**
8583
+ * List users in lineage.
8584
+ *
8585
+ * Needs the Users *view* grant now — the response carries colleagues' email
8586
+ * addresses, so a role without it is refused rather than handed a roster.
8587
+ * A shop-scoped role keeps reading its own shop's members.
8588
+ *
8589
+ * `GET /user/employees/list`
8590
+ */
7735
8591
  listUsersInLineage(params?: ListUsersInLineageParams): Promise<UserInLineage[]>;
7736
8592
  /** Resend invite. `POST /user/resend-invite` */
7737
8593
  resendInvite(params: Record<string, unknown>): Promise<Record<string, unknown>>;
@@ -7859,6 +8715,33 @@ declare class Analytics {
7859
8715
  * `GET /analytics/devices/transactions`
7860
8716
  */
7861
8717
  deviceTransactions(params: DeviceDrillRequest): Promise<DrillResponse>;
8718
+ /**
8719
+ * Subscription analytics over `subscription` and `invoice`: estimated
8720
+ * recurring volume, the invoice funnel, movement (new / expansion /
8721
+ * contraction / churn), both processor axes, plan mix and the breakdown one
8722
+ * level below the scope. Pinned server-side to your own merchant and
8723
+ * drillable via `project_id` / `shop_id` exactly like `scope`.
8724
+ *
8725
+ * Half the figures are **stocks** — a snapshot at the window's end rather
8726
+ * than a sum over it — so `est_monthly_volume_usd` and `active` can match
8727
+ * across a 7-day and a 30-day window while `billed_volume_usd` does not.
8728
+ * Day granularity only. `GET /analytics/subscriptions`
8729
+ */
8730
+ subscriptions(params?: SubscriptionAnalyticsRequest): Promise<SubscriptionAnalyticsResponse>;
8731
+ /**
8732
+ * The billing cycles behind one clicked element of the subscription
8733
+ * dashboard: an invoice outcome, a processor slice on either axis, a plan
8734
+ * row, a subscription status, a movement component, a series bucket or a
8735
+ * breakdown row. Same window/scope/filter contract as `subscriptions`; 50
8736
+ * rows per page (`offset` for the next), newest first, with the full match
8737
+ * count alongside.
8738
+ *
8739
+ * A cycle that never reached a payment is listed too — that is what "still
8740
+ * unpaid" means — and carries its invoice id as `payment_id` with
8741
+ * `invoice_id` set to the same value, so you can always tell which you got.
8742
+ * `GET /analytics/subscriptions/list`
8743
+ */
8744
+ subscriptionsList(params: SubscriptionDrillRequest): Promise<DrillResponse>;
7862
8745
  /** Global search. `POST /analytics/search` */
7863
8746
  search(params: Record<string, unknown>): Promise<Record<string, unknown>>;
7864
8747
  /** Domain-specific search. `POST /analytics/search/{domain}` */
@@ -7904,18 +8787,22 @@ declare class Export {
7904
8787
  transactions(params: Record<string, unknown>): Promise<Record<string, unknown>>;
7905
8788
  }
7906
8789
 
8790
+ /**
8791
+ * What each connector can do: payment methods, capture methods, webhook
8792
+ * flows, and whether an unverified webhook is acted on.
8793
+ */
7907
8794
  declare class FeatureMatrix {
7908
8795
  private readonly request;
7909
8796
  constructor(request: RequestFn);
7910
8797
  /** Retrieve the feature matrix. `GET /feature-matrix` */
7911
- retrieve(): Promise<Record<string, unknown>>;
8798
+ retrieve(): Promise<FeatureMatrixResponse>;
7912
8799
  /**
7913
8800
  * Retrieve the feature matrix scoped to a merchant. Beta connectors
7914
8801
  * are filtered against the merchant's allowlist so the dashboard only
7915
8802
  * surfaces connectors the merchant can actually attach.
7916
8803
  * `GET /feature-matrix/{merchantId}`
7917
8804
  */
7918
- retrieveForMerchant(merchantId: string): Promise<Record<string, unknown>>;
8805
+ retrieveForMerchant(merchantId: string): Promise<FeatureMatrixResponse>;
7919
8806
  }
7920
8807
 
7921
8808
  declare class Files {
@@ -8185,6 +9072,12 @@ declare class Settlement {
8185
9072
  /**
8186
9073
  * Record payout progress on a statement (`unpaid` / `partial` / `paid`).
8187
9074
  *
9075
+ * Subject to the caller's `settlement_payout` operation limit, which can
9076
+ * only be a per-operation ceiling: an over-limit call fails with `DE_01`
9077
+ * and nothing is recorded. There is no approval route out of it — four-eyes
9078
+ * needs an executor that can run the operation once somebody says yes, and
9079
+ * only refunds have one, so a settlement rule can only block.
9080
+ *
8188
9081
  * `POST /settlement/statements/{statementId}/payout`
8189
9082
  */
8190
9083
  updateStatementPayout(statementId: string, params: StatementPayoutUpdateRequest, options?: RequestExtras): Promise<FeeStatementDetail>;
@@ -8240,6 +9133,11 @@ declare class Settlement {
8240
9133
  * Add a manual adjustment to a statement. Positive `amount_usd` charges
8241
9134
  * the shop (reducing their payout); negative credits them.
8242
9135
  *
9136
+ * Subject to the caller's `settlement_adjustment` operation limit (amount
9137
+ * dimensions only): an over-limit call fails with `DE_01` and no adjustment
9138
+ * is added. A settlement rule can only block — approval is refund-only, for
9139
+ * the reason given on `updateStatementPayout()`.
9140
+ *
8243
9141
  * `POST /settlement/statements/{statementId}/adjustments`
8244
9142
  */
8245
9143
  createStatementAdjustment(statementId: string, params: StatementAdjustmentCreateRequest, options?: RequestExtras): Promise<StatementAdjustment>;
@@ -8252,9 +9150,20 @@ declare class Settlement {
8252
9150
  }
8253
9151
 
8254
9152
  /**
8255
- * Per-operation spending limits (refunds today): rules scoped to the
8256
- * merchant, a role or a user, plus the merchant-level enforcement settings.
9153
+ * Per-operation spending limits: rules scoped to the merchant, a role or a
9154
+ * user, the merchant-level enforcement settings, and the approvals inbox.
8257
9155
  * Enforcement resolves the most specific rule: user > role > merchant.
9156
+ *
9157
+ * A rule set to `require_approval` does not refuse an over-limit operation —
9158
+ * it parks it. The original call fails with HTTP 409 `DE_06` carrying
9159
+ * `PendingApprovalErrorDetails`, and the operation runs only once a second
9160
+ * person approves the request through this inbox.
9161
+ *
9162
+ * **Refunds only.** Approval needs an executor that can run the operation
9163
+ * after the decision, and only refunds have one; the settlement operations
9164
+ * take `block` alone, which the request type enforces. So every request in
9165
+ * this inbox is a refund, and `DE_06` never comes back from a settlement
9166
+ * call — an over-limit settlement adjustment or payout fails with `DE_01`.
8258
9167
  */
8259
9168
  declare class OperationLimits {
8260
9169
  private readonly request;
@@ -8291,6 +9200,69 @@ declare class OperationLimits {
8291
9200
  * `PUT /operation-limits/settings`
8292
9201
  */
8293
9202
  updateSettings(params: UpdateOperationLimitSettingsRequest, options?: RequestExtras): Promise<OperationLimitSettings>;
9203
+ /**
9204
+ * The approvals inbox: over-limit operations waiting on a second person.
9205
+ *
9206
+ * Both filters default rather than widen. With no `status` the list holds
9207
+ * **pending requests only** — approved, rejected and expired ones are
9208
+ * reachable only by asking for that status, so a history view must pass one
9209
+ * per status. With no `operation` it lists **refunds only**; the list is one
9210
+ * operation at a time. `limit` defaults to 100 and is clamped to 1–500.
9211
+ *
9212
+ * Requests past their `expires_at` are expired before the list is read, so
9213
+ * nothing here is shown as actionable when it is not.
9214
+ *
9215
+ * `GET /operation-limits/approvals`
9216
+ */
9217
+ listApprovals(params?: PendingOperationListParams, options?: RequestExtras): Promise<PendingOperationListResponse>;
9218
+ /**
9219
+ * Approve a parked operation and execute it.
9220
+ *
9221
+ * Refused for the user who requested it, and for an approver whose own
9222
+ * limit would not have covered the operation — the permission is necessary
9223
+ * and not sufficient.
9224
+ *
9225
+ * Approval and execution are two facts. A request that was approved but
9226
+ * whose operation then failed comes back `approved` with `execution_error`
9227
+ * set and no `result_entity_id`; that is a real outcome, not a partial read.
9228
+ *
9229
+ * `POST /operation-limits/approvals/{id}/approve`
9230
+ */
9231
+ approve(id: string, params?: DecidePendingOperationRequest, options?: RequestExtras): Promise<PendingOperation>;
9232
+ /**
9233
+ * Reject a parked operation. Nothing is executed and the request is closed.
9234
+ *
9235
+ * `POST /operation-limits/approvals/{id}/reject`
9236
+ */
9237
+ reject(id: string, params?: DecidePendingOperationRequest, options?: RequestExtras): Promise<PendingOperation>;
9238
+ }
9239
+
9240
+ /**
9241
+ * Stored shop risk indexes, per connector.
9242
+ *
9243
+ * Both reads return snapshots and never score on demand, so `computed_at` is
9244
+ * the age of the answer rather than the time of the call.
9245
+ *
9246
+ * The caller's own scope is what bounds the answer, and it is enforced
9247
+ * server-side: a profile-scoped role, or an API key pinned to one shop, gets
9248
+ * that shop from both endpoints and cannot read or enumerate a sibling's.
9249
+ */
9250
+ declare class Risk {
9251
+ private readonly request;
9252
+ constructor(request: RequestFn);
9253
+ /**
9254
+ * Every shop's stored risk for the caller's merchant, with the worst band
9255
+ * across them.
9256
+ *
9257
+ * `GET /risk`
9258
+ */
9259
+ retrieve(options?: RequestExtras): Promise<MerchantRisk>;
9260
+ /**
9261
+ * One shop's stored risk index per connector.
9262
+ *
9263
+ * `GET /risk/shops/{profileId}`
9264
+ */
9265
+ retrieveShop(profileId: string, options?: RequestExtras): Promise<ShopRisk>;
8294
9266
  }
8295
9267
 
8296
9268
  /**
@@ -8422,6 +9394,7 @@ declare class Delopay {
8422
9394
  readonly threeDsRules: ThreeDsRules;
8423
9395
  readonly settlement: Settlement;
8424
9396
  readonly operationLimits: OperationLimits;
9397
+ readonly risk: Risk;
8425
9398
  readonly subscriptions: Subscriptions;
8426
9399
  readonly files: Files;
8427
9400
  readonly export: Export;
@@ -9519,4 +10492,4 @@ declare function focusedCheckoutUrl(params: FocusedCheckoutUrlParams): string;
9519
10492
  declare const CHECKOUT_EVENT_KINDS: readonly ["native_pane_selected", "native_pane_tab_opened", "native_pane_tab_blocked", "native_pane_abandoned", "native_pane_returned"];
9520
10493
  type CheckoutEventKind = (typeof CHECKOUT_EVENT_KINDS)[number];
9521
10494
 
9522
- export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, 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 DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillRequest, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillPayment, type DrillResponse, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type 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 InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, 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 ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingConfigCreateRequest, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RuleConnectorSelection, STRIPE_NATIVE_PANE_METHODS, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type 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 SubscriptionBillingProcessorResponse, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionResponse, type SubscriptionStatus, Subscriptions, type SummaryPosition, type SurchargeDetailsResponse, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, cloneNativePane, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue, visibleCustomFields };
10495
+ export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsMethodSlice, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillRequest, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeListParams, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillPayment, type DrillResponse, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, Export, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type ImpersonateEmployeeRequest, type IntentStatus, type InviteUsersRequest, type InviteUsersResponse, type InvoiceOutcomes, type InvoiceStatus, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSurcharge, type MinimalRoleInfo, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativePaneMethodInfo, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OverrideAction, type OverrideScope, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PayoutCreateRequest, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RuleConnectorSelection, STRIPE_NATIVE_PANE_METHODS, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeDetailsResponse, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionType, type TrustBadge, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, cloneBranding, cloneCustomField, cloneNativePane, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeNativePanes, defaultBranding, defaultCustomFieldVisibility, defaultNativePane, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, encodeNativePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, leaf, logoDimensions, nativePaneMethodInfo, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, ruleMatchToTree, sanitizeCustomCss, shadowFor, surfacePadValue, verticalGapValue, visibleCustomFields };