@delopay/sdk 0.185.0 → 0.187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-LA4KAVRD.js → chunk-UI54GG2H.js} +190 -8
- package/dist/chunk-UI54GG2H.js.map +1 -0
- package/dist/index.cjs +189 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +964 -23
- package/dist/index.d.ts +964 -23
- package/dist/index.js +1 -1
- package/dist/internal.cjs +198 -7
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +26 -4
- package/dist/internal.d.ts +26 -4
- package/dist/internal.js +10 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-LA4KAVRD.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,7 +48,13 @@ type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' |
|
|
|
48
48
|
* not a `dispute_*` event: `content.object` is a
|
|
49
49
|
* {@link SubscriptionDisputeWebhook}, never a {@link DisputeResponse}.
|
|
50
50
|
*/
|
|
51
|
-
| 'invoice_disputed'
|
|
51
|
+
| 'invoice_disputed'
|
|
52
|
+
/**
|
|
53
|
+
* A shop's risk band moved upward between two real assessments.
|
|
54
|
+
* `content.object` is a {@link ShopRiskEscalationWebhook}. A shop that only
|
|
55
|
+
* becomes assessable (leaves `insufficient_data`) raises nothing.
|
|
56
|
+
*/
|
|
57
|
+
| 'shop_risk_band_escalated' | SubscriptionLifecycleEventType;
|
|
52
58
|
/**
|
|
53
59
|
* The subscription lifecycle events, as one union so a handler can match the
|
|
54
60
|
* whole family.
|
|
@@ -75,7 +81,13 @@ type EventType = ManualTriggerEventType | 'dispute_opened' | 'dispute_expired' |
|
|
|
75
81
|
* which is what to deduplicate on.
|
|
76
82
|
*/
|
|
77
83
|
type SubscriptionLifecycleEventType = 'subscription_created' | 'subscription_active' | 'subscription_past_due' | 'subscription_paused' | 'subscription_resumed' | 'subscription_cancelled' | 'subscription_expired' | 'invoice_payment_failed';
|
|
78
|
-
type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions'
|
|
84
|
+
type EventClass = 'payments' | 'refunds' | 'disputes' | 'mandates' | 'payouts' | 'subscriptions'
|
|
85
|
+
/**
|
|
86
|
+
* Assessments DeloPay makes about a shop rather than an object the merchant
|
|
87
|
+
* creates: today only `shop_risk_band_escalated`. A subscription to
|
|
88
|
+
* `payments` does not receive them.
|
|
89
|
+
*/
|
|
90
|
+
| 'risk';
|
|
79
91
|
type WebhookDeliveryAttempt = 'initial_attempt' | 'automatic_retry' | 'manual_retry'
|
|
80
92
|
/**
|
|
81
93
|
* An event a dashboard operator fired by hand.
|
|
@@ -525,13 +537,22 @@ interface PaymentResponse {
|
|
|
525
537
|
/** Bank statement descriptor (suffix portion). */
|
|
526
538
|
statement_descriptor_suffix?: string | null;
|
|
527
539
|
/**
|
|
528
|
-
*
|
|
529
|
-
* create
|
|
530
|
-
*
|
|
531
|
-
* `null` appears on payments that predate that resolution, and
|
|
532
|
-
* everywhere it is filtered on.
|
|
540
|
+
* The environment **label** of this payment: the `test_mode` you sent at
|
|
541
|
+
* create (an omitted one is resolved to live), or what the connector
|
|
542
|
+
* account's toggle supplied — recorded whether or not a connector was ever
|
|
543
|
+
* called. `null` appears on payments that predate that resolution, and
|
|
544
|
+
* counts as live everywhere it is filtered on. It is not evidence of where
|
|
545
|
+
* the money actually went; that is {@link PaymentResponse.connector_environment}.
|
|
533
546
|
*/
|
|
534
547
|
test_mode?: boolean | null;
|
|
548
|
+
/**
|
|
549
|
+
* Which of the connector's environments the payment's call actually reached,
|
|
550
|
+
* as far as the platform can establish it: `sandbox` only when it is
|
|
551
|
+
* provable, `live` when the evidence is decisive, `unknown` otherwise. A
|
|
552
|
+
* payment labelled test (`test_mode: true`) can read `live` or `unknown`
|
|
553
|
+
* here. Absent when no connector response recorded it yet.
|
|
554
|
+
*/
|
|
555
|
+
connector_environment?: PaymentConnectorEnvironment | null;
|
|
535
556
|
/**
|
|
536
557
|
* Where this payment's money has got to, according to its rail — for the
|
|
537
558
|
* active attempt, the one every other attempt-level field here describes.
|
|
@@ -1076,6 +1097,41 @@ interface RefundCreateRequest {
|
|
|
1076
1097
|
refund_type?: RefundType | null;
|
|
1077
1098
|
/** Arbitrary key-value metadata stored alongside the refund. */
|
|
1078
1099
|
metadata?: Record<string, unknown> | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* Which of the payment's product lines this refund credits. Omit for an
|
|
1102
|
+
* amount-only refund. Each line at most once; summed over every refund of
|
|
1103
|
+
* the payment that has not failed, a line is never credited more quantity,
|
|
1104
|
+
* money or tax than it sold. The credits add up to at most `amount`; the
|
|
1105
|
+
* rest is reported as `unallocated_amount`.
|
|
1106
|
+
*/
|
|
1107
|
+
line_credits?: RefundLineCreditRequest[] | null;
|
|
1108
|
+
}
|
|
1109
|
+
/** One product line a refund credits. */
|
|
1110
|
+
interface RefundLineCreditRequest {
|
|
1111
|
+
/** The payment line's `id` from `payments.productLines()`. */
|
|
1112
|
+
line_id: string;
|
|
1113
|
+
/** Units given back; omit for an amount-only credit. At least 1 when present. */
|
|
1114
|
+
quantity?: number | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* Money credited to the line, in minor units. Stated, never derived from
|
|
1117
|
+
* `quantity`; at most `unit_amount x quantity` when a quantity is given.
|
|
1118
|
+
* `0` only together with a quantity.
|
|
1119
|
+
*/
|
|
1120
|
+
amount: number;
|
|
1121
|
+
/** Tax part of `amount`, only for a line that carries a `tax_amount`. */
|
|
1122
|
+
tax_amount?: number | null;
|
|
1123
|
+
}
|
|
1124
|
+
/** One product line a refund credited. */
|
|
1125
|
+
interface RefundLineCredit {
|
|
1126
|
+
line_id: string;
|
|
1127
|
+
/** Absent on an unattributed line. */
|
|
1128
|
+
product_id?: string | null;
|
|
1129
|
+
/** The line's name as the payment froze it. */
|
|
1130
|
+
name: string;
|
|
1131
|
+
/** Units given back; absent on an amount-only credit. */
|
|
1132
|
+
quantity?: number | null;
|
|
1133
|
+
amount: number;
|
|
1134
|
+
tax_amount?: number | null;
|
|
1079
1135
|
}
|
|
1080
1136
|
interface RefundUpdateRequest {
|
|
1081
1137
|
/** Omit to leave the reason unchanged; send an explicit `null` to clear it. */
|
|
@@ -1132,6 +1188,8 @@ interface ExternalRecordMarker {
|
|
|
1132
1188
|
/** How many recordings this resource carries, including this one. */
|
|
1133
1189
|
recording_count: number;
|
|
1134
1190
|
}
|
|
1191
|
+
/** Which of a connector's environments a payment's call actually reached. */
|
|
1192
|
+
type PaymentConnectorEnvironment = 'sandbox' | 'live' | 'unknown';
|
|
1135
1193
|
/** A Delopay refund returned by the API. */
|
|
1136
1194
|
interface RefundResponse {
|
|
1137
1195
|
/**
|
|
@@ -1191,6 +1249,14 @@ interface RefundResponse {
|
|
|
1191
1249
|
* (treated as live).
|
|
1192
1250
|
*/
|
|
1193
1251
|
test_mode?: boolean | null;
|
|
1252
|
+
/**
|
|
1253
|
+
* The product lines this refund credits. Read on create and retrieve, where
|
|
1254
|
+
* `[]` means none; **absent means not read** (list rows, webhooks). On a
|
|
1255
|
+
* failed refund they are released and count against no line.
|
|
1256
|
+
*/
|
|
1257
|
+
line_credits?: RefundLineCredit[] | null;
|
|
1258
|
+
/** `amount` less the credits: the part assigned to no line. Present with `line_credits`. */
|
|
1259
|
+
unallocated_amount?: number | null;
|
|
1194
1260
|
}
|
|
1195
1261
|
interface RefundListParams {
|
|
1196
1262
|
/** Literal ID prefix (3+ characters), otherwise exact; supported across connectors. */
|
|
@@ -3406,11 +3472,86 @@ interface PaymentLinkStatusDetails {
|
|
|
3406
3472
|
}[];
|
|
3407
3473
|
sdk_layout: string;
|
|
3408
3474
|
}
|
|
3409
|
-
/**
|
|
3475
|
+
/** One add-on on offer in the checkout's add-on step, at the price it would be charged. */
|
|
3476
|
+
interface CheckoutAddonChoiceItem {
|
|
3477
|
+
product_id: string;
|
|
3478
|
+
/** The price a choice names. */
|
|
3479
|
+
price_id: string;
|
|
3480
|
+
name: string;
|
|
3481
|
+
description?: string | null;
|
|
3482
|
+
image_url?: string | null;
|
|
3483
|
+
/** What one unit adds, in major units. */
|
|
3484
|
+
amount: string;
|
|
3485
|
+
/** Units the add-on is sold in: what the payment already holds of it, otherwise 1. */
|
|
3486
|
+
quantity: number;
|
|
3487
|
+
}
|
|
3488
|
+
/** A selection group of the add-on step: pick between `min_choices` and `max_choices` items. */
|
|
3489
|
+
interface CheckoutAddonChoiceGroup {
|
|
3490
|
+
group_id: string;
|
|
3491
|
+
name: string;
|
|
3492
|
+
min_choices: number;
|
|
3493
|
+
max_choices: number;
|
|
3494
|
+
items: CheckoutAddonChoiceItem[];
|
|
3495
|
+
}
|
|
3496
|
+
/** The product whose add-ons the buyer chooses. */
|
|
3497
|
+
interface CheckoutAddonChoiceProduct {
|
|
3498
|
+
product_id: string;
|
|
3499
|
+
name: string;
|
|
3500
|
+
description?: string | null;
|
|
3501
|
+
image_url?: string | null;
|
|
3502
|
+
}
|
|
3503
|
+
/**
|
|
3504
|
+
* The add-on step of a catalog payment whose product lets the buyer choose its
|
|
3505
|
+
* add-ons (`ProductResponse.buyer_chooses_addons`). No payment method is
|
|
3506
|
+
* offered, and the router prepares no processor object, until the choice is
|
|
3507
|
+
* made with {@link CheckoutSession.chooseAddons}; the checkout data then
|
|
3508
|
+
* answers the ordinary checkout for the final amount.
|
|
3509
|
+
*/
|
|
3510
|
+
interface CheckoutAddonChoiceDetails {
|
|
3511
|
+
[key: string]: unknown;
|
|
3512
|
+
/** What the payment charges now, in major units, for the selection it holds now. */
|
|
3513
|
+
amount: string;
|
|
3514
|
+
currency: Currency;
|
|
3515
|
+
payment_id: string;
|
|
3516
|
+
client_secret: string;
|
|
3517
|
+
pub_key: string;
|
|
3518
|
+
session_expiry: string;
|
|
3519
|
+
product: CheckoutAddonChoiceProduct;
|
|
3520
|
+
groups: CheckoutAddonChoiceGroup[];
|
|
3521
|
+
/** What the payment holds now: the step starts from it. */
|
|
3522
|
+
selection: PaymentAddonChoice[];
|
|
3523
|
+
order_details?: Record<string, unknown>[] | null;
|
|
3524
|
+
merchant_name: string;
|
|
3525
|
+
merchant_logo: string;
|
|
3526
|
+
theme: string;
|
|
3527
|
+
locale?: string | null;
|
|
3528
|
+
iframe_allowed_origins?: string[] | null;
|
|
3529
|
+
replay_masking_rules: {
|
|
3530
|
+
selector: string;
|
|
3531
|
+
mode: 'mask' | 'block' | 'mask_text';
|
|
3532
|
+
}[];
|
|
3533
|
+
sdk_layout: string;
|
|
3534
|
+
}
|
|
3535
|
+
/** Body of `POST /payment-link/{merchant_id}/{payment_id}/addons`: price ids and quantities only. */
|
|
3536
|
+
interface CheckoutAddonChoiceRequest {
|
|
3537
|
+
/** Every add-on the buyer wants, each once. An empty list chooses none. */
|
|
3538
|
+
addons: PaymentAddonChoice[];
|
|
3539
|
+
}
|
|
3540
|
+
/** The choice as the payment now holds it. Final: another choice is refused (`IR_16`). */
|
|
3541
|
+
interface CheckoutAddonChoiceResponse {
|
|
3542
|
+
payment_id: string;
|
|
3543
|
+
/** Minor units. */
|
|
3544
|
+
amount: number;
|
|
3545
|
+
currency: Currency;
|
|
3546
|
+
addons: PaymentAddonChoice[];
|
|
3547
|
+
}
|
|
3548
|
+
/** Payable checkout, terminal/expired status, or the add-on step; all are successful HTTP responses. */
|
|
3410
3549
|
type CheckoutDataResponse = (PaymentLinkDetails & {
|
|
3411
3550
|
type: 'checkout';
|
|
3412
3551
|
}) | (PaymentLinkStatusDetails & {
|
|
3413
3552
|
type: 'status';
|
|
3553
|
+
}) | (CheckoutAddonChoiceDetails & {
|
|
3554
|
+
type: 'addon_choice';
|
|
3414
3555
|
});
|
|
3415
3556
|
/** Provider-hosted card form configuration from `PaymentLinkDetails.nomupay_oppwa`. */
|
|
3416
3557
|
interface NomupayOppwaCheckoutData {
|
|
@@ -4613,6 +4754,40 @@ interface DeleteUserRoleRequest {
|
|
|
4613
4754
|
*/
|
|
4614
4755
|
profile_id?: string;
|
|
4615
4756
|
}
|
|
4757
|
+
/**
|
|
4758
|
+
* Body for `POST /user/employees/change-scope`: move a member of your merchant
|
|
4759
|
+
* between a merchant-level role and shop-level roles.
|
|
4760
|
+
*
|
|
4761
|
+
* The level of `role_id` decides the result. A merchant-level role leaves the
|
|
4762
|
+
* member with exactly one merchant-level binding, and `profile_ids` must be
|
|
4763
|
+
* empty or absent. A shop-level role leaves the member with one binding per
|
|
4764
|
+
* listed shop and no merchant-level binding. Every earlier merchant- and
|
|
4765
|
+
* shop-level binding of the member in this merchant is replaced in one
|
|
4766
|
+
* transaction.
|
|
4767
|
+
*/
|
|
4768
|
+
interface ChangeMemberScopeRequest {
|
|
4769
|
+
email: string;
|
|
4770
|
+
role_id: string;
|
|
4771
|
+
/**
|
|
4772
|
+
* Shops of your merchant. Required, and non-empty, for a shop-level
|
|
4773
|
+
* `role_id`; empty or absent for a merchant-level one.
|
|
4774
|
+
*/
|
|
4775
|
+
profile_ids?: string[];
|
|
4776
|
+
}
|
|
4777
|
+
/** The member's scope in your merchant after `POST /user/employees/change-scope`. */
|
|
4778
|
+
interface ChangeMemberScopeResponse {
|
|
4779
|
+
role_id: string;
|
|
4780
|
+
/** The level `role_id` is defined at: `merchant` or `profile` (shop). */
|
|
4781
|
+
entity_type: EntityType;
|
|
4782
|
+
/** The shops the member holds `role_id` on, in a stable order. Empty for a merchant-level role. */
|
|
4783
|
+
profile_ids: string[];
|
|
4784
|
+
/**
|
|
4785
|
+
* Whether the member's sessions were ended. `true` when the change took a
|
|
4786
|
+
* scope away from them, so a token issued before it cannot keep that scope;
|
|
4787
|
+
* they sign in again under the new one.
|
|
4788
|
+
*/
|
|
4789
|
+
sessions_revoked: boolean;
|
|
4790
|
+
}
|
|
4616
4791
|
interface AddUserResponse {
|
|
4617
4792
|
user_id: string;
|
|
4618
4793
|
email: string;
|
|
@@ -4801,6 +4976,21 @@ interface MinimalRoleInfo {
|
|
|
4801
4976
|
role_name: string;
|
|
4802
4977
|
/** The scope the role is defined at. */
|
|
4803
4978
|
entity_type: EntityType;
|
|
4979
|
+
/**
|
|
4980
|
+
* The shop this binding is on, for a shop-level binding in a member list.
|
|
4981
|
+
* A member on several shops is listed once per shop. Absent for a merchant-
|
|
4982
|
+
* or organization-level binding.
|
|
4983
|
+
*/
|
|
4984
|
+
profile_id?: string | null;
|
|
4985
|
+
/**
|
|
4986
|
+
* Whether the caller may sign in as this member under this binding with
|
|
4987
|
+
* `users.impersonateEmployee`, answered by the same rule that endpoint
|
|
4988
|
+
* enforces. `false` for the caller's own entry, for a binding that is not
|
|
4989
|
+
* active, and for a caller without the impersonation permission. Present
|
|
4990
|
+
* only in a member list; absent in the role catalogue and from a router
|
|
4991
|
+
* that predates it, so treat absence as unknown rather than `false`.
|
|
4992
|
+
*/
|
|
4993
|
+
can_impersonate?: boolean;
|
|
4804
4994
|
}
|
|
4805
4995
|
/** One member of the current lineage. `GET /user/employees/list` */
|
|
4806
4996
|
interface UserInLineage {
|
|
@@ -4938,7 +5128,13 @@ interface ProductCreateRequest {
|
|
|
4938
5128
|
* The shop category to file the product under: an active category of the
|
|
4939
5129
|
* same shop. Uncategorized when absent.
|
|
4940
5130
|
*/
|
|
4941
|
-
category_id?: string | null;
|
|
5131
|
+
category_id?: string | null; /**
|
|
5132
|
+
* Let the buyer choose the product's add-ons in the hosted checkout, within
|
|
5133
|
+
* its selection groups' bounds, before paying. The add-ons a payment is
|
|
5134
|
+
* created with are the starting selection. Only for a `one_time` product;
|
|
5135
|
+
* defaults to `false`.
|
|
5136
|
+
*/
|
|
5137
|
+
buyer_chooses_addons?: boolean | null;
|
|
4942
5138
|
}
|
|
4943
5139
|
/**
|
|
4944
5140
|
* What may be changed on a product after it exists.
|
|
@@ -4957,7 +5153,11 @@ interface ProductUpdateRequest {
|
|
|
4957
5153
|
* to make it uncategorized. Absent leaves it where it is. Payment lines keep
|
|
4958
5154
|
* what they froze.
|
|
4959
5155
|
*/
|
|
4960
|
-
category_id?: string | null;
|
|
5156
|
+
category_id?: string | null; /**
|
|
5157
|
+
* Let the buyer choose the add-ons in the hosted checkout. Only a `one_time`
|
|
5158
|
+
* product can. Applies to payments created afterwards.
|
|
5159
|
+
*/
|
|
5160
|
+
buyer_chooses_addons?: boolean | null;
|
|
4961
5161
|
}
|
|
4962
5162
|
/** What may be changed on a price: its label, its default flag, its metadata. */
|
|
4963
5163
|
interface ProductPriceUpdateRequest {
|
|
@@ -4996,6 +5196,22 @@ interface ProductConnectorReferenceResponse {
|
|
|
4996
5196
|
* either environment until an import records one after the switch is on.
|
|
4997
5197
|
*/
|
|
4998
5198
|
test_mode?: boolean | null;
|
|
5199
|
+
/**
|
|
5200
|
+
* Set on the reference to a provider product sold both once and on a
|
|
5201
|
+
* schedule and imported as two catalog products: which of the two this
|
|
5202
|
+
* product is. `null` when the reference stands for the whole provider
|
|
5203
|
+
* product.
|
|
5204
|
+
*/
|
|
5205
|
+
product_kind?: ProductKind | null;
|
|
5206
|
+
/**
|
|
5207
|
+
* `pending` while archiving the provider's copy failed after the product was
|
|
5208
|
+
* deleted; retry through `products.providerArchive`. `null` otherwise.
|
|
5209
|
+
*/
|
|
5210
|
+
cleanup_status?: string | null;
|
|
5211
|
+
/** Why the last clean-up attempt failed. */
|
|
5212
|
+
cleanup_error?: string | null;
|
|
5213
|
+
/** When the clean-up was last attempted (UTC, ISO 8601). */
|
|
5214
|
+
cleanup_attempted_at?: string | null;
|
|
4999
5215
|
created_at: string;
|
|
5000
5216
|
}
|
|
5001
5217
|
/** A name to add to a product. */
|
|
@@ -5109,6 +5325,47 @@ interface ProductResolveResponse {
|
|
|
5109
5325
|
price_id?: string | null;
|
|
5110
5326
|
product: ProductResponse;
|
|
5111
5327
|
}
|
|
5328
|
+
/** Which sales of a product to total: `GET /products/{product_id}/sales`. */
|
|
5329
|
+
interface ProductSalesQuery {
|
|
5330
|
+
/** Payments created at or after this time (ISO 8601). */
|
|
5331
|
+
start_time: string;
|
|
5332
|
+
/** Payments created at or before this time; absent means now. */
|
|
5333
|
+
end_time?: string;
|
|
5334
|
+
/** `true` totals test payments, `false` live ones — never both together. */
|
|
5335
|
+
test_mode: boolean;
|
|
5336
|
+
}
|
|
5337
|
+
/**
|
|
5338
|
+
* A product's sales in one currency and the refunds credited back to it: the
|
|
5339
|
+
* product's own lines on succeeded payments of the shop in the window, and the
|
|
5340
|
+
* refund credits against those lines.
|
|
5341
|
+
*/
|
|
5342
|
+
interface ProductSalesByCurrency {
|
|
5343
|
+
currency: string;
|
|
5344
|
+
/** Succeeded payments with at least one line of the product. */
|
|
5345
|
+
payment_count: number;
|
|
5346
|
+
sold_quantity: number;
|
|
5347
|
+
/** The product's line totals, minor units. */
|
|
5348
|
+
sold_amount: number;
|
|
5349
|
+
/** Units given back by succeeded refunds credited to the product's lines. */
|
|
5350
|
+
refunded_quantity: number;
|
|
5351
|
+
refunded_amount: number;
|
|
5352
|
+
/** Credits of refunds still in flight; not deducted from `net_amount`. */
|
|
5353
|
+
refund_pending_quantity: number;
|
|
5354
|
+
refund_pending_amount: number;
|
|
5355
|
+
/** `sold_quantity - refunded_quantity`. */
|
|
5356
|
+
net_quantity: number;
|
|
5357
|
+
/** `sold_amount - refunded_amount`. */
|
|
5358
|
+
net_amount: number;
|
|
5359
|
+
}
|
|
5360
|
+
interface ProductSalesResponse {
|
|
5361
|
+
product_id: string;
|
|
5362
|
+
profile_id: string;
|
|
5363
|
+
test_mode: boolean;
|
|
5364
|
+
start_time: string;
|
|
5365
|
+
end_time: string;
|
|
5366
|
+
/** One entry per currency sold in; empty when nothing was sold. */
|
|
5367
|
+
currencies: ProductSalesByCurrency[];
|
|
5368
|
+
}
|
|
5112
5369
|
/** A product as the catalogue reports it, prices and identity included. */
|
|
5113
5370
|
interface ProductResponse {
|
|
5114
5371
|
id: string;
|
|
@@ -5137,7 +5394,8 @@ interface ProductResponse {
|
|
|
5137
5394
|
modified_at: string;
|
|
5138
5395
|
archived_at?: string | null;
|
|
5139
5396
|
/** The shop category the product is filed under; `null` = uncategorized. */
|
|
5140
|
-
category_id?: string | null;
|
|
5397
|
+
category_id?: string | null; /** Whether the buyer chooses the product's add-ons in the hosted checkout. */
|
|
5398
|
+
buyer_chooses_addons: boolean;
|
|
5141
5399
|
}
|
|
5142
5400
|
/** One page of a shop's catalogue. */
|
|
5143
5401
|
interface ProductListResponse {
|
|
@@ -5170,6 +5428,31 @@ interface PaymentProductLine {
|
|
|
5170
5428
|
role: PaymentLineRole;
|
|
5171
5429
|
/** The line an add-on or component belongs to. */
|
|
5172
5430
|
parent_line_id?: string | null;
|
|
5431
|
+
/**
|
|
5432
|
+
* What refunds credited to this line. Present on the lines document;
|
|
5433
|
+
* **absent means not read** (e.g. inside a list row's `product_summary`),
|
|
5434
|
+
* never "nothing refunded".
|
|
5435
|
+
*/
|
|
5436
|
+
refunds?: PaymentLineRefunds | null;
|
|
5437
|
+
}
|
|
5438
|
+
/** Refund credits on one payment line, from refunds that have not failed. */
|
|
5439
|
+
interface PaymentLineRefunds {
|
|
5440
|
+
/** Units given back by succeeded refunds. */
|
|
5441
|
+
refunded_quantity: number;
|
|
5442
|
+
/** Money credited by succeeded refunds, minor units. */
|
|
5443
|
+
refunded_amount: number;
|
|
5444
|
+
/** Tax part of `refunded_amount`; absent when any credit stated none. */
|
|
5445
|
+
refunded_tax_amount?: number | null;
|
|
5446
|
+
/** Units credited by refunds still in flight. */
|
|
5447
|
+
pending_quantity: number;
|
|
5448
|
+
/** Money credited by refunds still in flight. */
|
|
5449
|
+
pending_amount: number;
|
|
5450
|
+
/** Units a new refund may still credit. */
|
|
5451
|
+
refundable_quantity: number;
|
|
5452
|
+
/** Money a new refund may still credit. */
|
|
5453
|
+
refundable_amount: number;
|
|
5454
|
+
/** Tax a new refund may still state; absent when the line has no tax amount. */
|
|
5455
|
+
refundable_tax_amount?: number | null;
|
|
5173
5456
|
}
|
|
5174
5457
|
/**
|
|
5175
5458
|
* What a payment sold, as a payments-list column: its first catalog line, how
|
|
@@ -5265,6 +5548,31 @@ interface BundleItemResponse {
|
|
|
5265
5548
|
}
|
|
5266
5549
|
interface ProductImportPreviewRequest {
|
|
5267
5550
|
merchant_connector_id: string;
|
|
5551
|
+
/** What to import. Both kinds when absent. */
|
|
5552
|
+
scopes?: ImportScope[] | null;
|
|
5553
|
+
options?: ImportOptions | null;
|
|
5554
|
+
}
|
|
5555
|
+
/** What an import brings over. */
|
|
5556
|
+
type ImportScope = 'products_recurring' | 'products_one_time';
|
|
5557
|
+
/**
|
|
5558
|
+
* What to do with a provider product sold both once and on a schedule.
|
|
5559
|
+
* `split` makes two catalog products, one per kind, only where the deployment
|
|
5560
|
+
* splits such products (`ProviderCapabilities.split_mixed_imports`); elsewhere
|
|
5561
|
+
* it is read as `recurring_only`, which imports one recurring product and
|
|
5562
|
+
* leaves the one-time prices out.
|
|
5563
|
+
*/
|
|
5564
|
+
type MixedDecision = 'split' | 'recurring_only' | 'skip';
|
|
5565
|
+
/** What to do with a tied catalog product the provider no longer offers. */
|
|
5566
|
+
type ArchivedAtProvider = 'skip' | 'archive';
|
|
5567
|
+
interface ImportOptions {
|
|
5568
|
+
/** Default `split`. */
|
|
5569
|
+
mixed?: MixedDecision | null;
|
|
5570
|
+
/**
|
|
5571
|
+
* Default `skip`: the catalog product is left as it is. `'archive'` makes an
|
|
5572
|
+
* apply archive the catalog product of every `unavailable` item it covers
|
|
5573
|
+
* (counted in `ImportCounts.archived`).
|
|
5574
|
+
*/
|
|
5575
|
+
archived?: ArchivedAtProvider;
|
|
5268
5576
|
}
|
|
5269
5577
|
/** How a provider item relates to the catalog right now. */
|
|
5270
5578
|
type ImportClassification = 'new' | 'changed' | 'unchanged' | 'unavailable' | 'conflicting';
|
|
@@ -5281,15 +5589,33 @@ interface ImportPricePreview {
|
|
|
5281
5589
|
price_id?: string | null;
|
|
5282
5590
|
}
|
|
5283
5591
|
interface ImportItemPreview {
|
|
5592
|
+
/** Identifies this item and what the preview says about it. */
|
|
5593
|
+
key: string;
|
|
5284
5594
|
connector_product_id: string;
|
|
5595
|
+
/**
|
|
5596
|
+
* The provider sells the item both once and on a schedule;
|
|
5597
|
+
* `ProductImportApplyRequest.decisions` can split it, keep it recurring
|
|
5598
|
+
* only, or skip it.
|
|
5599
|
+
*/
|
|
5600
|
+
mixed: boolean;
|
|
5285
5601
|
name: string;
|
|
5286
5602
|
description?: string | null;
|
|
5287
5603
|
classification: ImportClassification;
|
|
5604
|
+
/**
|
|
5605
|
+
* The kind the item would be, or is, in the catalog. A product already tied
|
|
5606
|
+
* to the item keeps its kind. A new item is `recurring` when the provider
|
|
5607
|
+
* sells it on a schedule and `one_time` otherwise. An item sold both ways
|
|
5608
|
+
* is imported as two products, one per kind, and appears twice (the second
|
|
5609
|
+
* with its kind added to its name) where the deployment splits such items;
|
|
5610
|
+
* elsewhere it is imported as `recurring` and `note` names the one-time
|
|
5611
|
+
* prices left out.
|
|
5612
|
+
*/
|
|
5288
5613
|
kind: ProductKind;
|
|
5289
5614
|
/** The catalog product that references it, when one does. */
|
|
5290
5615
|
product_id?: string | null;
|
|
5616
|
+
/** The item's prices of `kind`; a one-time price has no `interval`. */
|
|
5291
5617
|
prices: ImportPricePreview[];
|
|
5292
|
-
/** Why the item is conflicting, or
|
|
5618
|
+
/** Why the item is conflicting, or which of its prices were left out. */
|
|
5293
5619
|
note?: string | null;
|
|
5294
5620
|
}
|
|
5295
5621
|
/**
|
|
@@ -5319,6 +5645,12 @@ interface ImportCounts {
|
|
|
5319
5645
|
products_created: number;
|
|
5320
5646
|
prices_added: number;
|
|
5321
5647
|
failed: number;
|
|
5648
|
+
/**
|
|
5649
|
+
* Catalog products archived because the provider no longer offers them,
|
|
5650
|
+
* when the apply asked for that (`options.archived: 'archive'`). Absent from
|
|
5651
|
+
* an older router.
|
|
5652
|
+
*/
|
|
5653
|
+
archived?: number;
|
|
5322
5654
|
/**
|
|
5323
5655
|
* The provider listed as many items as the import reads and may hold more:
|
|
5324
5656
|
* only the items shown were classified, and the counts cover those alone.
|
|
@@ -5327,21 +5659,50 @@ interface ImportCounts {
|
|
|
5327
5659
|
listing_truncated?: boolean;
|
|
5328
5660
|
}
|
|
5329
5661
|
interface ProductImportPreviewResponse {
|
|
5662
|
+
/**
|
|
5663
|
+
* Identifies what this preview read. Send it as
|
|
5664
|
+
* `ProductImportApplyRequest.confirmation`: an apply confirmed with it
|
|
5665
|
+
* writes nothing if the provider's listing or the catalog's ties moved
|
|
5666
|
+
* since.
|
|
5667
|
+
*/
|
|
5668
|
+
confirmation: string;
|
|
5330
5669
|
capabilities: ImportCapabilities;
|
|
5331
5670
|
counts: ImportCounts;
|
|
5332
5671
|
items: ImportItemPreview[];
|
|
5333
5672
|
}
|
|
5334
5673
|
/**
|
|
5335
|
-
* Apply a preview.
|
|
5674
|
+
* Apply a preview. `new` and `changed` items are imported; an `unavailable`
|
|
5675
|
+
* item's catalog product is archived only when `options.archived` is
|
|
5676
|
+
* `'archive'`, and left as it is by default. Nothing else does anything.
|
|
5336
5677
|
* `connector_product_ids` narrows the apply to those items, for retrying the
|
|
5337
5678
|
* ones a previous run reported as failed.
|
|
5338
5679
|
*/
|
|
5339
5680
|
interface ProductImportApplyRequest {
|
|
5340
5681
|
merchant_connector_id: string;
|
|
5341
5682
|
connector_product_ids?: string[] | null;
|
|
5683
|
+
/**
|
|
5684
|
+
* The `confirmation` of the preview the caller reviewed. When the
|
|
5685
|
+
* provider's listing or the catalog's ties moved since, nothing is written
|
|
5686
|
+
* and the run comes back `outdated` with `confirmation_outdated: true`.
|
|
5687
|
+
*/
|
|
5688
|
+
confirmation?: string | null;
|
|
5689
|
+
/**
|
|
5690
|
+
* Per provider product sold both once and on a schedule, keyed by its
|
|
5691
|
+
* `connector_product_id`: split it, import it as recurring only, or skip
|
|
5692
|
+
* it. Overrides `options.mixed`.
|
|
5693
|
+
*/
|
|
5694
|
+
decisions?: Record<string, MixedDecision> | null;
|
|
5695
|
+
/** What to import. Both kinds when absent. */
|
|
5696
|
+
scopes?: ImportScope[] | null;
|
|
5697
|
+
options?: ImportOptions | null;
|
|
5342
5698
|
}
|
|
5343
5699
|
interface ImportFailure {
|
|
5344
5700
|
connector_product_id: string;
|
|
5701
|
+
/**
|
|
5702
|
+
* Which of the two products of a split item failed; absent on a run
|
|
5703
|
+
* recorded before splits existed.
|
|
5704
|
+
*/
|
|
5705
|
+
kind?: ProductKind | null;
|
|
5345
5706
|
name: string;
|
|
5346
5707
|
reason: string;
|
|
5347
5708
|
}
|
|
@@ -5350,8 +5711,16 @@ interface ProductImportRunResponse {
|
|
|
5350
5711
|
id: string;
|
|
5351
5712
|
merchant_connector_id: string;
|
|
5352
5713
|
connector: string;
|
|
5353
|
-
/**
|
|
5714
|
+
/**
|
|
5715
|
+
* `applied` when every item landed, `partial` when some failed, `outdated`
|
|
5716
|
+
* when the confirmation no longer matched and nothing was written.
|
|
5717
|
+
*/
|
|
5354
5718
|
status: string;
|
|
5719
|
+
/**
|
|
5720
|
+
* The provider or the catalog moved since the confirmed preview; nothing was
|
|
5721
|
+
* written. Preview again. Absent from an older router.
|
|
5722
|
+
*/
|
|
5723
|
+
confirmation_outdated?: boolean;
|
|
5355
5724
|
counts: ImportCounts;
|
|
5356
5725
|
failures: ImportFailure[];
|
|
5357
5726
|
created_at: string;
|
|
@@ -5360,6 +5729,338 @@ interface ProductImportRunResponse {
|
|
|
5360
5729
|
interface ProductImportRunListResponse {
|
|
5361
5730
|
data: ProductImportRunResponse[];
|
|
5362
5731
|
}
|
|
5732
|
+
/** How a connected account's copy of a product compares with the catalog. */
|
|
5733
|
+
type ProviderSyncStatus = 'in_sync' | 'changed_at_provider' | 'missing_at_provider' | 'unknown' | 'not_linked';
|
|
5734
|
+
/** A field compared between the catalog and the provider. */
|
|
5735
|
+
type ProviderSyncField = 'name' | 'description' | 'image_url' | 'active'
|
|
5736
|
+
/**
|
|
5737
|
+
* The provider price the product defaults to (Stripe only): the catalog side
|
|
5738
|
+
* is the provider price id the catalog's default price is tied to, the
|
|
5739
|
+
* provider side its current default.
|
|
5740
|
+
*/
|
|
5741
|
+
| 'default_price' | 'price_terms' | 'price_active' | 'price_missing' | 'price_not_at_provider' | 'price_only_at_provider';
|
|
5742
|
+
/**
|
|
5743
|
+
* What a push to the provider does about one difference. `replace_price` and
|
|
5744
|
+
* `deactivate_price` leave existing subscriptions at the provider on the old
|
|
5745
|
+
* price; they are never migrated.
|
|
5746
|
+
*/
|
|
5747
|
+
type ProviderPushAction = 'update_product' | 'create_price' | 'replace_price' | 'activate_price' | 'deactivate_price';
|
|
5748
|
+
/** A price's terms as the catalog or the provider states them. */
|
|
5749
|
+
interface ProviderPriceTerms {
|
|
5750
|
+
/** In the smallest unit of `currency`. */
|
|
5751
|
+
amount: number;
|
|
5752
|
+
/** Upper case. */
|
|
5753
|
+
currency: string;
|
|
5754
|
+
/** `null` for a one-time price. */
|
|
5755
|
+
interval?: ProductPriceInterval | null;
|
|
5756
|
+
interval_count?: number | null;
|
|
5757
|
+
active: boolean;
|
|
5758
|
+
}
|
|
5759
|
+
/** One difference between the catalog and the provider. */
|
|
5760
|
+
interface ProviderSyncDifference {
|
|
5761
|
+
/**
|
|
5762
|
+
* Opaque. Identifies the difference and fingerprints both sides' values, so
|
|
5763
|
+
* it changes when either does. Send it back in `confirmed` exactly as
|
|
5764
|
+
* received; never build or trim one.
|
|
5765
|
+
*/
|
|
5766
|
+
key: string;
|
|
5767
|
+
field: ProviderSyncField;
|
|
5768
|
+
price_id?: string | null;
|
|
5769
|
+
connector_price_id?: string | null;
|
|
5770
|
+
/** The catalog's value of a product field. */
|
|
5771
|
+
catalog_value?: string | null;
|
|
5772
|
+
/** The provider's value of a product field. */
|
|
5773
|
+
provider_value?: string | null;
|
|
5774
|
+
catalog_price?: ProviderPriceTerms | null;
|
|
5775
|
+
provider_price?: ProviderPriceTerms | null;
|
|
5776
|
+
/** What a push does about it; `null` when a push leaves it as it is. */
|
|
5777
|
+
push_action?: ProviderPushAction | null;
|
|
5778
|
+
}
|
|
5779
|
+
/** The product's copy at one connected account. */
|
|
5780
|
+
interface ProductProviderLink {
|
|
5781
|
+
merchant_connector_id: string;
|
|
5782
|
+
connector: string;
|
|
5783
|
+
/** The provider's id for the product; empty while `not_linked`. */
|
|
5784
|
+
connector_product_id: string;
|
|
5785
|
+
/** `true` = read in the account's sandbox, `false` = live. */
|
|
5786
|
+
test_mode?: boolean | null;
|
|
5787
|
+
status: ProviderSyncStatus;
|
|
5788
|
+
/** Empty unless `changed_at_provider`. */
|
|
5789
|
+
differences: ProviderSyncDifference[];
|
|
5790
|
+
/** Why the status is `unknown` or `missing_at_provider`. */
|
|
5791
|
+
reason?: string | null;
|
|
5792
|
+
/** Whether this provider can be updated from the catalog. */
|
|
5793
|
+
can_push: boolean;
|
|
5794
|
+
/**
|
|
5795
|
+
* Whether the product can be created at this account with
|
|
5796
|
+
* `products.providerCreate`: it is not tied to it and the provider can be
|
|
5797
|
+
* written. Absent from an older router.
|
|
5798
|
+
*/
|
|
5799
|
+
can_create?: boolean;
|
|
5800
|
+
/** The fields compared; a field not listed is never reported. */
|
|
5801
|
+
compared_fields: ProviderSyncField[];
|
|
5802
|
+
}
|
|
5803
|
+
/** How a product compares with its copy at every account it is tied to. */
|
|
5804
|
+
interface ProductProviderSyncResponse {
|
|
5805
|
+
product_id: string;
|
|
5806
|
+
/**
|
|
5807
|
+
* The least reassuring status of the tied `links` (missing, changed,
|
|
5808
|
+
* unknown, in sync); `not_linked` when the product is tied to no account.
|
|
5809
|
+
* `links` also lists, as `not_linked`, the shop's billing-capable accounts
|
|
5810
|
+
* the product is not tied to.
|
|
5811
|
+
*/
|
|
5812
|
+
status: ProviderSyncStatus;
|
|
5813
|
+
links: ProductProviderLink[];
|
|
5814
|
+
checked_at: string;
|
|
5815
|
+
}
|
|
5816
|
+
/** 1 to 50 product ids of the shop; unknown ids are left out of the answer. */
|
|
5817
|
+
interface ProductProviderSyncBatchRequest {
|
|
5818
|
+
product_ids: string[];
|
|
5819
|
+
}
|
|
5820
|
+
interface ProductProviderSyncBatchResponse {
|
|
5821
|
+
data: ProductProviderSyncResponse[];
|
|
5822
|
+
}
|
|
5823
|
+
/**
|
|
5824
|
+
* Write the catalog's state onto one connected account's copy of the product.
|
|
5825
|
+
* `confirmed` names the `key` of every difference the caller reviewed; when
|
|
5826
|
+
* the push would change anything not named there, nothing is written and the
|
|
5827
|
+
* answer carries `confirmation_outdated: true`.
|
|
5828
|
+
*/
|
|
5829
|
+
interface ProductProviderPushRequest {
|
|
5830
|
+
merchant_connector_id: string;
|
|
5831
|
+
confirmed: string[];
|
|
5832
|
+
}
|
|
5833
|
+
/** One provider write a push made. */
|
|
5834
|
+
interface ProviderPushStep {
|
|
5835
|
+
action: ProviderPushAction;
|
|
5836
|
+
/** The differences the write settled. */
|
|
5837
|
+
keys: string[];
|
|
5838
|
+
price_id?: string | null;
|
|
5839
|
+
/** The new provider price for `create_price` and `replace_price`. */
|
|
5840
|
+
connector_price_id?: string | null;
|
|
5841
|
+
}
|
|
5842
|
+
interface ProductProviderPushResponse {
|
|
5843
|
+
/** `true` when nothing pushable differed; no provider write was made. */
|
|
5844
|
+
nothing_to_push: boolean;
|
|
5845
|
+
/**
|
|
5846
|
+
* `true` when the push would have changed a difference not named in
|
|
5847
|
+
* `confirmed`: nothing was written to the provider, and `result` holds the
|
|
5848
|
+
* current differences to review and confirm again.
|
|
5849
|
+
*/
|
|
5850
|
+
confirmation_outdated: boolean;
|
|
5851
|
+
applied: ProviderPushStep[];
|
|
5852
|
+
/** Why the push stopped early; `applied` stays made, pushing again continues. */
|
|
5853
|
+
error?: string | null;
|
|
5854
|
+
/** The product compared again after the push. */
|
|
5855
|
+
result: ProductProviderSyncResponse;
|
|
5856
|
+
}
|
|
5857
|
+
/** How a provider can be cleaned up when a product is deleted. */
|
|
5858
|
+
type ProviderArchiveMode =
|
|
5859
|
+
/** The provider's product is archived and its prices deactivated (Stripe). */
|
|
5860
|
+
'archive'
|
|
5861
|
+
/** The billing plans are deactivated; the provider has no product delete (PayPal). */
|
|
5862
|
+
| 'deactivate_plans'
|
|
5863
|
+
/** Nothing can be done through the provider's API (Creem). */
|
|
5864
|
+
| 'none';
|
|
5865
|
+
/** What the catalog can do with one connected account. */
|
|
5866
|
+
interface ProviderCapabilities {
|
|
5867
|
+
/** Products can be read and imported. */
|
|
5868
|
+
read_catalog: boolean;
|
|
5869
|
+
/** One-time products are read and can be created. */
|
|
5870
|
+
one_time_products: boolean;
|
|
5871
|
+
/** Recurring products are read and can be created. */
|
|
5872
|
+
recurring_products: boolean;
|
|
5873
|
+
/** Differences can be pushed to the provider. */
|
|
5874
|
+
push: boolean;
|
|
5875
|
+
/** A product can be created at the provider. */
|
|
5876
|
+
create: boolean;
|
|
5877
|
+
/** What a delete can do at the provider. */
|
|
5878
|
+
archive: ProviderArchiveMode;
|
|
5879
|
+
/**
|
|
5880
|
+
* This deployment imports a product sold both once and on a schedule as two
|
|
5881
|
+
* products. Off, such a product is imported as recurring only.
|
|
5882
|
+
*/
|
|
5883
|
+
split_mixed_imports: boolean;
|
|
5884
|
+
}
|
|
5885
|
+
/** A connected account of the shop the catalog can work with. */
|
|
5886
|
+
interface ProviderAccount {
|
|
5887
|
+
merchant_connector_id: string;
|
|
5888
|
+
connector: string;
|
|
5889
|
+
/** The account's own label. */
|
|
5890
|
+
label?: string | null;
|
|
5891
|
+
/** The account's current environment: `true` for its sandbox. */
|
|
5892
|
+
test_mode: boolean;
|
|
5893
|
+
disabled: boolean;
|
|
5894
|
+
/** The shop's billing processor, which subscriptions are created on. */
|
|
5895
|
+
billing_processor: boolean;
|
|
5896
|
+
/** The account may be the shop's billing processor. */
|
|
5897
|
+
serves_subscriptions: boolean;
|
|
5898
|
+
capabilities: ProviderCapabilities;
|
|
5899
|
+
/** When a catalog import from this account last ran (UTC, ISO 8601). */
|
|
5900
|
+
last_import_at?: string | null;
|
|
5901
|
+
}
|
|
5902
|
+
interface ProviderAccountListResponse {
|
|
5903
|
+
data: ProviderAccount[];
|
|
5904
|
+
}
|
|
5905
|
+
/**
|
|
5906
|
+
* Create the product at a connected account it is not at yet. Without
|
|
5907
|
+
* `confirmed` nothing is written: the answer holds the plan to review. With
|
|
5908
|
+
* the plan's `fingerprint` as `confirmed`, the plan is carried out, but only
|
|
5909
|
+
* if it is still exactly that plan.
|
|
5910
|
+
*/
|
|
5911
|
+
interface ProductProviderCreateRequest {
|
|
5912
|
+
merchant_connector_id: string;
|
|
5913
|
+
/** The catalog prices to create. Every active price the provider can hold when absent. */
|
|
5914
|
+
price_ids?: string[] | null;
|
|
5915
|
+
/** The `fingerprint` of the plan the caller reviewed. */
|
|
5916
|
+
confirmed?: string | null;
|
|
5917
|
+
}
|
|
5918
|
+
/** A catalog price the create would carry to the provider. */
|
|
5919
|
+
interface ProviderCreatePrice {
|
|
5920
|
+
price_id: string;
|
|
5921
|
+
terms: ProviderPriceTerms;
|
|
5922
|
+
/** Becomes the provider's default price. */
|
|
5923
|
+
is_default: boolean;
|
|
5924
|
+
}
|
|
5925
|
+
/** A catalog price the provider cannot hold, and why. */
|
|
5926
|
+
interface ProviderUnsupportedPrice {
|
|
5927
|
+
price_id: string;
|
|
5928
|
+
reason: string;
|
|
5929
|
+
}
|
|
5930
|
+
/** What a create writes at the provider. */
|
|
5931
|
+
interface ProviderCreatePlan {
|
|
5932
|
+
/** Identifies this exact plan; a create is confirmed with it. */
|
|
5933
|
+
fingerprint: string;
|
|
5934
|
+
connector: string;
|
|
5935
|
+
merchant_connector_id: string;
|
|
5936
|
+
/** The environment the product is created in: `true` for the account's sandbox. */
|
|
5937
|
+
test_mode: boolean;
|
|
5938
|
+
name: string;
|
|
5939
|
+
description?: string | null;
|
|
5940
|
+
image_url?: string | null;
|
|
5941
|
+
prices: ProviderCreatePrice[];
|
|
5942
|
+
/** Chosen prices the provider cannot hold; they are not created. */
|
|
5943
|
+
unsupported_prices: ProviderUnsupportedPrice[];
|
|
5944
|
+
/** Catalog prices not created because they are archived. */
|
|
5945
|
+
skipped_price_ids: string[];
|
|
5946
|
+
}
|
|
5947
|
+
/** One price of a create: the provider's id, or why it was not created. */
|
|
5948
|
+
interface ProviderCreatedPrice {
|
|
5949
|
+
price_id: string;
|
|
5950
|
+
/**
|
|
5951
|
+
* The provider object the price lives on: the Stripe product, or the Creem
|
|
5952
|
+
* product or PayPal plan made for this price.
|
|
5953
|
+
*/
|
|
5954
|
+
connector_product_id?: string | null;
|
|
5955
|
+
connector_price_id?: string | null;
|
|
5956
|
+
error?: string | null;
|
|
5957
|
+
}
|
|
5958
|
+
interface ProductProviderCreateResponse {
|
|
5959
|
+
/**
|
|
5960
|
+
* `true` once the product exists at the provider and is tied to the catalog
|
|
5961
|
+
* product, with every price in `prices` that has a `connector_price_id`.
|
|
5962
|
+
*/
|
|
5963
|
+
created: boolean;
|
|
5964
|
+
/**
|
|
5965
|
+
* `true` when `confirmed` named another plan than the current one; nothing
|
|
5966
|
+
* was written, and `plan` is the current one to review.
|
|
5967
|
+
*/
|
|
5968
|
+
confirmation_outdated: boolean;
|
|
5969
|
+
plan: ProviderCreatePlan;
|
|
5970
|
+
/** The provider's id for the created product. */
|
|
5971
|
+
connector_product_id?: string | null;
|
|
5972
|
+
prices: ProviderCreatedPrice[];
|
|
5973
|
+
/**
|
|
5974
|
+
* Why the create stopped. What the provider already made is reused when the
|
|
5975
|
+
* create is confirmed again.
|
|
5976
|
+
*/
|
|
5977
|
+
error?: string | null;
|
|
5978
|
+
/** The product compared with its providers after the create. */
|
|
5979
|
+
result?: ProductProviderSyncResponse | null;
|
|
5980
|
+
}
|
|
5981
|
+
/** What to do at one connected account when a product is deleted. */
|
|
5982
|
+
type ProviderArchiveAction =
|
|
5983
|
+
/** Archive the provider's product and deactivate its prices (Stripe). */
|
|
5984
|
+
'archive'
|
|
5985
|
+
/** Deactivate the billing plans (PayPal). */
|
|
5986
|
+
| 'deactivate_plans'
|
|
5987
|
+
/** Leave the provider's product as it is. */
|
|
5988
|
+
| 'keep';
|
|
5989
|
+
interface ProviderArchiveRequest {
|
|
5990
|
+
merchant_connector_id: string;
|
|
5991
|
+
action: ProviderArchiveAction;
|
|
5992
|
+
/**
|
|
5993
|
+
* On a retry (`products.providerArchive`): the provider object to act on,
|
|
5994
|
+
* as a pending clean-up names it. A Creem or PayPal product is tied through
|
|
5995
|
+
* one object per price, so one account can hold several. Without it, one
|
|
5996
|
+
* whose clean-up is pending is taken, else the first. A delete acts on every
|
|
5997
|
+
* object at the account and ignores it.
|
|
5998
|
+
*/
|
|
5999
|
+
connector_product_id?: string;
|
|
6000
|
+
}
|
|
6001
|
+
type ProviderArchiveStatus = 'done'
|
|
6002
|
+
/** `keep` was asked for. */
|
|
6003
|
+
| 'kept'
|
|
6004
|
+
/** The provider cannot do the action; see `reason`. */
|
|
6005
|
+
| 'unsupported'
|
|
6006
|
+
/** The provider could not be read or refused; see `reason`. */
|
|
6007
|
+
| 'failed';
|
|
6008
|
+
/** What an archive did at one connected account. */
|
|
6009
|
+
interface ProviderArchiveOutcome {
|
|
6010
|
+
merchant_connector_id: string;
|
|
6011
|
+
connector: string;
|
|
6012
|
+
connector_product_id: string;
|
|
6013
|
+
action: ProviderArchiveAction;
|
|
6014
|
+
status: ProviderArchiveStatus;
|
|
6015
|
+
/** Provider prices or plans deactivated. */
|
|
6016
|
+
deactivated_price_ids: string[];
|
|
6017
|
+
/**
|
|
6018
|
+
* Provider prices left active, such as the default price of an archived
|
|
6019
|
+
* Stripe product, which Stripe does not deactivate. An archived product
|
|
6020
|
+
* takes no new sales through them.
|
|
6021
|
+
*/
|
|
6022
|
+
kept_price_ids: string[];
|
|
6023
|
+
reason?: string | null;
|
|
6024
|
+
}
|
|
6025
|
+
/**
|
|
6026
|
+
* Delete an archived product, then clean it up at its providers. The delete is
|
|
6027
|
+
* not undone when a provider fails; retry that provider through
|
|
6028
|
+
* `products.providerArchive`.
|
|
6029
|
+
*/
|
|
6030
|
+
interface ProductDeleteRequest {
|
|
6031
|
+
/**
|
|
6032
|
+
* What to do at each connected account. An account the product is tied to
|
|
6033
|
+
* and not named here is kept as it is.
|
|
6034
|
+
*/
|
|
6035
|
+
provider_actions?: ProviderArchiveRequest[];
|
|
6036
|
+
}
|
|
6037
|
+
interface ProductDeleteResponse {
|
|
6038
|
+
product_id: string;
|
|
6039
|
+
deleted: boolean;
|
|
6040
|
+
provider: ProviderArchiveOutcome[];
|
|
6041
|
+
}
|
|
6042
|
+
/**
|
|
6043
|
+
* A provider clean-up still to be carried out: one that failed, or one a
|
|
6044
|
+
* delete recorded and never reached (`attempted_at` empty). Retried through
|
|
6045
|
+
* `products.providerArchive` with its `connector_product_id`.
|
|
6046
|
+
*/
|
|
6047
|
+
interface ProviderCleanup {
|
|
6048
|
+
product_id: string;
|
|
6049
|
+
product_name: string;
|
|
6050
|
+
/** The product is deleted here; the clean-up is what is left of it. */
|
|
6051
|
+
deleted: boolean;
|
|
6052
|
+
merchant_connector_id: string;
|
|
6053
|
+
connector: string;
|
|
6054
|
+
connector_product_id: string;
|
|
6055
|
+
/** The action to retry. */
|
|
6056
|
+
action: ProviderArchiveAction;
|
|
6057
|
+
error?: string | null;
|
|
6058
|
+
attempted_at?: string | null;
|
|
6059
|
+
test_mode?: boolean | null;
|
|
6060
|
+
}
|
|
6061
|
+
interface ProviderCleanupListResponse {
|
|
6062
|
+
data: ProviderCleanup[];
|
|
6063
|
+
}
|
|
5363
6064
|
/** A shop category to file products under. */
|
|
5364
6065
|
interface ProductCategoryCreateRequest {
|
|
5365
6066
|
/**
|
|
@@ -10285,7 +10986,7 @@ interface AmountFilter {
|
|
|
10285
10986
|
}
|
|
10286
10987
|
/** Sort order for filtered payment lists. */
|
|
10287
10988
|
interface PaymentListOrder {
|
|
10288
|
-
/** Column to sort on
|
|
10989
|
+
/** Column to sort on: `"created"`, `"modified"`, `"amount"`, `"status"`, `"shop"`, `"customer"` or `"product"`. */
|
|
10289
10990
|
on: string;
|
|
10290
10991
|
by: 'asc' | 'desc';
|
|
10291
10992
|
}
|
|
@@ -11453,6 +12154,44 @@ interface MerchantRisk {
|
|
|
11453
12154
|
worst_band?: string | null;
|
|
11454
12155
|
shops: ShopRisk[];
|
|
11455
12156
|
}
|
|
12157
|
+
/**
|
|
12158
|
+
* The payload of a `shop_risk_band_escalated` webhook
|
|
12159
|
+
* (`content.type === 'shop_risk_details'`).
|
|
12160
|
+
*
|
|
12161
|
+
* Sent when a shop's band on one connector moves upward between two real
|
|
12162
|
+
* assessments. A shop that only becomes assessable raises nothing, so
|
|
12163
|
+
* `previous_band` is never `insufficient_data`.
|
|
12164
|
+
*/
|
|
12165
|
+
interface ShopRiskEscalationWebhook {
|
|
12166
|
+
merchant_id: string;
|
|
12167
|
+
shop_id: string;
|
|
12168
|
+
/**
|
|
12169
|
+
* The connector this assessment is about. A shop is scored per connector,
|
|
12170
|
+
* so it can escalate on one and stay where it was on another.
|
|
12171
|
+
*/
|
|
12172
|
+
connector: string;
|
|
12173
|
+
/** The band this assessment moved away from. Open string, as {@link ConnectorRisk.band}. */
|
|
12174
|
+
previous_band: string;
|
|
12175
|
+
/** The band the shop is in now. Open string, as {@link ConnectorRisk.band}. */
|
|
12176
|
+
band: string;
|
|
12177
|
+
/**
|
|
12178
|
+
* 0-100. Absent when the band carries no index; absent is not zero, which
|
|
12179
|
+
* would read as the safest possible shop.
|
|
12180
|
+
*/
|
|
12181
|
+
risk_index?: number;
|
|
12182
|
+
/** RFC 3339 UTC — when the scoring run that produced this band ran. */
|
|
12183
|
+
computed_at: string;
|
|
12184
|
+
/**
|
|
12185
|
+
* The snapshot this event is about. Each escalation has its own, so
|
|
12186
|
+
* deduplicate on `score_id` (or `event_id`), never on `shop_id`.
|
|
12187
|
+
*/
|
|
12188
|
+
score_id: string;
|
|
12189
|
+
/**
|
|
12190
|
+
* Always `false` today: scoring reads live traffic only. It decides which
|
|
12191
|
+
* webhook URL the event is delivered to.
|
|
12192
|
+
*/
|
|
12193
|
+
test_mode: boolean;
|
|
12194
|
+
}
|
|
11456
12195
|
/** How far along a connector's integration is. */
|
|
11457
12196
|
type ConnectorIntegrationStatus = 'live' | 'sandbox' | 'beta' | 'alpha';
|
|
11458
12197
|
/** What kind of processor a connector is. */
|
|
@@ -11970,6 +12709,20 @@ interface DynamicExportOptions extends ExportTransferOptions {
|
|
|
11970
12709
|
}
|
|
11971
12710
|
/** Any of the three shapes an export method accepts. */
|
|
11972
12711
|
type ExportOptions = JsonExportOptions | BinaryExportOptions | DynamicExportOptions;
|
|
12712
|
+
/**
|
|
12713
|
+
* Options for an export that offers CSV and JSON but no PDF — the transaction
|
|
12714
|
+
* line exports. `format` is required, as for {@link BinaryExportOptions}.
|
|
12715
|
+
*/
|
|
12716
|
+
interface CsvExportOptions extends ExportTransferOptions {
|
|
12717
|
+
format: 'csv';
|
|
12718
|
+
}
|
|
12719
|
+
/**
|
|
12720
|
+
* Options for a line export whose format is chosen at runtime — CSV or JSON,
|
|
12721
|
+
* never PDF. Resolves to `ExportEnvelope<T> | Blob` for the caller to narrow.
|
|
12722
|
+
*/
|
|
12723
|
+
interface DynamicLineExportOptions extends ExportTransferOptions {
|
|
12724
|
+
format: 'csv' | 'json';
|
|
12725
|
+
}
|
|
11973
12726
|
/**
|
|
11974
12727
|
* The `json` shape of every export.
|
|
11975
12728
|
*
|
|
@@ -12010,6 +12763,56 @@ interface TransactionExportRecord {
|
|
|
12010
12763
|
*/
|
|
12011
12764
|
test_mode: boolean | null;
|
|
12012
12765
|
}
|
|
12766
|
+
/**
|
|
12767
|
+
* One row of the transaction line exports (`export.transactionLines`,
|
|
12768
|
+
* `export.transactionLinesForProfile`): one per product line a payment
|
|
12769
|
+
* recorded, and one with `row_kind: 'no_lines'` for each payment that recorded
|
|
12770
|
+
* none, so every payment of the per-payment export is present.
|
|
12771
|
+
*
|
|
12772
|
+
* `payment_amount` is set on each payment's **first row only** and `null` on
|
|
12773
|
+
* its further rows, so it sums to exactly what the per-payment export's
|
|
12774
|
+
* `amount` sums to for the same filters. The line figures are in the line's
|
|
12775
|
+
* own `currency` and need not add up to the payment amount.
|
|
12776
|
+
*/
|
|
12777
|
+
interface TransactionLineExportRecord {
|
|
12778
|
+
payment_id: string;
|
|
12779
|
+
merchant_id: string;
|
|
12780
|
+
shop_id: string | null;
|
|
12781
|
+
/** ISO 8601, UTC. */
|
|
12782
|
+
created_at: string | null;
|
|
12783
|
+
status: string;
|
|
12784
|
+
/** `null` when the payment never recorded an environment. */
|
|
12785
|
+
test_mode: boolean | null;
|
|
12786
|
+
/** Minor units; on the payment's first row only. */
|
|
12787
|
+
payment_amount: number | null;
|
|
12788
|
+
payment_currency: string | null;
|
|
12789
|
+
/** `line`, or `no_lines` for a payment without product lines. New kinds may be added. */
|
|
12790
|
+
row_kind: 'line' | 'no_lines' | (string & {});
|
|
12791
|
+
line_id: string | null;
|
|
12792
|
+
/** The line's place in the payment, from 0. */
|
|
12793
|
+
position: number | null;
|
|
12794
|
+
/** The line an add-on or component belongs to. */
|
|
12795
|
+
parent_line_id: string | null;
|
|
12796
|
+
/** `product`, `addon`, `bundle` or `component`. */
|
|
12797
|
+
line_role: string | null;
|
|
12798
|
+
product_id: string | null;
|
|
12799
|
+
/** The product's name as it read when the payment was made. */
|
|
12800
|
+
product_name: string | null;
|
|
12801
|
+
product_alias: string | null;
|
|
12802
|
+
/** Whether the line resolved to a catalog product; `false` on a `no_lines` row. */
|
|
12803
|
+
attributed: boolean;
|
|
12804
|
+
quantity: number | null;
|
|
12805
|
+
/** Minor units of `currency`. */
|
|
12806
|
+
unit_amount: number | null;
|
|
12807
|
+
/** Minor units of `currency`. */
|
|
12808
|
+
line_total: number | null;
|
|
12809
|
+
/** The line's own currency. */
|
|
12810
|
+
currency: string | null;
|
|
12811
|
+
/** As the caller reported it; `null` when none was supplied, which is not zero. */
|
|
12812
|
+
tax_rate: number | null;
|
|
12813
|
+
/** Minor units of `currency`; `null` when none was supplied, which is not zero. */
|
|
12814
|
+
tax_amount: number | null;
|
|
12815
|
+
}
|
|
12013
12816
|
/** One row of the refunds export. */
|
|
12014
12817
|
interface RefundExportRecord {
|
|
12015
12818
|
refund_id: string;
|
|
@@ -15084,9 +15887,19 @@ declare class Users {
|
|
|
15084
15887
|
* Mints a session token **as** the given member, so the dashboard renders
|
|
15085
15888
|
* exactly what they see (useful for support and role verification). The
|
|
15086
15889
|
* caller needs the *Impersonation* permission, and the member's role must
|
|
15087
|
-
* rank **strictly below** the caller's
|
|
15088
|
-
*
|
|
15089
|
-
*
|
|
15890
|
+
* either rank **strictly below** the caller's
|
|
15891
|
+
* (`Profile < Merchant < Organization`), or sit at the caller's own
|
|
15892
|
+
* merchant-or-higher level and be **strictly narrower** than the caller's
|
|
15893
|
+
* role (grant nothing the caller's role does not, and less in total). The
|
|
15894
|
+
* server rejects self-impersonation and cross-merchant targets.
|
|
15895
|
+
* `MinimalRoleInfo.can_impersonate` in `listUsersInLineage` answers the same rule
|
|
15896
|
+
* per binding, so a UI can offer the action only where it will succeed.
|
|
15897
|
+
*
|
|
15898
|
+
* A role refusal is a `UR_33` error whose `data.reason` names the rule:
|
|
15899
|
+
* `impersonation_target_not_narrower` (the member's role is above, equal to,
|
|
15900
|
+
* or not contained in the caller's), or `act_as_token_cannot_impersonate`
|
|
15901
|
+
* (the caller is itself signed in as another member — start from your own
|
|
15902
|
+
* session).
|
|
15090
15903
|
*
|
|
15091
15904
|
* The returned token is tab-scoped by design: open it in a fresh tab (e.g.
|
|
15092
15905
|
* `/auth/impersonate?token=…`) rather than replacing the caller's own
|
|
@@ -15171,6 +15984,18 @@ declare class Users {
|
|
|
15171
15984
|
* merchant-scoped admin — see {@link DeleteUserRoleRequest.profile_id}.
|
|
15172
15985
|
*/
|
|
15173
15986
|
deleteUserRole(params: DeleteUserRoleRequest): Promise<Record<string, unknown>>;
|
|
15987
|
+
/**
|
|
15988
|
+
* Move a team member between a merchant-level role and shop-level roles.
|
|
15989
|
+
* `POST /user/employees/change-scope`
|
|
15990
|
+
*
|
|
15991
|
+
* A merchant-level `role_id` takes no `profile_ids`; a shop-level one needs
|
|
15992
|
+
* at least one. Every earlier merchant- and shop-level binding of the member
|
|
15993
|
+
* in your merchant is replaced. When the change takes a scope away, the
|
|
15994
|
+
* member's sessions end (`sessions_revoked: true`). Needs a caller at
|
|
15995
|
+
* merchant level or above. A refusal is a `UR_23` error whose `data.reason`
|
|
15996
|
+
* names the rule; an unknown `role_id` is `UR_22`.
|
|
15997
|
+
*/
|
|
15998
|
+
changeMemberScope(params: ChangeMemberScopeRequest): Promise<ChangeMemberScopeResponse>;
|
|
15174
15999
|
/** Sign in via OIDC. `POST /user/oidc` */
|
|
15175
16000
|
signInOidc(params: Record<string, unknown>): Promise<AuthResponse>;
|
|
15176
16001
|
/** Transfer key. `POST /user/key/transfer` */
|
|
@@ -15515,6 +16340,29 @@ declare class Export {
|
|
|
15515
16340
|
transactionsForProfile(params?: ProfilePaymentListFilterConstraints, options?: JsonExportOptions): Promise<ExportEnvelope<TransactionExportRecord>>;
|
|
15516
16341
|
transactionsForProfile(params: ProfilePaymentListFilterConstraints | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
15517
16342
|
transactionsForProfile(params: ProfilePaymentListFilterConstraints | undefined, options: ExportOptions): Promise<ExportEnvelope<TransactionExportRecord> | Blob>;
|
|
16343
|
+
/**
|
|
16344
|
+
* Transactions, one row per product line. `POST /export/transactions/lines`
|
|
16345
|
+
*
|
|
16346
|
+
* The payments {@link Export.transactions} would export for the same body,
|
|
16347
|
+
* one row per product line they recorded, plus one `row_kind: 'no_lines'`
|
|
16348
|
+
* row for each payment that recorded none — see
|
|
16349
|
+
* {@link TransactionLineExportRecord} for how the file reconciles with the
|
|
16350
|
+
* per-payment one. `csv` or `json` only: a line export has no PDF form, and
|
|
16351
|
+
* the server refuses one with `422`. The row bound applies to the rows.
|
|
16352
|
+
*/
|
|
16353
|
+
transactionLines(params?: PaymentListFilterConstraints, options?: JsonExportOptions): Promise<ExportEnvelope<TransactionLineExportRecord>>;
|
|
16354
|
+
transactionLines(params: PaymentListFilterConstraints | undefined, options: CsvExportOptions): Promise<Blob>;
|
|
16355
|
+
transactionLines(params: PaymentListFilterConstraints | undefined, options: DynamicLineExportOptions): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob>;
|
|
16356
|
+
/**
|
|
16357
|
+
* The caller's own shop's transactions, one row per product line.
|
|
16358
|
+
* `POST /export/profile/transactions/lines`
|
|
16359
|
+
*
|
|
16360
|
+
* The shop-scoped twin of {@link Export.transactionLines}, scoped as
|
|
16361
|
+
* {@link Export.transactionsForProfile} is: to the shop on the token.
|
|
16362
|
+
*/
|
|
16363
|
+
transactionLinesForProfile(params?: ProfilePaymentListFilterConstraints, options?: JsonExportOptions): Promise<ExportEnvelope<TransactionLineExportRecord>>;
|
|
16364
|
+
transactionLinesForProfile(params: ProfilePaymentListFilterConstraints | undefined, options: CsvExportOptions): Promise<Blob>;
|
|
16365
|
+
transactionLinesForProfile(params: ProfilePaymentListFilterConstraints | undefined, options: DynamicLineExportOptions): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob>;
|
|
15518
16366
|
/** Refunds. `POST /refunds/list/export` */
|
|
15519
16367
|
refunds(params?: RefundListParams, options?: JsonExportOptions): Promise<ExportEnvelope<RefundExportRecord>>;
|
|
15520
16368
|
refunds(params: RefundListParams | undefined, options: BinaryExportOptions): Promise<Blob>;
|
|
@@ -15860,6 +16708,15 @@ declare class Products {
|
|
|
15860
16708
|
* `GET /products/{product_id}`
|
|
15861
16709
|
*/
|
|
15862
16710
|
retrieve(productId: string, profileId: string, options?: RequestExtras): Promise<ProductResponse>;
|
|
16711
|
+
/**
|
|
16712
|
+
* What a product sold in a window, per currency, net of the refunds credited
|
|
16713
|
+
* to its lines. Refunds that named no product line are not included.
|
|
16714
|
+
* `GET /products/{product_id}/sales`
|
|
16715
|
+
*
|
|
16716
|
+
* Needs payment read; refused (403) to a caller limited to some connector
|
|
16717
|
+
* accounts.
|
|
16718
|
+
*/
|
|
16719
|
+
sales(productId: string, query: ProductSalesQuery, profileId: string, options?: RequestExtras): Promise<ProductSalesResponse>;
|
|
15863
16720
|
/**
|
|
15864
16721
|
* Change a product's name, description, image, metadata or category
|
|
15865
16722
|
* (`category_id: null` makes it uncategorized).
|
|
@@ -15884,6 +16741,15 @@ declare class Products {
|
|
|
15884
16741
|
/** Mark an archived product deleted. Historical payment lines keep
|
|
15885
16742
|
* their own immutable purchase snapshots, and the catalog row remains stored. */
|
|
15886
16743
|
delete(productId: string, profileId: string, options?: RequestExtras): Promise<void>;
|
|
16744
|
+
/**
|
|
16745
|
+
* Delete an archived product, then carry out the chosen action at each
|
|
16746
|
+
* connected account it is tied to. An account not named in
|
|
16747
|
+
* `provider_actions` is kept as it is. A failed provider action does not
|
|
16748
|
+
* undo the delete: it is listed by {@link providerCleanups} and retried
|
|
16749
|
+
* with {@link providerArchive}.
|
|
16750
|
+
* `POST /products/{product_id}/delete`
|
|
16751
|
+
*/
|
|
16752
|
+
deleteWithProviders(productId: string, request: ProductDeleteRequest, profileId: string, options?: RequestExtras): Promise<ProductDeleteResponse>;
|
|
15887
16753
|
/**
|
|
15888
16754
|
* Add a price to an existing product.
|
|
15889
16755
|
* `POST /products/{product_id}/prices`
|
|
@@ -16011,9 +16877,12 @@ declare class Products {
|
|
|
16011
16877
|
importPreview(request: ProductImportPreviewRequest, profileId: string, options?: RequestExtras): Promise<ProductImportPreviewResponse>;
|
|
16012
16878
|
/**
|
|
16013
16879
|
* Create a product for every new item and add the new prices of every
|
|
16014
|
-
* changed one, tied to the provider's ids. Nothing is edited or
|
|
16015
|
-
*
|
|
16016
|
-
*
|
|
16880
|
+
* changed one, tied to the provider's ids. Nothing else is edited or
|
|
16881
|
+
* removed, except that `options.archived: 'archive'` archives the catalog
|
|
16882
|
+
* product of every item the provider no longer offers (by default it is
|
|
16883
|
+
* left as it is). Nothing is written to the provider. A failed item is
|
|
16884
|
+
* reported with its reason and can be retried by naming it in
|
|
16885
|
+
* `connector_product_ids`.
|
|
16017
16886
|
* `POST /products/import/apply`
|
|
16018
16887
|
*/
|
|
16019
16888
|
importApply(request: ProductImportApplyRequest, profileId: string, options?: RequestExtras): Promise<ProductImportRunResponse>;
|
|
@@ -16022,6 +16891,57 @@ declare class Products {
|
|
|
16022
16891
|
* `GET /products/import/runs`
|
|
16023
16892
|
*/
|
|
16024
16893
|
listImportRuns(merchantConnectorId: string, profileId: string, options?: RequestExtras): Promise<ProductImportRunListResponse>;
|
|
16894
|
+
/**
|
|
16895
|
+
* Compare the product with its copy at every connected account it is tied
|
|
16896
|
+
* to. Reads the providers now; an unreadable provider answers `unknown`,
|
|
16897
|
+
* never `in_sync`.
|
|
16898
|
+
* `GET /products/{product_id}/provider-sync`
|
|
16899
|
+
*/
|
|
16900
|
+
providerSync(productId: string, profileId: string, options?: RequestExtras): Promise<ProductProviderSyncResponse>;
|
|
16901
|
+
/**
|
|
16902
|
+
* {@link providerSync} for 1 to 50 products at once, such as one page of the
|
|
16903
|
+
* product list. Unknown ids are left out of the answer.
|
|
16904
|
+
* `POST /products/provider-sync`
|
|
16905
|
+
*/
|
|
16906
|
+
providerSyncBatch(request: ProductProviderSyncBatchRequest, profileId: string, options?: RequestExtras): Promise<ProductProviderSyncBatchResponse>;
|
|
16907
|
+
/**
|
|
16908
|
+
* Write the catalog's state onto one connected account's copy of the
|
|
16909
|
+
* product, for the differences a push changes and nothing else. When it
|
|
16910
|
+
* would change a difference not named in `confirmed`, nothing is written and
|
|
16911
|
+
* the answer carries `confirmation_outdated: true` with the current
|
|
16912
|
+
* differences in `result`; `nothing_to_push` answers without a provider
|
|
16913
|
+
* write when nothing pushable differs.
|
|
16914
|
+
* `POST /products/{product_id}/provider-sync/push`
|
|
16915
|
+
*/
|
|
16916
|
+
providerPush(productId: string, request: ProductProviderPushRequest, profileId: string, options?: RequestExtras): Promise<ProductProviderPushResponse>;
|
|
16917
|
+
/**
|
|
16918
|
+
* The shop's connected accounts the catalog works with, and what each can
|
|
16919
|
+
* do: read, create, push, and how a delete can clean up there.
|
|
16920
|
+
* `GET /products/provider-accounts`
|
|
16921
|
+
*/
|
|
16922
|
+
providerAccounts(profileId: string, options?: RequestExtras): Promise<ProviderAccountListResponse>;
|
|
16923
|
+
/**
|
|
16924
|
+
* Provider clean-ups still to be carried out: deletes whose action at a
|
|
16925
|
+
* provider failed, or was recorded and never reached.
|
|
16926
|
+
* `GET /products/provider-cleanups`
|
|
16927
|
+
*/
|
|
16928
|
+
providerCleanups(profileId: string, options?: RequestExtras): Promise<ProviderCleanupListResponse>;
|
|
16929
|
+
/**
|
|
16930
|
+
* Create the product at a connected account it is not at yet. Without
|
|
16931
|
+
* `confirmed` nothing is written and the answer holds the plan to review;
|
|
16932
|
+
* send the plan's `fingerprint` back as `confirmed` to carry it out. When
|
|
16933
|
+
* the plan changed since, nothing is written and the answer carries
|
|
16934
|
+
* `confirmation_outdated: true` with the current plan.
|
|
16935
|
+
* `POST /products/{product_id}/provider-sync/create`
|
|
16936
|
+
*/
|
|
16937
|
+
providerCreate(productId: string, request: ProductProviderCreateRequest, profileId: string, options?: RequestExtras): Promise<ProductProviderCreateResponse>;
|
|
16938
|
+
/**
|
|
16939
|
+
* Archive the product at one connected account, or retry a clean-up that
|
|
16940
|
+
* failed after the product was deleted. Existing subscriptions there keep
|
|
16941
|
+
* billing; the catalog is not changed.
|
|
16942
|
+
* `POST /products/{product_id}/provider-archive`
|
|
16943
|
+
*/
|
|
16944
|
+
providerArchive(productId: string, request: ProviderArchiveRequest, profileId: string, options?: RequestExtras): Promise<ProviderArchiveOutcome>;
|
|
16025
16945
|
}
|
|
16026
16946
|
|
|
16027
16947
|
/**
|
|
@@ -16651,7 +17571,10 @@ declare class OperationLimits {
|
|
|
16651
17571
|
*
|
|
16652
17572
|
* Refused for the user who requested it, and for an approver whose own
|
|
16653
17573
|
* limit would not have covered the operation — the permission is necessary
|
|
16654
|
-
* and not sufficient.
|
|
17574
|
+
* and not sufficient. The requester stays refused while signed in as
|
|
17575
|
+
* another team member: that is a `DE_12` error (`approval_decision_refused`)
|
|
17576
|
+
* whose `data.reason` is `requester_acting_as_another_member`, and
|
|
17577
|
+
* {@link reject} refuses the same way.
|
|
16655
17578
|
*
|
|
16656
17579
|
* Approval and execution are two facts. A request that was approved but
|
|
16657
17580
|
* whose operation then failed comes back `approved` with `execution_error`
|
|
@@ -17188,6 +18111,9 @@ type WebhookContent = {
|
|
|
17188
18111
|
} | {
|
|
17189
18112
|
type: 'subscription_details';
|
|
17190
18113
|
object: SubscriptionWebhookContent;
|
|
18114
|
+
} | {
|
|
18115
|
+
type: 'shop_risk_details';
|
|
18116
|
+
object: ShopRiskEscalationWebhook;
|
|
17191
18117
|
};
|
|
17192
18118
|
/**
|
|
17193
18119
|
* Whether a `subscription_details` payload is a lifecycle snapshot
|
|
@@ -18726,6 +19652,21 @@ declare class CheckoutSession {
|
|
|
18726
19652
|
* `POST /payment-link/{merchantId}/{paymentId}/stripe-confirm`
|
|
18727
19653
|
*/
|
|
18728
19654
|
confirmStripeCardForm(params: StripeHostedConfirmRequest, options?: RequestExtras): Promise<StripeHostedConfirmResponse>;
|
|
19655
|
+
/**
|
|
19656
|
+
* Make the buyer's add-on choice while the checkout data answers
|
|
19657
|
+
* `type: 'addon_choice'`.
|
|
19658
|
+
*
|
|
19659
|
+
* Only price ids and quantities are sent; the router prices them from the
|
|
19660
|
+
* catalog and judges every selection group's bounds. The payment's lines and
|
|
19661
|
+
* amount change together, once: the choice is final afterwards, the same
|
|
19662
|
+
* choice sent again answers the same result, and another is refused with
|
|
19663
|
+
* `IR_16` — as is a choice once anything could have been charged at the
|
|
19664
|
+
* previous amount. Fetch the checkout data again afterwards for the payment
|
|
19665
|
+
* methods at the final amount.
|
|
19666
|
+
*
|
|
19667
|
+
* `POST /payment-link/{merchantId}/{paymentId}/addons`
|
|
19668
|
+
*/
|
|
19669
|
+
chooseAddons(params: CheckoutAddonChoiceRequest, options?: RequestExtras): Promise<CheckoutAddonChoiceResponse>;
|
|
18729
19670
|
/**
|
|
18730
19671
|
* Ask whether NomuPay's COPYandPAY widget may submit a card, from the
|
|
18731
19672
|
* form's pre-submit hook.
|
|
@@ -19271,4 +20212,4 @@ declare const decodeNativePanes: typeof decodePanes;
|
|
|
19271
20212
|
/** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
|
|
19272
20213
|
declare const encodeNativePanes: typeof encodePanes;
|
|
19273
20214
|
|
|
19274
|
-
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, APPLE_PAY_BUTTON_STYLES, APPLE_PAY_BUTTON_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type AddonGroupCreateRequest, type AddonGroupItemResponse, type AddonGroupResponse, type AddonGroupUpdateRequest, type Address, type AddressDetails, type AdoptSubscriptionRequest, type AdoptSubscriptionResponse, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsExclusionKind, type AnalyticsExclusionRequest, type AnalyticsExclusionResponse, type AnalyticsExclusionSurface, type AnalyticsExclusionsResponse, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayButtonStyle, type ApplePayButtonType, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, type AvailableCheckoutMethod, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BrowserInfoScopeSetting, type BuiltInRegionGroupResponse, type BulkCreateProcessorCostSchedulesRequest, type BundleDefinition, type BundleItemRequest, type BundleItemResponse, type BundlePricing, type BusinessPaymentLinkConfig, CARD_FIELD_CHROMES, CARD_FIELD_FONT_SIZES, CARD_FIELD_WEIGHTS, CARD_FOCUS_RINGS, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardFieldChrome, type CardFieldFontSize, type CardFieldWeight, type CardFocusRing, type CardIssuingCountryEnforcement, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangePasswordRequest, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutBrowserInfoScopeResponse, type CheckoutCustomField, type CheckoutDataResponse, type CheckoutEventKind, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodView, type CheckoutMethodVisibility, CheckoutMethods, type CheckoutMethodsResetResponse, type CheckoutMethodsResponse, type CheckoutMethodsUpdateRequest, type CheckoutMethodsView, type CheckoutNotice, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionFilters, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type CheckoutWalletButtonColor, type CheckoutWalletButtonType, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapUnit, type ConnectorCapWindow, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthCheck, type ConnectorHealthCheckStatus, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSandboxMechanism, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, CostRules, type CreateAndConfirmSubscriptionRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerListResponse, type CustomerListWithCountParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, DEFAULT_NOTICES, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeRefundAssociation, type DisputeRefundAssociationRequest, type DisputeRefundAssociationsResponse, type DisputeRefundDeclaration, type DisputeResponse, type DisputeStage, type DisputeStatus, type DisputeWorkspaceAggregate, type DisputeWorkspaceExport, type DisputeWorkspaceFilters, type DisputeWorkspaceRequest, type DisputeWorkspaceResponse, type DisputeWorkspaceRow, type DownloadProgressEvent, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type DynamicWorkspaceExportOptions, type EffectiveReplayRetentionResponse, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsOptions, type EpayoutsMethodsResponse, type EpayoutsPaypalCaptureReport, type EpayoutsPaypalCaptureRequest, type EpayoutsPaypalCaptureResponse, type EpayoutsPaypalCaptureStatus, type EpayoutsPaypalFundingSource, type EpayoutsPaypalOrderResponse, type EpayoutsPaypalProgressReport, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, type ExportPhase, type ExportPresentation, type ExportPresentationFilter, type ExportProgress, type ExportReportWord, type ExportTransferOptions, type ExternalRecordCapabilities, type ExternalRecordCreateSupport, type ExternalRecordEnvironment, type ExternalRecordKindCapability, type ExternalRecordMarker, type ExternalRecordRequest, type ExternalRecordResource, type ExternalRecordResponse, type ExternalRecordTarget, ExternalRecords, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, GOOGLE_PAY_BUTTON_COLORS, GOOGLE_PAY_BUTTON_TYPES, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GooglePayButtonColor, type GooglePayButtonType, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type ImportCapabilities, type ImportClassification, type ImportCounts, type ImportFailure, type ImportItemPreview, type ImportPricePreview, type ImportPriceState, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type IpCountryEnforcement, type IpCountryResolution, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LifecycleDetails, type LifecycleWebhook, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type ManualTriggerEventType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantCheckoutBrowserInfoResponse, type MerchantConnectorInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantCostRuleCategory, type MerchantCostRuleDeleteResponse, type MerchantCostRuleResponse, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, NOMUPAY_FORM_STYLES, NOTICES_PER_SECTION, NOTICE_ICONS, NOTICE_ICON_FALLBACK, NOTICE_ICON_PATHS, NOTICE_LABEL_MAX_LENGTH, NOTICE_SECTIONS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NativeSettlementAccountFees, type NativeSettlementFeeBasis, type NativeSettlementFeeComponent, type NativeSettlementFeeEvidence, type NativeSettlementFeeRefreshRequest, type NativeSettlementFeeRefreshResponse, type NativeSettlementFeeTerm, type NativeSettlementListRequest, type NativeSettlementPayout, type NativeSettlementPayoutCreateRequest, type NativeSettlementPayoutListResponse, type NativeSettlementPdfRequest, type NativeSettlementPreviewRequest, type NativeSettlementPreviewResponse, type NativeSettlementQuality, type NativeSettlementReport, type NativeSettlementReportCreateRequest, type NativeSettlementReportExport, type NativeSettlementReportListResponse, type NativeSettlementReportSummary, type NativeSettlementSource, type NativeSettlementTotals, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, PAYPAL_CARD_LAYOUTS, PAYPAL_LABEL_STYLES, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAddonChoice, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentDataVisibility, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLineRole, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkDetails, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkStatusDetails, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListFiltersExt, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentProductLine, type PaymentProductLineSummary, type PaymentProductLines, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PaypalCardLayout, type PaypalDisputeAction, type PaypalDisputeActionRecord, type PaypalDisputeActionRequest, type PaypalDisputeActionResponse, type PaypalDisputeCase, type PaypalDisputeDocument, type PaypalDisputeDownloadRequest, type PaypalDisputeImportRequest, type PaypalDisputeImportResponse, type PaypalDisputeListRequest, PaypalDisputes, type PaypalLabelStyle, type PdfExportOptions, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostEstimateBasis, type ProcessorCostEventBucket, type ProcessorCostEventSource, type ProcessorCostEventTerm, type ProcessorCostEventsRequest, type ProcessorCostEventsResponse, type ProcessorCostMethodBucket, type ProcessorCostNativeBucket, type ProcessorCostPeriodBucket, type ProcessorCostPeriodRequest, type ProcessorCostPeriodResponse, type ProcessorCostScheduleResponse, type ProcessorCostSource, ProcessorCosts, type ProcessorExceptionAccess, type ProcessorFeeMovement, type ProcessorSlice, type ProcessorVisibilityException, type ProductAliasCreateRequest, type ProductAliasKind, type ProductAliasResponse, type ProductCategoryCreateRequest, type ProductCategoryListQuery, type ProductCategoryListResponse, type ProductCategoryReorderRequest, type ProductCategoryResponse, type ProductCategoryUpdateRequest, type ProductConnectorReferenceCreateRequest, type ProductConnectorReferenceResponse, type ProductCreateRequest, type ProductImageUploadResponse, type ProductImportAcceptRequest, type ProductImportApplyRequest, type ProductImportPreviewRequest, type ProductImportPreviewResponse, type ProductImportRunListResponse, type ProductImportRunResponse, type ProductImportSuggestionsQuery, type ProductKind, type ProductListParams, type ProductListResponse, type ProductMappingMode, type ProductMatch, type ProductPaymentCreateRequest, type ProductPriceCreateRequest, type ProductPriceInterval, type ProductPriceResponse, type ProductPriceUpdateRequest, type ProductResolveQuery, type ProductResolveResponse, type ProductResponse, type ProductStatus, type ProductUpdateRequest, Products, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type ReplaceProcessorCostScheduleRequest, type ReplayExpiry, type ReplayIngestRequest, type ReplayIngestResponse, type ReplayPlaybackResponse, ReplayRetention, type ReplayRetentionPolicyListResponse, type ReplayRetentionPolicyResponse, type ReplayRetentionScope, type ReplaySliceInfo, type ReplaySliceResponse, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RiskComponent, type RiskUnmeasured, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RolePaymentVisibilityPolicy, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingApproachFilter, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorAmountCap, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingConnectorPaymentCap, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_INPUT_STYLES, STRIPE_LABEL_PLACEMENTS, STRIPE_NATIVE_PANE_METHODS, STRIPE_SPACINGS, STRIPE_THEMES, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillCohort, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, type SellToRestrictionCapabilitiesResponse, type SellToRestrictionDecisionResponse, type SellToRestrictionDecisionsResponse, type SellToRestrictionPolicy, type SellToRestrictionPolicyRequest, type SellToRestrictionRail, type SellToRestrictionRailCapability, type SellToRestrictionSignal, type SellToRestrictionSource, type SellToRestrictionStage, SellToRestrictions, type SellToRestrictionsResponse, type SetReplayRetentionRequest, type SetUserPreferenceRequest, Settlement, type SettlementAdvanceListRequest, type SettlementAdvanceListResponse, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopSellToRestriction, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type ShownNotice, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementAdvance, type StatementAdvanceRecordRequest, type StatementGenerateRequest, type StatementPayout, type StatementPayoutListResponse, type StatementPayoutRecordRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeHostedConfirmDecline, type StripeHostedConfirmRequest, type StripeHostedConfirmResponse, type StripeInputStyle, type StripeLabelPlacement, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type StripeSpacing, type StripeTheme, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDisputeWebhook, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLifecycleEventType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, type SubscriptionWebhookContent, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserPreferenceResponse, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookContent, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, cardFieldFontPx, cardFieldWeightValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, cloneNotice, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodeNotices, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultNotices, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodeNotices, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isDefaultBadgeSet, isHexColor, isNoticeIcon, isSubscriptionDisputeWebhook, isSubscriptionLifecycleWebhook, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, noticeText, noticesIn, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, parseNoticesLoose, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, resolveApplePayButtonStyle, resolveGooglePayButtonColor, resolveNoticesAndBadges, resolveStripeTheme, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, shownNotices, stripeSpacingValues, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|
|
20215
|
+
export { AIRWALLEX_AUTOFILL_TREATMENTS, AIRWALLEX_CARD_LAYOUTS, AIRWALLEX_CARD_PRESETS, AIRWALLEX_CARD_PRESET_FALLBACK, AIRWALLEX_FIELD_CHROMES, AIRWALLEX_FIELD_FONT_SIZES, AIRWALLEX_FIELD_WEIGHTS, AIRWALLEX_FOCUS_RINGS, AIRWALLEX_LABEL_STYLES, AIRWALLEX_NETWORK_MARKS, ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, APPLE_PAY_BUTTON_STYLES, APPLE_PAY_BUTTON_TYPES, type AcceptInvitationsPreAuthRequest, type AddUserRequest, type AddUserResponse, type AddonGroupCreateRequest, type AddonGroupItemResponse, type AddonGroupResponse, type AddonGroupUpdateRequest, type Address, type AddressDetails, type AdoptSubscriptionRequest, type AdoptSubscriptionResponse, type AirwallexApplePayDomainResult, type AirwallexApplePayDomainStatus, type AirwallexApplePayDomainsRegisterRequest, type AirwallexApplePayDomainsRegisterResponse, type AirwallexAutofillTreatment, type AirwallexCardField, type AirwallexCardLayout, type AirwallexCardPreset, type AirwallexFieldChrome, type AirwallexFieldFontSize, type AirwallexFieldWeight, type AirwallexFocusRing, type AirwallexLabelStyle, type AirwallexNetworkMark, type AllocationListResponse, type AllocationResponse, type AllocationTransferRequest, type AllocationTransferResponse, type AmountFilter, type AmountRange, Analytics, type AnalyticsChannel, type AnalyticsChild, type AnalyticsConnectorDay, type AnalyticsConnectorSeries, AnalyticsDashboard, type AnalyticsDayBucket, type AnalyticsExclusionKind, type AnalyticsExclusionRequest, type AnalyticsExclusionResponse, type AnalyticsExclusionSurface, type AnalyticsExclusionsResponse, type AnalyticsGranularity, type AnalyticsMethodSlice, type AnalyticsOutcome, type AnalyticsScopeRequest, type AnalyticsScopeResponse, type ApiKeyCreateRequest, type ApiKeyCreateResponse, type ApiKeyExpiration, type ApiKeyListConstraints, type ApiKeyResponse, type ApiKeyRevokeResponse, type ApiKeyUpdateRequest, type ApplePayButtonStyle, type ApplePayButtonType, type ApplePayVerificationRequest, type ApplePayVerificationResponse, type ApplePayVerifiedDomainsResponse, type ArchivedAtProvider, type AttemptStatus, Audit, type AuthResponse, type AuthenticationCreateRequest, type AuthenticationResponse, type AuthenticationStatus, type AuthenticationType, type AutoRechargeConfig, type AutoRechargeUpdateRequest, type AvailabilityOverrideCreateRequest, type AvailabilityOverrideResponse, AvailabilityOverrides, type AvailabilityPreviewMethod, type AvailabilityPreviewParams, type AvailabilityPreviewResponse, type AvailableCheckoutMethod, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BankCodeResponse, type BankDebitTypes, type BankTransferTypes, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingSetupRequest, type BillingSetupResponse, type BinaryExportOptions, type BlockedAttempt, type BlockedAttemptListParams, type BlockedAttemptListResponse, type BlocklistAddRequest, type BlocklistDataKind, type BlocklistResponse, type BrandingExport, type BrandingSource, type BrowserInfoScopeSetting, type BuiltInRegionGroupResponse, type BulkCreateProcessorCostSchedulesRequest, type BundleDefinition, type BundleItemRequest, type BundleItemResponse, type BundlePricing, type BusinessPaymentLinkConfig, CARD_FIELD_CHROMES, CARD_FIELD_FONT_SIZES, CARD_FIELD_WEIGHTS, CARD_FOCUS_RINGS, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_EVENT_KINDS, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CancelModeOutcome, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CaptureMethod, type CardDetail, type CardDetailFromLocker, type CardFieldChrome, type CardFieldFontSize, type CardFieldWeight, type CardFocusRing, type CardIssuingCountryEnforcement, type CardNetworkTypes, type CardReference, type CardSpecificFeatures, Cards, type ChangeMemberScopeRequest, type ChangeMemberScopeResponse, type ChangePasswordRequest, type CheckoutAddonChoiceDetails, type CheckoutAddonChoiceGroup, type CheckoutAddonChoiceItem, type CheckoutAddonChoiceProduct, type CheckoutAddonChoiceRequest, type CheckoutAddonChoiceResponse, type CheckoutBranding, type CheckoutBrandingResponse, type CheckoutBrandingUpdate, type CheckoutBrowserInfoScopeResponse, type CheckoutCustomField, type CheckoutDataResponse, type CheckoutEventKind, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodView, type CheckoutMethodVisibility, CheckoutMethods, type CheckoutMethodsResetResponse, type CheckoutMethodsResponse, type CheckoutMethodsUpdateRequest, type CheckoutMethodsView, type CheckoutNotice, CheckoutSession, type CheckoutSessionOptions, type CheckoutThemeComparisonSide, type CheckoutThemeConversionCaveat, type CheckoutThemeConversionCell, type CheckoutThemeConversionComparison, type CheckoutThemeConversionFilters, type CheckoutThemeConversionQuery, type CheckoutThemeConversionResponse, type CheckoutThemeConversionSegment, type CheckoutThemeDenominatorBasis, type CheckoutThemeDimension, type CheckoutThemeOutput, type CheckoutThemeProgram, type CheckoutThemeProgramRequest, type CheckoutThemeProgramResponse, type CheckoutThemeRule, type CheckoutThemeSampleVerdict, type CheckoutWalletButtonColor, type CheckoutWalletButtonType, type ClientAnalyticsCaveat, type ClientAnalyticsFilters, type ClientAnalyticsRequest, type ClientDrillSortKey, type ConditionNode, type ConfirmSubscriptionPaymentDetails, type ConfirmSubscriptionRequest, type ConfirmSubscriptionResponse, type Connector, type ConnectorCapUnit, type ConnectorCapWindow, type ConnectorCapability, type ConnectorCapabilityState, type ConnectorCloneRequest, type ConnectorCreateRequest, type ConnectorFeatureMatrixEntry, type ConnectorHealthCheck, type ConnectorHealthCheckStatus, type ConnectorHealthRequirements, type ConnectorHealthResponse, type ConnectorHealthState, type ConnectorHealthUnknownReason, type ConnectorIntegrationStatus, type ConnectorListResponse, type ConnectorOwnership, type ConnectorResponse, type ConnectorRisk, type ConnectorSandboxMechanism, type ConnectorSelection, type ConnectorSettlementAttempt, type ConnectorSettlementStatus, type ConnectorType, type ConnectorUpdateRequest, type ConnectorVolumeSplit, type ConnectorWebhookEntry, type ConnectorWebhookEventType, type ConnectorWebhookListResponse, type ConnectorWebhookRegisterRequest, type ConnectorWebhookRegisterResponse, type ConnectorWebhookSyncResponse, type ConnectorWebhookSyncResult, type CornerRadius, CostRules, type CreateAndConfirmSubscriptionRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type CsvExportOptions, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerCreateRequest, type CustomerListParams, type CustomerListResponse, type CustomerListWithCountParams, type CustomerPaymentMethodsListParams, type CustomerPaymentMethodsListResponse, type CustomerResponse, type CustomerUpdateRequest, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, DEFAULT_NOTICES, type DecidePendingOperationRequest, type DeleteAccountRequest, type DeleteEvidenceRequest, type DeleteUserRoleRequest, Delopay, DelopayAuthenticationError, type DelopayConnectorCategory, DelopayError, type DelopayLogger, type DelopayOptions, type DeviceAnalyticsChild, type DeviceAnalyticsTotals, type DeviceBrowserSlice, type DeviceChannelBucket, type DeviceClassSlice, type DeviceDrillBase, type DeviceDrillRequest, type DeviceDrillTarget, type DeviceModelSlice, type DevicePlatformSlice, type DeviceSessionBucket, type DevicesAnalyticsResponse, type DisputeEvidenceBlock, type DisputeEvidenceRequest, type DisputeEvidenceType, type DisputeExportRecord, type DisputeListParams, type DisputeOutcomeReporting, type DisputeRefundAssociation, type DisputeRefundAssociationRequest, type DisputeRefundAssociationsResponse, type DisputeRefundDeclaration, type DisputeResponse, type DisputeStage, type DisputeStatus, type DisputeWorkspaceAggregate, type DisputeWorkspaceExport, type DisputeWorkspaceFilters, type DisputeWorkspaceRequest, type DisputeWorkspaceResponse, type DisputeWorkspaceRow, type DownloadProgressEvent, type DrillListControls, type DrillPayment, type DrillResponse, type DrillSortKey, type DrillSummary, type DynamicExportOptions, type DynamicLineExportOptions, type DynamicWorkspaceExportOptions, type EffectiveReplayRetentionResponse, type EncodedBranding, type EntityType, type EpayoutsCatalogEntry, type EpayoutsCatalogResponse, type EpayoutsLocality, type EpayoutsMethod, type EpayoutsMethodsOptions, type EpayoutsMethodsResponse, type EpayoutsPaypalCaptureReport, type EpayoutsPaypalCaptureRequest, type EpayoutsPaypalCaptureResponse, type EpayoutsPaypalCaptureStatus, type EpayoutsPaypalFundingSource, type EpayoutsPaypalOrderResponse, type EpayoutsPaypalProgressReport, type EpayoutsRail, type EphemeralKeyCreateRequest, type EphemeralKeyCreateResponse, type EuclidComparison, type EuclidComparisonType, type EuclidIfStatement, type EuclidValue, type EventClass, type EventDeliveryAttemptResponse, type EventDetailResponse, type EventListParams, type EventListResponse, type EventManualTriggerRequest, type EventManualTriggerResponse, type EventResponse, type EventType, type ExpenseAllocation, Export, type ExportEnvelope, type ExportFormat, type ExportOptions, type ExportPhase, type ExportPresentation, type ExportPresentationFilter, type ExportProgress, type ExportReportWord, type ExportTransferOptions, type ExternalRecordCapabilities, type ExternalRecordCreateSupport, type ExternalRecordEnvironment, type ExternalRecordKindCapability, type ExternalRecordMarker, type ExternalRecordRequest, type ExternalRecordResource, type ExternalRecordResponse, type ExternalRecordTarget, ExternalRecords, FeatureMatrix, type FeatureMatrixResponse, type FeatureStatus, type FeeOwner, FeeProgramBuilder, type FeeRuleConditions, type FeeRuleDefaultPrecedence, type FeeRuleInput, type FeeRulePreviewRequest, type FeeRulePreviewResponse, type FeeScheduleCreateRequest, type FeeScheduleResponse, type FeeScheduleUpdateRequest, type FeeSpecInput, type FeeStatementDetail, type FeeStatementSummary, type FeeType, Files, type FocusedCheckoutUrlParams, type FontFamily, type FontWeight, Forex, type ForgotPasswordRequest, type FromEmailRequest, type FutureUsage, GOOGLE_PAY_BUTTON_COLORS, GOOGLE_PAY_BUTTON_TYPES, type GatewayConnectRequest, type GatewayResponse, type GeoAnalyticsChild, type GeoAnalyticsResponse, type GeoAnalyticsTotals, type GeoCitySlice, type GeoCountrySlice, type GeoDrillRequest, type GeoLanguageSlice, type GetSubscriptionItemsParams, type GetSubscriptionItemsResponse, type GlobalSearchRequest, type GooglePayButtonColor, type GooglePayButtonType, type GroupNode, type HostingFeeTerm, type ImpersonateEmployeeRequest, type ImportCapabilities, type ImportClassification, type ImportCounts, type ImportFailure, type ImportItemPreview, type ImportOptions, type ImportPricePreview, type ImportPriceState, type ImportScope, type IntentStatus, type InvitationEntity, type InviteUsersRequest, type InviteUsersResponse, type InvoiceAmountState, type InvoiceOutcomes, type InvoiceStatus, type InvokeSdkClientNextAction, type IpCountryEnforcement, type IpCountryResolution, type JsonExportOptions, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LeafNode, type LedgerEntry, type LedgerListParams, type LedgerResponse, type LifecycleDetails, type LifecycleWebhook, type LimitedOperation, type LinkedRoutingConfigRetrieveResponse, type ListInvitableRolesParams, type ListUsersInLineageParams, type LocalizableCopyField, type LoginHistoryEntry, type LoginHistoryParams, type LoginHistoryResponse, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MandateListParams, type MandateResponse, type MandateRevokedResponse, type MandateStatus, type MandateType, type ManualTriggerEventType, type MarginQuality, type MerchantAccountCreateRequest, type MerchantAccountResponse, type MerchantAccountType, type MerchantAccountUpdateRequest, type MerchantAuditActorInfo, type MerchantAuditActorKind, type MerchantAuditImpersonationKind, type MerchantAuditLogEntry, type MerchantAuditLogExportRecord, type MerchantAuditLogListParams, type MerchantAuditLogListResponse, type MerchantAuditSessionInfo, type MerchantCheckoutBrowserInfoResponse, type MerchantConnectorInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantCostRuleCategory, type MerchantCostRuleDeleteResponse, type MerchantCostRuleResponse, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, type MethodSurcharge, type MinimalRoleInfo, type MixedDecision, NATIVE_ELEMENT_POSITIONS, NATIVE_PANES_MAX, NATIVE_PANE_CATEGORY_KEYS, NATIVE_PANE_ICON_KEYS, NOMUPAY_FORM_STYLES, NOTICES_PER_SECTION, NOTICE_ICONS, NOTICE_ICON_FALLBACK, NOTICE_ICON_PATHS, NOTICE_LABEL_MAX_LENGTH, NOTICE_SECTIONS, type NativeElementPosition, type NativePaneCapability, type NativePaneMethodInfo, type NativePaneNativeElement, type NativePaneOpenTarget, type NativePaneRail, type NativePaneView, type NativePaneVisibility, type NativePanesCatalogResponse, type NativePanesConnectorCatalog, type NativeSettlementAccountFees, type NativeSettlementFeeBasis, type NativeSettlementFeeComponent, type NativeSettlementFeeEvidence, type NativeSettlementFeeRefreshRequest, type NativeSettlementFeeRefreshResponse, type NativeSettlementFeeTerm, type NativeSettlementListRequest, type NativeSettlementPayout, type NativeSettlementPayoutCreateRequest, type NativeSettlementPayoutListResponse, type NativeSettlementPdfRequest, type NativeSettlementPreviewRequest, type NativeSettlementPreviewResponse, type NativeSettlementQuality, type NativeSettlementReport, type NativeSettlementReportCreateRequest, type NativeSettlementReportExport, type NativeSettlementReportListResponse, type NativeSettlementReportSummary, type NativeSettlementSource, type NativeSettlementTotals, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitWindowMode, OperationLimits, type OtherNextAction, type OverrideAction, type OverrideScope, PANES_MAX, PANE_CATEGORY_KEYS, PANE_ICON_KEYS, PAYPAL_CARD_LAYOUTS, PAYPAL_LABEL_STYLES, type Pane, type PaneCapability, type PaneDisplayDefaults, type PaneIssue, type PaneIssueCode, type PaneMethodInfo, type PaneNativeElement, type PaneOpenTarget, type PanePresetCapability, type PaneRail, type PaneSurcharge, type PaneView, type PaneVisibility, type PanesCatalogResponse, type PanesConnectorCatalog, type ParentGroup, type ParentGroupInfo, type PauseSubscriptionRequest, type PauseSubscriptionResponse, type PaymentAbandonAttemptResponse, type PaymentAddonChoice, type PaymentAttemptResponse, type PaymentAttemptsListResponse, type PaymentCancelRequest, type PaymentCaptureRequest, type PaymentClientContextEntry, type PaymentClientContextListResponse, type PaymentConfirmRequest, type PaymentConnectorEnvironment, type PaymentConnectorSettlementResponse, type PaymentCreateRequest, type PaymentDataVisibility, type PaymentErrorDetails, type PaymentExperience, type PaymentExperienceTypes, type PaymentIdFormatConfig, type PaymentIdStyle, type PaymentIntentStateMetadata, type PaymentLayout, type PaymentLineRefunds, type PaymentLineRole, type PaymentLinkBackgroundImageConfig, type PaymentLinkConfigRequest, type PaymentLinkDetails, type PaymentLinkListParams, type PaymentLinkListResponse, type PaymentLinkResponse, type PaymentLinkStatusDetails, type PaymentLinkTransactionDetails, type PaymentListFilterConstraints, type PaymentListFilteredResponse, type PaymentListFiltersExt, type PaymentListOrder, type PaymentListParams, type PaymentListResponse, type PaymentMethod, type PaymentMethodAmountLimits, type PaymentMethodCreateRequest, type PaymentMethodDeleteResponse, type PaymentMethodDisplayInfo, type PaymentMethodListInstallmentAmountDetails, type PaymentMethodListInstallmentOption, type PaymentMethodListInstallmentPlan, type PaymentMethodListIntentData, type PaymentMethodListParams, type PaymentMethodListResponse, type PaymentMethodResponse, type PaymentMethodType, type PaymentMethodUpdateRequest, type PaymentProductLine, type PaymentProductLineSummary, type PaymentProductLines, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentUpdateRequest, type PaymentsDeletePolicyResponse, type PaymentsDeleteResponse, type PaymentsPostSessionTokensNextAction, type PaymentsPostSessionTokensRequest, type PaymentsPostSessionTokensResponse, type PayoutCreateRequest, type PayoutExportRecord, type PayoutListParams, type PayoutListResponse, type PayoutResponse, type PayoutStatus, type PayoutType, type PayoutUpdateRequest, type PaypalCardLayout, type PaypalDisputeAction, type PaypalDisputeActionRecord, type PaypalDisputeActionRequest, type PaypalDisputeActionResponse, type PaypalDisputeCase, type PaypalDisputeDocument, type PaypalDisputeDownloadRequest, type PaypalDisputeImportRequest, type PaypalDisputeImportResponse, type PaypalDisputeListRequest, PaypalDisputes, type PaypalLabelStyle, type PdfExportOptions, type PendingApprovalErrorDetails, type PendingOperation, type PendingOperationLimitContext, type PendingOperationListParams, type PendingOperationListResponse, type PendingOperationStatus, type PendingOperationSummary, type PerMethodSurchargeItem, type PeriodExpenseTerm, type PermissionScope, type PhoneDetails, type PhoneOtpRequest, type PhoneOtpResponse, type PhoneOtpVerifyRequest, type PhoneOtpVerifyResponse, type PlanSlice, type PlatformFeeKind, type PlatformFeeOutput, type PlatformFeeProgram, type PlatformFeeRule, type PlatformFeeRuleInput, type PlatformFeeRuleOutput, type PlatformFeeRuleRecord, type PlatformFeeRuleRequest, type PollStatus, type PollStatusResponse, type ProcessorCostBasis, type ProcessorCostBucket, type ProcessorCostEstimateBasis, type ProcessorCostEventBucket, type ProcessorCostEventSource, type ProcessorCostEventTerm, type ProcessorCostEventsRequest, type ProcessorCostEventsResponse, type ProcessorCostMethodBucket, type ProcessorCostNativeBucket, type ProcessorCostPeriodBucket, type ProcessorCostPeriodRequest, type ProcessorCostPeriodResponse, type ProcessorCostScheduleResponse, type ProcessorCostSource, ProcessorCosts, type ProcessorExceptionAccess, type ProcessorFeeMovement, type ProcessorSlice, type ProcessorVisibilityException, type ProductAliasCreateRequest, type ProductAliasKind, type ProductAliasResponse, type ProductCategoryCreateRequest, type ProductCategoryListQuery, type ProductCategoryListResponse, type ProductCategoryReorderRequest, type ProductCategoryResponse, type ProductCategoryUpdateRequest, type ProductConnectorReferenceCreateRequest, type ProductConnectorReferenceResponse, type ProductCreateRequest, type ProductDeleteRequest, type ProductDeleteResponse, type ProductImageUploadResponse, type ProductImportAcceptRequest, type ProductImportApplyRequest, type ProductImportPreviewRequest, type ProductImportPreviewResponse, type ProductImportRunListResponse, type ProductImportRunResponse, type ProductImportSuggestionsQuery, type ProductKind, type ProductListParams, type ProductListResponse, type ProductMappingMode, type ProductMatch, type ProductPaymentCreateRequest, type ProductPriceCreateRequest, type ProductPriceInterval, type ProductPriceResponse, type ProductPriceUpdateRequest, type ProductProviderCreateRequest, type ProductProviderCreateResponse, type ProductProviderLink, type ProductProviderPushRequest, type ProductProviderPushResponse, type ProductProviderSyncBatchRequest, type ProductProviderSyncBatchResponse, type ProductProviderSyncResponse, type ProductResolveQuery, type ProductResolveResponse, type ProductResponse, type ProductSalesByCurrency, type ProductSalesQuery, type ProductSalesResponse, type ProductStatus, type ProductUpdateRequest, Products, type ProfileAcquirerCreateRequest, type ProfileAcquirerResponse, type ProfileAcquirerUpdateRequest, type ProfileCreateRequest, type ProfileDefaultRoutingConfig, type ProfileDeniedConnectorsResponse, type ProfileLogoUploadResponse, type ProfilePaymentListFilterConstraints, type ProfileResponse, type ProfileUpdateRequest, type ProfitCostTerm, type ProgramConnectorSelection, type ProjectCreateRequest, type ProjectResponse, type ProjectStats, type ProjectStatsResponse, type ProjectUpdateRequest, type ProviderAccount, type ProviderAccountListResponse, type ProviderArchiveAction, type ProviderArchiveMode, type ProviderArchiveOutcome, type ProviderArchiveRequest, type ProviderArchiveStatus, type ProviderCapabilities, type ProviderCleanup, type ProviderCleanupListResponse, type ProviderCreatePlan, type ProviderCreatePrice, type ProviderCreatedPrice, type ProviderPriceTerms, type ProviderPushAction, type ProviderPushStep, type ProviderSyncDifference, type ProviderSyncField, type ProviderSyncStatus, type ProviderUnsupportedPrice, type PublishableKey, RTL_CHECKOUT_LOCALES, type RecordCheckoutEventRequest, type RecordCheckoutEventResponse, type RecoveryCodesResponse, type RefundAggregateResponse, type RefundCreateRequest, type RefundExportRecord, type RefundLineCredit, type RefundLineCreditRequest, type RefundListParams, type RefundListResponse, type RefundResponse, type RefundStatus, type RefundType, type RefundUpdateRequest, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type ReplaceProcessorCostScheduleRequest, type ReplayExpiry, type ReplayIngestRequest, type ReplayIngestResponse, type ReplayPlaybackResponse, ReplayRetention, type ReplayRetentionPolicyListResponse, type ReplayRetentionPolicyResponse, type ReplayRetentionScope, type ReplaySliceInfo, type ReplaySliceResponse, type RequestExtras, type RequestFn, type RequestOptions, type RequiredFieldInfo, type ResetPasswordRequest, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RiskComponent, type RiskUnmeasured, type RoleConnectorGrant, type RoleConnectorGrantEntry, type RolePaymentVisibilityPolicy, type RoutableConnectorChoice, type RoutingActivatePayload, type RoutingAlgorithmKind, type RoutingApproach, type RoutingApproachFilter, type RoutingCandidateOrigin, type RoutingConfigCreateRequest, type RoutingConfigDeleteResponse, type RoutingConfigHistoryResponse, type RoutingConfigResponse, type RoutingConfigUpdateRequest, type RoutingConfigVersion, type RoutingConnectorAmountCap, type RoutingConnectorCap, type RoutingConnectorCaps, type RoutingConnectorPaymentCap, type RoutingDeactivateRequest, type RoutingDecision, type RoutingDecisionAttempt, type RoutingDecisionCandidate, type RoutingDecisionKind, type RoutingDecisionVolumeCounter, type RoutingDecisionVolumeSplitEntry, type RoutingDictionary, type RoutingDictionaryRecord, type RoutingHistoryParams, type RoutingVolumeCounter, type RoutingVolumeCounters, type RoutingVolumeScope, type RoutingVolumeWindow, type RuleConnectorSelection, SECTION_ALIASES, STRIPE_FALLBACK_PANE_CATALOG, STRIPE_FALLBACK_PANE_METHODS, STRIPE_INPUT_STYLES, STRIPE_LABEL_PLACEMENTS, STRIPE_NATIVE_PANE_METHODS, STRIPE_SPACINGS, STRIPE_THEMES, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type SalesRevenueTerm, type ScopeDrillBase, type ScopeDrillCohort, type ScopeDrillRequest, type ScopeDrillSortKey, type ScopeDrillTarget, type SdkNextActionData, Search, type SearchGroupResponse, type SearchIndex, type SearchStatus, type SearchTimeRange, type SellToRestrictionCapabilitiesResponse, type SellToRestrictionDecisionResponse, type SellToRestrictionDecisionsResponse, type SellToRestrictionPolicy, type SellToRestrictionPolicyRequest, type SellToRestrictionRail, type SellToRestrictionRailCapability, type SellToRestrictionSignal, type SellToRestrictionSource, type SellToRestrictionStage, SellToRestrictions, type SellToRestrictionsResponse, type SetReplayRetentionRequest, type SetUserPreferenceRequest, Settlement, type SettlementAdvanceListRequest, type SettlementAdvanceListResponse, type SettlementBackfillRequest, type SettlementBackfillResponse, type SettlementBucket, type SettlementCostParams, type SettlementCostPeriod, type SettlementCostResponse, type SettlementCurrentParams, type SettlementCurrentResponse, type SettlementLine, type SettlementLineBase, type SettlementLineListParams, type SettlementLineListResponse, type SettlementLineWithProcessorCost, type SettlementLineWithoutProcessorCost, type SettlementOverviewParams, type SettlementOverviewResponse, type SettlementPayoutStatus, type SettlementStatementListParams, type SettlementStatementListResponse, type ShopCreateRequest, type ShopFeeConfigEntry, type ShopFeeConfigParams, type ShopFeeConfigResponse, type ShopResponse, type ShopRisk, type ShopRiskEscalationWebhook, type ShopSellToRestriction, type ShopSettlementOverview, type ShopStats, type ShopStatsResponse, type ShopUpdateRequest, type ShopVisibilityResponse, type ShopVisibilityUpdateRequest, type ShownNotice, type SignInRequest, type SignUpRequest, type SignUpWithMerchantIdRequest, type SignUpWithMerchantRequest, type SizeScale, type SpacingScale, type StatementAdjustment, type StatementAdjustmentCreateRequest, type StatementAdjustmentListResponse, type StatementAdvance, type StatementAdvanceRecordRequest, type StatementGenerateRequest, type StatementPayout, type StatementPayoutListResponse, type StatementPayoutRecordRequest, type StatementPayoutUpdateRequest, type StatementPdfParams, type StaticRoutingAlgorithm, type StatsPeriod, type StripeConnectAccountRequest, type StripeConnectAccountResponse, type StripeConnectLinkRequest, type StripeConnectLinkResponse, type StripeHostedConfirmDecline, type StripeHostedConfirmRequest, type StripeHostedConfirmResponse, type StripeInputStyle, type StripeLabelPlacement, type StripeNativePane, type StripePaymentMethodDomainResult, type StripePaymentMethodDomainStatus, type StripePaymentMethodDomainsRegisterRequest, type StripePaymentMethodDomainsRegisterResponse, type StripeSpacing, type StripeTheme, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionChild, type SubscriptionDisputeWebhook, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionLifecycleEventType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionProcessors, type SubscriptionResponse, type SubscriptionStatus, type SubscriptionTotals, type SubscriptionWebhookContent, Subscriptions, type SummaryPosition, type SupportedPaymentMethod, type SurchargeAmountOperator, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeCondition, type SurchargeConditionSource, type SurchargeCurrencyOperator, type SurchargeDetailsResponse, type SurchargeDirection, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargeMetadataOperator, type SurchargeOperator, type SurchargePosition, type SurchargeResponse, type SurchargeRuleRequest, type SurchargeRuleResponse, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type SwitchMerchantRequest, type SwitchProfileRequest, type TermBearer, type Terminate2faQueryParams, type ThemeBrowserLanguage, type ThemeCheckoutChannel, type ThemeChoice, type ThemeCondition, type ThemeDeviceClass, type ThemeEnumCondition, type ThemeIfStatement, type ThemeMetadataCondition, type ThemeNumberCondition, type ThemeTrafficSource, type ThreeDSDecision, type ThreeDsRuleExecuteRequest, type ThreeDsRuleResponse, type TierSummary, type TimeToPayBucket, type TimeToPayBucketLabel, type TimeToPayStats, type TokenPurpose, type TokenResponse, type TopupRequest, type TopupResponse, type TotpResponse, type TransactionExportRecord, type TransactionLineExportRecord, type TransactionType, type TrustBadge, UNKNOWN_SECTION_ORDER, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UserInLineage, type UserInvitation, type UserPreferenceResponse, type UserResponse, type UserSessionEntry, type UserSessionListResponse, type UserSessionRevokeResponse, type VaultCheck, type VaultCheckId, type VaultCheckStatus, type VaultCollectSessionResponse, type VaultEnvironment, type VaultPaymentMethodRequest, type VaultPaymentMethodResponse, type VaultRouteApplyVerification, type VaultRouteChange, type VaultRouteChangeKind, type VaultRouteFieldChange, type VaultRouteIds, type VaultRoutePurpose, type VaultRouteWarning, type VaultRouteWarningCode, type VaultRoutesApplyRequest, type VaultRoutesApplyResponse, type VaultRoutesFingerprint, type VaultRoutesPreviewRequest, type VaultRoutesPreviewResponse, type VaultVerificationResponse, type VaultVerifyRequest, type VerifyTotpRequest, WCAG_AA_TEXT, WCAG_AA_UI, type WebhookContent, type WebhookDeliveryAttempt, type WebhookDeliveryTerminalReason, type WebhookDetails, type WebhookEvent, type WebhookRefundStatus, type WebhookRegistrationEnvironment, Webhooks, airwallexCardLayout, airwallexCardLayoutIsCoherent, airwallexCellWeight, airwallexFieldFontPx, airwallexFieldWeightValue, allOf, anyOf, applyBrandingVariables, asAirwallexCardPreset, buildBrandingExport, buttonPadValue, canonicalSectionId, cardFieldFontPx, cardFieldWeightValue, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNativePane, cloneNotice, clonePane, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNativePanes, decodeNotices, decodePanes, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNativePane, defaultNotices, defaultOperatorForSource, defaultPane, emptyPaneCatalog, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNativePanes, encodeNotices, encodePanes, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, feeProgram, focusedCheckoutUrl, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isDefaultBadgeSet, isHexColor, isNoticeIcon, isSubscriptionDisputeWebhook, isSubscriptionLifecycleWebhook, knownSectionLabelKey, leaf, logoDimensions, nativePaneMethodInfo, noticeText, noticesIn, offerablePaneMethods, paneCatalogFor, paneDisplayDefaults, paneMethodInfo, paneRailAllowed, paneViewVisibility, parseCustomFieldsLoose, parseImportedBranding, parseNoticesLoose, programToTree, radiusValue, readableInkOn, resolveAirwallexCardPreset, resolveAirwallexLabelStyle, resolveApplePayButtonStyle, resolveGooglePayButtonColor, resolveNoticesAndBadges, resolveStripeTheme, ruleMatchToTree, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, shownNotices, stripeSpacingValues, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, validatePanes, verticalGapValue, visibleCustomFields };
|