stripe 8.192.0 → 8.193.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 8.193.0 - 2021-12-09
4
+ * [#1308](https://github.com/stripe/stripe-node/pull/1308) API Updates
5
+ * Add support for `metadata` on `BillingPortalConfigurationCreateParams`, `BillingPortalConfigurationUpdateParams`, and `BillingPortal.Configuration`
6
+
3
7
  ## 8.192.0 - 2021-12-09
4
8
  * [#1307](https://github.com/stripe/stripe-node/pull/1307) API Updates
5
9
  * Add support for new values `ge_vat` and `ua_vat` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, and `TaxId.type`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8.192.0
1
+ 8.193.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "8.192.0",
3
+ "version": "8.193.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -51,6 +51,11 @@ declare module 'stripe' {
51
51
  */
52
52
  livemode: boolean;
53
53
 
54
+ /**
55
+ * 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.
56
+ */
57
+ metadata: Stripe.Metadata | null;
58
+
54
59
  /**
55
60
  * Time at which the object was last updated. Measured in seconds since the Unix epoch.
56
61
  */
@@ -251,6 +256,11 @@ declare module 'stripe' {
251
256
  * Specifies which fields in the response should be expanded.
252
257
  */
253
258
  expand?: Array<string>;
259
+
260
+ /**
261
+ * 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`.
262
+ */
263
+ metadata?: Stripe.MetadataParam;
254
264
  }
255
265
 
256
266
  namespace ConfigurationCreateParams {
@@ -482,6 +492,11 @@ declare module 'stripe' {
482
492
  * Information about the features available in the portal.
483
493
  */
484
494
  features?: ConfigurationUpdateParams.Features;
495
+
496
+ /**
497
+ * 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`.
498
+ */
499
+ metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
485
500
  }
486
501
 
487
502
  namespace ConfigurationUpdateParams {