From e4208d1e474193ca1020be6e9cb292cdbb3c0958 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:28:37 +0000 Subject: [PATCH 1/3] chore: improve example values --- .../increase/resources/account_numbers_test.rb | 4 ++-- .../resources/account_statements_test.rb | 2 +- .../resources/account_transfers_test.rb | 6 +++--- test/increase/resources/accounts_test.rb | 8 ++++---- .../resources/ach_prenotifications_test.rb | 2 +- test/increase/resources/ach_transfers_test.rb | 6 +++--- .../resources/bookkeeping_accounts_test.rb | 8 ++++++-- .../resources/bookkeeping_entries_test.rb | 2 +- .../resources/bookkeeping_entry_sets_test.rb | 2 +- test/increase/resources/card_details_test.rb | 6 +++--- test/increase/resources/card_payments_test.rb | 2 +- .../card_purchase_supplements_test.rb | 2 +- .../resources/card_push_transfers_test.rb | 6 +++--- test/increase/resources/card_tokens_test.rb | 4 ++-- .../resources/card_validations_test.rb | 2 +- test/increase/resources/cards_test.rb | 4 ++-- test/increase/resources/check_deposits_test.rb | 2 +- .../increase/resources/check_transfers_test.rb | 8 ++++---- .../resources/declined_transactions_test.rb | 2 +- .../resources/digital_card_profiles_test.rb | 6 +++--- .../resources/digital_wallet_tokens_test.rb | 2 +- test/increase/resources/documents_test.rb | 2 +- test/increase/resources/entities_test.rb | 18 +++++++++--------- .../resources/event_subscriptions_test.rb | 4 ++-- test/increase/resources/events_test.rb | 2 +- test/increase/resources/exports_test.rb | 2 +- .../resources/external_accounts_test.rb | 4 ++-- test/increase/resources/files_test.rb | 2 +- .../resources/inbound_ach_transfers_test.rb | 12 ++++++++---- .../resources/inbound_check_deposits_test.rb | 9 ++++++--- .../resources/inbound_mail_items_test.rb | 2 +- ...nbound_real_time_payments_transfers_test.rb | 4 +++- .../inbound_wire_drawdown_requests_test.rb | 3 ++- .../resources/inbound_wire_transfers_test.rb | 7 +++++-- .../intrafi_account_enrollments_test.rb | 6 ++++-- .../resources/intrafi_balances_test.rb | 2 +- .../resources/intrafi_exclusions_test.rb | 4 ++-- test/increase/resources/lockboxes_test.rb | 4 ++-- .../resources/oauth_applications_test.rb | 2 +- .../resources/oauth_connections_test.rb | 2 +- .../resources/pending_transactions_test.rb | 4 ++-- .../resources/physical_card_profiles_test.rb | 6 +++--- test/increase/resources/physical_cards_test.rb | 4 ++-- test/increase/resources/programs_test.rb | 2 +- .../resources/real_time_decisions_test.rb | 4 ++-- .../real_time_payments_transfers_test.rb | 9 ++++++--- .../simulations/account_transfers_test.rb | 2 +- .../simulations/ach_transfers_test.rb | 10 +++++----- .../simulations/check_deposits_test.rb | 6 +++--- .../simulations/check_transfers_test.rb | 2 +- .../simulations/pending_transactions_test.rb | 4 +++- .../simulations/physical_cards_test.rb | 8 ++++++-- .../real_time_payments_transfers_test.rb | 5 ++++- .../simulations/wire_drawdown_requests_test.rb | 6 ++++-- .../simulations/wire_transfers_test.rb | 4 ++-- test/increase/resources/transactions_test.rb | 2 +- .../resources/wire_drawdown_requests_test.rb | 2 +- test/increase/resources/wire_transfers_test.rb | 6 +++--- 58 files changed, 148 insertions(+), 115 deletions(-) diff --git a/test/increase/resources/account_numbers_test.rb b/test/increase/resources/account_numbers_test.rb index 99cbd1cf9..ea7c4ccf6 100644 --- a/test/increase/resources/account_numbers_test.rb +++ b/test/increase/resources/account_numbers_test.rb @@ -29,7 +29,7 @@ def test_create_required_params end def test_retrieve - response = @increase.account_numbers.retrieve("account_number_id") + response = @increase.account_numbers.retrieve("account_number_v18nkfqm6afpsrvy82b2") assert_pattern do response => Increase::AccountNumber @@ -53,7 +53,7 @@ def test_retrieve end def test_update - response = @increase.account_numbers.update("account_number_id") + response = @increase.account_numbers.update("account_number_v18nkfqm6afpsrvy82b2") assert_pattern do response => Increase::AccountNumber diff --git a/test/increase/resources/account_statements_test.rb b/test/increase/resources/account_statements_test.rb index 4f3674aac..ebed26dd9 100644 --- a/test/increase/resources/account_statements_test.rb +++ b/test/increase/resources/account_statements_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::AccountStatementsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.account_statements.retrieve("account_statement_id") + response = @increase.account_statements.retrieve("account_statement_lkc03a4skm2k7f38vj15") assert_pattern do response => Increase::AccountStatement diff --git a/test/increase/resources/account_transfers_test.rb b/test/increase/resources/account_transfers_test.rb index ed42b9c59..1aebca1e5 100644 --- a/test/increase/resources/account_transfers_test.rb +++ b/test/increase/resources/account_transfers_test.rb @@ -40,7 +40,7 @@ def test_create_required_params end def test_retrieve - response = @increase.account_transfers.retrieve("account_transfer_id") + response = @increase.account_transfers.retrieve("account_transfer_7k9qe1ysdgqztnt63l7n") assert_pattern do response => Increase::AccountTransfer @@ -107,7 +107,7 @@ def test_list end def test_approve - response = @increase.account_transfers.approve("account_transfer_id") + response = @increase.account_transfers.approve("account_transfer_7k9qe1ysdgqztnt63l7n") assert_pattern do response => Increase::AccountTransfer @@ -137,7 +137,7 @@ def test_approve end def test_cancel - response = @increase.account_transfers.cancel("account_transfer_id") + response = @increase.account_transfers.cancel("account_transfer_7k9qe1ysdgqztnt63l7n") assert_pattern do response => Increase::AccountTransfer diff --git a/test/increase/resources/accounts_test.rb b/test/increase/resources/accounts_test.rb index 4614bc94f..baadae9b7 100644 --- a/test/increase/resources/accounts_test.rb +++ b/test/increase/resources/accounts_test.rb @@ -33,7 +33,7 @@ def test_create_required_params end def test_retrieve - response = @increase.accounts.retrieve("account_id") + response = @increase.accounts.retrieve("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::Account @@ -62,7 +62,7 @@ def test_retrieve end def test_update - response = @increase.accounts.update("account_id") + response = @increase.accounts.update("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::Account @@ -127,7 +127,7 @@ def test_list end def test_balance - response = @increase.accounts.balance("account_id") + response = @increase.accounts.balance("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::BalanceLookup @@ -144,7 +144,7 @@ def test_balance end def test_close - response = @increase.accounts.close("account_id") + response = @increase.accounts.close("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::Account diff --git a/test/increase/resources/ach_prenotifications_test.rb b/test/increase/resources/ach_prenotifications_test.rb index 7d3d12359..451953a8f 100644 --- a/test/increase/resources/ach_prenotifications_test.rb +++ b/test/increase/resources/ach_prenotifications_test.rb @@ -42,7 +42,7 @@ def test_create_required_params end def test_retrieve - response = @increase.ach_prenotifications.retrieve("ach_prenotification_id") + response = @increase.ach_prenotifications.retrieve("ach_prenotification_ubjf9qqsxl3obbcn1u34") assert_pattern do response => Increase::ACHPrenotification diff --git a/test/increase/resources/ach_transfers_test.rb b/test/increase/resources/ach_transfers_test.rb index 4013c5ca1..026f70353 100644 --- a/test/increase/resources/ach_transfers_test.rb +++ b/test/increase/resources/ach_transfers_test.rb @@ -58,7 +58,7 @@ def test_create_required_params end def test_retrieve - response = @increase.ach_transfers.retrieve("ach_transfer_id") + response = @increase.ach_transfers.retrieve("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer @@ -163,7 +163,7 @@ def test_list end def test_approve - response = @increase.ach_transfers.approve("ach_transfer_id") + response = @increase.ach_transfers.approve("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer @@ -212,7 +212,7 @@ def test_approve end def test_cancel - response = @increase.ach_transfers.cancel("ach_transfer_id") + response = @increase.ach_transfers.cancel("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer diff --git a/test/increase/resources/bookkeeping_accounts_test.rb b/test/increase/resources/bookkeeping_accounts_test.rb index 96dafc888..a1f3462ae 100644 --- a/test/increase/resources/bookkeeping_accounts_test.rb +++ b/test/increase/resources/bookkeeping_accounts_test.rb @@ -24,7 +24,11 @@ def test_create_required_params end def test_update_required_params - response = @increase.bookkeeping_accounts.update("bookkeeping_account_id", name: "Deprecated Account") + response = + @increase.bookkeeping_accounts.update( + "bookkeeping_account_e37p1f1iuocw5intf35v", + name: "Deprecated Account" + ) assert_pattern do response => Increase::BookkeepingAccount @@ -71,7 +75,7 @@ def test_list end def test_balance - response = @increase.bookkeeping_accounts.balance("bookkeeping_account_id") + response = @increase.bookkeeping_accounts.balance("bookkeeping_account_e37p1f1iuocw5intf35v") assert_pattern do response => Increase::BookkeepingBalanceLookup diff --git a/test/increase/resources/bookkeeping_entries_test.rb b/test/increase/resources/bookkeeping_entries_test.rb index 094a20c33..4c626d40f 100644 --- a/test/increase/resources/bookkeeping_entries_test.rb +++ b/test/increase/resources/bookkeeping_entries_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::BookkeepingEntriesTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.bookkeeping_entries.retrieve("bookkeeping_entry_id") + response = @increase.bookkeeping_entries.retrieve("bookkeeping_entry_ctjpajsj3ks2blx10375") assert_pattern do response => Increase::BookkeepingEntry diff --git a/test/increase/resources/bookkeeping_entry_sets_test.rb b/test/increase/resources/bookkeeping_entry_sets_test.rb index d2465063b..dc1ae3f2f 100644 --- a/test/increase/resources/bookkeeping_entry_sets_test.rb +++ b/test/increase/resources/bookkeeping_entry_sets_test.rb @@ -30,7 +30,7 @@ def test_create_required_params end def test_retrieve - response = @increase.bookkeeping_entry_sets.retrieve("bookkeeping_entry_set_id") + response = @increase.bookkeeping_entry_sets.retrieve("bookkeeping_entry_set_n80c6wr2p8gtc6p4ingf") assert_pattern do response => Increase::BookkeepingEntrySet diff --git a/test/increase/resources/card_details_test.rb b/test/increase/resources/card_details_test.rb index 1e01d8a9e..571e4004d 100644 --- a/test/increase/resources/card_details_test.rb +++ b/test/increase/resources/card_details_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::CardDetailsTest < Increase::Test::ResourceTest def test_update_required_params - response = @increase.card_details.update("card_id", pin: "1234") + response = @increase.card_details.update("card_oubs0hwk5rn6knuecxg2", pin: "1234") assert_pattern do response => Increase::CardDetailsAPI @@ -24,7 +24,7 @@ def test_update_required_params end def test_create_details_iframe - response = @increase.card_details.create_details_iframe("card_id") + response = @increase.card_details.create_details_iframe("card_oubs0hwk5rn6knuecxg2") assert_pattern do response => Increase::CardIframeURL @@ -40,7 +40,7 @@ def test_create_details_iframe end def test_details - response = @increase.card_details.details("card_id") + response = @increase.card_details.details("card_oubs0hwk5rn6knuecxg2") assert_pattern do response => Increase::CardDetailsAPI diff --git a/test/increase/resources/card_payments_test.rb b/test/increase/resources/card_payments_test.rb index ca1e84123..e2400b696 100644 --- a/test/increase/resources/card_payments_test.rb +++ b/test/increase/resources/card_payments_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::CardPaymentsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.card_payments.retrieve("card_payment_id") + response = @increase.card_payments.retrieve("card_payment_nd3k2kacrqjli8482ave") assert_pattern do response => Increase::CardPayment diff --git a/test/increase/resources/card_purchase_supplements_test.rb b/test/increase/resources/card_purchase_supplements_test.rb index dfc08ee07..0d15d79b5 100644 --- a/test/increase/resources/card_purchase_supplements_test.rb +++ b/test/increase/resources/card_purchase_supplements_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::CardPurchaseSupplementsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.card_purchase_supplements.retrieve("card_purchase_supplement_id") + response = @increase.card_purchase_supplements.retrieve("card_purchase_supplement_ijuc45iym4jchnh2sfk3") assert_pattern do response => Increase::CardPurchaseSupplement diff --git a/test/increase/resources/card_push_transfers_test.rb b/test/increase/resources/card_push_transfers_test.rb index 0607718dd..2857de4ca 100644 --- a/test/increase/resources/card_push_transfers_test.rb +++ b/test/increase/resources/card_push_transfers_test.rb @@ -63,7 +63,7 @@ def test_create_required_params end def test_retrieve - response = @increase.card_push_transfers.retrieve("card_push_transfer_id") + response = @increase.card_push_transfers.retrieve("outbound_card_push_transfer_e0z9rdpamraczh4tvwye") assert_pattern do response => Increase::CardPushTransfer @@ -152,7 +152,7 @@ def test_list end def test_approve - response = @increase.card_push_transfers.approve("card_push_transfer_id") + response = @increase.card_push_transfers.approve("outbound_card_push_transfer_e0z9rdpamraczh4tvwye") assert_pattern do response => Increase::CardPushTransfer @@ -193,7 +193,7 @@ def test_approve end def test_cancel - response = @increase.card_push_transfers.cancel("card_push_transfer_id") + response = @increase.card_push_transfers.cancel("outbound_card_push_transfer_e0z9rdpamraczh4tvwye") assert_pattern do response => Increase::CardPushTransfer diff --git a/test/increase/resources/card_tokens_test.rb b/test/increase/resources/card_tokens_test.rb index 79f887c0b..77addbc29 100644 --- a/test/increase/resources/card_tokens_test.rb +++ b/test/increase/resources/card_tokens_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::CardTokensTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.card_tokens.retrieve("card_token_id") + response = @increase.card_tokens.retrieve("outbound_card_token_zlt0ml6youq3q7vcdlg0") assert_pattern do response => Increase::CardToken @@ -51,7 +51,7 @@ def test_list end def test_capabilities - response = @increase.card_tokens.capabilities("card_token_id") + response = @increase.card_tokens.capabilities("outbound_card_token_zlt0ml6youq3q7vcdlg0") assert_pattern do response => Increase::CardTokenCapabilities diff --git a/test/increase/resources/card_validations_test.rb b/test/increase/resources/card_validations_test.rb index ce524af3f..58fb3d147 100644 --- a/test/increase/resources/card_validations_test.rb +++ b/test/increase/resources/card_validations_test.rb @@ -47,7 +47,7 @@ def test_create_required_params end def test_retrieve - response = @increase.card_validations.retrieve("card_validation_id") + response = @increase.card_validations.retrieve("outbound_card_validation_qqlzagpc6v1x2gcdhe24") assert_pattern do response => Increase::CardValidation diff --git a/test/increase/resources/cards_test.rb b/test/increase/resources/cards_test.rb index 6c14c7bbd..ea2d7414c 100644 --- a/test/increase/resources/cards_test.rb +++ b/test/increase/resources/cards_test.rb @@ -30,7 +30,7 @@ def test_create_required_params end def test_retrieve - response = @increase.cards.retrieve("card_id") + response = @increase.cards.retrieve("card_oubs0hwk5rn6knuecxg2") assert_pattern do response => Increase::Card @@ -56,7 +56,7 @@ def test_retrieve end def test_update - response = @increase.cards.update("card_id") + response = @increase.cards.update("card_oubs0hwk5rn6knuecxg2") assert_pattern do response => Increase::Card diff --git a/test/increase/resources/check_deposits_test.rb b/test/increase/resources/check_deposits_test.rb index b6d4104cc..76fe835ab 100644 --- a/test/increase/resources/check_deposits_test.rb +++ b/test/increase/resources/check_deposits_test.rb @@ -41,7 +41,7 @@ def test_create_required_params end def test_retrieve - response = @increase.check_deposits.retrieve("check_deposit_id") + response = @increase.check_deposits.retrieve("check_deposit_f06n9gpg7sxn8t19lfc1") assert_pattern do response => Increase::CheckDeposit diff --git a/test/increase/resources/check_transfers_test.rb b/test/increase/resources/check_transfers_test.rb index 38d50ba6b..dd8e9e4aa 100644 --- a/test/increase/resources/check_transfers_test.rb +++ b/test/increase/resources/check_transfers_test.rb @@ -47,7 +47,7 @@ def test_create_required_params end def test_retrieve - response = @increase.check_transfers.retrieve("check_transfer_id") + response = @increase.check_transfers.retrieve("check_transfer_30b43acfu9vw8fyc4f5") assert_pattern do response => Increase::CheckTransfer @@ -128,7 +128,7 @@ def test_list end def test_approve - response = @increase.check_transfers.approve("check_transfer_id") + response = @increase.check_transfers.approve("check_transfer_30b43acfu9vw8fyc4f5") assert_pattern do response => Increase::CheckTransfer @@ -165,7 +165,7 @@ def test_approve end def test_cancel - response = @increase.check_transfers.cancel("check_transfer_id") + response = @increase.check_transfers.cancel("check_transfer_30b43acfu9vw8fyc4f5") assert_pattern do response => Increase::CheckTransfer @@ -202,7 +202,7 @@ def test_cancel end def test_stop_payment - response = @increase.check_transfers.stop_payment("check_transfer_id") + response = @increase.check_transfers.stop_payment("check_transfer_30b43acfu9vw8fyc4f5") assert_pattern do response => Increase::CheckTransfer diff --git a/test/increase/resources/declined_transactions_test.rb b/test/increase/resources/declined_transactions_test.rb index 39b436f62..9301acd9d 100644 --- a/test/increase/resources/declined_transactions_test.rb +++ b/test/increase/resources/declined_transactions_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::DeclinedTransactionsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.declined_transactions.retrieve("declined_transaction_id") + response = @increase.declined_transactions.retrieve("declined_transaction_17jbn0yyhvkt4v4ooym8") assert_pattern do response => Increase::DeclinedTransaction diff --git a/test/increase/resources/digital_card_profiles_test.rb b/test/increase/resources/digital_card_profiles_test.rb index cf82c162d..00220d327 100644 --- a/test/increase/resources/digital_card_profiles_test.rb +++ b/test/increase/resources/digital_card_profiles_test.rb @@ -38,7 +38,7 @@ def test_create_required_params end def test_retrieve - response = @increase.digital_card_profiles.retrieve("digital_card_profile_id") + response = @increase.digital_card_profiles.retrieve("digital_card_profile_s3puplu90f04xhcwkiga") assert_pattern do response => Increase::DigitalCardProfile @@ -99,7 +99,7 @@ def test_list end def test_archive - response = @increase.digital_card_profiles.archive("digital_card_profile_id") + response = @increase.digital_card_profiles.archive("digital_card_profile_s3puplu90f04xhcwkiga") assert_pattern do response => Increase::DigitalCardProfile @@ -126,7 +126,7 @@ def test_archive end def test_clone_ - response = @increase.digital_card_profiles.clone_("digital_card_profile_id") + response = @increase.digital_card_profiles.clone_("digital_card_profile_s3puplu90f04xhcwkiga") assert_pattern do response => Increase::DigitalCardProfile diff --git a/test/increase/resources/digital_wallet_tokens_test.rb b/test/increase/resources/digital_wallet_tokens_test.rb index 609b8e4d6..51ab3eb37 100644 --- a/test/increase/resources/digital_wallet_tokens_test.rb +++ b/test/increase/resources/digital_wallet_tokens_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::DigitalWalletTokensTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.digital_wallet_tokens.retrieve("digital_wallet_token_id") + response = @increase.digital_wallet_tokens.retrieve("digital_wallet_token_izi62go3h51p369jrie0") assert_pattern do response => Increase::DigitalWalletToken diff --git a/test/increase/resources/documents_test.rb b/test/increase/resources/documents_test.rb index f3b2aa6ad..95cfc33e5 100644 --- a/test/increase/resources/documents_test.rb +++ b/test/increase/resources/documents_test.rb @@ -26,7 +26,7 @@ def test_create_required_params end def test_retrieve - response = @increase.documents.retrieve("document_id") + response = @increase.documents.retrieve("document_qjtqc6s4c14ve2q89izm") assert_pattern do response => Increase::Document diff --git a/test/increase/resources/entities_test.rb b/test/increase/resources/entities_test.rb index dc7e628ae..ed5b343ed 100644 --- a/test/increase/resources/entities_test.rb +++ b/test/increase/resources/entities_test.rb @@ -33,7 +33,7 @@ def test_create_required_params end def test_retrieve - response = @increase.entities.retrieve("entity_id") + response = @increase.entities.retrieve("entity_n8y8tnk2p9339ti393yi") assert_pattern do response => Increase::Entity @@ -62,7 +62,7 @@ def test_retrieve end def test_update - response = @increase.entities.update("entity_id") + response = @increase.entities.update("entity_n8y8tnk2p9339ti393yi") assert_pattern do response => Increase::Entity @@ -127,7 +127,7 @@ def test_list end def test_archive - response = @increase.entities.archive("entity_id") + response = @increase.entities.archive("entity_n8y8tnk2p9339ti393yi") assert_pattern do response => Increase::Entity @@ -158,7 +158,7 @@ def test_archive def test_archive_beneficial_owner_required_params response = @increase.entities.archive_beneficial_owner( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", beneficial_owner_id: "entity_setup_beneficial_owner_submission_vgkyk7dj5eb4sfhdbkx7" ) @@ -189,7 +189,7 @@ def test_archive_beneficial_owner_required_params end def test_confirm - response = @increase.entities.confirm("entity_id") + response = @increase.entities.confirm("entity_n8y8tnk2p9339ti393yi") assert_pattern do response => Increase::Entity @@ -220,7 +220,7 @@ def test_confirm def test_create_beneficial_owner_required_params response = @increase.entities.create_beneficial_owner( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", beneficial_owner: { individual: { address: {city: "New York", country: "US", line1: "33 Liberty Street"}, @@ -261,7 +261,7 @@ def test_create_beneficial_owner_required_params def test_update_address_required_params response = @increase.entities.update_address( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", address: {city: "New York", line1: "33 Liberty Street", state: "NY", zip: "10045"} ) @@ -294,7 +294,7 @@ def test_update_address_required_params def test_update_beneficial_owner_address_required_params response = @increase.entities.update_beneficial_owner_address( - "entity_id", + "entity_n8y8tnk2p9339ti393yi", address: {city: "New York", country: "US", line1: "33 Liberty Street"}, beneficial_owner_id: "entity_setup_beneficial_owner_submission_vgkyk7dj5eb4sfhdbkx7" ) @@ -326,7 +326,7 @@ def test_update_beneficial_owner_address_required_params end def test_update_industry_code_required_params - response = @increase.entities.update_industry_code("entity_id", industry_code: "5132") + response = @increase.entities.update_industry_code("entity_n8y8tnk2p9339ti393yi", industry_code: "5132") assert_pattern do response => Increase::Entity diff --git a/test/increase/resources/event_subscriptions_test.rb b/test/increase/resources/event_subscriptions_test.rb index ae68beaa1..b8d071448 100644 --- a/test/increase/resources/event_subscriptions_test.rb +++ b/test/increase/resources/event_subscriptions_test.rb @@ -25,7 +25,7 @@ def test_create_required_params end def test_retrieve - response = @increase.event_subscriptions.retrieve("event_subscription_id") + response = @increase.event_subscriptions.retrieve("event_subscription_001dzz0r20rcdxgb013zqb8m04g") assert_pattern do response => Increase::EventSubscription @@ -46,7 +46,7 @@ def test_retrieve end def test_update - response = @increase.event_subscriptions.update("event_subscription_id") + response = @increase.event_subscriptions.update("event_subscription_001dzz0r20rcdxgb013zqb8m04g") assert_pattern do response => Increase::EventSubscription diff --git a/test/increase/resources/events_test.rb b/test/increase/resources/events_test.rb index 93094cb4c..091addb5a 100644 --- a/test/increase/resources/events_test.rb +++ b/test/increase/resources/events_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::EventsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.events.retrieve("event_id") + response = @increase.events.retrieve("event_001dzz0r20rzr4zrhrr1364hy80") assert_pattern do response => Increase::Event diff --git a/test/increase/resources/exports_test.rb b/test/increase/resources/exports_test.rb index b8c192631..59017af46 100644 --- a/test/increase/resources/exports_test.rb +++ b/test/increase/resources/exports_test.rb @@ -25,7 +25,7 @@ def test_create_required_params end def test_retrieve - response = @increase.exports.retrieve("export_id") + response = @increase.exports.retrieve("export_8s4m48qz3bclzje0zwh9") assert_pattern do response => Increase::Export diff --git a/test/increase/resources/external_accounts_test.rb b/test/increase/resources/external_accounts_test.rb index d1b8db494..627cfa7db 100644 --- a/test/increase/resources/external_accounts_test.rb +++ b/test/increase/resources/external_accounts_test.rb @@ -32,7 +32,7 @@ def test_create_required_params end def test_retrieve - response = @increase.external_accounts.retrieve("external_account_id") + response = @increase.external_accounts.retrieve("external_account_ukk55lr923a3ac0pp7iv") assert_pattern do response => Increase::ExternalAccount @@ -55,7 +55,7 @@ def test_retrieve end def test_update - response = @increase.external_accounts.update("external_account_id") + response = @increase.external_accounts.update("external_account_ukk55lr923a3ac0pp7iv") assert_pattern do response => Increase::ExternalAccount diff --git a/test/increase/resources/files_test.rb b/test/increase/resources/files_test.rb index f067270de..46dd95a86 100644 --- a/test/increase/resources/files_test.rb +++ b/test/increase/resources/files_test.rb @@ -26,7 +26,7 @@ def test_create_required_params end def test_retrieve - response = @increase.files.retrieve("file_id") + response = @increase.files.retrieve("file_makxrc67oh9l6sg7w9yc") assert_pattern do response => Increase::File diff --git a/test/increase/resources/inbound_ach_transfers_test.rb b/test/increase/resources/inbound_ach_transfers_test.rb index 9497cbaef..188eae7a9 100644 --- a/test/increase/resources/inbound_ach_transfers_test.rb +++ b/test/increase/resources/inbound_ach_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::InboundACHTransfersTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.inbound_ach_transfers.retrieve("inbound_ach_transfer_id") + response = @increase.inbound_ach_transfers.retrieve("inbound_ach_transfer_tdrwqr3fq9gnnq49odev") assert_pattern do response => Increase::InboundACHTransfer @@ -91,7 +91,8 @@ def test_list end def test_create_notification_of_change - response = @increase.inbound_ach_transfers.create_notification_of_change("inbound_ach_transfer_id") + response = + @increase.inbound_ach_transfers.create_notification_of_change("inbound_ach_transfer_tdrwqr3fq9gnnq49odev") assert_pattern do response => Increase::InboundACHTransfer @@ -131,7 +132,7 @@ def test_create_notification_of_change end def test_decline - response = @increase.inbound_ach_transfers.decline("inbound_ach_transfer_id") + response = @increase.inbound_ach_transfers.decline("inbound_ach_transfer_tdrwqr3fq9gnnq49odev") assert_pattern do response => Increase::InboundACHTransfer @@ -172,7 +173,10 @@ def test_decline def test_transfer_return_required_params response = - @increase.inbound_ach_transfers.transfer_return("inbound_ach_transfer_id", reason: :payment_stopped) + @increase.inbound_ach_transfers.transfer_return( + "inbound_ach_transfer_tdrwqr3fq9gnnq49odev", + reason: :payment_stopped + ) assert_pattern do response => Increase::InboundACHTransfer diff --git a/test/increase/resources/inbound_check_deposits_test.rb b/test/increase/resources/inbound_check_deposits_test.rb index 53226d30e..236442e35 100644 --- a/test/increase/resources/inbound_check_deposits_test.rb +++ b/test/increase/resources/inbound_check_deposits_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::InboundCheckDepositsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.inbound_check_deposits.retrieve("inbound_check_deposit_id") + response = @increase.inbound_check_deposits.retrieve("inbound_check_deposit_zoshvqybq0cjjm31mra") assert_pattern do response => Increase::InboundCheckDeposit @@ -77,7 +77,7 @@ def test_list end def test_decline - response = @increase.inbound_check_deposits.decline("inbound_check_deposit_id") + response = @increase.inbound_check_deposits.decline("inbound_check_deposit_zoshvqybq0cjjm31mra") assert_pattern do response => Increase::InboundCheckDeposit @@ -111,7 +111,10 @@ def test_decline def test_return__required_params response = - @increase.inbound_check_deposits.return_("inbound_check_deposit_id", reason: :altered_or_fictitious) + @increase.inbound_check_deposits.return_( + "inbound_check_deposit_zoshvqybq0cjjm31mra", + reason: :altered_or_fictitious + ) assert_pattern do response => Increase::InboundCheckDeposit diff --git a/test/increase/resources/inbound_mail_items_test.rb b/test/increase/resources/inbound_mail_items_test.rb index 2008574c2..336ce0a49 100644 --- a/test/increase/resources/inbound_mail_items_test.rb +++ b/test/increase/resources/inbound_mail_items_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::InboundMailItemsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.inbound_mail_items.retrieve("inbound_mail_item_id") + response = @increase.inbound_mail_items.retrieve("inbound_mail_item_q6rrg7mmqpplx80zceev") assert_pattern do response => Increase::InboundMailItem diff --git a/test/increase/resources/inbound_real_time_payments_transfers_test.rb b/test/increase/resources/inbound_real_time_payments_transfers_test.rb index 9912163cc..95ce9ff68 100755 --- a/test/increase/resources/inbound_real_time_payments_transfers_test.rb +++ b/test/increase/resources/inbound_real_time_payments_transfers_test.rb @@ -5,7 +5,9 @@ class Increase::Test::Resources::InboundRealTimePaymentsTransfersTest < Increase::Test::ResourceTest def test_retrieve response = - @increase.inbound_real_time_payments_transfers.retrieve("inbound_real_time_payments_transfer_id") + @increase.inbound_real_time_payments_transfers.retrieve( + "inbound_real_time_payments_transfer_63hlz498vcxg644hcrzr" + ) assert_pattern do response => Increase::InboundRealTimePaymentsTransfer diff --git a/test/increase/resources/inbound_wire_drawdown_requests_test.rb b/test/increase/resources/inbound_wire_drawdown_requests_test.rb index 83e9b0569..882e7b6d1 100644 --- a/test/increase/resources/inbound_wire_drawdown_requests_test.rb +++ b/test/increase/resources/inbound_wire_drawdown_requests_test.rb @@ -4,7 +4,8 @@ class Increase::Test::Resources::InboundWireDrawdownRequestsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.inbound_wire_drawdown_requests.retrieve("inbound_wire_drawdown_request_id") + response = + @increase.inbound_wire_drawdown_requests.retrieve("inbound_wire_drawdown_request_u5a92ikqhz1ytphn799e") assert_pattern do response => Increase::InboundWireDrawdownRequest diff --git a/test/increase/resources/inbound_wire_transfers_test.rb b/test/increase/resources/inbound_wire_transfers_test.rb index 3f6f8db76..832a149cf 100644 --- a/test/increase/resources/inbound_wire_transfers_test.rb +++ b/test/increase/resources/inbound_wire_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::InboundWireTransfersTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.inbound_wire_transfers.retrieve("inbound_wire_transfer_id") + response = @increase.inbound_wire_transfers.retrieve("inbound_wire_transfer_f228m6bmhtcxjco9pwp0") assert_pattern do response => Increase::InboundWireTransfer @@ -86,7 +86,10 @@ def test_list def test_reverse_required_params response = - @increase.inbound_wire_transfers.reverse("inbound_wire_transfer_id", reason: :creditor_request) + @increase.inbound_wire_transfers.reverse( + "inbound_wire_transfer_f228m6bmhtcxjco9pwp0", + reason: :creditor_request + ) assert_pattern do response => Increase::InboundWireTransfer diff --git a/test/increase/resources/intrafi_account_enrollments_test.rb b/test/increase/resources/intrafi_account_enrollments_test.rb index dcb1b6771..0b807ba15 100644 --- a/test/increase/resources/intrafi_account_enrollments_test.rb +++ b/test/increase/resources/intrafi_account_enrollments_test.rb @@ -29,7 +29,8 @@ def test_create_required_params end def test_retrieve - response = @increase.intrafi_account_enrollments.retrieve("intrafi_account_enrollment_id") + response = + @increase.intrafi_account_enrollments.retrieve("intrafi_account_enrollment_w8l97znzreopkwf2tg75") assert_pattern do response => Increase::IntrafiAccountEnrollment @@ -78,7 +79,8 @@ def test_list end def test_unenroll - response = @increase.intrafi_account_enrollments.unenroll("intrafi_account_enrollment_id") + response = + @increase.intrafi_account_enrollments.unenroll("intrafi_account_enrollment_w8l97znzreopkwf2tg75") assert_pattern do response => Increase::IntrafiAccountEnrollment diff --git a/test/increase/resources/intrafi_balances_test.rb b/test/increase/resources/intrafi_balances_test.rb index bf6c14d07..9cd1b5b40 100644 --- a/test/increase/resources/intrafi_balances_test.rb +++ b/test/increase/resources/intrafi_balances_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::IntrafiBalancesTest < Increase::Test::ResourceTest def test_intrafi_balance - response = @increase.intrafi_balances.intrafi_balance("account_id") + response = @increase.intrafi_balances.intrafi_balance("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::IntrafiBalance diff --git a/test/increase/resources/intrafi_exclusions_test.rb b/test/increase/resources/intrafi_exclusions_test.rb index 2988b69cd..399770137 100644 --- a/test/increase/resources/intrafi_exclusions_test.rb +++ b/test/increase/resources/intrafi_exclusions_test.rb @@ -28,7 +28,7 @@ def test_create_required_params end def test_retrieve - response = @increase.intrafi_exclusions.retrieve("intrafi_exclusion_id") + response = @increase.intrafi_exclusions.retrieve("account_in71c4amph0vgo2qllky") assert_pattern do response => Increase::IntrafiExclusion @@ -81,7 +81,7 @@ def test_list end def test_archive - response = @increase.intrafi_exclusions.archive("intrafi_exclusion_id") + response = @increase.intrafi_exclusions.archive("intrafi_exclusion_ygfqduuzpau3jqof6jyh") assert_pattern do response => Increase::IntrafiExclusion diff --git a/test/increase/resources/lockboxes_test.rb b/test/increase/resources/lockboxes_test.rb index f387fdd3f..c25af9863 100644 --- a/test/increase/resources/lockboxes_test.rb +++ b/test/increase/resources/lockboxes_test.rb @@ -26,7 +26,7 @@ def test_create_required_params end def test_retrieve - response = @increase.lockboxes.retrieve("lockbox_id") + response = @increase.lockboxes.retrieve("lockbox_3xt21ok13q19advds4t5") assert_pattern do response => Increase::Lockbox @@ -48,7 +48,7 @@ def test_retrieve end def test_update - response = @increase.lockboxes.update("lockbox_id") + response = @increase.lockboxes.update("lockbox_3xt21ok13q19advds4t5") assert_pattern do response => Increase::Lockbox diff --git a/test/increase/resources/oauth_applications_test.rb b/test/increase/resources/oauth_applications_test.rb index 34ab2eee2..dfa54f73c 100644 --- a/test/increase/resources/oauth_applications_test.rb +++ b/test/increase/resources/oauth_applications_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::OAuthApplicationsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.oauth_applications.retrieve("oauth_application_id") + response = @increase.oauth_applications.retrieve("application_gj9ufmpgh5i56k4vyriy") assert_pattern do response => Increase::OAuthApplication diff --git a/test/increase/resources/oauth_connections_test.rb b/test/increase/resources/oauth_connections_test.rb index afa8dc60a..e6d8d50d2 100644 --- a/test/increase/resources/oauth_connections_test.rb +++ b/test/increase/resources/oauth_connections_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::OAuthConnectionsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.oauth_connections.retrieve("x") + response = @increase.oauth_connections.retrieve("connection_dauknoksyr4wilz4e6my") assert_pattern do response => Increase::OAuthConnection diff --git a/test/increase/resources/pending_transactions_test.rb b/test/increase/resources/pending_transactions_test.rb index 7b6bc6f41..33d413a2d 100644 --- a/test/increase/resources/pending_transactions_test.rb +++ b/test/increase/resources/pending_transactions_test.rb @@ -31,7 +31,7 @@ def test_create_required_params end def test_retrieve - response = @increase.pending_transactions.retrieve("pending_transaction_id") + response = @increase.pending_transactions.retrieve("pending_transaction_k1sfetcau2qbvjbzgju4") assert_pattern do response => Increase::PendingTransaction @@ -90,7 +90,7 @@ def test_list end def test_release - response = @increase.pending_transactions.release("pending_transaction_id") + response = @increase.pending_transactions.release("pending_transaction_k1sfetcau2qbvjbzgju4") assert_pattern do response => Increase::PendingTransaction diff --git a/test/increase/resources/physical_card_profiles_test.rb b/test/increase/resources/physical_card_profiles_test.rb index e7d8f4836..caac180e6 100644 --- a/test/increase/resources/physical_card_profiles_test.rb +++ b/test/increase/resources/physical_card_profiles_test.rb @@ -37,7 +37,7 @@ def test_create_required_params end def test_retrieve - response = @increase.physical_card_profiles.retrieve("physical_card_profile_id") + response = @increase.physical_card_profiles.retrieve("physical_card_profile_m534d5rn9qyy9ufqxoec") assert_pattern do response => Increase::PhysicalCardProfile @@ -96,7 +96,7 @@ def test_list end def test_archive - response = @increase.physical_card_profiles.archive("physical_card_profile_id") + response = @increase.physical_card_profiles.archive("physical_card_profile_m534d5rn9qyy9ufqxoec") assert_pattern do response => Increase::PhysicalCardProfile @@ -122,7 +122,7 @@ def test_archive end def test_clone_ - response = @increase.physical_card_profiles.clone_("physical_card_profile_id") + response = @increase.physical_card_profiles.clone_("physical_card_profile_m534d5rn9qyy9ufqxoec") assert_pattern do response => Increase::PhysicalCardProfile diff --git a/test/increase/resources/physical_cards_test.rb b/test/increase/resources/physical_cards_test.rb index 7edd6bfd8..32fb7ab09 100644 --- a/test/increase/resources/physical_cards_test.rb +++ b/test/increase/resources/physical_cards_test.rb @@ -40,7 +40,7 @@ def test_create_required_params end def test_retrieve - response = @increase.physical_cards.retrieve("physical_card_id") + response = @increase.physical_cards.retrieve("physical_card_ode8duyq5v2ynhjoharl") assert_pattern do response => Increase::PhysicalCard @@ -62,7 +62,7 @@ def test_retrieve end def test_update_required_params - response = @increase.physical_cards.update("physical_card_id", status: :disabled) + response = @increase.physical_cards.update("physical_card_ode8duyq5v2ynhjoharl", status: :disabled) assert_pattern do response => Increase::PhysicalCard diff --git a/test/increase/resources/programs_test.rb b/test/increase/resources/programs_test.rb index 86ac78e7a..44a6043b9 100644 --- a/test/increase/resources/programs_test.rb +++ b/test/increase/resources/programs_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::ProgramsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.programs.retrieve("program_id") + response = @increase.programs.retrieve("program_i2v2os4mwza1oetokh9i") assert_pattern do response => Increase::Program diff --git a/test/increase/resources/real_time_decisions_test.rb b/test/increase/resources/real_time_decisions_test.rb index a56fdf934..48f2a755b 100644 --- a/test/increase/resources/real_time_decisions_test.rb +++ b/test/increase/resources/real_time_decisions_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::RealTimeDecisionsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.real_time_decisions.retrieve("real_time_decision_id") + response = @increase.real_time_decisions.retrieve("real_time_decision_j76n2e810ezcg3zh5qtn") assert_pattern do response => Increase::RealTimeDecision @@ -28,7 +28,7 @@ def test_retrieve end def test_action - response = @increase.real_time_decisions.action("real_time_decision_id") + response = @increase.real_time_decisions.action("real_time_decision_j76n2e810ezcg3zh5qtn") assert_pattern do response => Increase::RealTimeDecision diff --git a/test/increase/resources/real_time_payments_transfers_test.rb b/test/increase/resources/real_time_payments_transfers_test.rb index fc1e91aa0..70bf08b41 100644 --- a/test/increase/resources/real_time_payments_transfers_test.rb +++ b/test/increase/resources/real_time_payments_transfers_test.rb @@ -48,7 +48,8 @@ def test_create_required_params end def test_retrieve - response = @increase.real_time_payments_transfers.retrieve("real_time_payments_transfer_id") + response = + @increase.real_time_payments_transfers.retrieve("real_time_payments_transfer_iyuhl5kdn7ssmup83mvq") assert_pattern do response => Increase::RealTimePaymentsTransfer @@ -131,7 +132,8 @@ def test_list end def test_approve - response = @increase.real_time_payments_transfers.approve("real_time_payments_transfer_id") + response = + @increase.real_time_payments_transfers.approve("real_time_payments_transfer_iyuhl5kdn7ssmup83mvq") assert_pattern do response => Increase::RealTimePaymentsTransfer @@ -169,7 +171,8 @@ def test_approve end def test_cancel - response = @increase.real_time_payments_transfers.cancel("real_time_payments_transfer_id") + response = + @increase.real_time_payments_transfers.cancel("real_time_payments_transfer_iyuhl5kdn7ssmup83mvq") assert_pattern do response => Increase::RealTimePaymentsTransfer diff --git a/test/increase/resources/simulations/account_transfers_test.rb b/test/increase/resources/simulations/account_transfers_test.rb index fe14a73a7..6ebbd7fca 100644 --- a/test/increase/resources/simulations/account_transfers_test.rb +++ b/test/increase/resources/simulations/account_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::Simulations::AccountTransfersTest < Increase::Test::ResourceTest def test_complete - response = @increase.simulations.account_transfers.complete("account_transfer_id") + response = @increase.simulations.account_transfers.complete("account_transfer_7k9qe1ysdgqztnt63l7n") assert_pattern do response => Increase::AccountTransfer diff --git a/test/increase/resources/simulations/ach_transfers_test.rb b/test/increase/resources/simulations/ach_transfers_test.rb index ae09809d5..071e7fdd2 100644 --- a/test/increase/resources/simulations/ach_transfers_test.rb +++ b/test/increase/resources/simulations/ach_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::Simulations::ACHTransfersTest < Increase::Test::ResourceTest def test_acknowledge - response = @increase.simulations.ach_transfers.acknowledge("ach_transfer_id") + response = @increase.simulations.ach_transfers.acknowledge("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer @@ -55,7 +55,7 @@ def test_acknowledge def test_create_notification_of_change_required_params response = @increase.simulations.ach_transfers.create_notification_of_change( - "ach_transfer_id", + "ach_transfer_uoxatyh3lt5evrsdvo7q", change_code: :incorrect_routing_number, corrected_data: "123456789" ) @@ -107,7 +107,7 @@ def test_create_notification_of_change_required_params end def test_return_ - response = @increase.simulations.ach_transfers.return_("ach_transfer_id") + response = @increase.simulations.ach_transfers.return_("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer @@ -156,7 +156,7 @@ def test_return_ end def test_settle - response = @increase.simulations.ach_transfers.settle("ach_transfer_id") + response = @increase.simulations.ach_transfers.settle("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer @@ -205,7 +205,7 @@ def test_settle end def test_submit - response = @increase.simulations.ach_transfers.submit("ach_transfer_id") + response = @increase.simulations.ach_transfers.submit("ach_transfer_uoxatyh3lt5evrsdvo7q") assert_pattern do response => Increase::ACHTransfer diff --git a/test/increase/resources/simulations/check_deposits_test.rb b/test/increase/resources/simulations/check_deposits_test.rb index 1d7037563..b03214f40 100644 --- a/test/increase/resources/simulations/check_deposits_test.rb +++ b/test/increase/resources/simulations/check_deposits_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::Simulations::CheckDepositsTest < Increase::Test::ResourceTest def test_reject - response = @increase.simulations.check_deposits.reject("check_deposit_id") + response = @increase.simulations.check_deposits.reject("check_deposit_f06n9gpg7sxn8t19lfc1") assert_pattern do response => Increase::CheckDeposit @@ -35,7 +35,7 @@ def test_reject end def test_return_ - response = @increase.simulations.check_deposits.return_("check_deposit_id") + response = @increase.simulations.check_deposits.return_("check_deposit_f06n9gpg7sxn8t19lfc1") assert_pattern do response => Increase::CheckDeposit @@ -66,7 +66,7 @@ def test_return_ end def test_submit - response = @increase.simulations.check_deposits.submit("check_deposit_id") + response = @increase.simulations.check_deposits.submit("check_deposit_f06n9gpg7sxn8t19lfc1") assert_pattern do response => Increase::CheckDeposit diff --git a/test/increase/resources/simulations/check_transfers_test.rb b/test/increase/resources/simulations/check_transfers_test.rb index e157f8f12..a060317db 100644 --- a/test/increase/resources/simulations/check_transfers_test.rb +++ b/test/increase/resources/simulations/check_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::Simulations::CheckTransfersTest < Increase::Test::ResourceTest def test_mail - response = @increase.simulations.check_transfers.mail("check_transfer_id") + response = @increase.simulations.check_transfers.mail("check_transfer_30b43acfu9vw8fyc4f5") assert_pattern do response => Increase::CheckTransfer diff --git a/test/increase/resources/simulations/pending_transactions_test.rb b/test/increase/resources/simulations/pending_transactions_test.rb index dddb489ba..434ff0544 100644 --- a/test/increase/resources/simulations/pending_transactions_test.rb +++ b/test/increase/resources/simulations/pending_transactions_test.rb @@ -5,7 +5,9 @@ class Increase::Test::Resources::Simulations::PendingTransactionsTest < Increase::Test::ResourceTest def test_release_inbound_funds_hold response = - @increase.simulations.pending_transactions.release_inbound_funds_hold("pending_transaction_id") + @increase.simulations.pending_transactions.release_inbound_funds_hold( + "pending_transaction_k1sfetcau2qbvjbzgju4" + ) assert_pattern do response => Increase::PendingTransaction diff --git a/test/increase/resources/simulations/physical_cards_test.rb b/test/increase/resources/simulations/physical_cards_test.rb index 3d780042a..5279e852a 100644 --- a/test/increase/resources/simulations/physical_cards_test.rb +++ b/test/increase/resources/simulations/physical_cards_test.rb @@ -4,7 +4,8 @@ class Increase::Test::Resources::Simulations::PhysicalCardsTest < Increase::Test::ResourceTest def test_create_required_params - response = @increase.simulations.physical_cards.create("physical_card_id", category: :delivered) + response = + @increase.simulations.physical_cards.create("physical_card_ode8duyq5v2ynhjoharl", category: :delivered) assert_pattern do response => Increase::PhysicalCard @@ -27,7 +28,10 @@ def test_create_required_params def test_advance_shipment_required_params response = - @increase.simulations.physical_cards.advance_shipment("physical_card_id", shipment_status: :shipped) + @increase.simulations.physical_cards.advance_shipment( + "physical_card_ode8duyq5v2ynhjoharl", + shipment_status: :shipped + ) assert_pattern do response => Increase::PhysicalCard diff --git a/test/increase/resources/simulations/real_time_payments_transfers_test.rb b/test/increase/resources/simulations/real_time_payments_transfers_test.rb index 7cb01ce64..df8a50e83 100644 --- a/test/increase/resources/simulations/real_time_payments_transfers_test.rb +++ b/test/increase/resources/simulations/real_time_payments_transfers_test.rb @@ -4,7 +4,10 @@ class Increase::Test::Resources::Simulations::RealTimePaymentsTransfersTest < Increase::Test::ResourceTest def test_complete - response = @increase.simulations.real_time_payments_transfers.complete("real_time_payments_transfer_id") + response = + @increase.simulations.real_time_payments_transfers.complete( + "real_time_payments_transfer_iyuhl5kdn7ssmup83mvq" + ) assert_pattern do response => Increase::RealTimePaymentsTransfer diff --git a/test/increase/resources/simulations/wire_drawdown_requests_test.rb b/test/increase/resources/simulations/wire_drawdown_requests_test.rb index 9e5ab1f87..eb06b4ad3 100644 --- a/test/increase/resources/simulations/wire_drawdown_requests_test.rb +++ b/test/increase/resources/simulations/wire_drawdown_requests_test.rb @@ -4,7 +4,8 @@ class Increase::Test::Resources::Simulations::WireDrawdownRequestsTest < Increase::Test::ResourceTest def test_refuse - response = @increase.simulations.wire_drawdown_requests.refuse("wire_drawdown_request_id") + response = + @increase.simulations.wire_drawdown_requests.refuse("wire_drawdown_request_q6lmocus3glo0lr2bfv3") assert_pattern do response => Increase::WireDrawdownRequest @@ -35,7 +36,8 @@ def test_refuse end def test_submit - response = @increase.simulations.wire_drawdown_requests.submit("wire_drawdown_request_id") + response = + @increase.simulations.wire_drawdown_requests.submit("wire_drawdown_request_q6lmocus3glo0lr2bfv3") assert_pattern do response => Increase::WireDrawdownRequest diff --git a/test/increase/resources/simulations/wire_transfers_test.rb b/test/increase/resources/simulations/wire_transfers_test.rb index 170c3b7e8..475a9dcbb 100644 --- a/test/increase/resources/simulations/wire_transfers_test.rb +++ b/test/increase/resources/simulations/wire_transfers_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::Simulations::WireTransfersTest < Increase::Test::ResourceTest def test_reverse - response = @increase.simulations.wire_transfers.reverse("wire_transfer_id") + response = @increase.simulations.wire_transfers.reverse("wire_transfer_5akynk7dqsq25qwk9q2u") assert_pattern do response => Increase::WireTransfer @@ -48,7 +48,7 @@ def test_reverse end def test_submit - response = @increase.simulations.wire_transfers.submit("wire_transfer_id") + response = @increase.simulations.wire_transfers.submit("wire_transfer_5akynk7dqsq25qwk9q2u") assert_pattern do response => Increase::WireTransfer diff --git a/test/increase/resources/transactions_test.rb b/test/increase/resources/transactions_test.rb index 182205bb6..99a464832 100644 --- a/test/increase/resources/transactions_test.rb +++ b/test/increase/resources/transactions_test.rb @@ -4,7 +4,7 @@ class Increase::Test::Resources::TransactionsTest < Increase::Test::ResourceTest def test_retrieve - response = @increase.transactions.retrieve("transaction_id") + response = @increase.transactions.retrieve("transaction_uyrp7fld2ium70oa7oi") assert_pattern do response => Increase::Transaction diff --git a/test/increase/resources/wire_drawdown_requests_test.rb b/test/increase/resources/wire_drawdown_requests_test.rb index c5cc15880..13748f039 100644 --- a/test/increase/resources/wire_drawdown_requests_test.rb +++ b/test/increase/resources/wire_drawdown_requests_test.rb @@ -44,7 +44,7 @@ def test_create_required_params end def test_retrieve - response = @increase.wire_drawdown_requests.retrieve("wire_drawdown_request_id") + response = @increase.wire_drawdown_requests.retrieve("wire_drawdown_request_q6lmocus3glo0lr2bfv3") assert_pattern do response => Increase::WireDrawdownRequest diff --git a/test/increase/resources/wire_transfers_test.rb b/test/increase/resources/wire_transfers_test.rb index e5d906815..b45205b28 100644 --- a/test/increase/resources/wire_transfers_test.rb +++ b/test/increase/resources/wire_transfers_test.rb @@ -53,7 +53,7 @@ def test_create_required_params end def test_retrieve - response = @increase.wire_transfers.retrieve("wire_transfer_id") + response = @increase.wire_transfers.retrieve("wire_transfer_5akynk7dqsq25qwk9q2u") assert_pattern do response => Increase::WireTransfer @@ -148,7 +148,7 @@ def test_list end def test_approve - response = @increase.wire_transfers.approve("wire_transfer_id") + response = @increase.wire_transfers.approve("wire_transfer_5akynk7dqsq25qwk9q2u") assert_pattern do response => Increase::WireTransfer @@ -192,7 +192,7 @@ def test_approve end def test_cancel - response = @increase.wire_transfers.cancel("wire_transfer_id") + response = @increase.wire_transfers.cancel("wire_transfer_5akynk7dqsq25qwk9q2u") assert_pattern do response => Increase::WireTransfer From 7d76f12be729b9562229b247cbceccbd6cad419e 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:33 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/card_payment.rb | 41 ++++++++++++++- lib/increase/models/transaction.rb | 41 ++++++++++++++- rbi/increase/models/card_payment.rbi | 76 ++++++++++++++++++++++++++++ rbi/increase/models/transaction.rbi | 76 ++++++++++++++++++++++++++++ sig/increase/models/card_payment.rbs | 20 ++++++++ sig/increase/models/transaction.rbs | 20 ++++++++ 7 files changed, 274 insertions(+), 4 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/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index e0afe474c..357958de1 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -5617,6 +5617,14 @@ class CardSettlement < Increase::Internal::Type::BaseModel -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails }, nil?: true + # @!attribute surcharge + # 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). + # + # @return [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil] + required :surcharge, -> { Increase::CardPayment::Element::CardSettlement::Surcharge }, nil?: true + # @!attribute transaction_id # The identifier of the Transaction associated with this Transaction. # @@ -5630,7 +5638,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type] required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type } - # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) + # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, surcharge:, transaction_id:, type:) # Some parameter documentations has been truncated, see # {Increase::Models::CardPayment::Element::CardSettlement} for more details. # @@ -5680,6 +5688,8 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param purchase_details [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # + # @param surcharge [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amounts positive if the surcharge i + # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # # @param type [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` @@ -6861,6 +6871,35 @@ module StopOverCode end end + # @see Increase::Models::CardPayment::Element::CardSettlement#surcharge + class Surcharge < Increase::Internal::Type::BaseModel + # @!attribute amount + # The surcharge amount in the minor unit of the transaction's settlement currency. + # + # @return [Integer] + required :amount, Integer + + # @!attribute presentment_amount + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + # + # @return [Integer] + required :presentment_amount, Integer + + # @!method initialize(amount:, presentment_amount:) + # Some parameter documentations has been truncated, see + # {Increase::Models::CardPayment::Element::CardSettlement::Surcharge} for more + # details. + # + # 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). + # + # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency. + # + # @param presentment_amount [Integer] The surcharge amount in the minor unit of the transaction's presentment currency + end + # A constant representing the object's type. For this resource it will always be # `card_settlement`. # diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index 346e46369..1438775be 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -2863,6 +2863,14 @@ class CardSettlement < Increase::Internal::Type::BaseModel -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails }, nil?: true + # @!attribute surcharge + # 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). + # + # @return [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil] + required :surcharge, -> { Increase::Transaction::Source::CardSettlement::Surcharge }, nil?: true + # @!attribute transaction_id # The identifier of the Transaction associated with this Transaction. # @@ -2876,7 +2884,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type] required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type } - # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) + # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, surcharge:, transaction_id:, type:) # Some parameter documentations has been truncated, see # {Increase::Models::Transaction::Source::CardSettlement} for more details. # @@ -2926,6 +2934,8 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param purchase_details [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # + # @param surcharge [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amounts positive if the surcharge i + # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # # @param type [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` @@ -4107,6 +4117,35 @@ module StopOverCode end end + # @see Increase::Models::Transaction::Source::CardSettlement#surcharge + class Surcharge < Increase::Internal::Type::BaseModel + # @!attribute amount + # The surcharge amount in the minor unit of the transaction's settlement currency. + # + # @return [Integer] + required :amount, Integer + + # @!attribute presentment_amount + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + # + # @return [Integer] + required :presentment_amount, Integer + + # @!method initialize(amount:, presentment_amount:) + # Some parameter documentations has been truncated, see + # {Increase::Models::Transaction::Source::CardSettlement::Surcharge} for more + # details. + # + # 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). + # + # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency. + # + # @param presentment_amount [Integer] The surcharge amount in the minor unit of the transaction's presentment currency + end + # A constant representing the object's type. For this resource it will always be # `card_settlement`. # diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index e12e052b2..78838a9c7 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -10347,6 +10347,28 @@ module Increase end attr_writer :purchase_details + # 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). + sig do + returns( + T.nilable( + Increase::CardPayment::Element::CardSettlement::Surcharge + ) + ) + end + attr_reader :surcharge + + sig do + params( + surcharge: + T.nilable( + Increase::CardPayment::Element::CardSettlement::Surcharge::OrHash + ) + ).void + end + attr_writer :surcharge + # The identifier of the Transaction associated with this Transaction. sig { returns(String) } attr_accessor :transaction_id @@ -10399,6 +10421,10 @@ module Increase T.nilable( Increase::CardPayment::Element::CardSettlement::PurchaseDetails::OrHash ), + surcharge: + T.nilable( + Increase::CardPayment::Element::CardSettlement::Surcharge::OrHash + ), transaction_id: String, type: Increase::CardPayment::Element::CardSettlement::Type::OrSymbol @@ -10452,6 +10478,10 @@ module Increase # Additional details about the card purchase, such as tax and industry-specific # fields. purchase_details:, + # 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). + surcharge:, # The identifier of the Transaction associated with this Transaction. transaction_id:, # A constant representing the object's type. For this resource it will always be @@ -10495,6 +10525,10 @@ module Increase T.nilable( Increase::CardPayment::Element::CardSettlement::PurchaseDetails ), + surcharge: + T.nilable( + Increase::CardPayment::Element::CardSettlement::Surcharge + ), transaction_id: String, type: Increase::CardPayment::Element::CardSettlement::Type::TaggedSymbol @@ -12645,6 +12679,48 @@ module Increase end end + class Surcharge < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::CardSettlement::Surcharge, + Increase::Internal::AnyHash + ) + end + + # The surcharge amount in the minor unit of the transaction's settlement currency. + sig { returns(Integer) } + attr_accessor :amount + + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + sig { returns(Integer) } + attr_accessor :presentment_amount + + # 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). + sig do + params(amount: Integer, presentment_amount: Integer).returns( + T.attached_class + ) + end + def self.new( + # The surcharge amount in the minor unit of the transaction's settlement currency. + amount:, + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + presentment_amount: + ) + end + + sig do + override.returns({ amount: Integer, presentment_amount: Integer }) + end + def to_hash + end + end + # A constant representing the object's type. For this resource it will always be # `card_settlement`. module Type diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index b709e1fbf..4bc4f7de8 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -5350,6 +5350,28 @@ module Increase end attr_writer :purchase_details + # 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). + sig do + returns( + T.nilable( + Increase::Transaction::Source::CardSettlement::Surcharge + ) + ) + end + attr_reader :surcharge + + sig do + params( + surcharge: + T.nilable( + Increase::Transaction::Source::CardSettlement::Surcharge::OrHash + ) + ).void + end + attr_writer :surcharge + # The identifier of the Transaction associated with this Transaction. sig { returns(String) } attr_accessor :transaction_id @@ -5402,6 +5424,10 @@ module Increase T.nilable( Increase::Transaction::Source::CardSettlement::PurchaseDetails::OrHash ), + surcharge: + T.nilable( + Increase::Transaction::Source::CardSettlement::Surcharge::OrHash + ), transaction_id: String, type: Increase::Transaction::Source::CardSettlement::Type::OrSymbol @@ -5455,6 +5481,10 @@ module Increase # Additional details about the card purchase, such as tax and industry-specific # fields. purchase_details:, + # 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). + surcharge:, # The identifier of the Transaction associated with this Transaction. transaction_id:, # A constant representing the object's type. For this resource it will always be @@ -5498,6 +5528,10 @@ module Increase T.nilable( Increase::Transaction::Source::CardSettlement::PurchaseDetails ), + surcharge: + T.nilable( + Increase::Transaction::Source::CardSettlement::Surcharge + ), transaction_id: String, type: Increase::Transaction::Source::CardSettlement::Type::TaggedSymbol @@ -7648,6 +7682,48 @@ module Increase end end + class Surcharge < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Transaction::Source::CardSettlement::Surcharge, + Increase::Internal::AnyHash + ) + end + + # The surcharge amount in the minor unit of the transaction's settlement currency. + sig { returns(Integer) } + attr_accessor :amount + + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + sig { returns(Integer) } + attr_accessor :presentment_amount + + # 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). + sig do + params(amount: Integer, presentment_amount: Integer).returns( + T.attached_class + ) + end + def self.new( + # The surcharge amount in the minor unit of the transaction's settlement currency. + amount:, + # The surcharge amount in the minor unit of the transaction's presentment + # currency. + presentment_amount: + ) + end + + sig do + override.returns({ amount: Integer, presentment_amount: Integer }) + end + def to_hash + end + end + # A constant representing the object's type. For this resource it will always be # `card_settlement`. module Type diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index 352c7172d..9bad1de08 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -3900,6 +3900,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, + surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::CardPayment::Element::CardSettlement::type_ } @@ -3945,6 +3946,8 @@ module Increase attr_accessor purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails? + attr_accessor surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge? + attr_accessor transaction_id: String attr_accessor type: Increase::Models::CardPayment::Element::CardSettlement::type_ @@ -3970,6 +3973,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, + surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::CardPayment::Element::CardSettlement::type_ ) -> void @@ -3995,6 +3999,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, + surcharge: Increase::CardPayment::Element::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::CardPayment::Element::CardSettlement::type_ } @@ -4919,6 +4924,21 @@ module Increase end end + type surcharge = { amount: Integer, presentment_amount: Integer } + + class Surcharge < Increase::Internal::Type::BaseModel + attr_accessor amount: Integer + + attr_accessor presentment_amount: Integer + + def initialize: ( + amount: Integer, + presentment_amount: Integer + ) -> void + + def to_hash: -> { amount: Integer, presentment_amount: Integer } + end + type type_ = :card_settlement module Type diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index 202d5c42f..7e9ae040a 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -2023,6 +2023,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, + surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::Transaction::Source::CardSettlement::type_ } @@ -2068,6 +2069,8 @@ module Increase attr_accessor purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails? + attr_accessor surcharge: Increase::Transaction::Source::CardSettlement::Surcharge? + attr_accessor transaction_id: String attr_accessor type: Increase::Models::Transaction::Source::CardSettlement::type_ @@ -2093,6 +2096,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, + surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::Transaction::Source::CardSettlement::type_ ) -> void @@ -2118,6 +2122,7 @@ module Increase presentment_amount: Integer, presentment_currency: String, purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, + surcharge: Increase::Transaction::Source::CardSettlement::Surcharge?, transaction_id: String, type: Increase::Models::Transaction::Source::CardSettlement::type_ } @@ -3042,6 +3047,21 @@ module Increase end end + type surcharge = { amount: Integer, presentment_amount: Integer } + + class Surcharge < Increase::Internal::Type::BaseModel + attr_accessor amount: Integer + + attr_accessor presentment_amount: Integer + + def initialize: ( + amount: Integer, + presentment_amount: Integer + ) -> void + + def to_hash: -> { amount: Integer, presentment_amount: Integer } + end + type type_ = :card_settlement module Type From def7990b37ab3f6aa68844605df45268f49779d9 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:54 +0000 Subject: [PATCH 3/3] release: 1.85.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 67871342a..c3ef6db43 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.84.0" + ".": "1.85.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index aab79fff4..799bb6df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 1.85.0 (2025-09-22) + +Full Changelog: [v1.84.0...v1.85.0](https://github.com/Increase/increase-ruby/compare/v1.84.0...v1.85.0) + +### Features + +* **api:** api update ([7d76f12](https://github.com/Increase/increase-ruby/commit/7d76f12be729b9562229b247cbceccbd6cad419e)) + + +### Chores + +* improve example values ([e4208d1](https://github.com/Increase/increase-ruby/commit/e4208d1e474193ca1020be6e9cb292cdbb3c0958)) + ## 1.84.0 (2025-09-19) Full Changelog: [v1.83.0...v1.84.0](https://github.com/Increase/increase-ruby/compare/v1.83.0...v1.84.0) diff --git a/Gemfile.lock b/Gemfile.lock index a7b2dee61..916112cb1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.84.0) + increase (1.85.0) connection_pool GEM diff --git a/README.md b/README.md index b16e40bcd..01eb99894 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.84.0" +gem "increase", "~> 1.85.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 78dc9359c..367c2536b 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.84.0" + VERSION = "1.85.0" end