diff --git a/.stats.yml b/.stats.yml index 9e2d149f..6bb2a4eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 71 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-64079a7ca9d6e3ba3c97674febf89cbdf33e74e51ced35bbb6e48ba27debfd73.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-c7cecb168a10fc41ae7cc764202d79eab59c8ff34122fd90fbee4483456e787e.yml diff --git a/src/conductor/types/qbd/customer_create_params.py b/src/conductor/types/qbd/customer_create_params.py index f667b992..c263ba21 100644 --- a/src/conductor/types/qbd/customer_create_params.py +++ b/src/conductor/types/qbd/customer_create_params.py @@ -304,7 +304,7 @@ class AlternateShippingAddress(TypedDict, total=False): country: str """The country name of the address.""" - default_ship_to: Annotated[bool, PropertyInfo(alias="defaultShipTo")] + is_default_address: Annotated[bool, PropertyInfo(alias="isDefaultAddress")] """Indicates whether this address is the default shipping address.""" line1: str diff --git a/src/conductor/types/qbd/customer_update_params.py b/src/conductor/types/qbd/customer_update_params.py index 0826e326..406459e4 100644 --- a/src/conductor/types/qbd/customer_update_params.py +++ b/src/conductor/types/qbd/customer_update_params.py @@ -294,7 +294,7 @@ class AlternateShippingAddress(TypedDict, total=False): country: str """The country name of the address.""" - default_ship_to: Annotated[bool, PropertyInfo(alias="defaultShipTo")] + is_default_address: Annotated[bool, PropertyInfo(alias="isDefaultAddress")] """Indicates whether this address is the default shipping address.""" line1: str diff --git a/src/conductor/types/qbd/qbd_customer.py b/src/conductor/types/qbd/qbd_customer.py index ecc8be7d..c9aa051b 100644 --- a/src/conductor/types/qbd/qbd_customer.py +++ b/src/conductor/types/qbd/qbd_customer.py @@ -120,7 +120,7 @@ class AlternateShippingAddress(BaseModel): country: Optional[str] = None """The country name of the address.""" - default_ship_to: Optional[bool] = FieldInfo(alias="defaultShipTo", default=None) + is_default_address: Optional[bool] = FieldInfo(alias="isDefaultAddress", default=None) """Indicates whether this address is the default shipping address.""" line1: Optional[str] = None diff --git a/tests/api_resources/qbd/test_customers.py b/tests/api_resources/qbd/test_customers.py index 5542c767..d88a8ef0 100644 --- a/tests/api_resources/qbd/test_customers.py +++ b/tests/api_resources/qbd/test_customers.py @@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -59,7 +59,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -73,7 +73,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -340,7 +340,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -354,7 +354,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -368,7 +368,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -658,7 +658,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -672,7 +672,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -686,7 +686,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -953,7 +953,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -967,7 +967,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3", @@ -981,7 +981,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) "name": "Alternate shipping address", "city": "San Francisco", "country": "United States", - "default_ship_to": True, + "is_default_address": True, "line1": "548 Market St.", "line2": "Suite 100", "line3": "line3",