Skip to content

Commit

Permalink
feat(api): api update (#99)
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 caf272a commit 69373ee
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
20 changes: 10 additions & 10 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,30 +242,30 @@ Methods:
- <code title="get /quickbooks-desktop/standard-terms/{id}">client.qbd.standard_terms.<a href="./src/conductor/resources/qbd/standard_terms.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_standard_term.py">QbdStandardTerm</a></code>
- <code title="get /quickbooks-desktop/standard-terms">client.qbd.standard_terms.<a href="./src/conductor/resources/qbd/standard_terms.py">list</a>(\*\*<a href="src/conductor/types/qbd/standard_term_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/standard_term_list_response.py">StandardTermListResponse</a></code>

## Vendors
## Transfers

Types:

```python
from conductor.types.qbd import QbdVendor
from conductor.types.qbd import QbdTransfer
```

Methods:

- <code title="post /quickbooks-desktop/vendors">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">create</a>(\*\*<a href="src/conductor/types/qbd/vendor_create_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">QbdVendor</a></code>
- <code title="get /quickbooks-desktop/vendors/{id}">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">QbdVendor</a></code>
- <code title="get /quickbooks-desktop/vendors">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">list</a>(\*\*<a href="src/conductor/types/qbd/vendor_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">SyncCursorPage[QbdVendor]</a></code>
- <code title="post /quickbooks-desktop/transfers">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">create</a>(\*\*<a href="src/conductor/types/qbd/transfer_create_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">QbdTransfer</a></code>
- <code title="get /quickbooks-desktop/transfers/{id}">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">QbdTransfer</a></code>
- <code title="get /quickbooks-desktop/transfers">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">list</a>(\*\*<a href="src/conductor/types/qbd/transfer_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">SyncCursorPage[QbdTransfer]</a></code>

## Transfers
## Vendors

Types:

```python
from conductor.types.qbd import QbdTransfer
from conductor.types.qbd import QbdVendor
```

Methods:

- <code title="post /quickbooks-desktop/transfers">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">create</a>(\*\*<a href="src/conductor/types/qbd/transfer_create_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">QbdTransfer</a></code>
- <code title="get /quickbooks-desktop/transfers/{id}">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">QbdTransfer</a></code>
- <code title="get /quickbooks-desktop/transfers">client.qbd.transfers.<a href="./src/conductor/resources/qbd/transfers.py">list</a>(\*\*<a href="src/conductor/types/qbd/transfer_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_transfer.py">SyncCursorPage[QbdTransfer]</a></code>
- <code title="post /quickbooks-desktop/vendors">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">create</a>(\*\*<a href="src/conductor/types/qbd/vendor_create_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">QbdVendor</a></code>
- <code title="get /quickbooks-desktop/vendors/{id}">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">retrieve</a>(id) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">QbdVendor</a></code>
- <code title="get /quickbooks-desktop/vendors">client.qbd.vendors.<a href="./src/conductor/resources/qbd/vendors.py">list</a>(\*\*<a href="src/conductor/types/qbd/vendor_list_params.py">params</a>) -> <a href="./src/conductor/types/qbd/qbd_vendor.py">SyncCursorPage[QbdVendor]</a></code>
12 changes: 6 additions & 6 deletions src/conductor/resources/qbd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,18 @@
"AsyncStandardTermsResourceWithRawResponse",
"StandardTermsResourceWithStreamingResponse",
"AsyncStandardTermsResourceWithStreamingResponse",
"VendorsResource",
"AsyncVendorsResource",
"VendorsResourceWithRawResponse",
"AsyncVendorsResourceWithRawResponse",
"VendorsResourceWithStreamingResponse",
"AsyncVendorsResourceWithStreamingResponse",
"TransfersResource",
"AsyncTransfersResource",
"TransfersResourceWithRawResponse",
"AsyncTransfersResourceWithRawResponse",
"TransfersResourceWithStreamingResponse",
"AsyncTransfersResourceWithStreamingResponse",
"VendorsResource",
"AsyncVendorsResource",
"VendorsResourceWithRawResponse",
"AsyncVendorsResourceWithRawResponse",
"VendorsResourceWithStreamingResponse",
"AsyncVendorsResourceWithStreamingResponse",
"QbdResource",
"AsyncQbdResource",
"QbdResourceWithRawResponse",
Expand Down
48 changes: 24 additions & 24 deletions src/conductor/resources/qbd/qbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ def service_items(self) -> ServiceItemsResource:
def standard_terms(self) -> StandardTermsResource:
return StandardTermsResource(self._client)

@cached_property
def vendors(self) -> VendorsResource:
return VendorsResource(self._client)

@cached_property
def transfers(self) -> TransfersResource:
return TransfersResource(self._client)

@cached_property
def vendors(self) -> VendorsResource:
return VendorsResource(self._client)

@cached_property
def with_raw_response(self) -> QbdResourceWithRawResponse:
"""
Expand Down Expand Up @@ -278,14 +278,14 @@ def service_items(self) -> AsyncServiceItemsResource:
def standard_terms(self) -> AsyncStandardTermsResource:
return AsyncStandardTermsResource(self._client)

@cached_property
def vendors(self) -> AsyncVendorsResource:
return AsyncVendorsResource(self._client)

@cached_property
def transfers(self) -> AsyncTransfersResource:
return AsyncTransfersResource(self._client)

@cached_property
def vendors(self) -> AsyncVendorsResource:
return AsyncVendorsResource(self._client)

@cached_property
def with_raw_response(self) -> AsyncQbdResourceWithRawResponse:
"""
Expand Down Expand Up @@ -366,14 +366,14 @@ def service_items(self) -> ServiceItemsResourceWithRawResponse:
def standard_terms(self) -> StandardTermsResourceWithRawResponse:
return StandardTermsResourceWithRawResponse(self._qbd.standard_terms)

@cached_property
def vendors(self) -> VendorsResourceWithRawResponse:
return VendorsResourceWithRawResponse(self._qbd.vendors)

@cached_property
def transfers(self) -> TransfersResourceWithRawResponse:
return TransfersResourceWithRawResponse(self._qbd.transfers)

@cached_property
def vendors(self) -> VendorsResourceWithRawResponse:
return VendorsResourceWithRawResponse(self._qbd.vendors)


class AsyncQbdResourceWithRawResponse:
def __init__(self, qbd: AsyncQbdResource) -> None:
Expand Down Expand Up @@ -435,14 +435,14 @@ def service_items(self) -> AsyncServiceItemsResourceWithRawResponse:
def standard_terms(self) -> AsyncStandardTermsResourceWithRawResponse:
return AsyncStandardTermsResourceWithRawResponse(self._qbd.standard_terms)

@cached_property
def vendors(self) -> AsyncVendorsResourceWithRawResponse:
return AsyncVendorsResourceWithRawResponse(self._qbd.vendors)

@cached_property
def transfers(self) -> AsyncTransfersResourceWithRawResponse:
return AsyncTransfersResourceWithRawResponse(self._qbd.transfers)

@cached_property
def vendors(self) -> AsyncVendorsResourceWithRawResponse:
return AsyncVendorsResourceWithRawResponse(self._qbd.vendors)


class QbdResourceWithStreamingResponse:
def __init__(self, qbd: QbdResource) -> None:
Expand Down Expand Up @@ -504,14 +504,14 @@ def service_items(self) -> ServiceItemsResourceWithStreamingResponse:
def standard_terms(self) -> StandardTermsResourceWithStreamingResponse:
return StandardTermsResourceWithStreamingResponse(self._qbd.standard_terms)

@cached_property
def vendors(self) -> VendorsResourceWithStreamingResponse:
return VendorsResourceWithStreamingResponse(self._qbd.vendors)

@cached_property
def transfers(self) -> TransfersResourceWithStreamingResponse:
return TransfersResourceWithStreamingResponse(self._qbd.transfers)

@cached_property
def vendors(self) -> VendorsResourceWithStreamingResponse:
return VendorsResourceWithStreamingResponse(self._qbd.vendors)


class AsyncQbdResourceWithStreamingResponse:
def __init__(self, qbd: AsyncQbdResource) -> None:
Expand Down Expand Up @@ -573,10 +573,10 @@ def service_items(self) -> AsyncServiceItemsResourceWithStreamingResponse:
def standard_terms(self) -> AsyncStandardTermsResourceWithStreamingResponse:
return AsyncStandardTermsResourceWithStreamingResponse(self._qbd.standard_terms)

@cached_property
def vendors(self) -> AsyncVendorsResourceWithStreamingResponse:
return AsyncVendorsResourceWithStreamingResponse(self._qbd.vendors)

@cached_property
def transfers(self) -> AsyncTransfersResourceWithStreamingResponse:
return AsyncTransfersResourceWithStreamingResponse(self._qbd.transfers)

@cached_property
def vendors(self) -> AsyncVendorsResourceWithStreamingResponse:
return AsyncVendorsResourceWithStreamingResponse(self._qbd.vendors)

0 comments on commit 69373ee

Please sign in to comment.