Skip to content

Commit

Permalink
Codegen for openapi 23ae7d8
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Mar 5, 2020
1 parent 96eb85d commit 9949a7d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions types/2020-03-02/WebhookEndpoints.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ 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.
*/
metadata: Metadata;

/**
* The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation.
*/
Expand Down Expand Up @@ -102,6 +107,11 @@ declare module 'stripe' {
* Specifies which fields in the response should be expanded.
*/
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;
}

namespace WebhookEndpointCreateParams {
Expand Down Expand Up @@ -381,6 +391,11 @@ 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 | null;

/**
* The URL of the webhook endpoint.
*/
Expand Down

0 comments on commit 9949a7d

Please sign in to comment.