Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen for openapi c984c09 #762

Merged
merged 1 commit into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/2019-12-03/Accounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ declare module 'stripe' {
individual?: AccountCreateParams.Individual;

/**
* A set of key-value pairs that you can attach to an `Account` object. This can be useful for storing additional information about the account in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -1186,7 +1186,7 @@ declare module 'stripe' {
individual?: AccountUpdateParams.Individual;

/**
* A set of key-value pairs that you can attach to an `Account` object. This can be useful for storing additional information about the account in a structured format.
* Set of key-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;

Expand Down
2 changes: 1 addition & 1 deletion types/2019-12-03/Charges.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand Down
6 changes: 3 additions & 3 deletions types/2019-12-03/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ declare module 'stripe' {
description?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -452,7 +452,7 @@ declare module 'stripe' {
description?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand All @@ -478,7 +478,7 @@ declare module 'stripe' {
items: Array<SubscriptionData.Item>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/Coupons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ declare module 'stripe' {
max_redemptions?: number;

/**
* A set of key-value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -181,7 +181,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A set of key-value pairs that you can attach to a coupon object. It can be useful for storing additional information about the coupon in a structured format.
* Set of key-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;

Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/CustomerBalanceTransactions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;
}
Expand All @@ -129,7 +129,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;
}
Expand Down
5 changes: 4 additions & 1 deletion types/2019-12-03/CustomerSources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A set of key-value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.
* Set of key-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;
}
Expand Down Expand Up @@ -80,6 +80,9 @@ declare module 'stripe' {
*/
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;

/**
Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/Customers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ declare module 'stripe' {
invoice_settings?: CustomerCreateParams.InvoiceSettings;

/**
* A set of key-value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -410,7 +410,7 @@ declare module 'stripe' {
invoice_settings?: CustomerUpdateParams.InvoiceSettings;

/**
* A set of key-value pairs that you can attach to a customer object. It can be useful for storing additional information about the customer in a structured format.
* Set of key-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;

Expand Down
2 changes: 1 addition & 1 deletion types/2019-12-03/Disputes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A set of key-value pairs that you can attach to a dispute object. This can be useful for storing additional information about the dispute in a structured format.
* Set of key-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;

Expand Down
5 changes: 4 additions & 1 deletion types/2019-12-03/ExternalAccounts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A set of key-value pairs that you can attach to an external account object. It can be useful for storing additional information about the external account in a structured format.
* Set of key-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;
}
Expand Down Expand Up @@ -90,6 +90,9 @@ declare module 'stripe' {
*/
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;

/**
Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/FileLinks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ declare module 'stripe' {
expires_at?: number;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;
}
Expand All @@ -91,7 +91,7 @@ declare module 'stripe' {
expires_at?: 'now' | number | '';

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;
}
Expand Down
4 changes: 2 additions & 2 deletions types/2019-12-03/InvoiceItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'stripe' {
invoice?: string;

/**
* A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -258,7 +258,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format.
* Set of key-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;

Expand Down
6 changes: 3 additions & 3 deletions types/2019-12-03/InvoiceLineItems.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ declare module 'stripe' {
invoice_item?: string;

/**
* Whether this is a test line item.
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;

Expand Down Expand Up @@ -258,7 +258,7 @@ declare module 'stripe' {
invoiceitem?: string;

/**
* A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -323,7 +323,7 @@ declare module 'stripe' {
id?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand Down
10 changes: 8 additions & 2 deletions types/2019-12-03/Invoices.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,9 @@ declare module 'stripe' {
*/
footer?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;

/**
Expand Down Expand Up @@ -649,6 +652,9 @@ declare module 'stripe' {
*/
footer?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;

/**
Expand Down Expand Up @@ -906,7 +912,7 @@ declare module 'stripe' {
invoiceitem?: string;

/**
* A set of key-value pairs that you can attach to an invoice item object. It can be useful for storing additional information about the invoice item in a structured format.
* Set of key-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;

Expand Down Expand Up @@ -971,7 +977,7 @@ declare module 'stripe' {
id?: string;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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;

Expand Down
6 changes: 3 additions & 3 deletions types/2019-12-03/Issuing/Authorizations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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 | '';
}
Expand Down Expand Up @@ -322,7 +322,7 @@ declare module 'stripe' {
held_amount?: number;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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 | '';
}
Expand All @@ -334,7 +334,7 @@ declare module 'stripe' {
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* Set of key-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 | '';
}
Expand Down
3 changes: 3 additions & 0 deletions types/2019-12-03/Issuing/Cardholders.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,9 @@ declare module 'stripe' {
*/
is_default?: boolean;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. 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;

/**
Expand Down
6 changes: 6 additions & 0 deletions types/2019-12-03/Issuing/Cards.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,9 @@ declare module 'stripe' {
*/
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;

/**
Expand Down Expand Up @@ -2135,6 +2138,9 @@ declare module 'stripe' {
*/
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam | '';

/**
Expand Down
2 changes: 1 addition & 1 deletion types/2019-12-03/Issuing/Disputes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare module 'stripe' {
livemode: boolean;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata: Metadata;

Expand Down
3 changes: 3 additions & 0 deletions types/2019-12-03/Issuing/Transactions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ declare module 'stripe' {
*/
expand?: Array<string>;

/**
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam | '';
}

Expand Down
Loading