diff --git a/.stats.yml b/.stats.yml index 85dfe307..2bf06977 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 125 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-ebe52c4eddfa6082ba50a2c4993764f18ce7f83ac0afc2f82357673d674d549f.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/conductor%2Fconductor-756c0fbaa2939664cd7c557ec37a0a26d71f8f759c612037ff9a3e13f1fcfda3.yml diff --git a/tests/api_resources/qbd/test_credit_card_charges.py b/tests/api_resources/qbd/test_credit_card_charges.py index f14fd52d..1f206b7d 100644 --- a/tests/api_resources/qbd/test_credit_card_charges.py +++ b/tests/api_resources/qbd/test_credit_card_charges.py @@ -107,7 +107,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: ], memo="Office supplies for Q3 marketing campaign", payee_id="80000001-1234567890", - ref_number="CHARGE-1234", + ref_number="CARD-1234", sales_tax_code_id="80000004-1234567890", ) assert_matches_type(CreditCardCharge, credit_card_charge, path=["response"]) @@ -271,7 +271,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: ], memo="Office supplies for Q3 marketing campaign", payee_id="80000001-1234567890", - ref_number="CHARGE-1234", + ref_number="CARD-1234", sales_tax_code_id="80000004-1234567890", transaction_date=parse_date("2019-12-27"), ) @@ -332,12 +332,12 @@ def test_method_list_with_all_params(self, client: Conductor) -> None: include_line_items=True, limit=150, payee_ids=["80000001-1234567890"], - ref_number_contains="CHARGE-1234", + ref_number_contains="CARD-1234", ref_number_ends_with="1234", - ref_number_from="CHARGE-0001", + ref_number_from="CARD-0001", ref_numbers=["CREDIT CARD CHARGE-1234"], - ref_number_starts_with="CHARGE", - ref_number_to="CHARGE-9999", + ref_number_starts_with="CARD", + ref_number_to="CARD-9999", transaction_date_from=parse_date("2019-12-27"), transaction_date_to=parse_date("2019-12-27"), updated_after="updatedAfter", @@ -459,7 +459,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) ], memo="Office supplies for Q3 marketing campaign", payee_id="80000001-1234567890", - ref_number="CHARGE-1234", + ref_number="CARD-1234", sales_tax_code_id="80000004-1234567890", ) assert_matches_type(CreditCardCharge, credit_card_charge, path=["response"]) @@ -623,7 +623,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) ], memo="Office supplies for Q3 marketing campaign", payee_id="80000001-1234567890", - ref_number="CHARGE-1234", + ref_number="CARD-1234", sales_tax_code_id="80000004-1234567890", transaction_date=parse_date("2019-12-27"), ) @@ -684,12 +684,12 @@ async def test_method_list_with_all_params(self, async_client: AsyncConductor) - include_line_items=True, limit=150, payee_ids=["80000001-1234567890"], - ref_number_contains="CHARGE-1234", + ref_number_contains="CARD-1234", ref_number_ends_with="1234", - ref_number_from="CHARGE-0001", + ref_number_from="CARD-0001", ref_numbers=["CREDIT CARD CHARGE-1234"], - ref_number_starts_with="CHARGE", - ref_number_to="CHARGE-9999", + ref_number_starts_with="CARD", + ref_number_to="CARD-9999", transaction_date_from=parse_date("2019-12-27"), transaction_date_to=parse_date("2019-12-27"), updated_after="updatedAfter", diff --git a/tests/api_resources/qbd/test_vendor_credits.py b/tests/api_resources/qbd/test_vendor_credits.py index 9ac5c93c..d3986c4a 100644 --- a/tests/api_resources/qbd/test_vendor_credits.py +++ b/tests/api_resources/qbd/test_vendor_credits.py @@ -107,7 +107,7 @@ def test_method_create_with_all_params(self, client: Conductor) -> None: ], memo="Credit for returned merchandise - Invoice INV-1234", payables_account_id="80000002-1234567890", - ref_number="VC-1234", + ref_number="VCREDIT-1234", sales_tax_code_id="80000004-1234567890", ) assert_matches_type(VendorCredit, vendor_credit, path=["response"]) @@ -270,7 +270,7 @@ def test_method_update_with_all_params(self, client: Conductor) -> None: ], memo="Credit for returned merchandise - Invoice INV-1234", payables_account_id="80000002-1234567890", - ref_number="VC-1234", + ref_number="VCREDIT-1234", sales_tax_code_id="80000004-1234567890", transaction_date=parse_date("2019-12-27"), vendor_id="80000001-1234567890", @@ -332,12 +332,12 @@ def test_method_list_with_all_params(self, client: Conductor) -> None: include_line_items=True, include_linked_transactions=False, limit=150, - ref_number_contains="VC-1234", + ref_number_contains="VCREDIT-1234", ref_number_ends_with="1234", - ref_number_from="VC-0001", + ref_number_from="VCREDIT-0001", ref_numbers=["VENDOR CREDIT-1234"], - ref_number_starts_with="VC", - ref_number_to="VC-9999", + ref_number_starts_with="VCREDIT", + ref_number_to="VCREDIT-9999", transaction_date_from=parse_date("2019-12-27"), transaction_date_to=parse_date("2019-12-27"), updated_after="updatedAfter", @@ -460,7 +460,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncConductor) ], memo="Credit for returned merchandise - Invoice INV-1234", payables_account_id="80000002-1234567890", - ref_number="VC-1234", + ref_number="VCREDIT-1234", sales_tax_code_id="80000004-1234567890", ) assert_matches_type(VendorCredit, vendor_credit, path=["response"]) @@ -623,7 +623,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncConductor) ], memo="Credit for returned merchandise - Invoice INV-1234", payables_account_id="80000002-1234567890", - ref_number="VC-1234", + ref_number="VCREDIT-1234", sales_tax_code_id="80000004-1234567890", transaction_date=parse_date("2019-12-27"), vendor_id="80000001-1234567890", @@ -685,12 +685,12 @@ async def test_method_list_with_all_params(self, async_client: AsyncConductor) - include_line_items=True, include_linked_transactions=False, limit=150, - ref_number_contains="VC-1234", + ref_number_contains="VCREDIT-1234", ref_number_ends_with="1234", - ref_number_from="VC-0001", + ref_number_from="VCREDIT-0001", ref_numbers=["VENDOR CREDIT-1234"], - ref_number_starts_with="VC", - ref_number_to="VC-9999", + ref_number_starts_with="VCREDIT", + ref_number_to="VCREDIT-9999", transaction_date_from=parse_date("2019-12-27"), transaction_date_to=parse_date("2019-12-27"), updated_after="updatedAfter",