Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.1.0-alpha.10 #89

Merged
merged 3 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.9"
".": "0.1.0-alpha.10"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 51
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-3a917b8686955f6fde9d822081ba7df42bed37826f0bf2c83fedad0a47721b91.yml
configured_endpoints: 50
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-41bb351091016f69a8934b404d2a2e432c4c76744d6323dfd2575fde06ab1a9b.yml
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.1.0-alpha.10 (2024-10-16)

Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/conductor-is/conductor-python/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)

### Features

* **api:** api update ([#88](https://github.com/conductor-is/conductor-python/issues/88)) ([47528b8](https://github.com/conductor-is/conductor-python/commit/47528b8f9adc1bbcc9fa8546e706773bde3e53da))
* **api:** api update ([#90](https://github.com/conductor-is/conductor-python/issues/90)) ([041768f](https://github.com/conductor-is/conductor-python/commit/041768ffbfa1c651672714522c3f1fc9b3b41acd))

## 0.1.0-alpha.9 (2024-10-15)

Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/conductor-is/conductor-python/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
Expand Down
1 change: 0 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ from conductor.types import IntegrationConnection, IntegrationConnectionListResp

Methods:

- <code title="get /integration-connections/{id}">client.integration_connections.<a href="./src/conductor/resources/integration_connections.py">retrieve</a>(id) -> <a href="./src/conductor/types/integration_connection.py">IntegrationConnection</a></code>
- <code title="get /integration-connections">client.integration_connections.<a href="./src/conductor/resources/integration_connections.py">list</a>() -> <a href="./src/conductor/types/integration_connection_list_response.py">IntegrationConnectionListResponse</a></code>

# Qbd
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "conductor-py"
version = "0.1.0-alpha.9"
version = "0.1.0-alpha.10"
description = "The official Python library for the conductor API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/conductor/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "conductor"
__version__ = "0.1.0-alpha.9" # x-release-please-version
__version__ = "0.1.0-alpha.10" # x-release-please-version
83 changes: 0 additions & 83 deletions src/conductor/resources/integration_connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
async_to_streamed_response_wrapper,
)
from .._base_client import make_request_options
from ..types.integration_connection import IntegrationConnection
from ..types.integration_connection_list_response import IntegrationConnectionListResponse

__all__ = ["IntegrationConnectionsResource", "AsyncIntegrationConnectionsResource"]
Expand All @@ -40,41 +39,6 @@ def with_streaming_response(self) -> IntegrationConnectionsResourceWithStreaming
"""
return IntegrationConnectionsResourceWithStreamingResponse(self)

def retrieve(
self,
id: str,
*,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> IntegrationConnection:
"""
Retrieves an IntegrationConnection object.

Args:
id: The ID of the IntegrationConnection to retrieve.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds
"""
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._get(
f"/integration-connections/{id}",
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=IntegrationConnection,
)

def list(
self,
*,
Expand Down Expand Up @@ -115,41 +79,6 @@ def with_streaming_response(self) -> AsyncIntegrationConnectionsResourceWithStre
"""
return AsyncIntegrationConnectionsResourceWithStreamingResponse(self)

async def retrieve(
self,
id: str,
*,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> IntegrationConnection:
"""
Retrieves an IntegrationConnection object.

Args:
id: The ID of the IntegrationConnection to retrieve.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds
"""
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._get(
f"/integration-connections/{id}",
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
cast_to=IntegrationConnection,
)

async def list(
self,
*,
Expand All @@ -174,9 +103,6 @@ class IntegrationConnectionsResourceWithRawResponse:
def __init__(self, integration_connections: IntegrationConnectionsResource) -> None:
self._integration_connections = integration_connections

self.retrieve = to_raw_response_wrapper(
integration_connections.retrieve,
)
self.list = to_raw_response_wrapper(
integration_connections.list,
)
Expand All @@ -186,9 +112,6 @@ class AsyncIntegrationConnectionsResourceWithRawResponse:
def __init__(self, integration_connections: AsyncIntegrationConnectionsResource) -> None:
self._integration_connections = integration_connections

self.retrieve = async_to_raw_response_wrapper(
integration_connections.retrieve,
)
self.list = async_to_raw_response_wrapper(
integration_connections.list,
)
Expand All @@ -198,9 +121,6 @@ class IntegrationConnectionsResourceWithStreamingResponse:
def __init__(self, integration_connections: IntegrationConnectionsResource) -> None:
self._integration_connections = integration_connections

self.retrieve = to_streamed_response_wrapper(
integration_connections.retrieve,
)
self.list = to_streamed_response_wrapper(
integration_connections.list,
)
Expand All @@ -210,9 +130,6 @@ class AsyncIntegrationConnectionsResourceWithStreamingResponse:
def __init__(self, integration_connections: AsyncIntegrationConnectionsResource) -> None:
self._integration_connections = integration_connections

self.retrieve = async_to_streamed_response_wrapper(
integration_connections.retrieve,
)
self.list = async_to_streamed_response_wrapper(
integration_connections.list,
)
19 changes: 18 additions & 1 deletion src/conductor/types/qbd/inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,21 @@ class CogsAccount(BaseModel):

class CustomField(BaseModel):
name: str
"""The name of the custom field, unique for the specified `ownerId`.

For public custom fields, this name is visible as a label in the QuickBooks UI.
"""

owner_id: Optional[str] = FieldInfo(alias="ownerId", default=None)
"""
The identifier of the owner of the custom field, which QuickBooks internally
calls a "data extension". For public custom fields visible in the UI, such as
those added by the QuickBooks user, this is always "0". For private custom
fields that are only visible to the application that created them, this is a
valid GUID identifying the owning application. Internally, Conductor always
fetches all public custom fields (those with an `ownerId` of "0") for all
objects.
"""

type: Literal[
"amount_type",
Expand All @@ -85,9 +98,13 @@ class CustomField(BaseModel):
"string_1024_type",
"string_255_type",
]
"""The custom field's data type, which corresponds to a QuickBooks data type."""
"""The data type of the custom field."""

value: str
"""The value of the custom field.

The maximum length depends on the field's data type.
"""


class IncomeAccount(BaseModel):
Expand Down
19 changes: 18 additions & 1 deletion src/conductor/types/qbd/non_inventory_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,21 @@ class Class(BaseModel):

class CustomField(BaseModel):
name: str
"""The name of the custom field, unique for the specified `ownerId`.

For public custom fields, this name is visible as a label in the QuickBooks UI.
"""

owner_id: Optional[str] = FieldInfo(alias="ownerId", default=None)
"""
The identifier of the owner of the custom field, which QuickBooks internally
calls a "data extension". For public custom fields visible in the UI, such as
those added by the QuickBooks user, this is always "0". For private custom
fields that are only visible to the application that created them, this is a
valid GUID identifying the owning application. Internally, Conductor always
fetches all public custom fields (those with an `ownerId` of "0") for all
objects.
"""

type: Literal[
"amount_type",
Expand All @@ -55,9 +68,13 @@ class CustomField(BaseModel):
"string_1024_type",
"string_255_type",
]
"""The custom field's data type, which corresponds to a QuickBooks data type."""
"""The data type of the custom field."""

value: str
"""The value of the custom field.

The maximum length depends on the field's data type.
"""


class Parent(BaseModel):
Expand Down
19 changes: 18 additions & 1 deletion src/conductor/types/qbd/qbd_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,21 @@ class Currency(BaseModel):

class CustomField(BaseModel):
name: str
"""The name of the custom field, unique for the specified `ownerId`.

For public custom fields, this name is visible as a label in the QuickBooks UI.
"""

owner_id: Optional[str] = FieldInfo(alias="ownerId", default=None)
"""
The identifier of the owner of the custom field, which QuickBooks internally
calls a "data extension". For public custom fields visible in the UI, such as
those added by the QuickBooks user, this is always "0". For private custom
fields that are only visible to the application that created them, this is a
valid GUID identifying the owning application. Internally, Conductor always
fetches all public custom fields (those with an `ownerId` of "0") for all
objects.
"""

type: Literal[
"amount_type",
Expand All @@ -41,9 +54,13 @@ class CustomField(BaseModel):
"string_1024_type",
"string_255_type",
]
"""The custom field's data type, which corresponds to a QuickBooks data type."""
"""The data type of the custom field."""

value: str
"""The value of the custom field.

The maximum length depends on the field's data type.
"""


class Parent(BaseModel):
Expand Down
Loading