diff --git a/types/2022-11-15/AccountsResource.d.ts b/types/2022-11-15/AccountsResource.d.ts index 952dfbe459..5f287942fa 100644 --- a/types/2022-11-15/AccountsResource.d.ts +++ b/types/2022-11-15/AccountsResource.d.ts @@ -2419,6 +2419,745 @@ declare module 'stripe' { expand?: Array; } + interface CapabilityRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CapabilityUpdateParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. + */ + requested?: boolean; + } + + interface CapabilityListParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface ExternalAccountCreateParams { + /** + * Please refer to full [documentation](https://stripe.com/docs/api) instead. + */ + external_account: string; + + /** + * 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. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; + } + + interface ExternalAccountRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface ExternalAccountUpdateParams { + /** + * The name of the person or business that owns the bank account. + */ + account_holder_name?: string; + + /** + * The type of entity that holds the account. This can be either `individual` or `company`. + */ + account_holder_type?: Stripe.Emptyable< + ExternalAccountUpdateParams.AccountHolderType + >; + + /** + * The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`. + */ + account_type?: ExternalAccountUpdateParams.AccountType; + + /** + * City/District/Suburb/Town/Village. + */ + address_city?: string; + + /** + * Billing address country, if provided when creating card. + */ + address_country?: string; + + /** + * Address line 1 (Street address/PO Box/Company name). + */ + address_line1?: string; + + /** + * Address line 2 (Apartment/Suite/Unit/Building). + */ + address_line2?: string; + + /** + * State/County/Province/Region. + */ + address_state?: string; + + /** + * ZIP or postal code. + */ + address_zip?: string; + + /** + * When set to true, this becomes the default external account for its currency. + */ + default_for_currency?: boolean; + + /** + * Two digit number representing the card's expiration month. + */ + exp_month?: string; + + /** + * Four digit number representing the card's expiration year. + */ + exp_year?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + + /** + * Cardholder name. + */ + name?: string; + } + + namespace ExternalAccountUpdateParams { + type AccountHolderType = 'company' | 'individual'; + + type AccountType = 'checking' | 'futsu' | 'savings' | 'toza'; + } + + interface ExternalAccountListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + object?: ExternalAccountListParams.Object; + } + + namespace ExternalAccountListParams { + type Object = 'bank_account' | 'card'; + } + + interface ExternalAccountDeleteParams {} + + interface LoginLinkCreateParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface PersonCreateParams { + /** + * The person's address. + */ + address?: Stripe.AddressParam; + + /** + * The Kana variation of the person's address (Japan only). + */ + address_kana?: Stripe.JapanAddressParam; + + /** + * The Kanji variation of the person's address (Japan only). + */ + address_kanji?: Stripe.JapanAddressParam; + + /** + * The person's date of birth. + */ + dob?: Stripe.Emptyable; + + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: PersonCreateParams.Documents; + + /** + * The person's email address. + */ + email?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The person's first name. + */ + first_name?: string; + + /** + * The Kana variation of the person's first name (Japan only). + */ + first_name_kana?: string; + + /** + * The Kanji variation of the person's first name (Japan only). + */ + first_name_kanji?: string; + + /** + * A list of alternate names or aliases that the person is known by. + */ + full_name_aliases?: Stripe.Emptyable>; + + /** + * The person's gender (International regulations require either "male" or "female"). + */ + gender?: string; + + /** + * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). + */ + id_number?: string; + + /** + * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). + */ + id_number_secondary?: string; + + /** + * The person's last name. + */ + last_name?: string; + + /** + * The Kana variation of the person's last name (Japan only). + */ + last_name_kana?: string; + + /** + * The Kanji variation of the person's last name (Japan only). + */ + last_name_kanji?: string; + + /** + * The person's maiden name. + */ + maiden_name?: string; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + + /** + * The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX" if unavailable. + */ + nationality?: string; + + /** + * 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. + */ + phone?: string; + + /** + * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. + */ + political_exposure?: string; + + /** + * The person's registered address. + */ + registered_address?: Stripe.AddressParam; + + /** + * The relationship that this person has with the account's legal entity. + */ + relationship?: PersonCreateParams.Relationship; + + /** + * The last four digits of the person's Social Security number (U.S. only). + */ + ssn_last_4?: string; + + /** + * The person's verification status. + */ + verification?: PersonCreateParams.Verification; + } + + namespace PersonCreateParams { + interface Dob { + /** + * The day of birth, between 1 and 31. + */ + day: number; + + /** + * The month of birth, between 1 and 12. + */ + month: number; + + /** + * The four-digit year of birth. + */ + year: number; + } + + interface Documents { + /** + * One or more documents that demonstrate proof that this person is authorized to represent the company. + */ + company_authorization?: Documents.CompanyAuthorization; + + /** + * One or more documents showing the person's passport page with photo and personal data. + */ + passport?: Documents.Passport; + + /** + * One or more documents showing the person's visa required for living in the country where they are residing. + */ + visa?: Documents.Visa; + } + + namespace Documents { + interface CompanyAuthorization { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + + interface Passport { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + + interface Visa { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + } + + interface Relationship { + /** + * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. + */ + director?: boolean; + + /** + * Whether the person has significant responsibility to control, manage, or direct the organization. + */ + executive?: boolean; + + /** + * Whether the person is an owner of the account's legal entity. + */ + owner?: boolean; + + /** + * The percent owned by the person of the account's legal entity. + */ + percent_ownership?: Stripe.Emptyable; + + /** + * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. + */ + representative?: boolean; + + /** + * The person's title (e.g., CEO, Support Engineer). + */ + title?: string; + } + + interface Verification { + /** + * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. + */ + additional_document?: Verification.AdditionalDocument; + + /** + * An identifying document, either a passport or local ID card. + */ + document?: Verification.Document; + } + + namespace Verification { + interface AdditionalDocument { + /** + * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + back?: string; + + /** + * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + front?: string; + } + + interface Document { + /** + * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + back?: string; + + /** + * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + front?: string; + } + } + } + + interface PersonRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface PersonUpdateParams { + /** + * The person's address. + */ + address?: Stripe.AddressParam; + + /** + * The Kana variation of the person's address (Japan only). + */ + address_kana?: Stripe.JapanAddressParam; + + /** + * The Kanji variation of the person's address (Japan only). + */ + address_kanji?: Stripe.JapanAddressParam; + + /** + * The person's date of birth. + */ + dob?: Stripe.Emptyable; + + /** + * Documents that may be submitted to satisfy various informational requests. + */ + documents?: PersonUpdateParams.Documents; + + /** + * The person's email address. + */ + email?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The person's first name. + */ + first_name?: string; + + /** + * The Kana variation of the person's first name (Japan only). + */ + first_name_kana?: string; + + /** + * The Kanji variation of the person's first name (Japan only). + */ + first_name_kanji?: string; + + /** + * A list of alternate names or aliases that the person is known by. + */ + full_name_aliases?: Stripe.Emptyable>; + + /** + * The person's gender (International regulations require either "male" or "female"). + */ + gender?: string; + + /** + * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). + */ + id_number?: string; + + /** + * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). + */ + id_number_secondary?: string; + + /** + * The person's last name. + */ + last_name?: string; + + /** + * The Kana variation of the person's last name (Japan only). + */ + last_name_kana?: string; + + /** + * The Kanji variation of the person's last name (Japan only). + */ + last_name_kanji?: string; + + /** + * The person's maiden name. + */ + maiden_name?: string; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + + /** + * The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX" if unavailable. + */ + nationality?: string; + + /** + * 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. + */ + phone?: string; + + /** + * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. + */ + political_exposure?: string; + + /** + * The person's registered address. + */ + registered_address?: Stripe.AddressParam; + + /** + * The relationship that this person has with the account's legal entity. + */ + relationship?: PersonUpdateParams.Relationship; + + /** + * The last four digits of the person's Social Security number (U.S. only). + */ + ssn_last_4?: string; + + /** + * The person's verification status. + */ + verification?: PersonUpdateParams.Verification; + } + + namespace PersonUpdateParams { + interface Dob { + /** + * The day of birth, between 1 and 31. + */ + day: number; + + /** + * The month of birth, between 1 and 12. + */ + month: number; + + /** + * The four-digit year of birth. + */ + year: number; + } + + interface Documents { + /** + * One or more documents that demonstrate proof that this person is authorized to represent the company. + */ + company_authorization?: Documents.CompanyAuthorization; + + /** + * One or more documents showing the person's passport page with photo and personal data. + */ + passport?: Documents.Passport; + + /** + * One or more documents showing the person's visa required for living in the country where they are residing. + */ + visa?: Documents.Visa; + } + + namespace Documents { + interface CompanyAuthorization { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + + interface Passport { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + + interface Visa { + /** + * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. + */ + files?: Array; + } + } + + interface Relationship { + /** + * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. + */ + director?: boolean; + + /** + * Whether the person has significant responsibility to control, manage, or direct the organization. + */ + executive?: boolean; + + /** + * Whether the person is an owner of the account's legal entity. + */ + owner?: boolean; + + /** + * The percent owned by the person of the account's legal entity. + */ + percent_ownership?: Stripe.Emptyable; + + /** + * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. + */ + representative?: boolean; + + /** + * The person's title (e.g., CEO, Support Engineer). + */ + title?: string; + } + + interface Verification { + /** + * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. + */ + additional_document?: Verification.AdditionalDocument; + + /** + * An identifying document, either a passport or local ID card. + */ + document?: Verification.Document; + } + + namespace Verification { + interface AdditionalDocument { + /** + * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + back?: string; + + /** + * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + front?: string; + } + + interface Document { + /** + * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + back?: string; + + /** + * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. + */ + front?: string; + } + } + } + + interface PersonListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Filters on the list of people returned based on the person's relationship to the account's company. + */ + relationship?: PersonListParams.Relationship; + } + + namespace PersonListParams { + interface Relationship { + /** + * A filter on the list of people returned based on whether these people are directors of the account's company. + */ + director?: boolean; + + /** + * A filter on the list of people returned based on whether these people are executives of the account's company. + */ + executive?: boolean; + + /** + * A filter on the list of people returned based on whether these people are owners of the account's company. + */ + owner?: boolean; + + /** + * A filter on the list of people returned based on whether these people are the representative of the account's company. + */ + representative?: boolean; + } + } + + interface PersonDeleteParams {} + class AccountsResource { /** * With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users. diff --git a/types/2022-11-15/ApplicationFeesResource.d.ts b/types/2022-11-15/ApplicationFeesResource.d.ts index 8ca36dd61c..3216e6a8c9 100644 --- a/types/2022-11-15/ApplicationFeesResource.d.ts +++ b/types/2022-11-15/ApplicationFeesResource.d.ts @@ -23,6 +23,49 @@ declare module 'stripe' { expand?: Array; } + interface FeeRefundCreateParams { + /** + * A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. + */ + amount?: number; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; + } + + interface FeeRefundRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface FeeRefundUpdateParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + } + + interface FeeRefundListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + class ApplicationFeesResource { /** * Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee. diff --git a/types/2022-11-15/BankAccountsResource.d.ts b/types/2022-11-15/BankAccountsResource.d.ts deleted file mode 100644 index f5652f6bdc..0000000000 --- a/types/2022-11-15/BankAccountsResource.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe {} -} diff --git a/types/2022-11-15/CapabilitiesResource.d.ts b/types/2022-11-15/CapabilitiesResource.d.ts deleted file mode 100644 index 73202bce6e..0000000000 --- a/types/2022-11-15/CapabilitiesResource.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CapabilityRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CapabilityUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CapabilityListParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/CardsResource.d.ts b/types/2022-11-15/CardsResource.d.ts deleted file mode 100644 index f5652f6bdc..0000000000 --- a/types/2022-11-15/CardsResource.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe {} -} diff --git a/types/2022-11-15/CashBalancesResource.d.ts b/types/2022-11-15/CashBalancesResource.d.ts deleted file mode 100644 index 1f9b55fbd4..0000000000 --- a/types/2022-11-15/CashBalancesResource.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CashBalanceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CashBalanceUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A hash of settings for this cash balance. - */ - settings?: CashBalanceUpdateParams.Settings; - } - - namespace CashBalanceUpdateParams { - interface Settings { - /** - * Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic` or `manual`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). - */ - reconciliation_mode?: Settings.ReconciliationMode; - } - - namespace Settings { - type ReconciliationMode = 'automatic' | 'manual'; - } - } - } -} diff --git a/types/2022-11-15/CreditNoteLineItemsResource.d.ts b/types/2022-11-15/CreditNoteLineItemsResource.d.ts deleted file mode 100644 index 0f209bc927..0000000000 --- a/types/2022-11-15/CreditNoteLineItemsResource.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CreditNoteLineItemListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/CreditNotesResource.d.ts b/types/2022-11-15/CreditNotesResource.d.ts index 3b7e9de4b1..1f629f8099 100644 --- a/types/2022-11-15/CreditNotesResource.d.ts +++ b/types/2022-11-15/CreditNotesResource.d.ts @@ -383,6 +383,13 @@ declare module 'stripe' { expand?: Array; } + interface CreditNoteLineItemListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + class CreditNotesResource { /** * Issue a credit note to adjust the amount of a finalized invoice. For a status=open invoice, a credit note reduces diff --git a/types/2022-11-15/CustomerBalanceTransactionsResource.d.ts b/types/2022-11-15/CustomerBalanceTransactionsResource.d.ts deleted file mode 100644 index f75d8d3b4a..0000000000 --- a/types/2022-11-15/CustomerBalanceTransactionsResource.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CustomerBalanceTransactionCreateParams { - /** - * The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. - */ - amount: 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). Specifies the [`invoice_credit_balance`](https://stripe.com/docs/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value. - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - } - - interface CustomerBalanceTransactionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerBalanceTransactionUpdateParams { - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - } - - interface CustomerBalanceTransactionListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/CustomerCashBalanceTransactionsResource.d.ts b/types/2022-11-15/CustomerCashBalanceTransactionsResource.d.ts deleted file mode 100644 index 1a0d654d63..0000000000 --- a/types/2022-11-15/CustomerCashBalanceTransactionsResource.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CustomerCashBalanceTransactionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerCashBalanceTransactionListParams - extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/CustomerSourcesResource.d.ts b/types/2022-11-15/CustomerSourcesResource.d.ts deleted file mode 100644 index d0bd884645..0000000000 --- a/types/2022-11-15/CustomerSourcesResource.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface CustomerSourceCreateParams { - /** - * Please refer to full [documentation](https://stripe.com/docs/api) instead. - */ - source: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; - - validate?: boolean; - } - - interface CustomerSourceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerSourceUpdateParams { - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name?: string; - - /** - * The type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type?: CustomerSourceUpdateParams.AccountHolderType; - - /** - * City/District/Suburb/Town/Village. - */ - address_city?: string; - - /** - * Billing address country, if provided when creating card. - */ - address_country?: string; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - address_line1?: string; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - address_line2?: string; - - /** - * State/County/Province/Region. - */ - address_state?: string; - - /** - * ZIP or postal code. - */ - address_zip?: string; - - /** - * Two digit number representing the card's expiration month. - */ - exp_month?: string; - - /** - * Four digit number representing the card's expiration year. - */ - exp_year?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - - /** - * Cardholder name. - */ - name?: string; - - owner?: CustomerSourceUpdateParams.Owner; - } - - namespace CustomerSourceUpdateParams { - type AccountHolderType = 'company' | 'individual'; - - interface Owner { - /** - * Owner's address. - */ - address?: Stripe.AddressParam; - - /** - * Owner's email address. - */ - email?: string; - - /** - * Owner's full name. - */ - name?: string; - - /** - * Owner's phone number. - */ - phone?: string; - } - } - - interface CustomerSourceListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Filter sources according to a particular object type. - */ - object?: string; - } - - interface CustomerSourceDeleteParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerSourceVerifyParams { - /** - * Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. - */ - amounts?: Array; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/CustomersResource.d.ts b/types/2022-11-15/CustomersResource.d.ts index a740acd0d8..6682545a4b 100644 --- a/types/2022-11-15/CustomersResource.d.ts +++ b/types/2022-11-15/CustomersResource.d.ts @@ -636,6 +636,351 @@ declare module 'stripe' { page?: string; } + interface CashBalanceRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CashBalanceUpdateParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * A hash of settings for this cash balance. + */ + settings?: CashBalanceUpdateParams.Settings; + } + + namespace CashBalanceUpdateParams { + interface Settings { + /** + * Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic` or `manual`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation). + */ + reconciliation_mode?: Settings.ReconciliationMode; + } + + namespace Settings { + type ReconciliationMode = 'automatic' | 'manual'; + } + } + + interface CustomerBalanceTransactionCreateParams { + /** + * The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance. + */ + amount: 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). Specifies the [`invoice_credit_balance`](https://stripe.com/docs/api/customers/object#customer_object-invoice_credit_balance) that this transaction will apply to. If the customer's `currency` is not set, it will be updated to this value. + */ + currency: string; + + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + } + + interface CustomerBalanceTransactionRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerBalanceTransactionUpdateParams { + /** + * An arbitrary string attached to the object. Often useful for displaying to users. + */ + description?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + } + + interface CustomerBalanceTransactionListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerCashBalanceTransactionRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerCashBalanceTransactionListParams + extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerSourceCreateParams { + /** + * Please refer to full [documentation](https://stripe.com/docs/api) instead. + */ + source: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; + + validate?: boolean; + } + + interface CustomerSourceRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerSourceUpdateParams { + /** + * The name of the person or business that owns the bank account. + */ + account_holder_name?: string; + + /** + * The type of entity that holds the account. This can be either `individual` or `company`. + */ + account_holder_type?: CustomerSourceUpdateParams.AccountHolderType; + + /** + * City/District/Suburb/Town/Village. + */ + address_city?: string; + + /** + * Billing address country, if provided when creating card. + */ + address_country?: string; + + /** + * Address line 1 (Street address/PO Box/Company name). + */ + address_line1?: string; + + /** + * Address line 2 (Apartment/Suite/Unit/Building). + */ + address_line2?: string; + + /** + * State/County/Province/Region. + */ + address_state?: string; + + /** + * ZIP or postal code. + */ + address_zip?: string; + + /** + * Two digit number representing the card's expiration month. + */ + exp_month?: string; + + /** + * Four digit number representing the card's expiration year. + */ + exp_year?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + + /** + * Cardholder name. + */ + name?: string; + + owner?: CustomerSourceUpdateParams.Owner; + } + + namespace CustomerSourceUpdateParams { + type AccountHolderType = 'company' | 'individual'; + + interface Owner { + /** + * Owner's address. + */ + address?: Stripe.AddressParam; + + /** + * Owner's email address. + */ + email?: string; + + /** + * Owner's full name. + */ + name?: string; + + /** + * Owner's phone number. + */ + phone?: string; + } + } + + interface CustomerSourceListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Filter sources according to a particular object type. + */ + object?: string; + } + + interface CustomerSourceDeleteParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface CustomerSourceVerifyParams { + /** + * Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. + */ + amounts?: Array; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TaxIdCreateParams { + /** + * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `bg_uic`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ph_tin`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat` + */ + type: TaxIdCreateParams.Type; + + /** + * Value of the tax ID. + */ + value: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + namespace TaxIdCreateParams { + type Type = + | 'ae_trn' + | 'au_abn' + | 'au_arn' + | 'bg_uic' + | 'br_cnpj' + | 'br_cpf' + | 'ca_bn' + | 'ca_gst_hst' + | 'ca_pst_bc' + | 'ca_pst_mb' + | 'ca_pst_sk' + | 'ca_qst' + | 'ch_vat' + | 'cl_tin' + | 'eg_tin' + | 'es_cif' + | 'eu_oss_vat' + | 'eu_vat' + | 'gb_vat' + | 'ge_vat' + | 'hk_br' + | 'hu_tin' + | 'id_npwp' + | 'il_vat' + | 'in_gst' + | 'is_vat' + | 'jp_cn' + | 'jp_rn' + | 'jp_trn' + | 'ke_pin' + | 'kr_brn' + | 'li_uid' + | 'mx_rfc' + | 'my_frp' + | 'my_itn' + | 'my_sst' + | 'no_vat' + | 'nz_gst' + | 'ph_tin' + | 'ru_inn' + | 'ru_kpp' + | 'sa_vat' + | 'sg_gst' + | 'sg_uen' + | 'si_tin' + | 'th_vat' + | 'tr_tin' + | 'tw_vat' + | 'ua_vat' + | 'us_ein' + | 'za_vat'; + } + + interface TaxIdRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TaxIdListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TaxIdDeleteParams {} + class CustomersResource { /** * Creates a new customer object. diff --git a/types/2022-11-15/ExternalAccountsResource.d.ts b/types/2022-11-15/ExternalAccountsResource.d.ts deleted file mode 100644 index 0e851a8f31..0000000000 --- a/types/2022-11-15/ExternalAccountsResource.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface ExternalAccountCreateParams { - /** - * Please refer to full [documentation](https://stripe.com/docs/api) instead. - */ - external_account: string; - - /** - * 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. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; - } - - interface ExternalAccountRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ExternalAccountUpdateParams { - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name?: string; - - /** - * The type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type?: Stripe.Emptyable< - ExternalAccountUpdateParams.AccountHolderType - >; - - /** - * The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`. - */ - account_type?: ExternalAccountUpdateParams.AccountType; - - /** - * City/District/Suburb/Town/Village. - */ - address_city?: string; - - /** - * Billing address country, if provided when creating card. - */ - address_country?: string; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - address_line1?: string; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - address_line2?: string; - - /** - * State/County/Province/Region. - */ - address_state?: string; - - /** - * ZIP or postal code. - */ - address_zip?: string; - - /** - * When set to true, this becomes the default external account for its currency. - */ - default_for_currency?: boolean; - - /** - * Two digit number representing the card's expiration month. - */ - exp_month?: string; - - /** - * Four digit number representing the card's expiration year. - */ - exp_year?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - - /** - * Cardholder name. - */ - name?: string; - } - - namespace ExternalAccountUpdateParams { - type AccountHolderType = 'company' | 'individual'; - - type AccountType = 'checking' | 'futsu' | 'savings' | 'toza'; - } - - interface ExternalAccountListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - object?: ExternalAccountListParams.Object; - } - - namespace ExternalAccountListParams { - type Object = 'bank_account' | 'card'; - } - - interface ExternalAccountDeleteParams {} - } -} diff --git a/types/2022-11-15/FeeRefundsResource.d.ts b/types/2022-11-15/FeeRefundsResource.d.ts deleted file mode 100644 index c5c821686d..0000000000 --- a/types/2022-11-15/FeeRefundsResource.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface FeeRefundCreateParams { - /** - * A positive integer, in _cents (or local equivalent)_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. - */ - amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.MetadataParam; - } - - interface FeeRefundRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface FeeRefundUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - } - - interface FeeRefundListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/InvoiceLineItemsResource.d.ts b/types/2022-11-15/InvoiceLineItemsResource.d.ts deleted file mode 100644 index 81a33104f5..0000000000 --- a/types/2022-11-15/InvoiceLineItemsResource.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface InvoiceLineItemListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/InvoicesResource.d.ts b/types/2022-11-15/InvoicesResource.d.ts index 36f85deda9..0764464bc3 100644 --- a/types/2022-11-15/InvoicesResource.d.ts +++ b/types/2022-11-15/InvoicesResource.d.ts @@ -2040,6 +2040,13 @@ declare module 'stripe' { expand?: Array; } + interface InvoiceLineItemListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + class InvoicesResource { /** * This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers. diff --git a/types/2022-11-15/LoginLinksResource.d.ts b/types/2022-11-15/LoginLinksResource.d.ts deleted file mode 100644 index 3d676d3f02..0000000000 --- a/types/2022-11-15/LoginLinksResource.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface LoginLinkCreateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/PersonsResource.d.ts b/types/2022-11-15/PersonsResource.d.ts deleted file mode 100644 index 244afa0fa2..0000000000 --- a/types/2022-11-15/PersonsResource.d.ts +++ /dev/null @@ -1,582 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface PersonCreateParams { - /** - * The person's address. - */ - address?: Stripe.AddressParam; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The person's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: PersonCreateParams.Documents; - - /** - * The person's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The person's first name. - */ - first_name?: string; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * A list of alternate names or aliases that the person is known by. - */ - full_name_aliases?: Stripe.Emptyable>; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). - */ - id_number?: string; - - /** - * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). - */ - id_number_secondary?: string; - - /** - * The person's last name. - */ - last_name?: string; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The person's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - - /** - * The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX" if unavailable. - */ - nationality?: string; - - /** - * 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. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: string; - - /** - * The person's registered address. - */ - registered_address?: Stripe.AddressParam; - - /** - * The relationship that this person has with the account's legal entity. - */ - relationship?: PersonCreateParams.Relationship; - - /** - * The last four digits of the person's Social Security number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The person's verification status. - */ - verification?: PersonCreateParams.Verification; - } - - namespace PersonCreateParams { - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; - - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; - - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } - - namespace Documents { - interface CompanyAuthorization { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - - interface Passport { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - - interface Visa { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - } - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner?: boolean; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership?: Stripe.Emptyable; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface PersonRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PersonUpdateParams { - /** - * The person's address. - */ - address?: Stripe.AddressParam; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The person's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * Documents that may be submitted to satisfy various informational requests. - */ - documents?: PersonUpdateParams.Documents; - - /** - * The person's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The person's first name. - */ - first_name?: string; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * A list of alternate names or aliases that the person is known by. - */ - full_name_aliases?: Stripe.Emptyable>; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). - */ - id_number?: string; - - /** - * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii). - */ - id_number_secondary?: string; - - /** - * The person's last name. - */ - last_name?: string; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The person's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - - /** - * The country where the person is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)), or "XX" if unavailable. - */ - nationality?: string; - - /** - * 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. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: string; - - /** - * The person's registered address. - */ - registered_address?: Stripe.AddressParam; - - /** - * The relationship that this person has with the account's legal entity. - */ - relationship?: PersonUpdateParams.Relationship; - - /** - * The last four digits of the person's Social Security number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The person's verification status. - */ - verification?: PersonUpdateParams.Verification; - } - - namespace PersonUpdateParams { - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Documents { - /** - * One or more documents that demonstrate proof that this person is authorized to represent the company. - */ - company_authorization?: Documents.CompanyAuthorization; - - /** - * One or more documents showing the person's passport page with photo and personal data. - */ - passport?: Documents.Passport; - - /** - * One or more documents showing the person's visa required for living in the country where they are residing. - */ - visa?: Documents.Visa; - } - - namespace Documents { - interface CompanyAuthorization { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - - interface Passport { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - - interface Visa { - /** - * One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. - */ - files?: Array; - } - } - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner?: boolean; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership?: Stripe.Emptyable; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface PersonListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Filters on the list of people returned based on the person's relationship to the account's company. - */ - relationship?: PersonListParams.Relationship; - } - - namespace PersonListParams { - interface Relationship { - /** - * A filter on the list of people returned based on whether these people are directors of the account's company. - */ - director?: boolean; - - /** - * A filter on the list of people returned based on whether these people are executives of the account's company. - */ - executive?: boolean; - - /** - * A filter on the list of people returned based on whether these people are owners of the account's company. - */ - owner?: boolean; - - /** - * A filter on the list of people returned based on whether these people are the representative of the account's company. - */ - representative?: boolean; - } - } - - interface PersonDeleteParams {} - } -} diff --git a/types/2022-11-15/SubscriptionItemsResource.d.ts b/types/2022-11-15/SubscriptionItemsResource.d.ts index 1f6e5a8d13..f8c89c5067 100644 --- a/types/2022-11-15/SubscriptionItemsResource.d.ts +++ b/types/2022-11-15/SubscriptionItemsResource.d.ts @@ -320,6 +320,39 @@ declare module 'stripe' { type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; } + interface UsageRecordCreateParams { + /** + * The usage quantity for the specified timestamp. + */ + quantity: number; + + /** + * Valid values are `increment` (default) or `set`. When using `increment` the specified `quantity` will be added to the usage at the specified timestamp. The `set` action will overwrite the usage quantity at that timestamp. If the subscription has [billing thresholds](https://stripe.com/docs/api/subscriptions/object#subscription_object-billing_thresholds), `increment` is the only allowed value. + */ + action?: UsageRecordCreateParams.Action; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * The timestamp for the usage event. This timestamp must be within the current billing period of the subscription of the provided `subscription_item`, and must not be in the future. When passing `"now"`, Stripe records usage for the current time. Default is `"now"` if a value is not provided. + */ + timestamp?: 'now' | number; + } + + namespace UsageRecordCreateParams { + type Action = 'increment' | 'set'; + } + + interface UsageRecordSummaryListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + class SubscriptionItemsResource { /** * Adds a new item to an existing subscription. No existing items will be changed or replaced. diff --git a/types/2022-11-15/TaxIdsResource.d.ts b/types/2022-11-15/TaxIdsResource.d.ts deleted file mode 100644 index deb825b2c0..0000000000 --- a/types/2022-11-15/TaxIdsResource.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface TaxIdCreateParams { - /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `bg_uic`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ph_tin`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat` - */ - type: TaxIdCreateParams.Type; - - /** - * Value of the tax ID. - */ - value: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace TaxIdCreateParams { - type Type = - | 'ae_trn' - | 'au_abn' - | 'au_arn' - | 'bg_uic' - | 'br_cnpj' - | 'br_cpf' - | 'ca_bn' - | 'ca_gst_hst' - | 'ca_pst_bc' - | 'ca_pst_mb' - | 'ca_pst_sk' - | 'ca_qst' - | 'ch_vat' - | 'cl_tin' - | 'eg_tin' - | 'es_cif' - | 'eu_oss_vat' - | 'eu_vat' - | 'gb_vat' - | 'ge_vat' - | 'hk_br' - | 'hu_tin' - | 'id_npwp' - | 'il_vat' - | 'in_gst' - | 'is_vat' - | 'jp_cn' - | 'jp_rn' - | 'jp_trn' - | 'ke_pin' - | 'kr_brn' - | 'li_uid' - | 'mx_rfc' - | 'my_frp' - | 'my_itn' - | 'my_sst' - | 'no_vat' - | 'nz_gst' - | 'ph_tin' - | 'ru_inn' - | 'ru_kpp' - | 'sa_vat' - | 'sg_gst' - | 'sg_uen' - | 'si_tin' - | 'th_vat' - | 'tr_tin' - | 'tw_vat' - | 'ua_vat' - | 'us_ein' - | 'za_vat'; - } - - interface TaxIdRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TaxIdListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TaxIdDeleteParams {} - } -} diff --git a/types/2022-11-15/TransferReversalsResource.d.ts b/types/2022-11-15/TransferReversalsResource.d.ts deleted file mode 100644 index c6e4c9d184..0000000000 --- a/types/2022-11-15/TransferReversalsResource.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface TransferReversalCreateParams { - /** - * A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. - */ - amount?: number; - - /** - * An arbitrary string which you can attach to a reversal object. It is displayed alongside the reversal in the Dashboard. This will be unset if you POST an empty value. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - - /** - * 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; - } - - interface TransferReversalRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TransferReversalUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; - } - - interface TransferReversalListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/TransfersResource.d.ts b/types/2022-11-15/TransfersResource.d.ts index f50c0e646c..993822e6bc 100644 --- a/types/2022-11-15/TransfersResource.d.ts +++ b/types/2022-11-15/TransfersResource.d.ts @@ -96,6 +96,59 @@ declare module 'stripe' { transfer_group?: string; } + interface TransferReversalCreateParams { + /** + * A positive integer in cents (or local equivalent) representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. + */ + amount?: number; + + /** + * An arbitrary string which you can attach to a reversal object. It is displayed alongside the reversal in the Dashboard. This will be unset if you POST an empty value. + */ + description?: string; + + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + + /** + * 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; + } + + interface TransferReversalRetrieveParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + + interface TransferReversalUpdateParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + + /** + * Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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?: Stripe.Emptyable; + } + + interface TransferReversalListParams extends PaginationParams { + /** + * Specifies which fields in the response should be expanded. + */ + expand?: Array; + } + class TransfersResource { /** * To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://stripe.com/docs/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. diff --git a/types/2022-11-15/UsageRecordSummariesResource.d.ts b/types/2022-11-15/UsageRecordSummariesResource.d.ts deleted file mode 100644 index 92c7741a5e..0000000000 --- a/types/2022-11-15/UsageRecordSummariesResource.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface UsageRecordSummaryListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/types/2022-11-15/UsageRecordsResource.d.ts b/types/2022-11-15/UsageRecordsResource.d.ts deleted file mode 100644 index df2a2d4bab..0000000000 --- a/types/2022-11-15/UsageRecordsResource.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -// File generated from our OpenAPI spec - -declare module 'stripe' { - namespace Stripe { - interface UsageRecordCreateParams { - /** - * The usage quantity for the specified timestamp. - */ - quantity: number; - - /** - * Valid values are `increment` (default) or `set`. When using `increment` the specified `quantity` will be added to the usage at the specified timestamp. The `set` action will overwrite the usage quantity at that timestamp. If the subscription has [billing thresholds](https://stripe.com/docs/api/subscriptions/object#subscription_object-billing_thresholds), `increment` is the only allowed value. - */ - action?: UsageRecordCreateParams.Action; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The timestamp for the usage event. This timestamp must be within the current billing period of the subscription of the provided `subscription_item`, and must not be in the future. When passing `"now"`, Stripe records usage for the current time. Default is `"now"` if a value is not provided. - */ - timestamp?: 'now' | number; - } - - namespace UsageRecordCreateParams { - type Action = 'increment' | 'set'; - } - } -} diff --git a/types/2022-11-15/index.d.ts b/types/2022-11-15/index.d.ts index c9c6d21137..f62ed6fe28 100644 --- a/types/2022-11-15/index.d.ts +++ b/types/2022-11-15/index.d.ts @@ -11,65 +11,33 @@ /// /// /// -/// /// /// -/// -/// -/// -/// -/// -/// /// -/// /// /// /// -/// /// -/// -/// /// /// /// /// -/// -/// /// /// -/// -/// -/// -/// /// /// -/// -/// -/// -/// -/// -/// -/// /// /// /// /// -/// /// -/// /// /// /// /// /// -/// -/// -/// /// -/// -/// /// -/// /// /// /// @@ -78,17 +46,44 @@ /// /// /// -/// /// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// +/// /// /// /// /// /// -/// -/// -/// -/// +/// +/// +/// +/// +/// +/// +/// +/// +/// /// /// /// @@ -99,18 +94,6 @@ /// /// /// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// /// /// ///