Skip to content

Commit

Permalink
feat(api): remove unsupported field (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Dec 8, 2023
1 parent 1fc44ce commit 3a7182d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
20 changes: 0 additions & 20 deletions src/orb/types/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"LineItemTaxAmount",
"Maximum",
"Minimum",
"Plan",
"ShippingAddress",
"Subscription",
]
Expand Down Expand Up @@ -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]

Expand Down Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions src/orb/types/invoice_fetch_upcoming_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"LineItemTaxAmount",
"Maximum",
"Minimum",
"Plan",
"ShippingAddress",
"Subscription",
]
Expand Down Expand Up @@ -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]

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3a7182d

Please sign in to comment.