diff --git a/.stats.yml b/.stats.yml index 9752edf..1f103a8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 70 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-3ff0f459b943ba1a72ae4e5212e819ba7536b691db07ca01232f21ad5eba5dfd.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-990f86128bf663ac0fbcb57bf6ddd48712bd5823b4a23b81b93f09e2ef811ec7.yml diff --git a/src/conductor/resources/qbd/sales_tax_codes.py b/src/conductor/resources/qbd/sales_tax_codes.py index 409df16..1cbf7db 100644 --- a/src/conductor/resources/qbd/sales_tax_codes.py +++ b/src/conductor/resources/qbd/sales_tax_codes.py @@ -72,7 +72,7 @@ def create( cannot be modified once the sales-tax code has been used in a transaction. name: The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. conductor_end_user_id: The ID of the EndUser to receive this request (e.g., @@ -196,7 +196,7 @@ def update( cannot be modified once the sales-tax code has been used in a transaction. name: The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. sales_tax_item_id: The sales-tax item used to calculate the actual tax amount for this sales-tax @@ -397,7 +397,7 @@ async def create( cannot be modified once the sales-tax code has been used in a transaction. name: The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. conductor_end_user_id: The ID of the EndUser to receive this request (e.g., @@ -521,7 +521,7 @@ async def update( cannot be modified once the sales-tax code has been used in a transaction. name: The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. sales_tax_item_id: The sales-tax item used to calculate the actual tax amount for this sales-tax diff --git a/src/conductor/types/qbd/sales_tax_code.py b/src/conductor/types/qbd/sales_tax_code.py index 2b08269..010b500 100644 --- a/src/conductor/types/qbd/sales_tax_code.py +++ b/src/conductor/types/qbd/sales_tax_code.py @@ -60,7 +60,7 @@ class SalesTaxCode(BaseModel): name: str """ The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. """ diff --git a/src/conductor/types/qbd/sales_tax_code_create_params.py b/src/conductor/types/qbd/sales_tax_code_create_params.py index e0d049f..5e9ba4d 100644 --- a/src/conductor/types/qbd/sales_tax_code_create_params.py +++ b/src/conductor/types/qbd/sales_tax_code_create_params.py @@ -20,7 +20,7 @@ class SalesTaxCodeCreateParams(TypedDict, total=False): name: Required[str] """ The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. """ diff --git a/src/conductor/types/qbd/sales_tax_code_update_params.py b/src/conductor/types/qbd/sales_tax_code_update_params.py index 57f2002..6fd7bba 100644 --- a/src/conductor/types/qbd/sales_tax_code_update_params.py +++ b/src/conductor/types/qbd/sales_tax_code_update_params.py @@ -43,7 +43,7 @@ class SalesTaxCodeUpdateParams(TypedDict, total=False): name: str """ The case-insensitive unique name of this sales-tax code, unique across all - sales-tax codes. Maximum length: 3 characters. This short name will appear on + sales-tax codes. Maximum length: 31 characters. This short name will appear on sales forms to identify the tax status of an item. """ diff --git a/tests/api_resources/qbd/test_sales_tax_codes.py b/tests/api_resources/qbd/test_sales_tax_codes.py index c2dafd7..fd913cf 100644 --- a/tests/api_resources/qbd/test_sales_tax_codes.py +++ b/tests/api_resources/qbd/test_sales_tax_codes.py @@ -24,7 +24,7 @@ class TestSalesTaxCodes: def test_method_create(self, client: Conductor) -> None: sales_tax_code = client.qbd.sales_tax_codes.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) assert_matches_type(SalesTaxCode, sales_tax_code, path=["response"]) @@ -33,7 +33,7 @@ def test_method_create(self, client: Conductor) -> None: def test_method_create_with_all_params(self, client: Conductor) -> None: sales_tax_code = client.qbd.sales_tax_codes.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", description="For items that are taxable at the standard rate in California.", is_active=True, @@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: def test_raw_response_create(self, client: Conductor) -> None: response = client.qbd.sales_tax_codes.with_raw_response.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) @@ -58,7 +58,7 @@ def test_raw_response_create(self, client: Conductor) -> None: def test_streaming_response_create(self, client: Conductor) -> None: with client.qbd.sales_tax_codes.with_streaming_response.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) as response: assert not response.is_closed @@ -129,7 +129,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: description="For items that are taxable at the standard rate in California.", is_active=True, is_taxable=True, - name="xxx", + name="California Sales Tax", sales_tax_item_id="80000010-1234567890", ) assert_matches_type(SalesTaxCode, sales_tax_code, path=["response"]) @@ -228,7 +228,7 @@ class TestAsyncSalesTaxCodes: async def test_method_create(self, async_client: AsyncConductor) -> None: sales_tax_code = await async_client.qbd.sales_tax_codes.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) assert_matches_type(SalesTaxCode, sales_tax_code, path=["response"]) @@ -237,7 +237,7 @@ async def test_method_create(self, async_client: AsyncConductor) -> None: async def test_method_create_with_all_params(self, async_client: AsyncConductor) -> None: sales_tax_code = await async_client.qbd.sales_tax_codes.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", description="For items that are taxable at the standard rate in California.", is_active=True, @@ -249,7 +249,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) async def test_raw_response_create(self, async_client: AsyncConductor) -> None: response = await async_client.qbd.sales_tax_codes.with_raw_response.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) @@ -262,7 +262,7 @@ async def test_raw_response_create(self, async_client: AsyncConductor) -> None: async def test_streaming_response_create(self, async_client: AsyncConductor) -> None: async with async_client.qbd.sales_tax_codes.with_streaming_response.create( is_taxable=True, - name="xxx", + name="California Sales Tax", conductor_end_user_id="end_usr_1234567abcdefg", ) as response: assert not response.is_closed @@ -333,7 +333,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) description="For items that are taxable at the standard rate in California.", is_active=True, is_taxable=True, - name="xxx", + name="California Sales Tax", sales_tax_item_id="80000010-1234567890", ) assert_matches_type(SalesTaxCode, sales_tax_code, path=["response"])