@delopay/sdk 0.204.1 → 0.208.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -3477,17 +3477,59 @@ interface MerchantOverviewResponse {
3477
3477
  total_shops: MerchantOverviewStat;
3478
3478
  active_shops: MerchantOverviewStat;
3479
3479
  }
3480
+ /**
3481
+ * What an API key may do. Fixed when the key is created; to change it, create
3482
+ * a new key and revoke the old one.
3483
+ *
3484
+ * - `full` — every route an API key can call. Every key created before scopes
3485
+ * existed has this scope.
3486
+ * - `statistics_read` — read-only access to the merchant's aggregated
3487
+ * statistics (`analytics.scope`, `devices`, `geo`, `subscriptions`). Every
3488
+ * other route, the drill-throughs that list payments included, refuses the
3489
+ * key with `IR_22` (HTTP 403). A key bound to a shop reads only that shop.
3490
+ */
3491
+ type ApiKeyScope = 'full' | 'statistics_read';
3480
3492
  interface ApiKeyCreateRequest {
3481
3493
  name: string;
3482
3494
  expiration: ApiKeyExpiration;
3483
3495
  description?: string | null;
3496
+ /** What the key may do. Omitted means `full`. Cannot be changed later. */
3497
+ scope?: ApiKeyScope;
3498
+ /**
3499
+ * Browser origins the key may be used from: a host with an optional port
3500
+ * and `*` wildcards (`shop.example.com`, `*.example.com`, `localhost:3000`),
3501
+ * with no scheme and no path. A request carrying an `Origin` header outside
3502
+ * the list is refused (HTTP 403). A request without one (a server call) is
3503
+ * admitted, because any non-browser client can set the header: this
3504
+ * constrains browsers only. An empty list refuses every browser. Omitted
3505
+ * means no origin rule. At most 32 entries.
3506
+ */
3507
+ allowed_origins?: string[] | null;
3508
+ /**
3509
+ * Requests per minute the key may make, across every route (1 to 100000).
3510
+ * Excess requests are refused with HTTP 429. While the shared counter is
3511
+ * unreachable, a `full` key with a cap is refused and a `statistics_read`
3512
+ * key is admitted. Omitted means no cap.
3513
+ */
3514
+ rate_limit_per_minute?: number | null;
3484
3515
  }
3485
3516
  interface ApiKeyUpdateRequest {
3486
3517
  name?: string | null;
3487
3518
  description?: string | null;
3488
3519
  expiration?: ApiKeyExpiration | null;
3520
+ /**
3521
+ * Browser origins the key may be used from, in the grammar of
3522
+ * {@link ApiKeyCreateRequest.allowed_origins}. Absent leaves the rule
3523
+ * alone, `null` removes it, a list replaces it.
3524
+ */
3525
+ allowed_origins?: string[] | null;
3526
+ /**
3527
+ * Requests per minute across every route. Absent leaves the cap alone,
3528
+ * `null` removes it.
3529
+ */
3530
+ rate_limit_per_minute?: number | null;
3489
3531
  }
