Skip to content

Commit 3b4c06a

Browse files
feat(api): api update
1 parent bae25c8 commit 3b4c06a

File tree

5 files changed

+2
-68
lines changed

5 files changed

+2
-68
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-145c6652d32a05c9305e4674643e2aa7d559073e48dc252d6c3c0fe802ce7ec6.yml
3-
openapi_spec_hash: 6bbbbe1687099b69faee47fda12bf82c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9e751a2aefff382af949380b5979a80cb02743eca1583cf5146325fb400ba87f.yml
3+
openapi_spec_hash: 219a1008f47d3293f64f1baebe2d6eb5
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/orb/types/invoice_fetch_upcoming_response.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from .shared.address import Address
1111
from .shared.maximum import Maximum
1212
from .shared.minimum import Minimum
13-
from .shared.discount import Discount
1413
from .shared.tax_amount import TaxAmount
1514
from .shared.invoice_tiny import InvoiceTiny
1615
from .shared.customer_tax_id import CustomerTaxID
@@ -172,9 +171,6 @@ class LineItem(BaseModel):
172171
credits_applied: str
173172
"""The number of prepaid credits applied."""
174173

175-
discount: Optional[Discount] = None
176-
"""This field is deprecated in favor of `adjustments`"""
177-
178174
end_date: datetime
179175
"""The end date of the range of time applied for this line item's price."""
180176

@@ -188,18 +184,6 @@ class LineItem(BaseModel):
188184
values for this particular grouping.
189185
"""
190186

191-
maximum: Optional[Maximum] = None
192-
"""This field is deprecated in favor of `adjustments`."""
193-
194-
maximum_amount: Optional[str] = None
195-
"""This field is deprecated in favor of `adjustments`."""
196-
197-
minimum: Optional[Minimum] = None
198-
"""This field is deprecated in favor of `adjustments`."""
199-
200-
minimum_amount: Optional[str] = None
201-
"""This field is deprecated in favor of `adjustments`."""
202-
203187
name: str
204188
"""The name of the price associated with this line item."""
205189

src/orb/types/invoice_line_item_create_response.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
from .._utils import PropertyInfo
88
from .._models import BaseModel
99
from .shared.price import Price
10-
from .shared.maximum import Maximum
11-
from .shared.minimum import Minimum
12-
from .shared.discount import Discount
1310
from .shared.tax_amount import TaxAmount
1411
from .shared.tier_sub_line_item import TierSubLineItem
1512
from .shared.other_sub_line_item import OtherSubLineItem
@@ -64,9 +61,6 @@ class InvoiceLineItemCreateResponse(BaseModel):
6461
credits_applied: str
6562
"""The number of prepaid credits applied."""
6663

67-
discount: Optional[Discount] = None
68-
"""This field is deprecated in favor of `adjustments`"""
69-
7064
end_date: datetime
7165
"""The end date of the range of time applied for this line item's price."""
7266

@@ -80,18 +74,6 @@ class InvoiceLineItemCreateResponse(BaseModel):
8074
values for this particular grouping.
8175
"""
8276

83-
maximum: Optional[Maximum] = None
84-
"""This field is deprecated in favor of `adjustments`."""
85-
86-
maximum_amount: Optional[str] = None
87-
"""This field is deprecated in favor of `adjustments`."""
88-
89-
minimum: Optional[Minimum] = None
90-
"""This field is deprecated in favor of `adjustments`."""
91-
92-
minimum_amount: Optional[str] = None
93-
"""This field is deprecated in favor of `adjustments`."""
94-
9577
name: str
9678
"""The name of the price associated with this line item."""
9779

src/orb/types/shared/changed_subscription_resources.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from .maximum import Maximum
1111
from .minimum import Minimum
1212
from ..._utils import PropertyInfo
13-
from .discount import Discount
1413
from ..._models import BaseModel
1514
from .tax_amount import TaxAmount
1615
from .credit_note import CreditNote
@@ -175,9 +174,6 @@ class CreatedInvoiceLineItem(BaseModel):
175174
credits_applied: str
176175
"""The number of prepaid credits applied."""
177176

178-
discount: Optional[Discount] = None
179-
"""This field is deprecated in favor of `adjustments`"""
180-
181177
end_date: datetime
182178
"""The end date of the range of time applied for this line item's price."""
183179

@@ -191,18 +187,6 @@ class CreatedInvoiceLineItem(BaseModel):
191187
values for this particular grouping.
192188
"""
193189

194-
maximum: Optional[Maximum] = None
195-
"""This field is deprecated in favor of `adjustments`."""
196-
197-
maximum_amount: Optional[str] = None
198-
"""This field is deprecated in favor of `adjustments`."""
199-
200-
minimum: Optional[Minimum] = None
201-
"""This field is deprecated in favor of `adjustments`."""
202-
203-
minimum_amount: Optional[str] = None
204-
"""This field is deprecated in favor of `adjustments`."""
205-
206190
name: str
207191
"""The name of the price associated with this line item."""
208192

src/orb/types/shared/invoice.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from .maximum import Maximum
1010
from .minimum import Minimum
1111
from ..._utils import PropertyInfo
12-
from .discount import Discount
1312
from ..._models import BaseModel
1413
from .tax_amount import TaxAmount
1514
from .invoice_tiny import InvoiceTiny
@@ -172,9 +171,6 @@ class LineItem(BaseModel):
172171
credits_applied: str
173172
"""The number of prepaid credits applied."""
174173

175-
discount: Optional[Discount] = None
176-
"""This field is deprecated in favor of `adjustments`"""
177-
178174
end_date: datetime
179175
"""The end date of the range of time applied for this line item's price."""
180176

@@ -188,18 +184,6 @@ class LineItem(BaseModel):
188184
values for this particular grouping.
189185
"""
190186

191-
maximum: Optional[Maximum] = None
192-
"""This field is deprecated in favor of `adjustments`."""
193-
194-
maximum_amount: Optional[str] = None
195-
"""This field is deprecated in favor of `adjustments`."""
196-
197-
minimum: Optional[Minimum] = None
198-
"""This field is deprecated in favor of `adjustments`."""
199-
200-
minimum_amount: Optional[str] = None
201-
"""This field is deprecated in favor of `adjustments`."""
202-
203187
name: str
204188
"""The name of the price associated with this line item."""
205189

0 commit comments

Comments
 (0)