Skip to content

Commit 79b9596

Browse files
chore(internal): codegen related update
1 parent b3e1ca1 commit 79b9596

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/orb/resources/invoices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def list_summary(
519519
invoice_date_lte: Union[str, datetime, None] | Omit = omit,
520520
is_recurring: Optional[bool] | Omit = omit,
521521
limit: int | Omit = omit,
522-
status: Optional[List[Literal["draft", "issued", "paid", "synced", "void"]]] | Omit = omit,
522+
status: Optional[Literal["draft", "issued", "paid", "synced", "void"]] | Omit = omit,
523523
subscription_id: Optional[str] | Omit = omit,
524524
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
525525
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1239,7 +1239,7 @@ def list_summary(
12391239
invoice_date_lte: Union[str, datetime, None] | Omit = omit,
12401240
is_recurring: Optional[bool] | Omit = omit,
12411241
limit: int | Omit = omit,
1242-
status: Optional[List[Literal["draft", "issued", "paid", "synced", "void"]]] | Omit = omit,
1242+
status: Optional[Literal["draft", "issued", "paid", "synced", "void"]] | Omit = omit,
12431243
subscription_id: Optional[str] | Omit = omit,
12441244
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
12451245
# The extra values given here take precedence over values defined on the client or passed to this method.

src/orb/types/invoice_list_summary_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import List, Union, Optional
5+
from typing import Union, Optional
66
from datetime import date, datetime
77
from typing_extensions import Literal, Annotated, TypedDict
88

@@ -58,6 +58,6 @@ class InvoiceListSummaryParams(TypedDict, total=False):
5858
limit: int
5959
"""The number of items to fetch. Defaults to 20."""
6060

61-
status: Optional[List[Literal["draft", "issued", "paid", "synced", "void"]]]
61+
status: Optional[Literal["draft", "issued", "paid", "synced", "void"]]
6262

6363
subscription_id: Optional[str]

tests/api_resources/test_invoices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def test_method_list_summary_with_all_params(self, client: Orb) -> None:
419419
invoice_date_lte=parse_datetime("2019-12-27T18:11:19.117Z"),
420420
is_recurring=True,
421421
limit=1,
422-
status=["draft"],
422+
status="draft",
423423
subscription_id="subscription_id",
424424
)
425425
assert_matches_type(SyncPage[InvoiceListSummaryResponse], invoice, path=["response"])
@@ -974,7 +974,7 @@ async def test_method_list_summary_with_all_params(self, async_client: AsyncOrb)
974974
invoice_date_lte=parse_datetime("2019-12-27T18:11:19.117Z"),
975975
is_recurring=True,
976976
limit=1,
977-
status=["draft"],
977+
status="draft",
978978
subscription_id="subscription_id",
979979
)
980980
assert_matches_type(AsyncPage[InvoiceListSummaryResponse], invoice, path=["response"])

0 commit comments

Comments
 (0)