From fe31f585dce8dbee249d3aafbea364e1f9eabb66 Mon Sep 17 00:00:00 2001 From: Shaosu Liu Date: Thu, 27 May 2021 20:04:26 -0700 Subject: [PATCH 1/2] Always checks for required properties, even if they are missing from properties --- src/transform/schema.ts | 20 ++++++++++++++-- tests/schema.test.ts | 33 ++++++++++++++++++++++++++ tests/v3/expected/github.additional.ts | 9 +++++++ tests/v3/expected/github.immutable.ts | 9 +++++++ tests/v3/expected/github.ts | 9 +++++++ 5 files changed, 78 insertions(+), 2 deletions(-) diff --git a/src/transform/schema.ts b/src/transform/schema.ts index f793921b4..8e2d6eace 100644 --- a/src/transform/schema.ts +++ b/src/transform/schema.ts @@ -37,6 +37,19 @@ export function transformSchemaObjMap(obj: Record, options: Transfo return output.replace(/\n+$/, "\n"); // replace repeat line endings with only one } +/** make sure all required fields exist **/ +export function addRequiredProps(properties: Record, required: string[]): string[] { + const missingRequired = required.filter((r: string) => !(r in properties)); + if (missingRequired.length == 0) { + return []; + } + let output = ""; + for (const r of missingRequired) { + output += `${r}: any;\n`; + } + return [`{\n${output}}`]; +} + /** transform anyOf */ export function transformAnyOf(anyOf: any, options: TransformSchemaObjOptions): string { // filter out anyOf keys that only have a `required` key. #642 @@ -99,14 +112,16 @@ export function transformSchemaObj(node: any, options: TransformSchemaObjOptions } case "object": { const isAnyOfOrOneOfOrAllOf = "anyOf" in node || "oneOf" in node || "allOf" in node; - + const missingRequired = addRequiredProps(node.properties || {}, node.required || []); // if empty object, then return generic map type if ( !isAnyOfOrOneOfOrAllOf && (!node.properties || !Object.keys(node.properties).length) && !node.additionalProperties ) { - output += `{ ${readonly}[key: string]: any }`; + const emptyObj = `{ ${readonly}[key: string]: any }`; + + output += tsIntersectionOf([emptyObj, ...missingRequired]); break; } @@ -144,6 +159,7 @@ export function transformSchemaObj(node: any, options: TransformSchemaObjOptions ...(node.anyOf ? [transformAnyOf(node.anyOf, options)] : []), ...(node.oneOf ? [transformOneOf(node.oneOf, options)] : []), ...(properties ? [`{\n${properties}\n}`] : []), // then properties (line breaks are important!) + ...missingRequired, // add required that are missing from properties ...(additionalProperties ? [additionalProperties] : []), // then additional properties ]); diff --git a/tests/schema.test.ts b/tests/schema.test.ts index 70b6084cd..9d004b41d 100644 --- a/tests/schema.test.ts +++ b/tests/schema.test.ts @@ -368,6 +368,39 @@ describe("SchemaObject", () => { }" `); }); + it("empty object with required fields", () => { + expect( + transform( + { + type: "object", + required: ["abc"], + }, + { ...defaults } + ) + ).toBe(`({ [key: string]: any }) & ({ +abc: any; +})`); + }); + }); + + it("object with missing required fields", () => { + expect( + transform( + { + type: "object", + required: ["abc", "email"], + properties: { + email: { type: "string" }, + }, + }, + { ...defaults } + ) + ).toBe(`({ +"email": string; + +}) & ({ +abc: any; +})`); }); describe("comments", () => { diff --git a/tests/v3/expected/github.additional.ts b/tests/v3/expected/github.additional.ts index 74d880972..7e29b54b7 100644 --- a/tests/v3/expected/github.additional.ts +++ b/tests/v3/expected/github.additional.ts @@ -6618,6 +6618,8 @@ export interface components { } & { [key: string]: any }; docker?: { tag?: any[]; + } & { + tags: any; } & { [key: string]: any }; } & { [key: string]: any }; } & { [key: string]: any }; @@ -8123,6 +8125,9 @@ export interface components { html: string | null; self: string; } & { [key: string]: any }; + } & { + content: any; + encoding: any; } & { [key: string]: any }; /** A list of directory items */ "content-directory": ({ @@ -19810,6 +19815,8 @@ export interface operations { "application/json": (Partial< { status?: "completed"; + } & { + conclusion: any; } & { [key: string]: any } > & Partial< @@ -19946,6 +19953,8 @@ export interface operations { "application/json": (Partial< { status?: "completed"; + } & { + conclusion: any; } & { [key: string]: any } > & Partial< diff --git a/tests/v3/expected/github.immutable.ts b/tests/v3/expected/github.immutable.ts index 38a2a0dde..3faad0215 100644 --- a/tests/v3/expected/github.immutable.ts +++ b/tests/v3/expected/github.immutable.ts @@ -6604,6 +6604,8 @@ export interface components { }; readonly docker?: { readonly tag?: readonly any[]; + } & { + tags: any; }; }; }; @@ -8100,6 +8102,9 @@ export interface components { readonly html: string | null; readonly self: string; }; + } & { + content: any; + encoding: any; }; /** A list of directory items */ readonly "content-directory": readonly { @@ -19762,6 +19767,8 @@ export interface operations { readonly "application/json": (Partial< { readonly status?: "completed"; + } & { + conclusion: any; } & { readonly [key: string]: any } > & Partial< @@ -19898,6 +19905,8 @@ export interface operations { readonly "application/json": (Partial< { readonly status?: "completed"; + } & { + conclusion: any; } & { readonly [key: string]: any } > & Partial< diff --git a/tests/v3/expected/github.ts b/tests/v3/expected/github.ts index 14a71d5ef..1726db6b7 100644 --- a/tests/v3/expected/github.ts +++ b/tests/v3/expected/github.ts @@ -6602,6 +6602,8 @@ export interface components { }; docker?: { tag?: any[]; + } & { + tags: any; }; }; }; @@ -8097,6 +8099,9 @@ export interface components { html: string | null; self: string; }; + } & { + content: any; + encoding: any; }; /** A list of directory items */ "content-directory": { @@ -19758,6 +19763,8 @@ export interface operations { "application/json": (Partial< { status?: "completed"; + } & { + conclusion: any; } & { [key: string]: any } > & Partial< @@ -19894,6 +19901,8 @@ export interface operations { "application/json": (Partial< { status?: "completed"; + } & { + conclusion: any; } & { [key: string]: any } > & Partial< From 5d9aa6e60d3033fea8e32e91de7677667338c7db Mon Sep 17 00:00:00 2001 From: Shaosu Liu Date: Sun, 6 Jun 2021 09:37:08 -0700 Subject: [PATCH 2/2] Fix based on comments --- src/transform/schema.ts | 8 +- tests/schema.test.ts | 14 +- tests/v2/expected/petstore.immutable.ts | 2 +- tests/v2/expected/petstore.ts | 2 +- tests/v2/expected/stripe.immutable.ts | 596 ++++++++++++------------ tests/v2/expected/stripe.ts | 596 ++++++++++++------------ tests/v3/expected/github.additional.ts | 38 +- tests/v3/expected/github.immutable.ts | 38 +- tests/v3/expected/github.ts | 38 +- tests/v3/expected/stripe.additional.ts | 432 ++++++++--------- tests/v3/expected/stripe.immutable.ts | 432 ++++++++--------- tests/v3/expected/stripe.ts | 432 ++++++++--------- 12 files changed, 1314 insertions(+), 1314 deletions(-) diff --git a/src/transform/schema.ts b/src/transform/schema.ts index 8e2d6eace..ef6ebd6aa 100644 --- a/src/transform/schema.ts +++ b/src/transform/schema.ts @@ -38,14 +38,14 @@ export function transformSchemaObjMap(obj: Record, options: Transfo } /** make sure all required fields exist **/ -export function addRequiredProps(properties: Record, required: string[]): string[] { - const missingRequired = required.filter((r: string) => !(r in properties)); +export function addRequiredProps(properties: Record, required: Set): string[] { + const missingRequired = [...required].filter((r: string) => !(r in properties)); if (missingRequired.length == 0) { return []; } let output = ""; for (const r of missingRequired) { - output += `${r}: any;\n`; + output += `${r}: unknown;\n`; } return [`{\n${output}}`]; } @@ -119,7 +119,7 @@ export function transformSchemaObj(node: any, options: TransformSchemaObjOptions (!node.properties || !Object.keys(node.properties).length) && !node.additionalProperties ) { - const emptyObj = `{ ${readonly}[key: string]: any }`; + const emptyObj = `{ ${readonly}[key: string]: unknown }`; output += tsIntersectionOf([emptyObj, ...missingRequired]); break; diff --git a/tests/schema.test.ts b/tests/schema.test.ts index 9d004b41d..ff49a3971 100644 --- a/tests/schema.test.ts +++ b/tests/schema.test.ts @@ -55,10 +55,10 @@ describe("SchemaObject", () => { ); // unknown - expect(transform(objUnknown, { ...defaults })).toBe(`{ [key: string]: any }`); + expect(transform(objUnknown, { ...defaults })).toBe(`{ [key: string]: unknown }`); // empty - expect(transform({}, { ...defaults })).toBe(`{ [key: string]: any }`); + expect(transform({}, { ...defaults })).toBe(`{ [key: string]: unknown }`); // nullable expect(transform(objNullable, { ...defaults })).toBe(`({\n"string"?: string;\n\n}) | null`); @@ -73,8 +73,8 @@ describe("SchemaObject", () => { expect(transform(objStd, opts)).toBe( `{\nreadonly "object"?: {\nreadonly "string"?: string;\nreadonly "number"?: components["schemas"]["object_ref"];\n\n};\n\n}` ); - expect(transform(objUnknown, opts)).toBe(`{ readonly [key: string]: any }`); - expect(transform({}, opts)).toBe(`{ readonly [key: string]: any }`); + expect(transform(objUnknown, opts)).toBe(`{ readonly [key: string]: unknown }`); + expect(transform({}, opts)).toBe(`{ readonly [key: string]: unknown }`); expect(transform(objNullable, opts)).toBe(`({\nreadonly "string"?: string;\n\n}) | null`); expect(transform(objRequired, opts)).toBe(`{\nreadonly "required": string;\nreadonly "optional"?: boolean;\n\n}`); }); @@ -377,8 +377,8 @@ describe("SchemaObject", () => { }, { ...defaults } ) - ).toBe(`({ [key: string]: any }) & ({ -abc: any; + ).toBe(`({ [key: string]: unknown }) & ({ +abc: unknown; })`); }); }); @@ -399,7 +399,7 @@ abc: any; "email": string; }) & ({ -abc: any; +abc: unknown; })`); }); diff --git a/tests/v2/expected/petstore.immutable.ts b/tests/v2/expected/petstore.immutable.ts index e15f6a629..df4653288 100644 --- a/tests/v2/expected/petstore.immutable.ts +++ b/tests/v2/expected/petstore.immutable.ts @@ -235,7 +235,7 @@ export interface operations { /** Additional data to pass to server */ readonly additionalMetadata?: string; /** file to upload */ - readonly file?: { readonly [key: string]: any }; + readonly file?: { readonly [key: string]: unknown }; }; }; readonly responses: { diff --git a/tests/v2/expected/petstore.ts b/tests/v2/expected/petstore.ts index da09e750f..46f9c1f82 100644 --- a/tests/v2/expected/petstore.ts +++ b/tests/v2/expected/petstore.ts @@ -235,7 +235,7 @@ export interface operations { /** Additional data to pass to server */ additionalMetadata?: string; /** file to upload */ - file?: { [key: string]: any }; + file?: { [key: string]: unknown }; }; }; responses: { diff --git a/tests/v2/expected/stripe.immutable.ts b/tests/v2/expected/stripe.immutable.ts index e7795258f..c6f2be4ff 100644 --- a/tests/v2/expected/stripe.immutable.ts +++ b/tests/v2/expected/stripe.immutable.ts @@ -1522,7 +1522,7 @@ export interface definitions { readonly id: string; readonly individual?: definitions["person"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "account"; /** Whether Stripe can send payouts to this account. */ @@ -1743,7 +1743,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "alipay_account"; /** If the Alipay account object is not reusable, the exact amount that you can create a charge for. */ @@ -1982,7 +1982,7 @@ export interface definitions { /** The last four digits of the bank account number. */ readonly last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "bank_account"; /** The routing transit number for the bank account. */ @@ -2060,7 +2060,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "bitcoin_receiver"; /** The ID of the payment created from the receiver, if any. Hidden when viewing the receiver with a publishable key. */ @@ -2173,7 +2173,7 @@ export interface definitions { /** The last four digits of the card. */ readonly last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2183,7 +2183,7 @@ export interface definitions { /** If the card number is tokenized, this is the method that was used. Can be `amex_express_checkout`, `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ readonly tokenization_method?: string; }; - readonly card_mandate_payment_method_details: { readonly [key: string]: any }; + readonly card_mandate_payment_method_details: { readonly [key: string]: unknown }; /** * To charge a credit or a debit card, you create a `Charge` object. You can * retrieve and refund individual charges as well as list all charges. Charges @@ -2231,7 +2231,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "charge"; /** The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. */ @@ -2384,7 +2384,7 @@ export interface definitions { | "sv" | "zh"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ readonly mode?: "payment" | "setup" | "subscription"; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2466,7 +2466,7 @@ export interface definitions { /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "country_spec"; /** Currencies that can be accepted in the specific country (for transfers). */ - readonly supported_bank_account_currencies: { readonly [key: string]: any }; + readonly supported_bank_account_currencies: { readonly [key: string]: unknown }; /** Currencies that can be accepted in the specified country (for payments). */ readonly supported_payment_currencies: readonly string[]; /** Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges). */ @@ -2508,7 +2508,7 @@ export interface definitions { /** Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid. */ readonly max_redemptions?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** Name of the coupon displayed to customers on for instance invoices or receipts. */ readonly name?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2560,7 +2560,7 @@ export interface definitions { /** Customer-facing text that appears on the credit note PDF. */ readonly memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice. */ readonly number: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2659,7 +2659,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The customer's full name or business name. */ readonly name?: string; /** The suffix of the customer's next invoice number, e.g., 0001. */ @@ -2745,7 +2745,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "customer_balance_transaction"; /** Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types. */ @@ -3023,7 +3023,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "dispute"; /** ID of the PaymentIntent that was disputed. */ @@ -3195,7 +3195,7 @@ export interface definitions { /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "exchange_rate"; /** Hash where the keys are supported currencies and the values are the exchange rate at which the base id currency converts to the key currency. */ - readonly rates: { readonly [key: string]: any }; + readonly rates: { readonly [key: string]: unknown }; }; readonly external_account: { /** The ID of the account that the bank account is associated with. */ @@ -3215,7 +3215,7 @@ export interface definitions { /** The last four digits of the bank account number. */ readonly last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "bank_account"; }; @@ -3252,7 +3252,7 @@ export interface definitions { /** Unique identifier for the object. */ readonly id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "fee_refund"; }; @@ -3315,7 +3315,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "file_link"; /** The publicly accessible URL to download the file. */ @@ -3469,7 +3469,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The time at which payment will next be attempted. This value will be `null` for invoices where `collection_method=send_invoice`. */ readonly next_payment_attempt?: number; /** A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified. */ @@ -3588,7 +3588,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "invoiceitem"; readonly period: definitions["invoice_line_item_period"]; @@ -3706,7 +3706,7 @@ export interface definitions { readonly merchant_currency: string; readonly merchant_data: definitions["issuing_authorization_merchant_data"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "issuing.authorization"; readonly pending_request?: definitions["issuing_authorization_pending_request"]; @@ -3744,7 +3744,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint. */ readonly number?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -3780,7 +3780,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The cardholder's name. This will be printed on cards issued to them. */ readonly name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -3824,7 +3824,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The total net amount required to settle with the network. */ readonly net_total: number; /** The card network for this settlement report. One of ["visa"] */ @@ -3874,7 +3874,7 @@ export interface definitions { readonly merchant_currency: string; readonly merchant_data: definitions["issuing_authorization_merchant_data"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "issuing.transaction"; /** The nature of the transaction. */ @@ -5882,7 +5882,7 @@ export interface definitions { /** The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. */ readonly front?: string; }; - readonly light_account_logout: { readonly [key: string]: any }; + readonly light_account_logout: { readonly [key: string]: unknown }; readonly line_item: { /** The amount, in %s. */ readonly amount: number; @@ -5899,7 +5899,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "line_item"; readonly period: definitions["invoice_line_item_period"]; @@ -5950,7 +5950,7 @@ export interface definitions { /** The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. */ readonly url: string; }; - readonly mandate_multi_use: { readonly [key: string]: any }; + readonly mandate_multi_use: { readonly [key: string]: unknown }; readonly mandate_payment_method_details: { readonly au_becs_debit?: definitions["mandate_au_becs_debit"]; readonly card?: definitions["card_mandate_payment_method_details"]; @@ -5972,9 +5972,9 @@ export interface definitions { }; readonly notification_event_data: { /** Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. */ - readonly object: { readonly [key: string]: any }; + readonly object: { readonly [key: string]: unknown }; /** Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). */ - readonly previous_attributes?: { readonly [key: string]: any }; + readonly previous_attributes?: { readonly [key: string]: unknown }; }; readonly notification_event_request: { /** ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. */ @@ -5982,7 +5982,7 @@ export interface definitions { /** The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. */ readonly idempotency_key?: string; }; - readonly offline_acceptance: { readonly [key: string]: any }; + readonly offline_acceptance: { readonly [key: string]: unknown }; readonly online_acceptance: { /** The IP address from which the Mandate was accepted by the customer. */ readonly ip_address?: string; @@ -6024,7 +6024,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "order"; /** A list of returns that have taken place for this order. */ @@ -6188,7 +6188,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. For more information, see the [documentation](https://stripe.com/docs/payments/payment-intents/creating-payment-intents#storing-information-in-metadata). */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly next_action?: definitions["payment_intent_next_action"]; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "payment_intent"; @@ -6234,7 +6234,7 @@ export interface definitions { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ readonly type: string; /** When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - readonly use_stripe_sdk?: { readonly [key: string]: any }; + readonly use_stripe_sdk?: { readonly [key: string]: unknown }; }; readonly payment_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -6273,7 +6273,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "payment_method"; readonly sepa_debit?: definitions["payment_method_sepa_debit"]; @@ -6321,7 +6321,7 @@ export interface definitions { readonly charge?: string; readonly payment_method_details?: definitions["payment_method_details"]; }; - readonly payment_method_card_present: { readonly [key: string]: any }; + readonly payment_method_card_present: { readonly [key: string]: unknown }; readonly payment_method_card_wallet: { readonly amex_express_checkout?: definitions["payment_method_card_wallet_amex_express_checkout"]; readonly apple_pay?: definitions["payment_method_card_wallet_apple_pay"]; @@ -6340,9 +6340,9 @@ export interface definitions { | "visa_checkout"; readonly visa_checkout?: definitions["payment_method_card_wallet_visa_checkout"]; }; - readonly payment_method_card_wallet_amex_express_checkout: { readonly [key: string]: any }; - readonly payment_method_card_wallet_apple_pay: { readonly [key: string]: any }; - readonly payment_method_card_wallet_google_pay: { readonly [key: string]: any }; + readonly payment_method_card_wallet_amex_express_checkout: { readonly [key: string]: unknown }; + readonly payment_method_card_wallet_apple_pay: { readonly [key: string]: unknown }; + readonly payment_method_card_wallet_google_pay: { readonly [key: string]: unknown }; readonly payment_method_card_wallet_masterpass: { readonly billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6351,7 +6351,7 @@ export interface definitions { readonly name?: string; readonly shipping_address?: definitions["address"]; }; - readonly payment_method_card_wallet_samsung_pay: { readonly [key: string]: any }; + readonly payment_method_card_wallet_samsung_pay: { readonly [key: string]: unknown }; readonly payment_method_card_wallet_visa_checkout: { readonly billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6410,7 +6410,7 @@ export interface definitions { /** Routing transit number of the bank account. */ readonly routing_number?: string; }; - readonly payment_method_details_alipay: { readonly [key: string]: any }; + readonly payment_method_details_alipay: { readonly [key: string]: unknown }; readonly payment_method_details_au_becs_debit: { /** Bank-State-Branch number of the bank account. */ readonly bsb_number?: string; @@ -6548,9 +6548,9 @@ export interface definitions { | "visa_checkout"; readonly visa_checkout?: definitions["payment_method_details_card_wallet_visa_checkout"]; }; - readonly payment_method_details_card_wallet_amex_express_checkout: { readonly [key: string]: any }; - readonly payment_method_details_card_wallet_apple_pay: { readonly [key: string]: any }; - readonly payment_method_details_card_wallet_google_pay: { readonly [key: string]: any }; + readonly payment_method_details_card_wallet_amex_express_checkout: { readonly [key: string]: unknown }; + readonly payment_method_details_card_wallet_apple_pay: { readonly [key: string]: unknown }; + readonly payment_method_details_card_wallet_google_pay: { readonly [key: string]: unknown }; readonly payment_method_details_card_wallet_masterpass: { readonly billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6559,7 +6559,7 @@ export interface definitions { readonly name?: string; readonly shipping_address?: definitions["address"]; }; - readonly payment_method_details_card_wallet_samsung_pay: { readonly [key: string]: any }; + readonly payment_method_details_card_wallet_samsung_pay: { readonly [key: string]: unknown }; readonly payment_method_details_card_wallet_visa_checkout: { readonly billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6651,7 +6651,7 @@ export interface definitions { */ readonly verified_name?: string; }; - readonly payment_method_details_klarna: { readonly [key: string]: any }; + readonly payment_method_details_klarna: { readonly [key: string]: unknown }; readonly payment_method_details_multibanco: { /** Entity number associated with this Multibanco payment. */ readonly entity?: string; @@ -6698,8 +6698,8 @@ export interface definitions { */ readonly verified_name?: string; }; - readonly payment_method_details_stripe_account: { readonly [key: string]: any }; - readonly payment_method_details_wechat: { readonly [key: string]: any }; + readonly payment_method_details_stripe_account: { readonly [key: string]: unknown }; + readonly payment_method_details_wechat: { readonly [key: string]: unknown }; readonly payment_method_fpx: { /** The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. */ readonly bank: @@ -7022,7 +7022,7 @@ export interface definitions { /** Unique identifier for the object. */ readonly id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "account"; }; @@ -7064,7 +7064,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces](https://stripe.com/blog/instant-payouts-for-marketplaces) for more information.) */ readonly method: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7110,7 +7110,7 @@ export interface definitions { readonly last_name_kanji?: string; readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "person"; readonly phone?: string; @@ -7177,7 +7177,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ readonly nickname?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7248,7 +7248,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ readonly name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7326,7 +7326,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The name of the value list. */ readonly name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7411,7 +7411,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** The ID of the [Custom account](https://stripe.com/docs/connect/custom-accounts) this recipient was migrated to. If set, the recipient can no longer be updated, nor can transfers be made to it: use the Custom account instead. */ readonly migrated_to?: string; /** Full, legal name of the recipient. */ @@ -7449,7 +7449,7 @@ export interface definitions { /** Unique identifier for the object. */ readonly id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "refund"; /** ID of the PaymentIntent that was refunded. */ @@ -7669,7 +7669,7 @@ export interface definitions { /** ID of the multi use Mandate generated by the SetupIntent. */ readonly mandate?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly next_action?: definitions["setup_intent_next_action"]; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "setup_intent"; @@ -7702,7 +7702,7 @@ export interface definitions { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ readonly type: string; /** When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - readonly use_stripe_sdk?: { readonly [key: string]: any }; + readonly use_stripe_sdk?: { readonly [key: string]: unknown }; }; readonly setup_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -7757,7 +7757,7 @@ export interface definitions { /** Whether the SKU is available for purchase. */ readonly active: boolean; /** A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. */ - readonly attributes: { readonly [key: string]: any }; + readonly attributes: { readonly [key: string]: unknown }; /** Time at which the object was created. Measured in seconds since the Unix epoch. */ readonly created: number; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ @@ -7770,7 +7770,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "sku"; readonly package_dimensions?: definitions["package_dimensions"]; @@ -7819,7 +7819,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly multibanco?: definitions["source_type_multibanco"]; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "source"; @@ -8307,7 +8307,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`. */ readonly next_pending_invoice_item_invoice?: number; /** String representing the object's type. Objects of the same type share the same value. */ @@ -8360,7 +8360,7 @@ export interface definitions { /** Unique identifier for the object. */ readonly id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "subscription_item"; readonly plan: definitions["plan"]; @@ -8404,7 +8404,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "subscription_schedule"; /** Configuration for the subscription schedule's phases. */ @@ -8587,7 +8587,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "tax_rate"; /** This represents the tax rate percent out of 100. */ @@ -8620,7 +8620,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "terminal.location"; }; @@ -8645,7 +8645,7 @@ export interface definitions { /** The location identifier of the reader. */ readonly location?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "terminal.reader"; /** Serial number of the reader. */ @@ -8762,7 +8762,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "topup"; readonly source: definitions["source"]; @@ -8807,7 +8807,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "transfer"; /** A list of reversals that have been applied to the transfer. */ @@ -8869,7 +8869,7 @@ export interface definitions { /** Unique identifier for the object. */ readonly id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "transfer_reversal"; /** ID of the refund responsible for the transfer reversal. */ @@ -8953,7 +8953,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ readonly livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - readonly metadata: { readonly [key: string]: any }; + readonly metadata: { readonly [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ readonly object: "webhook_endpoint"; /** The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation. */ @@ -9052,7 +9052,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ readonly account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** Business information about the account. */ readonly business_profile?: { readonly mcc?: string; @@ -9163,7 +9163,7 @@ export interface operations { readonly state?: string; readonly town?: string; }; - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; readonly email?: string; readonly first_name?: string; readonly first_name_kana?: string; @@ -9174,7 +9174,7 @@ export interface operations { readonly last_name_kana?: string; readonly last_name_kanji?: string; readonly maiden_name?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly phone?: string; readonly ssn_last_4?: string; readonly verification?: { @@ -9189,7 +9189,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ readonly requested_capabilities?: readonly ( | "au_becs_debit_payments" @@ -9223,7 +9223,7 @@ export interface operations { readonly payouts?: { readonly debit_negative_balances?: boolean; readonly schedule?: { - readonly delay_days?: { readonly [key: string]: any }; + readonly delay_days?: { readonly [key: string]: unknown }; readonly interval?: "daily" | "manual" | "monthly" | "weekly"; readonly monthly_anchor?: number; readonly weekly_anchor?: @@ -9292,7 +9292,7 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ readonly default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -9300,7 +9300,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -9374,7 +9374,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; }; @@ -9526,7 +9526,7 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ readonly default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -9534,7 +9534,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -9608,7 +9608,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; }; @@ -9771,7 +9771,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -9795,7 +9795,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -9805,7 +9805,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -9898,7 +9898,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -9922,7 +9922,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -9932,7 +9932,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -10053,7 +10053,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -10077,7 +10077,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -10087,7 +10087,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -10180,7 +10180,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -10204,7 +10204,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -10214,7 +10214,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -10344,7 +10344,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ readonly account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** Business information about the account. */ readonly business_profile?: { readonly mcc?: string; @@ -10457,7 +10457,7 @@ export interface operations { readonly state?: string; readonly town?: string; }; - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; readonly email?: string; readonly first_name?: string; readonly first_name_kana?: string; @@ -10468,7 +10468,7 @@ export interface operations { readonly last_name_kana?: string; readonly last_name_kanji?: string; readonly maiden_name?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly phone?: string; readonly ssn_last_4?: string; readonly verification?: { @@ -10483,7 +10483,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ readonly requested_capabilities?: readonly ( | "au_becs_debit_payments" @@ -10517,7 +10517,7 @@ export interface operations { readonly payouts?: { readonly debit_negative_balances?: boolean; readonly schedule?: { - readonly delay_days?: { readonly [key: string]: any }; + readonly delay_days?: { readonly [key: string]: unknown }; readonly interval?: "daily" | "manual" | "monthly" | "weekly"; readonly monthly_anchor?: number; readonly weekly_anchor?: @@ -10592,7 +10592,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ readonly account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** Business information about the account. */ readonly business_profile?: { readonly mcc?: string; @@ -10703,7 +10703,7 @@ export interface operations { readonly state?: string; readonly town?: string; }; - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; readonly email?: string; readonly first_name?: string; readonly first_name_kana?: string; @@ -10714,7 +10714,7 @@ export interface operations { readonly last_name_kana?: string; readonly last_name_kanji?: string; readonly maiden_name?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly phone?: string; readonly ssn_last_4?: string; readonly verification?: { @@ -10729,7 +10729,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ readonly requested_capabilities?: readonly ( | "au_becs_debit_payments" @@ -10763,7 +10763,7 @@ export interface operations { readonly payouts?: { readonly debit_negative_balances?: boolean; readonly schedule?: { - readonly delay_days?: { readonly [key: string]: any }; + readonly delay_days?: { readonly [key: string]: unknown }; readonly interval?: "daily" | "manual" | "monthly" | "weekly"; readonly monthly_anchor?: number; readonly weekly_anchor?: @@ -10832,7 +10832,7 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ readonly default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -10840,7 +10840,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -10916,7 +10916,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; }; @@ -11080,7 +11080,7 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ readonly default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -11088,7 +11088,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -11164,7 +11164,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; }; @@ -11337,7 +11337,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11361,7 +11361,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -11371,7 +11371,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -11465,7 +11465,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11489,7 +11489,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -11499,7 +11499,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -11626,7 +11626,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11650,7 +11650,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -11660,7 +11660,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -11754,7 +11754,7 @@ export interface operations { readonly town?: string; }; /** The person's date of birth. */ - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; /** The person's email address. */ readonly email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11778,7 +11778,7 @@ export interface operations { /** The person's maiden name. */ readonly maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ readonly person_token?: string; /** The person's phone number. */ @@ -11788,7 +11788,7 @@ export interface operations { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -12042,7 +12042,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -12166,7 +12166,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -12566,7 +12566,7 @@ export interface operations { /** Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire in _seven days_. For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation. */ readonly capture?: boolean; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ readonly currency?: string; /** The ID of an existing customer that will be charged in this request. */ @@ -12580,7 +12580,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/charges-transfers#on-behalf-of). */ readonly on_behalf_of?: string; /** The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). */ @@ -12669,7 +12669,7 @@ export interface operations { readonly user_report: "" | "fraudulent" | "safe"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address. */ readonly receipt_email?: string; /** Shipping information for the charge. Helps prevent fraud on charges for physical goods. */ @@ -12813,7 +12813,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default). */ readonly submit?: boolean; }; @@ -12878,7 +12878,7 @@ export interface operations { readonly amount?: number; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly payment_intent?: string; readonly reason?: "duplicate" | "fraudulent" | "requested_by_customer"; readonly refund_application_fee?: boolean; @@ -12947,7 +12947,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly payment_intent?: string; readonly reason?: "duplicate" | "fraudulent" | "requested_by_customer"; readonly refund_application_fee?: boolean; @@ -13001,7 +13001,7 @@ export interface operations { readonly payload?: { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -13123,7 +13123,7 @@ export interface operations { | "sv" | "zh"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ readonly mode?: "payment" | "setup" | "subscription"; /** A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. */ @@ -13131,7 +13131,7 @@ export interface operations { readonly application_fee_amount?: number; readonly capture_method?: "automatic" | "manual"; readonly description?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly on_behalf_of?: string; readonly receipt_email?: string; readonly setup_future_usage?: "off_session" | "on_session"; @@ -13161,7 +13161,7 @@ export interface operations { /** A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode. */ readonly setup_intent_data?: { readonly description?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly on_behalf_of?: string; }; /** When set, provides configuration for Checkout to collect a shipping address from a customer. */ @@ -13422,7 +13422,7 @@ export interface operations { readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly trial_end?: number; readonly trial_from_plan?: boolean; readonly trial_period_days?: number; @@ -13586,7 +13586,7 @@ export interface operations { /** A positive integer specifying the number of times the coupon can be redeemed before it's no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use. */ readonly max_redemptions?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. */ readonly name?: string; /** A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed). */ @@ -13641,7 +13641,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. */ readonly name?: string; }; @@ -13756,7 +13756,7 @@ export interface operations { /** The credit note's memo appears on the credit note PDF. */ readonly memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The integer amount in **%s** representing the amount that is credited outside of Stripe. */ readonly out_of_band_amount?: number; /** Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` */ @@ -13945,7 +13945,7 @@ export interface operations { /** Credit note memo. */ readonly memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -14028,7 +14028,7 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** The customer's address. */ - readonly address?: { readonly [key: string]: any }; + readonly address?: { readonly [key: string]: unknown }; /** An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ readonly balance?: number; /** The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. */ @@ -14051,7 +14051,7 @@ export interface operations { readonly footer?: string; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The customer's full name or business name. */ readonly name?: string; /** The sequence to be used on the customer's next invoice. Defaults to 1. */ @@ -14063,7 +14063,7 @@ export interface operations { /** Customer's preferred languages, ordered by preference. */ readonly preferred_locales?: readonly string[]; /** The customer's shipping information. Appears on invoices emailed to this customer. */ - readonly shipping?: { readonly [key: string]: any }; + readonly shipping?: { readonly [key: string]: unknown }; /** * The source can be a [Token](https://stripe.com/docs/api#tokens) or a [Source](https://stripe.com/docs/api#sources), as returned by [Elements](https://stripe.com/docs/elements). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer to be charged automatically for a plan that is not free. * @@ -14152,13 +14152,13 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** The customer's address. */ - readonly address?: { readonly [key: string]: any }; + readonly address?: { readonly [key: string]: unknown }; /** An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ readonly balance?: number; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. */ readonly coupon?: string; /** ID of Alipay account to make the customer's new default for invoice payments. */ @@ -14193,7 +14193,7 @@ export interface operations { readonly footer?: string; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The customer's full name or business name. */ readonly name?: string; /** The sequence to be used on the customer's next invoice. Defaults to 1. */ @@ -14203,7 +14203,7 @@ export interface operations { /** Customer's preferred languages, ordered by preference. */ readonly preferred_locales?: readonly string[]; /** The customer's shipping information. Appears on invoices emailed to this customer. */ - readonly shipping?: { readonly [key: string]: any }; + readonly shipping?: { readonly [key: string]: unknown }; /** * The source can be a [Token](https://stripe.com/docs/api#tokens) or a [Source](https://stripe.com/docs/api#sources), as returned by [Elements](https://stripe.com/docs/elements). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer to be charged automatically for a plan that is not free. * @@ -14215,7 +14215,7 @@ export interface operations { /** The customer's tax exemption. One of `none`, `exempt`, or `reverse`. */ readonly tax_exempt?: "" | "exempt" | "none" | "reverse"; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; }; }; }; @@ -14303,7 +14303,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -14356,7 +14356,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -14426,13 +14426,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ readonly alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly source?: string; }; @@ -14505,7 +14505,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; readonly owner?: { @@ -14647,13 +14647,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ readonly alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly source?: string; }; @@ -14726,7 +14726,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; readonly owner?: { @@ -14878,13 +14878,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ readonly alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - readonly bank_account?: { readonly [key: string]: any }; + readonly bank_account?: { readonly [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ readonly source?: string; }; @@ -14957,7 +14957,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Cardholder name. */ readonly name?: string; readonly owner?: { @@ -15094,7 +15094,7 @@ export interface operations { /** A future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. */ readonly billing_cycle_anchor?: number; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ readonly cancel_at?: number; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ @@ -15115,14 +15115,14 @@ export interface operations { readonly expand?: readonly string[]; /** A list of up to 20 subscription items, each with an attached plan. */ readonly items?: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; - readonly metadata?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; + readonly metadata?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ readonly off_session?: boolean; /** @@ -15134,7 +15134,7 @@ export interface operations { */ readonly payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - readonly pending_invoice_item_interval?: { readonly [key: string]: any }; + readonly pending_invoice_item_interval?: { readonly [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ readonly prorate?: boolean; /** @@ -15144,9 +15144,9 @@ export interface operations { */ readonly proration_behavior?: "always_invoice" | "create_prorations" | "none"; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - readonly tax_percent?: { readonly [key: string]: any }; + readonly tax_percent?: { readonly [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ readonly trial_from_plan?: boolean; /** Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. */ @@ -15203,9 +15203,9 @@ export interface operations { /** Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ readonly billing_cycle_anchor?: "now" | "unchanged"; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ - readonly cancel_at?: { readonly [key: string]: any }; + readonly cancel_at?: { readonly [key: string]: unknown }; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ readonly cancel_at_period_end?: boolean; /** Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. */ @@ -15224,21 +15224,21 @@ export interface operations { readonly expand?: readonly string[]; /** List of subscription items, each with an attached plan. */ readonly items?: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly clear_usage?: boolean; readonly deleted?: boolean; readonly id?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ readonly off_session?: boolean; /** If specified, payment collection for this subscription will be paused. */ - readonly pause_collection?: { readonly [key: string]: any }; + readonly pause_collection?: { readonly [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -15248,7 +15248,7 @@ export interface operations { */ readonly payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - readonly pending_invoice_item_interval?: { readonly [key: string]: any }; + readonly pending_invoice_item_interval?: { readonly [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ readonly prorate?: boolean; /** @@ -15262,9 +15262,9 @@ export interface operations { /** If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. */ readonly proration_date?: number; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - readonly tax_percent?: { readonly [key: string]: any }; + readonly tax_percent?: { readonly [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ readonly trial_from_plan?: boolean; }; @@ -15595,7 +15595,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default). */ readonly submit?: boolean; }; @@ -15860,7 +15860,7 @@ export interface operations { /** The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `pci_document`, `sigma_scheduled_query`, or `tax_document_user_upload`. */ readonly file: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -15909,9 +15909,9 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately. */ - readonly expires_at?: { readonly [key: string]: any }; + readonly expires_at?: { readonly [key: string]: unknown }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -15980,7 +15980,7 @@ export interface operations { readonly file_link_data?: { readonly create: boolean; readonly expires_at?: number; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; /** The purpose of the uploaded file. Possible values are `additional_verification`, `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `identity_document`, `pci_document`, or `tax_document_user_upload`. */ readonly purpose: @@ -16089,7 +16089,7 @@ export interface operations { /** The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices. */ readonly invoice?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The period associated with this invoice item. */ readonly period?: { readonly end: number; @@ -16159,7 +16159,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The period associated with this invoice item. */ readonly period?: { readonly end: number; @@ -16284,7 +16284,7 @@ export interface operations { /** Footer to be displayed on the invoice. */ readonly footer?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. */ readonly statement_descriptor?: string; /** The ID of the subscription to invoice, if any. If not set, the created invoice will include all pending invoice items for the customer. If set, the created invoice will only include pending invoice items for that subscription and pending invoice items not associated with any subscription. The subscription's billing cycle and regular subscription events won't be affected. */ @@ -16514,11 +16514,11 @@ export interface operations { /** Footer to be displayed on the invoice. */ readonly footer?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. */ readonly statement_descriptor?: string; /** The percent tax rate applied to the invoice, represented as a non-negative decimal number (with at most four decimal places) between 0 and 100. To unset a previously-set value, pass an empty string. This field can be updated only on `draft` invoices. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - readonly tax_percent?: { readonly [key: string]: any }; + readonly tax_percent?: { readonly [key: string]: unknown }; }; }; }; @@ -16869,7 +16869,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -16898,7 +16898,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -16925,7 +16925,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -17025,7 +17025,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The cardholder's name. This will be printed on cards issued to them. */ readonly name: string; /** The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. */ @@ -17993,7 +17993,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The cardholder's phone number. */ readonly phone_number?: string; /** Spending rules that give you some control over how your cards can be used. Refer to our [authorizations](https://stripe.com/docs/issuing/purchases/authorizations) documentation for more details. */ @@ -18950,7 +18950,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The card this is meant to be a replacement for (if any). */ readonly replacement_for?: string; /** If `replacement_for` is specified, this should indicate why that card is being replaced. */ @@ -19900,7 +19900,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Spending rules that give you some control over how your cards can be used. Refer to our [authorizations](https://stripe.com/docs/issuing/purchases/authorizations) documentation for more details. */ readonly spending_controls?: { readonly allowed_categories?: readonly ( @@ -20836,7 +20836,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -20885,7 +20885,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -20969,7 +20969,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -21057,7 +21057,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -21224,7 +21224,7 @@ export interface operations { readonly type?: "discount" | "shipping" | "sku" | "tax"; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true. */ readonly shipping?: { readonly address: { @@ -21288,7 +21288,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The shipping method to select for fulfilling this order. If specified, must be one of the `id`s of a shipping method in the `shipping_methods` array. If specified, will overwrite the existing selected shipping method, updating `items` as necessary. */ readonly selected_shipping_method?: string; /** Tracking information once the order has been fulfilled. */ @@ -21330,7 +21330,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A [Token](https://stripe.com/docs/api#tokens)'s or a [Source](https://stripe.com/docs/api#sources)'s ID, as returned by [Elements](https://stripe.com/docs/elements). If no customer was attached to the order at creation, either `source` or `customer` is required. Otherwise, the specified source will be charged intead of the customer attached to the order. */ readonly source?: string; }; @@ -21469,7 +21469,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -21478,9 +21478,9 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). */ - readonly off_session?: { readonly [key: string]: any }; + readonly off_session?: { readonly [key: string]: unknown }; /** The Stripe account ID for which these funds are intended. For details, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). */ readonly on_behalf_of?: string; /** @@ -21491,7 +21491,7 @@ export interface operations { readonly payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ readonly payment_method_options?: { - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. If this is not provided, defaults to ["card"]. */ readonly payment_method_types?: readonly string[]; @@ -21602,7 +21602,7 @@ export interface operations { /** Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). */ readonly amount?: number; /** The amount of the application fee (if any) for the resulting payment. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. */ - readonly application_fee_amount?: { readonly [key: string]: any }; + readonly application_fee_amount?: { readonly [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ readonly currency?: string; /** @@ -21618,12 +21618,12 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. */ readonly payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ readonly payment_method_options?: { - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. */ readonly payment_method_types?: readonly string[]; @@ -21640,7 +21640,7 @@ export interface operations { */ readonly setup_future_usage?: "" | "off_session" | "on_session"; /** Shipping information for this PaymentIntent. */ - readonly shipping?: { readonly [key: string]: any }; + readonly shipping?: { readonly [key: string]: unknown }; /** For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters. */ readonly statement_descriptor?: string; /** Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. */ @@ -21793,7 +21793,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -21802,12 +21802,12 @@ export interface operations { }; }; /** Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). */ - readonly off_session?: { readonly [key: string]: any }; + readonly off_session?: { readonly [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. */ readonly payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ readonly payment_method_options?: { - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. */ readonly payment_method_types?: readonly string[]; @@ -21830,7 +21830,7 @@ export interface operations { */ readonly setup_future_usage?: "" | "off_session" | "on_session"; /** Shipping information for this PaymentIntent. */ - readonly shipping?: { readonly [key: string]: any }; + readonly shipping?: { readonly [key: string]: unknown }; /** Set to `true` only when using manual confirmation and the iOS or Android SDKs to handle additional authentication steps. */ readonly use_stripe_sdk?: boolean; }; @@ -21910,7 +21910,7 @@ export interface operations { readonly phone?: string; }; /** If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When creating with a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly. */ - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** The `Customer` to whom the original PaymentMethod is attached. */ readonly customer?: string; /** Specifies which fields in the response should be expanded. */ @@ -21956,7 +21956,7 @@ export interface operations { | "van_lanschot"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The PaymentMethod to share. */ readonly payment_method?: string; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ @@ -22032,9 +22032,9 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ - readonly sepa_debit?: { readonly [key: string]: any }; + readonly sepa_debit?: { readonly [key: string]: unknown }; }; }; }; @@ -22175,7 +22175,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces for more information](https://stripe.com/blog/instant-payouts-for-marketplaces).) */ readonly method?: "instant" | "standard"; /** The balance type of your Stripe balance to draw this payout from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. One of `bank_account`, `card`, or `fpx`. */ @@ -22230,7 +22230,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -22336,14 +22336,14 @@ export interface operations { /** The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). */ readonly interval_count?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ readonly nickname?: string; /** The product whose pricing the created plan will represent. This can either be the ID of an existing product, or a dictionary containing fields used to create a [service product](https://stripe.com/docs/api#product_object-type). */ readonly product?: { readonly active?: boolean; readonly id?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly name: string; readonly statement_descriptor?: string; readonly unit_label?: string; @@ -22354,7 +22354,7 @@ export interface operations { readonly flat_amount_decimal?: string; readonly unit_amount?: number; readonly unit_amount_decimal?: string; - readonly up_to: { readonly [key: string]: any }; + readonly up_to: { readonly [key: string]: unknown }; }[]; /** Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows. */ readonly tiers_mode?: "graduated" | "volume"; @@ -22417,7 +22417,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ readonly nickname?: string; /** The product the plan belongs to. Note that after updating, statement descriptors and line items of the plan in active subscriptions will be affected. */ @@ -22524,7 +22524,7 @@ export interface operations { /** A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ readonly images?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ readonly name: string; /** The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if type=`good`. */ @@ -22609,11 +22609,11 @@ export interface operations { /** A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ readonly images?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ readonly name?: string; /** The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if `type=good`. */ - readonly package_dimensions?: { readonly [key: string]: any }; + readonly package_dimensions?: { readonly [key: string]: unknown }; /** Whether this product is shipped (i.e., physical goods). Defaults to `true`. May only be set if `type=good`. */ readonly shippable?: boolean; /** @@ -22882,7 +22882,7 @@ export interface operations { | "ip_address" | "string"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The human-readable name of the value list. */ readonly name: string; }; @@ -22935,7 +22935,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The human-readable name of the value list. */ readonly name?: string; }; @@ -23027,7 +23027,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The recipient's full, legal name. For type `individual`, should be in the format `First Last`, `First Middle Last`, or `First M Last` (no prefixes or suffixes). For `corporation`, the full, incorporated name. */ readonly name: string; /** The recipient's tax ID, as a string. For type `individual`, the full SSN; for type `corporation`, the full EIN. */ @@ -23098,7 +23098,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The recipient's full, legal name. For type `individual`, should be in the format `First Last`, `First Middle Last`, or `First M Last` (no prefixes or suffixes). For `corporation`, the full, incorporated name. */ readonly name?: string; /** The recipient's tax ID, as a string. For type `individual`, the full SSN; for type `corporation`, the full EIN. */ @@ -23184,7 +23184,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly payment_intent?: string; readonly reason?: "duplicate" | "fraudulent" | "requested_by_customer"; readonly refund_application_fee?: boolean; @@ -23241,7 +23241,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -24168,7 +24168,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -24177,7 +24177,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The Stripe account ID for which this SetupIntent is created. */ readonly on_behalf_of?: string; /** ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. */ @@ -24263,7 +24263,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. */ readonly payment_method?: string; /** Payment-method-specific configuration for this SetupIntent. */ @@ -24350,7 +24350,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -24493,7 +24493,7 @@ export interface operations { /** Whether the SKU is available for purchase. Default to `true`. */ readonly active?: boolean; /** A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. */ - readonly attributes?: { readonly [key: string]: any }; + readonly attributes?: { readonly [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ readonly currency: string; /** Specifies which fields in the response should be expanded. */ @@ -24509,7 +24509,7 @@ export interface operations { readonly value?: "" | "in_stock" | "limited" | "out_of_stock"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The dimensions of this SKU for shipping purposes. */ readonly package_dimensions?: { readonly height: number; @@ -24573,7 +24573,7 @@ export interface operations { /** Whether this SKU is available for purchase. */ readonly active?: boolean; /** A dictionary of attributes and values for the attributes defined by the product. When specified, `attributes` will partially update the existing attributes dictionary on the product, with the postcondition that a value must be present for each attribute key on the product. */ - readonly attributes?: { readonly [key: string]: any }; + readonly attributes?: { readonly [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ readonly currency?: string; /** Specifies which fields in the response should be expanded. */ @@ -24587,9 +24587,9 @@ export interface operations { readonly value?: "" | "in_stock" | "limited" | "out_of_stock"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The dimensions of this SKU for shipping purposes. */ - readonly package_dimensions?: { readonly [key: string]: any }; + readonly package_dimensions?: { readonly [key: string]: unknown }; /** The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). */ readonly price?: number; /** The ID of the product that this SKU should belong to. The product must exist, have the same set of attribute names as the SKU's current product, and be of type `good`. */ @@ -24659,13 +24659,13 @@ export interface operations { readonly type?: "offline" | "online"; readonly user_agent?: string; }; - readonly amount?: { readonly [key: string]: any }; + readonly amount?: { readonly [key: string]: unknown }; readonly currency?: string; readonly interval?: "one_time" | "scheduled" | "variable"; readonly notification_method?: "deprecated_none" | "email" | "manual" | "none" | "stripe_email"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The source to share. */ readonly original_source?: string; /** Information about the owner of the payment instrument that may be used or required by particular source types. */ @@ -24795,13 +24795,13 @@ export interface operations { readonly type?: "offline" | "online"; readonly user_agent?: string; }; - readonly amount?: { readonly [key: string]: any }; + readonly amount?: { readonly [key: string]: unknown }; readonly currency?: string; readonly interval?: "one_time" | "scheduled" | "variable"; readonly notification_method?: "deprecated_none" | "email" | "manual" | "none" | "stripe_email"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Information about the owner of the payment instrument that may be used or required by particular source types. */ readonly owner?: { readonly address?: { @@ -25006,11 +25006,11 @@ export interface operations { /** Body parameters for the request. */ readonly payload: { /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -25085,11 +25085,11 @@ export interface operations { /** Body parameters for the request. */ readonly payload?: { /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ readonly off_session?: boolean; /** @@ -25303,7 +25303,7 @@ export interface operations { readonly customer?: string; /** Object representing the subscription schedule's default settings. */ readonly default_settings?: { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly collection_method?: "charge_automatically" | "send_invoice"; readonly default_payment_method?: string; readonly invoice_settings?: { @@ -25317,11 +25317,11 @@ export interface operations { /** Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's plan(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls. */ readonly from_subscription?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. */ readonly phases?: readonly { readonly application_fee_percent?: number; - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly collection_method?: "charge_automatically" | "send_invoice"; readonly coupon?: string; readonly default_payment_method?: string; @@ -25332,7 +25332,7 @@ export interface operations { }; readonly iterations?: number; readonly plans: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; @@ -25343,7 +25343,7 @@ export interface operations { readonly trial_end?: number; }[]; /** When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. */ - readonly start_date?: { readonly [key: string]: any }; + readonly start_date?: { readonly [key: string]: unknown }; }; }; }; @@ -25391,7 +25391,7 @@ export interface operations { readonly payload?: { /** Object representing the subscription schedule's default settings. */ readonly default_settings?: { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly collection_method?: "charge_automatically" | "send_invoice"; readonly default_payment_method?: string; readonly invoice_settings?: { @@ -25403,31 +25403,31 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted. */ readonly phases?: readonly { readonly application_fee_percent?: number; - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly collection_method?: "charge_automatically" | "send_invoice"; readonly coupon?: string; readonly default_payment_method?: string; readonly default_tax_rates?: readonly string[]; - readonly end_date?: { readonly [key: string]: any }; + readonly end_date?: { readonly [key: string]: unknown }; readonly invoice_settings?: { readonly days_until_due?: number; }; readonly iterations?: number; readonly plans: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; readonly proration_behavior?: "always_invoice" | "create_prorations" | "none"; - readonly start_date?: { readonly [key: string]: any }; + readonly start_date?: { readonly [key: string]: unknown }; readonly tax_percent?: number; readonly trial?: boolean; - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; }[]; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ readonly prorate?: boolean; @@ -25560,7 +25560,7 @@ export interface operations { /** A future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. */ readonly billing_cycle_anchor?: number; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ readonly cancel_at?: number; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ @@ -25583,14 +25583,14 @@ export interface operations { readonly expand?: readonly string[]; /** A list of up to 20 subscription items, each with an attached plan. */ readonly items?: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; - readonly metadata?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; + readonly metadata?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ readonly off_session?: boolean; /** @@ -25602,7 +25602,7 @@ export interface operations { */ readonly payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - readonly pending_invoice_item_interval?: { readonly [key: string]: any }; + readonly pending_invoice_item_interval?: { readonly [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ readonly prorate?: boolean; /** @@ -25612,9 +25612,9 @@ export interface operations { */ readonly proration_behavior?: "always_invoice" | "create_prorations" | "none"; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - readonly tax_percent?: { readonly [key: string]: any }; + readonly tax_percent?: { readonly [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ readonly trial_from_plan?: boolean; /** Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. */ @@ -25669,9 +25669,9 @@ export interface operations { /** Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ readonly billing_cycle_anchor?: "now" | "unchanged"; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ - readonly cancel_at?: { readonly [key: string]: any }; + readonly cancel_at?: { readonly [key: string]: unknown }; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ readonly cancel_at_period_end?: boolean; /** Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. */ @@ -25690,21 +25690,21 @@ export interface operations { readonly expand?: readonly string[]; /** List of subscription items, each with an attached plan. */ readonly items?: readonly { - readonly billing_thresholds?: { readonly [key: string]: any }; + readonly billing_thresholds?: { readonly [key: string]: unknown }; readonly clear_usage?: boolean; readonly deleted?: boolean; readonly id?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly plan?: string; readonly quantity?: number; readonly tax_rates?: readonly string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ readonly off_session?: boolean; /** If specified, payment collection for this subscription will be paused. */ - readonly pause_collection?: { readonly [key: string]: any }; + readonly pause_collection?: { readonly [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -25714,7 +25714,7 @@ export interface operations { */ readonly payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - readonly pending_invoice_item_interval?: { readonly [key: string]: any }; + readonly pending_invoice_item_interval?: { readonly [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ readonly prorate?: boolean; /** @@ -25728,9 +25728,9 @@ export interface operations { /** If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. */ readonly proration_date?: number; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - readonly tax_percent?: { readonly [key: string]: any }; + readonly tax_percent?: { readonly [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - readonly trial_end?: { readonly [key: string]: any }; + readonly trial_end?: { readonly [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ readonly trial_from_plan?: boolean; }; @@ -25858,7 +25858,7 @@ export interface operations { /** The jurisdiction for the tax rate. */ readonly jurisdiction?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** This represents the tax rate percent out of 100. */ readonly percentage: number; }; @@ -25917,7 +25917,7 @@ export interface operations { /** The jurisdiction for the tax rate. */ readonly jurisdiction?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26009,7 +26009,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26069,7 +26069,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26155,7 +26155,7 @@ export interface operations { /** The location to assign the reader to. If no location is specified, the reader will be assigned to the account's default location. */ readonly location?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** A code generated by the reader used for registering to an account. */ readonly registration_code: string; }; @@ -26208,7 +26208,7 @@ export interface operations { /** The new label of the reader. */ readonly label?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26341,7 +26341,7 @@ export interface operations { readonly state?: string; readonly town?: string; }; - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; readonly email?: string; readonly first_name?: string; readonly first_name_kana?: string; @@ -26352,7 +26352,7 @@ export interface operations { readonly last_name_kana?: string; readonly last_name_kanji?: string; readonly maiden_name?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly phone?: string; readonly ssn_last_4?: string; readonly verification?: { @@ -26377,7 +26377,7 @@ export interface operations { readonly currency?: string; readonly routing_number?: string; }; - readonly card?: { readonly [key: string]: any }; + readonly card?: { readonly [key: string]: unknown }; /** The customer (owned by the application's account) for which to create a token. This can be used only with an [OAuth access token](https://stripe.com/docs/connect/standard-accounts) or [Stripe-Account header](https://stripe.com/docs/connect/authentication). For more details, see [Cloning Saved Payment Methods](https://stripe.com/docs/connect/cloning-saved-payment-methods). */ readonly customer?: string; /** Specifies which fields in the response should be expanded. */ @@ -26410,7 +26410,7 @@ export interface operations { readonly state?: string; readonly town?: string; }; - readonly dob?: { readonly [key: string]: any }; + readonly dob?: { readonly [key: string]: unknown }; readonly email?: string; readonly first_name?: string; readonly first_name_kana?: string; @@ -26421,13 +26421,13 @@ export interface operations { readonly last_name_kana?: string; readonly last_name_kanji?: string; readonly maiden_name?: string; - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; readonly phone?: string; readonly relationship?: { readonly director?: boolean; readonly executive?: boolean; readonly owner?: boolean; - readonly percent_ownership?: { readonly [key: string]: any }; + readonly percent_ownership?: { readonly [key: string]: unknown }; readonly representative?: boolean; readonly title?: string; }; @@ -26537,7 +26537,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://stripe.com/docs/connect/testing#testing-top-ups)). */ readonly source?: string; /** Extra information about a top-up for the source's bank statement. Limited to 15 ASCII characters. */ @@ -26594,7 +26594,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26690,7 +26690,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. [See the Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-availability) for details. */ readonly source_transaction?: string; /** The source balance to use for this transfer. One of `bank_account`, `card`, or `fpx`. For most users, this will default to `card`. */ @@ -26770,7 +26770,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** Boolean indicating whether the application fee should be refunded when reversing this transfer. If a full transfer reversal is given, the full application fee will be refunded. Otherwise, the application fee will be refunded with an amount proportional to the amount of the transfer reversed. */ readonly refund_application_fee?: boolean; }; @@ -26827,7 +26827,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -26882,7 +26882,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; }; }; }; @@ -27192,7 +27192,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The URL of the webhook endpoint. */ readonly url: string; }; @@ -27399,7 +27399,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ readonly expand?: readonly string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - readonly metadata?: { readonly [key: string]: any }; + readonly metadata?: { readonly [key: string]: unknown }; /** The URL of the webhook endpoint. */ readonly url?: string; }; diff --git a/tests/v2/expected/stripe.ts b/tests/v2/expected/stripe.ts index 7d1d87ce0..99e6c22a4 100644 --- a/tests/v2/expected/stripe.ts +++ b/tests/v2/expected/stripe.ts @@ -1522,7 +1522,7 @@ export interface definitions { id: string; individual?: definitions["person"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "account"; /** Whether Stripe can send payouts to this account. */ @@ -1743,7 +1743,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "alipay_account"; /** If the Alipay account object is not reusable, the exact amount that you can create a charge for. */ @@ -1982,7 +1982,7 @@ export interface definitions { /** The last four digits of the bank account number. */ last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "bank_account"; /** The routing transit number for the bank account. */ @@ -2060,7 +2060,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "bitcoin_receiver"; /** The ID of the payment created from the receiver, if any. Hidden when viewing the receiver with a publishable key. */ @@ -2173,7 +2173,7 @@ export interface definitions { /** The last four digits of the card. */ last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** Cardholder name. */ name?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2183,7 +2183,7 @@ export interface definitions { /** If the card number is tokenized, this is the method that was used. Can be `amex_express_checkout`, `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ tokenization_method?: string; }; - card_mandate_payment_method_details: { [key: string]: any }; + card_mandate_payment_method_details: { [key: string]: unknown }; /** * To charge a credit or a debit card, you create a `Charge` object. You can * retrieve and refund individual charges as well as list all charges. Charges @@ -2231,7 +2231,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "charge"; /** The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. */ @@ -2384,7 +2384,7 @@ export interface definitions { | "sv" | "zh"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ mode?: "payment" | "setup" | "subscription"; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2466,7 +2466,7 @@ export interface definitions { /** String representing the object's type. Objects of the same type share the same value. */ object: "country_spec"; /** Currencies that can be accepted in the specific country (for transfers). */ - supported_bank_account_currencies: { [key: string]: any }; + supported_bank_account_currencies: { [key: string]: unknown }; /** Currencies that can be accepted in the specified country (for payments). */ supported_payment_currencies: string[]; /** Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges). */ @@ -2508,7 +2508,7 @@ export interface definitions { /** Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid. */ max_redemptions?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** Name of the coupon displayed to customers on for instance invoices or receipts. */ name?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2560,7 +2560,7 @@ export interface definitions { /** Customer-facing text that appears on the credit note PDF. */ memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice. */ number: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -2659,7 +2659,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The customer's full name or business name. */ name?: string; /** The suffix of the customer's next invoice number, e.g., 0001. */ @@ -2745,7 +2745,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "customer_balance_transaction"; /** Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types. */ @@ -3023,7 +3023,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "dispute"; /** ID of the PaymentIntent that was disputed. */ @@ -3195,7 +3195,7 @@ export interface definitions { /** String representing the object's type. Objects of the same type share the same value. */ object: "exchange_rate"; /** Hash where the keys are supported currencies and the values are the exchange rate at which the base id currency converts to the key currency. */ - rates: { [key: string]: any }; + rates: { [key: string]: unknown }; }; external_account: { /** The ID of the account that the bank account is associated with. */ @@ -3215,7 +3215,7 @@ export interface definitions { /** The last four digits of the bank account number. */ last4: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "bank_account"; }; @@ -3252,7 +3252,7 @@ export interface definitions { /** Unique identifier for the object. */ id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "fee_refund"; }; @@ -3315,7 +3315,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "file_link"; /** The publicly accessible URL to download the file. */ @@ -3469,7 +3469,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The time at which payment will next be attempted. This value will be `null` for invoices where `collection_method=send_invoice`. */ next_payment_attempt?: number; /** A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified. */ @@ -3588,7 +3588,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "invoiceitem"; period: definitions["invoice_line_item_period"]; @@ -3706,7 +3706,7 @@ export interface definitions { merchant_currency: string; merchant_data: definitions["issuing_authorization_merchant_data"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "issuing.authorization"; pending_request?: definitions["issuing_authorization_pending_request"]; @@ -3744,7 +3744,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint. */ number?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -3780,7 +3780,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The cardholder's name. This will be printed on cards issued to them. */ name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -3824,7 +3824,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The total net amount required to settle with the network. */ net_total: number; /** The card network for this settlement report. One of ["visa"] */ @@ -3874,7 +3874,7 @@ export interface definitions { merchant_currency: string; merchant_data: definitions["issuing_authorization_merchant_data"]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "issuing.transaction"; /** The nature of the transaction. */ @@ -5882,7 +5882,7 @@ export interface definitions { /** The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. */ front?: string; }; - light_account_logout: { [key: string]: any }; + light_account_logout: { [key: string]: unknown }; line_item: { /** The amount, in %s. */ amount: number; @@ -5899,7 +5899,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "line_item"; period: definitions["invoice_line_item_period"]; @@ -5950,7 +5950,7 @@ export interface definitions { /** The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. */ url: string; }; - mandate_multi_use: { [key: string]: any }; + mandate_multi_use: { [key: string]: unknown }; mandate_payment_method_details: { au_becs_debit?: definitions["mandate_au_becs_debit"]; card?: definitions["card_mandate_payment_method_details"]; @@ -5972,9 +5972,9 @@ export interface definitions { }; notification_event_data: { /** Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. */ - object: { [key: string]: any }; + object: { [key: string]: unknown }; /** Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). */ - previous_attributes?: { [key: string]: any }; + previous_attributes?: { [key: string]: unknown }; }; notification_event_request: { /** ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. */ @@ -5982,7 +5982,7 @@ export interface definitions { /** The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. */ idempotency_key?: string; }; - offline_acceptance: { [key: string]: any }; + offline_acceptance: { [key: string]: unknown }; online_acceptance: { /** The IP address from which the Mandate was accepted by the customer. */ ip_address?: string; @@ -6024,7 +6024,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "order"; /** A list of returns that have taken place for this order. */ @@ -6188,7 +6188,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. For more information, see the [documentation](https://stripe.com/docs/payments/payment-intents/creating-payment-intents#storing-information-in-metadata). */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; next_action?: definitions["payment_intent_next_action"]; /** String representing the object's type. Objects of the same type share the same value. */ object: "payment_intent"; @@ -6234,7 +6234,7 @@ export interface definitions { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; }; payment_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -6273,7 +6273,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "payment_method"; sepa_debit?: definitions["payment_method_sepa_debit"]; @@ -6321,7 +6321,7 @@ export interface definitions { charge?: string; payment_method_details?: definitions["payment_method_details"]; }; - payment_method_card_present: { [key: string]: any }; + payment_method_card_present: { [key: string]: unknown }; payment_method_card_wallet: { amex_express_checkout?: definitions["payment_method_card_wallet_amex_express_checkout"]; apple_pay?: definitions["payment_method_card_wallet_apple_pay"]; @@ -6334,9 +6334,9 @@ export interface definitions { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: definitions["payment_method_card_wallet_visa_checkout"]; }; - payment_method_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_card_wallet_apple_pay: { [key: string]: any }; - payment_method_card_wallet_google_pay: { [key: string]: any }; + payment_method_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_card_wallet_google_pay: { [key: string]: unknown }; payment_method_card_wallet_masterpass: { billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6345,7 +6345,7 @@ export interface definitions { name?: string; shipping_address?: definitions["address"]; }; - payment_method_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_card_wallet_visa_checkout: { billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6404,7 +6404,7 @@ export interface definitions { /** Routing transit number of the bank account. */ routing_number?: string; }; - payment_method_details_alipay: { [key: string]: any }; + payment_method_details_alipay: { [key: string]: unknown }; payment_method_details_au_becs_debit: { /** Bank-State-Branch number of the bank account. */ bsb_number?: string; @@ -6536,9 +6536,9 @@ export interface definitions { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: definitions["payment_method_details_card_wallet_visa_checkout"]; }; - payment_method_details_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_details_card_wallet_apple_pay: { [key: string]: any }; - payment_method_details_card_wallet_google_pay: { [key: string]: any }; + payment_method_details_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_details_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_details_card_wallet_google_pay: { [key: string]: unknown }; payment_method_details_card_wallet_masterpass: { billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6547,7 +6547,7 @@ export interface definitions { name?: string; shipping_address?: definitions["address"]; }; - payment_method_details_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_details_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_details_card_wallet_visa_checkout: { billing_address?: definitions["address"]; /** Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ @@ -6639,7 +6639,7 @@ export interface definitions { */ verified_name?: string; }; - payment_method_details_klarna: { [key: string]: any }; + payment_method_details_klarna: { [key: string]: unknown }; payment_method_details_multibanco: { /** Entity number associated with this Multibanco payment. */ entity?: string; @@ -6686,8 +6686,8 @@ export interface definitions { */ verified_name?: string; }; - payment_method_details_stripe_account: { [key: string]: any }; - payment_method_details_wechat: { [key: string]: any }; + payment_method_details_stripe_account: { [key: string]: unknown }; + payment_method_details_wechat: { [key: string]: unknown }; payment_method_fpx: { /** The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. */ bank: @@ -7010,7 +7010,7 @@ export interface definitions { /** Unique identifier for the object. */ id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "account"; }; @@ -7052,7 +7052,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces](https://stripe.com/blog/instant-payouts-for-marketplaces) for more information.) */ method: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7098,7 +7098,7 @@ export interface definitions { last_name_kanji?: string; maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "person"; phone?: string; @@ -7165,7 +7165,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ nickname?: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7236,7 +7236,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7314,7 +7314,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The name of the value list. */ name: string; /** String representing the object's type. Objects of the same type share the same value. */ @@ -7399,7 +7399,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** The ID of the [Custom account](https://stripe.com/docs/connect/custom-accounts) this recipient was migrated to. If set, the recipient can no longer be updated, nor can transfers be made to it: use the Custom account instead. */ migrated_to?: string; /** Full, legal name of the recipient. */ @@ -7437,7 +7437,7 @@ export interface definitions { /** Unique identifier for the object. */ id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "refund"; /** ID of the PaymentIntent that was refunded. */ @@ -7657,7 +7657,7 @@ export interface definitions { /** ID of the multi use Mandate generated by the SetupIntent. */ mandate?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; next_action?: definitions["setup_intent_next_action"]; /** String representing the object's type. Objects of the same type share the same value. */ object: "setup_intent"; @@ -7690,7 +7690,7 @@ export interface definitions { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; }; setup_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -7745,7 +7745,7 @@ export interface definitions { /** Whether the SKU is available for purchase. */ active: boolean; /** A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. */ - attributes: { [key: string]: any }; + attributes: { [key: string]: unknown }; /** Time at which the object was created. Measured in seconds since the Unix epoch. */ created: number; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ @@ -7758,7 +7758,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "sku"; package_dimensions?: definitions["package_dimensions"]; @@ -7807,7 +7807,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; multibanco?: definitions["source_type_multibanco"]; /** String representing the object's type. Objects of the same type share the same value. */ object: "source"; @@ -8295,7 +8295,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`. */ next_pending_invoice_item_invoice?: number; /** String representing the object's type. Objects of the same type share the same value. */ @@ -8348,7 +8348,7 @@ export interface definitions { /** Unique identifier for the object. */ id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "subscription_item"; plan: definitions["plan"]; @@ -8392,7 +8392,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "subscription_schedule"; /** Configuration for the subscription schedule's phases. */ @@ -8575,7 +8575,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "tax_rate"; /** This represents the tax rate percent out of 100. */ @@ -8608,7 +8608,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "terminal.location"; }; @@ -8633,7 +8633,7 @@ export interface definitions { /** The location identifier of the reader. */ location?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "terminal.reader"; /** Serial number of the reader. */ @@ -8750,7 +8750,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "topup"; source: definitions["source"]; @@ -8795,7 +8795,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "transfer"; /** A list of reversals that have been applied to the transfer. */ @@ -8857,7 +8857,7 @@ export interface definitions { /** Unique identifier for the object. */ id: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "transfer_reversal"; /** ID of the refund responsible for the transfer reversal. */ @@ -8941,7 +8941,7 @@ export interface definitions { /** Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ - metadata: { [key: string]: any }; + metadata: { [key: string]: unknown }; /** String representing the object's type. Objects of the same type share the same value. */ object: "webhook_endpoint"; /** The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation. */ @@ -9040,7 +9040,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** Business information about the account. */ business_profile?: { mcc?: string; @@ -9151,7 +9151,7 @@ export interface operations { state?: string; town?: string; }; - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; email?: string; first_name?: string; first_name_kana?: string; @@ -9162,7 +9162,7 @@ export interface operations { last_name_kana?: string; last_name_kanji?: string; maiden_name?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; phone?: string; ssn_last_4?: string; verification?: { @@ -9177,7 +9177,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ requested_capabilities?: ( | "au_becs_debit_payments" @@ -9211,7 +9211,7 @@ export interface operations { payouts?: { debit_negative_balances?: boolean; schedule?: { - delay_days?: { [key: string]: any }; + delay_days?: { [key: string]: unknown }; interval?: "daily" | "manual" | "monthly" | "weekly"; monthly_anchor?: number; weekly_anchor?: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday"; @@ -9273,7 +9273,7 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -9281,7 +9281,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -9355,7 +9355,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; }; @@ -9507,7 +9507,7 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -9515,7 +9515,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -9589,7 +9589,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; }; @@ -9752,7 +9752,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -9776,7 +9776,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -9786,7 +9786,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -9879,7 +9879,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -9903,7 +9903,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -9913,7 +9913,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -10034,7 +10034,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -10058,7 +10058,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -10068,7 +10068,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -10161,7 +10161,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -10185,7 +10185,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -10195,7 +10195,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -10325,7 +10325,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** Business information about the account. */ business_profile?: { mcc?: string; @@ -10438,7 +10438,7 @@ export interface operations { state?: string; town?: string; }; - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; email?: string; first_name?: string; first_name_kana?: string; @@ -10449,7 +10449,7 @@ export interface operations { last_name_kana?: string; last_name_kanji?: string; maiden_name?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; phone?: string; ssn_last_4?: string; verification?: { @@ -10464,7 +10464,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ requested_capabilities?: ( | "au_becs_debit_payments" @@ -10498,7 +10498,7 @@ export interface operations { payouts?: { debit_negative_balances?: boolean; schedule?: { - delay_days?: { [key: string]: any }; + delay_days?: { [key: string]: unknown }; interval?: "daily" | "manual" | "monthly" | "weekly"; monthly_anchor?: number; weekly_anchor?: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday"; @@ -10566,7 +10566,7 @@ export interface operations { /** An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. */ account_token?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** Business information about the account. */ business_profile?: { mcc?: string; @@ -10677,7 +10677,7 @@ export interface operations { state?: string; town?: string; }; - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; email?: string; first_name?: string; first_name_kana?: string; @@ -10688,7 +10688,7 @@ export interface operations { last_name_kana?: string; last_name_kanji?: string; maiden_name?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; phone?: string; ssn_last_4?: string; verification?: { @@ -10703,7 +10703,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The set of capabilities you want to unlock for this account. Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. */ requested_capabilities?: ( | "au_becs_debit_payments" @@ -10737,7 +10737,7 @@ export interface operations { payouts?: { debit_negative_balances?: boolean; schedule?: { - delay_days?: { [key: string]: any }; + delay_days?: { [key: string]: unknown }; interval?: "daily" | "manual" | "monthly" | "weekly"; monthly_anchor?: number; weekly_anchor?: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday"; @@ -10799,7 +10799,7 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -10807,7 +10807,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -10883,7 +10883,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; }; @@ -11047,7 +11047,7 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. */ default_for_currency?: boolean; /** Specifies which fields in the response should be expanded. */ @@ -11055,7 +11055,7 @@ export interface operations { /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ external_account?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -11131,7 +11131,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; }; @@ -11304,7 +11304,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11328,7 +11328,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -11338,7 +11338,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -11432,7 +11432,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11456,7 +11456,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -11466,7 +11466,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -11593,7 +11593,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11617,7 +11617,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -11627,7 +11627,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -11721,7 +11721,7 @@ export interface operations { town?: string; }; /** The person's date of birth. */ - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; /** The person's email address. */ email?: string; /** Specifies which fields in the response should be expanded. */ @@ -11745,7 +11745,7 @@ export interface operations { /** The person's maiden name. */ maiden_name?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. */ person_token?: string; /** The person's phone number. */ @@ -11755,7 +11755,7 @@ export interface operations { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -12009,7 +12009,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -12133,7 +12133,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -12533,7 +12533,7 @@ export interface operations { /** Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire in _seven days_. For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation. */ capture?: boolean; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency?: string; /** The ID of an existing customer that will be charged in this request. */ @@ -12547,7 +12547,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/charges-transfers#on-behalf-of). */ on_behalf_of?: string; /** The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). */ @@ -12636,7 +12636,7 @@ export interface operations { user_report: "" | "fraudulent" | "safe"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address. */ receipt_email?: string; /** Shipping information for the charge. Helps prevent fraud on charges for physical goods. */ @@ -12780,7 +12780,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default). */ submit?: boolean; }; @@ -12845,7 +12845,7 @@ export interface operations { amount?: number; /** Specifies which fields in the response should be expanded. */ expand?: string[]; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; payment_intent?: string; reason?: "duplicate" | "fraudulent" | "requested_by_customer"; refund_application_fee?: boolean; @@ -12914,7 +12914,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; payment_intent?: string; reason?: "duplicate" | "fraudulent" | "requested_by_customer"; refund_application_fee?: boolean; @@ -12968,7 +12968,7 @@ export interface operations { payload?: { /** Specifies which fields in the response should be expanded. */ expand?: string[]; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -13090,7 +13090,7 @@ export interface operations { | "sv" | "zh"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The mode of the Checkout Session, one of `payment`, `setup`, or `subscription`. */ mode?: "payment" | "setup" | "subscription"; /** A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. */ @@ -13098,7 +13098,7 @@ export interface operations { application_fee_amount?: number; capture_method?: "automatic" | "manual"; description?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; on_behalf_of?: string; receipt_email?: string; setup_future_usage?: "off_session" | "on_session"; @@ -13128,7 +13128,7 @@ export interface operations { /** A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode. */ setup_intent_data?: { description?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; on_behalf_of?: string; }; /** When set, provides configuration for Checkout to collect a shipping address from a customer. */ @@ -13389,7 +13389,7 @@ export interface operations { quantity?: number; tax_rates?: string[]; }[]; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; trial_end?: number; trial_from_plan?: boolean; trial_period_days?: number; @@ -13553,7 +13553,7 @@ export interface operations { /** A positive integer specifying the number of times the coupon can be redeemed before it's no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use. */ max_redemptions?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. */ name?: string; /** A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed). */ @@ -13608,7 +13608,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. */ name?: string; }; @@ -13723,7 +13723,7 @@ export interface operations { /** The credit note's memo appears on the credit note PDF. */ memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The integer amount in **%s** representing the amount that is credited outside of Stripe. */ out_of_band_amount?: number; /** Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` */ @@ -13912,7 +13912,7 @@ export interface operations { /** Credit note memo. */ memo?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -13995,7 +13995,7 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** The customer's address. */ - address?: { [key: string]: any }; + address?: { [key: string]: unknown }; /** An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ balance?: number; /** The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. */ @@ -14018,7 +14018,7 @@ export interface operations { footer?: string; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The customer's full name or business name. */ name?: string; /** The sequence to be used on the customer's next invoice. Defaults to 1. */ @@ -14030,7 +14030,7 @@ export interface operations { /** Customer's preferred languages, ordered by preference. */ preferred_locales?: string[]; /** The customer's shipping information. Appears on invoices emailed to this customer. */ - shipping?: { [key: string]: any }; + shipping?: { [key: string]: unknown }; /** * The source can be a [Token](https://stripe.com/docs/api#tokens) or a [Source](https://stripe.com/docs/api#sources), as returned by [Elements](https://stripe.com/docs/elements). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer to be charged automatically for a plan that is not free. * @@ -14119,13 +14119,13 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** The customer's address. */ - address?: { [key: string]: any }; + address?: { [key: string]: unknown }; /** An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. */ balance?: number; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. */ coupon?: string; /** ID of Alipay account to make the customer's new default for invoice payments. */ @@ -14160,7 +14160,7 @@ export interface operations { footer?: string; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The customer's full name or business name. */ name?: string; /** The sequence to be used on the customer's next invoice. Defaults to 1. */ @@ -14170,7 +14170,7 @@ export interface operations { /** Customer's preferred languages, ordered by preference. */ preferred_locales?: string[]; /** The customer's shipping information. Appears on invoices emailed to this customer. */ - shipping?: { [key: string]: any }; + shipping?: { [key: string]: unknown }; /** * The source can be a [Token](https://stripe.com/docs/api#tokens) or a [Source](https://stripe.com/docs/api#sources), as returned by [Elements](https://stripe.com/docs/elements). You must provide a source if the customer does not already have a valid source attached, and you are subscribing the customer to be charged automatically for a plan that is not free. * @@ -14182,7 +14182,7 @@ export interface operations { /** The customer's tax exemption. One of `none`, `exempt`, or `reverse`. */ tax_exempt?: "" | "exempt" | "none" | "reverse"; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; }; }; }; @@ -14270,7 +14270,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -14323,7 +14323,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -14393,13 +14393,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ source?: string; }; @@ -14472,7 +14472,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; owner?: { @@ -14614,13 +14614,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ source?: string; }; @@ -14693,7 +14693,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; owner?: { @@ -14845,13 +14845,13 @@ export interface operations { /** A token returned by [Stripe.js](https://stripe.com/docs/stripe.js) representing the user’s Alipay account details. */ alipay_account?: string; /** Either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary containing a user's bank account details. */ - bank_account?: { [key: string]: any }; + bank_account?: { [key: string]: unknown }; /** A token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js). */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Please refer to full [documentation](https://stripe.com/docs/api) instead. */ source?: string; }; @@ -14924,7 +14924,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Cardholder name. */ name?: string; owner?: { @@ -15061,7 +15061,7 @@ export interface operations { /** A future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. */ billing_cycle_anchor?: number; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ cancel_at?: number; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ @@ -15082,14 +15082,14 @@ export interface operations { expand?: string[]; /** A list of up to 20 subscription items, each with an attached plan. */ items?: { - billing_thresholds?: { [key: string]: any }; - metadata?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; + metadata?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ off_session?: boolean; /** @@ -15101,7 +15101,7 @@ export interface operations { */ payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - pending_invoice_item_interval?: { [key: string]: any }; + pending_invoice_item_interval?: { [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ prorate?: boolean; /** @@ -15111,9 +15111,9 @@ export interface operations { */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - tax_percent?: { [key: string]: any }; + tax_percent?: { [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ trial_from_plan?: boolean; /** Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. */ @@ -15170,9 +15170,9 @@ export interface operations { /** Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ billing_cycle_anchor?: "now" | "unchanged"; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ - cancel_at?: { [key: string]: any }; + cancel_at?: { [key: string]: unknown }; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ cancel_at_period_end?: boolean; /** Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. */ @@ -15191,21 +15191,21 @@ export interface operations { expand?: string[]; /** List of subscription items, each with an attached plan. */ items?: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; clear_usage?: boolean; deleted?: boolean; id?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ off_session?: boolean; /** If specified, payment collection for this subscription will be paused. */ - pause_collection?: { [key: string]: any }; + pause_collection?: { [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -15215,7 +15215,7 @@ export interface operations { */ payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - pending_invoice_item_interval?: { [key: string]: any }; + pending_invoice_item_interval?: { [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ prorate?: boolean; /** @@ -15229,9 +15229,9 @@ export interface operations { /** If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. */ proration_date?: number; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - tax_percent?: { [key: string]: any }; + tax_percent?: { [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ trial_from_plan?: boolean; }; @@ -15562,7 +15562,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default). */ submit?: boolean; }; @@ -15827,7 +15827,7 @@ export interface operations { /** The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `pci_document`, `sigma_scheduled_query`, or `tax_document_user_upload`. */ file: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -15876,9 +15876,9 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately. */ - expires_at?: { [key: string]: any }; + expires_at?: { [key: string]: unknown }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -15947,7 +15947,7 @@ export interface operations { file_link_data?: { create: boolean; expires_at?: number; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; /** The purpose of the uploaded file. Possible values are `additional_verification`, `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `identity_document`, `pci_document`, or `tax_document_user_upload`. */ purpose: @@ -16056,7 +16056,7 @@ export interface operations { /** The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices. */ invoice?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The period associated with this invoice item. */ period?: { end: number; @@ -16126,7 +16126,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The period associated with this invoice item. */ period?: { end: number; @@ -16251,7 +16251,7 @@ export interface operations { /** Footer to be displayed on the invoice. */ footer?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. */ statement_descriptor?: string; /** The ID of the subscription to invoice, if any. If not set, the created invoice will include all pending invoice items for the customer. If set, the created invoice will only include pending invoice items for that subscription and pending invoice items not associated with any subscription. The subscription's billing cycle and regular subscription events won't be affected. */ @@ -16481,11 +16481,11 @@ export interface operations { /** Footer to be displayed on the invoice. */ footer?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. */ statement_descriptor?: string; /** The percent tax rate applied to the invoice, represented as a non-negative decimal number (with at most four decimal places) between 0 and 100. To unset a previously-set value, pass an empty string. This field can be updated only on `draft` invoices. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - tax_percent?: { [key: string]: any }; + tax_percent?: { [key: string]: unknown }; }; }; }; @@ -16836,7 +16836,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -16865,7 +16865,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -16892,7 +16892,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -16992,7 +16992,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The cardholder's name. This will be printed on cards issued to them. */ name: string; /** The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. */ @@ -17960,7 +17960,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The cardholder's phone number. */ phone_number?: string; /** Spending rules that give you some control over how your cards can be used. Refer to our [authorizations](https://stripe.com/docs/issuing/purchases/authorizations) documentation for more details. */ @@ -18917,7 +18917,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The card this is meant to be a replacement for (if any). */ replacement_for?: string; /** If `replacement_for` is specified, this should indicate why that card is being replaced. */ @@ -19867,7 +19867,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Spending rules that give you some control over how your cards can be used. Refer to our [authorizations](https://stripe.com/docs/issuing/purchases/authorizations) documentation for more details. */ spending_controls?: { allowed_categories?: ( @@ -20803,7 +20803,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -20852,7 +20852,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -20936,7 +20936,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -21024,7 +21024,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -21191,7 +21191,7 @@ export interface operations { type?: "discount" | "shipping" | "sku" | "tax"; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true. */ shipping?: { address: { @@ -21255,7 +21255,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The shipping method to select for fulfilling this order. If specified, must be one of the `id`s of a shipping method in the `shipping_methods` array. If specified, will overwrite the existing selected shipping method, updating `items` as necessary. */ selected_shipping_method?: string; /** Tracking information once the order has been fulfilled. */ @@ -21297,7 +21297,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A [Token](https://stripe.com/docs/api#tokens)'s or a [Source](https://stripe.com/docs/api#sources)'s ID, as returned by [Elements](https://stripe.com/docs/elements). If no customer was attached to the order at creation, either `source` or `customer` is required. Otherwise, the specified source will be charged intead of the customer attached to the order. */ source?: string; }; @@ -21436,7 +21436,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -21445,9 +21445,9 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). */ - off_session?: { [key: string]: any }; + off_session?: { [key: string]: unknown }; /** The Stripe account ID for which these funds are intended. For details, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). */ on_behalf_of?: string; /** @@ -21458,7 +21458,7 @@ export interface operations { payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ payment_method_options?: { - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. If this is not provided, defaults to ["card"]. */ payment_method_types?: string[]; @@ -21569,7 +21569,7 @@ export interface operations { /** Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). */ amount?: number; /** The amount of the application fee (if any) for the resulting payment. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. */ - application_fee_amount?: { [key: string]: any }; + application_fee_amount?: { [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency?: string; /** @@ -21585,12 +21585,12 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. */ payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ payment_method_options?: { - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. */ payment_method_types?: string[]; @@ -21607,7 +21607,7 @@ export interface operations { */ setup_future_usage?: "" | "off_session" | "on_session"; /** Shipping information for this PaymentIntent. */ - shipping?: { [key: string]: any }; + shipping?: { [key: string]: unknown }; /** For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must contain at least one letter, maximum 22 characters. */ statement_descriptor?: string; /** Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. */ @@ -21760,7 +21760,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -21769,12 +21769,12 @@ export interface operations { }; }; /** Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). */ - off_session?: { [key: string]: any }; + off_session?: { [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. */ payment_method?: string; /** Payment-method-specific configuration for this PaymentIntent. */ payment_method_options?: { - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; }; /** The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. */ payment_method_types?: string[]; @@ -21797,7 +21797,7 @@ export interface operations { */ setup_future_usage?: "" | "off_session" | "on_session"; /** Shipping information for this PaymentIntent. */ - shipping?: { [key: string]: any }; + shipping?: { [key: string]: unknown }; /** Set to `true` only when using manual confirmation and the iOS or Android SDKs to handle additional authentication steps. */ use_stripe_sdk?: boolean; }; @@ -21877,7 +21877,7 @@ export interface operations { phone?: string; }; /** If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When creating with a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly. */ - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** The `Customer` to whom the original PaymentMethod is attached. */ customer?: string; /** Specifies which fields in the response should be expanded. */ @@ -21923,7 +21923,7 @@ export interface operations { | "van_lanschot"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The PaymentMethod to share. */ payment_method?: string; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ @@ -21999,9 +21999,9 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ - sepa_debit?: { [key: string]: any }; + sepa_debit?: { [key: string]: unknown }; }; }; }; @@ -22142,7 +22142,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces for more information](https://stripe.com/blog/instant-payouts-for-marketplaces).) */ method?: "instant" | "standard"; /** The balance type of your Stripe balance to draw this payout from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. One of `bank_account`, `card`, or `fpx`. */ @@ -22197,7 +22197,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -22303,14 +22303,14 @@ export interface operations { /** The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). */ interval_count?: number; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ nickname?: string; /** The product whose pricing the created plan will represent. This can either be the ID of an existing product, or a dictionary containing fields used to create a [service product](https://stripe.com/docs/api#product_object-type). */ product?: { active?: boolean; id?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; name: string; statement_descriptor?: string; unit_label?: string; @@ -22321,7 +22321,7 @@ export interface operations { flat_amount_decimal?: string; unit_amount?: number; unit_amount_decimal?: string; - up_to: { [key: string]: any }; + up_to: { [key: string]: unknown }; }[]; /** Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows. */ tiers_mode?: "graduated" | "volume"; @@ -22384,7 +22384,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A brief description of the plan, hidden from customers. */ nickname?: string; /** The product the plan belongs to. Note that after updating, statement descriptors and line items of the plan in active subscriptions will be affected. */ @@ -22491,7 +22491,7 @@ export interface operations { /** A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ images?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ name: string; /** The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if type=`good`. */ @@ -22576,11 +22576,11 @@ export interface operations { /** A list of up to 8 URLs of images for this product, meant to be displayable to the customer. */ images?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. */ name?: string; /** The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if `type=good`. */ - package_dimensions?: { [key: string]: any }; + package_dimensions?: { [key: string]: unknown }; /** Whether this product is shipped (i.e., physical goods). Defaults to `true`. May only be set if `type=good`. */ shippable?: boolean; /** @@ -22849,7 +22849,7 @@ export interface operations { | "ip_address" | "string"; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The human-readable name of the value list. */ name: string; }; @@ -22902,7 +22902,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The human-readable name of the value list. */ name?: string; }; @@ -22994,7 +22994,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The recipient's full, legal name. For type `individual`, should be in the format `First Last`, `First Middle Last`, or `First M Last` (no prefixes or suffixes). For `corporation`, the full, incorporated name. */ name: string; /** The recipient's tax ID, as a string. For type `individual`, the full SSN; for type `corporation`, the full EIN. */ @@ -23065,7 +23065,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The recipient's full, legal name. For type `individual`, should be in the format `First Last`, `First Middle Last`, or `First M Last` (no prefixes or suffixes). For `corporation`, the full, incorporated name. */ name?: string; /** The recipient's tax ID, as a string. For type `individual`, the full SSN; for type `corporation`, the full EIN. */ @@ -23151,7 +23151,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; payment_intent?: string; reason?: "duplicate" | "fraudulent" | "requested_by_customer"; refund_application_fee?: boolean; @@ -23208,7 +23208,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -24135,7 +24135,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -24144,7 +24144,7 @@ export interface operations { }; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The Stripe account ID for which this SetupIntent is created. */ on_behalf_of?: string; /** ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. */ @@ -24230,7 +24230,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. */ payment_method?: string; /** Payment-method-specific configuration for this SetupIntent. */ @@ -24317,7 +24317,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -24460,7 +24460,7 @@ export interface operations { /** Whether the SKU is available for purchase. Default to `true`. */ active?: boolean; /** A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. */ - attributes?: { [key: string]: any }; + attributes?: { [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency: string; /** Specifies which fields in the response should be expanded. */ @@ -24476,7 +24476,7 @@ export interface operations { value?: "" | "in_stock" | "limited" | "out_of_stock"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The dimensions of this SKU for shipping purposes. */ package_dimensions?: { height: number; @@ -24540,7 +24540,7 @@ export interface operations { /** Whether this SKU is available for purchase. */ active?: boolean; /** A dictionary of attributes and values for the attributes defined by the product. When specified, `attributes` will partially update the existing attributes dictionary on the product, with the postcondition that a value must be present for each attribute key on the product. */ - attributes?: { [key: string]: any }; + attributes?: { [key: string]: unknown }; /** Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency?: string; /** Specifies which fields in the response should be expanded. */ @@ -24554,9 +24554,9 @@ export interface operations { value?: "" | "in_stock" | "limited" | "out_of_stock"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The dimensions of this SKU for shipping purposes. */ - package_dimensions?: { [key: string]: any }; + package_dimensions?: { [key: string]: unknown }; /** The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). */ price?: number; /** The ID of the product that this SKU should belong to. The product must exist, have the same set of attribute names as the SKU's current product, and be of type `good`. */ @@ -24626,13 +24626,13 @@ export interface operations { type?: "offline" | "online"; user_agent?: string; }; - amount?: { [key: string]: any }; + amount?: { [key: string]: unknown }; currency?: string; interval?: "one_time" | "scheduled" | "variable"; notification_method?: "deprecated_none" | "email" | "manual" | "none" | "stripe_email"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The source to share. */ original_source?: string; /** Information about the owner of the payment instrument that may be used or required by particular source types. */ @@ -24762,13 +24762,13 @@ export interface operations { type?: "offline" | "online"; user_agent?: string; }; - amount?: { [key: string]: any }; + amount?: { [key: string]: unknown }; currency?: string; interval?: "one_time" | "scheduled" | "variable"; notification_method?: "deprecated_none" | "email" | "manual" | "none" | "stripe_email"; }; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Information about the owner of the payment instrument that may be used or required by particular source types. */ owner?: { address?: { @@ -24973,11 +24973,11 @@ export interface operations { /** Body parameters for the request. */ payload: { /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -25052,11 +25052,11 @@ export interface operations { /** Body parameters for the request. */ payload?: { /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ off_session?: boolean; /** @@ -25270,7 +25270,7 @@ export interface operations { customer?: string; /** Object representing the subscription schedule's default settings. */ default_settings?: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; collection_method?: "charge_automatically" | "send_invoice"; default_payment_method?: string; invoice_settings?: { @@ -25284,11 +25284,11 @@ export interface operations { /** Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's plan(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls. */ from_subscription?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. */ phases?: { application_fee_percent?: number; - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; collection_method?: "charge_automatically" | "send_invoice"; coupon?: string; default_payment_method?: string; @@ -25299,7 +25299,7 @@ export interface operations { }; iterations?: number; plans: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; @@ -25310,7 +25310,7 @@ export interface operations { trial_end?: number; }[]; /** When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. */ - start_date?: { [key: string]: any }; + start_date?: { [key: string]: unknown }; }; }; }; @@ -25358,7 +25358,7 @@ export interface operations { payload?: { /** Object representing the subscription schedule's default settings. */ default_settings?: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; collection_method?: "charge_automatically" | "send_invoice"; default_payment_method?: string; invoice_settings?: { @@ -25370,31 +25370,31 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted. */ phases?: { application_fee_percent?: number; - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; collection_method?: "charge_automatically" | "send_invoice"; coupon?: string; default_payment_method?: string; default_tax_rates?: string[]; - end_date?: { [key: string]: any }; + end_date?: { [key: string]: unknown }; invoice_settings?: { days_until_due?: number; }; iterations?: number; plans: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; }[]; proration_behavior?: "always_invoice" | "create_prorations" | "none"; - start_date?: { [key: string]: any }; + start_date?: { [key: string]: unknown }; tax_percent?: number; trial?: boolean; - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; }[]; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ prorate?: boolean; @@ -25527,7 +25527,7 @@ export interface operations { /** A future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. */ billing_cycle_anchor?: number; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ cancel_at?: number; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ @@ -25550,14 +25550,14 @@ export interface operations { expand?: string[]; /** A list of up to 20 subscription items, each with an attached plan. */ items?: { - billing_thresholds?: { [key: string]: any }; - metadata?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; + metadata?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ off_session?: boolean; /** @@ -25569,7 +25569,7 @@ export interface operations { */ payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - pending_invoice_item_interval?: { [key: string]: any }; + pending_invoice_item_interval?: { [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ prorate?: boolean; /** @@ -25579,9 +25579,9 @@ export interface operations { */ proration_behavior?: "always_invoice" | "create_prorations" | "none"; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - tax_percent?: { [key: string]: any }; + tax_percent?: { [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ trial_from_plan?: boolean; /** Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. */ @@ -25636,9 +25636,9 @@ export interface operations { /** Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). */ billing_cycle_anchor?: "now" | "unchanged"; /** Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. */ - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; /** A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. */ - cancel_at?: { [key: string]: any }; + cancel_at?: { [key: string]: unknown }; /** Boolean indicating whether this subscription should cancel at the end of the current period. */ cancel_at_period_end?: boolean; /** Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. */ @@ -25657,21 +25657,21 @@ export interface operations { expand?: string[]; /** List of subscription items, each with an attached plan. */ items?: { - billing_thresholds?: { [key: string]: any }; + billing_thresholds?: { [key: string]: unknown }; clear_usage?: boolean; deleted?: boolean; id?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; plan?: string; quantity?: number; tax_rates?: string[]; }[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Indicates if a customer is on or off-session while an invoice payment is attempted. */ off_session?: boolean; /** If specified, payment collection for this subscription will be paused. */ - pause_collection?: { [key: string]: any }; + pause_collection?: { [key: string]: unknown }; /** * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. * @@ -25681,7 +25681,7 @@ export interface operations { */ payment_behavior?: "allow_incomplete" | "error_if_incomplete" | "pending_if_incomplete"; /** Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. */ - pending_invoice_item_interval?: { [key: string]: any }; + pending_invoice_item_interval?: { [key: string]: unknown }; /** This field has been renamed to `proration_behavior`. `prorate=true` can be replaced with `proration_behavior=create_prorations` and `prorate=false` can be replaced with `proration_behavior=none`. */ prorate?: boolean; /** @@ -25695,9 +25695,9 @@ export interface operations { /** If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. */ proration_date?: number; /** A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the [migration docs](https://stripe.com/docs/billing/migration/taxes) for `tax_rates`. */ - tax_percent?: { [key: string]: any }; + tax_percent?: { [key: string]: unknown }; /** Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. */ - trial_end?: { [key: string]: any }; + trial_end?: { [key: string]: unknown }; /** Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. */ trial_from_plan?: boolean; }; @@ -25825,7 +25825,7 @@ export interface operations { /** The jurisdiction for the tax rate. */ jurisdiction?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** This represents the tax rate percent out of 100. */ percentage: number; }; @@ -25884,7 +25884,7 @@ export interface operations { /** The jurisdiction for the tax rate. */ jurisdiction?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -25976,7 +25976,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -26036,7 +26036,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -26122,7 +26122,7 @@ export interface operations { /** The location to assign the reader to. If no location is specified, the reader will be assigned to the account's default location. */ location?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** A code generated by the reader used for registering to an account. */ registration_code: string; }; @@ -26175,7 +26175,7 @@ export interface operations { /** The new label of the reader. */ label?: string; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -26308,7 +26308,7 @@ export interface operations { state?: string; town?: string; }; - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; email?: string; first_name?: string; first_name_kana?: string; @@ -26319,7 +26319,7 @@ export interface operations { last_name_kana?: string; last_name_kanji?: string; maiden_name?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; phone?: string; ssn_last_4?: string; verification?: { @@ -26344,7 +26344,7 @@ export interface operations { currency?: string; routing_number?: string; }; - card?: { [key: string]: any }; + card?: { [key: string]: unknown }; /** The customer (owned by the application's account) for which to create a token. This can be used only with an [OAuth access token](https://stripe.com/docs/connect/standard-accounts) or [Stripe-Account header](https://stripe.com/docs/connect/authentication). For more details, see [Cloning Saved Payment Methods](https://stripe.com/docs/connect/cloning-saved-payment-methods). */ customer?: string; /** Specifies which fields in the response should be expanded. */ @@ -26377,7 +26377,7 @@ export interface operations { state?: string; town?: string; }; - dob?: { [key: string]: any }; + dob?: { [key: string]: unknown }; email?: string; first_name?: string; first_name_kana?: string; @@ -26388,13 +26388,13 @@ export interface operations { last_name_kana?: string; last_name_kanji?: string; maiden_name?: string; - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; phone?: string; relationship?: { director?: boolean; executive?: boolean; owner?: boolean; - percent_ownership?: { [key: string]: any }; + percent_ownership?: { [key: string]: unknown }; representative?: boolean; title?: string; }; @@ -26504,7 +26504,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://stripe.com/docs/connect/testing#testing-top-ups)). */ source?: string; /** Extra information about a top-up for the source's bank statement. Limited to 15 ASCII characters. */ @@ -26561,7 +26561,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -26657,7 +26657,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. [See the Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-availability) for details. */ source_transaction?: string; /** The source balance to use for this transfer. One of `bank_account`, `card`, or `fpx`. For most users, this will default to `card`. */ @@ -26737,7 +26737,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** Boolean indicating whether the application fee should be refunded when reversing this transfer. If a full transfer reversal is given, the full application fee will be refunded. Otherwise, the application fee will be refunded with an amount proportional to the amount of the transfer reversed. */ refund_application_fee?: boolean; }; @@ -26794,7 +26794,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -26849,7 +26849,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; }; }; }; @@ -27159,7 +27159,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The URL of the webhook endpoint. */ url: string; }; @@ -27366,7 +27366,7 @@ export interface operations { /** Specifies which fields in the response should be expanded. */ expand?: string[]; /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ - metadata?: { [key: string]: any }; + metadata?: { [key: string]: unknown }; /** The URL of the webhook endpoint. */ url?: string; }; diff --git a/tests/v3/expected/github.additional.ts b/tests/v3/expected/github.additional.ts index 7e29b54b7..39ad70ca3 100644 --- a/tests/v3/expected/github.additional.ts +++ b/tests/v3/expected/github.additional.ts @@ -5732,7 +5732,7 @@ export interface components { token: string; /** The time this token expires */ expires_at: string; - permissions?: { [key: string]: any }; + permissions?: { [key: string]: unknown }; /** The repositories this token has access to */ repositories?: components["schemas"]["repository"][]; single_file?: string | null; @@ -6025,8 +6025,8 @@ export interface components { comments_url: string; owner?: (components["schemas"]["simple-user"] & { [key: string]: any }) | null; truncated?: boolean; - forks?: { [key: string]: any }[]; - history?: { [key: string]: any }[]; + forks?: { [key: string]: unknown }[]; + history?: { [key: string]: unknown }[]; } & { [key: string]: any }; /** Gist Simple */ "gist-simple": { @@ -6578,7 +6578,7 @@ export interface components { updated_at: string; node_id: string; archive_url?: string; - exclude?: { [key: string]: any }[]; + exclude?: { [key: string]: unknown }[]; } & { [key: string]: any }; /** A software package */ package: { @@ -6619,7 +6619,7 @@ export interface components { docker?: { tag?: any[]; } & { - tags: any; + tags: unknown; } & { [key: string]: any }; } & { [key: string]: any }; } & { [key: string]: any }; @@ -7251,7 +7251,7 @@ export interface components { ref: string; /** Parameter to specify a task to execute */ task: string; - payload: { [key: string]: any }; + payload: { [key: string]: unknown }; original_environment?: string; /** Name for the target deployment environment. */ environment: string; @@ -8126,8 +8126,8 @@ export interface components { self: string; } & { [key: string]: any }; } & { - content: any; - encoding: any; + content: unknown; + encoding: unknown; } & { [key: string]: any }; /** A list of directory items */ "content-directory": ({ @@ -9471,7 +9471,7 @@ export interface components { operations?: ({ op: "add" | "remove" | "replace"; path?: string; - value?: (string | { [key: string]: any } | { [key: string]: any }[]) & { [key: string]: any }; + value?: (string | { [key: string]: unknown } | { [key: string]: unknown }[]) & { [key: string]: any }; } & { [key: string]: any })[]; /** associated groups */ groups?: ({ @@ -9894,8 +9894,8 @@ export interface components { primary_key_id?: number; key_id?: string; public_key?: string; - emails?: { [key: string]: any }[]; - subkeys?: { [key: string]: any }[]; + emails?: { [key: string]: unknown }[]; + subkeys?: { [key: string]: unknown }[]; can_sign?: boolean; can_encrypt_comms?: boolean; can_encrypt_storage?: boolean; @@ -12244,7 +12244,7 @@ export interface operations { /** Description of the gist */ description?: string; /** Names of files to be updated */ - files?: { [key: string]: Partial<{ [key: string]: any }> }; + files?: { [key: string]: Partial<{ [key: string]: unknown }> }; } & { [key: string]: any }) | null; }; @@ -12464,7 +12464,7 @@ export interface operations { /** Response if gist is not starred */ 404: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; }; @@ -17009,7 +17009,7 @@ export interface operations { /** response */ 201: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; 304: components["responses"]["not_modified"]; @@ -17220,7 +17220,7 @@ export interface operations { /** response */ 201: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; 304: components["responses"]["not_modified"]; @@ -19816,7 +19816,7 @@ export interface operations { { status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { [key: string]: any } > & Partial< @@ -19954,7 +19954,7 @@ export interface operations { { status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { [key: string]: any } > & Partial< @@ -27217,7 +27217,7 @@ export interface operations { /** The SCIM schema URIs. */ schemas: string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { [key: string]: any }[]; + Operations: { [key: string]: unknown }[]; } & { [key: string]: any }; }; }; @@ -27449,7 +27449,7 @@ export interface operations { /** The SCIM schema URIs. */ schemas: string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { [key: string]: any }[]; + Operations: { [key: string]: unknown }[]; } & { [key: string]: any }; }; }; diff --git a/tests/v3/expected/github.immutable.ts b/tests/v3/expected/github.immutable.ts index 3faad0215..57672099c 100644 --- a/tests/v3/expected/github.immutable.ts +++ b/tests/v3/expected/github.immutable.ts @@ -5726,7 +5726,7 @@ export interface components { readonly token: string; /** The time this token expires */ readonly expires_at: string; - readonly permissions?: { readonly [key: string]: any }; + readonly permissions?: { readonly [key: string]: unknown }; /** The repositories this token has access to */ readonly repositories?: readonly components["schemas"]["repository"][]; readonly single_file?: string | null; @@ -6019,8 +6019,8 @@ export interface components { readonly comments_url: string; readonly owner?: components["schemas"]["simple-user"] | null; readonly truncated?: boolean; - readonly forks?: readonly { readonly [key: string]: any }[]; - readonly history?: readonly { readonly [key: string]: any }[]; + readonly forks?: readonly { readonly [key: string]: unknown }[]; + readonly history?: readonly { readonly [key: string]: unknown }[]; }; /** Gist Simple */ readonly "gist-simple": { @@ -6564,7 +6564,7 @@ export interface components { readonly updated_at: string; readonly node_id: string; readonly archive_url?: string; - readonly exclude?: readonly { readonly [key: string]: any }[]; + readonly exclude?: readonly { readonly [key: string]: unknown }[]; }; /** A software package */ readonly package: { @@ -6605,7 +6605,7 @@ export interface components { readonly docker?: { readonly tag?: readonly any[]; } & { - tags: any; + tags: unknown; }; }; }; @@ -7232,7 +7232,7 @@ export interface components { readonly ref: string; /** Parameter to specify a task to execute */ readonly task: string; - readonly payload: { readonly [key: string]: any }; + readonly payload: { readonly [key: string]: unknown }; readonly original_environment?: string; /** Name for the target deployment environment. */ readonly environment: string; @@ -8103,8 +8103,8 @@ export interface components { readonly self: string; }; } & { - content: any; - encoding: any; + content: unknown; + encoding: unknown; }; /** A list of directory items */ readonly "content-directory": readonly { @@ -9436,7 +9436,7 @@ export interface components { readonly operations?: readonly { readonly op: "add" | "remove" | "replace"; readonly path?: string; - readonly value?: string | { readonly [key: string]: any } | readonly { readonly [key: string]: any }[]; + readonly value?: string | { readonly [key: string]: unknown } | readonly { readonly [key: string]: unknown }[]; }[]; /** associated groups */ readonly groups?: readonly { @@ -9859,8 +9859,8 @@ export interface components { readonly primary_key_id?: number; readonly key_id?: string; readonly public_key?: string; - readonly emails?: readonly { readonly [key: string]: any }[]; - readonly subkeys?: readonly { readonly [key: string]: any }[]; + readonly emails?: readonly { readonly [key: string]: unknown }[]; + readonly subkeys?: readonly { readonly [key: string]: unknown }[]; readonly can_sign?: boolean; readonly can_encrypt_comms?: boolean; readonly can_encrypt_storage?: boolean; @@ -12208,7 +12208,7 @@ export interface operations { /** Description of the gist */ readonly description?: string; /** Names of files to be updated */ - readonly files?: { readonly [key: string]: Partial<{ readonly [key: string]: any }> }; + readonly files?: { readonly [key: string]: Partial<{ readonly [key: string]: unknown }> }; } | null; }; }; @@ -12427,7 +12427,7 @@ export interface operations { /** Response if gist is not starred */ readonly 404: { readonly content: { - readonly "application/json": { readonly [key: string]: any }; + readonly "application/json": { readonly [key: string]: unknown }; }; }; }; @@ -16969,7 +16969,7 @@ export interface operations { /** response */ readonly 201: { readonly content: { - readonly "application/json": { readonly [key: string]: any }; + readonly "application/json": { readonly [key: string]: unknown }; }; }; readonly 304: components["responses"]["not_modified"]; @@ -17178,7 +17178,7 @@ export interface operations { /** response */ readonly 201: { readonly content: { - readonly "application/json": { readonly [key: string]: any }; + readonly "application/json": { readonly [key: string]: unknown }; }; }; readonly 304: components["responses"]["not_modified"]; @@ -19768,7 +19768,7 @@ export interface operations { { readonly status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { readonly [key: string]: any } > & Partial< @@ -19906,7 +19906,7 @@ export interface operations { { readonly status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { readonly [key: string]: any } > & Partial< @@ -27160,7 +27160,7 @@ export interface operations { /** The SCIM schema URIs. */ readonly schemas: readonly string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - readonly Operations: readonly { readonly [key: string]: any }[]; + readonly Operations: readonly { readonly [key: string]: unknown }[]; }; }; }; @@ -27392,7 +27392,7 @@ export interface operations { /** The SCIM schema URIs. */ readonly schemas: readonly string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - readonly Operations: readonly { readonly [key: string]: any }[]; + readonly Operations: readonly { readonly [key: string]: unknown }[]; }; }; }; diff --git a/tests/v3/expected/github.ts b/tests/v3/expected/github.ts index 1726db6b7..ddb16bd9d 100644 --- a/tests/v3/expected/github.ts +++ b/tests/v3/expected/github.ts @@ -5724,7 +5724,7 @@ export interface components { token: string; /** The time this token expires */ expires_at: string; - permissions?: { [key: string]: any }; + permissions?: { [key: string]: unknown }; /** The repositories this token has access to */ repositories?: components["schemas"]["repository"][]; single_file?: string | null; @@ -6017,8 +6017,8 @@ export interface components { comments_url: string; owner?: components["schemas"]["simple-user"] | null; truncated?: boolean; - forks?: { [key: string]: any }[]; - history?: { [key: string]: any }[]; + forks?: { [key: string]: unknown }[]; + history?: { [key: string]: unknown }[]; }; /** Gist Simple */ "gist-simple": { @@ -6562,7 +6562,7 @@ export interface components { updated_at: string; node_id: string; archive_url?: string; - exclude?: { [key: string]: any }[]; + exclude?: { [key: string]: unknown }[]; }; /** A software package */ package: { @@ -6603,7 +6603,7 @@ export interface components { docker?: { tag?: any[]; } & { - tags: any; + tags: unknown; }; }; }; @@ -7229,7 +7229,7 @@ export interface components { ref: string; /** Parameter to specify a task to execute */ task: string; - payload: { [key: string]: any }; + payload: { [key: string]: unknown }; original_environment?: string; /** Name for the target deployment environment. */ environment: string; @@ -8100,8 +8100,8 @@ export interface components { self: string; }; } & { - content: any; - encoding: any; + content: unknown; + encoding: unknown; }; /** A list of directory items */ "content-directory": { @@ -9432,7 +9432,7 @@ export interface components { operations?: { op: "add" | "remove" | "replace"; path?: string; - value?: string | { [key: string]: any } | { [key: string]: any }[]; + value?: string | { [key: string]: unknown } | { [key: string]: unknown }[]; }[]; /** associated groups */ groups?: { @@ -9855,8 +9855,8 @@ export interface components { primary_key_id?: number; key_id?: string; public_key?: string; - emails?: { [key: string]: any }[]; - subkeys?: { [key: string]: any }[]; + emails?: { [key: string]: unknown }[]; + subkeys?: { [key: string]: unknown }[]; can_sign?: boolean; can_encrypt_comms?: boolean; can_encrypt_storage?: boolean; @@ -12204,7 +12204,7 @@ export interface operations { /** Description of the gist */ description?: string; /** Names of files to be updated */ - files?: { [key: string]: Partial<{ [key: string]: any }> }; + files?: { [key: string]: Partial<{ [key: string]: unknown }> }; } | null; }; }; @@ -12423,7 +12423,7 @@ export interface operations { /** Response if gist is not starred */ 404: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; }; @@ -16965,7 +16965,7 @@ export interface operations { /** response */ 201: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; 304: components["responses"]["not_modified"]; @@ -17174,7 +17174,7 @@ export interface operations { /** response */ 201: { content: { - "application/json": { [key: string]: any }; + "application/json": { [key: string]: unknown }; }; }; 304: components["responses"]["not_modified"]; @@ -19764,7 +19764,7 @@ export interface operations { { status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { [key: string]: any } > & Partial< @@ -19902,7 +19902,7 @@ export interface operations { { status?: "completed"; } & { - conclusion: any; + conclusion: unknown; } & { [key: string]: any } > & Partial< @@ -27156,7 +27156,7 @@ export interface operations { /** The SCIM schema URIs. */ schemas: string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { [key: string]: any }[]; + Operations: { [key: string]: unknown }[]; }; }; }; @@ -27388,7 +27388,7 @@ export interface operations { /** The SCIM schema URIs. */ schemas: string[]; /** Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). */ - Operations: { [key: string]: any }[]; + Operations: { [key: string]: unknown }[]; }; }; }; diff --git a/tests/v3/expected/stripe.additional.ts b/tests/v3/expected/stripe.additional.ts index 78c565ea9..04ee59472 100644 --- a/tests/v3/expected/stripe.additional.ts +++ b/tests/v3/expected/stripe.additional.ts @@ -2226,7 +2226,7 @@ export interface components { /** If the card number is tokenized, this is the method that was used. Can be `amex_express_checkout`, `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ tokenization_method?: string | null; } & { [key: string]: any }; - card_mandate_payment_method_details: { [key: string]: any }; + card_mandate_payment_method_details: { [key: string]: unknown }; /** * To charge a credit or a debit card, you create a `Charge` object. You can * retrieve and refund individual charges as well as list all charges. Charges @@ -6041,7 +6041,7 @@ export interface components { /** The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. */ front?: ((Partial & Partial) & { [key: string]: any }) | null; } & { [key: string]: any }; - light_account_logout: { [key: string]: any }; + light_account_logout: { [key: string]: unknown }; line_item: { /** The amount, in %s. */ amount: number; @@ -6110,7 +6110,7 @@ export interface components { /** The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. */ url: string; } & { [key: string]: any }; - mandate_multi_use: { [key: string]: any }; + mandate_multi_use: { [key: string]: unknown }; mandate_payment_method_details: { au_becs_debit?: components["schemas"]["mandate_au_becs_debit"]; card?: components["schemas"]["card_mandate_payment_method_details"]; @@ -6132,9 +6132,9 @@ export interface components { } & { [key: string]: any }; notification_event_data: { /** Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. */ - object: { [key: string]: any }; + object: { [key: string]: unknown }; /** Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). */ - previous_attributes?: { [key: string]: any }; + previous_attributes?: { [key: string]: unknown }; } & { [key: string]: any }; notification_event_request: { /** ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. */ @@ -6142,7 +6142,7 @@ export interface components { /** The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. */ idempotency_key?: string | null; } & { [key: string]: any }; - offline_acceptance: { [key: string]: any }; + offline_acceptance: { [key: string]: unknown }; online_acceptance: { /** The IP address from which the Mandate was accepted by the customer. */ ip_address?: string | null; @@ -6418,7 +6418,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; } & { [key: string]: any }; payment_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -6521,7 +6521,7 @@ export interface components { | (Partial & { [key: string]: any }) | null; } & { [key: string]: any }; - payment_method_card_present: { [key: string]: any }; + payment_method_card_present: { [key: string]: unknown }; payment_method_card_wallet: { amex_express_checkout?: components["schemas"]["payment_method_card_wallet_amex_express_checkout"]; apple_pay?: components["schemas"]["payment_method_card_wallet_apple_pay"]; @@ -6534,9 +6534,9 @@ export interface components { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: components["schemas"]["payment_method_card_wallet_visa_checkout"]; } & { [key: string]: any }; - payment_method_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_card_wallet_apple_pay: { [key: string]: any }; - payment_method_card_wallet_google_pay: { [key: string]: any }; + payment_method_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_card_wallet_google_pay: { [key: string]: unknown }; payment_method_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: (Partial & { [key: string]: any }) | null; @@ -6547,7 +6547,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ shipping_address?: (Partial & { [key: string]: any }) | null; } & { [key: string]: any }; - payment_method_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: (Partial & { [key: string]: any }) | null; @@ -6608,7 +6608,7 @@ export interface components { /** Routing transit number of the bank account. */ routing_number?: string | null; } & { [key: string]: any }; - payment_method_details_alipay: { [key: string]: any }; + payment_method_details_alipay: { [key: string]: unknown }; payment_method_details_au_becs_debit: { /** Bank-State-Branch number of the bank account. */ bsb_number?: string | null; @@ -6756,9 +6756,9 @@ export interface components { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: components["schemas"]["payment_method_details_card_wallet_visa_checkout"]; } & { [key: string]: any }; - payment_method_details_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_details_card_wallet_apple_pay: { [key: string]: any }; - payment_method_details_card_wallet_google_pay: { [key: string]: any }; + payment_method_details_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_details_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_details_card_wallet_google_pay: { [key: string]: unknown }; payment_method_details_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: (Partial & { [key: string]: any }) | null; @@ -6769,7 +6769,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ shipping_address?: (Partial & { [key: string]: any }) | null; } & { [key: string]: any }; - payment_method_details_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_details_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_details_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: (Partial & { [key: string]: any }) | null; @@ -6869,7 +6869,7 @@ export interface components { */ verified_name?: string | null; } & { [key: string]: any }; - payment_method_details_klarna: { [key: string]: any }; + payment_method_details_klarna: { [key: string]: unknown }; payment_method_details_multibanco: { /** Entity number associated with this Multibanco payment. */ entity?: string | null; @@ -6916,8 +6916,8 @@ export interface components { */ verified_name?: string | null; } & { [key: string]: any }; - payment_method_details_stripe_account: { [key: string]: any }; - payment_method_details_wechat: { [key: string]: any }; + payment_method_details_stripe_account: { [key: string]: unknown }; + payment_method_details_wechat: { [key: string]: unknown }; payment_method_fpx: { /** The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. */ bank: @@ -7978,7 +7978,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; } & { [key: string]: any }; setup_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -9384,7 +9384,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9412,7 +9412,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9750,7 +9750,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9836,7 +9836,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9872,7 +9872,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9903,7 +9903,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9980,7 +9980,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10055,7 +10055,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10141,7 +10141,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10252,7 +10252,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10395,7 +10395,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10539,7 +10539,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10588,7 +10588,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10731,7 +10731,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10875,7 +10875,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10961,7 +10961,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11231,7 +11231,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11502,7 +11502,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11583,7 +11583,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11671,7 +11671,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11710,7 +11710,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11742,7 +11742,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11823,7 +11823,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11904,7 +11904,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11992,7 +11992,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12114,7 +12114,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12262,7 +12262,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12407,7 +12407,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12459,7 +12459,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12607,7 +12607,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12752,7 +12752,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12831,7 +12831,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12888,7 +12888,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12915,7 +12915,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12968,7 +12968,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13000,7 +13000,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13068,7 +13068,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13145,7 +13145,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13220,7 +13220,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13292,7 +13292,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13327,7 +13327,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13399,7 +13399,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13434,7 +13434,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13511,7 +13511,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13542,7 +13542,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13590,7 +13590,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13636,7 +13636,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13693,7 +13693,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13822,7 +13822,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13964,7 +13964,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14151,7 +14151,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14220,7 +14220,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14298,7 +14298,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14728,7 +14728,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14770,7 +14770,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14801,7 +14801,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14853,7 +14853,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14933,7 +14933,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14994,7 +14994,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15040,7 +15040,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15166,7 +15166,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15238,7 +15238,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15284,7 +15284,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15315,7 +15315,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15432,7 +15432,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15580,7 +15580,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15751,7 +15751,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15797,7 +15797,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15867,7 +15867,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15948,7 +15948,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16054,7 +16054,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16238,7 +16238,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16344,7 +16344,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16476,7 +16476,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16503,7 +16503,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16555,7 +16555,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16661,7 +16661,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16842,7 +16842,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16983,7 +16983,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17176,7 +17176,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17204,7 +17204,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17250,7 +17250,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17339,7 +17339,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17367,7 +17367,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17422,7 +17422,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17453,7 +17453,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17671,7 +17671,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17702,7 +17702,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17744,7 +17744,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17775,7 +17775,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17830,7 +17830,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17892,7 +17892,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17989,7 +17989,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18067,7 +18067,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18124,7 +18124,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18209,7 +18209,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18287,7 +18287,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18355,7 +18355,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18523,7 +18523,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18637,7 +18637,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18668,7 +18668,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18766,7 +18766,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18844,7 +18844,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19026,7 +19026,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19061,7 +19061,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19119,7 +19119,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19150,7 +19150,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19308,7 +19308,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -20285,7 +20285,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -21296,7 +21296,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -22257,7 +22257,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23212,7 +23212,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23270,7 +23270,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23354,7 +23354,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23385,7 +23385,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23473,7 +23473,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23504,7 +23504,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23567,7 +23567,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23621,7 +23621,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23652,7 +23652,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23751,7 +23751,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23839,7 +23839,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24017,7 +24017,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24086,7 +24086,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -24210,7 +24210,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24488,7 +24488,7 @@ export interface operations { { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -24618,7 +24618,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24759,7 +24759,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24811,7 +24811,7 @@ export interface operations { /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: (Partial<{ [key: string]: string }> & Partial<"">) & { [key: string]: any }; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ - sepa_debit?: { [key: string]: any }; + sepa_debit?: { [key: string]: unknown }; }; }; }; @@ -24950,7 +24950,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25028,7 +25028,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25146,7 +25146,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25254,7 +25254,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25321,7 +25321,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25383,7 +25383,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25479,7 +25479,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25575,7 +25575,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25619,7 +25619,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25654,7 +25654,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25709,7 +25709,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25769,7 +25769,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25796,7 +25796,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25851,7 +25851,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25922,7 +25922,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25985,7 +25985,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26039,7 +26039,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26115,7 +26115,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26194,7 +26194,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26249,7 +26249,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26313,7 +26313,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26400,7 +26400,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27094,7 +27094,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27130,7 +27130,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27161,7 +27161,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27212,7 +27212,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27243,7 +27243,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27329,7 +27329,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27373,7 +27373,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -27443,7 +27443,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27580,7 +27580,7 @@ export interface operations { { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -27656,7 +27656,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27687,7 +27687,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27739,7 +27739,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27825,7 +27825,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27916,7 +27916,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28061,7 +28061,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28192,7 +28192,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28237,7 +28237,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28269,7 +28269,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28345,7 +28345,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28438,7 +28438,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28596,7 +28596,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28726,7 +28726,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28842,7 +28842,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29083,7 +29083,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29220,7 +29220,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29407,7 +29407,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29463,7 +29463,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29533,7 +29533,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29642,7 +29642,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29711,7 +29711,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29781,7 +29781,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29830,7 +29830,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29894,7 +29894,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29955,7 +29955,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30239,7 +30239,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30303,7 +30303,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30373,7 +30373,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30493,7 +30493,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30580,7 +30580,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30655,7 +30655,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30725,7 +30725,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30804,7 +30804,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -31117,7 +31117,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -31334,7 +31334,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; diff --git a/tests/v3/expected/stripe.immutable.ts b/tests/v3/expected/stripe.immutable.ts index 1d4653648..fd94421e7 100644 --- a/tests/v3/expected/stripe.immutable.ts +++ b/tests/v3/expected/stripe.immutable.ts @@ -2221,7 +2221,7 @@ export interface components { /** If the card number is tokenized, this is the method that was used. Can be `amex_express_checkout`, `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ readonly tokenization_method?: string | null; }; - readonly card_mandate_payment_method_details: { readonly [key: string]: any }; + readonly card_mandate_payment_method_details: { readonly [key: string]: unknown }; /** * To charge a credit or a debit card, you create a `Charge` object. You can * retrieve and refund individual charges as well as list all charges. Charges @@ -5968,7 +5968,7 @@ export interface components { /** The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. */ readonly front?: (Partial & Partial) | null; }; - readonly light_account_logout: { readonly [key: string]: any }; + readonly light_account_logout: { readonly [key: string]: unknown }; readonly line_item: { /** The amount, in %s. */ readonly amount: number; @@ -6037,7 +6037,7 @@ export interface components { /** The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. */ readonly url: string; }; - readonly mandate_multi_use: { readonly [key: string]: any }; + readonly mandate_multi_use: { readonly [key: string]: unknown }; readonly mandate_payment_method_details: { readonly au_becs_debit?: components["schemas"]["mandate_au_becs_debit"]; readonly card?: components["schemas"]["card_mandate_payment_method_details"]; @@ -6059,9 +6059,9 @@ export interface components { }; readonly notification_event_data: { /** Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. */ - readonly object: { readonly [key: string]: any }; + readonly object: { readonly [key: string]: unknown }; /** Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). */ - readonly previous_attributes?: { readonly [key: string]: any }; + readonly previous_attributes?: { readonly [key: string]: unknown }; }; readonly notification_event_request: { /** ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. */ @@ -6069,7 +6069,7 @@ export interface components { /** The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. */ readonly idempotency_key?: string | null; }; - readonly offline_acceptance: { readonly [key: string]: any }; + readonly offline_acceptance: { readonly [key: string]: unknown }; readonly online_acceptance: { /** The IP address from which the Mandate was accepted by the customer. */ readonly ip_address?: string | null; @@ -6339,7 +6339,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ readonly type: string; /** When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - readonly use_stripe_sdk?: { readonly [key: string]: any }; + readonly use_stripe_sdk?: { readonly [key: string]: unknown }; }; readonly payment_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -6436,7 +6436,7 @@ export interface components { /** Transaction-specific details of the payment method used in the payment. */ readonly payment_method_details?: Partial | null; }; - readonly payment_method_card_present: { readonly [key: string]: any }; + readonly payment_method_card_present: { readonly [key: string]: unknown }; readonly payment_method_card_wallet: { readonly amex_express_checkout?: components["schemas"]["payment_method_card_wallet_amex_express_checkout"]; readonly apple_pay?: components["schemas"]["payment_method_card_wallet_apple_pay"]; @@ -6455,9 +6455,9 @@ export interface components { | "visa_checkout"; readonly visa_checkout?: components["schemas"]["payment_method_card_wallet_visa_checkout"]; }; - readonly payment_method_card_wallet_amex_express_checkout: { readonly [key: string]: any }; - readonly payment_method_card_wallet_apple_pay: { readonly [key: string]: any }; - readonly payment_method_card_wallet_google_pay: { readonly [key: string]: any }; + readonly payment_method_card_wallet_amex_express_checkout: { readonly [key: string]: unknown }; + readonly payment_method_card_wallet_apple_pay: { readonly [key: string]: unknown }; + readonly payment_method_card_wallet_google_pay: { readonly [key: string]: unknown }; readonly payment_method_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly billing_address?: Partial | null; @@ -6468,7 +6468,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly shipping_address?: Partial | null; }; - readonly payment_method_card_wallet_samsung_pay: { readonly [key: string]: any }; + readonly payment_method_card_wallet_samsung_pay: { readonly [key: string]: unknown }; readonly payment_method_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly billing_address?: Partial | null; @@ -6529,7 +6529,7 @@ export interface components { /** Routing transit number of the bank account. */ readonly routing_number?: string | null; }; - readonly payment_method_details_alipay: { readonly [key: string]: any }; + readonly payment_method_details_alipay: { readonly [key: string]: unknown }; readonly payment_method_details_au_becs_debit: { /** Bank-State-Branch number of the bank account. */ readonly bsb_number?: string | null; @@ -6677,9 +6677,9 @@ export interface components { | "visa_checkout"; readonly visa_checkout?: components["schemas"]["payment_method_details_card_wallet_visa_checkout"]; }; - readonly payment_method_details_card_wallet_amex_express_checkout: { readonly [key: string]: any }; - readonly payment_method_details_card_wallet_apple_pay: { readonly [key: string]: any }; - readonly payment_method_details_card_wallet_google_pay: { readonly [key: string]: any }; + readonly payment_method_details_card_wallet_amex_express_checkout: { readonly [key: string]: unknown }; + readonly payment_method_details_card_wallet_apple_pay: { readonly [key: string]: unknown }; + readonly payment_method_details_card_wallet_google_pay: { readonly [key: string]: unknown }; readonly payment_method_details_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly billing_address?: Partial | null; @@ -6690,7 +6690,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly shipping_address?: Partial | null; }; - readonly payment_method_details_card_wallet_samsung_pay: { readonly [key: string]: any }; + readonly payment_method_details_card_wallet_samsung_pay: { readonly [key: string]: unknown }; readonly payment_method_details_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ readonly billing_address?: Partial | null; @@ -6790,7 +6790,7 @@ export interface components { */ readonly verified_name?: string | null; }; - readonly payment_method_details_klarna: { readonly [key: string]: any }; + readonly payment_method_details_klarna: { readonly [key: string]: unknown }; readonly payment_method_details_multibanco: { /** Entity number associated with this Multibanco payment. */ readonly entity?: string | null; @@ -6837,8 +6837,8 @@ export interface components { */ readonly verified_name?: string | null; }; - readonly payment_method_details_stripe_account: { readonly [key: string]: any }; - readonly payment_method_details_wechat: { readonly [key: string]: any }; + readonly payment_method_details_stripe_account: { readonly [key: string]: unknown }; + readonly payment_method_details_wechat: { readonly [key: string]: unknown }; readonly payment_method_fpx: { /** The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. */ readonly bank: @@ -7879,7 +7879,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ readonly type: string; /** When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - readonly use_stripe_sdk?: { readonly [key: string]: any }; + readonly use_stripe_sdk?: { readonly [key: string]: unknown }; }; readonly setup_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -9247,7 +9247,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9275,7 +9275,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9614,7 +9614,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9700,7 +9700,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9736,7 +9736,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9767,7 +9767,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9843,7 +9843,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -9916,7 +9916,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10002,7 +10002,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10113,7 +10113,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10254,7 +10254,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10396,7 +10396,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10445,7 +10445,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10586,7 +10586,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10728,7 +10728,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -10812,7 +10812,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11085,7 +11085,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11359,7 +11359,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11438,7 +11438,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11526,7 +11526,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11565,7 +11565,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11597,7 +11597,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11677,7 +11677,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11756,7 +11756,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11844,7 +11844,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -11966,7 +11966,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12112,7 +12112,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12255,7 +12255,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12307,7 +12307,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12453,7 +12453,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12596,7 +12596,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12675,7 +12675,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12732,7 +12732,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12759,7 +12759,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12810,7 +12810,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12842,7 +12842,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12910,7 +12910,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -12987,7 +12987,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13062,7 +13062,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13130,7 +13130,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13165,7 +13165,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13233,7 +13233,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13268,7 +13268,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13345,7 +13345,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13376,7 +13376,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13424,7 +13424,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13470,7 +13470,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13525,7 +13525,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13650,7 +13650,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13792,7 +13792,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -13979,7 +13979,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14048,7 +14048,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14126,7 +14126,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14556,7 +14556,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14598,7 +14598,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14629,7 +14629,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14679,7 +14679,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14759,7 +14759,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14820,7 +14820,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14866,7 +14866,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -14992,7 +14992,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15064,7 +15064,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15110,7 +15110,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15141,7 +15141,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15256,7 +15256,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15400,7 +15400,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15563,7 +15563,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15609,7 +15609,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15679,7 +15679,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15760,7 +15760,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -15862,7 +15862,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16046,7 +16046,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16148,7 +16148,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16280,7 +16280,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16307,7 +16307,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16359,7 +16359,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16461,7 +16461,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16642,7 +16642,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16777,7 +16777,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16962,7 +16962,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -16990,7 +16990,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17036,7 +17036,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17125,7 +17125,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17153,7 +17153,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17206,7 +17206,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17237,7 +17237,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17453,7 +17453,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17484,7 +17484,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17526,7 +17526,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17557,7 +17557,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17610,7 +17610,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17672,7 +17672,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17767,7 +17767,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17845,7 +17845,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17900,7 +17900,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -17985,7 +17985,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18063,7 +18063,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18127,7 +18127,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18293,7 +18293,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18405,7 +18405,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18436,7 +18436,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18534,7 +18534,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18612,7 +18612,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18794,7 +18794,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18829,7 +18829,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18885,7 +18885,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -18916,7 +18916,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -19072,7 +19072,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -20049,7 +20049,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -21058,7 +21058,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -22019,7 +22019,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -22974,7 +22974,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23032,7 +23032,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23114,7 +23114,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23145,7 +23145,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23231,7 +23231,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23262,7 +23262,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23325,7 +23325,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23377,7 +23377,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23408,7 +23408,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23497,7 +23497,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23585,7 +23585,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23761,7 +23761,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -23830,7 +23830,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -23950,7 +23950,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24221,7 +24221,7 @@ export interface operations { readonly mandate_data?: Partial<{ readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -24342,7 +24342,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24479,7 +24479,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24531,7 +24531,7 @@ export interface operations { /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ readonly metadata?: Partial<{ readonly [key: string]: string }> & Partial<"">; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ - readonly sepa_debit?: { readonly [key: string]: any }; + readonly sepa_debit?: { readonly [key: string]: unknown }; }; }; }; @@ -24666,7 +24666,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24744,7 +24744,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24860,7 +24860,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -24966,7 +24966,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25033,7 +25033,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25093,7 +25093,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25189,7 +25189,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25283,7 +25283,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25327,7 +25327,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25362,7 +25362,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25415,7 +25415,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25475,7 +25475,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25502,7 +25502,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25555,7 +25555,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25626,7 +25626,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25689,7 +25689,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25741,7 +25741,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25817,7 +25817,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25896,7 +25896,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -25949,7 +25949,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26013,7 +26013,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26098,7 +26098,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26792,7 +26792,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26828,7 +26828,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26859,7 +26859,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26908,7 +26908,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -26939,7 +26939,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27023,7 +27023,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27067,7 +27067,7 @@ export interface operations { readonly mandate_data?: { readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -27137,7 +27137,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27273,7 +27273,7 @@ export interface operations { readonly mandate_data?: Partial<{ readonly customer_acceptance: { readonly accepted_at?: number; - readonly offline?: { readonly [key: string]: any }; + readonly offline?: { readonly [key: string]: unknown }; readonly online?: { readonly ip_address: string; readonly user_agent: string; @@ -27346,7 +27346,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27377,7 +27377,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27429,7 +27429,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27515,7 +27515,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27604,7 +27604,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27749,7 +27749,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27880,7 +27880,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27925,7 +27925,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -27957,7 +27957,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28033,7 +28033,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28124,7 +28124,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28280,7 +28280,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28402,7 +28402,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28512,7 +28512,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28741,7 +28741,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -28872,7 +28872,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29051,7 +29051,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29105,7 +29105,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29175,7 +29175,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29284,7 +29284,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29353,7 +29353,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29423,7 +29423,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29472,7 +29472,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29536,7 +29536,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29597,7 +29597,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29875,7 +29875,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -29935,7 +29935,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30005,7 +30005,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30123,7 +30123,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30210,7 +30210,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30285,7 +30285,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30355,7 +30355,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30434,7 +30434,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30747,7 +30747,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; @@ -30964,7 +30964,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/x-www-form-urlencoded": { readonly [key: string]: any }; + readonly "application/x-www-form-urlencoded": { readonly [key: string]: unknown }; }; }; }; diff --git a/tests/v3/expected/stripe.ts b/tests/v3/expected/stripe.ts index 93186a7bd..613913810 100644 --- a/tests/v3/expected/stripe.ts +++ b/tests/v3/expected/stripe.ts @@ -2220,7 +2220,7 @@ export interface components { /** If the card number is tokenized, this is the method that was used. Can be `amex_express_checkout`, `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. */ tokenization_method?: string | null; }; - card_mandate_payment_method_details: { [key: string]: any }; + card_mandate_payment_method_details: { [key: string]: unknown }; /** * To charge a credit or a debit card, you create a `Charge` object. You can * retrieve and refund individual charges as well as list all charges. Charges @@ -5967,7 +5967,7 @@ export interface components { /** The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. */ front?: (Partial & Partial) | null; }; - light_account_logout: { [key: string]: any }; + light_account_logout: { [key: string]: unknown }; line_item: { /** The amount, in %s. */ amount: number; @@ -6036,7 +6036,7 @@ export interface components { /** The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. */ url: string; }; - mandate_multi_use: { [key: string]: any }; + mandate_multi_use: { [key: string]: unknown }; mandate_payment_method_details: { au_becs_debit?: components["schemas"]["mandate_au_becs_debit"]; card?: components["schemas"]["card_mandate_payment_method_details"]; @@ -6058,9 +6058,9 @@ export interface components { }; notification_event_data: { /** Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. */ - object: { [key: string]: any }; + object: { [key: string]: unknown }; /** Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). */ - previous_attributes?: { [key: string]: any }; + previous_attributes?: { [key: string]: unknown }; }; notification_event_request: { /** ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. */ @@ -6068,7 +6068,7 @@ export interface components { /** The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. */ idempotency_key?: string | null; }; - offline_acceptance: { [key: string]: any }; + offline_acceptance: { [key: string]: unknown }; online_acceptance: { /** The IP address from which the Mandate was accepted by the customer. */ ip_address?: string | null; @@ -6338,7 +6338,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; }; payment_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -6435,7 +6435,7 @@ export interface components { /** Transaction-specific details of the payment method used in the payment. */ payment_method_details?: Partial | null; }; - payment_method_card_present: { [key: string]: any }; + payment_method_card_present: { [key: string]: unknown }; payment_method_card_wallet: { amex_express_checkout?: components["schemas"]["payment_method_card_wallet_amex_express_checkout"]; apple_pay?: components["schemas"]["payment_method_card_wallet_apple_pay"]; @@ -6448,9 +6448,9 @@ export interface components { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: components["schemas"]["payment_method_card_wallet_visa_checkout"]; }; - payment_method_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_card_wallet_apple_pay: { [key: string]: any }; - payment_method_card_wallet_google_pay: { [key: string]: any }; + payment_method_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_card_wallet_google_pay: { [key: string]: unknown }; payment_method_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: Partial | null; @@ -6461,7 +6461,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ shipping_address?: Partial | null; }; - payment_method_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: Partial | null; @@ -6522,7 +6522,7 @@ export interface components { /** Routing transit number of the bank account. */ routing_number?: string | null; }; - payment_method_details_alipay: { [key: string]: any }; + payment_method_details_alipay: { [key: string]: unknown }; payment_method_details_au_becs_debit: { /** Bank-State-Branch number of the bank account. */ bsb_number?: string | null; @@ -6664,9 +6664,9 @@ export interface components { type: "amex_express_checkout" | "apple_pay" | "google_pay" | "masterpass" | "samsung_pay" | "visa_checkout"; visa_checkout?: components["schemas"]["payment_method_details_card_wallet_visa_checkout"]; }; - payment_method_details_card_wallet_amex_express_checkout: { [key: string]: any }; - payment_method_details_card_wallet_apple_pay: { [key: string]: any }; - payment_method_details_card_wallet_google_pay: { [key: string]: any }; + payment_method_details_card_wallet_amex_express_checkout: { [key: string]: unknown }; + payment_method_details_card_wallet_apple_pay: { [key: string]: unknown }; + payment_method_details_card_wallet_google_pay: { [key: string]: unknown }; payment_method_details_card_wallet_masterpass: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: Partial | null; @@ -6677,7 +6677,7 @@ export interface components { /** Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ shipping_address?: Partial | null; }; - payment_method_details_card_wallet_samsung_pay: { [key: string]: any }; + payment_method_details_card_wallet_samsung_pay: { [key: string]: unknown }; payment_method_details_card_wallet_visa_checkout: { /** Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. */ billing_address?: Partial | null; @@ -6777,7 +6777,7 @@ export interface components { */ verified_name?: string | null; }; - payment_method_details_klarna: { [key: string]: any }; + payment_method_details_klarna: { [key: string]: unknown }; payment_method_details_multibanco: { /** Entity number associated with this Multibanco payment. */ entity?: string | null; @@ -6824,8 +6824,8 @@ export interface components { */ verified_name?: string | null; }; - payment_method_details_stripe_account: { [key: string]: any }; - payment_method_details_wechat: { [key: string]: any }; + payment_method_details_stripe_account: { [key: string]: unknown }; + payment_method_details_wechat: { [key: string]: unknown }; payment_method_fpx: { /** The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. */ bank: @@ -7860,7 +7860,7 @@ export interface components { /** Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. */ type: string; /** When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. */ - use_stripe_sdk?: { [key: string]: any }; + use_stripe_sdk?: { [key: string]: unknown }; }; setup_intent_next_action_redirect_to_url: { /** If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. */ @@ -9222,7 +9222,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9250,7 +9250,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9582,7 +9582,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9668,7 +9668,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9704,7 +9704,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9735,7 +9735,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9810,7 +9810,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9883,7 +9883,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -9969,7 +9969,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10080,7 +10080,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10221,7 +10221,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10363,7 +10363,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10412,7 +10412,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10553,7 +10553,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10695,7 +10695,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -10779,7 +10779,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11045,7 +11045,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11312,7 +11312,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11391,7 +11391,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11479,7 +11479,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11518,7 +11518,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11550,7 +11550,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11629,7 +11629,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11708,7 +11708,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11796,7 +11796,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -11918,7 +11918,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12064,7 +12064,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12207,7 +12207,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12259,7 +12259,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12405,7 +12405,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12548,7 +12548,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12627,7 +12627,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12684,7 +12684,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12711,7 +12711,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12762,7 +12762,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12794,7 +12794,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12862,7 +12862,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -12939,7 +12939,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13014,7 +13014,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13082,7 +13082,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13117,7 +13117,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13185,7 +13185,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13220,7 +13220,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13297,7 +13297,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13328,7 +13328,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13376,7 +13376,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13422,7 +13422,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13477,7 +13477,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13602,7 +13602,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13744,7 +13744,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -13931,7 +13931,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14000,7 +14000,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14078,7 +14078,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14508,7 +14508,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14550,7 +14550,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14581,7 +14581,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14631,7 +14631,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14711,7 +14711,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14772,7 +14772,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14818,7 +14818,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -14944,7 +14944,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15016,7 +15016,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15062,7 +15062,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15093,7 +15093,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15208,7 +15208,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15352,7 +15352,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15515,7 +15515,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15561,7 +15561,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15631,7 +15631,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15712,7 +15712,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15814,7 +15814,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -15998,7 +15998,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16100,7 +16100,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16232,7 +16232,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16259,7 +16259,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16311,7 +16311,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16413,7 +16413,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16594,7 +16594,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16729,7 +16729,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16914,7 +16914,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16942,7 +16942,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -16988,7 +16988,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17077,7 +17077,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17105,7 +17105,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17158,7 +17158,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17189,7 +17189,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17405,7 +17405,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17436,7 +17436,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17478,7 +17478,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17509,7 +17509,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17562,7 +17562,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17624,7 +17624,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17719,7 +17719,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17797,7 +17797,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17852,7 +17852,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -17937,7 +17937,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18015,7 +18015,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18079,7 +18079,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18245,7 +18245,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18357,7 +18357,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18388,7 +18388,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18486,7 +18486,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18564,7 +18564,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18746,7 +18746,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18781,7 +18781,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18837,7 +18837,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -18868,7 +18868,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -19024,7 +19024,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -20001,7 +20001,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -21010,7 +21010,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -21971,7 +21971,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -22926,7 +22926,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -22984,7 +22984,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23066,7 +23066,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23097,7 +23097,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23183,7 +23183,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23214,7 +23214,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23277,7 +23277,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23329,7 +23329,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23360,7 +23360,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23449,7 +23449,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23537,7 +23537,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23713,7 +23713,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -23782,7 +23782,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -23902,7 +23902,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24173,7 +24173,7 @@ export interface operations { mandate_data?: Partial<{ customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -24294,7 +24294,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24431,7 +24431,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24483,7 +24483,7 @@ export interface operations { /** Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. */ metadata?: Partial<{ [key: string]: string }> & Partial<"">; /** If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. */ - sepa_debit?: { [key: string]: any }; + sepa_debit?: { [key: string]: unknown }; }; }; }; @@ -24618,7 +24618,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24696,7 +24696,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24812,7 +24812,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24918,7 +24918,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -24985,7 +24985,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25045,7 +25045,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25141,7 +25141,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25235,7 +25235,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25279,7 +25279,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25314,7 +25314,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25367,7 +25367,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25427,7 +25427,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25454,7 +25454,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25507,7 +25507,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25578,7 +25578,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25641,7 +25641,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25693,7 +25693,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25769,7 +25769,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25848,7 +25848,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25901,7 +25901,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -25965,7 +25965,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26050,7 +26050,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26744,7 +26744,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26780,7 +26780,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26811,7 +26811,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26860,7 +26860,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26891,7 +26891,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -26975,7 +26975,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27019,7 +27019,7 @@ export interface operations { mandate_data?: { customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -27089,7 +27089,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27225,7 +27225,7 @@ export interface operations { mandate_data?: Partial<{ customer_acceptance: { accepted_at?: number; - offline?: { [key: string]: any }; + offline?: { [key: string]: unknown }; online?: { ip_address: string; user_agent: string; @@ -27298,7 +27298,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27329,7 +27329,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27381,7 +27381,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27466,7 +27466,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27555,7 +27555,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27700,7 +27700,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27831,7 +27831,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27876,7 +27876,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27908,7 +27908,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -27984,7 +27984,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28075,7 +28075,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28231,7 +28231,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28353,7 +28353,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28463,7 +28463,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28692,7 +28692,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -28823,7 +28823,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29002,7 +29002,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29056,7 +29056,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29126,7 +29126,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29235,7 +29235,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29304,7 +29304,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29374,7 +29374,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29423,7 +29423,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29487,7 +29487,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29548,7 +29548,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29826,7 +29826,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29886,7 +29886,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -29956,7 +29956,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30074,7 +30074,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30161,7 +30161,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30236,7 +30236,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30306,7 +30306,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30385,7 +30385,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30698,7 +30698,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; }; @@ -30915,7 +30915,7 @@ export interface operations { }; requestBody: { content: { - "application/x-www-form-urlencoded": { [key: string]: any }; + "application/x-www-form-urlencoded": { [key: string]: unknown }; }; }; };