From 3a7182da4c9a1cf0ab2467d5a4f438601de5f695 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Fri, 8 Dec 2023 18:48:19 +0000 Subject: [PATCH] feat(api): remove unsupported field (#95) --- src/orb/types/invoice.py | 20 ------------------- .../types/invoice_fetch_upcoming_response.py | 20 ------------------- 2 files changed, 40 deletions(-) diff --git a/src/orb/types/invoice.py b/src/orb/types/invoice.py index 18faacf7..ba6ad026 100644 --- a/src/orb/types/invoice.py +++ b/src/orb/types/invoice.py @@ -33,7 +33,6 @@ "LineItemTaxAmount", "Maximum", "Minimum", - "Plan", "ShippingAddress", "Subscription", ] @@ -696,19 +695,6 @@ class Minimum(BaseModel): """Minimum amount applied""" -class Plan(BaseModel): - id: Optional[str] - - external_plan_id: Optional[str] - """ - An optional user-defined ID for this plan resource, used throughout the system - as an alias for this Plan. Use this field to identify a plan by an existing - identifier in your system. - """ - - name: Optional[str] - - class ShippingAddress(BaseModel): city: Optional[str] @@ -926,12 +912,6 @@ class Invoice(BaseModel): payment mechanisms (like bank transfers), where payment can take 3 days or more. """ - plan: Optional[Plan] - """The active plan for this invoice's subscription on its invoice date. - - This field is only populated for invoices generated by subscriptions. - """ - scheduled_issue_at: Optional[datetime] """ If the invoice is in draft, this timestamp will reflect when the invoice is diff --git a/src/orb/types/invoice_fetch_upcoming_response.py b/src/orb/types/invoice_fetch_upcoming_response.py index a532a752..75a70e25 100644 --- a/src/orb/types/invoice_fetch_upcoming_response.py +++ b/src/orb/types/invoice_fetch_upcoming_response.py @@ -33,7 +33,6 @@ "LineItemTaxAmount", "Maximum", "Minimum", - "Plan", "ShippingAddress", "Subscription", ] @@ -696,19 +695,6 @@ class Minimum(BaseModel): """Minimum amount applied""" -class Plan(BaseModel): - id: Optional[str] - - external_plan_id: Optional[str] - """ - An optional user-defined ID for this plan resource, used throughout the system - as an alias for this Plan. Use this field to identify a plan by an existing - identifier in your system. - """ - - name: Optional[str] - - class ShippingAddress(BaseModel): city: Optional[str] @@ -923,12 +909,6 @@ class InvoiceFetchUpcomingResponse(BaseModel): payment mechanisms (like bank transfers), where payment can take 3 days or more. """ - plan: Optional[Plan] - """The active plan for this invoice's subscription on its invoice date. - - This field is only populated for invoices generated by subscriptions. - """ - scheduled_issue_at: Optional[datetime] """ If the invoice is in draft, this timestamp will reflect when the invoice is