Skip to content

Commit

Permalink
chore(internal): update examples (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jan 22, 2025
1 parent 118c4f4 commit a1b6593
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions tests/api_resources/test_external_bank_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_method_create_overload_1(self, client: Lithic) -> None:
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -48,7 +48,7 @@ def test_method_create_with_all_params_overload_1(self, client: Lithic) -> None:
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -62,10 +62,10 @@ def test_method_create_with_all_params_overload_1(self, client: Lithic) -> None:
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
name="name",
user_defined_id="x",
verification_enforcement=True,
)
Expand All @@ -78,7 +78,7 @@ def test_raw_response_create_overload_1(self, client: Lithic) -> None:
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -97,7 +97,7 @@ def test_streaming_response_create_overload_1(self, client: Lithic) -> None:
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -114,7 +114,7 @@ def test_streaming_response_create_overload_1(self, client: Lithic) -> None:
@parametrize
def test_method_create_overload_2(self, client: Lithic) -> None:
external_bank_account = client.external_bank_accounts.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -124,12 +124,12 @@ def test_method_create_overload_2(self, client: Lithic) -> None:
@parametrize
def test_method_create_with_all_params_overload_2(self, client: Lithic) -> None:
external_bank_account = client.external_bank_accounts.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
user_defined_id="x",
Expand All @@ -139,7 +139,7 @@ def test_method_create_with_all_params_overload_2(self, client: Lithic) -> None:
@parametrize
def test_raw_response_create_overload_2(self, client: Lithic) -> None:
response = client.external_bank_accounts.with_raw_response.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -153,7 +153,7 @@ def test_raw_response_create_overload_2(self, client: Lithic) -> None:
@parametrize
def test_streaming_response_create_overload_2(self, client: Lithic) -> None:
with client.external_bank_accounts.with_streaming_response.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -172,7 +172,7 @@ def test_method_create_overload_3(self, client: Lithic) -> None:
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -186,7 +186,7 @@ def test_method_create_with_all_params_overload_3(self, client: Lithic) -> None:
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -200,10 +200,10 @@ def test_method_create_with_all_params_overload_3(self, client: Lithic) -> None:
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
name="name",
user_defined_id="x",
)
assert_matches_type(ExternalBankAccountCreateResponse, external_bank_account, path=["response"])
Expand All @@ -214,7 +214,7 @@ def test_raw_response_create_overload_3(self, client: Lithic) -> None:
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -232,7 +232,7 @@ def test_streaming_response_create_overload_3(self, client: Lithic) -> None:
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand Down Expand Up @@ -305,11 +305,11 @@ def test_method_update_with_all_params(self, client: Lithic) -> None:
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
owner="x",
name="name",
owner="owner",
owner_type="INDIVIDUAL",
user_defined_id="x",
)
Expand Down Expand Up @@ -497,7 +497,7 @@ async def test_method_create_overload_1(self, async_client: AsyncLithic) -> None
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -512,7 +512,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -526,10 +526,10 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
name="name",
user_defined_id="x",
verification_enforcement=True,
)
Expand All @@ -542,7 +542,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncLithic) -
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -561,7 +561,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncLit
country="USD",
currency="USD",
financial_account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -578,7 +578,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncLit
@parametrize
async def test_method_create_overload_2(self, async_client: AsyncLithic) -> None:
external_bank_account = await async_client.external_bank_accounts.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -588,12 +588,12 @@ async def test_method_create_overload_2(self, async_client: AsyncLithic) -> None
@parametrize
async def test_method_create_with_all_params_overload_2(self, async_client: AsyncLithic) -> None:
external_bank_account = await async_client.external_bank_accounts.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
account_token="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
user_defined_id="x",
Expand All @@ -603,7 +603,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn
@parametrize
async def test_raw_response_create_overload_2(self, async_client: AsyncLithic) -> None:
response = await async_client.external_bank_accounts.with_raw_response.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -617,7 +617,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncLithic) -
@parametrize
async def test_streaming_response_create_overload_2(self, async_client: AsyncLithic) -> None:
async with async_client.external_bank_accounts.with_streaming_response.create(
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
processor_token="x",
verification_method="MANUAL",
Expand All @@ -636,7 +636,7 @@ async def test_method_create_overload_3(self, async_client: AsyncLithic) -> None
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -650,7 +650,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -664,10 +664,10 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
name="name",
user_defined_id="x",
)
assert_matches_type(ExternalBankAccountCreateResponse, external_bank_account, path=["response"])
Expand All @@ -678,7 +678,7 @@ async def test_raw_response_create_overload_3(self, async_client: AsyncLithic) -
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand All @@ -696,7 +696,7 @@ async def test_streaming_response_create_overload_3(self, async_client: AsyncLit
account_number="12345678901234567",
country="USD",
currency="USD",
owner="x",
owner="owner",
owner_type="INDIVIDUAL",
routing_number="123456789",
type="CHECKING",
Expand Down Expand Up @@ -769,11 +769,11 @@ async def test_method_update_with_all_params(self, async_client: AsyncLithic) ->
"state": "xx",
"address2": "x",
},
company_id="x",
company_id="sq",
dob=parse_date("2019-12-27"),
doing_business_as="x",
name="x",
owner="x",
name="name",
owner="owner",
owner_type="INDIVIDUAL",
user_defined_id="x",
)
Expand Down

0 comments on commit a1b6593

Please sign in to comment.