3490
- /** Returned only on creation — includes the plaintext api_key */
3532
+ /** Returned on creation and rotation — includes the plaintext api_key */
3491
3533
  interface ApiKeyCreateResponse {
3492
3534
  key_id: string;
3493
3535
  merchant_id: string;
@@ -3502,6 +3544,16 @@ interface ApiKeyCreateResponse {
3502
3544
  * key support; absent on older backends.
3503
3545
  */
3504
3546
  profile_id?: string | null;
3547
+ /**
3548
+ * What the key may do. `null` only when the stored scope is one this
3549
+ * server does not recognise; such a key is refused on every route. Absent
3550
+ * on older backends.
3551
+ */
3552
+ scope?: ApiKeyScope | null;
3553
+ /** Browser origins the key may be used from. `null` means no origin rule. */
3554
+ allowed_origins?: string[] | null;
3555
+ /** Requests per minute across every route. `null` means no cap. */
3556
+ rate_limit_per_minute?: number | null;
3505
3557
  }
3506
3558
  /** Returned on retrieve/list — no plaintext key, only prefix */
3507
3559
  interface ApiKeyResponse {
@@ -3518,6 +3570,16 @@ interface ApiKeyResponse {
3518
3570
  * key support; absent on older backends.
3519
3571
  */
3520
3572
  profile_id?: string | null;
3573
+ /**
3574
+ * What the key may do. `null` only when the stored scope is one this
3575
+ * server does not recognise; such a key is refused on every route. Absent
3576
+ * on older backends.
3577
+ */
3578
+ scope?: ApiKeyScope | null;
3579
+ /** Browser origins the key may be used from. `null` means no origin rule. */
3580
+ allowed_origins?: string[] | null;
3581
+ /** Requests per minute across every route. `null` means no cap. */
3582
+ rate_limit_per_minute?: number | null;
3521
3583
  }
3522
3584
  interface ApiKeyRevokeResponse {
3523
3585
  merchant_id: string;
@@ -5559,6 +5621,12 @@ interface ProductCreateRequest {
5559
5621
  * defaults to `false`.
5560
5622
  */
5561
5623
  buyer_chooses_addons?: boolean | null;
5624
+ /**
5625
+ * The tax category the invoice tax rules match on: `[a-z0-9_]{1,32}`, such
5626
+ * as `standard`, `reduced`, `zero`, `exempt` or `digital_services`. Absent
5627
+ * is `standard`.
5628
+ */
5629
+ tax_category?: string | null;
5562
5630
  }
5563
5631
  /**
5564
5632
  * What may be changed on a product after it exists.
@@ -5582,6 +5650,12 @@ interface ProductUpdateRequest {
5582
5650
  * product can. Applies to payments created afterwards.
5583
5651
  */
5584
5652
  buyer_chooses_addons?: boolean | null;
5653
+ /**
5654
+ * A new tax category (`[a-z0-9_]{1,32}`), or `null` for `standard`. Absent
5655
+ * leaves it. Invoices already drafted keep the category they were created
5656
+ * with.
5657
+ */
5658
+ tax_category?: string | null;
5585
5659
  }
5586
5660
  /** What may be changed on a price: its label, its default flag, its metadata. */
5587
5661
  interface ProductPriceUpdateRequest {
@@ -5820,6 +5894,8 @@ interface ProductResponse {
5820
5894
  /** The shop category the product is filed under; `null` = uncategorized. */
5821
5895
  category_id?: string | null; /** Whether the buyer chooses the product's add-ons in the hosted checkout. */
5822
5896
  buyer_chooses_addons: boolean;
5897
+ /** The invoice tax category; `null` is `standard`. */
5898
+ tax_category?: string | null;
5823
5899
  }
5824
5900
  /** One page of a shop's catalogue. */
5825
5901
  interface ProductListResponse {
@@ -7908,6 +7984,436 @@ interface MerchantInvoiceWebhook {
7908
7984
  pdf_url?: string | null;
7909
7985
  pdf_url_expires_at?: string | null;
7910
7986
  }
7987
+ /**
7988
+ * What a buyer block on a request may carry. The seller's other fields
7989
+ * (`phone`, `website`, `registration`, `bank_details`) come from the invoice
7990
+ * settings, and the API refuses them on a buyer so a caller cannot believe
7991
+ * they were printed.
7992
+ *
7993
+ * `country` (ISO 3166-1 alpha-2) decides which tax rule applies and, under
7994
+ * `locale_mode: buyer_country`, the document's language; `region` (ISO 3166-2,
7995
+ * such as `US-CA`) must be one of `country`'s.
7996
+ */
7997
+ type MerchantInvoiceBuyerInput = Partial<Pick<MerchantInvoiceParty, 'name' | 'address'>> & Pick<MerchantInvoiceParty, 'email' | 'vat_id' | 'tax_id' | 'country' | 'region'>;
7998
+ /**
7999
+ * What a new document is for: **exactly one** of a paid payment of this
8000
+ * merchant, or a paid subscription cycle (the `id` of an entry of
8001
+ * `subscriptions.listInvoices`). Both or neither is refused.
8002
+ */
8003
+ interface InvoiceSourceRef {
8004
+ payment_id?: string | null;
8005
+ subscription_invoice_id?: string | null;
8006
+ }
8007
+ /**
8008
+ * Create an invoice draft (`POST /invoices`). The lines and every amount come
8009
+ * from the source; no request can state a seller, an amount or a quantity.
8010
+ */
8011
+ interface CreateInvoiceRequest {
8012
+ source: InvoiceSourceRef;
8013
+ /** Finalise the draft in the same call: numbered, frozen and its PDF stored. */
8014
+ finalize?: boolean;
8015
+ /** Prefilled from the payment's customer where known. Replaces it whole when sent. */
8016
+ buyer?: MerchantInvoiceBuyerInput | null;
8017
+ notes?: string | null;
8018
+ /** `YYYY-MM-DD`. */
8019
+ due_date?: string | null;
8020
+ }
8021
+ /**
8022
+ * A change to one line of a draft. Amounts and quantities are never accepted:
8023
+ * they are what was paid.
8024
+ */
8025
+ interface UpdateInvoiceLine {
8026
+ id: string;
8027
+ description?: string | null;
8028
+ /**
8029
+ * The VAT rate in basis points (`1900` = 19 %). `null` shows no VAT on the
8030
+ * line, which then needs `tax_exemption_note` or the document's
8031
+ * `no_tax_reason`; `0` needs one of them too. Absent leaves the rate. The
8032
+ * line's gross never changes: it is split again at the new rate.
8033
+ */
8034
+ tax_rate_bp?: number | null;
8035
+ /** Why this line shows no VAT or 0 %. `null` clears, absent leaves it. */
8036
+ tax_exemption_note?: string | null;
8037
+ /**
8038
+ * Drop the line's manual tax and decide it again as a new draft does. Not
8039
+ * together with `tax_rate_bp` or `tax_exemption_note`.
8040
+ */
8041
+ reset_to_rule?: boolean;
8042
+ }
8043
+ /**
8044
+ * Edit a draft (`PATCH /invoices/{invoice_id}`). **Absent leaves a field as it
8045
+ * is; `null` clears a clearable one** — so leave a key out rather than sending
8046
+ * `null` for "unchanged".
8047
+ */
8048
+ interface UpdateInvoiceRequest {
8049
+ /**
8050
+ * Replaces the whole buyer block, `country` and `region` included. When the
8051
+ * country, region, VAT id or tax number changes, every line whose tax was
8052
+ * not set by hand is decided again.
8053
+ */
8054
+ buyer?: MerchantInvoiceBuyerInput;
8055
+ /** `YYYY-MM-DD`. Cannot be cleared. */
8056
+ supply_date?: string;
8057
+ /** `YYYY-MM-DD`; `null` clears. */
8058
+ period_start?: string | null;
8059
+ /** `YYYY-MM-DD`; `null` clears. */
8060
+ period_end?: string | null;
8061
+ /** `YYYY-MM-DD`; `null` clears. */
8062
+ due_date?: string | null;
8063
+ notes?: string | null;
8064
+ /** The document-level reason for showing no VAT; `null` clears. */
8065
+ no_tax_reason?: MerchantInvoiceNoTaxReason | null;
8066
+ lines?: UpdateInvoiceLine[];
8067
+ }
8068
+ /** Withdraw an issued document (`POST /invoices/{invoice_id}/void`). */
8069
+ interface VoidInvoiceRequest {
8070
+ /** Required: it accounts for the number the document used. */
8071
+ reason: string;
8072
+ }
8073
+ /** One line a credit note credits. */
8074
+ interface CreditNoteLineRequest {
8075
+ invoice_line_id: string;
8076
+ /** Units to credit; defaults to every unit the line has left. */
8077
+ quantity?: number | null;
8078
+ /**
8079
+ * The gross amount to credit, positive, in minor units. Defaults to the
8080
+ * line's remaining gross for `quantity` of its remaining units, and is
8081
+ * never more than the line has left.
8082
+ */
8083
+ amount?: number | null;
8084
+ }
8085
+ /** Correct an issued invoice (`POST /invoices/{invoice_id}/credit-note`). */
8086
+ interface CreateCreditNoteRequest {
8087
+ /** Printed on the credit note. */
8088
+ reason: string;
8089
+ /** Omit to credit everything the invoice has left. */
8090
+ lines?: CreditNoteLineRequest[] | null;
8091
+ /** Finalise the credit note in the same call. */
8092
+ finalize?: boolean;
8093
+ }
8094
+ /**
8095
+ * Filters of `GET /invoices` and `GET /products/{product_id}/invoices`. A
8096
+ * shop-scoped caller sees only its own shop; naming another `profile_id` is
8097
+ * refused.
8098
+ */
8099
+ interface InvoiceListQuery {
8100
+ profile_id?: string | null;
8101
+ status?: MerchantInvoiceDocumentStatus | null;
8102
+ kind?: MerchantInvoiceKind | null;
8103
+ test_mode?: boolean | null;
8104
+ payment_id?: string | null;
8105
+ subscription_id?: string | null;
8106
+ subscription_invoice_id?: string | null;
8107
+ product_id?: string | null;
8108
+ /** Created at or after (ISO 8601). */
8109
+ from?: string | null;
8110
+ /** Created before (ISO 8601). */
8111
+ to?: string | null;
8112
+ /** A substring of the document number or the buyer's name. */
8113
+ q?: string | null;
8114
+ /** At most 100; 25 when absent. */
8115
+ limit?: number | null;
8116
+ offset?: number | null;
8117
+ /** Include every document's `lines`; list rows carry none otherwise. */
8118
+ include_lines?: boolean;
8119
+ }
8120
+ /**
8121
+ * The query of `GET /invoices/export`: the list filters over one period.
8122
+ * `from` and `to` are required; more than 10 000 documents are refused
8123
+ * (`IR_06`, "narrow the period").
8124
+ */
8125
+ type InvoiceExportParams = Omit<InvoiceListQuery, 'limit' | 'offset' | 'include_lines'> & {
8126
+ /** Created at or after (ISO 8601). */
8127
+ from: string;
8128
+ /** Created before (ISO 8601). */
8129
+ to: string;
8130
+ };
8131
+ /** Paging of `GET /payments/{payment_id}/invoices`. */
8132
+ interface InvoicePageQuery {
8133
+ /** At most 100; 100 when absent. */
8134
+ limit?: number | null;
8135
+ offset?: number | null;
8136
+ }
8137
+ /** A page of documents. */
8138
+ interface InvoiceList {
8139
+ data: MerchantInvoiceDocument[];
8140
+ total_count: number;
8141
+ limit: number;
8142
+ offset: number;
8143
+ /**
8144
+ * `GET /payments/{payment_id}/invoices` only: the connector that sold as
8145
+ * merchant of record (`creem`). Such a payment is invoiced by that
8146
+ * connector, and `invoices.create` refuses it.
8147
+ */
8148
+ merchant_of_record?: string | null;
8149
+ /** `GET /payments/{payment_id}/invoices` only: the payment's successful refunds. */
8150
+ refunded_amount?: number | null;
8151
+ }
8152
+ /** A public link to an issued document's stored PDF, valid for 7 days. */
8153
+ interface InvoiceShareLink {
8154
+ /**
8155
+ * Opens the PDF without logging in: anyone holding it can read the
8156
+ * document. A bad or expired token answers 404.
8157
+ */
8158
+ url: string;
8159
+ expires_at: string;
8160
+ }
8161
+ /**
8162
+ * Why an invoice request was refused: `error.data.reason` of an `IR_16`
8163
+ * (400: wrong state, or a source that may not be invoiced) or of an `IR_06`
8164
+ * refusal of a finalise (422). Match on this, never on the message. Other
8165
+ * `IR_06` answers (a malformed field, over-crediting) carry no reason.
8166
+ */
8167
+ type MerchantInvoiceRefusalReason = 'not_a_draft' | 'not_issued' | 'changed_concurrently' | 'has_credit_notes' | 'numbering_changed' | 'capture_outgrew_draft' | 'merchant_of_record' | 'attempt_environment_pending' | 'payment_not_captured' | 'cycle_not_paid' | 'issuance_paused' | 'no_lines' | 'seller_name_missing' | 'seller_address_missing' | 'seller_tax_id_missing' | 'buyer_name_required' | 'buyer_address_required' | 'buyer_vat_id_required_for_reverse_charge' | 'seller_vat_id_required_for_reverse_charge' | 'exemption_provision_missing' | 'line_quantity_invalid' | 'amount_overflow' | 'line_amount_wrong_sign' | 'line_rate_out_of_range' | 'small_business_line_shows_vat' | 'line_vat_without_rate' | 'line_tax_unexplained' | 'numbering_invalid' | 'document_unprintable' | 'script_unsupported';
8168
+ /** The `error.data` of a refused invoice request that names its reason. */
8169
+ interface MerchantInvoiceRefusal {
8170
+ reason: MerchantInvoiceRefusalReason;
8171
+ /** The one-based line a line's refusal is about. */
8172
+ line?: number;
8173
+ /**
8174
+ * On a refusal about a seller setting: `shop` when the shop overrides that
8175
+ * setting, else `merchant` (also when it is set nowhere — the merchant
8176
+ * default is where it is filled in).
8177
+ */
8178
+ setting_scope?: 'shop' | 'merchant';
8179
+ }
8180
+ /**
8181
+ * The `error.data` of a `409` `DE_13` from `invoices.create`: the source
8182
+ * already has a live invoice, and this is its id.
8183
+ */
8184
+ interface MerchantInvoiceConflict {
8185
+ existing_invoice_id: string;
8186
+ }
8187
+ /** `vat` shows VAT at the default rate on gross prices; `no_vat` shows none and needs a reason. */
8188
+ type InvoiceTaxMode = 'vat' | 'no_vat';
8189
+ /** The document's language. Dates, numbers and country names follow it. */
8190
+ type InvoiceLocale = 'en' | 'de' | 'fr' | 'es' | 'it' | 'nl' | 'pt' | 'pl';
8191
+ /** `fixed`: always `locale`. `buyer_country`: the buyer country's language where supported, else `locale`. */
8192
+ type InvoiceLocaleMode = 'fixed' | 'buyer_country';
8193
+ /** Whether a stated order tax (a tax service, the processor or `order_tax_amount`) decides the lines' tax. */
8194
+ type InvoiceProcessorTaxMode = 'prefer_processor' | 'ignore';
8195
+ /**
8196
+ * Whether a paid payment or subscription cycle gets its invoice without a
8197
+ * request: `draft` creates one to check and finalise by hand, `finalize`
8198
+ * issues it (a document that cannot be finalised stays a draft).
8199
+ */
8200
+ type InvoiceAutoIssue = 'off' | 'draft' | 'finalize';
8201
+ /** Where an effective setting or a rule list came from. */
8202
+ type InvoiceSettingSource = 'shop' | 'merchant' | 'default';
8203
+ /**
8204
+ * Invoice settings: the merchant default or one shop's override.
8205
+ *
8206
+ * On an override every `null` means "use the merchant default"; on the
8207
+ * default it means "use the built-in fallback". **An update replaces every
8208
+ * field but the logo**, so send the whole object back rather than a patch —
8209
+ * a field left out is cleared. The read-only fields may be sent back and are
8210
+ * ignored.
8211
+ */
8212
+ interface InvoiceSettings {
8213
+ seller_name?: string | null;
8214
+ seller_address?: string | null;
8215
+ seller_tax_id?: string | null;
8216
+ seller_vat_id?: string | null;
8217
+ seller_registration?: string | null;
8218
+ seller_email?: string | null;
8219
+ seller_phone?: string | null;
8220
+ seller_website?: string | null;
8221
+ bank_details?: string | null;
8222
+ /** `#RRGGBB`. */
8223
+ accent_color?: string | null;
8224
+ footer_text?: string | null;
8225
+ /** Put on every new draft as its notes. */
8226
+ default_notes?: string | null;
8227
+ /** 0 to 365. */
8228
+ payment_terms_days?: number | null;
8229
+ /** 1 to 16 of `A-Z` and `0-9`, printed as `INV-<prefix>-<n>`. */
8230
+ number_prefix?: string | null;
8231
+ /**
8232
+ * Shop override only: number this shop's documents on a sequence of its
8233
+ * own. Needs a `number_prefix` no other sequence uses.
8234
+ */
8235
+ own_number_sequence?: boolean | null;
8236
+ locale?: InvoiceLocale | null;
8237
+ /** An IANA zone, such as `Europe/Berlin`; the document's dates are printed in it. */
8238
+ time_zone?: string | null;
8239
+ /** Print the platform's name in the footer. */
8240
+ show_platform_branding?: boolean | null;
8241
+ tax_mode?: InvoiceTaxMode | null;
8242
+ /** 0 to 10000; `1900` is 19 %. */
8243
+ default_tax_rate_bp?: number | null;
8244
+ /** Required on the effective settings when `tax_mode` is `no_vat`. */
8245
+ no_tax_reason?: MerchantInvoiceNoTaxReason | null;
8246
+ /** `fixed` (the default) or `buyer_country`. */
8247
+ locale_mode?: InvoiceLocaleMode | null;
8248
+ /** `invoice` (the default), `tax_invoice`, or a title of your own of at most 40 characters. */
8249
+ document_title?: string | null;
8250
+ /** The label of the seller's VAT id or tax number, such as `ABN` or `UID`. At most 32 characters. */
8251
+ seller_tax_id_label?: string | null;
8252
+ /** The label of a rate from `default_tax_rate_bp`, such as `GST`. At most 32 characters. */
8253
+ tax_label_default?: string | null;
8254
+ /** ISO 4217. A document in another currency also prints its total tax in this one. */
8255
+ tax_reporting_currency?: string | null;
8256
+ /** `prefer_processor` (the default) or `ignore`. */
8257
+ processor_tax_mode?: InvoiceProcessorTaxMode | null;
8258
+ /** `off` (the default), `draft` or `finalize`. */
8259
+ auto_issue?: InvoiceAutoIssue | null;
8260
+ /** Read-only: where the logo is served, when one is set. */
8261
+ logo_url?: string | null;
8262
+ /** Read-only. */
8263
+ logo_content_type?: string | null;
8264
+ /** Read-only: changes with every new logo. */
8265
+ logo_sha256?: string | null;
8266
+ /** Read-only: absent on the merchant default. */
8267
+ profile_id?: string | null;
8268
+ /** Read-only. */
8269
+ modified_at?: string | null;
8270
+ /** Read-only. */
8271
+ modified_by?: string | null;
8272
+ }
8273
+ /**
8274
+ * The settings a shop's next document is finalised with. `sources` has one
8275
+ * entry per field of `settings` that is set, naming where it came from.
8276
+ */
8277
+ interface EffectiveInvoiceSettings {
8278
+ profile_id: string;
8279
+ settings: InvoiceSettings;
8280
+ sources: Record<string, InvoiceSettingSource>;
8281
+ }
8282
+ /** A new invoice logo. */
8283
+ interface InvoiceLogoRequest {
8284
+ /** `image/png` or `image/jpeg`. */
8285
+ content_type: string;
8286
+ /** At most 1 MB once decoded. */
8287
+ data_base64: string;
8288
+ }
8289
+ /** Render a sample document from the effective settings and unsaved values. */
8290
+ interface InvoicePreviewRequest {
8291
+ /** The shop whose effective settings to start from; the merchant default when absent. */
8292
+ profile_id?: string | null;
8293
+ /** Unsaved values; a `null` keeps the saved one. */
8294
+ settings?: InvoiceSettings | null;
8295
+ /**
8296
+ * Fields the form has cleared, by name (`seller_phone`, `logo_url`, …):
8297
+ * on a shop they inherit the merchant default, on the merchant default they
8298
+ * use the built-in fallback. Applied before `settings`.
8299
+ */
8300
+ clear?: string[];
8301
+ }
8302
+ /**
8303
+ * Which buyers a tax rule applies to. `business`: a VAT id or a tax number.
8304
+ * `vat_registered`: a VAT id (a tax number alone does not count) — the
8305
+ * condition for a reverse-charge rule. `consumer`: neither.
8306
+ */
8307
+ type InvoiceBuyerType = 'any' | 'business' | 'vat_registered' | 'consumer';
8308
+ /** `rate`: tax at `rate_bp`. `no_tax`: no tax, for `no_tax_reason`, with `note` printed. */
8309
+ type InvoiceTaxRuleKind = 'rate' | 'no_tax';
8310
+ /**
8311
+ * One tax rule. A list is ordered; the first enabled rule whose conditions
8312
+ * all match decides a line. An empty condition matches everything. The
8313
+ * API always returns every field; the optional ones default on input.
8314
+ */
8315
+ interface InvoiceTaxRule {
8316
+ /**
8317
+ * Read-only on output. On an update, the id of a rule of the same list
8318
+ * keeps that id; absent gives the rule a new one.
8319
+ */
8320
+ id?: string | null;
8321
+ /** 1 to 120 characters, shown on the draft next to the lines it decided. */
8322
+ name: string;
8323
+ /** Defaults to `true`. */
8324
+ enabled?: boolean;
8325
+ /** ISO 3166-1 alpha-2 codes; empty matches every country. */
8326
+ buyer_countries?: string[];
8327
+ /** ISO 3166-2 codes such as `US-CA`; empty matches every region. */
8328
+ buyer_regions?: string[];
8329
+ /** Defaults to `any`. */
8330
+ buyer_type?: InvoiceBuyerType;
8331
+ /**
8332
+ * Product tax categories (`[a-z0-9_]{1,32}`); empty matches every one. A
8333
+ * line without a product, or whose product has none, is `standard`.
8334
+ */
8335
+ tax_categories?: string[];
8336
+ kind: InvoiceTaxRuleKind;
8337
+ /** `kind: rate` only: 0 to 10000; `2000` is 20 %. */
8338
+ rate_bp?: number | null;
8339
+ /** `kind: rate` only: printed beside the rate, such as `TVA`. At most 32 characters. */
8340
+ tax_label?: string | null;
8341
+ /** Required for `kind: no_tax`, refused otherwise. */
8342
+ no_tax_reason?: MerchantInvoiceNoTaxRuleReason | null;
8343
+ /**
8344
+ * Printed on the document once, however many lines the rule decided.
8345
+ * Required for `kind: no_tax` (the legal mention). At most 500 characters.
8346
+ */
8347
+ note?: string | null;
8348
+ }
8349
+ /** Replace a whole rule list. At most 500 rules; the order is the priority. */
8350
+ interface InvoiceTaxRulesRequest {
8351
+ rules: InvoiceTaxRule[];
8352
+ }
8353
+ /** A rule list: the merchant's, or a shop's. */
8354
+ interface InvoiceTaxRules {
8355
+ /** Absent on the merchant's list. */
8356
+ profile_id?: string | null;
8357
+ /**
8358
+ * On a shop: `true` when it has a list of its own, which replaces the
8359
+ * merchant's; `false` when it uses the merchant's, which `rules` then
8360
+ * shows. Always `true` on the merchant's list.
8361
+ */
8362
+ own_rules: boolean;
8363
+ /** In priority order. */
8364
+ rules: InvoiceTaxRule[];
8365
+ modified_at?: string | null;
8366
+ modified_by?: string | null;
8367
+ }
8368
+ /** The buyer a dry run evaluates. */
8369
+ interface InvoiceTaxRuleBuyer {
8370
+ country?: string | null;
8371
+ region?: string | null;
8372
+ /** Makes the buyer a business and VAT registered. */
8373
+ vat_id?: string | null;
8374
+ /** Makes the buyer a business, not VAT registered. */
8375
+ tax_id?: string | null;
8376
+ }
8377
+ /** Evaluate the rules for a buyer and a category without writing anything. */
8378
+ interface InvoiceTaxRuleEvaluateRequest {
8379
+ /**
8380
+ * The shop whose rules to use (its own, or the merchant's it inherits).
8381
+ * Absent: the caller's shop, or the merchant's list for a merchant-level
8382
+ * caller.
8383
+ */
8384
+ profile_id?: string | null;
8385
+ buyer?: InvoiceTaxRuleBuyer;
8386
+ /** Absent: `standard`. */
8387
+ tax_category?: string | null;
8388
+ }
8389
+ /** What a line would be taxed at. */
8390
+ interface InvoiceTaxOutcome {
8391
+ kind: InvoiceTaxRuleKind;
8392
+ rate_bp?: number | null;
8393
+ /** Absent: the default label. */
8394
+ tax_label?: string | null;
8395
+ no_tax_reason?: MerchantInvoiceNoTaxRuleReason | null;
8396
+ note?: string | null;
8397
+ }
8398
+ /** The result of a tax-rule dry run. */
8399
+ interface InvoiceTaxRuleEvaluation {
8400
+ profile_id?: string | null;
8401
+ /** Whose list was evaluated: `shop` or `merchant`. */
8402
+ rules_source: InvoiceSettingSource;
8403
+ /** `business` or `consumer`. */
8404
+ buyer_type: InvoiceBuyerType;
8405
+ /** The buyer has a VAT id, so `vat_registered` rules match it. */
8406
+ vat_registered: boolean;
8407
+ /** The category evaluated. */
8408
+ tax_category: string;
8409
+ /** `rule`, or `default` when no rule matched. */
8410
+ source: MerchantInvoiceLineTaxSource;
8411
+ /** The first enabled rule that matched. */
8412
+ matched_rule?: InvoiceTaxRule | null;
8413
+ /** Its zero-based position in the list. */
8414
+ matched_position?: number | null;
8415
+ outcome: InvoiceTaxOutcome;
8416
+ }
7911
8417
  /**
7912
8418
  * One subscription's billing history, returned by
7913
8419
  * `GET /subscriptions/{id}/invoices`.
@@ -9288,7 +9794,15 @@ type ParentGroup = 'Operations' | 'Refunds'
9288
9794
  * restrictions and why a payment was refused, `Edit` overrides a shop's
9289
9795
  * policy, and `Write` changes the merchant-wide policy.
9290
9796
  */
9291
- | 'SellToRestrictions';
9797
+ | 'SellToRestrictions'
9798
+ /**
9799
+ * The invoices and credit notes a merchant issues to their buyers, and each
9800
+ * shop's invoice settings and tax rules. Its own area, so reading a payment
9801
+ * and reading the invoice issued for it are separately grantable. The
9802
+ * merchant-wide default settings and tax rules take the merchant-level
9803
+ * grant, which no shop role holds.
9804
+ */
9805
+ | 'Invoice';
9292
9806
  /**
9293
9807
  * What a role may do to the resources a {@link ParentGroup} names.
9294
9808
  *
@@ -13613,6 +14127,11 @@ interface MerchantAuditLogListParams {
13613
14127
  session_id?: string | null;
13614
14128
  action?: string | null;
13615
14129
  entity_type?: string | null;
14130
+ /**
14131
+ * One entity's history. For a setting (`entity_type: 'setting'`) this is
14132
+ * `<scope>:<scope id>:<authority>:<key>`.
14133
+ */
14134
+ entity_id?: string | null;
13616
14135
  /** Inclusive lower bound, ISO 8601 (`2026-03-12T00:00:00Z`). */
13617
14136
  start_date?: string | null;
13618
14137
  /** Inclusive upper bound, ISO 8601. */
@@ -13689,8 +14208,26 @@ interface MerchantAuditLogEntry {
13689
14208
  * payload can carry connector credentials, so it is never forwarded.
13690
14209
  */
13691
14210
  changed_fields: string[];
14211
+ /**
14212
+ * The value before and after, for a change to a setting that is not
14213
+ * secret. `null` for every other entry and for a secret setting.
14214
+ */
14215
+ setting_change: MerchantAuditSettingChange | null;
13692
14216
  created_at: string;
13693
14217
  }
14218
+ /** A setting's value before and after one change. */
14219
+ interface MerchantAuditSettingChange {
14220
+ /** The setting's key. */
14221
+ key: string;
14222
+ /** Whether a value was stored before the change. */
14223
+ was_set: boolean;
14224
+ /** Whether a value is stored after the change; `false` when it was cleared. */
14225
+ is_set: boolean;
14226
+ /** The stored value before the change; `null` when none was stored. */
14227
+ old_value: unknown;
14228
+ /** The stored value after the change; `null` when it was cleared. */
14229
+ new_value: unknown;
14230
+ }
13694
14231
  interface MerchantAuditLogListResponse {
13695
14232
  entries: MerchantAuditLogEntry[];
13696
14233
  total_count: number;
@@ -14730,6 +15267,79 @@ interface NativeShopConfigResponse {
14730
15267
  payment_connector_id?: string | null;
14731
15268
  test_mode: boolean;
14732
15269
  }
15270
+ /** Where a setting value is stored. */
15271
+ type SettingScope = 'platform' | 'merchant' | 'project' | 'shop';
15272
+ /**
15273
+ * Who owns a stored value: the platform operator, or the merchant itself. Some
15274
+ * settings keep both at one scope; a merchant can change only its own.
15275
+ */
15276
+ type SettingAuthority = 'operator' | 'merchant';
15277
+ /** The person or credential that last changed a value. */
15278
+ interface SettingActor {
15279
+ /**
15280
+ * The user id, `admin_api_key` for the platform API key, or
15281
+ * `platform_operator` when a merchant is shown a value DeloPay changed.
15282
+ */
15283
+ id: string;
15284
+ /** The user's email address, when the actor is a user who still exists. */
15285
+ name: string | null;
15286
+ }
15287
+ /** One setting at the requested scope. */
15288
+ interface SettingEntry {
15289
+ /** The setting's key, e.g. `replay_retention`. */
15290
+ key: string;
15291
+ /** The connector, for settings kept per connector at the platform scope. */
15292
+ qualifier: string | null;
15293
+ authority: SettingAuthority;
15294
+ /** The value in force at this scope: the stored value, or the default. */
15295
+ value: unknown;
15296
+ /** The value that applies when nothing is stored at this scope. */
15297
+ default_value: unknown;
15298
+ /** Whether a value is stored at this scope. */
15299
+ is_set: boolean;
15300
+ /**
15301
+ * A token that changes on every change and is never reused, even after the
15302
+ * value is cleared and set again; `0` when nothing is stored. Send it back as
15303
+ * `expected_revision`.
15304
+ */
15305
+ revision: number;
15306
+ /** When the stored value last changed. */
15307
+ updated_at: string | null;
15308
+ /** Who last changed the stored value. */
15309
+ updated_by: SettingActor | null;
15310
+ /** A secret is never returned: `value` is `null`, `is_set` says whether one is held. */
15311
+ secret: boolean;
15312
+ }
15313
+ /** Every setting at one scope. */
15314
+ interface SettingsResponse {
15315
+ scope: SettingScope;
15316
+ /** `platform`, the merchant id, the project id or the shop's profile id. */
15317
+ scope_id: string;
15318
+ settings: SettingEntry[];
15319
+ }
15320
+ /** One change in an update request. */
15321
+ interface SettingChangeRequest {
15322
+ key: string;
15323
+ /** Required for settings kept per connector at the platform scope. */
15324
+ qualifier?: string | null;
15325
+ /** The new value; JSON `null` is a value for settings that give it one. */
15326
+ value?: unknown;
15327
+ /** Remove the stored value so the default, or the next scope out, applies. */
15328
+ clear?: boolean;
15329
+ /**
15330
+ * The revision last read. The whole request is refused (`412`) when any
15331
+ * value moved since; omit it to write unconditionally.
15332
+ */
15333
+ expected_revision?: number | null;
15334
+ }
15335
+ /** Change several settings at one scope: all are applied or none is. */
15336
+ interface UpdateSettingsRequest {
15337
+ changes: SettingChangeRequest[];
15338
+ }
15339
+ /** Selects a project's settings instead of the merchant's. */
15340
+ interface MerchantSettingsQuery {
15341
+ project_id?: string | null;
15342
+ }
14733
15343
 
14734
15344
  /** Create and manage API keys for a merchant account. */
14735
15345
  declare class ApiKeys {
@@ -14773,6 +15383,24 @@ declare class ApiKeys {
14773
15383
  * @returns Revocation confirmation.
14774
15384
  */
14775
15385
  revoke(merchantId: string, keyId: string): Promise<ApiKeyRevokeResponse>;
15386
+ /**
15387
+ * Replace an API key's secret. The key keeps its id, name, scope, shop,
15388
+ * origin rule, rate cap and expiry. The old secret stops working
15389
+ * immediately, with no grace period, so deploy the new one as part of the
15390
+ * same change. Refused with `IR_16` (HTTP 400) while the deployment runs
15391
+ * partial authentication; create a new key and revoke the old one instead.
15392
+ * `POST /api-keys/{merchantId}/{keyId}/rotate`
15393
+ *
15394
+ * @param merchantId - The merchant account ID.
15395
+ * @param keyId - The API key ID to rotate.
15396
+ * @returns The key with its new plaintext secret (shown once only).
15397
+ *
15398
+ * @example
15399
+ * ```typescript
15400
+ * const { api_key } = await delopay.apiKeys.rotate('merch_123', 'key_abc');
15401
+ * ```
15402
+ */
15403
+ rotate(merchantId: string, keyId: string): Promise<ApiKeyCreateResponse>;
14776
15404
  /**
14777
15405
  * List all API keys for a merchant.
14778
15406
  *
@@ -14835,6 +15463,17 @@ declare class ApiKeys {
14835
15463
  * @returns Revocation confirmation.
14836
15464
  */
14837
15465
  revokeByProfile(merchantId: string, keyId: string): Promise<ApiKeyRevokeResponse>;
15466
+ /**
15467
+ * Replace the secret of an API key pinned to the caller's shop. The key
15468
+ * keeps its id, name, scope, origin rule, rate cap and expiry. The old
15469
+ * secret stops working immediately, with no grace period.
15470
+ * `POST /account/{merchantId}/profile/api-keys/{keyId}/rotate`
15471
+ *
15472
+ * @param merchantId - The merchant account ID.
15473
+ * @param keyId - The API key ID to rotate.
15474
+ * @returns The key with its new plaintext secret (shown once only).
15475
+ */
15476
+ rotateByProfile(merchantId: string, keyId: string): Promise<ApiKeyCreateResponse>;
14838
15477
  }
14839
15478
 
14840
15479
  declare class Authentication {
@@ -17662,7 +18301,9 @@ declare class Analytics {
17662
18301
  * merchant, and to your single shop for profile-scoped users — so pass only
17663
18302
  * `project_id` / `shop_id` to drill and the window / `sections` fields.
17664
18303
  * Returns one drill level: the scope's daily series + previous window,
17665
- * processor mix and direct children. `GET /analytics/scope`
18304
+ * processor mix and direct children. Accepts a dashboard session or an API
18305
+ * key, including a `statistics_read` key; a shop-bound key reads only its
18306
+ * shop. `GET /analytics/scope`
17666
18307
  */
17667
18308
  scope(params?: AnalyticsScopeRequest): Promise<AnalyticsScopeResponse>;
17668
18309
  /**
@@ -17671,8 +18312,8 @@ declare class Analytics {
17671
18312
  * channel mix, time-to-pay), pinned server-side to your own merchant and
17672
18313
  * drillable via `project_id` / `shop_id` exactly like `scope`. Gated on the
17673
18314
  * client-context optimisation-use switch: when it is off the server answers
17674
- * 200 with `enabled: false` and a caveat naming the switch.
17675
- * `GET /analytics/devices`
18315
+ * 200 with `enabled: false` and a caveat naming the switch. Accepts an API
18316
+ * key like `scope`. `GET /analytics/devices`
17676
18317
  */
17677
18318
  devices(params?: ClientAnalyticsRequest): Promise<DevicesAnalyticsResponse>;
17678
18319
  /**
@@ -17680,7 +18321,7 @@ declare class Analytics {
17680
18321
  * country totals, city bubbles (IP mode), buyer languages, buyer-local
17681
18322
  * purchase hours and the IP-vs-billing mismatch share. `mode` selects the
17682
18323
  * location claim (`ip` default, `billing`); the two are never coalesced.
17683
- * Same drill, window and gating contract as `devices`.
18324
+ * Same drill, window, gating and API-key contract as `devices`.
17684
18325
  * `GET /analytics/geo`
17685
18326
  */
17686
18327
  geo(params?: ClientAnalyticsRequest): Promise<GeoAnalyticsResponse>;
@@ -17726,7 +18367,8 @@ declare class Analytics {
17726
18367
  * Half the figures are **stocks** — a snapshot at the window's end rather
17727
18368
  * than a sum over it — so `est_monthly_volume_usd` and `active` can match
17728
18369
  * across a 7-day and a 30-day window while `billed_volume_usd` does not.
17729
- * Day granularity only. `GET /analytics/subscriptions`
18370
+ * Day granularity only. Accepts an API key like `scope`.
18371
+ * `GET /analytics/subscriptions`
17730
18372
  */
17731
18373
  subscriptions(params?: SubscriptionAnalyticsRequest): Promise<SubscriptionAnalyticsResponse>;
17732
18374
  /**
@@ -18491,6 +19133,255 @@ declare class Products {
18491
19133
  providerArchive(productId: string, request: ProviderArchiveRequest, profileId: string, options?: RequestExtras): Promise<ProviderArchiveOutcome>;
18492
19134
  }
18493
19135
 
19136
+ /**
19137
+ * The invoices and credit notes a merchant issues to their buyers.
19138
+ *
19139
+ * DeloPay renders and stores each document **in the merchant's name**. The
19140
+ * seller block comes from the invoice settings (see `invoiceSettings`) and
19141
+ * every amount from the source — a paid payment or a paid subscription cycle —
19142
+ * so no method here takes a seller, an amount or a quantity, except the
19143
+ * optional partial amounts of a credit note, which the API caps at what the
19144
+ * line has left.
19145
+ *
19146
+ * A document is `draft` → `issued` → `voided`. A draft is unnumbered and
19147
+ * editable, and deleting it leaves no gap; `finalize` numbers it, freezes it
19148
+ * and stores its PDF; an issued document is corrected with a credit note, or
19149
+ * voided if it never reached the buyer.
19150
+ *
19151
+ * Scope comes from the caller: a shop-scoped key or dashboard session sees
19152
+ * only its shop, and a merchant-level one narrows with `profile_id` on the
19153
+ * list filters. Reading needs the `Invoice` area's read grant; every change
19154
+ * needs its write grant.
19155
+ *
19156
+ * Refusals: `IR_16` (400) for a document in the wrong state or a source that
19157
+ * may not be invoiced, `IR_06` (422) for a finalise the document cannot pass,
19158
+ * and `DE_13` (409) for a second live invoice of one source. The first two
19159
+ * carry `error.data` as a `MerchantInvoiceRefusal`; the last as a
19160
+ * `MerchantInvoiceConflict`.
19161
+ */
19162
+ declare class Invoices {
19163
+ private readonly request;
19164
+ constructor(request: RequestFn);
19165
+ /**
19166
+ * Create a draft from a paid payment or subscription cycle, and with
19167
+ * `finalize: true` issue it in the same call.
19168
+ * `POST /invoices`
19169
+ *
19170
+ * Send an `Idempotency-Key` header in `options.headers` to make this safe to
19171
+ * retry: the same key and body return the document it created, in its
19172
+ * current state, even after a lost response, and a different body under the
19173
+ * same key answers 409. A retry of a `finalize: true` request whose draft
19174
+ * was committed but not finalised finalises that draft.
19175
+ */
19176
+ create(params: CreateInvoiceRequest, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19177
+ /**
19178
+ * One page of documents, newest first. List rows carry no `lines` unless
19179
+ * `include_lines` is set, and never a `refund` summary.
19180
+ * `GET /invoices`
19181
+ */
19182
+ list(params?: InvoiceListQuery, options?: RequestExtras): Promise<InvoiceList>;
19183
+ /**
19184
+ * One page of a payment's invoice and its credit notes, lines included. The
19185
+ * page also says whether a merchant of record sold the payment
19186
+ * (`merchant_of_record`, which `create` then refuses) and what was refunded
19187
+ * (`refunded_amount`, and `refund` on each invoice). Needs the payment read
19188
+ * grant as well.
19189
+ * `GET /payments/{payment_id}/invoices`
19190
+ */
19191
+ listForPayment(paymentId: string, params?: InvoicePageQuery, options?: RequestExtras): Promise<InvoiceList>;
19192
+ /**
19193
+ * The documents with a line of one product; a bundle's components count,
19194
+ * flagged `included`. Takes the list filters; the product is the path's.
19195
+ * `GET /products/{product_id}/invoices`
19196
+ */
19197
+ listForProduct(productId: string, params?: Omit<InvoiceListQuery, 'product_id'>, options?: RequestExtras): Promise<InvoiceList>;
19198
+ /**
19199
+ * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
19200
+ * list's filters. Amounts are decimal in each document's currency; drafts
19201
+ * have an empty number.
19202
+ * `GET /invoices/export`
19203
+ */
19204
+ export(params: InvoiceExportParams, options?: RequestExtras): Promise<Blob>;
19205
+ /**
19206
+ * One document, lines included.
19207
+ * `GET /invoices/{invoice_id}`
19208
+ */
19209
+ retrieve(invoiceId: string, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19210
+ /**
19211
+ * Edit a draft: its words, buyer, dates and tax treatment, never what was
19212
+ * paid. Absent fields stay; `null` clears a clearable one. A document that
19213
+ * is not a draft is refused (`not_a_draft`).
19214
+ * `PATCH /invoices/{invoice_id}`
19215
+ */
19216
+ update(invoiceId: string, params: UpdateInvoiceRequest, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19217
+ /**
19218
+ * Delete a draft. A draft has no number, so nothing leaves a gap; an issued
19219
+ * document is refused (`not_a_draft`) — void or credit it instead.
19220
+ * `DELETE /invoices/{invoice_id}`
19221
+ */
19222
+ delete(invoiceId: string, options?: RequestExtras): Promise<void>;
19223
+ /**
19224
+ * Issue a draft: allocate its number, freeze it and store its PDF. It is
19225
+ * immutable afterwards. A document that would be legally incomplete is
19226
+ * refused with `IR_06` and a reason (`seller_tax_id_missing`,
19227
+ * `line_tax_unexplained`, …) that says what to fix and where.
19228
+ * `POST /invoices/{invoice_id}/finalize`
19229
+ */
19230
+ finalize(invoiceId: string, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19231
+ /**
19232
+ * Withdraw an issued document with a reason; its number stays used. For a
19233
+ * document that never reached the buyer — one they hold is corrected with
19234
+ * `createCreditNote`. An invoice with live credit notes is refused
19235
+ * (`has_credit_notes`).
19236
+ * `POST /invoices/{invoice_id}/void`
19237
+ */
19238
+ void(invoiceId: string, params: VoidInvoiceRequest, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19239
+ /**
19240
+ * Correct an issued invoice with a credit note: all of what it has left, or
19241
+ * the named lines. Returns the **credit note**, not the invoice.
19242
+ * `POST /invoices/{invoice_id}/credit-note`
19243
+ */
19244
+ createCreditNote(invoiceId: string, params: CreateCreditNoteRequest, options?: RequestExtras): Promise<MerchantInvoiceDocument>;
19245
+ /**
19246
+ * The document as a PDF. An issued document is its stored copy; a draft
19247
+ * renders live under a DRAFT banner, and a voided one under a VOIDED banner.
19248
+ * `GET /invoices/{invoice_id}/pdf`
19249
+ */
19250
+ downloadPdf(invoiceId: string, options?: RequestExtras): Promise<Blob>;
19251
+ /**
19252
+ * A public link to an issued document's stored PDF, valid for 7 days.
19253
+ * **Anyone holding the link can open the document**, without logging in. A
19254
+ * document that is not issued is refused (`not_issued`).
19255
+ * `POST /invoices/{invoice_id}/share-link`
19256
+ */
19257
+ createShareLink(invoiceId: string, options?: RequestExtras): Promise<InvoiceShareLink>;
19258
+ }
19259
+
19260
+ /**
19261
+ * How the merchant's invoices look and are taxed: the merchant default, and
19262
+ * each shop's override of it.
19263
+ *
19264
+ * Every setting resolves shop → merchant default → built-in fallback, and
19265
+ * `retrieveEffective` shows the result for one shop with where each value came
19266
+ * from. The same two levels hold the tax rules: a shop either inherits the
19267
+ * merchant's list or has one of its own that replaces it.
19268
+ *
19269
+ * **The merchant-level methods need a merchant-level grant** (no shop role
19270
+ * holds one), so a shop user may style its own shop and give it tax rules of
19271
+ * its own but never change what every shop inherits. The `…ForShop` methods
19272
+ * need the `Invoice` area's grant on that shop.
19273
+ *
19274
+ * Exported as `InvoiceSettingsResource` so the class never shadows the
19275
+ * `InvoiceSettings` data type of the same package.
19276
+ *
19277
+ * An update **replaces every field but the logo**: read, change, and send the
19278
+ * whole object back. A field left out is cleared — on a shop that means
19279
+ * "inherit", on the merchant default "use the built-in fallback". The logo has
19280
+ * its own methods.
19281
+ */
19282
+ declare class InvoiceSettingsResource {
19283
+ private readonly request;
19284
+ constructor(request: RequestFn);
19285
+ /**
19286
+ * The merchant default.
19287
+ * `GET /invoice-settings`
19288
+ */
19289
+ retrieve(options?: RequestExtras): Promise<InvoiceSettings>;
19290
+ /**
19291
+ * Replace the merchant default (every field but the logo).
19292
+ * `PUT /invoice-settings`
19293
+ */
19294
+ update(settings: InvoiceSettings, options?: RequestExtras): Promise<InvoiceSettings>;
19295
+ /**
19296
+ * One shop's override. A `null` field inherits the merchant default.
19297
+ * `GET /invoice-settings/profiles/{profile_id}`
19298
+ */
19299
+ retrieveForShop(profileId: string, options?: RequestExtras): Promise<InvoiceSettings>;
19300
+ /**
19301
+ * Replace one shop's override (every field but the logo).
19302
+ * `PUT /invoice-settings/profiles/{profile_id}`
19303
+ */
19304
+ updateForShop(profileId: string, settings: InvoiceSettings, options?: RequestExtras): Promise<InvoiceSettings>;
19305
+ /**
19306
+ * The settings a shop's next document is finalised with, and where each
19307
+ * value came from (`shop`, `merchant` or `default`).
19308
+ * `GET /invoice-settings/profiles/{profile_id}/effective`
19309
+ */
19310
+ retrieveEffective(profileId: string, options?: RequestExtras): Promise<EffectiveInvoiceSettings>;
19311
+ /**
19312
+ * A sample invoice PDF rendered from the effective settings with unsaved
19313
+ * values laid over them, so a form can show what saving would produce.
19314
+ * Writes nothing.
19315
+ * `POST /invoice-settings/preview`
19316
+ */
19317
+ preview(params: InvoicePreviewRequest, options?: RequestExtras): Promise<Blob>;
19318
+ /**
19319
+ * The merchant default's logo image.
19320
+ * `GET /invoice-settings/logo`
19321
+ */
19322
+ retrieveLogo(options?: RequestExtras): Promise<Blob>;
19323
+ /**
19324
+ * Set the merchant default's logo: PNG or JPEG, at most 1 MB, as base64.
19325
+ * `PUT /invoice-settings/logo`
19326
+ */
19327
+ updateLogo(params: InvoiceLogoRequest, options?: RequestExtras): Promise<InvoiceSettings>;
19328
+ /**
19329
+ * Remove the merchant default's logo.
19330
+ * `DELETE /invoice-settings/logo`
19331
+ */
19332
+ deleteLogo(options?: RequestExtras): Promise<InvoiceSettings>;
19333
+ /**
19334
+ * One shop's own logo image.
19335
+ * `GET /invoice-settings/profiles/{profile_id}/logo`
19336
+ */
19337
+ retrieveLogoForShop(profileId: string, options?: RequestExtras): Promise<Blob>;
19338
+ /**
19339
+ * Set one shop's own logo: PNG or JPEG, at most 1 MB, as base64.
19340
+ * `PUT /invoice-settings/profiles/{profile_id}/logo`
19341
+ */
19342
+ updateLogoForShop(profileId: string, params: InvoiceLogoRequest, options?: RequestExtras): Promise<InvoiceSettings>;
19343
+ /**
19344
+ * Remove one shop's own logo; the shop then inherits the merchant default's.
19345
+ * `DELETE /invoice-settings/profiles/{profile_id}/logo`
19346
+ */
19347
+ deleteLogoForShop(profileId: string, options?: RequestExtras): Promise<InvoiceSettings>;
19348
+ /**
19349
+ * The merchant's tax rules, which every shop without a list of its own uses.
19350
+ * `GET /invoice-settings/tax-rules`
19351
+ */
19352
+ retrieveTaxRules(options?: RequestExtras): Promise<InvoiceTaxRules>;
19353
+ /**
19354
+ * Replace the merchant's whole rule list; the order is the priority.
19355
+ * `PUT /invoice-settings/tax-rules`
19356
+ */
19357
+ updateTaxRules(params: InvoiceTaxRulesRequest, options?: RequestExtras): Promise<InvoiceTaxRules>;
19358
+ /**
19359
+ * The rules one shop uses: its own list, or the merchant's it inherits, as
19360
+ * `own_rules` says.
19361
+ * `GET /invoice-settings/profiles/{profile_id}/tax-rules`
19362
+ */
19363
+ retrieveTaxRulesForShop(profileId: string, options?: RequestExtras): Promise<InvoiceTaxRules>;
19364
+ /**
19365
+ * Give one shop a list of its own, replacing the merchant's for that shop —
19366
+ * even when empty, which leaves every line of the shop to the settings'
19367
+ * default rate.
19368
+ * `PUT /invoice-settings/profiles/{profile_id}/tax-rules`
19369
+ */
19370
+ updateTaxRulesForShop(profileId: string, params: InvoiceTaxRulesRequest, options?: RequestExtras): Promise<InvoiceTaxRules>;
19371
+ /**
19372
+ * Drop one shop's own list, so it inherits the merchant's again. Returns
19373
+ * the list the shop now uses.
19374
+ * `DELETE /invoice-settings/profiles/{profile_id}/tax-rules`
19375
+ */
19376
+ deleteTaxRulesForShop(profileId: string, options?: RequestExtras): Promise<InvoiceTaxRules>;
19377
+ /**
19378
+ * Which saved rule a buyer and a product tax category would meet, and what
19379
+ * the line would be taxed at. Writes nothing.
19380
+ * `POST /invoice-settings/tax-rules/evaluate`
19381
+ */
19382
+ evaluateTaxRules(params: InvoiceTaxRuleEvaluateRequest, options?: RequestExtras): Promise<InvoiceTaxRuleEvaluation>;
19383
+ }
19384
+
18494
19385
  /**
18495
19386
  * A merchant's own processor cost schedules: what the processor the merchant
18496
19387
  * brought itself charges it, per connector and — as narrowly as the rate is
@@ -19345,6 +20236,36 @@ declare class ReplayRetention {
19345
20236
  clearShop(profileId: string): Promise<void>;
19346
20237
  }
19347
20238
 
20239
+ declare class Settings {
20240
+ private readonly request;
20241
+ constructor(request: RequestFn);
20242
+ /**
20243
+ * The merchant's settings, or one project's.
20244
+ *
20245
+ * `GET /settings/merchant`
20246
+ */
20247
+ retrieveMerchant(query?: MerchantSettingsQuery): Promise<SettingsResponse>;
20248
+ /**
20249
+ * Change the merchant's own settings, or one project's. All changes are
20250
+ * applied or none is.
20251
+ *
20252
+ * `PATCH /settings/merchant`
20253
+ */
20254
+ updateMerchant(params: UpdateSettingsRequest, query?: MerchantSettingsQuery): Promise<SettingsResponse>;
20255
+ /**
20256
+ * One shop's settings.
20257
+ *
20258
+ * `GET /settings/shops/{profileId}`
20259
+ */
20260
+ retrieveShop(profileId: string): Promise<SettingsResponse>;
20261
+ /**
20262
+ * Change one shop's own settings.
20263
+ *
20264
+ * `PATCH /settings/shops/{profileId}`
20265
+ */
20266
+ updateShop(profileId: string, params: UpdateSettingsRequest): Promise<SettingsResponse>;
20267
+ }
20268
+
19348
20269
  /**
19349
20270
  * Stored shop risk indexes, per connector.
19350
20271
  *
@@ -19567,6 +20488,8 @@ declare class Delopay {
19567
20488
  readonly operationLimits: OperationLimits;
19568
20489
  /** How long checkout recordings are kept, per merchant / project / shop. */
19569
20490
  readonly replayRetention: ReplayRetention;
20491
+ /** Every setting of the merchant, its projects and its shops, audited per change. */
20492
+ readonly settings: Settings;
19570
20493
  readonly risk: Risk;
19571
20494
  readonly subscriptions: Subscriptions;
19572
20495
  /** Buyer portal grant access. Construct a separate client with the portal token. */
@@ -19582,6 +20505,10 @@ declare class Delopay {
19582
20505
  readonly externalRecords: ExternalRecords;
19583
20506
  /** A shop's product catalogue: what it sells, and at which prices. */
19584
20507
  readonly products: Products;
20508
+ /** The invoices and credit notes the merchant issues to its buyers. */
20509
+ readonly invoices: Invoices;
20510
+ /** How those invoices look and are taxed: the merchant default and each shop's override. */
20511
+ readonly invoiceSettings: InvoiceSettingsResource;
19585
20512
  /** What the merchant's own processor charges it — see {@link ProcessorCosts}. */
19586
20513
  readonly processorCosts: ProcessorCosts;
19587
20514
  readonly checkoutBrowserInfo: CheckoutBrowserInfo;
@@ -21911,4 +22838,4 @@ declare const decodeNativePanes: typeof decodePanes;
21911
22838
  /** @deprecated Renamed to {@link encodePanes}. Removed in 0.112.0. */
21912
22839
  declare const encodeNativePanes: typeof encodePanes;
21913
22840
 
21914
- 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 AcceptanceType, type AccountReceivablesHandling, type AddUserRequest, type AddUserResponse, type AddonChoiceState, 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 BillingAccountSummary, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingReadinessResponse, 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, type BuyerInvoiceLink, type BuyerInvoiceLinkRequest, type BuyerInvoiceListQuery, type BuyerPortalInvoice, type BuyerPortalInvoiceLine, type BuyerPortalInvoicePage, type BuyerPortalLinkPage, type BuyerPortalLinkSummary, type BuyerPortalPageQuery, type BuyerPortalPlan, type BuyerPortalPlanChangeRequest, type BuyerPortalPlanPage, type BuyerPortalPurchase, type BuyerPortalPurchaseLine, type BuyerPortalPurchasePage, type BuyerPortalSession, type BuyerPortalSubscription, type BuyerPortalSubscriptionAction, type BuyerPortalSubscriptionActionRequest, type BuyerPortalSubscriptionCapabilities, type BuyerPortalSubscriptionPage, 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 CancelOption, 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 CatalogSubscriptionPrice, type ChangeMemberScopeRequest, type ChangeMemberScopeResponse, type ChangePasswordRequest, type ChargesHandling, 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 CheckoutExpressTextMode, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodCurrencyLimit, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodProviderLimits, 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 ConnectorCapDrawSource, type ConnectorCapFeature, 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 CreateAndConfirmSubscriptionFields, type CreateAndConfirmSubscriptionRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type CreditOption, type CsvExportOptions, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerAcceptance, 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 DashboardOAuthApp, type DashboardOAuthCompleteRequest, type DashboardOAuthDisconnectRequest, type DashboardOAuthLinkStartRequest, type DashboardOAuthProvider, type DashboardOAuthProvidersResponse, type DashboardOAuthStartRequest, type DashboardOAuthStartResponse, 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 EffectiveRiskSettings, 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 GetUserRoleDetailsResponse, 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 MemberTwoFactorStatus, 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 MerchantInvoiceCreditNoteSummary, type MerchantInvoiceDocument, type MerchantInvoiceDocumentStatus, type MerchantInvoiceKind, type MerchantInvoiceLine, type MerchantInvoiceLineRole, type MerchantInvoiceLineTaxSource, type MerchantInvoiceNoTaxReason, type MerchantInvoiceNoTaxRuleReason, type MerchantInvoiceParty, type MerchantInvoiceProcessorTax, type MerchantInvoiceRefundSummary, type MerchantInvoiceSourceKind, type MerchantInvoiceTaxReporting, type MerchantInvoiceTaxWarning, type MerchantInvoiceWebhook, 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 NativeCreateSubscriptionRequest, type NativeDunningConfigRequest, type NativeDunningConfigResponse, type NativeElementPosition, type NativeEnrollmentAbandonResponse, type NativeEnrollmentAcceptance, type NativeEnrollmentPaymentDetails, type NativeEnrollmentResponse, type NativeEnrollmentStatusQuery, 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 NativeShopConfigRequest, type NativeShopConfigResponse, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, type OnlineMandate, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitUnlimitedReason, type OperationLimitUsage, type OperationLimitUsageParams, 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 PauseOption, 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 PaymentProductLineRequest, type PaymentProductLineSummary, type PaymentProductLines, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentType, 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 PostCaptureVoidResponse, type PostCaptureVoidStatus, type PriceBillingReadiness, type PriceBillingState, 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 ProcessorSubscriptionPrice, 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 ProductsPaymentCreateRequest, 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 ProviderEnvironment, type ProviderPriceTerms, type ProviderPushAction, type ProviderPushStep, type ProviderSyncDifference, type ProviderSyncField, type ProviderSyncStatus, type ProviderUnavailableReason, 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 RefundableCreditsHandling, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type ReplaceProcessorCostScheduleRequest, type ReplayExpiry, type ReplayIngestBase, type ReplayIngestParams, 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 ResetTeamMemberPasswordRequest, type ResetTeamMemberPasswordResponse, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeOption, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RiskBands, type RiskComponent, type RiskDecidingWindow, type RiskReadingStatus, type RiskSettingsSnapshot, type RiskSettingsSource, type RiskSettingsSources, type RiskUnmeasured, type RiskWindow, type RiskWindowBandSources, type RiskWindowBands, type RiskWindowReading, type RiskWindowReadings, 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 SubscriptionActionRefusal, type SubscriptionAmountSource, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionCheckoutDetails, type SubscriptionCheckoutResponse, type SubscriptionChild, type SubscriptionDisputeWebhook, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionImportApplyRequest, type SubscriptionImportApplyResponse, type SubscriptionImportCapabilities, type SubscriptionImportClassification, type SubscriptionImportCounts, type SubscriptionImportItem, type SubscriptionImportOutcome, type SubscriptionImportPreviewRequest, type SubscriptionImportPreviewResponse, type SubscriptionImportReason, type SubscriptionImportResult, type SubscriptionImportSelection, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionItemsPage, type SubscriptionLifecycleEventType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionPriceSource, type SubscriptionProcessors, type SubscriptionProviderRead, type SubscriptionResponse, type SubscriptionReturnStatusResponse, type SubscriptionStatus, type SubscriptionSyncOutcome, type SubscriptionSyncRequest, type SubscriptionSyncResponse, type SubscriptionSyncResult, 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 TeamMemberDetails, type TeamMemberRefusal, type TeamMemberStatus, 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 UnbilledChargesOption, type UnpaidInvoicesHandling, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSubscriptionFields, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UpsertSubscriptionChangeLimitRuleRequest, 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 };
22841
+ 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 AcceptanceType, type AccountReceivablesHandling, type AddUserRequest, type AddUserResponse, type AddonChoiceState, 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 ApiKeyScope, 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 BillingAccountSummary, type BillingCompleteSetupRequest, type BillingProfileResponse, type BillingReadinessResponse, 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, type BuyerInvoiceLink, type BuyerInvoiceLinkRequest, type BuyerInvoiceListQuery, type BuyerPortalInvoice, type BuyerPortalInvoiceLine, type BuyerPortalInvoicePage, type BuyerPortalLinkPage, type BuyerPortalLinkSummary, type BuyerPortalPageQuery, type BuyerPortalPlan, type BuyerPortalPlanChangeRequest, type BuyerPortalPlanPage, type BuyerPortalPurchase, type BuyerPortalPurchaseLine, type BuyerPortalPurchasePage, type BuyerPortalSession, type BuyerPortalSubscription, type BuyerPortalSubscriptionAction, type BuyerPortalSubscriptionActionRequest, type BuyerPortalSubscriptionCapabilities, type BuyerPortalSubscriptionPage, 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 CancelOption, 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 CatalogSubscriptionPrice, type ChangeMemberScopeRequest, type ChangeMemberScopeResponse, type ChangePasswordRequest, type ChargesHandling, 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 CheckoutExpressTextMode, type CheckoutHeadingAlign, type CheckoutHeadingLine, type CheckoutHeadingTextCase, type CheckoutHeadingTextSize, type CheckoutHeadingTextTone, type CheckoutHeadingTextWeight, type CheckoutLocale, type CheckoutMethodAccount, type CheckoutMethodCoverage, type CheckoutMethodCurrencyLimit, type CheckoutMethodHiddenReason, type CheckoutMethodItem, type CheckoutMethodKind, type CheckoutMethodLayout, type CheckoutMethodLayoutSource, type CheckoutMethodOpenTarget, type CheckoutMethodProviderLimits, 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 ConnectorCapDrawSource, type ConnectorCapFeature, 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 CreateAndConfirmSubscriptionFields, type CreateAndConfirmSubscriptionRequest, type CreateCreditNoteRequest, type CreateInvoiceRequest, type CreateMerchantCostRuleRequest, type CreateProcessorCostScheduleRequest, type CreateSubscriptionPaymentDetails, type CreateSubscriptionRequest, type CreditNoteLineRequest, type CreditOption, type CsvExportOptions, type Currency, type CurrencyRevenue, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, type CustomerAcceptance, 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 DashboardOAuthApp, type DashboardOAuthCompleteRequest, type DashboardOAuthDisconnectRequest, type DashboardOAuthLinkStartRequest, type DashboardOAuthProvider, type DashboardOAuthProvidersResponse, type DashboardOAuthStartRequest, type DashboardOAuthStartResponse, 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 EffectiveInvoiceSettings, type EffectiveReplayRetentionResponse, type EffectiveRiskSettings, 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 GetUserRoleDetailsResponse, 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 InvoiceAutoIssue, type InvoiceBuyerType, type InvoiceExportParams, type InvoiceList, type InvoiceListQuery, type InvoiceLocale, type InvoiceLocaleMode, type InvoiceLogoRequest, type InvoiceOutcomes, type InvoicePageQuery, type InvoicePreviewRequest, type InvoiceProcessorTaxMode, type InvoiceSettingSource, type InvoiceSettings, InvoiceSettingsResource, type InvoiceShareLink, type InvoiceSourceRef, type InvoiceStatus, type InvoiceTaxMode, type InvoiceTaxOutcome, type InvoiceTaxRule, type InvoiceTaxRuleBuyer, type InvoiceTaxRuleEvaluateRequest, type InvoiceTaxRuleEvaluation, type InvoiceTaxRuleKind, type InvoiceTaxRules, type InvoiceTaxRulesRequest, Invoices, 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 MemberTwoFactorStatus, 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 MerchantAuditSettingChange, type MerchantCheckoutBrowserInfoResponse, type MerchantConnectorInfo, type MerchantConnectorWebhookDetailsUpdate, type MerchantCostRuleCategory, type MerchantCostRuleDeleteResponse, type MerchantCostRuleResponse, type MerchantInvoiceBuyerInput, type MerchantInvoiceConflict, type MerchantInvoiceCreditNoteSummary, type MerchantInvoiceDocument, type MerchantInvoiceDocumentStatus, type MerchantInvoiceKind, type MerchantInvoiceLine, type MerchantInvoiceLineRole, type MerchantInvoiceLineTaxSource, type MerchantInvoiceNoTaxReason, type MerchantInvoiceNoTaxRuleReason, type MerchantInvoiceParty, type MerchantInvoiceProcessorTax, type MerchantInvoiceRefundSummary, type MerchantInvoiceRefusal, type MerchantInvoiceRefusalReason, type MerchantInvoiceSourceKind, type MerchantInvoiceTaxReporting, type MerchantInvoiceTaxWarning, type MerchantInvoiceWebhook, type MerchantOverviewResponse, type MerchantOverviewStat, type MerchantRisk, type MerchantRoutingAlgorithm, type MerchantSettingsQuery, 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 NativeCreateSubscriptionRequest, type NativeDunningConfigRequest, type NativeDunningConfigResponse, type NativeElementPosition, type NativeEnrollmentAbandonResponse, type NativeEnrollmentAcceptance, type NativeEnrollmentPaymentDetails, type NativeEnrollmentResponse, type NativeEnrollmentStatusQuery, 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 NativeShopConfigRequest, type NativeShopConfigResponse, type NextActionCall, type NextActionDataType, type NomupayCardAuthorizationRequest, type NomupayCardAuthorizationResponse, type NomupayFormStyle, type NomupayOppwaApplePay, type NomupayOppwaCheckoutData, type NomupayOppwaGooglePay, type NonPillRadius, type NoticeIcon, type NoticeSection, type OnlineMandate, type OperationLimitOnExceeded, type OperationLimitRule, type OperationLimitRuleDeleteResponse, type OperationLimitRuleListParams, type OperationLimitScope, type OperationLimitSettings, type OperationLimitUnlimitedReason, type OperationLimitUsage, type OperationLimitUsageParams, 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 PauseOption, 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 PaymentProductLineRequest, type PaymentProductLineSummary, type PaymentProductLines, type PaymentResponse, type PaymentRetrieveOptions, type PaymentRoutingDecisionsResponse, type PaymentStatusHistoryEntityType, type PaymentStatusHistoryEvent, type PaymentStatusHistoryResponse, type PaymentType, 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 PostCaptureVoidResponse, type PostCaptureVoidStatus, type PriceBillingReadiness, type PriceBillingState, 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 ProcessorSubscriptionPrice, 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 ProductsPaymentCreateRequest, 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 ProviderEnvironment, type ProviderPriceTerms, type ProviderPushAction, type ProviderPushStep, type ProviderSyncDifference, type ProviderSyncField, type ProviderSyncStatus, type ProviderUnavailableReason, 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 RefundableCreditsHandling, type RegionCountriesResponse, type RegionCreateRequest, type RegionResponse, type RegionSetCountriesRequest, type RegionUpdateRequest, Regions, type RelayRequest, type RelayResponse, type RelayStatus, type RelayType, type ReplaceProcessorCostScheduleRequest, type ReplayExpiry, type ReplayIngestBase, type ReplayIngestParams, 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 ResetTeamMemberPasswordRequest, type ResetTeamMemberPasswordResponse, type ResponsePaymentMethodTypes, type ResponsePaymentMethodsEnabled, type ResumeOption, type ResumeSubscriptionRequest, type ResumeSubscriptionResponse, type RevenueBasis, Risk, type RiskBands, type RiskComponent, type RiskDecidingWindow, type RiskReadingStatus, type RiskSettingsSnapshot, type RiskSettingsSource, type RiskSettingsSources, type RiskUnmeasured, type RiskWindow, type RiskWindowBandSources, type RiskWindowBands, type RiskWindowReading, type RiskWindowReadings, 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, type SettingActor, type SettingAuthority, type SettingChangeRequest, type SettingEntry, type SettingScope, Settings, type SettingsResponse, 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 SubscriptionActionRefusal, type SubscriptionAmountSource, type SubscriptionAnalyticsRequest, type SubscriptionAnalyticsResponse, type SubscriptionBillingProcessorResponse, type SubscriptionBucket, type SubscriptionCaveat, type SubscriptionCheckoutDetails, type SubscriptionCheckoutResponse, type SubscriptionChild, type SubscriptionDisputeWebhook, type SubscriptionDrillBase, type SubscriptionDrillRequest, type SubscriptionDrillSortKey, type SubscriptionDrillTarget, type SubscriptionEstimateParams, type SubscriptionEstimateResponse, type SubscriptionExportRecord, type SubscriptionFilters, type SubscriptionImportApplyRequest, type SubscriptionImportApplyResponse, type SubscriptionImportCapabilities, type SubscriptionImportClassification, type SubscriptionImportCounts, type SubscriptionImportItem, type SubscriptionImportOutcome, type SubscriptionImportPreviewRequest, type SubscriptionImportPreviewResponse, type SubscriptionImportReason, type SubscriptionImportResult, type SubscriptionImportSelection, type SubscriptionInvoice, type SubscriptionInvoiceListParams, type SubscriptionInvoiceListResponse, type SubscriptionItem, type SubscriptionItemPrice, type SubscriptionItemType, type SubscriptionItemsPage, type SubscriptionLifecycleEventType, type SubscriptionLineItem, type SubscriptionListParams, type SubscriptionMovement, type SubscriptionPaymentData, type SubscriptionPaymentDetails, type SubscriptionPaymentLink, type SubscriptionPaymentLookupRequest, type SubscriptionPaymentLookupResponse, type SubscriptionPeriodUnit, type SubscriptionPriceSource, type SubscriptionProcessors, type SubscriptionProviderRead, type SubscriptionResponse, type SubscriptionReturnStatusResponse, type SubscriptionStatus, type SubscriptionSyncOutcome, type SubscriptionSyncRequest, type SubscriptionSyncResponse, type SubscriptionSyncResult, 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 TeamMemberDetails, type TeamMemberRefusal, type TeamMemberStatus, 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 UnbilledChargesOption, type UnpaidInvoicesHandling, type UpdateCheckoutBrowserInfoScopeRequest, type UpdateInvoiceLine, type UpdateInvoiceRequest, type UpdateMerchantCostRuleRequest, type UpdateMetadataRequest, type UpdateOperationLimitSettingsRequest, type UpdateProcessorCostScheduleRequest, type UpdateRoleConnectorGrantParams, type UpdateSettingsRequest, type UpdateSubscriptionFields, type UpdateSubscriptionRequest, type UpdateUserDetailsRequest, type UpdateUserRoleRequest, type UpsertOperationLimitRuleRequest, type UpsertRefundLimitRuleRequest, type UpsertSettlementAdjustmentLimitRuleRequest, type UpsertSettlementPayoutLimitRuleRequest, type UpsertSubscriptionChangeLimitRuleRequest, 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, type VoidInvoiceRequest, 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 };