Skip to content

Commit

Permalink
Update generated code for v1016
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 8, 2024
1 parent bce3cb1 commit 93cc298
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1015
v1016
12 changes: 12 additions & 0 deletions stripe/_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -1640,6 +1640,10 @@ class CreatePreviewParams(RequestOptions):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down Expand Up @@ -3355,6 +3359,10 @@ class UpcomingLinesParams(RequestOptions):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down Expand Up @@ -4489,6 +4497,10 @@ class UpcomingParams(RequestOptions):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down
8 changes: 8 additions & 0 deletions stripe/_invoice_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,10 @@ class CreatePreviewParams(TypedDict):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down Expand Up @@ -1812,6 +1816,10 @@ class UpcomingParams(TypedDict):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down
4 changes: 4 additions & 0 deletions stripe/_invoice_upcoming_lines_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class ListParams(TypedDict):
"""
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.
"""
preview_mode: NotRequired[Literal["next", "recurring"]]
"""
Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.
"""
schedule: NotRequired[str]
"""
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.
Expand Down

0 comments on commit 93cc298

Please sign in to comment.