Skip to content

Commit

Permalink
feat(api): api update (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 28, 2024
1 parent 85a6f4a commit d04dbb4
Show file tree
Hide file tree
Showing 7 changed files with 1,651 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 61
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-6b209f22588da138a86a94aaa8d1635d8ec612d2d41654fd7f5b43458b73a3d5.yml
configured_endpoints: 62
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-80031e54b796471e08687ece9231d8990afba9886708c24b32f86e9940e4b614.yml
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Methods:

- <code title="post /quickbooks-desktop/bills">client.qbd.bills.<a href="./src/conductor/resources/qbd/bills.py">create</a>(\*\*<a href="src/conductor/types/qbd/bill_create_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_bill.py">QbdBill</a></code>
- <code title="get /quickbooks-desktop/bills/{id}">client.qbd.bills.<a href="./src/conductor/resources/qbd/bills.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_bill.py">QbdBill</a></code>
- <code title="post /quickbooks-desktop/bills/{id}">client.qbd.bills.<a href="./src/conductor/resources/qbd/bills.py">update</a>(id, \*\*<a href="src/conductor/types/qbd/bill_update_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_bill.py">QbdBill</a></code>
- <code title="get /quickbooks-desktop/bills">client.qbd.bills.<a href="./src/conductor/resources/qbd/bills.py">list</a>(\*\*<a href="src/conductor/types/qbd/bill_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_bill.py">SyncCursorPage[QbdBill]</a></code>

## Classes
Expand Down
310 changes: 309 additions & 1 deletion src/conductor/resources/qbd/bills.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/conductor/types/qbd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from .class_list_params import ClassListParams as ClassListParams
from .qbd_standard_term import QbdStandardTerm as QbdStandardTerm
from .bill_create_params import BillCreateParams as BillCreateParams
from .bill_update_params import BillUpdateParams as BillUpdateParams
from .credit_card_credit import CreditCardCredit as CreditCardCredit
from .non_inventory_item import NonInventoryItem as NonInventoryItem
from .qbd_sales_tax_item import QbdSalesTaxItem as QbdSalesTaxItem
Expand Down
534 changes: 534 additions & 0 deletions src/conductor/types/qbd/bill_update_params.py

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/conductor/types/qbd/qbd_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ class InvoiceLineGroup(BaseModel):

invoice_lines: List[InvoiceLineGroupInvoiceLine] = FieldInfo(alias="invoiceLines")
"""
The invoice line group's line items, each representing a single product or
The invoice line group's invoice lines, each representing a single product or
service sold.
"""

Expand Down Expand Up @@ -1207,7 +1207,9 @@ class QbdInvoice(BaseModel):
"""

invoice_lines: List[InvoiceLine] = FieldInfo(alias="invoiceLines")
"""The invoice's line items, each representing a single product or service sold."""
"""
The invoice's invoice lines, each representing a single product or service sold.
"""

is_finance_charge: Optional[bool] = FieldInfo(alias="isFinanceCharge", default=None)
"""Whether this invoice includes a finance charge."""
Expand Down
800 changes: 800 additions & 0 deletions tests/api_resources/qbd/test_bills.py

Large diffs are not rendered by default.

0 comments on commit d04dbb4

Please sign in to comment.