Skip to content

Commit

Permalink
feat(api): api update (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 17, 2024
1 parent 47a729a commit dcaa703
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 56
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-3bb350b8bff9a7d40ce3dc0aaed8be95874ca120f4fb778366776341c4f20818.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-8bc77ae6035c58aa6c8b0ee1e36a349844ad13567376f78377e15b51f3eb6f33.yml
4 changes: 2 additions & 2 deletions src/conductor/resources/qbd/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def create(
Charge Sales Tax?" preference), it will assign the default non-taxable code to
all sales.
tax_line_id: The identifier of the federal tax line associated with this account.
tax_line_id: The identifier of the tax line associated with this account.
extra_headers: Send extra headers
Expand Down Expand Up @@ -468,7 +468,7 @@ async def create(
Charge Sales Tax?" preference), it will assign the default non-taxable code to
all sales.
tax_line_id: The identifier of the federal tax line associated with this account.
tax_line_id: The identifier of the tax line associated with this account.
extra_headers: Send extra headers
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/types/qbd/account_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ class AccountCreateParams(TypedDict, total=False):
"""

tax_line_id: Annotated[float, PropertyInfo(alias="taxLineId")]
"""The identifier of the federal tax line associated with this account."""
"""The identifier of the tax line associated with this account."""
5 changes: 5 additions & 0 deletions src/conductor/types/qbd/qbd_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@ class SalesTaxCode(BaseModel):

class TaxLineDetails(BaseModel):
tax_line_id: float = FieldInfo(alias="taxLineId")
"""The identifier of the tax line associated with this account."""

tax_line_name: Optional[str] = FieldInfo(alias="taxLineName", default=None)
"""
The name of the tax line associated with this account, as it appears on the tax
form.
"""


class QbdAccount(BaseModel):
Expand Down

0 comments on commit dcaa703

Please sign in to comment.