Skip to content

Commit 2584f9c

Browse files
authored
Merge pull request stripe#762 from stripe/ob/codegen-c984c09
Codegen for openapi c984c09
2 parents 30a4d54 + 4b12bf2 commit 2584f9c

35 files changed

+86
-62
lines changed

types/2019-12-03/Accounts.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ declare module 'stripe' {
589589
individual?: AccountCreateParams.Individual;
590590

591591
/**
592-
* 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.
592+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
593593
*/
594594
metadata?: MetadataParam;
595595

@@ -1186,7 +1186,7 @@ declare module 'stripe' {
11861186
individual?: AccountUpdateParams.Individual;
11871187

11881188
/**
1189-
* 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.
1189+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
11901190
*/
11911191
metadata?: MetadataParam;
11921192

types/2019-12-03/Charges.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ declare module 'stripe' {
11901190
expand?: Array<string>;
11911191

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

types/2019-12-03/Checkout/Sessions.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ declare module 'stripe' {
355355
description?: string;
356356

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

@@ -452,7 +452,7 @@ declare module 'stripe' {
452452
description?: string;
453453

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

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

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

types/2019-12-03/Coupons.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ declare module 'stripe' {
143143
max_redemptions?: number;
144144

145145
/**
146-
* 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.
146+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
147147
*/
148148
metadata?: MetadataParam;
149149

@@ -181,7 +181,7 @@ declare module 'stripe' {
181181
expand?: Array<string>;
182182

183183
/**
184-
* 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.
184+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
185185
*/
186186
metadata?: MetadataParam;
187187

types/2019-12-03/CustomerBalanceTransactions.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ declare module 'stripe' {
105105
expand?: Array<string>;
106106

107107
/**
108-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
108+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
109109
*/
110110
metadata?: MetadataParam;
111111
}
@@ -129,7 +129,7 @@ declare module 'stripe' {
129129
expand?: Array<string>;
130130

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

types/2019-12-03/CustomerSources.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare module 'stripe' {
1212
expand?: Array<string>;
1313

1414
/**
15-
* 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.
15+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1616
*/
1717
metadata?: MetadataParam;
1818
}
@@ -80,6 +80,9 @@ declare module 'stripe' {
8080
*/
8181
expand?: Array<string>;
8282

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

8588
/**

types/2019-12-03/Customers.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ declare module 'stripe' {
239239
invoice_settings?: CustomerCreateParams.InvoiceSettings;
240240

241241
/**
242-
* 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.
242+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
243243
*/
244244
metadata?: MetadataParam;
245245

@@ -410,7 +410,7 @@ declare module 'stripe' {
410410
invoice_settings?: CustomerUpdateParams.InvoiceSettings;
411411

412412
/**
413-
* 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.
413+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
414414
*/
415415
metadata?: MetadataParam;
416416

types/2019-12-03/Disputes.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ declare module 'stripe' {
269269
expand?: Array<string>;
270270

271271
/**
272-
* 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.
272+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
273273
*/
274274
metadata?: MetadataParam;
275275

types/2019-12-03/ExternalAccounts.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare module 'stripe' {
1717
expand?: Array<string>;
1818

1919
/**
20-
* 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.
20+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2121
*/
2222
metadata?: MetadataParam;
2323
}
@@ -90,6 +90,9 @@ declare module 'stripe' {
9090
*/
9191
expand?: Array<string>;
9292

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

9598
/**

types/2019-12-03/FileLinks.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ declare module 'stripe' {
6767
expires_at?: number;
6868

6969
/**
70-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
70+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
7171
*/
7272
metadata?: MetadataParam;
7373
}
@@ -91,7 +91,7 @@ declare module 'stripe' {
9191
expires_at?: 'now' | number | '';
9292

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

types/2019-12-03/InvoiceItems.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ declare module 'stripe' {
180180
invoice?: string;
181181

182182
/**
183-
* 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.
183+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
184184
*/
185185
metadata?: MetadataParam;
186186

@@ -258,7 +258,7 @@ declare module 'stripe' {
258258
expand?: Array<string>;
259259

260260
/**
261-
* 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.
261+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
262262
*/
263263
metadata?: MetadataParam;
264264

types/2019-12-03/InvoiceLineItems.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare module 'stripe' {
3737
invoice_item?: string;
3838

3939
/**
40-
* Whether this is a test line item.
40+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
4141
*/
4242
livemode: boolean;
4343

@@ -258,7 +258,7 @@ declare module 'stripe' {
258258
invoiceitem?: string;
259259

260260
/**
261-
* 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.
261+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
262262
*/
263263
metadata?: MetadataParam;
264264

@@ -323,7 +323,7 @@ declare module 'stripe' {
323323
id?: string;
324324

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

types/2019-12-03/Invoices.d.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,9 @@ declare module 'stripe' {
538538
*/
539539
footer?: string;
540540

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

543546
/**
@@ -649,6 +652,9 @@ declare module 'stripe' {
649652
*/
650653
footer?: string;
651654

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

654660
/**
@@ -906,7 +912,7 @@ declare module 'stripe' {
906912
invoiceitem?: string;
907913

908914
/**
909-
* 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.
915+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
910916
*/
911917
metadata?: MetadataParam;
912918

@@ -971,7 +977,7 @@ declare module 'stripe' {
971977
id?: string;
972978

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

types/2019-12-03/Issuing/Authorizations.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ declare module 'stripe' {
274274
expand?: Array<string>;
275275

276276
/**
277-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
277+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
278278
*/
279279
metadata?: MetadataParam | '';
280280
}
@@ -322,7 +322,7 @@ declare module 'stripe' {
322322
held_amount?: number;
323323

324324
/**
325-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
325+
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
326326
*/
327327
metadata?: MetadataParam | '';
328328
}
@@ -334,7 +334,7 @@ declare module 'stripe' {
334334
expand?: Array<string>;
335335

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

types/2019-12-03/Issuing/Cardholders.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,9 @@ declare module 'stripe' {
11561156
*/
11571157
is_default?: boolean;
11581158

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

11611164
/**

types/2019-12-03/Issuing/Cards.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,9 @@ declare module 'stripe' {
11361136
*/
11371137
expand?: Array<string>;
11381138

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

11411144
/**
@@ -2135,6 +2138,9 @@ declare module 'stripe' {
21352138
*/
21362139
expand?: Array<string>;
21372140

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

21402146
/**

types/2019-12-03/Issuing/Disputes.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare module 'stripe' {
4343
livemode: boolean;
4444

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

types/2019-12-03/Issuing/Transactions.d.ts

+3
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ declare module 'stripe' {
142142
*/
143143
expand?: Array<string>;
144144

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

0 commit comments

Comments
 (0)