From f33a6d5f8caff63fa4e40945d758555981b96434 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:56:36 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 2 +- src/orb/types/invoice.py | 7 +++++-- src/orb/types/invoice_fetch_upcoming_response.py | 7 +++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7dd05a09..c4326132 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 101 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-52bd3046e73f201c4d08edfa92756791c015be907691a7893f8e7782cc2aea6f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6d60f8edbdc94e65f06b0b002cc8e1f27aceccc67917bea849425701ba82fb8.yml diff --git a/src/orb/types/invoice.py b/src/orb/types/invoice.py index 1daa1271..9799e405 100644 --- a/src/orb/types/invoice.py +++ b/src/orb/types/invoice.py @@ -927,8 +927,11 @@ class Invoice(BaseModel): discounts: List[InvoiceLevelDiscount] - due_date: datetime - """When the invoice payment is due.""" + due_date: Optional[datetime] = None + """When the invoice payment is due. + + The due date is null if the invoice is not yet finalized. + """ eligible_to_issue_at: Optional[datetime] = None """ diff --git a/src/orb/types/invoice_fetch_upcoming_response.py b/src/orb/types/invoice_fetch_upcoming_response.py index 3a716af2..5b7f7d2c 100644 --- a/src/orb/types/invoice_fetch_upcoming_response.py +++ b/src/orb/types/invoice_fetch_upcoming_response.py @@ -927,8 +927,11 @@ class InvoiceFetchUpcomingResponse(BaseModel): discounts: List[InvoiceLevelDiscount] - due_date: datetime - """When the invoice payment is due.""" + due_date: Optional[datetime] = None + """When the invoice payment is due. + + The due date is null if the invoice is not yet finalized. + """ eligible_to_issue_at: Optional[datetime] = None """