Skip to content

Commit

Permalink
feat(api): api update (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 31, 2024
1 parent e19b120 commit 10b2b88
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
24 changes: 12 additions & 12 deletions tests/api_resources/qbd/test_credit_card_charges.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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"),
)
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"])
Expand Down Expand Up @@ -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"),
)
Expand Down Expand Up @@ -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",
Expand Down
24 changes: 12 additions & 12 deletions tests/api_resources/qbd/test_vendor_credits.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"])
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 10b2b88

Please sign in to comment.