From d6d46a8dc97441a1c5671071df7f0809af0141f0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 19:27:58 +0000 Subject: [PATCH 1/3] chore: improve example values --- .../simulations/test_account_transfers.py | 12 +++---- .../simulations/test_ach_transfers.py | 24 ++++++------- .../simulations/test_check_deposits.py | 36 +++++++++---------- .../simulations/test_check_transfers.py | 12 +++---- .../simulations/test_pending_transactions.py | 12 +++---- .../test_wire_drawdown_requests.py | 24 ++++++------- .../simulations/test_wire_transfers.py | 24 ++++++------- tests/api_resources/test_account_numbers.py | 12 +++---- .../api_resources/test_account_statements.py | 12 +++---- tests/api_resources/test_account_transfers.py | 36 +++++++++---------- tests/api_resources/test_accounts.py | 24 ++++++------- .../test_ach_prenotifications.py | 12 +++---- tests/api_resources/test_ach_transfers.py | 36 +++++++++---------- .../api_resources/test_bookkeeping_entries.py | 12 +++---- .../test_bookkeeping_entry_sets.py | 12 +++---- tests/api_resources/test_card_details.py | 12 +++---- tests/api_resources/test_card_payments.py | 12 +++---- .../test_card_purchase_supplements.py | 12 +++---- .../api_resources/test_card_push_transfers.py | 36 +++++++++---------- tests/api_resources/test_card_tokens.py | 24 ++++++------- tests/api_resources/test_card_validations.py | 12 +++---- tests/api_resources/test_cards.py | 12 +++---- tests/api_resources/test_check_deposits.py | 12 +++---- tests/api_resources/test_check_transfers.py | 36 +++++++++---------- .../test_declined_transactions.py | 12 +++---- .../test_digital_card_profiles.py | 24 ++++++------- .../test_digital_wallet_tokens.py | 12 +++---- tests/api_resources/test_documents.py | 12 +++---- tests/api_resources/test_entities.py | 24 ++++++------- .../api_resources/test_event_subscriptions.py | 12 +++---- tests/api_resources/test_events.py | 12 +++---- tests/api_resources/test_exports.py | 12 +++---- tests/api_resources/test_external_accounts.py | 12 +++---- tests/api_resources/test_files.py | 12 +++---- .../test_inbound_ach_transfers.py | 12 +++---- .../test_inbound_check_deposits.py | 24 ++++++------- .../api_resources/test_inbound_mail_items.py | 12 +++---- ...st_inbound_real_time_payments_transfers.py | 12 +++---- .../test_inbound_wire_drawdown_requests.py | 12 +++---- .../test_inbound_wire_transfers.py | 12 +++---- .../test_intrafi_account_enrollments.py | 24 ++++++------- tests/api_resources/test_intrafi_balances.py | 12 +++---- .../api_resources/test_intrafi_exclusions.py | 24 ++++++------- tests/api_resources/test_lockboxes.py | 12 +++---- .../api_resources/test_oauth_applications.py | 12 +++---- tests/api_resources/test_oauth_connections.py | 12 +++---- .../test_pending_transactions.py | 24 ++++++------- .../test_physical_card_profiles.py | 24 ++++++------- tests/api_resources/test_physical_cards.py | 12 +++---- tests/api_resources/test_programs.py | 12 +++---- .../api_resources/test_real_time_decisions.py | 12 +++---- .../test_real_time_payments_transfers.py | 36 +++++++++---------- tests/api_resources/test_transactions.py | 12 +++---- .../test_wire_drawdown_requests.py | 12 +++---- tests/api_resources/test_wire_transfers.py | 36 +++++++++---------- 55 files changed, 486 insertions(+), 486 deletions(-) diff --git a/tests/api_resources/simulations/test_account_transfers.py b/tests/api_resources/simulations/test_account_transfers.py index 6a2670592..b9ef8d0ed 100644 --- a/tests/api_resources/simulations/test_account_transfers.py +++ b/tests/api_resources/simulations/test_account_transfers.py @@ -20,14 +20,14 @@ class TestAccountTransfers: @parametrize def test_method_complete(self, client: Increase) -> None: account_transfer = client.simulations.account_transfers.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize def test_raw_response_complete(self, client: Increase) -> None: response = client.simulations.account_transfers.with_raw_response.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_complete(self, client: Increase) -> None: @parametrize def test_streaming_response_complete(self, client: Increase) -> None: with client.simulations.account_transfers.with_streaming_response.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -64,14 +64,14 @@ class TestAsyncAccountTransfers: @parametrize async def test_method_complete(self, async_client: AsyncIncrease) -> None: account_transfer = await async_client.simulations.account_transfers.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize async def test_raw_response_complete(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.account_transfers.with_raw_response.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -82,7 +82,7 @@ async def test_raw_response_complete(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_complete(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.account_transfers.with_streaming_response.complete( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_ach_transfers.py b/tests/api_resources/simulations/test_ach_transfers.py index 53f6f6d30..9340180f5 100644 --- a/tests/api_resources/simulations/test_ach_transfers.py +++ b/tests/api_resources/simulations/test_ach_transfers.py @@ -20,14 +20,14 @@ class TestACHTransfers: @parametrize def test_method_acknowledge(self, client: Increase) -> None: ach_transfer = client.simulations.ach_transfers.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize def test_raw_response_acknowledge(self, client: Increase) -> None: response = client.simulations.ach_transfers.with_raw_response.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_acknowledge(self, client: Increase) -> None: @parametrize def test_streaming_response_acknowledge(self, client: Increase) -> None: with client.simulations.ach_transfers.with_streaming_response.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -196,14 +196,14 @@ def test_path_params_settle(self, client: Increase) -> None: @parametrize def test_method_submit(self, client: Increase) -> None: ach_transfer = client.simulations.ach_transfers.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize def test_raw_response_submit(self, client: Increase) -> None: response = client.simulations.ach_transfers.with_raw_response.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -214,7 +214,7 @@ def test_raw_response_submit(self, client: Increase) -> None: @parametrize def test_streaming_response_submit(self, client: Increase) -> None: with client.simulations.ach_transfers.with_streaming_response.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -240,14 +240,14 @@ class TestAsyncACHTransfers: @parametrize async def test_method_acknowledge(self, async_client: AsyncIncrease) -> None: ach_transfer = await async_client.simulations.ach_transfers.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize async def test_raw_response_acknowledge(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.ach_transfers.with_raw_response.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -258,7 +258,7 @@ async def test_raw_response_acknowledge(self, async_client: AsyncIncrease) -> No @parametrize async def test_streaming_response_acknowledge(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.ach_transfers.with_streaming_response.acknowledge( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -416,14 +416,14 @@ async def test_path_params_settle(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_submit(self, async_client: AsyncIncrease) -> None: ach_transfer = await async_client.simulations.ach_transfers.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.ach_transfers.with_raw_response.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -434,7 +434,7 @@ async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_submit(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.ach_transfers.with_streaming_response.submit( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_check_deposits.py b/tests/api_resources/simulations/test_check_deposits.py index d03ef3ac6..3204a3796 100644 --- a/tests/api_resources/simulations/test_check_deposits.py +++ b/tests/api_resources/simulations/test_check_deposits.py @@ -20,14 +20,14 @@ class TestCheckDeposits: @parametrize def test_method_reject(self, client: Increase) -> None: check_deposit = client.simulations.check_deposits.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize def test_raw_response_reject(self, client: Increase) -> None: response = client.simulations.check_deposits.with_raw_response.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_reject(self, client: Increase) -> None: @parametrize def test_streaming_response_reject(self, client: Increase) -> None: with client.simulations.check_deposits.with_streaming_response.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -58,14 +58,14 @@ def test_path_params_reject(self, client: Increase) -> None: @parametrize def test_method_return(self, client: Increase) -> None: check_deposit = client.simulations.check_deposits.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize def test_raw_response_return(self, client: Increase) -> None: response = client.simulations.check_deposits.with_raw_response.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -76,7 +76,7 @@ def test_raw_response_return(self, client: Increase) -> None: @parametrize def test_streaming_response_return(self, client: Increase) -> None: with client.simulations.check_deposits.with_streaming_response.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -96,14 +96,14 @@ def test_path_params_return(self, client: Increase) -> None: @parametrize def test_method_submit(self, client: Increase) -> None: check_deposit = client.simulations.check_deposits.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize def test_raw_response_submit(self, client: Increase) -> None: response = client.simulations.check_deposits.with_raw_response.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -114,7 +114,7 @@ def test_raw_response_submit(self, client: Increase) -> None: @parametrize def test_streaming_response_submit(self, client: Increase) -> None: with client.simulations.check_deposits.with_streaming_response.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -140,14 +140,14 @@ class TestAsyncCheckDeposits: @parametrize async def test_method_reject(self, async_client: AsyncIncrease) -> None: check_deposit = await async_client.simulations.check_deposits.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize async def test_raw_response_reject(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.check_deposits.with_raw_response.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -158,7 +158,7 @@ async def test_raw_response_reject(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_reject(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.check_deposits.with_streaming_response.reject( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -178,14 +178,14 @@ async def test_path_params_reject(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_return(self, async_client: AsyncIncrease) -> None: check_deposit = await async_client.simulations.check_deposits.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize async def test_raw_response_return(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.check_deposits.with_raw_response.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -196,7 +196,7 @@ async def test_raw_response_return(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_return(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.check_deposits.with_streaming_response.return_( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -216,14 +216,14 @@ async def test_path_params_return(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_submit(self, async_client: AsyncIncrease) -> None: check_deposit = await async_client.simulations.check_deposits.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.check_deposits.with_raw_response.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -234,7 +234,7 @@ async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_submit(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.check_deposits.with_streaming_response.submit( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_check_transfers.py b/tests/api_resources/simulations/test_check_transfers.py index 2976c2ca0..bdef4bd1c 100644 --- a/tests/api_resources/simulations/test_check_transfers.py +++ b/tests/api_resources/simulations/test_check_transfers.py @@ -20,14 +20,14 @@ class TestCheckTransfers: @parametrize def test_method_mail(self, client: Increase) -> None: check_transfer = client.simulations.check_transfers.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize def test_raw_response_mail(self, client: Increase) -> None: response = client.simulations.check_transfers.with_raw_response.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_mail(self, client: Increase) -> None: @parametrize def test_streaming_response_mail(self, client: Increase) -> None: with client.simulations.check_transfers.with_streaming_response.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -64,14 +64,14 @@ class TestAsyncCheckTransfers: @parametrize async def test_method_mail(self, async_client: AsyncIncrease) -> None: check_transfer = await async_client.simulations.check_transfers.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize async def test_raw_response_mail(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.check_transfers.with_raw_response.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -82,7 +82,7 @@ async def test_raw_response_mail(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_mail(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.check_transfers.with_streaming_response.mail( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_pending_transactions.py b/tests/api_resources/simulations/test_pending_transactions.py index 21ea3aa43..9b647a211 100644 --- a/tests/api_resources/simulations/test_pending_transactions.py +++ b/tests/api_resources/simulations/test_pending_transactions.py @@ -20,14 +20,14 @@ class TestPendingTransactions: @parametrize def test_method_release_inbound_funds_hold(self, client: Increase) -> None: pending_transaction = client.simulations.pending_transactions.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize def test_raw_response_release_inbound_funds_hold(self, client: Increase) -> None: response = client.simulations.pending_transactions.with_raw_response.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_release_inbound_funds_hold(self, client: Increase) -> None @parametrize def test_streaming_response_release_inbound_funds_hold(self, client: Increase) -> None: with client.simulations.pending_transactions.with_streaming_response.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -66,14 +66,14 @@ class TestAsyncPendingTransactions: @parametrize async def test_method_release_inbound_funds_hold(self, async_client: AsyncIncrease) -> None: pending_transaction = await async_client.simulations.pending_transactions.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize async def test_raw_response_release_inbound_funds_hold(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.pending_transactions.with_raw_response.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -84,7 +84,7 @@ async def test_raw_response_release_inbound_funds_hold(self, async_client: Async @parametrize async def test_streaming_response_release_inbound_funds_hold(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.pending_transactions.with_streaming_response.release_inbound_funds_hold( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_wire_drawdown_requests.py b/tests/api_resources/simulations/test_wire_drawdown_requests.py index 2a2c3172b..87a563311 100644 --- a/tests/api_resources/simulations/test_wire_drawdown_requests.py +++ b/tests/api_resources/simulations/test_wire_drawdown_requests.py @@ -20,14 +20,14 @@ class TestWireDrawdownRequests: @parametrize def test_method_refuse(self, client: Increase) -> None: wire_drawdown_request = client.simulations.wire_drawdown_requests.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize def test_raw_response_refuse(self, client: Increase) -> None: response = client.simulations.wire_drawdown_requests.with_raw_response.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_refuse(self, client: Increase) -> None: @parametrize def test_streaming_response_refuse(self, client: Increase) -> None: with client.simulations.wire_drawdown_requests.with_streaming_response.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -60,14 +60,14 @@ def test_path_params_refuse(self, client: Increase) -> None: @parametrize def test_method_submit(self, client: Increase) -> None: wire_drawdown_request = client.simulations.wire_drawdown_requests.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize def test_raw_response_submit(self, client: Increase) -> None: response = client.simulations.wire_drawdown_requests.with_raw_response.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -78,7 +78,7 @@ def test_raw_response_submit(self, client: Increase) -> None: @parametrize def test_streaming_response_submit(self, client: Increase) -> None: with client.simulations.wire_drawdown_requests.with_streaming_response.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -106,14 +106,14 @@ class TestAsyncWireDrawdownRequests: @parametrize async def test_method_refuse(self, async_client: AsyncIncrease) -> None: wire_drawdown_request = await async_client.simulations.wire_drawdown_requests.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize async def test_raw_response_refuse(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.wire_drawdown_requests.with_raw_response.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -124,7 +124,7 @@ async def test_raw_response_refuse(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_refuse(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.wire_drawdown_requests.with_streaming_response.refuse( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -146,14 +146,14 @@ async def test_path_params_refuse(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_submit(self, async_client: AsyncIncrease) -> None: wire_drawdown_request = await async_client.simulations.wire_drawdown_requests.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.wire_drawdown_requests.with_raw_response.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -164,7 +164,7 @@ async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_submit(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.wire_drawdown_requests.with_streaming_response.submit( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/simulations/test_wire_transfers.py b/tests/api_resources/simulations/test_wire_transfers.py index c6ea7bc8b..183f1342f 100644 --- a/tests/api_resources/simulations/test_wire_transfers.py +++ b/tests/api_resources/simulations/test_wire_transfers.py @@ -20,14 +20,14 @@ class TestWireTransfers: @parametrize def test_method_reverse(self, client: Increase) -> None: wire_transfer = client.simulations.wire_transfers.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize def test_raw_response_reverse(self, client: Increase) -> None: response = client.simulations.wire_transfers.with_raw_response.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_reverse(self, client: Increase) -> None: @parametrize def test_streaming_response_reverse(self, client: Increase) -> None: with client.simulations.wire_transfers.with_streaming_response.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -58,14 +58,14 @@ def test_path_params_reverse(self, client: Increase) -> None: @parametrize def test_method_submit(self, client: Increase) -> None: wire_transfer = client.simulations.wire_transfers.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize def test_raw_response_submit(self, client: Increase) -> None: response = client.simulations.wire_transfers.with_raw_response.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -76,7 +76,7 @@ def test_raw_response_submit(self, client: Increase) -> None: @parametrize def test_streaming_response_submit(self, client: Increase) -> None: with client.simulations.wire_transfers.with_streaming_response.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -102,14 +102,14 @@ class TestAsyncWireTransfers: @parametrize async def test_method_reverse(self, async_client: AsyncIncrease) -> None: wire_transfer = await async_client.simulations.wire_transfers.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize async def test_raw_response_reverse(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.wire_transfers.with_raw_response.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -120,7 +120,7 @@ async def test_raw_response_reverse(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_reverse(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.wire_transfers.with_streaming_response.reverse( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -140,14 +140,14 @@ async def test_path_params_reverse(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_submit(self, async_client: AsyncIncrease) -> None: wire_transfer = await async_client.simulations.wire_transfers.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: response = await async_client.simulations.wire_transfers.with_raw_response.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -158,7 +158,7 @@ async def test_raw_response_submit(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_submit(self, async_client: AsyncIncrease) -> None: async with async_client.simulations.wire_transfers.with_streaming_response.submit( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_account_numbers.py b/tests/api_resources/test_account_numbers.py index 5ecc54511..d97124c78 100644 --- a/tests/api_resources/test_account_numbers.py +++ b/tests/api_resources/test_account_numbers.py @@ -68,14 +68,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: account_number = client.account_numbers.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) assert_matches_type(AccountNumber, account_number, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.account_numbers.with_raw_response.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) assert response.is_closed is True @@ -86,7 +86,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.account_numbers.with_streaming_response.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -248,14 +248,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: account_number = await async_client.account_numbers.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) assert_matches_type(AccountNumber, account_number, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.account_numbers.with_raw_response.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) assert response.is_closed is True @@ -266,7 +266,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.account_numbers.with_streaming_response.retrieve( - "account_number_id", + "account_number_v18nkfqm6afpsrvy82b2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_account_statements.py b/tests/api_resources/test_account_statements.py index e7eae1b44..0caeb7f48 100644 --- a/tests/api_resources/test_account_statements.py +++ b/tests/api_resources/test_account_statements.py @@ -22,14 +22,14 @@ class TestAccountStatements: @parametrize def test_method_retrieve(self, client: Increase) -> None: account_statement = client.account_statements.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) assert_matches_type(AccountStatement, account_statement, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.account_statements.with_raw_response.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.account_statements.with_streaming_response.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -106,14 +106,14 @@ class TestAsyncAccountStatements: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: account_statement = await async_client.account_statements.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) assert_matches_type(AccountStatement, account_statement, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.account_statements.with_raw_response.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) assert response.is_closed is True @@ -124,7 +124,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.account_statements.with_streaming_response.retrieve( - "account_statement_id", + "account_statement_lkc03a4skm2k7f38vj15", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_account_transfers.py b/tests/api_resources/test_account_transfers.py index 8ec1389db..02f608a43 100644 --- a/tests/api_resources/test_account_transfers.py +++ b/tests/api_resources/test_account_transfers.py @@ -73,14 +73,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: account_transfer = client.account_transfers.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.account_transfers.with_raw_response.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -91,7 +91,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.account_transfers.with_streaming_response.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -152,14 +152,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: account_transfer = client.account_transfers.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.account_transfers.with_raw_response.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -170,7 +170,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.account_transfers.with_streaming_response.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -190,14 +190,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: account_transfer = client.account_transfers.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.account_transfers.with_raw_response.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -208,7 +208,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.account_transfers.with_streaming_response.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -285,14 +285,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: account_transfer = await async_client.account_transfers.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.account_transfers.with_raw_response.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -303,7 +303,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.account_transfers.with_streaming_response.retrieve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -364,14 +364,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: account_transfer = await async_client.account_transfers.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.account_transfers.with_raw_response.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -382,7 +382,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.account_transfers.with_streaming_response.approve( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -402,14 +402,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: account_transfer = await async_client.account_transfers.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert_matches_type(AccountTransfer, account_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.account_transfers.with_raw_response.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) assert response.is_closed is True @@ -420,7 +420,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.account_transfers.with_streaming_response.cancel( - "account_transfer_id", + "account_transfer_7k9qe1ysdgqztnt63l7n", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py index d445753d8..d6edc5ab9 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -66,14 +66,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: account = client.accounts.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(Account, account, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.accounts.with_raw_response.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -84,7 +84,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.accounts.with_streaming_response.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -241,14 +241,14 @@ def test_path_params_balance(self, client: Increase) -> None: @parametrize def test_method_close(self, client: Increase) -> None: account = client.accounts.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(Account, account, path=["response"]) @parametrize def test_raw_response_close(self, client: Increase) -> None: response = client.accounts.with_raw_response.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -259,7 +259,7 @@ def test_raw_response_close(self, client: Increase) -> None: @parametrize def test_streaming_response_close(self, client: Increase) -> None: with client.accounts.with_streaming_response.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -326,14 +326,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: account = await async_client.accounts.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(Account, account, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.accounts.with_raw_response.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -344,7 +344,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.accounts.with_streaming_response.retrieve( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -501,14 +501,14 @@ async def test_path_params_balance(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_close(self, async_client: AsyncIncrease) -> None: account = await async_client.accounts.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(Account, account, path=["response"]) @parametrize async def test_raw_response_close(self, async_client: AsyncIncrease) -> None: response = await async_client.accounts.with_raw_response.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -519,7 +519,7 @@ async def test_raw_response_close(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_close(self, async_client: AsyncIncrease) -> None: async with async_client.accounts.with_streaming_response.close( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_ach_prenotifications.py b/tests/api_resources/test_ach_prenotifications.py index f1440ab9d..c86c20448 100644 --- a/tests/api_resources/test_ach_prenotifications.py +++ b/tests/api_resources/test_ach_prenotifications.py @@ -78,14 +78,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: ach_prenotification = client.ach_prenotifications.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) assert_matches_type(ACHPrenotification, ach_prenotification, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.ach_prenotifications.with_raw_response.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) assert response.is_closed is True @@ -96,7 +96,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.ach_prenotifications.with_streaming_response.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -220,14 +220,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: ach_prenotification = await async_client.ach_prenotifications.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) assert_matches_type(ACHPrenotification, ach_prenotification, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.ach_prenotifications.with_raw_response.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) assert response.is_closed is True @@ -238,7 +238,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.ach_prenotifications.with_streaming_response.retrieve( - "ach_prenotification_id", + "ach_prenotification_ubjf9qqsxl3obbcn1u34", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_ach_transfers.py b/tests/api_resources/test_ach_transfers.py index 8b4a7b1db..103899c14 100644 --- a/tests/api_resources/test_ach_transfers.py +++ b/tests/api_resources/test_ach_transfers.py @@ -98,14 +98,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: ach_transfer = client.ach_transfers.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.ach_transfers.with_raw_response.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -116,7 +116,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.ach_transfers.with_streaming_response.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -179,14 +179,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: ach_transfer = client.ach_transfers.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.ach_transfers.with_raw_response.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -197,7 +197,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.ach_transfers.with_streaming_response.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -217,14 +217,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: ach_transfer = client.ach_transfers.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.ach_transfers.with_raw_response.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -235,7 +235,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.ach_transfers.with_streaming_response.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -337,14 +337,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: ach_transfer = await async_client.ach_transfers.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.ach_transfers.with_raw_response.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -355,7 +355,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.ach_transfers.with_streaming_response.retrieve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -418,14 +418,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: ach_transfer = await async_client.ach_transfers.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.ach_transfers.with_raw_response.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -436,7 +436,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.ach_transfers.with_streaming_response.approve( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -456,14 +456,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: ach_transfer = await async_client.ach_transfers.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert_matches_type(ACHTransfer, ach_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.ach_transfers.with_raw_response.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) assert response.is_closed is True @@ -474,7 +474,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.ach_transfers.with_streaming_response.cancel( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_bookkeeping_entries.py b/tests/api_resources/test_bookkeeping_entries.py index 958047447..2e78003b4 100644 --- a/tests/api_resources/test_bookkeeping_entries.py +++ b/tests/api_resources/test_bookkeeping_entries.py @@ -21,14 +21,14 @@ class TestBookkeepingEntries: @parametrize def test_method_retrieve(self, client: Increase) -> None: bookkeeping_entry = client.bookkeeping_entries.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) assert_matches_type(BookkeepingEntry, bookkeeping_entry, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.bookkeeping_entries.with_raw_response.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) assert response.is_closed is True @@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.bookkeeping_entries.with_streaming_response.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -99,14 +99,14 @@ class TestAsyncBookkeepingEntries: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: bookkeeping_entry = await async_client.bookkeeping_entries.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) assert_matches_type(BookkeepingEntry, bookkeeping_entry, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.bookkeeping_entries.with_raw_response.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) assert response.is_closed is True @@ -117,7 +117,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.bookkeeping_entries.with_streaming_response.retrieve( - "bookkeeping_entry_id", + "bookkeeping_entry_ctjpajsj3ks2blx10375", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_bookkeeping_entry_sets.py b/tests/api_resources/test_bookkeeping_entry_sets.py index 03cb63088..e13a51f2e 100644 --- a/tests/api_resources/test_bookkeeping_entry_sets.py +++ b/tests/api_resources/test_bookkeeping_entry_sets.py @@ -98,14 +98,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: bookkeeping_entry_set = client.bookkeeping_entry_sets.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) assert_matches_type(BookkeepingEntrySet, bookkeeping_entry_set, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.bookkeeping_entry_sets.with_raw_response.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) assert response.is_closed is True @@ -116,7 +116,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.bookkeeping_entry_sets.with_streaming_response.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -255,14 +255,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: bookkeeping_entry_set = await async_client.bookkeeping_entry_sets.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) assert_matches_type(BookkeepingEntrySet, bookkeeping_entry_set, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.bookkeeping_entry_sets.with_raw_response.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) assert response.is_closed is True @@ -273,7 +273,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.bookkeeping_entry_sets.with_streaming_response.retrieve( - "bookkeeping_entry_set_id", + "bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_details.py b/tests/api_resources/test_card_details.py index 1e8b715ea..598c813b0 100644 --- a/tests/api_resources/test_card_details.py +++ b/tests/api_resources/test_card_details.py @@ -111,14 +111,14 @@ def test_path_params_create_details_iframe(self, client: Increase) -> None: @parametrize def test_method_details(self, client: Increase) -> None: card_detail = client.card_details.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert_matches_type(CardDetails, card_detail, path=["response"]) @parametrize def test_raw_response_details(self, client: Increase) -> None: response = client.card_details.with_raw_response.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert response.is_closed is True @@ -129,7 +129,7 @@ def test_raw_response_details(self, client: Increase) -> None: @parametrize def test_streaming_response_details(self, client: Increase) -> None: with client.card_details.with_streaming_response.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -243,14 +243,14 @@ async def test_path_params_create_details_iframe(self, async_client: AsyncIncrea @parametrize async def test_method_details(self, async_client: AsyncIncrease) -> None: card_detail = await async_client.card_details.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert_matches_type(CardDetails, card_detail, path=["response"]) @parametrize async def test_raw_response_details(self, async_client: AsyncIncrease) -> None: response = await async_client.card_details.with_raw_response.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert response.is_closed is True @@ -261,7 +261,7 @@ async def test_raw_response_details(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_details(self, async_client: AsyncIncrease) -> None: async with async_client.card_details.with_streaming_response.details( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_payments.py b/tests/api_resources/test_card_payments.py index 1a7f8c963..aa0b599ff 100644 --- a/tests/api_resources/test_card_payments.py +++ b/tests/api_resources/test_card_payments.py @@ -22,14 +22,14 @@ class TestCardPayments: @parametrize def test_method_retrieve(self, client: Increase) -> None: card_payment = client.card_payments.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) assert_matches_type(CardPayment, card_payment, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.card_payments.with_raw_response.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.card_payments.with_streaming_response.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -107,14 +107,14 @@ class TestAsyncCardPayments: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card_payment = await async_client.card_payments.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) assert_matches_type(CardPayment, card_payment, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_payments.with_raw_response.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) assert response.is_closed is True @@ -125,7 +125,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.card_payments.with_streaming_response.retrieve( - "card_payment_id", + "card_payment_nd3k2kacrqjli8482ave", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_purchase_supplements.py b/tests/api_resources/test_card_purchase_supplements.py index bd5318f3d..7bbf0fcd1 100644 --- a/tests/api_resources/test_card_purchase_supplements.py +++ b/tests/api_resources/test_card_purchase_supplements.py @@ -22,14 +22,14 @@ class TestCardPurchaseSupplements: @parametrize def test_method_retrieve(self, client: Increase) -> None: card_purchase_supplement = client.card_purchase_supplements.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) assert_matches_type(CardPurchaseSupplement, card_purchase_supplement, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.card_purchase_supplements.with_raw_response.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.card_purchase_supplements.with_streaming_response.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -108,14 +108,14 @@ class TestAsyncCardPurchaseSupplements: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card_purchase_supplement = await async_client.card_purchase_supplements.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) assert_matches_type(CardPurchaseSupplement, card_purchase_supplement, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_purchase_supplements.with_raw_response.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) assert response.is_closed is True @@ -126,7 +126,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.card_purchase_supplements.with_streaming_response.retrieve( - "card_purchase_supplement_id", + "card_purchase_supplement_ijuc45iym4jchnh2sfk3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_push_transfers.py b/tests/api_resources/test_card_push_transfers.py index aeaff762b..00d3b545e 100644 --- a/tests/api_resources/test_card_push_transfers.py +++ b/tests/api_resources/test_card_push_transfers.py @@ -121,14 +121,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: card_push_transfer = client.card_push_transfers.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.card_push_transfers.with_raw_response.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -139,7 +139,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.card_push_transfers.with_streaming_response.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -201,14 +201,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: card_push_transfer = client.card_push_transfers.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.card_push_transfers.with_raw_response.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -219,7 +219,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.card_push_transfers.with_streaming_response.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -239,14 +239,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: card_push_transfer = client.card_push_transfers.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.card_push_transfers.with_raw_response.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -257,7 +257,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.card_push_transfers.with_streaming_response.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -382,14 +382,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card_push_transfer = await async_client.card_push_transfers.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_push_transfers.with_raw_response.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -400,7 +400,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.card_push_transfers.with_streaming_response.retrieve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -462,14 +462,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: card_push_transfer = await async_client.card_push_transfers.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_push_transfers.with_raw_response.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -480,7 +480,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.card_push_transfers.with_streaming_response.approve( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -500,14 +500,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: card_push_transfer = await async_client.card_push_transfers.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert_matches_type(CardPushTransfer, card_push_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.card_push_transfers.with_raw_response.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) assert response.is_closed is True @@ -518,7 +518,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.card_push_transfers.with_streaming_response.cancel( - "card_push_transfer_id", + "outbound_card_push_transfer_e0z9rdpamraczh4tvwye", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_tokens.py b/tests/api_resources/test_card_tokens.py index 18d7ad665..f25e35b70 100644 --- a/tests/api_resources/test_card_tokens.py +++ b/tests/api_resources/test_card_tokens.py @@ -22,14 +22,14 @@ class TestCardTokens: @parametrize def test_method_retrieve(self, client: Increase) -> None: card_token = client.card_tokens.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert_matches_type(CardToken, card_token, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.card_tokens.with_raw_response.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.card_tokens.with_streaming_response.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -99,14 +99,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_capabilities(self, client: Increase) -> None: card_token = client.card_tokens.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert_matches_type(CardTokenCapabilities, card_token, path=["response"]) @parametrize def test_raw_response_capabilities(self, client: Increase) -> None: response = client.card_tokens.with_raw_response.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert response.is_closed is True @@ -117,7 +117,7 @@ def test_raw_response_capabilities(self, client: Increase) -> None: @parametrize def test_streaming_response_capabilities(self, client: Increase) -> None: with client.card_tokens.with_streaming_response.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -143,14 +143,14 @@ class TestAsyncCardTokens: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card_token = await async_client.card_tokens.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert_matches_type(CardToken, card_token, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_tokens.with_raw_response.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert response.is_closed is True @@ -161,7 +161,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.card_tokens.with_streaming_response.retrieve( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -220,14 +220,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_capabilities(self, async_client: AsyncIncrease) -> None: card_token = await async_client.card_tokens.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert_matches_type(CardTokenCapabilities, card_token, path=["response"]) @parametrize async def test_raw_response_capabilities(self, async_client: AsyncIncrease) -> None: response = await async_client.card_tokens.with_raw_response.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) assert response.is_closed is True @@ -238,7 +238,7 @@ async def test_raw_response_capabilities(self, async_client: AsyncIncrease) -> N @parametrize async def test_streaming_response_capabilities(self, async_client: AsyncIncrease) -> None: async with async_client.card_tokens.with_streaming_response.capabilities( - "card_token_id", + "outbound_card_token_zlt0ml6youq3q7vcdlg0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_card_validations.py b/tests/api_resources/test_card_validations.py index bc23df5ad..566aeed1c 100644 --- a/tests/api_resources/test_card_validations.py +++ b/tests/api_resources/test_card_validations.py @@ -89,14 +89,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: card_validation = client.card_validations.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) assert_matches_type(CardValidation, card_validation, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.card_validations.with_raw_response.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) assert response.is_closed is True @@ -107,7 +107,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.card_validations.with_streaming_response.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -242,14 +242,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card_validation = await async_client.card_validations.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) assert_matches_type(CardValidation, card_validation, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.card_validations.with_raw_response.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) assert response.is_closed is True @@ -260,7 +260,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.card_validations.with_streaming_response.retrieve( - "card_validation_id", + "outbound_card_validation_qqlzagpc6v1x2gcdhe24", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_cards.py b/tests/api_resources/test_cards.py index 3f13e4fdd..61ef7dcfa 100644 --- a/tests/api_resources/test_cards.py +++ b/tests/api_resources/test_cards.py @@ -74,14 +74,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: card = client.cards.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert_matches_type(Card, card, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.cards.with_raw_response.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert response.is_closed is True @@ -92,7 +92,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.cards.with_streaming_response.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -273,14 +273,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: card = await async_client.cards.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert_matches_type(Card, card, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.cards.with_raw_response.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) assert response.is_closed is True @@ -291,7 +291,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.cards.with_streaming_response.retrieve( - "card_id", + "card_oubs0hwk5rn6knuecxg2", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_check_deposits.py b/tests/api_resources/test_check_deposits.py index c90acadff..9f9a14b84 100644 --- a/tests/api_resources/test_check_deposits.py +++ b/tests/api_resources/test_check_deposits.py @@ -73,14 +73,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: check_deposit = client.check_deposits.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.check_deposits.with_raw_response.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -91,7 +91,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.check_deposits.with_streaming_response.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -209,14 +209,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: check_deposit = await async_client.check_deposits.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert_matches_type(CheckDeposit, check_deposit, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.check_deposits.with_raw_response.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) assert response.is_closed is True @@ -227,7 +227,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.check_deposits.with_streaming_response.retrieve( - "check_deposit_id", + "check_deposit_f06n9gpg7sxn8t19lfc1", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index a8fd171f8..b12a06509 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -101,14 +101,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: check_transfer = client.check_transfers.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.check_transfers.with_raw_response.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -119,7 +119,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.check_transfers.with_streaming_response.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -181,14 +181,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: check_transfer = client.check_transfers.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.check_transfers.with_raw_response.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -199,7 +199,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.check_transfers.with_streaming_response.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -219,14 +219,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: check_transfer = client.check_transfers.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.check_transfers.with_raw_response.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -237,7 +237,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.check_transfers.with_streaming_response.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -386,14 +386,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: check_transfer = await async_client.check_transfers.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.check_transfers.with_raw_response.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -404,7 +404,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.check_transfers.with_streaming_response.retrieve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -466,14 +466,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: check_transfer = await async_client.check_transfers.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.check_transfers.with_raw_response.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -484,7 +484,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.check_transfers.with_streaming_response.approve( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -504,14 +504,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: check_transfer = await async_client.check_transfers.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.check_transfers.with_raw_response.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) assert response.is_closed is True @@ -522,7 +522,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.check_transfers.with_streaming_response.cancel( - "check_transfer_id", + "check_transfer_30b43acfu9vw8fyc4f5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_declined_transactions.py b/tests/api_resources/test_declined_transactions.py index 45c805676..dbacde8c0 100644 --- a/tests/api_resources/test_declined_transactions.py +++ b/tests/api_resources/test_declined_transactions.py @@ -22,14 +22,14 @@ class TestDeclinedTransactions: @parametrize def test_method_retrieve(self, client: Increase) -> None: declined_transaction = client.declined_transactions.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) assert_matches_type(DeclinedTransaction, declined_transaction, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.declined_transactions.with_raw_response.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.declined_transactions.with_streaming_response.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -110,14 +110,14 @@ class TestAsyncDeclinedTransactions: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: declined_transaction = await async_client.declined_transactions.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) assert_matches_type(DeclinedTransaction, declined_transaction, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.declined_transactions.with_raw_response.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) assert response.is_closed is True @@ -128,7 +128,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.declined_transactions.with_streaming_response.retrieve( - "declined_transaction_id", + "declined_transaction_17jbn0yyhvkt4v4ooym8", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_digital_card_profiles.py b/tests/api_resources/test_digital_card_profiles.py index 20804cae1..f45af205c 100644 --- a/tests/api_resources/test_digital_card_profiles.py +++ b/tests/api_resources/test_digital_card_profiles.py @@ -85,14 +85,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: digital_card_profile = client.digital_card_profiles.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert_matches_type(DigitalCardProfile, digital_card_profile, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.digital_card_profiles.with_raw_response.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert response.is_closed is True @@ -103,7 +103,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.digital_card_profiles.with_streaming_response.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -160,14 +160,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_archive(self, client: Increase) -> None: digital_card_profile = client.digital_card_profiles.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert_matches_type(DigitalCardProfile, digital_card_profile, path=["response"]) @parametrize def test_raw_response_archive(self, client: Increase) -> None: response = client.digital_card_profiles.with_raw_response.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert response.is_closed is True @@ -178,7 +178,7 @@ def test_raw_response_archive(self, client: Increase) -> None: @parametrize def test_streaming_response_archive(self, client: Increase) -> None: with client.digital_card_profiles.with_streaming_response.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -328,14 +328,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: digital_card_profile = await async_client.digital_card_profiles.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert_matches_type(DigitalCardProfile, digital_card_profile, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.digital_card_profiles.with_raw_response.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert response.is_closed is True @@ -346,7 +346,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.digital_card_profiles.with_streaming_response.retrieve( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -403,14 +403,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_archive(self, async_client: AsyncIncrease) -> None: digital_card_profile = await async_client.digital_card_profiles.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert_matches_type(DigitalCardProfile, digital_card_profile, path=["response"]) @parametrize async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: response = await async_client.digital_card_profiles.with_raw_response.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) assert response.is_closed is True @@ -421,7 +421,7 @@ async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_archive(self, async_client: AsyncIncrease) -> None: async with async_client.digital_card_profiles.with_streaming_response.archive( - "digital_card_profile_id", + "digital_card_profile_s3puplu90f04xhcwkiga", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_digital_wallet_tokens.py b/tests/api_resources/test_digital_wallet_tokens.py index abfb9e281..1ce1ba95b 100644 --- a/tests/api_resources/test_digital_wallet_tokens.py +++ b/tests/api_resources/test_digital_wallet_tokens.py @@ -22,14 +22,14 @@ class TestDigitalWalletTokens: @parametrize def test_method_retrieve(self, client: Increase) -> None: digital_wallet_token = client.digital_wallet_tokens.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) assert_matches_type(DigitalWalletToken, digital_wallet_token, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.digital_wallet_tokens.with_raw_response.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.digital_wallet_tokens.with_streaming_response.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -108,14 +108,14 @@ class TestAsyncDigitalWalletTokens: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: digital_wallet_token = await async_client.digital_wallet_tokens.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) assert_matches_type(DigitalWalletToken, digital_wallet_token, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.digital_wallet_tokens.with_raw_response.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) assert response.is_closed is True @@ -126,7 +126,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.digital_wallet_tokens.with_streaming_response.retrieve( - "digital_wallet_token_id", + "digital_wallet_token_izi62go3h51p369jrie0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index acf2b50ec..c0d808c7b 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -65,14 +65,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: document = client.documents.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) assert_matches_type(Document, document, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.documents.with_raw_response.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) assert response.is_closed is True @@ -83,7 +83,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.documents.with_streaming_response.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -194,14 +194,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: document = await async_client.documents.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) assert_matches_type(Document, document, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.documents.with_raw_response.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) assert response.is_closed is True @@ -212,7 +212,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.documents.with_streaming_response.retrieve( - "document_id", + "document_qjtqc6s4c14ve2q89izm", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_entities.py b/tests/api_resources/test_entities.py index 192de0078..ace0390a2 100644 --- a/tests/api_resources/test_entities.py +++ b/tests/api_resources/test_entities.py @@ -301,14 +301,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: entity = client.entities.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert_matches_type(Entity, entity, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.entities.with_raw_response.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert response.is_closed is True @@ -319,7 +319,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.entities.with_streaming_response.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -475,14 +475,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_archive(self, client: Increase) -> None: entity = client.entities.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert_matches_type(Entity, entity, path=["response"]) @parametrize def test_raw_response_archive(self, client: Increase) -> None: response = client.entities.with_raw_response.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert response.is_closed is True @@ -493,7 +493,7 @@ def test_raw_response_archive(self, client: Increase) -> None: @parametrize def test_streaming_response_archive(self, client: Increase) -> None: with client.entities.with_streaming_response.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -1228,14 +1228,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: entity = await async_client.entities.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert_matches_type(Entity, entity, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.entities.with_raw_response.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert response.is_closed is True @@ -1246,7 +1246,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.entities.with_streaming_response.retrieve( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -1402,14 +1402,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_archive(self, async_client: AsyncIncrease) -> None: entity = await async_client.entities.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert_matches_type(Entity, entity, path=["response"]) @parametrize async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: response = await async_client.entities.with_raw_response.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) assert response.is_closed is True @@ -1420,7 +1420,7 @@ async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_archive(self, async_client: AsyncIncrease) -> None: async with async_client.entities.with_streaming_response.archive( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_event_subscriptions.py b/tests/api_resources/test_event_subscriptions.py index 3222bae25..34963f3cd 100644 --- a/tests/api_resources/test_event_subscriptions.py +++ b/tests/api_resources/test_event_subscriptions.py @@ -64,14 +64,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: event_subscription = client.event_subscriptions.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) assert_matches_type(EventSubscription, event_subscription, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.event_subscriptions.with_raw_response.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) assert response.is_closed is True @@ -82,7 +82,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.event_subscriptions.with_streaming_response.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -229,14 +229,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: event_subscription = await async_client.event_subscriptions.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) assert_matches_type(EventSubscription, event_subscription, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.event_subscriptions.with_raw_response.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) assert response.is_closed is True @@ -247,7 +247,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.event_subscriptions.with_streaming_response.retrieve( - "event_subscription_id", + "event_subscription_001dzz0r20rcdxgb013zqb8m04g", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_events.py b/tests/api_resources/test_events.py index 16fbf1ebb..101cba4be 100644 --- a/tests/api_resources/test_events.py +++ b/tests/api_resources/test_events.py @@ -22,14 +22,14 @@ class TestEvents: @parametrize def test_method_retrieve(self, client: Increase) -> None: event = client.events.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) assert_matches_type(Event, event, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.events.with_raw_response.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.events.with_streaming_response.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -107,14 +107,14 @@ class TestAsyncEvents: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: event = await async_client.events.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) assert_matches_type(Event, event, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.events.with_raw_response.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) assert response.is_closed is True @@ -125,7 +125,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.events.with_streaming_response.retrieve( - "event_id", + "event_001dzz0r20rzr4zrhrr1364hy80", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_exports.py b/tests/api_resources/test_exports.py index 33b670625..8159a6bde 100644 --- a/tests/api_resources/test_exports.py +++ b/tests/api_resources/test_exports.py @@ -104,14 +104,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: export = client.exports.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) assert_matches_type(Export, export, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.exports.with_raw_response.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) assert response.is_closed is True @@ -122,7 +122,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.exports.with_streaming_response.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -272,14 +272,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: export = await async_client.exports.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) assert_matches_type(Export, export, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.exports.with_raw_response.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) assert response.is_closed is True @@ -290,7 +290,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.exports.with_streaming_response.retrieve( - "export_id", + "export_8s4m48qz3bclzje0zwh9", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_external_accounts.py b/tests/api_resources/test_external_accounts.py index 3700f7ddf..4d639e66e 100644 --- a/tests/api_resources/test_external_accounts.py +++ b/tests/api_resources/test_external_accounts.py @@ -71,14 +71,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: external_account = client.external_accounts.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) assert_matches_type(ExternalAccount, external_account, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.external_accounts.with_raw_response.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) assert response.is_closed is True @@ -89,7 +89,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.external_accounts.with_streaming_response.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -248,14 +248,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: external_account = await async_client.external_accounts.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) assert_matches_type(ExternalAccount, external_account, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.external_accounts.with_raw_response.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) assert response.is_closed is True @@ -266,7 +266,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.external_accounts.with_streaming_response.retrieve( - "external_account_id", + "external_account_ukk55lr923a3ac0pp7iv", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_files.py b/tests/api_resources/test_files.py index 1862590f8..e36671d6d 100644 --- a/tests/api_resources/test_files.py +++ b/tests/api_resources/test_files.py @@ -65,14 +65,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: file = client.files.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) assert_matches_type(File, file, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.files.with_raw_response.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) assert response.is_closed is True @@ -83,7 +83,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.files.with_streaming_response.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -193,14 +193,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: file = await async_client.files.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) assert_matches_type(File, file, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.files.with_raw_response.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) assert response.is_closed is True @@ -211,7 +211,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.files.with_streaming_response.retrieve( - "file_id", + "file_makxrc67oh9l6sg7w9yc", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_ach_transfers.py b/tests/api_resources/test_inbound_ach_transfers.py index b25b7ed36..9c73918f4 100644 --- a/tests/api_resources/test_inbound_ach_transfers.py +++ b/tests/api_resources/test_inbound_ach_transfers.py @@ -24,14 +24,14 @@ class TestInboundACHTransfers: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_ach_transfer = client.inbound_ach_transfers.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) assert_matches_type(InboundACHTransfer, inbound_ach_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_ach_transfers.with_raw_response.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) assert response.is_closed is True @@ -42,7 +42,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_ach_transfers.with_streaming_response.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -253,14 +253,14 @@ class TestAsyncInboundACHTransfers: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_ach_transfer = await async_client.inbound_ach_transfers.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) assert_matches_type(InboundACHTransfer, inbound_ach_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_ach_transfers.with_raw_response.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) assert response.is_closed is True @@ -271,7 +271,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_ach_transfers.with_streaming_response.retrieve( - "inbound_ach_transfer_id", + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_check_deposits.py b/tests/api_resources/test_inbound_check_deposits.py index c96738eb0..0b4064f1e 100644 --- a/tests/api_resources/test_inbound_check_deposits.py +++ b/tests/api_resources/test_inbound_check_deposits.py @@ -22,14 +22,14 @@ class TestInboundCheckDeposits: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_check_deposit = client.inbound_check_deposits.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_check_deposits.with_raw_response.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_check_deposits.with_streaming_response.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -103,14 +103,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_decline(self, client: Increase) -> None: inbound_check_deposit = client.inbound_check_deposits.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"]) @parametrize def test_raw_response_decline(self, client: Increase) -> None: response = client.inbound_check_deposits.with_raw_response.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert response.is_closed is True @@ -121,7 +121,7 @@ def test_raw_response_decline(self, client: Increase) -> None: @parametrize def test_streaming_response_decline(self, client: Increase) -> None: with client.inbound_check_deposits.with_streaming_response.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -193,14 +193,14 @@ class TestAsyncInboundCheckDeposits: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_check_deposit = await async_client.inbound_check_deposits.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_check_deposits.with_raw_response.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert response.is_closed is True @@ -211,7 +211,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_check_deposits.with_streaming_response.retrieve( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -274,14 +274,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_decline(self, async_client: AsyncIncrease) -> None: inbound_check_deposit = await async_client.inbound_check_deposits.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert_matches_type(InboundCheckDeposit, inbound_check_deposit, path=["response"]) @parametrize async def test_raw_response_decline(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_check_deposits.with_raw_response.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) assert response.is_closed is True @@ -292,7 +292,7 @@ async def test_raw_response_decline(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_decline(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_check_deposits.with_streaming_response.decline( - "inbound_check_deposit_id", + "inbound_check_deposit_zoshvqybq0cjjm31mra", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_mail_items.py b/tests/api_resources/test_inbound_mail_items.py index f7e8a1c60..3cbea56d0 100644 --- a/tests/api_resources/test_inbound_mail_items.py +++ b/tests/api_resources/test_inbound_mail_items.py @@ -22,14 +22,14 @@ class TestInboundMailItems: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_mail_item = client.inbound_mail_items.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) assert_matches_type(InboundMailItem, inbound_mail_item, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_mail_items.with_raw_response.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_mail_items.with_streaming_response.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -106,14 +106,14 @@ class TestAsyncInboundMailItems: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_mail_item = await async_client.inbound_mail_items.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) assert_matches_type(InboundMailItem, inbound_mail_item, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_mail_items.with_raw_response.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) assert response.is_closed is True @@ -124,7 +124,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_mail_items.with_streaming_response.retrieve( - "inbound_mail_item_id", + "inbound_mail_item_q6rrg7mmqpplx80zceev", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_real_time_payments_transfers.py b/tests/api_resources/test_inbound_real_time_payments_transfers.py index ea67dc0e0..305dfa6fc 100755 --- a/tests/api_resources/test_inbound_real_time_payments_transfers.py +++ b/tests/api_resources/test_inbound_real_time_payments_transfers.py @@ -22,14 +22,14 @@ class TestInboundRealTimePaymentsTransfers: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_real_time_payments_transfer = client.inbound_real_time_payments_transfers.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) assert_matches_type(InboundRealTimePaymentsTransfer, inbound_real_time_payments_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_real_time_payments_transfers.with_raw_response.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_real_time_payments_transfers.with_streaming_response.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -117,14 +117,14 @@ class TestAsyncInboundRealTimePaymentsTransfers: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_real_time_payments_transfer = await async_client.inbound_real_time_payments_transfers.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) assert_matches_type(InboundRealTimePaymentsTransfer, inbound_real_time_payments_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_real_time_payments_transfers.with_raw_response.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) assert response.is_closed is True @@ -135,7 +135,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_real_time_payments_transfers.with_streaming_response.retrieve( - "inbound_real_time_payments_transfer_id", + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_wire_drawdown_requests.py b/tests/api_resources/test_inbound_wire_drawdown_requests.py index c94b33829..8d0fb6d07 100644 --- a/tests/api_resources/test_inbound_wire_drawdown_requests.py +++ b/tests/api_resources/test_inbound_wire_drawdown_requests.py @@ -21,14 +21,14 @@ class TestInboundWireDrawdownRequests: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_wire_drawdown_request = client.inbound_wire_drawdown_requests.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) assert_matches_type(InboundWireDrawdownRequest, inbound_wire_drawdown_request, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_wire_drawdown_requests.with_raw_response.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) assert response.is_closed is True @@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_wire_drawdown_requests.with_streaming_response.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -100,14 +100,14 @@ class TestAsyncInboundWireDrawdownRequests: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_wire_drawdown_request = await async_client.inbound_wire_drawdown_requests.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) assert_matches_type(InboundWireDrawdownRequest, inbound_wire_drawdown_request, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_wire_drawdown_requests.with_raw_response.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) assert response.is_closed is True @@ -118,7 +118,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_wire_drawdown_requests.with_streaming_response.retrieve( - "inbound_wire_drawdown_request_id", + "inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_inbound_wire_transfers.py b/tests/api_resources/test_inbound_wire_transfers.py index 984e76ab3..6087c698d 100644 --- a/tests/api_resources/test_inbound_wire_transfers.py +++ b/tests/api_resources/test_inbound_wire_transfers.py @@ -22,14 +22,14 @@ class TestInboundWireTransfers: @parametrize def test_method_retrieve(self, client: Increase) -> None: inbound_wire_transfer = client.inbound_wire_transfers.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) assert_matches_type(InboundWireTransfer, inbound_wire_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.inbound_wire_transfers.with_raw_response.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.inbound_wire_transfers.with_streaming_response.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -155,14 +155,14 @@ class TestAsyncInboundWireTransfers: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: inbound_wire_transfer = await async_client.inbound_wire_transfers.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) assert_matches_type(InboundWireTransfer, inbound_wire_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.inbound_wire_transfers.with_raw_response.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) assert response.is_closed is True @@ -173,7 +173,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.inbound_wire_transfers.with_streaming_response.retrieve( - "inbound_wire_transfer_id", + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_intrafi_account_enrollments.py b/tests/api_resources/test_intrafi_account_enrollments.py index a6fc99827..8ed6b9981 100644 --- a/tests/api_resources/test_intrafi_account_enrollments.py +++ b/tests/api_resources/test_intrafi_account_enrollments.py @@ -57,14 +57,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: intrafi_account_enrollment = client.intrafi_account_enrollments.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert_matches_type(IntrafiAccountEnrollment, intrafi_account_enrollment, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.intrafi_account_enrollments.with_raw_response.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert response.is_closed is True @@ -75,7 +75,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.intrafi_account_enrollments.with_streaming_response.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -133,14 +133,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_unenroll(self, client: Increase) -> None: intrafi_account_enrollment = client.intrafi_account_enrollments.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert_matches_type(IntrafiAccountEnrollment, intrafi_account_enrollment, path=["response"]) @parametrize def test_raw_response_unenroll(self, client: Increase) -> None: response = client.intrafi_account_enrollments.with_raw_response.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert response.is_closed is True @@ -151,7 +151,7 @@ def test_raw_response_unenroll(self, client: Increase) -> None: @parametrize def test_streaming_response_unenroll(self, client: Increase) -> None: with client.intrafi_account_enrollments.with_streaming_response.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -213,14 +213,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: intrafi_account_enrollment = await async_client.intrafi_account_enrollments.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert_matches_type(IntrafiAccountEnrollment, intrafi_account_enrollment, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.intrafi_account_enrollments.with_raw_response.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert response.is_closed is True @@ -231,7 +231,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.intrafi_account_enrollments.with_streaming_response.retrieve( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -289,14 +289,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_unenroll(self, async_client: AsyncIncrease) -> None: intrafi_account_enrollment = await async_client.intrafi_account_enrollments.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert_matches_type(IntrafiAccountEnrollment, intrafi_account_enrollment, path=["response"]) @parametrize async def test_raw_response_unenroll(self, async_client: AsyncIncrease) -> None: response = await async_client.intrafi_account_enrollments.with_raw_response.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) assert response.is_closed is True @@ -307,7 +307,7 @@ async def test_raw_response_unenroll(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_unenroll(self, async_client: AsyncIncrease) -> None: async with async_client.intrafi_account_enrollments.with_streaming_response.unenroll( - "intrafi_account_enrollment_id", + "intrafi_account_enrollment_w8l97znzreopkwf2tg75", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_intrafi_balances.py b/tests/api_resources/test_intrafi_balances.py index c021f05ba..8f1a9953c 100644 --- a/tests/api_resources/test_intrafi_balances.py +++ b/tests/api_resources/test_intrafi_balances.py @@ -20,14 +20,14 @@ class TestIntrafiBalances: @parametrize def test_method_intrafi_balance(self, client: Increase) -> None: intrafi_balance = client.intrafi_balances.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(IntrafiBalance, intrafi_balance, path=["response"]) @parametrize def test_raw_response_intrafi_balance(self, client: Increase) -> None: response = client.intrafi_balances.with_raw_response.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_intrafi_balance(self, client: Increase) -> None: @parametrize def test_streaming_response_intrafi_balance(self, client: Increase) -> None: with client.intrafi_balances.with_streaming_response.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -64,14 +64,14 @@ class TestAsyncIntrafiBalances: @parametrize async def test_method_intrafi_balance(self, async_client: AsyncIncrease) -> None: intrafi_balance = await async_client.intrafi_balances.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(IntrafiBalance, intrafi_balance, path=["response"]) @parametrize async def test_raw_response_intrafi_balance(self, async_client: AsyncIncrease) -> None: response = await async_client.intrafi_balances.with_raw_response.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -82,7 +82,7 @@ async def test_raw_response_intrafi_balance(self, async_client: AsyncIncrease) - @parametrize async def test_streaming_response_intrafi_balance(self, async_client: AsyncIncrease) -> None: async with async_client.intrafi_balances.with_streaming_response.intrafi_balance( - "account_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_intrafi_exclusions.py b/tests/api_resources/test_intrafi_exclusions.py index f7930e990..b3564fc62 100644 --- a/tests/api_resources/test_intrafi_exclusions.py +++ b/tests/api_resources/test_intrafi_exclusions.py @@ -55,14 +55,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: intrafi_exclusion = client.intrafi_exclusions.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(IntrafiExclusion, intrafi_exclusion, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.intrafi_exclusions.with_raw_response.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -73,7 +73,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.intrafi_exclusions.with_streaming_response.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -128,14 +128,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_archive(self, client: Increase) -> None: intrafi_exclusion = client.intrafi_exclusions.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) assert_matches_type(IntrafiExclusion, intrafi_exclusion, path=["response"]) @parametrize def test_raw_response_archive(self, client: Increase) -> None: response = client.intrafi_exclusions.with_raw_response.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) assert response.is_closed is True @@ -146,7 +146,7 @@ def test_raw_response_archive(self, client: Increase) -> None: @parametrize def test_streaming_response_archive(self, client: Increase) -> None: with client.intrafi_exclusions.with_streaming_response.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -206,14 +206,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: intrafi_exclusion = await async_client.intrafi_exclusions.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) assert_matches_type(IntrafiExclusion, intrafi_exclusion, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.intrafi_exclusions.with_raw_response.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) assert response.is_closed is True @@ -224,7 +224,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.intrafi_exclusions.with_streaming_response.retrieve( - "intrafi_exclusion_id", + "account_in71c4amph0vgo2qllky", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -279,14 +279,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_archive(self, async_client: AsyncIncrease) -> None: intrafi_exclusion = await async_client.intrafi_exclusions.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) assert_matches_type(IntrafiExclusion, intrafi_exclusion, path=["response"]) @parametrize async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: response = await async_client.intrafi_exclusions.with_raw_response.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) assert response.is_closed is True @@ -297,7 +297,7 @@ async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_archive(self, async_client: AsyncIncrease) -> None: async with async_client.intrafi_exclusions.with_streaming_response.archive( - "intrafi_exclusion_id", + "intrafi_exclusion_ygfqduuzpau3jqof6jyh", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_lockboxes.py b/tests/api_resources/test_lockboxes.py index 29bc2015a..ff9fe0a85 100644 --- a/tests/api_resources/test_lockboxes.py +++ b/tests/api_resources/test_lockboxes.py @@ -62,14 +62,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: lockbox = client.lockboxes.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) assert_matches_type(Lockbox, lockbox, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.lockboxes.with_raw_response.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) assert response.is_closed is True @@ -80,7 +80,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.lockboxes.with_streaming_response.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -235,14 +235,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: lockbox = await async_client.lockboxes.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) assert_matches_type(Lockbox, lockbox, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.lockboxes.with_raw_response.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) assert response.is_closed is True @@ -253,7 +253,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.lockboxes.with_streaming_response.retrieve( - "lockbox_id", + "lockbox_3xt21ok13q19advds4t5", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_oauth_applications.py b/tests/api_resources/test_oauth_applications.py index 7fe1db78f..17280bde0 100644 --- a/tests/api_resources/test_oauth_applications.py +++ b/tests/api_resources/test_oauth_applications.py @@ -22,14 +22,14 @@ class TestOAuthApplications: @parametrize def test_method_retrieve(self, client: Increase) -> None: oauth_application = client.oauth_applications.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) assert_matches_type(OAuthApplication, oauth_application, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.oauth_applications.with_raw_response.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.oauth_applications.with_streaming_response.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -106,14 +106,14 @@ class TestAsyncOAuthApplications: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: oauth_application = await async_client.oauth_applications.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) assert_matches_type(OAuthApplication, oauth_application, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.oauth_applications.with_raw_response.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) assert response.is_closed is True @@ -124,7 +124,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.oauth_applications.with_streaming_response.retrieve( - "oauth_application_id", + "application_gj9ufmpgh5i56k4vyriy", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_oauth_connections.py b/tests/api_resources/test_oauth_connections.py index cab23456d..52eb24ab4 100644 --- a/tests/api_resources/test_oauth_connections.py +++ b/tests/api_resources/test_oauth_connections.py @@ -21,14 +21,14 @@ class TestOAuthConnections: @parametrize def test_method_retrieve(self, client: Increase) -> None: oauth_connection = client.oauth_connections.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) assert_matches_type(OAuthConnection, oauth_connection, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.oauth_connections.with_raw_response.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) assert response.is_closed is True @@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.oauth_connections.with_streaming_response.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -100,14 +100,14 @@ class TestAsyncOAuthConnections: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: oauth_connection = await async_client.oauth_connections.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) assert_matches_type(OAuthConnection, oauth_connection, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.oauth_connections.with_raw_response.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) assert response.is_closed is True @@ -118,7 +118,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.oauth_connections.with_streaming_response.retrieve( - "x", + "connection_dauknoksyr4wilz4e6my", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_pending_transactions.py b/tests/api_resources/test_pending_transactions.py index 185106386..af444a4d6 100644 --- a/tests/api_resources/test_pending_transactions.py +++ b/tests/api_resources/test_pending_transactions.py @@ -65,14 +65,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: pending_transaction = client.pending_transactions.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.pending_transactions.with_raw_response.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -83,7 +83,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.pending_transactions.with_streaming_response.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -148,14 +148,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_release(self, client: Increase) -> None: pending_transaction = client.pending_transactions.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize def test_raw_response_release(self, client: Increase) -> None: response = client.pending_transactions.with_raw_response.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -166,7 +166,7 @@ def test_raw_response_release(self, client: Increase) -> None: @parametrize def test_streaming_response_release(self, client: Increase) -> None: with client.pending_transactions.with_streaming_response.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -237,14 +237,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: pending_transaction = await async_client.pending_transactions.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.pending_transactions.with_raw_response.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -255,7 +255,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.pending_transactions.with_streaming_response.retrieve( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -320,14 +320,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_release(self, async_client: AsyncIncrease) -> None: pending_transaction = await async_client.pending_transactions.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert_matches_type(PendingTransaction, pending_transaction, path=["response"]) @parametrize async def test_raw_response_release(self, async_client: AsyncIncrease) -> None: response = await async_client.pending_transactions.with_raw_response.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) assert response.is_closed is True @@ -338,7 +338,7 @@ async def test_raw_response_release(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_release(self, async_client: AsyncIncrease) -> None: async with async_client.pending_transactions.with_streaming_response.release( - "pending_transaction_id", + "pending_transaction_k1sfetcau2qbvjbzgju4", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_physical_card_profiles.py b/tests/api_resources/test_physical_card_profiles.py index 147fa8509..3301adf31 100644 --- a/tests/api_resources/test_physical_card_profiles.py +++ b/tests/api_resources/test_physical_card_profiles.py @@ -85,14 +85,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: physical_card_profile = client.physical_card_profiles.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert_matches_type(PhysicalCardProfile, physical_card_profile, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.physical_card_profiles.with_raw_response.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert response.is_closed is True @@ -103,7 +103,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.physical_card_profiles.with_streaming_response.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -160,14 +160,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_archive(self, client: Increase) -> None: physical_card_profile = client.physical_card_profiles.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert_matches_type(PhysicalCardProfile, physical_card_profile, path=["response"]) @parametrize def test_raw_response_archive(self, client: Increase) -> None: response = client.physical_card_profiles.with_raw_response.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert response.is_closed is True @@ -178,7 +178,7 @@ def test_raw_response_archive(self, client: Increase) -> None: @parametrize def test_streaming_response_archive(self, client: Increase) -> None: with client.physical_card_profiles.with_streaming_response.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -324,14 +324,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: physical_card_profile = await async_client.physical_card_profiles.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert_matches_type(PhysicalCardProfile, physical_card_profile, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.physical_card_profiles.with_raw_response.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert response.is_closed is True @@ -342,7 +342,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.physical_card_profiles.with_streaming_response.retrieve( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -399,14 +399,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_archive(self, async_client: AsyncIncrease) -> None: physical_card_profile = await async_client.physical_card_profiles.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert_matches_type(PhysicalCardProfile, physical_card_profile, path=["response"]) @parametrize async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: response = await async_client.physical_card_profiles.with_raw_response.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) assert response.is_closed is True @@ -417,7 +417,7 @@ async def test_raw_response_archive(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_archive(self, async_client: AsyncIncrease) -> None: async with async_client.physical_card_profiles.with_streaming_response.archive( - "physical_card_profile_id", + "physical_card_profile_m534d5rn9qyy9ufqxoec", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_physical_cards.py b/tests/api_resources/test_physical_cards.py index ca526387f..42fda8cd1 100644 --- a/tests/api_resources/test_physical_cards.py +++ b/tests/api_resources/test_physical_cards.py @@ -124,14 +124,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: physical_card = client.physical_cards.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) assert_matches_type(PhysicalCard, physical_card, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.physical_cards.with_raw_response.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) assert response.is_closed is True @@ -142,7 +142,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.physical_cards.with_streaming_response.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -351,14 +351,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: physical_card = await async_client.physical_cards.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) assert_matches_type(PhysicalCard, physical_card, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.physical_cards.with_raw_response.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) assert response.is_closed is True @@ -369,7 +369,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.physical_cards.with_streaming_response.retrieve( - "physical_card_id", + "physical_card_ode8duyq5v2ynhjoharl", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_programs.py b/tests/api_resources/test_programs.py index 95d5e7627..1a4df07ac 100644 --- a/tests/api_resources/test_programs.py +++ b/tests/api_resources/test_programs.py @@ -21,14 +21,14 @@ class TestPrograms: @parametrize def test_method_retrieve(self, client: Increase) -> None: program = client.programs.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) assert_matches_type(Program, program, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.programs.with_raw_response.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) assert response.is_closed is True @@ -39,7 +39,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.programs.with_streaming_response.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -98,14 +98,14 @@ class TestAsyncPrograms: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: program = await async_client.programs.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) assert_matches_type(Program, program, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.programs.with_raw_response.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) assert response.is_closed is True @@ -116,7 +116,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.programs.with_streaming_response.retrieve( - "program_id", + "program_i2v2os4mwza1oetokh9i", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_real_time_decisions.py b/tests/api_resources/test_real_time_decisions.py index eae0309ae..fcd9a8683 100644 --- a/tests/api_resources/test_real_time_decisions.py +++ b/tests/api_resources/test_real_time_decisions.py @@ -20,14 +20,14 @@ class TestRealTimeDecisions: @parametrize def test_method_retrieve(self, client: Increase) -> None: real_time_decision = client.real_time_decisions.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) assert_matches_type(RealTimeDecision, real_time_decision, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.real_time_decisions.with_raw_response.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) assert response.is_closed is True @@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.real_time_decisions.with_streaming_response.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -135,14 +135,14 @@ class TestAsyncRealTimeDecisions: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: real_time_decision = await async_client.real_time_decisions.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) assert_matches_type(RealTimeDecision, real_time_decision, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.real_time_decisions.with_raw_response.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) assert response.is_closed is True @@ -153,7 +153,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.real_time_decisions.with_streaming_response.retrieve( - "real_time_decision_id", + "real_time_decision_j76n2e810ezcg3zh5qtn", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_real_time_payments_transfers.py b/tests/api_resources/test_real_time_payments_transfers.py index 5bddfed46..09e20196c 100644 --- a/tests/api_resources/test_real_time_payments_transfers.py +++ b/tests/api_resources/test_real_time_payments_transfers.py @@ -81,14 +81,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: real_time_payments_transfer = client.real_time_payments_transfers.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.real_time_payments_transfers.with_raw_response.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -99,7 +99,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.real_time_payments_transfers.with_streaming_response.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -164,14 +164,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: real_time_payments_transfer = client.real_time_payments_transfers.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.real_time_payments_transfers.with_raw_response.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -182,7 +182,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.real_time_payments_transfers.with_streaming_response.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -204,14 +204,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: real_time_payments_transfer = client.real_time_payments_transfers.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.real_time_payments_transfers.with_raw_response.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -222,7 +222,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.real_time_payments_transfers.with_streaming_response.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -307,14 +307,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: real_time_payments_transfer = await async_client.real_time_payments_transfers.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.real_time_payments_transfers.with_raw_response.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -325,7 +325,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.real_time_payments_transfers.with_streaming_response.retrieve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -390,14 +390,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: real_time_payments_transfer = await async_client.real_time_payments_transfers.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.real_time_payments_transfers.with_raw_response.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -408,7 +408,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.real_time_payments_transfers.with_streaming_response.approve( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -430,14 +430,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: real_time_payments_transfer = await async_client.real_time_payments_transfers.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert_matches_type(RealTimePaymentsTransfer, real_time_payments_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.real_time_payments_transfers.with_raw_response.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) assert response.is_closed is True @@ -448,7 +448,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.real_time_payments_transfers.with_streaming_response.cancel( - "real_time_payments_transfer_id", + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_transactions.py b/tests/api_resources/test_transactions.py index 4d718608a..d5491798f 100644 --- a/tests/api_resources/test_transactions.py +++ b/tests/api_resources/test_transactions.py @@ -22,14 +22,14 @@ class TestTransactions: @parametrize def test_method_retrieve(self, client: Increase) -> None: transaction = client.transactions.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) assert_matches_type(Transaction, transaction, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.transactions.with_raw_response.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) assert response.is_closed is True @@ -40,7 +40,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.transactions.with_streaming_response.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -108,14 +108,14 @@ class TestAsyncTransactions: @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: transaction = await async_client.transactions.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) assert_matches_type(Transaction, transaction, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.transactions.with_raw_response.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) assert response.is_closed is True @@ -126,7 +126,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.transactions.with_streaming_response.retrieve( - "transaction_id", + "transaction_uyrp7fld2ium70oa7oi", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_wire_drawdown_requests.py b/tests/api_resources/test_wire_drawdown_requests.py index 8773766f8..dd4783e33 100644 --- a/tests/api_resources/test_wire_drawdown_requests.py +++ b/tests/api_resources/test_wire_drawdown_requests.py @@ -124,14 +124,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: wire_drawdown_request = client.wire_drawdown_requests.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.wire_drawdown_requests.with_raw_response.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -142,7 +142,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.wire_drawdown_requests.with_streaming_response.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -308,14 +308,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: wire_drawdown_request = await async_client.wire_drawdown_requests.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert_matches_type(WireDrawdownRequest, wire_drawdown_request, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.wire_drawdown_requests.with_raw_response.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) assert response.is_closed is True @@ -326,7 +326,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.wire_drawdown_requests.with_streaming_response.retrieve( - "wire_drawdown_request_id", + "wire_drawdown_request_q6lmocus3glo0lr2bfv3", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" diff --git a/tests/api_resources/test_wire_transfers.py b/tests/api_resources/test_wire_transfers.py index 0173a6f36..b2d2884e4 100644 --- a/tests/api_resources/test_wire_transfers.py +++ b/tests/api_resources/test_wire_transfers.py @@ -90,14 +90,14 @@ def test_streaming_response_create(self, client: Increase) -> None: @parametrize def test_method_retrieve(self, client: Increase) -> None: wire_transfer = client.wire_transfers.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize def test_raw_response_retrieve(self, client: Increase) -> None: response = client.wire_transfers.with_raw_response.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -108,7 +108,7 @@ def test_raw_response_retrieve(self, client: Increase) -> None: @parametrize def test_streaming_response_retrieve(self, client: Increase) -> None: with client.wire_transfers.with_streaming_response.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -170,14 +170,14 @@ def test_streaming_response_list(self, client: Increase) -> None: @parametrize def test_method_approve(self, client: Increase) -> None: wire_transfer = client.wire_transfers.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize def test_raw_response_approve(self, client: Increase) -> None: response = client.wire_transfers.with_raw_response.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -188,7 +188,7 @@ def test_raw_response_approve(self, client: Increase) -> None: @parametrize def test_streaming_response_approve(self, client: Increase) -> None: with client.wire_transfers.with_streaming_response.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -208,14 +208,14 @@ def test_path_params_approve(self, client: Increase) -> None: @parametrize def test_method_cancel(self, client: Increase) -> None: wire_transfer = client.wire_transfers.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize def test_raw_response_cancel(self, client: Increase) -> None: response = client.wire_transfers.with_raw_response.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -226,7 +226,7 @@ def test_raw_response_cancel(self, client: Increase) -> None: @parametrize def test_streaming_response_cancel(self, client: Increase) -> None: with client.wire_transfers.with_streaming_response.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -320,14 +320,14 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N @parametrize async def test_method_retrieve(self, async_client: AsyncIncrease) -> None: wire_transfer = await async_client.wire_transfers.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: response = await async_client.wire_transfers.with_raw_response.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -338,7 +338,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncIncrease) -> None: async with async_client.wire_transfers.with_streaming_response.retrieve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -400,14 +400,14 @@ async def test_streaming_response_list(self, async_client: AsyncIncrease) -> Non @parametrize async def test_method_approve(self, async_client: AsyncIncrease) -> None: wire_transfer = await async_client.wire_transfers.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: response = await async_client.wire_transfers.with_raw_response.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -418,7 +418,7 @@ async def test_raw_response_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_approve(self, async_client: AsyncIncrease) -> None: async with async_client.wire_transfers.with_streaming_response.approve( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -438,14 +438,14 @@ async def test_path_params_approve(self, async_client: AsyncIncrease) -> None: @parametrize async def test_method_cancel(self, async_client: AsyncIncrease) -> None: wire_transfer = await async_client.wire_transfers.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert_matches_type(WireTransfer, wire_transfer, path=["response"]) @parametrize async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: response = await async_client.wire_transfers.with_raw_response.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) assert response.is_closed is True @@ -456,7 +456,7 @@ async def test_raw_response_cancel(self, async_client: AsyncIncrease) -> None: @parametrize async def test_streaming_response_cancel(self, async_client: AsyncIncrease) -> None: async with async_client.wire_transfers.with_streaming_response.cancel( - "wire_transfer_id", + "wire_transfer_5akynk7dqsq25qwk9q2u", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" From 8520ec94d27119aa9c047f6347a7bc26c6b76cd0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 21:25:02 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/card_payment.py | 22 ++++++++++++++++++++++ src/increase/types/transaction.py | 22 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index e5dc4c9fa..86d1fe70d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d0d6147287983a83fc0ad164f706c3cdc48a13e223fd601aa954bbf0bbc402ed.yml -openapi_spec_hash: a3ccd1aa9bc5d03e6660b535d25401b1 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-884e347f765b181f0f15f821b0c5786f51d532aae1077294aedf3fff0d6f9b22.yml +openapi_spec_hash: 119e76f07825b0975b385de037fe8d96 config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3 diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 2ce2d50ad..95aabbd84 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -85,6 +85,7 @@ "ElementCardSettlementPurchaseDetailsTravelAncillary", "ElementCardSettlementPurchaseDetailsTravelAncillaryService", "ElementCardSettlementPurchaseDetailsTravelTripLeg", + "ElementCardSettlementSurcharge", "ElementCardValidation", "ElementCardValidationAdditionalAmounts", "ElementCardValidationAdditionalAmountsClinic", @@ -2933,6 +2934,19 @@ class ElementCardSettlementPurchaseDetails(BaseModel): """Fields specific to travel.""" +class ElementCardSettlementSurcharge(BaseModel): + amount: int + """ + The surcharge amount in the minor unit of the transaction's settlement currency. + """ + + presentment_amount: int + """ + The surcharge amount in the minor unit of the transaction's presentment + currency. + """ + + class ElementCardSettlement(BaseModel): id: str """The Card Settlement identifier.""" @@ -3025,6 +3039,14 @@ class ElementCardSettlement(BaseModel): fields. """ + surcharge: Optional[ElementCardSettlementSurcharge] = None + """Surcharge amount details, if applicable. + + The amounts positive if the surcharge is added to to the overall transaction + amount (surcharge), and negative if the surcharge is deducted from the overall + transaction amount (discount). + """ + transaction_id: str """The identifier of the Transaction associated with this Transaction.""" diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index 9f95f3335..d22097616 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -42,6 +42,7 @@ "SourceCardSettlementPurchaseDetailsTravelAncillary", "SourceCardSettlementPurchaseDetailsTravelAncillaryService", "SourceCardSettlementPurchaseDetailsTravelTripLeg", + "SourceCardSettlementSurcharge", "SourceCashbackPayment", "SourceCheckDepositAcceptance", "SourceCheckDepositReturn", @@ -1537,6 +1538,19 @@ class SourceCardSettlementPurchaseDetails(BaseModel): """Fields specific to travel.""" +class SourceCardSettlementSurcharge(BaseModel): + amount: int + """ + The surcharge amount in the minor unit of the transaction's settlement currency. + """ + + presentment_amount: int + """ + The surcharge amount in the minor unit of the transaction's presentment + currency. + """ + + class SourceCardSettlement(BaseModel): id: str """The Card Settlement identifier.""" @@ -1629,6 +1643,14 @@ class SourceCardSettlement(BaseModel): fields. """ + surcharge: Optional[SourceCardSettlementSurcharge] = None + """Surcharge amount details, if applicable. + + The amounts positive if the surcharge is added to to the overall transaction + amount (surcharge), and negative if the surcharge is deducted from the overall + transaction amount (discount). + """ + transaction_id: str """The identifier of the Transaction associated with this Transaction.""" From c2bddd33f79ccacd4a12bed4a18baf02c3862981 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 21:25:24 +0000 Subject: [PATCH 3/3] release: 0.335.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 79bee3809..a61c73cba 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.334.0" + ".": "0.335.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 21b816d4f..0fb70ded4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.335.0 (2025-09-22) + +Full Changelog: [v0.334.0...v0.335.0](https://github.com/Increase/increase-python/compare/v0.334.0...v0.335.0) + +### Features + +* **api:** api update ([8520ec9](https://github.com/Increase/increase-python/commit/8520ec94d27119aa9c047f6347a7bc26c6b76cd0)) + + +### Chores + +* improve example values ([d6d46a8](https://github.com/Increase/increase-python/commit/d6d46a8dc97441a1c5671071df7f0809af0141f0)) + ## 0.334.0 (2025-09-19) Full Changelog: [v0.333.0...v0.334.0](https://github.com/Increase/increase-python/compare/v0.333.0...v0.334.0) diff --git a/pyproject.toml b/pyproject.toml index 868ecad2c..1d33ab0a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.334.0" +version = "0.335.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index b6b9f8238..cc52e8254 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.334.0" # x-release-please-version +__version__ = "0.335.0" # x-release-please-version