Skip to content

Commit

Permalink
Codegen for openapi b70383b
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Mar 6, 2020
1 parent 165c748 commit 7e8422b
Show file tree
Hide file tree
Showing 32 changed files with 57 additions and 57 deletions.
10 changes: 5 additions & 5 deletions types/2020-03-02/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ declare module 'stripe' {
/**
* The category identifying the legal structure of the company or legal entity.
*/
structure?: Company.Structure | null;
structure?: Company.Structure;

/**
* Whether the company's business ID number was provided.
Expand Down Expand Up @@ -684,7 +684,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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.
Expand Down Expand Up @@ -970,7 +970,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The individual's phone number.
Expand Down Expand Up @@ -1306,7 +1306,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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.
Expand Down Expand Up @@ -1587,7 +1587,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The individual's phone number.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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).
Expand Down Expand Up @@ -1364,7 +1364,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Coupons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
Expand Down Expand Up @@ -183,7 +183,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/CustomerBalanceTransactions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface CustomerBalanceTransactionRetrieveParams {
Expand All @@ -131,7 +131,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface CustomerBalanceTransactionListParams extends PaginationParams {
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/CustomerSources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Cardholder name.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Customers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The customer's full name or business name.
Expand Down Expand Up @@ -435,7 +435,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The customer's full name or business name.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/Disputes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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).
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/ExternalAccounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Cardholder name.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/FeeRefunds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface FeeRefundListParams extends PaginationParams {
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/FileLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface FileLinkRetrieveParams {
Expand All @@ -93,7 +93,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface FileLinkListParams extends PaginationParams {
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/InvoiceItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The period associated with this invoice item.
Expand Down Expand Up @@ -260,7 +260,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The period associated with this invoice item.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/InvoiceLineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The period associated with this invoice item.
Expand Down Expand Up @@ -337,7 +337,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Plan ID for this item, as a string.
Expand Down
8 changes: 4 additions & 4 deletions types/2020-03-02/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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`.
Expand Down Expand Up @@ -683,7 +683,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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`.
Expand Down Expand Up @@ -951,7 +951,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The period associated with this invoice item.
Expand Down Expand Up @@ -1016,7 +1016,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* Plan ID for this item, as a string.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/Orders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/Payouts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface PayoutListParams extends PaginationParams {
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Persons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person.
Expand Down Expand Up @@ -732,7 +732,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Plans.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* A brief description of the plan, hidden from customers.
Expand Down Expand Up @@ -381,7 +381,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* A brief description of the plan, hidden from customers.
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/Products.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* 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.
Expand Down
4 changes: 2 additions & 2 deletions types/2020-03-02/Refunds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

payment_intent?: string;

Expand Down Expand Up @@ -141,7 +141,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;
}

interface RefundListParams extends PaginationParams {
Expand Down
2 changes: 1 addition & 1 deletion types/2020-03-02/SKUs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ declare module 'stripe' {
/**
* Set of key-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?: MetadataParam;
metadata?: MetadataParam | null;

/**
* The dimensions of this SKU for shipping purposes.
Expand Down
Loading

0 comments on commit 7e8422b

Please sign in to comment.