Skip to content

Commit

Permalink
Update generated code for v969
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 18, 2024
1 parent 3028293 commit 7b9aec5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v968
v969
10 changes: 10 additions & 0 deletions types/InvoicesResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4183,6 +4183,11 @@ declare module 'stripe' {
* If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. This field has been deprecated and will be removed in a future API version. Use `subscription_details.trial_end` instead.
*/
subscription_trial_end?: 'now' | number;

/**
* Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
*/
subscription_trial_from_plan?: boolean;
}

namespace InvoiceListUpcomingLinesParams {
Expand Down Expand Up @@ -6648,6 +6653,11 @@ declare module 'stripe' {
* If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. This field has been deprecated and will be removed in a future API version. Use `subscription_details.trial_end` instead.
*/
subscription_trial_end?: 'now' | number;

/**
* Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
*/
subscription_trial_from_plan?: boolean;
}

namespace InvoiceRetrieveUpcomingParams {
Expand Down

0 comments on commit 7b9aec5

Please sign in to comment.