Skip to content

Commit b708295

Browse files
committed
Codegen for openapi 34ddc7f
1 parent e05fb34 commit b708295

6 files changed

+25
-10
lines changed

types/2020-03-02/Issuing/Authorizations.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ declare module 'stripe' {
190190
state: string | null;
191191

192192
/**
193-
* The url an online purchase was made from
193+
* URL provided by the merchant on a 3DS request
194194
*/
195-
url: string | null;
195+
url?: string | null;
196196
}
197197

198198
interface PendingRequest {
@@ -366,9 +366,9 @@ declare module 'stripe' {
366366
expiry_check: VerificationData.ExpiryCheck;
367367

368368
/**
369-
* 3D Secure details on this authorization.
369+
* 3D Secure details.
370370
*/
371-
three_d_secure: VerificationData.ThreeDSecure | null;
371+
three_d_secure?: VerificationData.ThreeDSecure | null;
372372
}
373373

374374
namespace VerificationData {
@@ -516,7 +516,7 @@ declare module 'stripe' {
516516
): ApiListPromise<Stripe.Issuing.Authorization>;
517517

518518
/**
519-
* Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow.
519+
* Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow.
520520
*/
521521
approve(
522522
id: string,

types/2020-03-02/Issuing/Cards.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ declare module 'stripe' {
7777
/**
7878
* Metadata about the PIN on the card.
7979
*/
80-
pin: Card.Pin | null;
80+
pin?: Card.Pin | null;
8181

8282
/**
8383
* The latest card that replaces this card, if any.

types/2020-03-02/Issuing/Transactions.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ declare module 'stripe' {
121121
state: string | null;
122122

123123
/**
124-
* The url an online purchase was made from
124+
* URL provided by the merchant on a 3DS request
125125
*/
126-
url: string | null;
126+
url?: string | null;
127127
}
128128

129129
type Type =

types/2020-03-02/Payouts.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ declare module 'stripe' {
101101
statement_descriptor: string | null;
102102

103103
/**
104-
* Current status of the payout (`paid`, `pending`, `in_transit`, `canceled` or `failed`). A payout will be `pending` until it is submitted to the bank, at which point it becomes `in_transit`. It will then change to `paid` if the transaction goes through. If it does not go through successfully, its status will change to `failed` or `canceled`.
104+
* Current status of the payout: `paid`, `pending`, `in_transit`, `canceled` or `failed`. A payout is `pending` until it is submitted to the bank, when it becomes `in_transit`. The status then changes to `paid` if the transaction goes through, or to `failed` or `canceled` (within 5 business days). Some failed payouts may initially show as `paid` but then change to `failed`.
105105
*/
106106
status: string;
107107

types/2020-03-02/SubscriptionSchedules.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ declare module 'stripe' {
250250
/**
251251
* Quantity of the plan to which the customer should be subscribed.
252252
*/
253-
quantity: number | null;
253+
quantity?: number;
254254

255255
/**
256256
* The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.

types/2020-03-02/WebhookEndpoints.d.ts

+15
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ declare module 'stripe' {
3131

3232
deleted?: void;
3333

34+
/**
35+
* An optional description of what the wehbook is used for.
36+
*/
37+
description: string | null;
38+
3439
/**
3540
* The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection.
3641
*/
@@ -103,6 +108,11 @@ declare module 'stripe' {
103108
*/
104109
connect?: boolean;
105110

111+
/**
112+
* An optional description of what the wehbook is used for.
113+
*/
114+
description?: string;
115+
106116
/**
107117
* Specifies which fields in the response should be expanded.
108118
*/
@@ -376,6 +386,11 @@ declare module 'stripe' {
376386
}
377387

378388
interface WebhookEndpointUpdateParams {
389+
/**
390+
* An optional description of what the wehbook is used for.
391+
*/
392+
description?: string;
393+
379394
/**
380395
* Disable the webhook endpoint if set to true.
381396
*/

0 commit comments

Comments
 (0)