You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: types/2020-08-27/Accounts.d.ts
+8-8
Original file line number
Diff line number
Diff line change
@@ -831,7 +831,7 @@ declare module 'stripe' {
831
831
/**
832
832
* 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`.
833
833
*/
834
-
metadata?: MetadataParam|null;
834
+
metadata?: Stripe.Emptyable<MetadataParam>;
835
835
836
836
/**
837
837
* Options for customizing how the account functions within Stripe.
@@ -1218,7 +1218,7 @@ declare module 'stripe' {
1218
1218
/**
1219
1219
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
1220
1220
*/
1221
-
structure?: Company.Structure|null;
1221
+
structure?: Stripe.Emptyable<Company.Structure>;
1222
1222
1223
1223
/**
1224
1224
* The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
@@ -1332,7 +1332,7 @@ declare module 'stripe' {
1332
1332
/**
1333
1333
* The individual's date of birth.
1334
1334
*/
1335
-
dob?: Individual.Dob|null;
1335
+
dob?: Stripe.Emptyable<Individual.Dob>;
1336
1336
1337
1337
/**
1338
1338
* The individual's email address.
@@ -1387,7 +1387,7 @@ declare module 'stripe' {
1387
1387
/**
1388
1388
* 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`.
1389
1389
*/
1390
-
metadata?: MetadataParam|null;
1390
+
metadata?: Stripe.Emptyable<MetadataParam>;
1391
1391
1392
1392
/**
1393
1393
* The individual's phone number.
@@ -1739,7 +1739,7 @@ declare module 'stripe' {
1739
1739
/**
1740
1740
* 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`.
1741
1741
*/
1742
-
metadata?: MetadataParam|null;
1742
+
metadata?: Stripe.Emptyable<MetadataParam>;
1743
1743
1744
1744
/**
1745
1745
* Options for customizing how the account functions within Stripe.
@@ -2121,7 +2121,7 @@ declare module 'stripe' {
2121
2121
/**
2122
2122
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
2123
2123
*/
2124
-
structure?: Company.Structure|null;
2124
+
structure?: Stripe.Emptyable<Company.Structure>;
2125
2125
2126
2126
/**
2127
2127
* The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
@@ -2235,7 +2235,7 @@ declare module 'stripe' {
2235
2235
/**
2236
2236
* The individual's date of birth.
2237
2237
*/
2238
-
dob?: Individual.Dob|null;
2238
+
dob?: Stripe.Emptyable<Individual.Dob>;
2239
2239
2240
2240
/**
2241
2241
* The individual's email address.
@@ -2290,7 +2290,7 @@ declare module 'stripe' {
2290
2290
/**
2291
2291
* 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`.
Copy file name to clipboardexpand all lines: types/2020-08-27/Charges.d.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -1544,7 +1544,7 @@ declare module 'stripe' {
1544
1544
/**
1545
1545
* 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`.
1546
1546
*/
1547
-
metadata?: MetadataParam|null;
1547
+
metadata?: Stripe.Emptyable<MetadataParam>;
1548
1548
1549
1549
/**
1550
1550
* 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).
@@ -1671,7 +1671,7 @@ declare module 'stripe' {
1671
1671
/**
1672
1672
* 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`.
1673
1673
*/
1674
-
metadata?: MetadataParam|null;
1674
+
metadata?: Stripe.Emptyable<MetadataParam>;
1675
1675
1676
1676
/**
1677
1677
* 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.
Copy file name to clipboardexpand all lines: types/2020-08-27/Coupons.d.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ declare module 'stripe' {
160
160
/**
161
161
* 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`.
162
162
*/
163
-
metadata?: MetadataParam|null;
163
+
metadata?: Stripe.Emptyable<MetadataParam>;
164
164
165
165
/**
166
166
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
@@ -205,7 +205,7 @@ declare module 'stripe' {
205
205
/**
206
206
* 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`.
207
207
*/
208
-
metadata?: MetadataParam|null;
208
+
metadata?: Stripe.Emptyable<MetadataParam>;
209
209
210
210
/**
211
211
* Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
Copy file name to clipboardexpand all lines: types/2020-08-27/CustomerBalanceTransactions.d.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ declare module 'stripe' {
108
108
/**
109
109
* 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`.
* 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`.
Copy file name to clipboardexpand all lines: types/2020-08-27/CustomerSources.d.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ declare module 'stripe' {
84
84
/**
85
85
* 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`.
Copy file name to clipboardexpand all lines: types/2020-08-27/Customers.d.ts
+10-10
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ declare module 'stripe' {
210
210
/**
211
211
* The customer's address.
212
212
*/
213
-
address?: AddressParam|null;
213
+
address?: Stripe.Emptyable<AddressParam>;
214
214
215
215
/**
216
216
* An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
@@ -247,7 +247,7 @@ declare module 'stripe' {
247
247
/**
248
248
* 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`.
249
249
*/
250
-
metadata?: MetadataParam|null;
250
+
metadata?: Stripe.Emptyable<MetadataParam>;
251
251
252
252
/**
253
253
* The customer's full name or business name.
@@ -279,14 +279,14 @@ declare module 'stripe' {
279
279
/**
280
280
* The customer's shipping information. Appears on invoices emailed to this customer.
* ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
@@ -405,7 +405,7 @@ declare module 'stripe' {
405
405
/**
406
406
* The customer's address.
407
407
*/
408
-
address?: AddressParam|null;
408
+
address?: Stripe.Emptyable<AddressParam>;
409
409
410
410
/**
411
411
* An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
@@ -451,7 +451,7 @@ declare module 'stripe' {
451
451
/**
452
452
* 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`.
453
453
*/
454
-
metadata?: MetadataParam|null;
454
+
metadata?: Stripe.Emptyable<MetadataParam>;
455
455
456
456
/**
457
457
* The customer's full name or business name.
@@ -481,14 +481,14 @@ declare module 'stripe' {
481
481
/**
482
482
* The customer's shipping information. Appears on invoices emailed to this customer.
* Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`.
@@ -501,7 +501,7 @@ declare module 'stripe' {
501
501
/**
502
502
* Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
Copy file name to clipboardexpand all lines: types/2020-08-27/Disputes.d.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -272,7 +272,7 @@ declare module 'stripe' {
272
272
/**
273
273
* 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`.
274
274
*/
275
-
metadata?: MetadataParam|null;
275
+
metadata?: Stripe.Emptyable<MetadataParam>;
276
276
277
277
/**
278
278
* 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).
* 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`.
Copy file name to clipboardexpand all lines: types/2020-08-27/FeeRefunds.d.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ declare module 'stripe' {
79
79
/**
80
80
* 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`.
Copy file name to clipboardexpand all lines: types/2020-08-27/FileLinks.d.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ declare module 'stripe' {
70
70
/**
71
71
* 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`.
72
72
*/
73
-
metadata?: MetadataParam|null;
73
+
metadata?: Stripe.Emptyable<MetadataParam>;
74
74
}
75
75
76
76
interfaceFileLinkRetrieveParams{
@@ -89,12 +89,12 @@ declare module 'stripe' {
89
89
/**
90
90
* A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately.
91
91
*/
92
-
expires_at?: 'now'|number|null;
92
+
expires_at?: Stripe.Emptyable<'now'|number>;
93
93
94
94
/**
95
95
* 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`.
0 commit comments