@delopay/sdk 0.133.0 → 0.136.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.cts CHANGED
@@ -29,9 +29,31 @@ type ApiKeyExpiration = 'never' | string;
29
29
  type AuthenticationStatus = 'started' | 'pending' | 'success' | 'failed';
30
30
  type MandateType = 'single_use' | 'multi_use';
31
31
  type MerchantAccountType = 'standard' | 'platform' | 'connected';
32
- type EventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' | 'payment_cancelled' | 'payment_cancelled_post_capture' | 'payment_authorized' | 'payment_partially_authorized' | 'payment_captured' | 'payment_expired' | 'action_required' | 'refund_succeeded' | 'refund_failed' | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid';
32
+ /**
33
+ * The event types `events.trigger()` accepts (be#318).
34
+ *
35
+ * Firing an event by hand works by overwriting the payload's `status`, so it
36
+ * is defined only where the object HAS a status a shop's order state keys off:
37
+ * payment intents and refunds. The endpoint refuses everything else with a
38
+ * 400, so this is the wire contract, not a convenience narrowing.
39
+ *
40
+ * `EventType` is built from this union rather than repeating its members, so
41
+ * the two cannot drift apart.
42
+ */
43
+ type ManualTriggerEventType = 'payment_succeeded' | 'payment_failed' | 'payment_processing' | 'payment_cancelled' | 'payment_cancelled_post_capture' | 'payment_authorized' | 'payment_partially_authorized' | 'payment_captured' | 'payment_expired' | 'action_required' | 'refund_succeeded' | 'refund_failed';
44
+ type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' | 'dispute_accepted' | 'dispute_cancelled' | 'dispute_challenged' | 'dispute_won' | 'dispute_lost' | 'mandate_active' | 'mandate_revoked' | 'payout_success' | 'payout_failed' | 'payout_initiated' | 'payout_processing' | 'payout_cancelled' | 'payout_expired' | 'payout_reversed' | 'invoice_paid';
33
45
  type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions';
34
- type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry';
46
+ type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry'
47
+ /**
48
+ * An event a dashboard operator fired by hand (be#318).
49
+ *
50
+ * Not a replay. `manual_retry` redelivers the recorded bytes of an event the
51
+ * router produced; this is a brand-new event whose payload status was forced
52
+ * to agree with the chosen event type, so it may assert a state DeloPay's own
53
+ * records contradict. Treat it as an assertion by a person, never as evidence
54
+ * of what the object did.
55
+ */
56
+ | 'manual_trigger';
35
57
  /**
36
58
  * Why DeloPay stopped delivering an event.
37
59
  *
@@ -440,6 +462,26 @@ interface PaymentResponse {
440
462
  * one. `null` counts as live everywhere it is filtered on.
441
463
  */
442
464
  test_mode?: boolean | null;
465
+ /**
466
+ * Where this payment's money has got to, according to its rail
467
+ * (delopay-backend#865) — for the active attempt, the one every other
468
+ * attempt-level field here describes.
469
+ *
470
+ * Present on the payments list and on retrieve. Absent on the create,
471
+ * confirm and update responses, where it is not computed, and absent for a
472
+ * profile-scoped (shop) viewer, who is not shown the host's settlement with
473
+ * the rail. When present the value is total: `not_recorded` is a value,
474
+ * never `null`. `available` is **not** paid out — see
475
+ * {@link ConnectorSettlementStatus}.
476
+ */
477
+ connector_settlement_status?: ConnectorSettlementStatus;
478
+ /**
479
+ * How the latest attempt's connector was chosen (delopay-backend#990) —
480
+ * the category of the decision, never the rule. Per attempt, read
481
+ * `payments.listAttempts()`, whose rows carry their own value. `null` on a
482
+ * payment recorded before the backend stored it.
483
+ */
484
+ routing_approach?: RoutingApproach | null;
443
485
  [key: string]: unknown;
444
486
  }
445
487
  interface PaymentListParams {
@@ -530,8 +572,31 @@ interface PaymentAttemptResponse {
530
572
  client_version?: string | null;
531
573
  /** Structured failure detail resolved from the unified + raw error info. */
532
574
  error_details?: PaymentErrorDetails | null;
575
+ /**
576
+ * The connector account (`mca_…`) this attempt ran on
577
+ * (delopay-backend#990). `null` for an attempt that never reached a
578
+ * connector, and absent for a caller whose connector grant does not cover
579
+ * the account.
580
+ */
581
+ merchant_connector_id?: string | null;
582
+ /**
583
+ * How this attempt's connector was chosen (delopay-backend#990) — the
584
+ * category of the decision, never the rule. `null` on an attempt recorded
585
+ * before the backend stored it.
586
+ */
587
+ routing_approach?: RoutingApproach | null;
533
588
  [key: string]: unknown;
534
589
  }
590
+ /**
591
+ * The mechanism that chose a payment attempt's connector
592
+ * (delopay-backend#990): the **category** of the decision, never the rule
593
+ * itself — which rule, which bucket, is delopay-backend#991. The eight known
594
+ * values are listed; the backend publishes the type as an open string, so a
595
+ * value this SDK has not heard of is passed through as recorded rather than
596
+ * mapped to a neighbour. `default_fallback` is the weak reading — no routing
597
+ * rule matched — and not a claim that a default account was chosen.
598
+ */
599
+ type RoutingApproach = 'rule_based_routing' | 'volume_based_routing' | 'straight_through_routing' | 'success_rate_exploitation' | 'success_rate_exploration' | 'contract_based_routing' | 'debit_routing' | 'default_fallback' | (string & {});
535
600
  /** Response body for `payments.listAttempts` — every attempt on a single payment. */
536
601
  interface PaymentAttemptsListResponse {
537
602
  /** The number of attempts returned for this payment. */
@@ -4142,6 +4207,15 @@ interface EventListParams {
4142
4207
  event_id?: string | null;
4143
4208
  profile_id?: string | null;
4144
4209
  event_classes?: EventClass[] | null;
4210
+ event_types?: EventType[] | null;
4211
+ /** Filter on whether the webhook was ultimately delivered. */
4212
+ is_delivered?: boolean | null;
4213
+ /**
4214
+ * Filter on how the delivery was produced. Empty or absent means no
4215
+ * filtering; naming any kind excludes events written before the column
4216
+ * existed, whose kind is unknown.
4217
+ */
4218
+ delivery_attempts?: WebhookDeliveryAttempt[] | null;
4145
4219
  }
4146
4220
  interface EventResponse {
4147
4221
  event_id: string;
@@ -4152,6 +4226,13 @@ interface EventResponse {
4152
4226
  event_class: EventClass;
4153
4227
  initial_attempt_id: string;
4154
4228
  created: string;
4229
+ /**
4230
+ * How this delivery was produced. Present on the list as well as the detail,
4231
+ * so a hand-fired `manual_trigger` event — the one event whose payload is an
4232
+ * assertion rather than an observation — is recognisable without opening it.
4233
+ * `null` on events written before the column existed.
4234
+ */
4235
+ delivery_attempt?: WebhookDeliveryAttempt | null;
4155
4236
  is_delivery_successful?: boolean | null;
4156
4237
  delivery_terminal_reason?: WebhookDeliveryTerminalReason | null;
4157
4238
  latest_attempt_id?: string | null;
@@ -4170,9 +4251,42 @@ interface EventDetailResponse extends EventResponse {
4170
4251
  delivery_attempt?: WebhookDeliveryAttempt | null;
4171
4252
  }
4172
4253
  interface EventListResponse {
4173
- data: EventResponse[];
4254
+ events: EventResponse[];
4174
4255
  total_count?: number | null;
4175
4256
  }
4257
+ /**
4258
+ * Fire an outgoing webhook event by hand for one object (be#318).
4259
+ *
4260
+ * Not a replay: the payload is built from the object's current record and its
4261
+ * status is then **overwritten** to agree with `event_type`. The object's own
4262
+ * state is neither checked nor changed, so this can tell a shop that a payment
4263
+ * succeeded which DeloPay records as failed.
4264
+ */
4265
+ interface EventManualTriggerRequest {
4266
+ /** Payment Intent ID for a payments event, Refund ID for a refunds event. */
4267
+ object_id: string;
4268
+ /**
4269
+ * The event type to fire. The payload's status is forced to match it.
4270
+ *
4271
+ * Narrowed to {@link ManualTriggerEventType}: a dispute, mandate, payout or
4272
+ * subscription event has no status this operation can assert, and the
4273
+ * endpoint rejects it.
4274
+ */
4275
+ event_type: ManualTriggerEventType;
4276
+ /** Ignored for a shop-scoped caller, who is pinned to their own shop. */
4277
+ profile_id?: string | null;
4278
+ /** Why it was fired. Required, and recorded on the payload and the timeline. */
4279
+ reason: string;
4280
+ }
4281
+ interface EventManualTriggerResponse extends EventDetailResponse {
4282
+ /** The status the object actually held in DeloPay's records when fired. */
4283
+ object_status?: string | null;
4284
+ /**
4285
+ * `true` when the forced payload status differs from `object_status` — the
4286
+ * merchant has been told something DeloPay's own records contradict.
4287
+ */
4288
+ status_overridden: boolean;
4289
+ }
4176
4290
  interface EventDeliveryAttemptResponse {
4177
4291
  attempt_id: string;
4178
4292
  status: string;
@@ -4838,7 +4952,54 @@ type ParentGroup = 'Operations' | 'Refunds'
4838
4952
  * is built from is already on every payment, and the provider authenticates
4839
4953
  * the user itself. `Read` is the only scope.
4840
4954
  */
4841
- | 'ConnectorDashboard';
4955
+ | 'ConnectorDashboard'
4956
+ /** The merchant's own audit log. Read-only — an audit trail is never edited. */
4957
+ | 'AuditLog'
4958
+ /** The hosted checkout's appearance. */
4959
+ | 'CheckoutBranding'
4960
+ /** Carved out of `Operations`. */
4961
+ | 'Transactions'
4962
+ /** Carved out of `Operations`. */
4963
+ | 'Customers'
4964
+ /** Carved out of `Operations`. */
4965
+ | 'Subscriptions'
4966
+ /** Carved out of `Operations`. Read-only: payouts define no write scope. */
4967
+ | 'Payouts'
4968
+ /** Carved out of `Operations`. */
4969
+ | 'Mandates'
4970
+ /** Carved out of `Operations`. */
4971
+ | 'Disputes'
4972
+ /** Carved out of `Analytics`: the payment-performance surface. */
4973
+ | 'AnalyticsPayments'
4974
+ /** Carved out of `Analytics`: the recurring-revenue surface. */
4975
+ | 'AnalyticsSubscriptions'
4976
+ /** Carved out of `Analytics`: the devices & browsers surface. */
4977
+ | 'AnalyticsDevices'
4978
+ /** Carved out of `Analytics`: the countries & cities surface. */
4979
+ | 'AnalyticsGeo'
4980
+ /** Carved out of `Workflows`. */
4981
+ | 'Routing'
4982
+ /** Carved out of `Workflows`. */
4983
+ | 'Surcharges'
4984
+ /** Carved out of `Workflows`. */
4985
+ | 'ThreeDsDecision'
4986
+ /** Carved out of `Workflows`. */
4987
+ | 'MethodAvailability'
4988
+ /** What `Account` narrows to: the merchant's own details, shops and webhooks. */
4989
+ | 'MerchantSettings'
4990
+ /** Carved out of `Account`. */
4991
+ | 'FeeSchedule'
4992
+ /** Carved out of `Account`: the prepaid balance and its ledger. */
4993
+ | 'BalanceLedger'
4994
+ /** Carved out of `Account`. */
4995
+ | 'Blocklist'
4996
+ /**
4997
+ * Which sites may embed the hosted checkout (`iframe_allowed_origins`, the
4998
+ * checkout's `frame-ancestors` CSP). Carved out of `Account` so "may rename
4999
+ * a shop" and "may decide who can frame our checkout" are separately
5000
+ * grantable.
5001
+ */
5002
+ | 'IframeOrigins';
4842
5003
  /**
4843
5004
  * What a role may do to the resources a {@link ParentGroup} names.
4844
5005
  *
@@ -4849,12 +5010,15 @@ type ParentGroup = 'Operations' | 'Refunds'
4849
5010
  * - `Edit` — create and update, but **not** delete.
4850
5011
  * - `Write` — create, update and delete.
4851
5012
  *
4852
- * `Edit` is offered for `Connectors` only. It was added beneath `Write` rather
4853
- * than a `Delete` scope being added above it, so `Write` still means exactly
4854
- * what it always did and no existing role's powers changed — treat `Write` as
4855
- * full control, including deletion, as before.
5013
+ * `Edit` is offered where a resource defines it: `Connectors`, and since
5014
+ * todos#913/#120 also `Customers`, `Subscriptions`, `Settlement` and
5015
+ * `CheckoutBranding`. It was added beneath `Write` rather than a `Delete`
5016
+ * scope being added above it, so `Write` still means exactly what it always
5017
+ * did and no existing role's powers changed — treat `Write` as full control,
5018
+ * including deletion, as before.
4856
5019
  *
4857
- * A role holding `Edit` may add and maintain connectors but cannot remove one.
5020
+ * A role holding `Edit` may add and maintain the area's records but cannot
5021
+ * remove one.
4858
5022
  */
4859
5023
  type PermissionScope = 'Read' | 'Edit' | 'Write';
4860
5024
  /**
@@ -7104,15 +7268,132 @@ interface PaymentListFilterConstraints {
7104
7268
  end_time?: string | null;
7105
7269
  /** `true` = test only, `false` = live only, omitted = both environments. */
7106
7270
  test_mode?: boolean | null;
7271
+ /**
7272
+ * Filter by what the rail says about settling the payment
7273
+ * (delopay-backend#865). Values combine as OR, and each is the same word
7274
+ * the row's `connector_settlement_status` carries, so a status read off
7275
+ * one payment can be searched for.
7276
+ *
7277
+ * There is deliberately no "not paid out" value: it would have to fold in
7278
+ * the rails that never report settlement (`unavailable`), the rows nothing
7279
+ * has asked yet (`unknown`) and the attempts with no settlement row
7280
+ * (`not_recorded`), and that would claim a rail is holding money it never
7281
+ * said it held. "Still outstanding" is `pending` + `available` +
7282
+ * `payout_failed`.
7283
+ */
7284
+ connector_settlement_status?: ConnectorSettlementStatus[] | null;
7107
7285
  /** Omitted = backend default (`created`, descending). */
7108
7286
  order?: PaymentListOrder | null;
7109
7287
  }
7288
+ /**
7289
+ * The filter body `POST /payments/profile/list` accepts
7290
+ * (`payments.listByProfileFilter()`): the merchant-wide constraints minus the
7291
+ * keys the route resolves from the caller's own profile (`profile_id`,
7292
+ * `project_id`) and minus `connector_settlement_status`, which the backend
7293
+ * refuses on this route (403). A profile-scoped viewer is not shown the
7294
+ * settlement state, and a filter it could probe one value at a time would
7295
+ * hand it back through `total_count`.
7296
+ */
7297
+ type ProfilePaymentListFilterConstraints = Omit<PaymentListFilterConstraints, 'profile_id' | 'project_id' | 'connector_settlement_status'> & {
7298
+ profile_id?: never;
7299
+ project_id?: never;
7300
+ connector_settlement_status?: never;
7301
+ };
7110
7302
  /** Response of the filtered payment list endpoints (`count` = page size). */
7111
7303
  interface PaymentListFilteredResponse {
7112
7304
  count: number;
7113
7305
  total_count: number;
7114
7306
  data: PaymentResponse[];
7115
7307
  }
7308
+ /**
7309
+ * Where one attempt's money has got to, according to its rail
7310
+ * (delopay-backend#865). **Not** the hosted-shop `SettlementPayoutStatus`,
7311
+ * which is a host ticking a monthly statement off by hand; this is
7312
+ * acquirer → merchant bank, reported by the rail, per payment.
7313
+ *
7314
+ * Total on purpose: every attempt carries exactly one of these, including
7315
+ * the three that describe an absence, and a client must never default one.
7316
+ *
7317
+ * - `pending` — the rail holds the money and says it has not released it yet.
7318
+ * - `available` — released into the balance the rail holds for this account.
7319
+ * **Not paid out**: the bank transfer is a separate object on a separate
7320
+ * schedule, and an account on a manual payout schedule can sit here
7321
+ * indefinitely. Never render it as "paid out".
7322
+ * - `paid_out` — the rail says it sent this money to a bank account. The only
7323
+ * value entitled to a payout date; `payout_failed` may also carry a reference.
7324
+ * - `payout_failed` — a payout that failed or was reversed, returning the
7325
+ * funds to the rail's balance. **Possibly permanent**: nothing shows the
7326
+ * value later moves to `paid_out` even when the money is paid again, so do
7327
+ * not build "stuck payout" alerting on it clearing itself.
7328
+ * - `unavailable` — this rail does not report settlement at all (Creem,
7329
+ * e-Payouts, Cryptomus, and any rail nobody has wired up). A fact about our
7330
+ * reach, never about the money — it is not "not yet paid out".
7331
+ * - `unknown` — a settlement record exists and this release can read no state
7332
+ * out of it (nothing asked of the rail yet, or a value written by a newer
7333
+ * release).
7334
+ * - `not_recorded` — no settlement record exists for the attempt. Ordinarily
7335
+ * because no capture was ever established, and never proof that no money
7336
+ * moved.
7337
+ */
7338
+ type ConnectorSettlementStatus = 'pending' | 'available' | 'paid_out' | 'payout_failed' | 'unavailable' | 'unknown' | 'not_recorded';
7339
+ /** One attempt of a payment, and what its rail says about settling it. */
7340
+ interface ConnectorSettlementAttempt {
7341
+ /** `{payment_id}_{n}` — unique per merchant, not globally. */
7342
+ attempt_id: string;
7343
+ /**
7344
+ * The attempt's own payment status, so a `not_recorded` can be read: absent
7345
+ * on a `failure` attempt is the ordinary case; absent on a `charged` one is
7346
+ * a gap worth chasing.
7347
+ */
7348
+ attempt_status: AttemptStatus;
7349
+ /** The rail this attempt ran on. */
7350
+ connector?: string | null;
7351
+ /** The connector account it ran on. */
7352
+ merchant_connector_id?: string | null;
7353
+ /** Where the money has got to. Always present. */
7354
+ status: ConnectorSettlementStatus;
7355
+ /**
7356
+ * When the rail says the funds became (or become) available in its own
7357
+ * balance — a date, not a promise, and nothing about a bank transfer.
7358
+ * Withheld only beside an `unknown` of the unreadable-value kind.
7359
+ */
7360
+ available_on?: string | null;
7361
+ /**
7362
+ * The rail's identifier for the batch that carried **or attempted** this
7363
+ * payment to a bank. Present beside `paid_out` and `payout_failed`, and
7364
+ * beside nothing else.
7365
+ */
7366
+ payout_reference?: string | null;
7367
+ /**
7368
+ * When the rail said the batch carrying this payment would reach a bank —
7369
+ * the payout's own arrival date, **not** `available_on`. Present beside
7370
+ * `paid_out` and nothing else: a date beside `payout_failed` would assert
7371
+ * that money landed. `null` is never a statement that the payment is
7372
+ * unpaid; `status` answers that.
7373
+ */
7374
+ paid_out_at?: string | null;
7375
+ /**
7376
+ * When this record was last written by Delopay — how fresh the answer is,
7377
+ * not when the rail acted. `null` where there is no record.
7378
+ */
7379
+ last_recorded_at?: string | null;
7380
+ }
7381
+ /**
7382
+ * Response of `GET /payments/{payment_id}/settlement`
7383
+ * (`payments.settlement()`): what the payment's rail says about settling
7384
+ * each attempt the caller may see, oldest first. Attempts with no settlement
7385
+ * record are listed too, as `not_recorded`.
7386
+ *
7387
+ * A caller narrowed to specific connector accounts receives only the
7388
+ * attempts on connectors it may see, with nothing marking what was omitted —
7389
+ * so `count` is the number returned, never the number that exist.
7390
+ */
7391
+ interface PaymentConnectorSettlementResponse {
7392
+ payment_id: string;
7393
+ /** How many attempts are in `attempts` — the number returned, never a denominator. */
7394
+ count: number;
7395
+ attempts: ConnectorSettlementAttempt[];
7396
+ }
7116
7397
  /** Response of `DELETE /payments/{payment_id}` (soft delete). */
7117
7398
  interface PaymentsDeleteResponse {
7118
7399
  payment_id: string;
@@ -8736,8 +9017,56 @@ declare class Customers {
8736
9017
  total_count: number;
8737
9018
  data: CustomerResponse[];
8738
9019
  }>;
9020
+ /**
9021
+ * Retrieve one customer, scoped to the authenticated dashboard user's shop
9022
+ * (business profile). The shop-scoped counterpart of {@link retrieve}, and
9023
+ * what makes a shop's own customer list clickable: the list is
9024
+ * `ProfileCustomerRead` while {@link retrieve} is merchant-level, so a shop
9025
+ * member could see a customer they could not open.
9026
+ *
9027
+ * A customer belonging to a sibling shop answers `CustomerNotFound` — the
9028
+ * same answer as a customer that does not exist, deliberately, so one shop
9029
+ * cannot enumerate another's customer ids.
9030
+ *
9031
+ * `GET /customers/profile/{customerId}`
9032
+ *
9033
+ * @param customerId - The unique customer ID.
9034
+ * @returns The customer, with `profile_ids` narrowed to the caller's own shop.
9035
+ */
9036
+ retrieveByProfile(customerId: string): Promise<CustomerResponse>;
9037
+ /**
9038
+ * Create a customer from a shop, recording that it belongs to that shop so
9039
+ * the shop can see the customer it just created. The shop is taken from the
9040
+ * credential; a caller-chosen `customer_id` is rejected.
9041
+ *
9042
+ * `POST /customers/profile`
9043
+ *
9044
+ * @param params - The customer to create.
9045
+ * @returns The created customer.
9046
+ */
9047
+ createByProfile(params: CustomerCreateRequest): Promise<CustomerResponse>;
9048
+ /**
9049
+ * Update a customer from a shop, if the customer belongs to that shop.
9050
+ * A sibling shop's customer answers `CustomerNotFound`, as with
9051
+ * {@link retrieveByProfile}.
9052
+ *
9053
+ * `POST /customers/profile/{customerId}`
9054
+ *
9055
+ * @param customerId - The customer ID to update.
9056
+ * @param params - Fields to update.
9057
+ * @returns The updated customer.
9058
+ */
9059
+ updateByProfile(customerId: string, params: CustomerUpdateRequest): Promise<CustomerResponse>;
8739
9060
  /** List mandates for a customer. `GET /customers/{customerId}/mandates` */
8740
9061
  listMandates(customerId: string): Promise<Record<string, unknown>[]>;
9062
+ /**
9063
+ * List one customer's mandates, scoped to the caller's shop. Same membership
9064
+ * rule as {@link retrieveByProfile}: a sibling shop's customer answers
9065
+ * `CustomerNotFound` before any mandate is read.
9066
+ *
9067
+ * `GET /customers/profile/{customerId}/mandates`
9068
+ */
9069
+ listMandatesByProfile(customerId: string): Promise<Record<string, unknown>[]>;
8741
9070
  }
8742
9071
 
8743
9072
  /** View and respond to payment disputes and chargebacks. */
@@ -8865,8 +9194,32 @@ declare class Events {
8865
9194
  list(merchantId: string, params?: EventListParams): Promise<EventListResponse>;
8866
9195
  listDeliveryAttempts(merchantId: string, eventId: string): Promise<EventDeliveryAttemptResponse[]>;
8867
9196
  retryDelivery(merchantId: string, eventId: string): Promise<EventDetailResponse>;
8868
- /** List events (profile-scoped). `POST /events/profile/list` */
8869
- listByProfile(params?: Record<string, unknown>): Promise<EventListResponse>;
9197
+ /**
9198
+ * Fire an outgoing webhook event by hand for one object.
9199
+ * `POST /events/{merchant_id}/trigger` (be#318)
9200
+ *
9201
+ * Not a replay — see {@link EventManualTriggerRequest}. Needs the
9202
+ * `WebhookEventTrigger` permission, which is separate from the one that
9203
+ * authorizes {@link retryDelivery}, and is JWT-only: a forged payload must
9204
+ * be attributable to a person.
9205
+ */
9206
+ trigger(merchantId: string, body: EventManualTriggerRequest): Promise<EventManualTriggerResponse>;
9207
+ /**
9208
+ * List events (profile-scoped). `POST /events/profile/list`
9209
+ *
9210
+ * Takes the same constraints as {@link list} — it is the same endpoint
9211
+ * narrowed to the caller's own shop, so `profile_id` is redundant and
9212
+ * ignored there.
9213
+ */
9214
+ listByProfile(params?: EventListParams): Promise<EventListResponse>;
9215
+ /**
9216
+ * Fire an outgoing webhook event by hand (profile-scoped).
9217
+ * `POST /events/profile/trigger` (be#318)
9218
+ *
9219
+ * The shop-user twin of {@link trigger}; the shop is taken from the auth
9220
+ * context, so `profile_id` on the body is ignored.
9221
+ */
9222
+ triggerByProfile(body: EventManualTriggerRequest): Promise<EventManualTriggerResponse>;
8870
9223
  }
8871
9224
 
8872
9225
  /**
@@ -9265,6 +9618,41 @@ declare class Payments {
9265
9618
  * ```
9266
9619
  */
9267
9620
  listStatusHistory(paymentId: string, options?: RequestExtras): Promise<PaymentStatusHistoryResponse>;
9621
+ /**
9622
+ * What the payment's rail says about settling each attempt: whether the
9623
+ * money is still `pending` in the rail's hands, `available` in its balance
9624
+ * (**not** paid out), `paid_out` to a bank — with the payout's date and
9625
+ * reference — or came back as `payout_failed`; and, for the rest, which
9626
+ * kind of not-knowing applies (`unavailable`, `unknown`, `not_recorded`).
9627
+ * See {@link ConnectorSettlementStatus} for the seven values. The same
9628
+ * status for the active attempt rides on every list row and retrieve as
9629
+ * `connector_settlement_status`, and the list filters on it.
9630
+ *
9631
+ * Not the hosted-shop settlement API under `settlement.*`, which is host →
9632
+ * shop owner and manual; this is acquirer → merchant bank, per payment.
9633
+ *
9634
+ * `GET /payments/{paymentId}/settlement`
9635
+ *
9636
+ * @param paymentId - The payment intent ID.
9637
+ * @param options - Optional per-call extras: extra `headers`, a `timeout`
9638
+ * override, and an `AbortSignal`.
9639
+ * @returns The attempts this caller may see, oldest first, each with its
9640
+ * settlement status.
9641
+ * @throws If the payment does not exist (404), or the caller is a
9642
+ * profile-scoped (shop) role, who is refused rather than shown a redacted
9643
+ * body (403).
9644
+ *
9645
+ * @example
9646
+ * ```typescript
9647
+ * const { attempts } = await delopay.payments.settlement('pay_abc123');
9648
+ * for (const attempt of attempts) {
9649
+ * if (attempt.status === 'paid_out') {
9650
+ * console.log(attempt.paid_out_at, attempt.payout_reference);
9651
+ * }
9652
+ * }
9653
+ * ```
9654
+ */
9655
+ settlement(paymentId: string, options?: RequestExtras): Promise<PaymentConnectorSettlementResponse>;
9268
9656
  /**
9269
9657
  * Update an existing payment intent before it is confirmed.
9270
9658
  *
@@ -9357,18 +9745,21 @@ declare class Payments {
9357
9745
  /** List payments across all shops. `GET /payments/list-all-shops` */
9358
9746
  listAllShops(params?: PaymentListParams): Promise<PaymentListResponse>;
9359
9747
  /** List payments by filter (POST body). `POST /payments/list` */
9360
- listByFilter(params: Record<string, unknown>): Promise<PaymentListResponse>;
9748
+ listByFilter(params: PaymentListFilterConstraints): Promise<PaymentListFilteredResponse>;
9361
9749
  /**
9362
9750
  * List payments by filter, scoped to the caller's profile (the shop-user
9363
9751
  * twin of `listByFilter`). The backend narrows to the profile from the
9364
- * auth context, so `profile_id` / `project_id` must not be sent.
9752
+ * auth context, so `profile_id` / `project_id` must not be sent — and
9753
+ * neither may `connector_settlement_status`, which this route refuses
9754
+ * (403): a shop-scoped viewer is not shown the settlement state, and the
9755
+ * type leaves the key out so it cannot be probed through `total_count`.
9365
9756
  *
9366
9757
  * Not to be confused with {@link Payments.listByProfile}, which is the GET
9367
9758
  * cursor variant and rejects this body.
9368
9759
  *
9369
9760
  * `POST /payments/profile/list`
9370
9761
  */
9371
- listByProfileFilter(params: PaymentListFilterConstraints, options?: RequestExtras): Promise<PaymentListFilteredResponse>;
9762
+ listByProfileFilter(params: ProfilePaymentListFilterConstraints, options?: RequestExtras): Promise<PaymentListFilteredResponse>;
9372
9763
  /** Get payment filter options. `GET /payments/filter` */
9373
9764
  getFilters(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
9374
9765
  /**
@@ -13221,4 +13612,4 @@ declare const decodeNativePanes: typeof decodePanes;
13221
13612
  /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
13222
13613
  declare const encodeNativePanes: typeof encodePanes;
13223
13614
 
13224
- export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NextActionCall, type NextActionDataType, type NomupayOppwaCheckoutData, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
13615
+ export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type Address, type AddressDetails, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BuiltInRegionGroupResponse, type BusinessPaymentLinkConfig, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutCustomField, type CheckoutEventKind, type CheckoutLocale, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, type CreateAndConfirmSubscriptionRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeResponse, type DisputeStage, type DisputeStatus, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsResponse, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type ManualTriggerEventType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NextActionCall, type NextActionDataType, type NomupayOppwaCheckoutData, type NonPillRadius, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentResponse, type PaymentRetrieveOptions, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PayseproMethod, type PayseproMethodsResponse, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostSource, type ProcessorSlice, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingDeactivateRequest, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_NATIVE_PANE_METHODS, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, Settlement, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementGenerateRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportParams, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, allOf, anyOf, applyBrandingVariables, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isHexColor, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, programToTree, radiusValue, readableInkOn, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };