From f83786006c083bfc0a72c3982746194d73edb0b2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Nov 2025 17:59:05 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 2 +- README.md | 68 +-- lib/increase.rb | 50 ++ lib/increase/internal/page.rb | 24 +- lib/increase/models/account_list_response.rb | 27 + .../models/account_number_list_response.rb | 27 + .../models/account_statement_list_response.rb | 27 + .../models/account_transfer_list_response.rb | 27 + .../ach_prenotification_list_response.rb | 27 + .../models/ach_transfer_list_response.rb | 27 + .../bookkeeping_account_list_response.rb | 27 + .../models/bookkeeping_entry_list_response.rb | 27 + .../bookkeeping_entry_set_list_response.rb | 27 + .../models/card_dispute_list_response.rb | 27 + lib/increase/models/card_list_response.rb | 27 + .../models/card_payment_list_response.rb | 27 + .../card_purchase_supplement_list_response.rb | 27 + .../card_push_transfer_list_response.rb | 27 + .../models/card_token_list_response.rb | 27 + .../models/card_validation_list_response.rb | 27 + .../models/check_deposit_list_response.rb | 27 + .../models/check_transfer_list_response.rb | 27 + .../declined_transaction_list_response.rb | 27 + .../digital_card_profile_list_response.rb | 27 + .../digital_wallet_token_list_response.rb | 27 + lib/increase/models/document_list_response.rb | 27 + lib/increase/models/entity_list_response.rb | 27 + lib/increase/models/event_list_response.rb | 27 + .../event_subscription_list_response.rb | 27 + lib/increase/models/export_list_response.rb | 27 + .../models/external_account_list_response.rb | 27 + .../models/fednow_transfer_list_response.rb | 27 + lib/increase/models/file_list_response.rb | 27 + .../inbound_ach_transfer_list_response.rb | 27 + .../inbound_check_deposit_list_response.rb | 27 + .../inbound_fednow_transfer_list_response.rb | 27 + .../models/inbound_mail_item_list_response.rb | 27 + ...al_time_payments_transfer_list_response.rb | 27 + ...und_wire_drawdown_request_list_response.rb | 27 + .../inbound_wire_transfer_list_response.rb | 27 + ...ntrafi_account_enrollment_list_response.rb | 27 + .../models/intrafi_exclusion_list_response.rb | 27 + lib/increase/models/lockbox_list_response.rb | 27 + .../models/oauth_application_list_response.rb | 27 + .../models/oauth_connection_list_response.rb | 27 + .../pending_transaction_list_response.rb | 27 + .../models/physical_card_list_response.rb | 27 + .../physical_card_profile_list_response.rb | 27 + lib/increase/models/program_list_response.rb | 27 + ...al_time_payments_transfer_list_response.rb | 27 + .../models/routing_number_list_response.rb | 301 ++++++----- .../supplemental_document_list_response.rb | 27 + .../models/transaction_list_response.rb | 27 + .../wire_drawdown_request_list_response.rb | 27 + .../models/wire_transfer_list_response.rb | 27 + lib/increase/resources/account_numbers.rb | 5 +- lib/increase/resources/account_statements.rb | 5 +- lib/increase/resources/account_transfers.rb | 5 +- lib/increase/resources/accounts.rb | 5 +- .../resources/ach_prenotifications.rb | 5 +- lib/increase/resources/ach_transfers.rb | 5 +- .../resources/bookkeeping_accounts.rb | 5 +- lib/increase/resources/bookkeeping_entries.rb | 5 +- .../resources/bookkeeping_entry_sets.rb | 5 +- lib/increase/resources/card_disputes.rb | 5 +- lib/increase/resources/card_payments.rb | 5 +- .../resources/card_purchase_supplements.rb | 5 +- lib/increase/resources/card_push_transfers.rb | 5 +- lib/increase/resources/card_tokens.rb | 5 +- lib/increase/resources/card_validations.rb | 5 +- lib/increase/resources/cards.rb | 5 +- lib/increase/resources/check_deposits.rb | 5 +- lib/increase/resources/check_transfers.rb | 5 +- .../resources/declined_transactions.rb | 5 +- .../resources/digital_card_profiles.rb | 5 +- .../resources/digital_wallet_tokens.rb | 5 +- lib/increase/resources/documents.rb | 5 +- lib/increase/resources/entities.rb | 5 +- lib/increase/resources/event_subscriptions.rb | 5 +- lib/increase/resources/events.rb | 5 +- lib/increase/resources/exports.rb | 5 +- lib/increase/resources/external_accounts.rb | 5 +- lib/increase/resources/fednow_transfers.rb | 5 +- lib/increase/resources/files.rb | 5 +- .../resources/inbound_ach_transfers.rb | 5 +- .../resources/inbound_check_deposits.rb | 5 +- .../resources/inbound_fednow_transfers.rb | 5 +- lib/increase/resources/inbound_mail_items.rb | 5 +- .../inbound_real_time_payments_transfers.rb | 5 +- .../inbound_wire_drawdown_requests.rb | 5 +- .../resources/inbound_wire_transfers.rb | 5 +- .../resources/intrafi_account_enrollments.rb | 5 +- lib/increase/resources/intrafi_exclusions.rb | 5 +- lib/increase/resources/lockboxes.rb | 5 +- lib/increase/resources/oauth_applications.rb | 5 +- lib/increase/resources/oauth_connections.rb | 5 +- .../resources/pending_transactions.rb | 5 +- .../resources/physical_card_profiles.rb | 5 +- lib/increase/resources/physical_cards.rb | 5 +- lib/increase/resources/programs.rb | 5 +- .../resources/real_time_payments_transfers.rb | 5 +- lib/increase/resources/routing_numbers.rb | 3 +- .../resources/supplemental_documents.rb | 5 +- lib/increase/resources/transactions.rb | 5 +- .../resources/wire_drawdown_requests.rb | 5 +- lib/increase/resources/wire_transfers.rb | 5 +- rbi/increase/internal/page.rbi | 4 +- rbi/increase/models/account_list_response.rbi | 46 ++ .../models/account_number_list_response.rbi | 49 ++ .../account_statement_list_response.rbi | 49 ++ .../models/account_transfer_list_response.rbi | 49 ++ .../ach_prenotification_list_response.rbi | 49 ++ .../models/ach_transfer_list_response.rbi | 49 ++ .../bookkeeping_account_list_response.rbi | 49 ++ .../bookkeeping_entry_list_response.rbi | 49 ++ .../bookkeeping_entry_set_list_response.rbi | 49 ++ .../models/card_dispute_list_response.rbi | 49 ++ rbi/increase/models/card_list_response.rbi | 43 ++ .../models/card_payment_list_response.rbi | 49 ++ ...card_purchase_supplement_list_response.rbi | 49 ++ .../card_push_transfer_list_response.rbi | 49 ++ .../models/card_token_list_response.rbi | 49 ++ .../models/card_validation_list_response.rbi | 49 ++ .../models/check_deposit_list_response.rbi | 49 ++ .../models/check_transfer_list_response.rbi | 49 ++ .../declined_transaction_list_response.rbi | 49 ++ .../digital_card_profile_list_response.rbi | 49 ++ .../digital_wallet_token_list_response.rbi | 49 ++ .../models/document_list_response.rbi | 46 ++ rbi/increase/models/entity_list_response.rbi | 46 ++ rbi/increase/models/event_list_response.rbi | 46 ++ .../event_subscription_list_response.rbi | 49 ++ rbi/increase/models/export_list_response.rbi | 46 ++ .../models/external_account_list_response.rbi | 49 ++ .../models/fednow_transfer_list_response.rbi | 49 ++ rbi/increase/models/file_list_response.rbi | 43 ++ .../inbound_ach_transfer_list_response.rbi | 49 ++ .../inbound_check_deposit_list_response.rbi | 49 ++ .../inbound_fednow_transfer_list_response.rbi | 49 ++ .../inbound_mail_item_list_response.rbi | 49 ++ ...l_time_payments_transfer_list_response.rbi | 49 ++ ...nd_wire_drawdown_request_list_response.rbi | 49 ++ .../inbound_wire_transfer_list_response.rbi | 49 ++ ...trafi_account_enrollment_list_response.rbi | 49 ++ .../intrafi_exclusion_list_response.rbi | 49 ++ rbi/increase/models/lockbox_list_response.rbi | 46 ++ .../oauth_application_list_response.rbi | 49 ++ .../models/oauth_connection_list_response.rbi | 49 ++ .../pending_transaction_list_response.rbi | 49 ++ .../models/physical_card_list_response.rbi | 49 ++ .../physical_card_profile_list_response.rbi | 49 ++ rbi/increase/models/program_list_response.rbi | 46 ++ ...l_time_payments_transfer_list_response.rbi | 49 ++ .../models/routing_number_list_response.rbi | 489 ++++++++++-------- .../supplemental_document_list_response.rbi | 49 ++ .../models/transaction_list_response.rbi | 49 ++ .../wire_drawdown_request_list_response.rbi | 49 ++ .../models/wire_transfer_list_response.rbi | 49 ++ rbi/increase/resources/account_numbers.rbi | 2 +- rbi/increase/resources/account_statements.rbi | 2 +- rbi/increase/resources/account_transfers.rbi | 2 +- rbi/increase/resources/accounts.rbi | 2 +- .../resources/ach_prenotifications.rbi | 2 +- rbi/increase/resources/ach_transfers.rbi | 2 +- .../resources/bookkeeping_accounts.rbi | 2 +- .../resources/bookkeeping_entries.rbi | 2 +- .../resources/bookkeeping_entry_sets.rbi | 2 +- rbi/increase/resources/card_disputes.rbi | 2 +- rbi/increase/resources/card_payments.rbi | 2 +- .../resources/card_purchase_supplements.rbi | 2 +- .../resources/card_push_transfers.rbi | 2 +- rbi/increase/resources/card_tokens.rbi | 2 +- rbi/increase/resources/card_validations.rbi | 2 +- rbi/increase/resources/cards.rbi | 2 +- rbi/increase/resources/check_deposits.rbi | 2 +- rbi/increase/resources/check_transfers.rbi | 2 +- .../resources/declined_transactions.rbi | 2 +- .../resources/digital_card_profiles.rbi | 2 +- .../resources/digital_wallet_tokens.rbi | 2 +- rbi/increase/resources/documents.rbi | 2 +- rbi/increase/resources/entities.rbi | 2 +- .../resources/event_subscriptions.rbi | 2 +- rbi/increase/resources/events.rbi | 2 +- rbi/increase/resources/exports.rbi | 2 +- rbi/increase/resources/external_accounts.rbi | 2 +- rbi/increase/resources/fednow_transfers.rbi | 2 +- rbi/increase/resources/files.rbi | 2 +- .../resources/inbound_ach_transfers.rbi | 2 +- .../resources/inbound_check_deposits.rbi | 2 +- .../resources/inbound_fednow_transfers.rbi | 2 +- rbi/increase/resources/inbound_mail_items.rbi | 2 +- .../inbound_real_time_payments_transfers.rbi | 4 +- .../inbound_wire_drawdown_requests.rbi | 4 +- .../resources/inbound_wire_transfers.rbi | 2 +- .../resources/intrafi_account_enrollments.rbi | 2 +- rbi/increase/resources/intrafi_exclusions.rbi | 2 +- rbi/increase/resources/lockboxes.rbi | 2 +- rbi/increase/resources/oauth_applications.rbi | 2 +- rbi/increase/resources/oauth_connections.rbi | 2 +- .../resources/pending_transactions.rbi | 2 +- .../resources/physical_card_profiles.rbi | 2 +- rbi/increase/resources/physical_cards.rbi | 2 +- rbi/increase/resources/programs.rbi | 2 +- .../real_time_payments_transfers.rbi | 2 +- rbi/increase/resources/routing_numbers.rbi | 4 +- .../resources/supplemental_documents.rbi | 4 +- rbi/increase/resources/transactions.rbi | 2 +- .../resources/wire_drawdown_requests.rbi | 2 +- rbi/increase/resources/wire_transfers.rbi | 2 +- sig/increase/internal/page.rbs | 4 +- sig/increase/models/account_list_response.rbs | 19 + .../models/account_number_list_response.rbs | 22 + .../account_statement_list_response.rbs | 22 + .../models/account_transfer_list_response.rbs | 22 + .../ach_prenotification_list_response.rbs | 22 + .../models/ach_transfer_list_response.rbs | 22 + .../bookkeeping_account_list_response.rbs | 22 + .../bookkeeping_entry_list_response.rbs | 22 + .../bookkeeping_entry_set_list_response.rbs | 22 + .../models/card_dispute_list_response.rbs | 22 + sig/increase/models/card_list_response.rbs | 19 + .../models/card_payment_list_response.rbs | 22 + ...card_purchase_supplement_list_response.rbs | 22 + .../card_push_transfer_list_response.rbs | 22 + .../models/card_token_list_response.rbs | 22 + .../models/card_validation_list_response.rbs | 22 + .../models/check_deposit_list_response.rbs | 22 + .../models/check_transfer_list_response.rbs | 22 + .../declined_transaction_list_response.rbs | 22 + .../digital_card_profile_list_response.rbs | 22 + .../digital_wallet_token_list_response.rbs | 22 + .../models/document_list_response.rbs | 22 + sig/increase/models/entity_list_response.rbs | 19 + sig/increase/models/event_list_response.rbs | 19 + .../event_subscription_list_response.rbs | 22 + sig/increase/models/export_list_response.rbs | 19 + .../models/external_account_list_response.rbs | 22 + .../models/fednow_transfer_list_response.rbs | 22 + sig/increase/models/file_list_response.rbs | 19 + .../inbound_ach_transfer_list_response.rbs | 22 + .../inbound_check_deposit_list_response.rbs | 22 + .../inbound_fednow_transfer_list_response.rbs | 22 + .../inbound_mail_item_list_response.rbs | 22 + ...l_time_payments_transfer_list_response.rbs | 25 + ...nd_wire_drawdown_request_list_response.rbs | 25 + .../inbound_wire_transfer_list_response.rbs | 22 + ...trafi_account_enrollment_list_response.rbs | 25 + .../intrafi_exclusion_list_response.rbs | 22 + sig/increase/models/lockbox_list_response.rbs | 19 + .../oauth_application_list_response.rbs | 22 + .../models/oauth_connection_list_response.rbs | 22 + .../pending_transaction_list_response.rbs | 22 + .../models/physical_card_list_response.rbs | 22 + .../physical_card_profile_list_response.rbs | 22 + sig/increase/models/program_list_response.rbs | 19 + ...l_time_payments_transfer_list_response.rbs | 25 + .../models/routing_number_list_response.rbs | 168 +++--- .../supplemental_document_list_response.rbs | 25 + .../models/transaction_list_response.rbs | 22 + .../wire_drawdown_request_list_response.rbs | 22 + .../models/wire_transfer_list_response.rbs | 22 + sig/increase/resources/account_numbers.rbs | 2 +- sig/increase/resources/account_statements.rbs | 2 +- sig/increase/resources/account_transfers.rbs | 2 +- sig/increase/resources/accounts.rbs | 2 +- .../resources/ach_prenotifications.rbs | 2 +- sig/increase/resources/ach_transfers.rbs | 2 +- .../resources/bookkeeping_accounts.rbs | 2 +- .../resources/bookkeeping_entries.rbs | 2 +- .../resources/bookkeeping_entry_sets.rbs | 2 +- sig/increase/resources/card_disputes.rbs | 2 +- sig/increase/resources/card_payments.rbs | 2 +- .../resources/card_purchase_supplements.rbs | 2 +- .../resources/card_push_transfers.rbs | 2 +- sig/increase/resources/card_tokens.rbs | 2 +- sig/increase/resources/card_validations.rbs | 2 +- sig/increase/resources/cards.rbs | 2 +- sig/increase/resources/check_deposits.rbs | 2 +- sig/increase/resources/check_transfers.rbs | 2 +- .../resources/declined_transactions.rbs | 2 +- .../resources/digital_card_profiles.rbs | 2 +- .../resources/digital_wallet_tokens.rbs | 2 +- sig/increase/resources/documents.rbs | 2 +- sig/increase/resources/entities.rbs | 2 +- .../resources/event_subscriptions.rbs | 2 +- sig/increase/resources/events.rbs | 2 +- sig/increase/resources/exports.rbs | 2 +- sig/increase/resources/external_accounts.rbs | 2 +- sig/increase/resources/fednow_transfers.rbs | 2 +- sig/increase/resources/files.rbs | 2 +- .../resources/inbound_ach_transfers.rbs | 2 +- .../resources/inbound_check_deposits.rbs | 2 +- .../resources/inbound_fednow_transfers.rbs | 2 +- sig/increase/resources/inbound_mail_items.rbs | 2 +- .../inbound_real_time_payments_transfers.rbs | 2 +- .../inbound_wire_drawdown_requests.rbs | 2 +- .../resources/inbound_wire_transfers.rbs | 2 +- .../resources/intrafi_account_enrollments.rbs | 2 +- sig/increase/resources/intrafi_exclusions.rbs | 2 +- sig/increase/resources/lockboxes.rbs | 2 +- sig/increase/resources/oauth_applications.rbs | 2 +- sig/increase/resources/oauth_connections.rbs | 2 +- .../resources/pending_transactions.rbs | 2 +- .../resources/physical_card_profiles.rbs | 2 +- sig/increase/resources/physical_cards.rbs | 2 +- sig/increase/resources/programs.rbs | 2 +- .../real_time_payments_transfers.rbs | 2 +- sig/increase/resources/routing_numbers.rbs | 2 +- .../resources/supplemental_documents.rbs | 2 +- sig/increase/resources/transactions.rbs | 2 +- .../resources/wire_drawdown_requests.rbs | 2 +- sig/increase/resources/wire_transfers.rbs | 2 +- .../resources/account_numbers_test.rb | 24 +- .../resources/account_statements_test.rb | 22 +- .../resources/account_transfers_test.rb | 29 +- test/increase/resources/accounts_test.rb | 29 +- .../resources/ach_prenotifications_test.rb | 33 +- test/increase/resources/ach_transfers_test.rb | 49 +- .../resources/bookkeeping_accounts_test.rb | 20 +- .../resources/bookkeeping_entries_test.rb | 19 +- .../resources/bookkeeping_entry_sets_test.rb | 20 +- test/increase/resources/card_disputes_test.rb | 26 +- test/increase/resources/card_payments_test.rb | 22 +- .../card_purchase_supplements_test.rb | 19 +- .../resources/card_push_transfers_test.rb | 40 +- test/increase/resources/card_tokens_test.rb | 20 +- .../resources/card_validations_test.rb | 34 +- test/increase/resources/cards_test.rb | 26 +- .../increase/resources/check_deposits_test.rb | 31 +- .../resources/check_transfers_test.rb | 38 +- .../resources/declined_transactions_test.rb | 23 +- .../resources/digital_card_profiles_test.rb | 27 +- .../resources/digital_wallet_tokens_test.rb | 22 +- test/increase/resources/documents_test.rb | 22 +- test/increase/resources/entities_test.rb | 29 +- .../resources/event_subscriptions_test.rb | 21 +- test/increase/resources/events_test.rb | 19 +- test/increase/resources/exports_test.rb | 21 +- .../resources/external_accounts_test.rb | 23 +- .../resources/fednow_transfers_test.rb | 35 +- test/increase/resources/files_test.rb | 22 +- .../resources/inbound_ach_transfers_test.rb | 40 +- .../resources/inbound_check_deposits_test.rb | 33 +- .../inbound_fednow_transfers_test.rb | 29 +- .../resources/inbound_mail_items_test.rb | 22 +- ...bound_real_time_payments_transfers_test.rb | 29 +- .../inbound_wire_drawdown_requests_test.rb | 34 +- .../resources/inbound_wire_transfers_test.rb | 37 +- .../intrafi_account_enrollments_test.rb | 21 +- .../resources/intrafi_exclusions_test.rb | 23 +- test/increase/resources/lockboxes_test.rb | 22 +- .../resources/oauth_applications_test.rb | 20 +- .../resources/oauth_connections_test.rb | 20 +- .../resources/pending_transactions_test.rb | 26 +- .../resources/physical_card_profiles_test.rb | 26 +- .../increase/resources/physical_cards_test.rb | 22 +- test/increase/resources/programs_test.rb | 22 +- .../real_time_payments_transfers_test.rb | 38 +- .../resources/routing_numbers_test.rb | 20 +- .../resources/supplemental_documents_test.rb | 18 +- test/increase/resources/transactions_test.rb | 23 +- .../resources/wire_drawdown_requests_test.rb | 31 +- .../increase/resources/wire_transfers_test.rb | 37 +- 363 files changed, 5864 insertions(+), 1927 deletions(-) create mode 100644 lib/increase/models/account_list_response.rb create mode 100644 lib/increase/models/account_number_list_response.rb create mode 100644 lib/increase/models/account_statement_list_response.rb create mode 100644 lib/increase/models/account_transfer_list_response.rb create mode 100644 lib/increase/models/ach_prenotification_list_response.rb create mode 100644 lib/increase/models/ach_transfer_list_response.rb create mode 100644 lib/increase/models/bookkeeping_account_list_response.rb create mode 100644 lib/increase/models/bookkeeping_entry_list_response.rb create mode 100644 lib/increase/models/bookkeeping_entry_set_list_response.rb create mode 100644 lib/increase/models/card_dispute_list_response.rb create mode 100644 lib/increase/models/card_list_response.rb create mode 100644 lib/increase/models/card_payment_list_response.rb create mode 100644 lib/increase/models/card_purchase_supplement_list_response.rb create mode 100644 lib/increase/models/card_push_transfer_list_response.rb create mode 100644 lib/increase/models/card_token_list_response.rb create mode 100644 lib/increase/models/card_validation_list_response.rb create mode 100644 lib/increase/models/check_deposit_list_response.rb create mode 100644 lib/increase/models/check_transfer_list_response.rb create mode 100644 lib/increase/models/declined_transaction_list_response.rb create mode 100644 lib/increase/models/digital_card_profile_list_response.rb create mode 100644 lib/increase/models/digital_wallet_token_list_response.rb create mode 100644 lib/increase/models/document_list_response.rb create mode 100644 lib/increase/models/entity_list_response.rb create mode 100644 lib/increase/models/event_list_response.rb create mode 100644 lib/increase/models/event_subscription_list_response.rb create mode 100644 lib/increase/models/export_list_response.rb create mode 100644 lib/increase/models/external_account_list_response.rb create mode 100644 lib/increase/models/fednow_transfer_list_response.rb create mode 100644 lib/increase/models/file_list_response.rb create mode 100644 lib/increase/models/inbound_ach_transfer_list_response.rb create mode 100644 lib/increase/models/inbound_check_deposit_list_response.rb create mode 100644 lib/increase/models/inbound_fednow_transfer_list_response.rb create mode 100644 lib/increase/models/inbound_mail_item_list_response.rb create mode 100644 lib/increase/models/inbound_real_time_payments_transfer_list_response.rb create mode 100644 lib/increase/models/inbound_wire_drawdown_request_list_response.rb create mode 100644 lib/increase/models/inbound_wire_transfer_list_response.rb create mode 100644 lib/increase/models/intrafi_account_enrollment_list_response.rb create mode 100644 lib/increase/models/intrafi_exclusion_list_response.rb create mode 100644 lib/increase/models/lockbox_list_response.rb create mode 100644 lib/increase/models/oauth_application_list_response.rb create mode 100644 lib/increase/models/oauth_connection_list_response.rb create mode 100644 lib/increase/models/pending_transaction_list_response.rb create mode 100644 lib/increase/models/physical_card_list_response.rb create mode 100644 lib/increase/models/physical_card_profile_list_response.rb create mode 100644 lib/increase/models/program_list_response.rb create mode 100644 lib/increase/models/real_time_payments_transfer_list_response.rb create mode 100644 lib/increase/models/supplemental_document_list_response.rb create mode 100644 lib/increase/models/transaction_list_response.rb create mode 100644 lib/increase/models/wire_drawdown_request_list_response.rb create mode 100644 lib/increase/models/wire_transfer_list_response.rb create mode 100644 rbi/increase/models/account_list_response.rbi create mode 100644 rbi/increase/models/account_number_list_response.rbi create mode 100644 rbi/increase/models/account_statement_list_response.rbi create mode 100644 rbi/increase/models/account_transfer_list_response.rbi create mode 100644 rbi/increase/models/ach_prenotification_list_response.rbi create mode 100644 rbi/increase/models/ach_transfer_list_response.rbi create mode 100644 rbi/increase/models/bookkeeping_account_list_response.rbi create mode 100644 rbi/increase/models/bookkeeping_entry_list_response.rbi create mode 100644 rbi/increase/models/bookkeeping_entry_set_list_response.rbi create mode 100644 rbi/increase/models/card_dispute_list_response.rbi create mode 100644 rbi/increase/models/card_list_response.rbi create mode 100644 rbi/increase/models/card_payment_list_response.rbi create mode 100644 rbi/increase/models/card_purchase_supplement_list_response.rbi create mode 100644 rbi/increase/models/card_push_transfer_list_response.rbi create mode 100644 rbi/increase/models/card_token_list_response.rbi create mode 100644 rbi/increase/models/card_validation_list_response.rbi create mode 100644 rbi/increase/models/check_deposit_list_response.rbi create mode 100644 rbi/increase/models/check_transfer_list_response.rbi create mode 100644 rbi/increase/models/declined_transaction_list_response.rbi create mode 100644 rbi/increase/models/digital_card_profile_list_response.rbi create mode 100644 rbi/increase/models/digital_wallet_token_list_response.rbi create mode 100644 rbi/increase/models/document_list_response.rbi create mode 100644 rbi/increase/models/entity_list_response.rbi create mode 100644 rbi/increase/models/event_list_response.rbi create mode 100644 rbi/increase/models/event_subscription_list_response.rbi create mode 100644 rbi/increase/models/export_list_response.rbi create mode 100644 rbi/increase/models/external_account_list_response.rbi create mode 100644 rbi/increase/models/fednow_transfer_list_response.rbi create mode 100644 rbi/increase/models/file_list_response.rbi create mode 100644 rbi/increase/models/inbound_ach_transfer_list_response.rbi create mode 100644 rbi/increase/models/inbound_check_deposit_list_response.rbi create mode 100644 rbi/increase/models/inbound_fednow_transfer_list_response.rbi create mode 100644 rbi/increase/models/inbound_mail_item_list_response.rbi create mode 100644 rbi/increase/models/inbound_real_time_payments_transfer_list_response.rbi create mode 100644 rbi/increase/models/inbound_wire_drawdown_request_list_response.rbi create mode 100644 rbi/increase/models/inbound_wire_transfer_list_response.rbi create mode 100644 rbi/increase/models/intrafi_account_enrollment_list_response.rbi create mode 100644 rbi/increase/models/intrafi_exclusion_list_response.rbi create mode 100644 rbi/increase/models/lockbox_list_response.rbi create mode 100644 rbi/increase/models/oauth_application_list_response.rbi create mode 100644 rbi/increase/models/oauth_connection_list_response.rbi create mode 100644 rbi/increase/models/pending_transaction_list_response.rbi create mode 100644 rbi/increase/models/physical_card_list_response.rbi create mode 100644 rbi/increase/models/physical_card_profile_list_response.rbi create mode 100644 rbi/increase/models/program_list_response.rbi create mode 100644 rbi/increase/models/real_time_payments_transfer_list_response.rbi create mode 100644 rbi/increase/models/supplemental_document_list_response.rbi create mode 100644 rbi/increase/models/transaction_list_response.rbi create mode 100644 rbi/increase/models/wire_drawdown_request_list_response.rbi create mode 100644 rbi/increase/models/wire_transfer_list_response.rbi create mode 100644 sig/increase/models/account_list_response.rbs create mode 100644 sig/increase/models/account_number_list_response.rbs create mode 100644 sig/increase/models/account_statement_list_response.rbs create mode 100644 sig/increase/models/account_transfer_list_response.rbs create mode 100644 sig/increase/models/ach_prenotification_list_response.rbs create mode 100644 sig/increase/models/ach_transfer_list_response.rbs create mode 100644 sig/increase/models/bookkeeping_account_list_response.rbs create mode 100644 sig/increase/models/bookkeeping_entry_list_response.rbs create mode 100644 sig/increase/models/bookkeeping_entry_set_list_response.rbs create mode 100644 sig/increase/models/card_dispute_list_response.rbs create mode 100644 sig/increase/models/card_list_response.rbs create mode 100644 sig/increase/models/card_payment_list_response.rbs create mode 100644 sig/increase/models/card_purchase_supplement_list_response.rbs create mode 100644 sig/increase/models/card_push_transfer_list_response.rbs create mode 100644 sig/increase/models/card_token_list_response.rbs create mode 100644 sig/increase/models/card_validation_list_response.rbs create mode 100644 sig/increase/models/check_deposit_list_response.rbs create mode 100644 sig/increase/models/check_transfer_list_response.rbs create mode 100644 sig/increase/models/declined_transaction_list_response.rbs create mode 100644 sig/increase/models/digital_card_profile_list_response.rbs create mode 100644 sig/increase/models/digital_wallet_token_list_response.rbs create mode 100644 sig/increase/models/document_list_response.rbs create mode 100644 sig/increase/models/entity_list_response.rbs create mode 100644 sig/increase/models/event_list_response.rbs create mode 100644 sig/increase/models/event_subscription_list_response.rbs create mode 100644 sig/increase/models/export_list_response.rbs create mode 100644 sig/increase/models/external_account_list_response.rbs create mode 100644 sig/increase/models/fednow_transfer_list_response.rbs create mode 100644 sig/increase/models/file_list_response.rbs create mode 100644 sig/increase/models/inbound_ach_transfer_list_response.rbs create mode 100644 sig/increase/models/inbound_check_deposit_list_response.rbs create mode 100644 sig/increase/models/inbound_fednow_transfer_list_response.rbs create mode 100644 sig/increase/models/inbound_mail_item_list_response.rbs create mode 100644 sig/increase/models/inbound_real_time_payments_transfer_list_response.rbs create mode 100644 sig/increase/models/inbound_wire_drawdown_request_list_response.rbs create mode 100644 sig/increase/models/inbound_wire_transfer_list_response.rbs create mode 100644 sig/increase/models/intrafi_account_enrollment_list_response.rbs create mode 100644 sig/increase/models/intrafi_exclusion_list_response.rbs create mode 100644 sig/increase/models/lockbox_list_response.rbs create mode 100644 sig/increase/models/oauth_application_list_response.rbs create mode 100644 sig/increase/models/oauth_connection_list_response.rbs create mode 100644 sig/increase/models/pending_transaction_list_response.rbs create mode 100644 sig/increase/models/physical_card_list_response.rbs create mode 100644 sig/increase/models/physical_card_profile_list_response.rbs create mode 100644 sig/increase/models/program_list_response.rbs create mode 100644 sig/increase/models/real_time_payments_transfer_list_response.rbs create mode 100644 sig/increase/models/supplemental_document_list_response.rbs create mode 100644 sig/increase/models/transaction_list_response.rbs create mode 100644 sig/increase/models/wire_drawdown_request_list_response.rbs create mode 100644 sig/increase/models/wire_transfer_list_response.rbs diff --git a/.stats.yml b/.stats.yml index b52e8c7d7..fa77aa9b3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 229 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-bd464d151612058d8029150b376949b22d5515af23621465c0ce1c1069b91644.yml openapi_spec_hash: e60e1548c523a0ee7c9daa1bd988cbc5 -config_hash: ca1425272e17fa23d4466d33492334fa +config_hash: eecc5886c26d07c167f37f30ae505a2c diff --git a/README.md b/README.md index 0af523290..bbe6f2282 100644 --- a/README.md +++ b/README.md @@ -31,43 +31,11 @@ increase = Increase::Client.new( environment: "sandbox" # defaults to "production" ) -account = increase.accounts.create( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i" -) +account = increase.accounts.create(name: "New Account!") puts(account.id) ``` -### Pagination - -List methods in the Increase API are paginated. - -This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually: - -```ruby -page = increase.accounts.list - -# Fetch single item from page. -account = page.data[0] -puts(account.id) - -# Automatically fetches more pages as needed. -page.auto_paging_each do |account| - puts(account.id) -end -``` - -Alternatively, you can use the `#next_page?` and `#next_page` methods for more granular control working with pages. - -```ruby -if page.next_page? - new_page = page.next_page - puts(new_page.data[0].id) -end -``` - ### File uploads Request parameters that correspond to file uploads can be passed as raw contents, a [`Pathname`](https://rubyapi.org/3.2/o/pathname) instance, [`StringIO`](https://rubyapi.org/3.2/o/stringio), or more. @@ -138,12 +106,7 @@ increase = Increase::Client.new( ) # Or, configure per-request: -increase.accounts.create( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i", - request_options: {max_retries: 5} -) +increase.accounts.create(name: "New Account!", request_options: {max_retries: 5}) ``` ### Timeouts @@ -157,12 +120,7 @@ increase = Increase::Client.new( ) # Or, configure per-request: -increase.accounts.create( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i", - request_options: {timeout: 5} -) +increase.accounts.create(name: "New Account!", request_options: {timeout: 5}) ``` On timeout, `Increase::Errors::APITimeoutError` is raised. @@ -195,8 +153,6 @@ Note: the `extra_` parameters of the same name overrides the documented paramete account = increase.accounts.create( name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i", request_options: { extra_query: {my_query_parameter: value}, extra_body: {my_body_parameter: value}, @@ -242,29 +198,17 @@ This library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitio You can provide typesafe request parameters like so: ```ruby -increase.accounts.create( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i" -) +increase.accounts.create(name: "New Account!") ``` Or, equivalently: ```ruby # Hashes work, but are not typesafe: -increase.accounts.create( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i" -) +increase.accounts.create(name: "New Account!") # You can also splat a full Params class: -params = Increase::AccountCreateParams.new( - name: "New Account!", - entity_id: "entity_n8y8tnk2p9339ti393yi", - program_id: "program_i2v2os4mwza1oetokh9i" -) +params = Increase::AccountCreateParams.new(name: "New Account!") increase.accounts.create(**params) ``` diff --git a/lib/increase.rb b/lib/increase.rb index e8d5b5a49..430f680ee 100644 --- a/lib/increase.rb +++ b/lib/increase.rb @@ -58,45 +58,54 @@ require_relative "increase/models/account_close_params" require_relative "increase/models/account_create_params" require_relative "increase/models/account_list_params" +require_relative "increase/models/account_list_response" require_relative "increase/models/account_number" require_relative "increase/models/account_number_create_params" require_relative "increase/models/account_number_list_params" +require_relative "increase/models/account_number_list_response" require_relative "increase/models/account_number_retrieve_params" require_relative "increase/models/account_number_update_params" require_relative "increase/models/account_retrieve_params" require_relative "increase/models/account_statement" require_relative "increase/models/account_statement_list_params" +require_relative "increase/models/account_statement_list_response" require_relative "increase/models/account_statement_retrieve_params" require_relative "increase/models/account_transfer" require_relative "increase/models/account_transfer_approve_params" require_relative "increase/models/account_transfer_cancel_params" require_relative "increase/models/account_transfer_create_params" require_relative "increase/models/account_transfer_list_params" +require_relative "increase/models/account_transfer_list_response" require_relative "increase/models/account_transfer_retrieve_params" require_relative "increase/models/account_update_params" require_relative "increase/models/ach_prenotification" require_relative "increase/models/ach_prenotification_create_params" require_relative "increase/models/ach_prenotification_list_params" +require_relative "increase/models/ach_prenotification_list_response" require_relative "increase/models/ach_prenotification_retrieve_params" require_relative "increase/models/ach_transfer" require_relative "increase/models/ach_transfer_approve_params" require_relative "increase/models/ach_transfer_cancel_params" require_relative "increase/models/ach_transfer_create_params" require_relative "increase/models/ach_transfer_list_params" +require_relative "increase/models/ach_transfer_list_response" require_relative "increase/models/ach_transfer_retrieve_params" require_relative "increase/models/balance_lookup" require_relative "increase/models/bookkeeping_account" require_relative "increase/models/bookkeeping_account_balance_params" require_relative "increase/models/bookkeeping_account_create_params" require_relative "increase/models/bookkeeping_account_list_params" +require_relative "increase/models/bookkeeping_account_list_response" require_relative "increase/models/bookkeeping_account_update_params" require_relative "increase/models/bookkeeping_balance_lookup" require_relative "increase/models/bookkeeping_entry" require_relative "increase/models/bookkeeping_entry_list_params" +require_relative "increase/models/bookkeeping_entry_list_response" require_relative "increase/models/bookkeeping_entry_retrieve_params" require_relative "increase/models/bookkeeping_entry_set" require_relative "increase/models/bookkeeping_entry_set_create_params" require_relative "increase/models/bookkeeping_entry_set_list_params" +require_relative "increase/models/bookkeeping_entry_set_list_response" require_relative "increase/models/bookkeeping_entry_set_retrieve_params" require_relative "increase/models/card" require_relative "increase/models/card_create_details_iframe_params" @@ -106,61 +115,74 @@ require_relative "increase/models/card_dispute" require_relative "increase/models/card_dispute_create_params" require_relative "increase/models/card_dispute_list_params" +require_relative "increase/models/card_dispute_list_response" require_relative "increase/models/card_dispute_retrieve_params" require_relative "increase/models/card_dispute_submit_user_submission_params" require_relative "increase/models/card_dispute_withdraw_params" require_relative "increase/models/card_iframe_url" require_relative "increase/models/card_list_params" +require_relative "increase/models/card_list_response" require_relative "increase/models/card_payment" require_relative "increase/models/card_payment_list_params" +require_relative "increase/models/card_payment_list_response" require_relative "increase/models/card_payment_retrieve_params" require_relative "increase/models/card_purchase_supplement" require_relative "increase/models/card_purchase_supplement_list_params" +require_relative "increase/models/card_purchase_supplement_list_response" require_relative "increase/models/card_purchase_supplement_retrieve_params" require_relative "increase/models/card_push_transfer" require_relative "increase/models/card_push_transfer_approve_params" require_relative "increase/models/card_push_transfer_cancel_params" require_relative "increase/models/card_push_transfer_create_params" require_relative "increase/models/card_push_transfer_list_params" +require_relative "increase/models/card_push_transfer_list_response" require_relative "increase/models/card_push_transfer_retrieve_params" require_relative "increase/models/card_retrieve_params" require_relative "increase/models/card_token" require_relative "increase/models/card_token_capabilities" require_relative "increase/models/card_token_capabilities_params" require_relative "increase/models/card_token_list_params" +require_relative "increase/models/card_token_list_response" require_relative "increase/models/card_token_retrieve_params" require_relative "increase/models/card_update_params" require_relative "increase/models/card_update_pin_params" require_relative "increase/models/card_validation" require_relative "increase/models/card_validation_create_params" require_relative "increase/models/card_validation_list_params" +require_relative "increase/models/card_validation_list_response" require_relative "increase/models/card_validation_retrieve_params" require_relative "increase/models/check_deposit" require_relative "increase/models/check_deposit_create_params" require_relative "increase/models/check_deposit_list_params" +require_relative "increase/models/check_deposit_list_response" require_relative "increase/models/check_deposit_retrieve_params" require_relative "increase/models/check_transfer" require_relative "increase/models/check_transfer_approve_params" require_relative "increase/models/check_transfer_cancel_params" require_relative "increase/models/check_transfer_create_params" require_relative "increase/models/check_transfer_list_params" +require_relative "increase/models/check_transfer_list_response" require_relative "increase/models/check_transfer_retrieve_params" require_relative "increase/models/check_transfer_stop_payment_params" require_relative "increase/models/declined_transaction" require_relative "increase/models/declined_transaction_list_params" +require_relative "increase/models/declined_transaction_list_response" require_relative "increase/models/declined_transaction_retrieve_params" require_relative "increase/models/digital_card_profile" require_relative "increase/models/digital_card_profile_archive_params" require_relative "increase/models/digital_card_profile_clone_params" require_relative "increase/models/digital_card_profile_create_params" require_relative "increase/models/digital_card_profile_list_params" +require_relative "increase/models/digital_card_profile_list_response" require_relative "increase/models/digital_card_profile_retrieve_params" require_relative "increase/models/digital_wallet_token" require_relative "increase/models/digital_wallet_token_list_params" +require_relative "increase/models/digital_wallet_token_list_response" require_relative "increase/models/digital_wallet_token_retrieve_params" require_relative "increase/models/document" require_relative "increase/models/document_create_params" require_relative "increase/models/document_list_params" +require_relative "increase/models/document_list_response" require_relative "increase/models/document_retrieve_params" require_relative "increase/models/entity" require_relative "increase/models/entity_archive_beneficial_owner_params" @@ -169,6 +191,7 @@ require_relative "increase/models/entity_create_beneficial_owner_params" require_relative "increase/models/entity_create_params" require_relative "increase/models/entity_list_params" +require_relative "increase/models/entity_list_response" require_relative "increase/models/entity_retrieve_params" require_relative "increase/models/entity_supplemental_document" require_relative "increase/models/entity_update_address_params" @@ -177,19 +200,23 @@ require_relative "increase/models/entity_update_params" require_relative "increase/models/event" require_relative "increase/models/event_list_params" +require_relative "increase/models/event_list_response" require_relative "increase/models/event_retrieve_params" require_relative "increase/models/event_subscription" require_relative "increase/models/event_subscription_create_params" require_relative "increase/models/event_subscription_list_params" +require_relative "increase/models/event_subscription_list_response" require_relative "increase/models/event_subscription_retrieve_params" require_relative "increase/models/event_subscription_update_params" require_relative "increase/models/export" require_relative "increase/models/export_create_params" require_relative "increase/models/export_list_params" +require_relative "increase/models/export_list_response" require_relative "increase/models/export_retrieve_params" require_relative "increase/models/external_account" require_relative "increase/models/external_account_create_params" require_relative "increase/models/external_account_list_params" +require_relative "increase/models/external_account_list_response" require_relative "increase/models/external_account_retrieve_params" require_relative "increase/models/external_account_update_params" require_relative "increase/models/fednow_transfer" @@ -197,12 +224,14 @@ require_relative "increase/models/fednow_transfer_cancel_params" require_relative "increase/models/fednow_transfer_create_params" require_relative "increase/models/fednow_transfer_list_params" +require_relative "increase/models/fednow_transfer_list_response" require_relative "increase/models/fednow_transfer_retrieve_params" require_relative "increase/models/file" require_relative "increase/models/file_create_params" require_relative "increase/models/file_link" require_relative "increase/models/file_link_create_params" require_relative "increase/models/file_list_params" +require_relative "increase/models/file_list_response" require_relative "increase/models/file_retrieve_params" require_relative "increase/models/group" require_relative "increase/models/group_retrieve_params" @@ -210,33 +239,41 @@ require_relative "increase/models/inbound_ach_transfer_create_notification_of_change_params" require_relative "increase/models/inbound_ach_transfer_decline_params" require_relative "increase/models/inbound_ach_transfer_list_params" +require_relative "increase/models/inbound_ach_transfer_list_response" require_relative "increase/models/inbound_ach_transfer_retrieve_params" require_relative "increase/models/inbound_ach_transfer_transfer_return_params" require_relative "increase/models/inbound_check_deposit" require_relative "increase/models/inbound_check_deposit_decline_params" require_relative "increase/models/inbound_check_deposit_list_params" +require_relative "increase/models/inbound_check_deposit_list_response" require_relative "increase/models/inbound_check_deposit_retrieve_params" require_relative "increase/models/inbound_check_deposit_return_params" require_relative "increase/models/inbound_fednow_transfer" require_relative "increase/models/inbound_fednow_transfer_list_params" +require_relative "increase/models/inbound_fednow_transfer_list_response" require_relative "increase/models/inbound_fednow_transfer_retrieve_params" require_relative "increase/models/inbound_mail_item" require_relative "increase/models/inbound_mail_item_action_params" require_relative "increase/models/inbound_mail_item_list_params" +require_relative "increase/models/inbound_mail_item_list_response" require_relative "increase/models/inbound_mail_item_retrieve_params" require_relative "increase/models/inbound_real_time_payments_transfer" require_relative "increase/models/inbound_real_time_payments_transfer_list_params" +require_relative "increase/models/inbound_real_time_payments_transfer_list_response" require_relative "increase/models/inbound_real_time_payments_transfer_retrieve_params" require_relative "increase/models/inbound_wire_drawdown_request" require_relative "increase/models/inbound_wire_drawdown_request_list_params" +require_relative "increase/models/inbound_wire_drawdown_request_list_response" require_relative "increase/models/inbound_wire_drawdown_request_retrieve_params" require_relative "increase/models/inbound_wire_transfer" require_relative "increase/models/inbound_wire_transfer_list_params" +require_relative "increase/models/inbound_wire_transfer_list_response" require_relative "increase/models/inbound_wire_transfer_retrieve_params" require_relative "increase/models/inbound_wire_transfer_reverse_params" require_relative "increase/models/intrafi_account_enrollment" require_relative "increase/models/intrafi_account_enrollment_create_params" require_relative "increase/models/intrafi_account_enrollment_list_params" +require_relative "increase/models/intrafi_account_enrollment_list_response" require_relative "increase/models/intrafi_account_enrollment_retrieve_params" require_relative "increase/models/intrafi_account_enrollment_unenroll_params" require_relative "increase/models/intrafi_balance" @@ -245,38 +282,46 @@ require_relative "increase/models/intrafi_exclusion_archive_params" require_relative "increase/models/intrafi_exclusion_create_params" require_relative "increase/models/intrafi_exclusion_list_params" +require_relative "increase/models/intrafi_exclusion_list_response" require_relative "increase/models/intrafi_exclusion_retrieve_params" require_relative "increase/models/lockbox" require_relative "increase/models/lockbox_create_params" require_relative "increase/models/lockbox_list_params" +require_relative "increase/models/lockbox_list_response" require_relative "increase/models/lockbox_retrieve_params" require_relative "increase/models/lockbox_update_params" require_relative "increase/models/oauth_application" require_relative "increase/models/oauth_application_list_params" +require_relative "increase/models/oauth_application_list_response" require_relative "increase/models/oauth_application_retrieve_params" require_relative "increase/models/oauth_connection" require_relative "increase/models/oauth_connection_list_params" +require_relative "increase/models/oauth_connection_list_response" require_relative "increase/models/oauth_connection_retrieve_params" require_relative "increase/models/oauth_token" require_relative "increase/models/oauth_token_create_params" require_relative "increase/models/pending_transaction" require_relative "increase/models/pending_transaction_create_params" require_relative "increase/models/pending_transaction_list_params" +require_relative "increase/models/pending_transaction_list_response" require_relative "increase/models/pending_transaction_release_params" require_relative "increase/models/pending_transaction_retrieve_params" require_relative "increase/models/physical_card" require_relative "increase/models/physical_card_create_params" require_relative "increase/models/physical_card_list_params" +require_relative "increase/models/physical_card_list_response" require_relative "increase/models/physical_card_profile" require_relative "increase/models/physical_card_profile_archive_params" require_relative "increase/models/physical_card_profile_clone_params" require_relative "increase/models/physical_card_profile_create_params" require_relative "increase/models/physical_card_profile_list_params" +require_relative "increase/models/physical_card_profile_list_response" require_relative "increase/models/physical_card_profile_retrieve_params" require_relative "increase/models/physical_card_retrieve_params" require_relative "increase/models/physical_card_update_params" require_relative "increase/models/program" require_relative "increase/models/program_list_params" +require_relative "increase/models/program_list_response" require_relative "increase/models/program_retrieve_params" require_relative "increase/models/real_time_decision" require_relative "increase/models/real_time_decision_action_params" @@ -286,6 +331,7 @@ require_relative "increase/models/real_time_payments_transfer_cancel_params" require_relative "increase/models/real_time_payments_transfer_create_params" require_relative "increase/models/real_time_payments_transfer_list_params" +require_relative "increase/models/real_time_payments_transfer_list_response" require_relative "increase/models/real_time_payments_transfer_retrieve_params" require_relative "increase/models/routing_number_list_params" require_relative "increase/models/routing_number_list_response" @@ -332,18 +378,22 @@ require_relative "increase/models/simulations/wire_transfer_submit_params" require_relative "increase/models/supplemental_document_create_params" require_relative "increase/models/supplemental_document_list_params" +require_relative "increase/models/supplemental_document_list_response" require_relative "increase/models/transaction" require_relative "increase/models/transaction_list_params" +require_relative "increase/models/transaction_list_response" require_relative "increase/models/transaction_retrieve_params" require_relative "increase/models/wire_drawdown_request" require_relative "increase/models/wire_drawdown_request_create_params" require_relative "increase/models/wire_drawdown_request_list_params" +require_relative "increase/models/wire_drawdown_request_list_response" require_relative "increase/models/wire_drawdown_request_retrieve_params" require_relative "increase/models/wire_transfer" require_relative "increase/models/wire_transfer_approve_params" require_relative "increase/models/wire_transfer_cancel_params" require_relative "increase/models/wire_transfer_create_params" require_relative "increase/models/wire_transfer_list_params" +require_relative "increase/models/wire_transfer_list_response" require_relative "increase/models/wire_transfer_retrieve_params" require_relative "increase/models" require_relative "increase/resources/account_numbers" diff --git a/lib/increase/internal/page.rb b/lib/increase/internal/page.rb index aee3a8821..4fe88600b 100644 --- a/lib/increase/internal/page.rb +++ b/lib/increase/internal/page.rb @@ -10,21 +10,21 @@ module Internal # end # # @example - # page.auto_paging_each do |account| - # puts(account) + # page.auto_paging_each do |item| + # puts(item) # end class Page include Increase::Internal::Type::BasePage - # @return [Array>, nil] + # @return [Object] attr_accessor :data - # @return [String, nil] + # @return [Object] attr_accessor :next_cursor # @return [Boolean] def next_page? - !data.to_a.empty? && !next_cursor.to_s.empty? + !empty? && !next_cursor.nil? end # @raise [Increase::HTTP::Error] @@ -35,7 +35,7 @@ def next_page raise RuntimeError.new(message) end - req = Increase::Internal::Util.deep_merge(@req, {query: {cursor: next_cursor}}) + req = Increase::Internal::Util.deep_merge(@req, {query: {":cursor": next_cursor}}) @client.request(req) end @@ -49,7 +49,7 @@ def auto_paging_each(&blk) page = self loop do - page.data&.each(&blk) + page.each(&blk) break unless page.next_page? page = page.next_page @@ -65,12 +65,8 @@ def auto_paging_each(&blk) def initialize(client:, req:, headers:, page_data:) super - case page_data - in {data: Array => data} - @data = data.map { Increase::Internal::Type::Converter.coerce(@model, _1) } - else - end - @next_cursor = page_data[:next_cursor] + @data = page_data[:":data"] + @next_cursor = page_data[:":next_cursor"] end # @api private @@ -79,7 +75,7 @@ def initialize(client:, req:, headers:, page_data:) def inspect model = Increase::Internal::Type::Converter.inspect(@model, depth: 1) - "#<#{self.class}[#{model}]:0x#{object_id.to_s(16)} next_cursor=#{next_cursor.inspect}>" + "#<#{self.class}[#{model}]:0x#{object_id.to_s(16)}>" end end end diff --git a/lib/increase/models/account_list_response.rb b/lib/increase/models/account_list_response.rb new file mode 100644 index 000000000..aa2e51dc9 --- /dev/null +++ b/lib/increase/models/account_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Accounts#list + class AccountListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Account] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Account objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/account_number_list_response.rb b/lib/increase/models/account_number_list_response.rb new file mode 100644 index 000000000..5fa035d9f --- /dev/null +++ b/lib/increase/models/account_number_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::AccountNumbers#list + class AccountNumberListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::AccountNumber] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Account Number objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/account_statement_list_response.rb b/lib/increase/models/account_statement_list_response.rb new file mode 100644 index 000000000..b10280e54 --- /dev/null +++ b/lib/increase/models/account_statement_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::AccountStatements#list + class AccountStatementListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::AccountStatement] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Account Statement objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/account_transfer_list_response.rb b/lib/increase/models/account_transfer_list_response.rb new file mode 100644 index 000000000..953ac59b6 --- /dev/null +++ b/lib/increase/models/account_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::AccountTransfers#list + class AccountTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::AccountTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Account Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/ach_prenotification_list_response.rb b/lib/increase/models/ach_prenotification_list_response.rb new file mode 100644 index 000000000..1ed68525f --- /dev/null +++ b/lib/increase/models/ach_prenotification_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::ACHPrenotifications#list + class ACHPrenotificationListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::ACHPrenotification] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of ACH Prenotification objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/ach_transfer_list_response.rb b/lib/increase/models/ach_transfer_list_response.rb new file mode 100644 index 000000000..e234a909f --- /dev/null +++ b/lib/increase/models/ach_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::ACHTransfers#list + class ACHTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of ACH Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/bookkeeping_account_list_response.rb b/lib/increase/models/bookkeeping_account_list_response.rb new file mode 100644 index 000000000..de83c9cfd --- /dev/null +++ b/lib/increase/models/bookkeeping_account_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::BookkeepingAccounts#list + class BookkeepingAccountListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::BookkeepingAccount] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Bookkeeping Account objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/bookkeeping_entry_list_response.rb b/lib/increase/models/bookkeeping_entry_list_response.rb new file mode 100644 index 000000000..21d2fbfcc --- /dev/null +++ b/lib/increase/models/bookkeeping_entry_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::BookkeepingEntries#list + class BookkeepingEntryListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntry] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Bookkeeping Entry objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/bookkeeping_entry_set_list_response.rb b/lib/increase/models/bookkeeping_entry_set_list_response.rb new file mode 100644 index 000000000..602c1eab7 --- /dev/null +++ b/lib/increase/models/bookkeeping_entry_set_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::BookkeepingEntrySets#list + class BookkeepingEntrySetListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySet] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Bookkeeping Entry Set objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_dispute_list_response.rb b/lib/increase/models/card_dispute_list_response.rb new file mode 100644 index 000000000..ce598399b --- /dev/null +++ b/lib/increase/models/card_dispute_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardDisputes#list + class CardDisputeListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardDispute] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Dispute objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_list_response.rb b/lib/increase/models/card_list_response.rb new file mode 100644 index 000000000..42f77fde2 --- /dev/null +++ b/lib/increase/models/card_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Cards#list + class CardListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Card] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_payment_list_response.rb b/lib/increase/models/card_payment_list_response.rb new file mode 100644 index 000000000..8847a9221 --- /dev/null +++ b/lib/increase/models/card_payment_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardPayments#list + class CardPaymentListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Payment objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_purchase_supplement_list_response.rb b/lib/increase/models/card_purchase_supplement_list_response.rb new file mode 100644 index 000000000..121e09d2c --- /dev/null +++ b/lib/increase/models/card_purchase_supplement_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardPurchaseSupplements#list + class CardPurchaseSupplementListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Purchase Supplement objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_push_transfer_list_response.rb b/lib/increase/models/card_push_transfer_list_response.rb new file mode 100644 index 000000000..62b69c6e8 --- /dev/null +++ b/lib/increase/models/card_push_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardPushTransfers#list + class CardPushTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardPushTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Push Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_token_list_response.rb b/lib/increase/models/card_token_list_response.rb new file mode 100644 index 000000000..9d5bca9cd --- /dev/null +++ b/lib/increase/models/card_token_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardTokens#list + class CardTokenListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardToken] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Token objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/card_validation_list_response.rb b/lib/increase/models/card_validation_list_response.rb new file mode 100644 index 000000000..afe6bd2ea --- /dev/null +++ b/lib/increase/models/card_validation_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CardValidations#list + class CardValidationListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CardValidation] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Card Validation objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/check_deposit_list_response.rb b/lib/increase/models/check_deposit_list_response.rb new file mode 100644 index 000000000..b7099247e --- /dev/null +++ b/lib/increase/models/check_deposit_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CheckDeposits#list + class CheckDepositListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CheckDeposit] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Check Deposit objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/check_transfer_list_response.rb b/lib/increase/models/check_transfer_list_response.rb new file mode 100644 index 000000000..e00da4ce5 --- /dev/null +++ b/lib/increase/models/check_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::CheckTransfers#list + class CheckTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Check Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/declined_transaction_list_response.rb b/lib/increase/models/declined_transaction_list_response.rb new file mode 100644 index 000000000..18f670715 --- /dev/null +++ b/lib/increase/models/declined_transaction_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::DeclinedTransactions#list + class DeclinedTransactionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::DeclinedTransaction] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Declined Transaction objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/digital_card_profile_list_response.rb b/lib/increase/models/digital_card_profile_list_response.rb new file mode 100644 index 000000000..cca62c36e --- /dev/null +++ b/lib/increase/models/digital_card_profile_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::DigitalCardProfiles#list + class DigitalCardProfileListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Digital Card Profile objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/digital_wallet_token_list_response.rb b/lib/increase/models/digital_wallet_token_list_response.rb new file mode 100644 index 000000000..fd1500ecd --- /dev/null +++ b/lib/increase/models/digital_wallet_token_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::DigitalWalletTokens#list + class DigitalWalletTokenListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Digital Wallet Token objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/document_list_response.rb b/lib/increase/models/document_list_response.rb new file mode 100644 index 000000000..e4a336811 --- /dev/null +++ b/lib/increase/models/document_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Documents#list + class DocumentListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Document] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Document objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/entity_list_response.rb b/lib/increase/models/entity_list_response.rb new file mode 100644 index 000000000..43640b374 --- /dev/null +++ b/lib/increase/models/entity_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Entities#list + class EntityListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Entity] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Entity objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/event_list_response.rb b/lib/increase/models/event_list_response.rb new file mode 100644 index 000000000..5b54390e3 --- /dev/null +++ b/lib/increase/models/event_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Events#list + class EventListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Event] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Event objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/event_subscription_list_response.rb b/lib/increase/models/event_subscription_list_response.rb new file mode 100644 index 000000000..51f023f41 --- /dev/null +++ b/lib/increase/models/event_subscription_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::EventSubscriptions#list + class EventSubscriptionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::EventSubscription] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Event Subscription objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/export_list_response.rb b/lib/increase/models/export_list_response.rb new file mode 100644 index 000000000..d60cc94eb --- /dev/null +++ b/lib/increase/models/export_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Exports#list + class ExportListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Export] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Export objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/external_account_list_response.rb b/lib/increase/models/external_account_list_response.rb new file mode 100644 index 000000000..5cebe98a8 --- /dev/null +++ b/lib/increase/models/external_account_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::ExternalAccounts#list + class ExternalAccountListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::ExternalAccount] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of External Account objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/fednow_transfer_list_response.rb b/lib/increase/models/fednow_transfer_list_response.rb new file mode 100644 index 000000000..4f9360699 --- /dev/null +++ b/lib/increase/models/fednow_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::FednowTransfers#list + class FednowTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::FednowTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of FedNow Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/file_list_response.rb b/lib/increase/models/file_list_response.rb new file mode 100644 index 000000000..8d5c0a012 --- /dev/null +++ b/lib/increase/models/file_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Files#list + class FileListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::File] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of File objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_ach_transfer_list_response.rb b/lib/increase/models/inbound_ach_transfer_list_response.rb new file mode 100644 index 000000000..535fa8540 --- /dev/null +++ b/lib/increase/models/inbound_ach_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundACHTransfers#list + class InboundACHTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound ACH Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_check_deposit_list_response.rb b/lib/increase/models/inbound_check_deposit_list_response.rb new file mode 100644 index 000000000..a0106d894 --- /dev/null +++ b/lib/increase/models/inbound_check_deposit_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundCheckDeposits#list + class InboundCheckDepositListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound Check Deposit objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_fednow_transfer_list_response.rb b/lib/increase/models/inbound_fednow_transfer_list_response.rb new file mode 100644 index 000000000..2ed07a88b --- /dev/null +++ b/lib/increase/models/inbound_fednow_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundFednowTransfers#list + class InboundFednowTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundFednowTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound FedNow Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_mail_item_list_response.rb b/lib/increase/models/inbound_mail_item_list_response.rb new file mode 100644 index 000000000..fbc7a3fc0 --- /dev/null +++ b/lib/increase/models/inbound_mail_item_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundMailItems#list + class InboundMailItemListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundMailItem] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound Mail Item objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_real_time_payments_transfer_list_response.rb b/lib/increase/models/inbound_real_time_payments_transfer_list_response.rb new file mode 100644 index 000000000..a1ecb7751 --- /dev/null +++ b/lib/increase/models/inbound_real_time_payments_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundRealTimePaymentsTransfers#list + class InboundRealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundRealTimePaymentsTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound Real-Time Payments Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_wire_drawdown_request_list_response.rb b/lib/increase/models/inbound_wire_drawdown_request_list_response.rb new file mode 100644 index 000000000..e478e754f --- /dev/null +++ b/lib/increase/models/inbound_wire_drawdown_request_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundWireDrawdownRequests#list + class InboundWireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundWireDrawdownRequest] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound Wire Drawdown Request objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/inbound_wire_transfer_list_response.rb b/lib/increase/models/inbound_wire_transfer_list_response.rb new file mode 100644 index 000000000..0e7b4558e --- /dev/null +++ b/lib/increase/models/inbound_wire_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::InboundWireTransfers#list + class InboundWireTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::InboundWireTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Inbound Wire Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/intrafi_account_enrollment_list_response.rb b/lib/increase/models/intrafi_account_enrollment_list_response.rb new file mode 100644 index 000000000..d38d8d7c8 --- /dev/null +++ b/lib/increase/models/intrafi_account_enrollment_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::IntrafiAccountEnrollments#list + class IntrafiAccountEnrollmentListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::IntrafiAccountEnrollment] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of IntraFi Account Enrollment objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/intrafi_exclusion_list_response.rb b/lib/increase/models/intrafi_exclusion_list_response.rb new file mode 100644 index 000000000..323cac448 --- /dev/null +++ b/lib/increase/models/intrafi_exclusion_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::IntrafiExclusions#list + class IntrafiExclusionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::IntrafiExclusion] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of IntraFi Exclusion objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/lockbox_list_response.rb b/lib/increase/models/lockbox_list_response.rb new file mode 100644 index 000000000..2ffec4d7f --- /dev/null +++ b/lib/increase/models/lockbox_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Lockboxes#list + class LockboxListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Lockbox] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Lockbox objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/oauth_application_list_response.rb b/lib/increase/models/oauth_application_list_response.rb new file mode 100644 index 000000000..4ea1c3904 --- /dev/null +++ b/lib/increase/models/oauth_application_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::OAuthApplications#list + class OAuthApplicationListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::OAuthApplication] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of OAuth Application objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/oauth_connection_list_response.rb b/lib/increase/models/oauth_connection_list_response.rb new file mode 100644 index 000000000..c18064a2b --- /dev/null +++ b/lib/increase/models/oauth_connection_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::OAuthConnections#list + class OAuthConnectionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::OAuthConnection] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of OAuth Connection objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/pending_transaction_list_response.rb b/lib/increase/models/pending_transaction_list_response.rb new file mode 100644 index 000000000..e491dc078 --- /dev/null +++ b/lib/increase/models/pending_transaction_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::PendingTransactions#list + class PendingTransactionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::PendingTransaction] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Pending Transaction objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/physical_card_list_response.rb b/lib/increase/models/physical_card_list_response.rb new file mode 100644 index 000000000..cd1bc91d9 --- /dev/null +++ b/lib/increase/models/physical_card_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::PhysicalCards#list + class PhysicalCardListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::PhysicalCard] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Physical Card objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/physical_card_profile_list_response.rb b/lib/increase/models/physical_card_profile_list_response.rb new file mode 100644 index 000000000..10d9fc6c0 --- /dev/null +++ b/lib/increase/models/physical_card_profile_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::PhysicalCardProfiles#list + class PhysicalCardProfileListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::PhysicalCardProfile] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Physical Card Profile objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/program_list_response.rb b/lib/increase/models/program_list_response.rb new file mode 100644 index 000000000..98a37dd3e --- /dev/null +++ b/lib/increase/models/program_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Programs#list + class ProgramListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Program] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Program objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/real_time_payments_transfer_list_response.rb b/lib/increase/models/real_time_payments_transfer_list_response.rb new file mode 100644 index 000000000..a57922fcb --- /dev/null +++ b/lib/increase/models/real_time_payments_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::RealTimePaymentsTransfers#list + class RealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::RealTimePaymentsTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Real-Time Payments Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/routing_number_list_response.rb b/lib/increase/models/routing_number_list_response.rb index 30bdea742..1351a1394 100644 --- a/lib/increase/models/routing_number_list_response.rb +++ b/lib/increase/models/routing_number_list_response.rb @@ -4,145 +4,168 @@ module Increase module Models # @see Increase::Resources::RoutingNumbers#list class RoutingNumberListResponse < Increase::Internal::Type::BaseModel - # @!attribute ach_transfers - # This routing number's support for ACH Transfers. - # - # @return [Symbol, Increase::Models::RoutingNumberListResponse::ACHTransfers] - required :ach_transfers, enum: -> { Increase::Models::RoutingNumberListResponse::ACHTransfers } - - # @!attribute fednow_transfers - # This routing number's support for FedNow Transfers. - # - # @return [Symbol, Increase::Models::RoutingNumberListResponse::FednowTransfers] - required :fednow_transfers, enum: -> { Increase::Models::RoutingNumberListResponse::FednowTransfers } - - # @!attribute name - # The name of the financial institution belonging to a routing number. - # - # @return [String] - required :name, String - - # @!attribute real_time_payments_transfers - # This routing number's support for Real-Time Payments Transfers. - # - # @return [Symbol, Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers] - required :real_time_payments_transfers, - enum: -> { Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers } - - # @!attribute routing_number - # The nine digit routing number identifier. - # - # @return [String] - required :routing_number, String - - # @!attribute type - # A constant representing the object's type. For this resource it will always be - # `routing_number`. - # - # @return [Symbol, Increase::Models::RoutingNumberListResponse::Type] - required :type, enum: -> { Increase::Models::RoutingNumberListResponse::Type } - - # @!attribute wire_transfers - # This routing number's support for Wire Transfers. - # - # @return [Symbol, Increase::Models::RoutingNumberListResponse::WireTransfers] - required :wire_transfers, enum: -> { Increase::Models::RoutingNumberListResponse::WireTransfers } - - # @!method initialize(ach_transfers:, fednow_transfers:, name:, real_time_payments_transfers:, routing_number:, type:, wire_transfers:) - # Some parameter documentations has been truncated, see - # {Increase::Models::RoutingNumberListResponse} for more details. - # - # Routing numbers are used to identify your bank in a financial transaction. - # - # @param ach_transfers [Symbol, Increase::Models::RoutingNumberListResponse::ACHTransfers] This routing number's support for ACH Transfers. - # - # @param fednow_transfers [Symbol, Increase::Models::RoutingNumberListResponse::FednowTransfers] This routing number's support for FedNow Transfers. - # - # @param name [String] The name of the financial institution belonging to a routing number. - # - # @param real_time_payments_transfers [Symbol, Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers] This routing number's support for Real-Time Payments Transfers. - # - # @param routing_number [String] The nine digit routing number identifier. - # - # @param type [Symbol, Increase::Models::RoutingNumberListResponse::Type] A constant representing the object's type. For this resource it will always be ` - # - # @param wire_transfers [Symbol, Increase::Models::RoutingNumberListResponse::WireTransfers] This routing number's support for Wire Transfers. - - # This routing number's support for ACH Transfers. - # - # @see Increase::Models::RoutingNumberListResponse#ach_transfers - module ACHTransfers - extend Increase::Internal::Type::Enum - - # The routing number can receive this transfer type. - SUPPORTED = :supported - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = :not_supported - - # @!method self.values - # @return [Array] - end - - # This routing number's support for FedNow Transfers. - # - # @see Increase::Models::RoutingNumberListResponse#fednow_transfers - module FednowTransfers - extend Increase::Internal::Type::Enum - - # The routing number can receive this transfer type. - SUPPORTED = :supported - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = :not_supported - - # @!method self.values - # @return [Array] - end - - # This routing number's support for Real-Time Payments Transfers. - # - # @see Increase::Models::RoutingNumberListResponse#real_time_payments_transfers - module RealTimePaymentsTransfers - extend Increase::Internal::Type::Enum - - # The routing number can receive this transfer type. - SUPPORTED = :supported - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = :not_supported - - # @!method self.values - # @return [Array] - end - - # A constant representing the object's type. For this resource it will always be - # `routing_number`. - # - # @see Increase::Models::RoutingNumberListResponse#type - module Type - extend Increase::Internal::Type::Enum - - ROUTING_NUMBER = :routing_number - - # @!method self.values - # @return [Array] - end - - # This routing number's support for Wire Transfers. - # - # @see Increase::Models::RoutingNumberListResponse#wire_transfers - module WireTransfers - extend Increase::Internal::Type::Enum - - # The routing number can receive this transfer type. - SUPPORTED = :supported - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = :not_supported - - # @!method self.values - # @return [Array] + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, + -> { Increase::Internal::Type::ArrayOf[Increase::Models::RoutingNumberListResponse::Data] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Routing Number objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + + class Data < Increase::Internal::Type::BaseModel + # @!attribute ach_transfers + # This routing number's support for ACH Transfers. + # + # @return [Symbol, Increase::Models::RoutingNumberListResponse::Data::ACHTransfers] + required :ach_transfers, enum: -> { Increase::Models::RoutingNumberListResponse::Data::ACHTransfers } + + # @!attribute fednow_transfers + # This routing number's support for FedNow Transfers. + # + # @return [Symbol, Increase::Models::RoutingNumberListResponse::Data::FednowTransfers] + required :fednow_transfers, + enum: -> { Increase::Models::RoutingNumberListResponse::Data::FednowTransfers } + + # @!attribute name + # The name of the financial institution belonging to a routing number. + # + # @return [String] + required :name, String + + # @!attribute real_time_payments_transfers + # This routing number's support for Real-Time Payments Transfers. + # + # @return [Symbol, Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers] + required :real_time_payments_transfers, + enum: -> { Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers } + + # @!attribute routing_number + # The nine digit routing number identifier. + # + # @return [String] + required :routing_number, String + + # @!attribute type + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + # + # @return [Symbol, Increase::Models::RoutingNumberListResponse::Data::Type] + required :type, enum: -> { Increase::Models::RoutingNumberListResponse::Data::Type } + + # @!attribute wire_transfers + # This routing number's support for Wire Transfers. + # + # @return [Symbol, Increase::Models::RoutingNumberListResponse::Data::WireTransfers] + required :wire_transfers, enum: -> { Increase::Models::RoutingNumberListResponse::Data::WireTransfers } + + # @!method initialize(ach_transfers:, fednow_transfers:, name:, real_time_payments_transfers:, routing_number:, type:, wire_transfers:) + # Some parameter documentations has been truncated, see + # {Increase::Models::RoutingNumberListResponse::Data} for more details. + # + # Routing numbers are used to identify your bank in a financial transaction. + # + # @param ach_transfers [Symbol, Increase::Models::RoutingNumberListResponse::Data::ACHTransfers] This routing number's support for ACH Transfers. + # + # @param fednow_transfers [Symbol, Increase::Models::RoutingNumberListResponse::Data::FednowTransfers] This routing number's support for FedNow Transfers. + # + # @param name [String] The name of the financial institution belonging to a routing number. + # + # @param real_time_payments_transfers [Symbol, Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers] This routing number's support for Real-Time Payments Transfers. + # + # @param routing_number [String] The nine digit routing number identifier. + # + # @param type [Symbol, Increase::Models::RoutingNumberListResponse::Data::Type] A constant representing the object's type. For this resource it will always be ` + # + # @param wire_transfers [Symbol, Increase::Models::RoutingNumberListResponse::Data::WireTransfers] This routing number's support for Wire Transfers. + + # This routing number's support for ACH Transfers. + # + # @see Increase::Models::RoutingNumberListResponse::Data#ach_transfers + module ACHTransfers + extend Increase::Internal::Type::Enum + + # The routing number can receive this transfer type. + SUPPORTED = :supported + + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = :not_supported + + # @!method self.values + # @return [Array] + end + + # This routing number's support for FedNow Transfers. + # + # @see Increase::Models::RoutingNumberListResponse::Data#fednow_transfers + module FednowTransfers + extend Increase::Internal::Type::Enum + + # The routing number can receive this transfer type. + SUPPORTED = :supported + + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = :not_supported + + # @!method self.values + # @return [Array] + end + + # This routing number's support for Real-Time Payments Transfers. + # + # @see Increase::Models::RoutingNumberListResponse::Data#real_time_payments_transfers + module RealTimePaymentsTransfers + extend Increase::Internal::Type::Enum + + # The routing number can receive this transfer type. + SUPPORTED = :supported + + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = :not_supported + + # @!method self.values + # @return [Array] + end + + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + # + # @see Increase::Models::RoutingNumberListResponse::Data#type + module Type + extend Increase::Internal::Type::Enum + + ROUTING_NUMBER = :routing_number + + # @!method self.values + # @return [Array] + end + + # This routing number's support for Wire Transfers. + # + # @see Increase::Models::RoutingNumberListResponse::Data#wire_transfers + module WireTransfers + extend Increase::Internal::Type::Enum + + # The routing number can receive this transfer type. + SUPPORTED = :supported + + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = :not_supported + + # @!method self.values + # @return [Array] + end end end end diff --git a/lib/increase/models/supplemental_document_list_response.rb b/lib/increase/models/supplemental_document_list_response.rb new file mode 100644 index 000000000..2c82063c3 --- /dev/null +++ b/lib/increase/models/supplemental_document_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::SupplementalDocuments#list + class SupplementalDocumentListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Supplemental Document objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/transaction_list_response.rb b/lib/increase/models/transaction_list_response.rb new file mode 100644 index 000000000..ab487fd49 --- /dev/null +++ b/lib/increase/models/transaction_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::Transactions#list + class TransactionListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Transaction objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/wire_drawdown_request_list_response.rb b/lib/increase/models/wire_drawdown_request_list_response.rb new file mode 100644 index 000000000..94c77194c --- /dev/null +++ b/lib/increase/models/wire_drawdown_request_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::WireDrawdownRequests#list + class WireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::WireDrawdownRequest] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Wire Drawdown Request objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/models/wire_transfer_list_response.rb b/lib/increase/models/wire_transfer_list_response.rb new file mode 100644 index 000000000..37c26a000 --- /dev/null +++ b/lib/increase/models/wire_transfer_list_response.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true + +module Increase + module Models + # @see Increase::Resources::WireTransfers#list + class WireTransferListResponse < Increase::Internal::Type::BaseModel + # @!attribute data + # The contents of the list. + # + # @return [Array] + required :data, -> { Increase::Internal::Type::ArrayOf[Increase::WireTransfer] } + + # @!attribute next_cursor + # A pointer to a place in the list. + # + # @return [String, nil] + required :next_cursor, String, nil?: true + + # @!method initialize(data:, next_cursor:) + # A list of Wire Transfer objects. + # + # @param data [Array] The contents of the list. + # + # @param next_cursor [String, nil] A pointer to a place in the list. + end + end +end diff --git a/lib/increase/resources/account_numbers.rb b/lib/increase/resources/account_numbers.rb index 09aea7d16..cc0bb53b7 100644 --- a/lib/increase/resources/account_numbers.rb +++ b/lib/increase/resources/account_numbers.rb @@ -110,7 +110,7 @@ def update(account_number_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::AccountNumberListResponse] # # @see Increase::Models::AccountNumberListParams def list(params = {}) @@ -119,8 +119,7 @@ def list(params = {}) method: :get, path: "account_numbers", query: parsed, - page: Increase::Internal::Page, - model: Increase::AccountNumber, + model: Increase::Models::AccountNumberListResponse, options: options ) end diff --git a/lib/increase/resources/account_statements.rb b/lib/increase/resources/account_statements.rb index 16fc8f704..a1d863461 100644 --- a/lib/increase/resources/account_statements.rb +++ b/lib/increase/resources/account_statements.rb @@ -40,7 +40,7 @@ def retrieve(account_statement_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::AccountStatementListResponse] # # @see Increase::Models::AccountStatementListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "account_statements", query: parsed, - page: Increase::Internal::Page, - model: Increase::AccountStatement, + model: Increase::Models::AccountStatementListResponse, options: options ) end diff --git a/lib/increase/resources/account_transfers.rb b/lib/increase/resources/account_transfers.rb index f954109af..f13c5e922 100644 --- a/lib/increase/resources/account_transfers.rb +++ b/lib/increase/resources/account_transfers.rb @@ -75,7 +75,7 @@ def retrieve(account_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::AccountTransferListResponse] # # @see Increase::Models::AccountTransferListParams def list(params = {}) @@ -84,8 +84,7 @@ def list(params = {}) method: :get, path: "account_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::AccountTransfer, + model: Increase::Models::AccountTransferListResponse, options: options ) end diff --git a/lib/increase/resources/accounts.rb b/lib/increase/resources/accounts.rb index 41270d80b..28c8faf1b 100644 --- a/lib/increase/resources/accounts.rb +++ b/lib/increase/resources/accounts.rb @@ -108,7 +108,7 @@ def update(account_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::AccountListResponse] # # @see Increase::Models::AccountListParams def list(params = {}) @@ -117,8 +117,7 @@ def list(params = {}) method: :get, path: "accounts", query: parsed, - page: Increase::Internal::Page, - model: Increase::Account, + model: Increase::Models::AccountListResponse, options: options ) end diff --git a/lib/increase/resources/ach_prenotifications.rb b/lib/increase/resources/ach_prenotifications.rb index be5b3b585..2f32e73dd 100644 --- a/lib/increase/resources/ach_prenotifications.rb +++ b/lib/increase/resources/ach_prenotifications.rb @@ -89,7 +89,7 @@ def retrieve(ach_prenotification_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::ACHPrenotificationListResponse] # # @see Increase::Models::ACHPrenotificationListParams def list(params = {}) @@ -98,8 +98,7 @@ def list(params = {}) method: :get, path: "ach_prenotifications", query: parsed, - page: Increase::Internal::Page, - model: Increase::ACHPrenotification, + model: Increase::Models::ACHPrenotificationListResponse, options: options ) end diff --git a/lib/increase/resources/ach_transfers.rb b/lib/increase/resources/ach_transfers.rb index fa3b14846..87df8eaf7 100644 --- a/lib/increase/resources/ach_transfers.rb +++ b/lib/increase/resources/ach_transfers.rb @@ -107,7 +107,7 @@ def retrieve(ach_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::ACHTransferListResponse] # # @see Increase::Models::ACHTransferListParams def list(params = {}) @@ -116,8 +116,7 @@ def list(params = {}) method: :get, path: "ach_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::ACHTransfer, + model: Increase::Models::ACHTransferListResponse, options: options ) end diff --git a/lib/increase/resources/bookkeeping_accounts.rb b/lib/increase/resources/bookkeeping_accounts.rb index 494c54643..84eb163a9 100644 --- a/lib/increase/resources/bookkeeping_accounts.rb +++ b/lib/increase/resources/bookkeeping_accounts.rb @@ -70,7 +70,7 @@ def update(bookkeeping_account_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::BookkeepingAccountListResponse] # # @see Increase::Models::BookkeepingAccountListParams def list(params = {}) @@ -79,8 +79,7 @@ def list(params = {}) method: :get, path: "bookkeeping_accounts", query: parsed, - page: Increase::Internal::Page, - model: Increase::BookkeepingAccount, + model: Increase::Models::BookkeepingAccountListResponse, options: options ) end diff --git a/lib/increase/resources/bookkeeping_entries.rb b/lib/increase/resources/bookkeeping_entries.rb index af7365bad..07f09cce8 100644 --- a/lib/increase/resources/bookkeeping_entries.rb +++ b/lib/increase/resources/bookkeeping_entries.rb @@ -38,7 +38,7 @@ def retrieve(bookkeeping_entry_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::BookkeepingEntryListResponse] # # @see Increase::Models::BookkeepingEntryListParams def list(params = {}) @@ -47,8 +47,7 @@ def list(params = {}) method: :get, path: "bookkeeping_entries", query: parsed, - page: Increase::Internal::Page, - model: Increase::BookkeepingEntry, + model: Increase::Models::BookkeepingEntryListResponse, options: options ) end diff --git a/lib/increase/resources/bookkeeping_entry_sets.rb b/lib/increase/resources/bookkeeping_entry_sets.rb index ac918ede4..5a59be56e 100644 --- a/lib/increase/resources/bookkeeping_entry_sets.rb +++ b/lib/increase/resources/bookkeeping_entry_sets.rb @@ -69,7 +69,7 @@ def retrieve(bookkeeping_entry_set_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::BookkeepingEntrySetListResponse] # # @see Increase::Models::BookkeepingEntrySetListParams def list(params = {}) @@ -78,8 +78,7 @@ def list(params = {}) method: :get, path: "bookkeeping_entry_sets", query: parsed, - page: Increase::Internal::Page, - model: Increase::BookkeepingEntrySet, + model: Increase::Models::BookkeepingEntrySetListResponse, options: options ) end diff --git a/lib/increase/resources/card_disputes.rb b/lib/increase/resources/card_disputes.rb index 9220f38e2..cbd7a96ca 100644 --- a/lib/increase/resources/card_disputes.rb +++ b/lib/increase/resources/card_disputes.rb @@ -75,7 +75,7 @@ def retrieve(card_dispute_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardDisputeListResponse] # # @see Increase::Models::CardDisputeListParams def list(params = {}) @@ -84,8 +84,7 @@ def list(params = {}) method: :get, path: "card_disputes", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardDispute, + model: Increase::Models::CardDisputeListResponse, options: options ) end diff --git a/lib/increase/resources/card_payments.rb b/lib/increase/resources/card_payments.rb index 478a7354b..8fec08282 100644 --- a/lib/increase/resources/card_payments.rb +++ b/lib/increase/resources/card_payments.rb @@ -42,7 +42,7 @@ def retrieve(card_payment_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardPaymentListResponse] # # @see Increase::Models::CardPaymentListParams def list(params = {}) @@ -51,8 +51,7 @@ def list(params = {}) method: :get, path: "card_payments", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardPayment, + model: Increase::Models::CardPaymentListResponse, options: options ) end diff --git a/lib/increase/resources/card_purchase_supplements.rb b/lib/increase/resources/card_purchase_supplements.rb index d0338227d..80325d370 100644 --- a/lib/increase/resources/card_purchase_supplements.rb +++ b/lib/increase/resources/card_purchase_supplements.rb @@ -40,7 +40,7 @@ def retrieve(card_purchase_supplement_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardPurchaseSupplementListResponse] # # @see Increase::Models::CardPurchaseSupplementListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "card_purchase_supplements", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardPurchaseSupplement, + model: Increase::Models::CardPurchaseSupplementListResponse, options: options ) end diff --git a/lib/increase/resources/card_push_transfers.rb b/lib/increase/resources/card_push_transfers.rb index 45fd50e78..9e857f14e 100644 --- a/lib/increase/resources/card_push_transfers.rb +++ b/lib/increase/resources/card_push_transfers.rb @@ -101,7 +101,7 @@ def retrieve(card_push_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardPushTransferListResponse] # # @see Increase::Models::CardPushTransferListParams def list(params = {}) @@ -110,8 +110,7 @@ def list(params = {}) method: :get, path: "card_push_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardPushTransfer, + model: Increase::Models::CardPushTransferListResponse, options: options ) end diff --git a/lib/increase/resources/card_tokens.rb b/lib/increase/resources/card_tokens.rb index 90c31fdf3..656c342d5 100644 --- a/lib/increase/resources/card_tokens.rb +++ b/lib/increase/resources/card_tokens.rb @@ -38,7 +38,7 @@ def retrieve(card_token_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardTokenListResponse] # # @see Increase::Models::CardTokenListParams def list(params = {}) @@ -47,8 +47,7 @@ def list(params = {}) method: :get, path: "card_tokens", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardToken, + model: Increase::Models::CardTokenListResponse, options: options ) end diff --git a/lib/increase/resources/card_validations.rb b/lib/increase/resources/card_validations.rb index bf2bd23bc..3900abaff 100644 --- a/lib/increase/resources/card_validations.rb +++ b/lib/increase/resources/card_validations.rb @@ -91,7 +91,7 @@ def retrieve(card_validation_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardValidationListResponse] # # @see Increase::Models::CardValidationListParams def list(params = {}) @@ -100,8 +100,7 @@ def list(params = {}) method: :get, path: "card_validations", query: parsed, - page: Increase::Internal::Page, - model: Increase::CardValidation, + model: Increase::Models::CardValidationListResponse, options: options ) end diff --git a/lib/increase/resources/cards.rb b/lib/increase/resources/cards.rb index c1e8da83b..85277efbc 100644 --- a/lib/increase/resources/cards.rb +++ b/lib/increase/resources/cards.rb @@ -106,7 +106,7 @@ def update(card_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CardListResponse] # # @see Increase::Models::CardListParams def list(params = {}) @@ -115,8 +115,7 @@ def list(params = {}) method: :get, path: "cards", query: parsed, - page: Increase::Internal::Page, - model: Increase::Card, + model: Increase::Models::CardListResponse, options: options ) end diff --git a/lib/increase/resources/check_deposits.rb b/lib/increase/resources/check_deposits.rb index 27298563a..fffad8cf7 100644 --- a/lib/increase/resources/check_deposits.rb +++ b/lib/increase/resources/check_deposits.rb @@ -75,7 +75,7 @@ def retrieve(check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CheckDepositListResponse] # # @see Increase::Models::CheckDepositListParams def list(params = {}) @@ -84,8 +84,7 @@ def list(params = {}) method: :get, path: "check_deposits", query: parsed, - page: Increase::Internal::Page, - model: Increase::CheckDeposit, + model: Increase::Models::CheckDepositListResponse, options: options ) end diff --git a/lib/increase/resources/check_transfers.rb b/lib/increase/resources/check_transfers.rb index ce097f7ea..f28c43c04 100644 --- a/lib/increase/resources/check_transfers.rb +++ b/lib/increase/resources/check_transfers.rb @@ -87,7 +87,7 @@ def retrieve(check_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::CheckTransferListResponse] # # @see Increase::Models::CheckTransferListParams def list(params = {}) @@ -96,8 +96,7 @@ def list(params = {}) method: :get, path: "check_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::CheckTransfer, + model: Increase::Models::CheckTransferListResponse, options: options ) end diff --git a/lib/increase/resources/declined_transactions.rb b/lib/increase/resources/declined_transactions.rb index 4e65a64b6..6c97ee3a0 100644 --- a/lib/increase/resources/declined_transactions.rb +++ b/lib/increase/resources/declined_transactions.rb @@ -44,7 +44,7 @@ def retrieve(declined_transaction_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::DeclinedTransactionListResponse] # # @see Increase::Models::DeclinedTransactionListParams def list(params = {}) @@ -53,8 +53,7 @@ def list(params = {}) method: :get, path: "declined_transactions", query: parsed, - page: Increase::Internal::Page, - model: Increase::DeclinedTransaction, + model: Increase::Models::DeclinedTransactionListResponse, options: options ) end diff --git a/lib/increase/resources/digital_card_profiles.rb b/lib/increase/resources/digital_card_profiles.rb index 92d944595..cd14918b6 100644 --- a/lib/increase/resources/digital_card_profiles.rb +++ b/lib/increase/resources/digital_card_profiles.rb @@ -78,7 +78,7 @@ def retrieve(digital_card_profile_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::DigitalCardProfileListResponse] # # @see Increase::Models::DigitalCardProfileListParams def list(params = {}) @@ -87,8 +87,7 @@ def list(params = {}) method: :get, path: "digital_card_profiles", query: parsed, - page: Increase::Internal::Page, - model: Increase::DigitalCardProfile, + model: Increase::Models::DigitalCardProfileListResponse, options: options ) end diff --git a/lib/increase/resources/digital_wallet_tokens.rb b/lib/increase/resources/digital_wallet_tokens.rb index f605137fb..b8610c32c 100644 --- a/lib/increase/resources/digital_wallet_tokens.rb +++ b/lib/increase/resources/digital_wallet_tokens.rb @@ -40,7 +40,7 @@ def retrieve(digital_wallet_token_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::DigitalWalletTokenListResponse] # # @see Increase::Models::DigitalWalletTokenListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "digital_wallet_tokens", query: parsed, - page: Increase::Internal::Page, - model: Increase::DigitalWalletToken, + model: Increase::Models::DigitalWalletTokenListResponse, options: options ) end diff --git a/lib/increase/resources/documents.rb b/lib/increase/resources/documents.rb index 7085de4f4..35cc9447d 100644 --- a/lib/increase/resources/documents.rb +++ b/lib/increase/resources/documents.rb @@ -73,7 +73,7 @@ def retrieve(document_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::DocumentListResponse] # # @see Increase::Models::DocumentListParams def list(params = {}) @@ -82,8 +82,7 @@ def list(params = {}) method: :get, path: "documents", query: parsed, - page: Increase::Internal::Page, - model: Increase::Document, + model: Increase::Models::DocumentListResponse, options: options ) end diff --git a/lib/increase/resources/entities.rb b/lib/increase/resources/entities.rb index e9893693c..110a41c8b 100644 --- a/lib/increase/resources/entities.rb +++ b/lib/increase/resources/entities.rb @@ -124,7 +124,7 @@ def update(entity_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::EntityListResponse] # # @see Increase::Models::EntityListParams def list(params = {}) @@ -133,8 +133,7 @@ def list(params = {}) method: :get, path: "entities", query: parsed, - page: Increase::Internal::Page, - model: Increase::Entity, + model: Increase::Models::EntityListResponse, options: options ) end diff --git a/lib/increase/resources/event_subscriptions.rb b/lib/increase/resources/event_subscriptions.rb index a395de604..93b19f1b6 100644 --- a/lib/increase/resources/event_subscriptions.rb +++ b/lib/increase/resources/event_subscriptions.rb @@ -95,7 +95,7 @@ def update(event_subscription_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::EventSubscriptionListResponse] # # @see Increase::Models::EventSubscriptionListParams def list(params = {}) @@ -104,8 +104,7 @@ def list(params = {}) method: :get, path: "event_subscriptions", query: parsed, - page: Increase::Internal::Page, - model: Increase::EventSubscription, + model: Increase::Models::EventSubscriptionListResponse, options: options ) end diff --git a/lib/increase/resources/events.rb b/lib/increase/resources/events.rb index dc9d46945..19a019ee3 100644 --- a/lib/increase/resources/events.rb +++ b/lib/increase/resources/events.rb @@ -42,7 +42,7 @@ def retrieve(event_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::EventListResponse] # # @see Increase::Models::EventListParams def list(params = {}) @@ -51,8 +51,7 @@ def list(params = {}) method: :get, path: "events", query: parsed, - page: Increase::Internal::Page, - model: Increase::Event, + model: Increase::Models::EventListResponse, options: options ) end diff --git a/lib/increase/resources/exports.rb b/lib/increase/resources/exports.rb index 6642e0c49..d4b6034d1 100644 --- a/lib/increase/resources/exports.rb +++ b/lib/increase/resources/exports.rb @@ -85,7 +85,7 @@ def retrieve(export_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::ExportListResponse] # # @see Increase::Models::ExportListParams def list(params = {}) @@ -94,8 +94,7 @@ def list(params = {}) method: :get, path: "exports", query: parsed, - page: Increase::Internal::Page, - model: Increase::Export, + model: Increase::Models::ExportListResponse, options: options ) end diff --git a/lib/increase/resources/external_accounts.rb b/lib/increase/resources/external_accounts.rb index 868c976a4..038e8cb2a 100644 --- a/lib/increase/resources/external_accounts.rb +++ b/lib/increase/resources/external_accounts.rb @@ -105,7 +105,7 @@ def update(external_account_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::ExternalAccountListResponse] # # @see Increase::Models::ExternalAccountListParams def list(params = {}) @@ -114,8 +114,7 @@ def list(params = {}) method: :get, path: "external_accounts", query: parsed, - page: Increase::Internal::Page, - model: Increase::ExternalAccount, + model: Increase::Models::ExternalAccountListResponse, options: options ) end diff --git a/lib/increase/resources/fednow_transfers.rb b/lib/increase/resources/fednow_transfers.rb index e66a0be33..a4ab98663 100644 --- a/lib/increase/resources/fednow_transfers.rb +++ b/lib/increase/resources/fednow_transfers.rb @@ -93,7 +93,7 @@ def retrieve(fednow_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::FednowTransferListResponse] # # @see Increase::Models::FednowTransferListParams def list(params = {}) @@ -102,8 +102,7 @@ def list(params = {}) method: :get, path: "fednow_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::FednowTransfer, + model: Increase::Models::FednowTransferListResponse, options: options ) end diff --git a/lib/increase/resources/files.rb b/lib/increase/resources/files.rb index e4966ed1b..bd43cf1c9 100644 --- a/lib/increase/resources/files.rb +++ b/lib/increase/resources/files.rb @@ -74,7 +74,7 @@ def retrieve(file_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::FileListResponse] # # @see Increase::Models::FileListParams def list(params = {}) @@ -83,8 +83,7 @@ def list(params = {}) method: :get, path: "files", query: parsed, - page: Increase::Internal::Page, - model: Increase::File, + model: Increase::Models::FileListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_ach_transfers.rb b/lib/increase/resources/inbound_ach_transfers.rb index f0800975f..760112659 100644 --- a/lib/increase/resources/inbound_ach_transfers.rb +++ b/lib/increase/resources/inbound_ach_transfers.rb @@ -44,7 +44,7 @@ def retrieve(inbound_ach_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundACHTransferListResponse] # # @see Increase::Models::InboundACHTransferListParams def list(params = {}) @@ -53,8 +53,7 @@ def list(params = {}) method: :get, path: "inbound_ach_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundACHTransfer, + model: Increase::Models::InboundACHTransferListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_check_deposits.rb b/lib/increase/resources/inbound_check_deposits.rb index 803591eef..70e72ec3b 100644 --- a/lib/increase/resources/inbound_check_deposits.rb +++ b/lib/increase/resources/inbound_check_deposits.rb @@ -42,7 +42,7 @@ def retrieve(inbound_check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundCheckDepositListResponse] # # @see Increase::Models::InboundCheckDepositListParams def list(params = {}) @@ -51,8 +51,7 @@ def list(params = {}) method: :get, path: "inbound_check_deposits", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundCheckDeposit, + model: Increase::Models::InboundCheckDepositListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_fednow_transfers.rb b/lib/increase/resources/inbound_fednow_transfers.rb index 49f362b45..7a8b6320a 100644 --- a/lib/increase/resources/inbound_fednow_transfers.rb +++ b/lib/increase/resources/inbound_fednow_transfers.rb @@ -42,7 +42,7 @@ def retrieve(inbound_fednow_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundFednowTransferListResponse] # # @see Increase::Models::InboundFednowTransferListParams def list(params = {}) @@ -51,8 +51,7 @@ def list(params = {}) method: :get, path: "inbound_fednow_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundFednowTransfer, + model: Increase::Models::InboundFednowTransferListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_mail_items.rb b/lib/increase/resources/inbound_mail_items.rb index a045f0015..2b5b23d5c 100644 --- a/lib/increase/resources/inbound_mail_items.rb +++ b/lib/increase/resources/inbound_mail_items.rb @@ -40,7 +40,7 @@ def retrieve(inbound_mail_item_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundMailItemListResponse] # # @see Increase::Models::InboundMailItemListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "inbound_mail_items", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundMailItem, + model: Increase::Models::InboundMailItemListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_real_time_payments_transfers.rb b/lib/increase/resources/inbound_real_time_payments_transfers.rb index cfdcb7096..bb215f56a 100755 --- a/lib/increase/resources/inbound_real_time_payments_transfers.rb +++ b/lib/increase/resources/inbound_real_time_payments_transfers.rb @@ -42,7 +42,7 @@ def retrieve(inbound_real_time_payments_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundRealTimePaymentsTransferListResponse] # # @see Increase::Models::InboundRealTimePaymentsTransferListParams def list(params = {}) @@ -51,8 +51,7 @@ def list(params = {}) method: :get, path: "inbound_real_time_payments_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundRealTimePaymentsTransfer, + model: Increase::Models::InboundRealTimePaymentsTransferListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_wire_drawdown_requests.rb b/lib/increase/resources/inbound_wire_drawdown_requests.rb index d50403d74..28d5341da 100644 --- a/lib/increase/resources/inbound_wire_drawdown_requests.rb +++ b/lib/increase/resources/inbound_wire_drawdown_requests.rb @@ -36,7 +36,7 @@ def retrieve(inbound_wire_drawdown_request_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundWireDrawdownRequestListResponse] # # @see Increase::Models::InboundWireDrawdownRequestListParams def list(params = {}) @@ -45,8 +45,7 @@ def list(params = {}) method: :get, path: "inbound_wire_drawdown_requests", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundWireDrawdownRequest, + model: Increase::Models::InboundWireDrawdownRequestListResponse, options: options ) end diff --git a/lib/increase/resources/inbound_wire_transfers.rb b/lib/increase/resources/inbound_wire_transfers.rb index 233b84f2a..aa8f69696 100644 --- a/lib/increase/resources/inbound_wire_transfers.rb +++ b/lib/increase/resources/inbound_wire_transfers.rb @@ -46,7 +46,7 @@ def retrieve(inbound_wire_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::InboundWireTransferListResponse] # # @see Increase::Models::InboundWireTransferListParams def list(params = {}) @@ -55,8 +55,7 @@ def list(params = {}) method: :get, path: "inbound_wire_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::InboundWireTransfer, + model: Increase::Models::InboundWireTransferListResponse, options: options ) end diff --git a/lib/increase/resources/intrafi_account_enrollments.rb b/lib/increase/resources/intrafi_account_enrollments.rb index b4930f356..dedc0b222 100644 --- a/lib/increase/resources/intrafi_account_enrollments.rb +++ b/lib/increase/resources/intrafi_account_enrollments.rb @@ -66,7 +66,7 @@ def retrieve(intrafi_account_enrollment_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::IntrafiAccountEnrollmentListResponse] # # @see Increase::Models::IntrafiAccountEnrollmentListParams def list(params = {}) @@ -75,8 +75,7 @@ def list(params = {}) method: :get, path: "intrafi_account_enrollments", query: parsed, - page: Increase::Internal::Page, - model: Increase::IntrafiAccountEnrollment, + model: Increase::Models::IntrafiAccountEnrollmentListResponse, options: options ) end diff --git a/lib/increase/resources/intrafi_exclusions.rb b/lib/increase/resources/intrafi_exclusions.rb index 9b6ada4a8..01b74b0cb 100644 --- a/lib/increase/resources/intrafi_exclusions.rb +++ b/lib/increase/resources/intrafi_exclusions.rb @@ -64,7 +64,7 @@ def retrieve(intrafi_exclusion_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::IntrafiExclusionListResponse] # # @see Increase::Models::IntrafiExclusionListParams def list(params = {}) @@ -73,8 +73,7 @@ def list(params = {}) method: :get, path: "intrafi_exclusions", query: parsed, - page: Increase::Internal::Page, - model: Increase::IntrafiExclusion, + model: Increase::Models::IntrafiExclusionListResponse, options: options ) end diff --git a/lib/increase/resources/lockboxes.rb b/lib/increase/resources/lockboxes.rb index 070ea219a..ffe9c13c5 100644 --- a/lib/increase/resources/lockboxes.rb +++ b/lib/increase/resources/lockboxes.rb @@ -96,7 +96,7 @@ def update(lockbox_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::LockboxListResponse] # # @see Increase::Models::LockboxListParams def list(params = {}) @@ -105,8 +105,7 @@ def list(params = {}) method: :get, path: "lockboxes", query: parsed, - page: Increase::Internal::Page, - model: Increase::Lockbox, + model: Increase::Models::LockboxListResponse, options: options ) end diff --git a/lib/increase/resources/oauth_applications.rb b/lib/increase/resources/oauth_applications.rb index b4102b026..5d876764a 100644 --- a/lib/increase/resources/oauth_applications.rb +++ b/lib/increase/resources/oauth_applications.rb @@ -40,7 +40,7 @@ def retrieve(oauth_application_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::OAuthApplicationListResponse] # # @see Increase::Models::OAuthApplicationListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "oauth_applications", query: parsed, - page: Increase::Internal::Page, - model: Increase::OAuthApplication, + model: Increase::Models::OAuthApplicationListResponse, options: options ) end diff --git a/lib/increase/resources/oauth_connections.rb b/lib/increase/resources/oauth_connections.rb index 52ffbf3f5..945631ec1 100644 --- a/lib/increase/resources/oauth_connections.rb +++ b/lib/increase/resources/oauth_connections.rb @@ -40,7 +40,7 @@ def retrieve(oauth_connection_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::OAuthConnectionListResponse] # # @see Increase::Models::OAuthConnectionListParams def list(params = {}) @@ -49,8 +49,7 @@ def list(params = {}) method: :get, path: "oauth_connections", query: parsed, - page: Increase::Internal::Page, - model: Increase::OAuthConnection, + model: Increase::Models::OAuthConnectionListResponse, options: options ) end diff --git a/lib/increase/resources/pending_transactions.rb b/lib/increase/resources/pending_transactions.rb index a790cfc41..1021213fa 100644 --- a/lib/increase/resources/pending_transactions.rb +++ b/lib/increase/resources/pending_transactions.rb @@ -78,7 +78,7 @@ def retrieve(pending_transaction_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::PendingTransactionListResponse] # # @see Increase::Models::PendingTransactionListParams def list(params = {}) @@ -87,8 +87,7 @@ def list(params = {}) method: :get, path: "pending_transactions", query: parsed, - page: Increase::Internal::Page, - model: Increase::PendingTransaction, + model: Increase::Models::PendingTransactionListResponse, options: options ) end diff --git a/lib/increase/resources/physical_card_profiles.rb b/lib/increase/resources/physical_card_profiles.rb index f04fab883..b6817906d 100644 --- a/lib/increase/resources/physical_card_profiles.rb +++ b/lib/increase/resources/physical_card_profiles.rb @@ -75,7 +75,7 @@ def retrieve(physical_card_profile_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::PhysicalCardProfileListResponse] # # @see Increase::Models::PhysicalCardProfileListParams def list(params = {}) @@ -84,8 +84,7 @@ def list(params = {}) method: :get, path: "physical_card_profiles", query: parsed, - page: Increase::Internal::Page, - model: Increase::PhysicalCardProfile, + model: Increase::Models::PhysicalCardProfileListResponse, options: options ) end diff --git a/lib/increase/resources/physical_cards.rb b/lib/increase/resources/physical_cards.rb index b3c2b9d06..12c0eeabf 100644 --- a/lib/increase/resources/physical_cards.rb +++ b/lib/increase/resources/physical_cards.rb @@ -97,7 +97,7 @@ def update(physical_card_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::PhysicalCardListResponse] # # @see Increase::Models::PhysicalCardListParams def list(params = {}) @@ -106,8 +106,7 @@ def list(params = {}) method: :get, path: "physical_cards", query: parsed, - page: Increase::Internal::Page, - model: Increase::PhysicalCard, + model: Increase::Models::PhysicalCardListResponse, options: options ) end diff --git a/lib/increase/resources/programs.rb b/lib/increase/resources/programs.rb index b69644b93..551b9af3c 100644 --- a/lib/increase/resources/programs.rb +++ b/lib/increase/resources/programs.rb @@ -36,7 +36,7 @@ def retrieve(program_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::ProgramListResponse] # # @see Increase::Models::ProgramListParams def list(params = {}) @@ -45,8 +45,7 @@ def list(params = {}) method: :get, path: "programs", query: parsed, - page: Increase::Internal::Page, - model: Increase::Program, + model: Increase::Models::ProgramListResponse, options: options ) end diff --git a/lib/increase/resources/real_time_payments_transfers.rb b/lib/increase/resources/real_time_payments_transfers.rb index a48580dc6..f3b9e8bf9 100644 --- a/lib/increase/resources/real_time_payments_transfers.rb +++ b/lib/increase/resources/real_time_payments_transfers.rb @@ -91,7 +91,7 @@ def retrieve(real_time_payments_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::RealTimePaymentsTransferListResponse] # # @see Increase::Models::RealTimePaymentsTransferListParams def list(params = {}) @@ -100,8 +100,7 @@ def list(params = {}) method: :get, path: "real_time_payments_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::RealTimePaymentsTransfer, + model: Increase::Models::RealTimePaymentsTransferListResponse, options: options ) end diff --git a/lib/increase/resources/routing_numbers.rb b/lib/increase/resources/routing_numbers.rb index 8ce01224a..3fcf05a3b 100644 --- a/lib/increase/resources/routing_numbers.rb +++ b/lib/increase/resources/routing_numbers.rb @@ -21,7 +21,7 @@ class RoutingNumbers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::RoutingNumberListResponse] # # @see Increase::Models::RoutingNumberListParams def list(params) @@ -30,7 +30,6 @@ def list(params) method: :get, path: "routing_numbers", query: parsed, - page: Increase::Internal::Page, model: Increase::Models::RoutingNumberListResponse, options: options ) diff --git a/lib/increase/resources/supplemental_documents.rb b/lib/increase/resources/supplemental_documents.rb index 025c48f31..ed60b941c 100644 --- a/lib/increase/resources/supplemental_documents.rb +++ b/lib/increase/resources/supplemental_documents.rb @@ -44,7 +44,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::SupplementalDocumentListResponse] # # @see Increase::Models::SupplementalDocumentListParams def list(params) @@ -53,8 +53,7 @@ def list(params) method: :get, path: "entity_supplemental_documents", query: parsed, - page: Increase::Internal::Page, - model: Increase::EntitySupplementalDocument, + model: Increase::Models::SupplementalDocumentListResponse, options: options ) end diff --git a/lib/increase/resources/transactions.rb b/lib/increase/resources/transactions.rb index f0a4b3e80..a20c6c1e5 100644 --- a/lib/increase/resources/transactions.rb +++ b/lib/increase/resources/transactions.rb @@ -44,7 +44,7 @@ def retrieve(transaction_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::TransactionListResponse] # # @see Increase::Models::TransactionListParams def list(params = {}) @@ -53,8 +53,7 @@ def list(params = {}) method: :get, path: "transactions", query: parsed, - page: Increase::Internal::Page, - model: Increase::Transaction, + model: Increase::Models::TransactionListResponse, options: options ) end diff --git a/lib/increase/resources/wire_drawdown_requests.rb b/lib/increase/resources/wire_drawdown_requests.rb index 491dc064e..25b98934d 100644 --- a/lib/increase/resources/wire_drawdown_requests.rb +++ b/lib/increase/resources/wire_drawdown_requests.rb @@ -83,7 +83,7 @@ def retrieve(wire_drawdown_request_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::WireDrawdownRequestListResponse] # # @see Increase::Models::WireDrawdownRequestListParams def list(params = {}) @@ -92,8 +92,7 @@ def list(params = {}) method: :get, path: "wire_drawdown_requests", query: parsed, - page: Increase::Internal::Page, - model: Increase::WireDrawdownRequest, + model: Increase::Models::WireDrawdownRequestListResponse, options: options ) end diff --git a/lib/increase/resources/wire_transfers.rb b/lib/increase/resources/wire_transfers.rb index 70a496c90..550af8c2f 100644 --- a/lib/increase/resources/wire_transfers.rb +++ b/lib/increase/resources/wire_transfers.rb @@ -89,7 +89,7 @@ def retrieve(wire_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Models::WireTransferListResponse] # # @see Increase::Models::WireTransferListParams def list(params = {}) @@ -98,8 +98,7 @@ def list(params = {}) method: :get, path: "wire_transfers", query: parsed, - page: Increase::Internal::Page, - model: Increase::WireTransfer, + model: Increase::Models::WireTransferListResponse, options: options ) end diff --git a/rbi/increase/internal/page.rbi b/rbi/increase/internal/page.rbi index e154f4186..6cb3e46b2 100644 --- a/rbi/increase/internal/page.rbi +++ b/rbi/increase/internal/page.rbi @@ -7,10 +7,10 @@ module Increase Elem = type_member - sig { returns(T.nilable(T::Array[Elem])) } + sig { returns(T.anything) } attr_accessor :data - sig { returns(T.nilable(String)) } + sig { returns(T.anything) } attr_accessor :next_cursor # @api private diff --git a/rbi/increase/models/account_list_response.rbi b/rbi/increase/models/account_list_response.rbi new file mode 100644 index 000000000..35d12897d --- /dev/null +++ b/rbi/increase/models/account_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class AccountListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::AccountListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Account]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Account objects. + sig do + params( + data: T::Array[Increase::Account::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Account], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/account_number_list_response.rbi b/rbi/increase/models/account_number_list_response.rbi new file mode 100644 index 000000000..7e65aa7ec --- /dev/null +++ b/rbi/increase/models/account_number_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class AccountNumberListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::AccountNumberListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::AccountNumber]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Account Number objects. + sig do + params( + data: T::Array[Increase::AccountNumber::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::AccountNumber], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/account_statement_list_response.rbi b/rbi/increase/models/account_statement_list_response.rbi new file mode 100644 index 000000000..b31a03111 --- /dev/null +++ b/rbi/increase/models/account_statement_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class AccountStatementListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::AccountStatementListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::AccountStatement]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Account Statement objects. + sig do + params( + data: T::Array[Increase::AccountStatement::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::AccountStatement], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/account_transfer_list_response.rbi b/rbi/increase/models/account_transfer_list_response.rbi new file mode 100644 index 000000000..77bd331a7 --- /dev/null +++ b/rbi/increase/models/account_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class AccountTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::AccountTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::AccountTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Account Transfer objects. + sig do + params( + data: T::Array[Increase::AccountTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::AccountTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/ach_prenotification_list_response.rbi b/rbi/increase/models/ach_prenotification_list_response.rbi new file mode 100644 index 000000000..a5e234d27 --- /dev/null +++ b/rbi/increase/models/ach_prenotification_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class ACHPrenotificationListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::ACHPrenotificationListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::ACHPrenotification]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of ACH Prenotification objects. + sig do + params( + data: T::Array[Increase::ACHPrenotification::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::ACHPrenotification], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/ach_transfer_list_response.rbi b/rbi/increase/models/ach_transfer_list_response.rbi new file mode 100644 index 000000000..10c825c6d --- /dev/null +++ b/rbi/increase/models/ach_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class ACHTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::ACHTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::ACHTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of ACH Transfer objects. + sig do + params( + data: T::Array[Increase::ACHTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::ACHTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/bookkeeping_account_list_response.rbi b/rbi/increase/models/bookkeeping_account_list_response.rbi new file mode 100644 index 000000000..2499e2ce0 --- /dev/null +++ b/rbi/increase/models/bookkeeping_account_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class BookkeepingAccountListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::BookkeepingAccountListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::BookkeepingAccount]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Bookkeeping Account objects. + sig do + params( + data: T::Array[Increase::BookkeepingAccount::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::BookkeepingAccount], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/bookkeeping_entry_list_response.rbi b/rbi/increase/models/bookkeeping_entry_list_response.rbi new file mode 100644 index 000000000..46fc822a9 --- /dev/null +++ b/rbi/increase/models/bookkeeping_entry_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class BookkeepingEntryListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::BookkeepingEntryListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::BookkeepingEntry]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Bookkeeping Entry objects. + sig do + params( + data: T::Array[Increase::BookkeepingEntry::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::BookkeepingEntry], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/bookkeeping_entry_set_list_response.rbi b/rbi/increase/models/bookkeeping_entry_set_list_response.rbi new file mode 100644 index 000000000..55eb7b93f --- /dev/null +++ b/rbi/increase/models/bookkeeping_entry_set_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class BookkeepingEntrySetListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::BookkeepingEntrySetListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::BookkeepingEntrySet]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Bookkeeping Entry Set objects. + sig do + params( + data: T::Array[Increase::BookkeepingEntrySet::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::BookkeepingEntrySet], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_dispute_list_response.rbi b/rbi/increase/models/card_dispute_list_response.rbi new file mode 100644 index 000000000..2fa0cf5c7 --- /dev/null +++ b/rbi/increase/models/card_dispute_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardDisputeListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardDisputeListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardDispute]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Dispute objects. + sig do + params( + data: T::Array[Increase::CardDispute::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardDispute], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_list_response.rbi b/rbi/increase/models/card_list_response.rbi new file mode 100644 index 000000000..b24cc1591 --- /dev/null +++ b/rbi/increase/models/card_list_response.rbi @@ -0,0 +1,43 @@ +# typed: strong + +module Increase + module Models + class CardListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any(Increase::Models::CardListResponse, Increase::Internal::AnyHash) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Card]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card objects. + sig do + params( + data: T::Array[Increase::Card::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Card], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_payment_list_response.rbi b/rbi/increase/models/card_payment_list_response.rbi new file mode 100644 index 000000000..c513e69ef --- /dev/null +++ b/rbi/increase/models/card_payment_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardPaymentListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardPaymentListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardPayment]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Payment objects. + sig do + params( + data: T::Array[Increase::CardPayment::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardPayment], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_purchase_supplement_list_response.rbi b/rbi/increase/models/card_purchase_supplement_list_response.rbi new file mode 100644 index 000000000..6d8924252 --- /dev/null +++ b/rbi/increase/models/card_purchase_supplement_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardPurchaseSupplementListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardPurchaseSupplementListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardPurchaseSupplement]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Purchase Supplement objects. + sig do + params( + data: T::Array[Increase::CardPurchaseSupplement::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardPurchaseSupplement], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_push_transfer_list_response.rbi b/rbi/increase/models/card_push_transfer_list_response.rbi new file mode 100644 index 000000000..51b33da23 --- /dev/null +++ b/rbi/increase/models/card_push_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardPushTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardPushTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardPushTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Push Transfer objects. + sig do + params( + data: T::Array[Increase::CardPushTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardPushTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_token_list_response.rbi b/rbi/increase/models/card_token_list_response.rbi new file mode 100644 index 000000000..0b37970fd --- /dev/null +++ b/rbi/increase/models/card_token_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardTokenListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardTokenListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardToken]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Token objects. + sig do + params( + data: T::Array[Increase::CardToken::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardToken], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/card_validation_list_response.rbi b/rbi/increase/models/card_validation_list_response.rbi new file mode 100644 index 000000000..176772dc6 --- /dev/null +++ b/rbi/increase/models/card_validation_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CardValidationListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CardValidationListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CardValidation]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Card Validation objects. + sig do + params( + data: T::Array[Increase::CardValidation::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CardValidation], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/check_deposit_list_response.rbi b/rbi/increase/models/check_deposit_list_response.rbi new file mode 100644 index 000000000..8692b963d --- /dev/null +++ b/rbi/increase/models/check_deposit_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CheckDepositListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CheckDepositListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CheckDeposit]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Check Deposit objects. + sig do + params( + data: T::Array[Increase::CheckDeposit::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CheckDeposit], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/check_transfer_list_response.rbi b/rbi/increase/models/check_transfer_list_response.rbi new file mode 100644 index 000000000..33cc2de79 --- /dev/null +++ b/rbi/increase/models/check_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class CheckTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::CheckTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::CheckTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Check Transfer objects. + sig do + params( + data: T::Array[Increase::CheckTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::CheckTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/declined_transaction_list_response.rbi b/rbi/increase/models/declined_transaction_list_response.rbi new file mode 100644 index 000000000..747ca7959 --- /dev/null +++ b/rbi/increase/models/declined_transaction_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class DeclinedTransactionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::DeclinedTransactionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::DeclinedTransaction]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Declined Transaction objects. + sig do + params( + data: T::Array[Increase::DeclinedTransaction::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::DeclinedTransaction], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/digital_card_profile_list_response.rbi b/rbi/increase/models/digital_card_profile_list_response.rbi new file mode 100644 index 000000000..fe0b1ad8d --- /dev/null +++ b/rbi/increase/models/digital_card_profile_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class DigitalCardProfileListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::DigitalCardProfileListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::DigitalCardProfile]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Digital Card Profile objects. + sig do + params( + data: T::Array[Increase::DigitalCardProfile::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::DigitalCardProfile], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/digital_wallet_token_list_response.rbi b/rbi/increase/models/digital_wallet_token_list_response.rbi new file mode 100644 index 000000000..86af5697b --- /dev/null +++ b/rbi/increase/models/digital_wallet_token_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class DigitalWalletTokenListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::DigitalWalletTokenListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::DigitalWalletToken]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Digital Wallet Token objects. + sig do + params( + data: T::Array[Increase::DigitalWalletToken::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::DigitalWalletToken], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/document_list_response.rbi b/rbi/increase/models/document_list_response.rbi new file mode 100644 index 000000000..589aad41c --- /dev/null +++ b/rbi/increase/models/document_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class DocumentListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::DocumentListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Document]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Document objects. + sig do + params( + data: T::Array[Increase::Document::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Document], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/entity_list_response.rbi b/rbi/increase/models/entity_list_response.rbi new file mode 100644 index 000000000..7b2c1cf7c --- /dev/null +++ b/rbi/increase/models/entity_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class EntityListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::EntityListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Entity]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Entity objects. + sig do + params( + data: T::Array[Increase::Entity::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Entity], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/event_list_response.rbi b/rbi/increase/models/event_list_response.rbi new file mode 100644 index 000000000..3e5576654 --- /dev/null +++ b/rbi/increase/models/event_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class EventListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::EventListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Event]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Event objects. + sig do + params( + data: T::Array[Increase::Event::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Event], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/event_subscription_list_response.rbi b/rbi/increase/models/event_subscription_list_response.rbi new file mode 100644 index 000000000..03f15945e --- /dev/null +++ b/rbi/increase/models/event_subscription_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class EventSubscriptionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::EventSubscriptionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::EventSubscription]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Event Subscription objects. + sig do + params( + data: T::Array[Increase::EventSubscription::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::EventSubscription], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/export_list_response.rbi b/rbi/increase/models/export_list_response.rbi new file mode 100644 index 000000000..66b868e79 --- /dev/null +++ b/rbi/increase/models/export_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class ExportListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::ExportListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Export]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Export objects. + sig do + params( + data: T::Array[Increase::Export::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Export], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/external_account_list_response.rbi b/rbi/increase/models/external_account_list_response.rbi new file mode 100644 index 000000000..f7cab8c5d --- /dev/null +++ b/rbi/increase/models/external_account_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class ExternalAccountListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::ExternalAccountListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::ExternalAccount]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of External Account objects. + sig do + params( + data: T::Array[Increase::ExternalAccount::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::ExternalAccount], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/fednow_transfer_list_response.rbi b/rbi/increase/models/fednow_transfer_list_response.rbi new file mode 100644 index 000000000..93a54de29 --- /dev/null +++ b/rbi/increase/models/fednow_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class FednowTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::FednowTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::FednowTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of FedNow Transfer objects. + sig do + params( + data: T::Array[Increase::FednowTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::FednowTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/file_list_response.rbi b/rbi/increase/models/file_list_response.rbi new file mode 100644 index 000000000..d2dacec24 --- /dev/null +++ b/rbi/increase/models/file_list_response.rbi @@ -0,0 +1,43 @@ +# typed: strong + +module Increase + module Models + class FileListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any(Increase::Models::FileListResponse, Increase::Internal::AnyHash) + end + + # The contents of the list. + sig { returns(T::Array[Increase::File]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of File objects. + sig do + params( + data: T::Array[Increase::File::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::File], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_ach_transfer_list_response.rbi b/rbi/increase/models/inbound_ach_transfer_list_response.rbi new file mode 100644 index 000000000..68436bd07 --- /dev/null +++ b/rbi/increase/models/inbound_ach_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundACHTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundACHTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundACHTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound ACH Transfer objects. + sig do + params( + data: T::Array[Increase::InboundACHTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundACHTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_check_deposit_list_response.rbi b/rbi/increase/models/inbound_check_deposit_list_response.rbi new file mode 100644 index 000000000..603245b5d --- /dev/null +++ b/rbi/increase/models/inbound_check_deposit_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundCheckDepositListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundCheckDepositListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundCheckDeposit]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound Check Deposit objects. + sig do + params( + data: T::Array[Increase::InboundCheckDeposit::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundCheckDeposit], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_fednow_transfer_list_response.rbi b/rbi/increase/models/inbound_fednow_transfer_list_response.rbi new file mode 100644 index 000000000..2a1338e89 --- /dev/null +++ b/rbi/increase/models/inbound_fednow_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundFednowTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundFednowTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundFednowTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound FedNow Transfer objects. + sig do + params( + data: T::Array[Increase::InboundFednowTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundFednowTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_mail_item_list_response.rbi b/rbi/increase/models/inbound_mail_item_list_response.rbi new file mode 100644 index 000000000..6a13525b4 --- /dev/null +++ b/rbi/increase/models/inbound_mail_item_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundMailItemListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundMailItemListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundMailItem]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound Mail Item objects. + sig do + params( + data: T::Array[Increase::InboundMailItem::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundMailItem], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_real_time_payments_transfer_list_response.rbi b/rbi/increase/models/inbound_real_time_payments_transfer_list_response.rbi new file mode 100644 index 000000000..15bbabc41 --- /dev/null +++ b/rbi/increase/models/inbound_real_time_payments_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundRealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundRealTimePaymentsTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundRealTimePaymentsTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound Real-Time Payments Transfer objects. + sig do + params( + data: T::Array[Increase::InboundRealTimePaymentsTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundRealTimePaymentsTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_wire_drawdown_request_list_response.rbi b/rbi/increase/models/inbound_wire_drawdown_request_list_response.rbi new file mode 100644 index 000000000..ce5a917ee --- /dev/null +++ b/rbi/increase/models/inbound_wire_drawdown_request_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundWireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundWireDrawdownRequestListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundWireDrawdownRequest]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound Wire Drawdown Request objects. + sig do + params( + data: T::Array[Increase::InboundWireDrawdownRequest::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundWireDrawdownRequest], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/inbound_wire_transfer_list_response.rbi b/rbi/increase/models/inbound_wire_transfer_list_response.rbi new file mode 100644 index 000000000..7faf64c79 --- /dev/null +++ b/rbi/increase/models/inbound_wire_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class InboundWireTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::InboundWireTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::InboundWireTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Inbound Wire Transfer objects. + sig do + params( + data: T::Array[Increase::InboundWireTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::InboundWireTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/intrafi_account_enrollment_list_response.rbi b/rbi/increase/models/intrafi_account_enrollment_list_response.rbi new file mode 100644 index 000000000..1892e85e4 --- /dev/null +++ b/rbi/increase/models/intrafi_account_enrollment_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class IntrafiAccountEnrollmentListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::IntrafiAccountEnrollmentListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::IntrafiAccountEnrollment]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of IntraFi Account Enrollment objects. + sig do + params( + data: T::Array[Increase::IntrafiAccountEnrollment::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::IntrafiAccountEnrollment], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/intrafi_exclusion_list_response.rbi b/rbi/increase/models/intrafi_exclusion_list_response.rbi new file mode 100644 index 000000000..a10d66233 --- /dev/null +++ b/rbi/increase/models/intrafi_exclusion_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class IntrafiExclusionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::IntrafiExclusionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::IntrafiExclusion]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of IntraFi Exclusion objects. + sig do + params( + data: T::Array[Increase::IntrafiExclusion::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::IntrafiExclusion], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/lockbox_list_response.rbi b/rbi/increase/models/lockbox_list_response.rbi new file mode 100644 index 000000000..b833c1110 --- /dev/null +++ b/rbi/increase/models/lockbox_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class LockboxListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::LockboxListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Lockbox]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Lockbox objects. + sig do + params( + data: T::Array[Increase::Lockbox::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Lockbox], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/oauth_application_list_response.rbi b/rbi/increase/models/oauth_application_list_response.rbi new file mode 100644 index 000000000..a7c79d144 --- /dev/null +++ b/rbi/increase/models/oauth_application_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class OAuthApplicationListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::OAuthApplicationListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::OAuthApplication]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of OAuth Application objects. + sig do + params( + data: T::Array[Increase::OAuthApplication::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::OAuthApplication], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/oauth_connection_list_response.rbi b/rbi/increase/models/oauth_connection_list_response.rbi new file mode 100644 index 000000000..4a2d66acb --- /dev/null +++ b/rbi/increase/models/oauth_connection_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class OAuthConnectionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::OAuthConnectionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::OAuthConnection]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of OAuth Connection objects. + sig do + params( + data: T::Array[Increase::OAuthConnection::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::OAuthConnection], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/pending_transaction_list_response.rbi b/rbi/increase/models/pending_transaction_list_response.rbi new file mode 100644 index 000000000..999f53667 --- /dev/null +++ b/rbi/increase/models/pending_transaction_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class PendingTransactionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::PendingTransactionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::PendingTransaction]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Pending Transaction objects. + sig do + params( + data: T::Array[Increase::PendingTransaction::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::PendingTransaction], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/physical_card_list_response.rbi b/rbi/increase/models/physical_card_list_response.rbi new file mode 100644 index 000000000..0e338e840 --- /dev/null +++ b/rbi/increase/models/physical_card_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class PhysicalCardListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::PhysicalCardListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::PhysicalCard]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Physical Card objects. + sig do + params( + data: T::Array[Increase::PhysicalCard::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::PhysicalCard], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/physical_card_profile_list_response.rbi b/rbi/increase/models/physical_card_profile_list_response.rbi new file mode 100644 index 000000000..4ee673634 --- /dev/null +++ b/rbi/increase/models/physical_card_profile_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class PhysicalCardProfileListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::PhysicalCardProfileListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::PhysicalCardProfile]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Physical Card Profile objects. + sig do + params( + data: T::Array[Increase::PhysicalCardProfile::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::PhysicalCardProfile], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/program_list_response.rbi b/rbi/increase/models/program_list_response.rbi new file mode 100644 index 000000000..60004e98e --- /dev/null +++ b/rbi/increase/models/program_list_response.rbi @@ -0,0 +1,46 @@ +# typed: strong + +module Increase + module Models + class ProgramListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::ProgramListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Program]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Program objects. + sig do + params( + data: T::Array[Increase::Program::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { data: T::Array[Increase::Program], next_cursor: T.nilable(String) } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/real_time_payments_transfer_list_response.rbi b/rbi/increase/models/real_time_payments_transfer_list_response.rbi new file mode 100644 index 000000000..ca0777bd6 --- /dev/null +++ b/rbi/increase/models/real_time_payments_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class RealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::RealTimePaymentsTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::RealTimePaymentsTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Real-Time Payments Transfer objects. + sig do + params( + data: T::Array[Increase::RealTimePaymentsTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::RealTimePaymentsTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/routing_number_list_response.rbi b/rbi/increase/models/routing_number_list_response.rbi index 6595a1a6e..b007a838e 100644 --- a/rbi/increase/models/routing_number_list_response.rbi +++ b/rbi/increase/models/routing_number_list_response.rbi @@ -11,286 +11,339 @@ module Increase ) end - # This routing number's support for ACH Transfers. + # The contents of the list. sig do - returns( - Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol - ) - end - attr_accessor :ach_transfers - - # This routing number's support for FedNow Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol - ) - end - attr_accessor :fednow_transfers - - # The name of the financial institution belonging to a routing number. - sig { returns(String) } - attr_accessor :name - - # This routing number's support for Real-Time Payments Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol - ) - end - attr_accessor :real_time_payments_transfers - - # The nine digit routing number identifier. - sig { returns(String) } - attr_accessor :routing_number - - # A constant representing the object's type. For this resource it will always be - # `routing_number`. - sig do - returns(Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol) + returns(T::Array[Increase::Models::RoutingNumberListResponse::Data]) end - attr_accessor :type + attr_accessor :data - # This routing number's support for Wire Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol - ) - end - attr_accessor :wire_transfers + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor - # Routing numbers are used to identify your bank in a financial transaction. + # A list of Routing Number objects. sig do params( - ach_transfers: - Increase::Models::RoutingNumberListResponse::ACHTransfers::OrSymbol, - fednow_transfers: - Increase::Models::RoutingNumberListResponse::FednowTransfers::OrSymbol, - name: String, - real_time_payments_transfers: - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::OrSymbol, - routing_number: String, - type: Increase::Models::RoutingNumberListResponse::Type::OrSymbol, - wire_transfers: - Increase::Models::RoutingNumberListResponse::WireTransfers::OrSymbol + data: + T::Array[Increase::Models::RoutingNumberListResponse::Data::OrHash], + next_cursor: T.nilable(String) ).returns(T.attached_class) end def self.new( - # This routing number's support for ACH Transfers. - ach_transfers:, - # This routing number's support for FedNow Transfers. - fednow_transfers:, - # The name of the financial institution belonging to a routing number. - name:, - # This routing number's support for Real-Time Payments Transfers. - real_time_payments_transfers:, - # The nine digit routing number identifier. - routing_number:, - # A constant representing the object's type. For this resource it will always be - # `routing_number`. - type:, - # This routing number's support for Wire Transfers. - wire_transfers: + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: ) end sig do override.returns( { - ach_transfers: - Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol, - fednow_transfers: - Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol, - name: String, - real_time_payments_transfers: - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol, - routing_number: String, - type: - Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol, - wire_transfers: - Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol + data: T::Array[Increase::Models::RoutingNumberListResponse::Data], + next_cursor: T.nilable(String) } ) end def to_hash end - # This routing number's support for ACH Transfers. - module ACHTransfers - extend Increase::Internal::Type::Enum - - TaggedSymbol = + class Data < Increase::Internal::Type::BaseModel + OrHash = T.type_alias do - T.all( - Symbol, - Increase::Models::RoutingNumberListResponse::ACHTransfers + T.any( + Increase::Models::RoutingNumberListResponse::Data, + Increase::Internal::AnyHash ) end - OrSymbol = T.type_alias { T.any(Symbol, String) } - # The routing number can receive this transfer type. - SUPPORTED = - T.let( - :supported, - Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol + # This routing number's support for ACH Transfers. + sig do + returns( + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol ) + end + attr_accessor :ach_transfers - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol + # This routing number's support for FedNow Transfers. + sig do + returns( + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol ) + end + attr_accessor :fednow_transfers + # The name of the financial institution belonging to a routing number. + sig { returns(String) } + attr_accessor :name + + # This routing number's support for Real-Time Payments Transfers. sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol - ] + returns( + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol ) end - def self.values - end - end + attr_accessor :real_time_payments_transfers - # This routing number's support for FedNow Transfers. - module FednowTransfers - extend Increase::Internal::Type::Enum - - TaggedSymbol = - T.type_alias do - T.all( - Symbol, - Increase::Models::RoutingNumberListResponse::FednowTransfers - ) - end - OrSymbol = T.type_alias { T.any(Symbol, String) } + # The nine digit routing number identifier. + sig { returns(String) } + attr_accessor :routing_number - # The routing number can receive this transfer type. - SUPPORTED = - T.let( - :supported, - Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + sig do + returns( + Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol ) + end + attr_accessor :type - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol + # This routing number's support for Wire Transfers. + sig do + returns( + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol ) + end + attr_accessor :wire_transfers + + # Routing numbers are used to identify your bank in a financial transaction. + sig do + params( + ach_transfers: + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::OrSymbol, + fednow_transfers: + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::OrSymbol, + name: String, + real_time_payments_transfers: + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::OrSymbol, + routing_number: String, + type: + Increase::Models::RoutingNumberListResponse::Data::Type::OrSymbol, + wire_transfers: + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::OrSymbol + ).returns(T.attached_class) + end + def self.new( + # This routing number's support for ACH Transfers. + ach_transfers:, + # This routing number's support for FedNow Transfers. + fednow_transfers:, + # The name of the financial institution belonging to a routing number. + name:, + # This routing number's support for Real-Time Payments Transfers. + real_time_payments_transfers:, + # The nine digit routing number identifier. + routing_number:, + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + type:, + # This routing number's support for Wire Transfers. + wire_transfers: + ) + end sig do override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol - ] + { + ach_transfers: + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol, + fednow_transfers: + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol, + name: String, + real_time_payments_transfers: + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol, + routing_number: String, + type: + Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol, + wire_transfers: + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol + } ) end - def self.values + def to_hash end - end - # This routing number's support for Real-Time Payments Transfers. - module RealTimePaymentsTransfers - extend Increase::Internal::Type::Enum + # This routing number's support for ACH Transfers. + module ACHTransfers + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol + ) - TaggedSymbol = - T.type_alias do - T.all( - Symbol, - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol + ] ) end - OrSymbol = T.type_alias { T.any(Symbol, String) } + def self.values + end + end - # The routing number can receive this transfer type. - SUPPORTED = - T.let( - :supported, - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol - ) + # This routing number's support for FedNow Transfers. + module FednowTransfers + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol + ) - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol - ) + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol + ) - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol - ] - ) - end - def self.values + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol + ] + ) + end + def self.values + end end - end - - # A constant representing the object's type. For this resource it will always be - # `routing_number`. - module Type - extend Increase::Internal::Type::Enum - TaggedSymbol = - T.type_alias do - T.all(Symbol, Increase::Models::RoutingNumberListResponse::Type) - end - OrSymbol = T.type_alias { T.any(Symbol, String) } + # This routing number's support for Real-Time Payments Transfers. + module RealTimePaymentsTransfers + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol + ) - ROUTING_NUMBER = - T.let( - :routing_number, - Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol - ) + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol + ) - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol - ] - ) - end - def self.values + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol + ] + ) + end + def self.values + end end - end - # This routing number's support for Wire Transfers. - module WireTransfers - extend Increase::Internal::Type::Enum + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + module Type + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::Data::Type + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + ROUTING_NUMBER = + T.let( + :routing_number, + Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol + ) - TaggedSymbol = - T.type_alias do - T.all( - Symbol, - Increase::Models::RoutingNumberListResponse::WireTransfers + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol + ] ) end - OrSymbol = T.type_alias { T.any(Symbol, String) } + def self.values + end + end - # The routing number can receive this transfer type. - SUPPORTED = - T.let( - :supported, - Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol - ) + # This routing number's support for Wire Transfers. + module WireTransfers + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::Data::WireTransfers + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol + ) - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol - ) + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol + ) - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol - ] - ) - end - def self.values + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol + ] + ) + end + def self.values + end end end end diff --git a/rbi/increase/models/supplemental_document_list_response.rbi b/rbi/increase/models/supplemental_document_list_response.rbi new file mode 100644 index 000000000..d3164c1b6 --- /dev/null +++ b/rbi/increase/models/supplemental_document_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class SupplementalDocumentListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::SupplementalDocumentListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::EntitySupplementalDocument]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Supplemental Document objects. + sig do + params( + data: T::Array[Increase::EntitySupplementalDocument::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::EntitySupplementalDocument], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/transaction_list_response.rbi b/rbi/increase/models/transaction_list_response.rbi new file mode 100644 index 000000000..5ca8020ac --- /dev/null +++ b/rbi/increase/models/transaction_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class TransactionListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::TransactionListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::Transaction]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Transaction objects. + sig do + params( + data: T::Array[Increase::Transaction::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::Transaction], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/wire_drawdown_request_list_response.rbi b/rbi/increase/models/wire_drawdown_request_list_response.rbi new file mode 100644 index 000000000..5021d13bc --- /dev/null +++ b/rbi/increase/models/wire_drawdown_request_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class WireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::WireDrawdownRequestListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::WireDrawdownRequest]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Wire Drawdown Request objects. + sig do + params( + data: T::Array[Increase::WireDrawdownRequest::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::WireDrawdownRequest], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/models/wire_transfer_list_response.rbi b/rbi/increase/models/wire_transfer_list_response.rbi new file mode 100644 index 000000000..fc2ed1127 --- /dev/null +++ b/rbi/increase/models/wire_transfer_list_response.rbi @@ -0,0 +1,49 @@ +# typed: strong + +module Increase + module Models + class WireTransferListResponse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Models::WireTransferListResponse, + Increase::Internal::AnyHash + ) + end + + # The contents of the list. + sig { returns(T::Array[Increase::WireTransfer]) } + attr_accessor :data + + # A pointer to a place in the list. + sig { returns(T.nilable(String)) } + attr_accessor :next_cursor + + # A list of Wire Transfer objects. + sig do + params( + data: T::Array[Increase::WireTransfer::OrHash], + next_cursor: T.nilable(String) + ).returns(T.attached_class) + end + def self.new( + # The contents of the list. + data:, + # A pointer to a place in the list. + next_cursor: + ) + end + + sig do + override.returns( + { + data: T::Array[Increase::WireTransfer], + next_cursor: T.nilable(String) + } + ) + end + def to_hash + end + end + end +end diff --git a/rbi/increase/resources/account_numbers.rbi b/rbi/increase/resources/account_numbers.rbi index 6f7018b97..590cf1590 100644 --- a/rbi/increase/resources/account_numbers.rbi +++ b/rbi/increase/resources/account_numbers.rbi @@ -82,7 +82,7 @@ module Increase limit: Integer, status: Increase::AccountNumberListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::AccountNumber]) + ).returns(Increase::Models::AccountNumberListResponse) end def list( # Filter Account Numbers to those belonging to the specified Account. diff --git a/rbi/increase/resources/account_statements.rbi b/rbi/increase/resources/account_statements.rbi index 0ed839b93..2021376c6 100644 --- a/rbi/increase/resources/account_statements.rbi +++ b/rbi/increase/resources/account_statements.rbi @@ -26,7 +26,7 @@ module Increase statement_period_start: Increase::AccountStatementListParams::StatementPeriodStart::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::AccountStatement]) + ).returns(Increase::Models::AccountStatementListResponse) end def list( # Filter Account Statements to those belonging to the specified Account. diff --git a/rbi/increase/resources/account_transfers.rbi b/rbi/increase/resources/account_transfers.rbi index 9d19af291..2ef630f1a 100644 --- a/rbi/increase/resources/account_transfers.rbi +++ b/rbi/increase/resources/account_transfers.rbi @@ -56,7 +56,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::AccountTransfer]) + ).returns(Increase::Models::AccountTransferListResponse) end def list( # Filter Account Transfers to those that originated from the specified Account. diff --git a/rbi/increase/resources/accounts.rbi b/rbi/increase/resources/accounts.rbi index 90dc90c68..941706137 100644 --- a/rbi/increase/resources/accounts.rbi +++ b/rbi/increase/resources/accounts.rbi @@ -75,7 +75,7 @@ module Increase program_id: String, status: Increase::AccountListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Account]) + ).returns(Increase::Models::AccountListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/ach_prenotifications.rbi b/rbi/increase/resources/ach_prenotifications.rbi index 915593e0c..d35460650 100644 --- a/rbi/increase/resources/ach_prenotifications.rbi +++ b/rbi/increase/resources/ach_prenotifications.rbi @@ -80,7 +80,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::ACHPrenotification]) + ).returns(Increase::Models::ACHPrenotificationListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/ach_transfers.rbi b/rbi/increase/resources/ach_transfers.rbi index eec0f55d9..08eeca6e9 100644 --- a/rbi/increase/resources/ach_transfers.rbi +++ b/rbi/increase/resources/ach_transfers.rbi @@ -119,7 +119,7 @@ module Increase limit: Integer, status: Increase::ACHTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::ACHTransfer]) + ).returns(Increase::Models::ACHTransferListResponse) end def list( # Filter ACH Transfers to those that originated from the specified Account. diff --git a/rbi/increase/resources/bookkeeping_accounts.rbi b/rbi/increase/resources/bookkeeping_accounts.rbi index a33f257ad..18cbf9b8a 100644 --- a/rbi/increase/resources/bookkeeping_accounts.rbi +++ b/rbi/increase/resources/bookkeeping_accounts.rbi @@ -51,7 +51,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::BookkeepingAccount]) + ).returns(Increase::Models::BookkeepingAccountListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/bookkeeping_entries.rbi b/rbi/increase/resources/bookkeeping_entries.rbi index c6b89b218..af2c9c0a3 100644 --- a/rbi/increase/resources/bookkeeping_entries.rbi +++ b/rbi/increase/resources/bookkeeping_entries.rbi @@ -24,7 +24,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::BookkeepingEntry]) + ).returns(Increase::Models::BookkeepingEntryListResponse) end def list( # The identifier for the Bookkeeping Account to filter by. diff --git a/rbi/increase/resources/bookkeeping_entry_sets.rbi b/rbi/increase/resources/bookkeeping_entry_sets.rbi index 141a79347..9a5cd8b73 100644 --- a/rbi/increase/resources/bookkeeping_entry_sets.rbi +++ b/rbi/increase/resources/bookkeeping_entry_sets.rbi @@ -47,7 +47,7 @@ module Increase limit: Integer, transaction_id: String, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::BookkeepingEntrySet]) + ).returns(Increase::Models::BookkeepingEntrySetListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/card_disputes.rbi b/rbi/increase/resources/card_disputes.rbi index c706efd9b..c198c0dc3 100644 --- a/rbi/increase/resources/card_disputes.rbi +++ b/rbi/increase/resources/card_disputes.rbi @@ -59,7 +59,7 @@ module Increase limit: Integer, status: Increase::CardDisputeListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardDispute]) + ).returns(Increase::Models::CardDisputeListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/card_payments.rbi b/rbi/increase/resources/card_payments.rbi index ec0c80ea4..92a52099d 100644 --- a/rbi/increase/resources/card_payments.rbi +++ b/rbi/increase/resources/card_payments.rbi @@ -26,7 +26,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardPayment]) + ).returns(Increase::Models::CardPaymentListResponse) end def list( # Filter Card Payments to ones belonging to the specified Account. diff --git a/rbi/increase/resources/card_purchase_supplements.rbi b/rbi/increase/resources/card_purchase_supplements.rbi index ea3c13557..c97f7bbc1 100644 --- a/rbi/increase/resources/card_purchase_supplements.rbi +++ b/rbi/increase/resources/card_purchase_supplements.rbi @@ -26,7 +26,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardPurchaseSupplement]) + ).returns(Increase::Models::CardPurchaseSupplementListResponse) end def list( # Filter Card Purchase Supplements to ones belonging to the specified Card diff --git a/rbi/increase/resources/card_push_transfers.rbi b/rbi/increase/resources/card_push_transfers.rbi index b6db20c0e..bdfa5fa40 100644 --- a/rbi/increase/resources/card_push_transfers.rbi +++ b/rbi/increase/resources/card_push_transfers.rbi @@ -102,7 +102,7 @@ module Increase limit: Integer, status: Increase::CardPushTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardPushTransfer]) + ).returns(Increase::Models::CardPushTransferListResponse) end def list( # Filter Card Push Transfers to ones belonging to the specified Account. diff --git a/rbi/increase/resources/card_tokens.rbi b/rbi/increase/resources/card_tokens.rbi index 985fdd235..d9df85e0f 100644 --- a/rbi/increase/resources/card_tokens.rbi +++ b/rbi/increase/resources/card_tokens.rbi @@ -24,7 +24,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardToken]) + ).returns(Increase::Models::CardTokenListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/card_validations.rbi b/rbi/increase/resources/card_validations.rbi index 36952cc7e..a514d8504 100644 --- a/rbi/increase/resources/card_validations.rbi +++ b/rbi/increase/resources/card_validations.rbi @@ -77,7 +77,7 @@ module Increase limit: Integer, status: Increase::CardValidationListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CardValidation]) + ).returns(Increase::Models::CardValidationListResponse) end def list( # Filter Card Validations to ones belonging to the specified Account. diff --git a/rbi/increase/resources/cards.rbi b/rbi/increase/resources/cards.rbi index f054661ce..5dd729207 100644 --- a/rbi/increase/resources/cards.rbi +++ b/rbi/increase/resources/cards.rbi @@ -90,7 +90,7 @@ module Increase limit: Integer, status: Increase::CardListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Card]) + ).returns(Increase::Models::CardListResponse) end def list( # Filter Cards to ones belonging to the specified Account. diff --git a/rbi/increase/resources/check_deposits.rbi b/rbi/increase/resources/check_deposits.rbi index e4d8de103..1c9d0fdf0 100644 --- a/rbi/increase/resources/check_deposits.rbi +++ b/rbi/increase/resources/check_deposits.rbi @@ -52,7 +52,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CheckDeposit]) + ).returns(Increase::Models::CheckDepositListResponse) end def list( # Filter Check Deposits to those belonging to the specified Account. diff --git a/rbi/increase/resources/check_transfers.rbi b/rbi/increase/resources/check_transfers.rbi index de5f473cf..618521819 100644 --- a/rbi/increase/resources/check_transfers.rbi +++ b/rbi/increase/resources/check_transfers.rbi @@ -82,7 +82,7 @@ module Increase limit: Integer, status: Increase::CheckTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::CheckTransfer]) + ).returns(Increase::Models::CheckTransferListResponse) end def list( # Filter Check Transfers to those that originated from the specified Account. diff --git a/rbi/increase/resources/declined_transactions.rbi b/rbi/increase/resources/declined_transactions.rbi index e09ca6f3b..5aed55dd7 100644 --- a/rbi/increase/resources/declined_transactions.rbi +++ b/rbi/increase/resources/declined_transactions.rbi @@ -28,7 +28,7 @@ module Increase limit: Integer, route_id: String, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::DeclinedTransaction]) + ).returns(Increase::Models::DeclinedTransactionListResponse) end def list( # Filter Declined Transactions to ones belonging to the specified Account. diff --git a/rbi/increase/resources/digital_card_profiles.rbi b/rbi/increase/resources/digital_card_profiles.rbi index 46ee950a6..43d7a63e0 100644 --- a/rbi/increase/resources/digital_card_profiles.rbi +++ b/rbi/increase/resources/digital_card_profiles.rbi @@ -64,7 +64,7 @@ module Increase limit: Integer, status: Increase::DigitalCardProfileListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::DigitalCardProfile]) + ).returns(Increase::Models::DigitalCardProfileListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/digital_wallet_tokens.rbi b/rbi/increase/resources/digital_wallet_tokens.rbi index edfcd600b..61cfaa7b2 100644 --- a/rbi/increase/resources/digital_wallet_tokens.rbi +++ b/rbi/increase/resources/digital_wallet_tokens.rbi @@ -25,7 +25,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::DigitalWalletToken]) + ).returns(Increase::Models::DigitalWalletTokenListResponse) end def list( # Filter Digital Wallet Tokens to ones belonging to the specified Card. diff --git a/rbi/increase/resources/documents.rbi b/rbi/increase/resources/documents.rbi index 3fe022546..6c2d5dc7d 100644 --- a/rbi/increase/resources/documents.rbi +++ b/rbi/increase/resources/documents.rbi @@ -51,7 +51,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Document]) + ).returns(Increase::Models::DocumentListResponse) end def list( category: nil, diff --git a/rbi/increase/resources/entities.rbi b/rbi/increase/resources/entities.rbi index cfc592221..3432d876d 100644 --- a/rbi/increase/resources/entities.rbi +++ b/rbi/increase/resources/entities.rbi @@ -128,7 +128,7 @@ module Increase limit: Integer, status: Increase::EntityListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Entity]) + ).returns(Increase::Models::EntityListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/event_subscriptions.rbi b/rbi/increase/resources/event_subscriptions.rbi index 046588e28..d364dc257 100644 --- a/rbi/increase/resources/event_subscriptions.rbi +++ b/rbi/increase/resources/event_subscriptions.rbi @@ -71,7 +71,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::EventSubscription]) + ).returns(Increase::Models::EventSubscriptionListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/events.rbi b/rbi/increase/resources/events.rbi index 156fd456f..c356c62cb 100644 --- a/rbi/increase/resources/events.rbi +++ b/rbi/increase/resources/events.rbi @@ -26,7 +26,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Event]) + ).returns(Increase::Models::EventListResponse) end def list( # Filter Events to those belonging to the object with the provided identifier. diff --git a/rbi/increase/resources/exports.rbi b/rbi/increase/resources/exports.rbi index b130f90fa..d61ff34d2 100644 --- a/rbi/increase/resources/exports.rbi +++ b/rbi/increase/resources/exports.rbi @@ -70,7 +70,7 @@ module Increase limit: Integer, status: Increase::ExportListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Export]) + ).returns(Increase::Models::ExportListResponse) end def list( category: nil, diff --git a/rbi/increase/resources/external_accounts.rbi b/rbi/increase/resources/external_accounts.rbi index 36f2a0423..750d758f2 100644 --- a/rbi/increase/resources/external_accounts.rbi +++ b/rbi/increase/resources/external_accounts.rbi @@ -81,7 +81,7 @@ module Increase routing_number: String, status: Increase::ExternalAccountListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::ExternalAccount]) + ).returns(Increase::Models::ExternalAccountListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/fednow_transfers.rbi b/rbi/increase/resources/fednow_transfers.rbi index 3ca108685..231649db4 100644 --- a/rbi/increase/resources/fednow_transfers.rbi +++ b/rbi/increase/resources/fednow_transfers.rbi @@ -78,7 +78,7 @@ module Increase limit: Integer, status: Increase::FednowTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::FednowTransfer]) + ).returns(Increase::Models::FednowTransferListResponse) end def list( # Filter FedNow Transfers to those that originated from the specified Account. diff --git a/rbi/increase/resources/files.rbi b/rbi/increase/resources/files.rbi index 9c69bf0e5..356f39560 100644 --- a/rbi/increase/resources/files.rbi +++ b/rbi/increase/resources/files.rbi @@ -50,7 +50,7 @@ module Increase limit: Integer, purpose: Increase::FileListParams::Purpose::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::File]) + ).returns(Increase::Models::FileListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/inbound_ach_transfers.rbi b/rbi/increase/resources/inbound_ach_transfers.rbi index 134e8962e..9f610ce8d 100644 --- a/rbi/increase/resources/inbound_ach_transfers.rbi +++ b/rbi/increase/resources/inbound_ach_transfers.rbi @@ -27,7 +27,7 @@ module Increase limit: Integer, status: Increase::InboundACHTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::InboundACHTransfer]) + ).returns(Increase::Models::InboundACHTransferListResponse) end def list( # Filter Inbound ACH Transfers to ones belonging to the specified Account. diff --git a/rbi/increase/resources/inbound_check_deposits.rbi b/rbi/increase/resources/inbound_check_deposits.rbi index 3065c9b5f..1b4509475 100644 --- a/rbi/increase/resources/inbound_check_deposits.rbi +++ b/rbi/increase/resources/inbound_check_deposits.rbi @@ -27,7 +27,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::InboundCheckDeposit]) + ).returns(Increase::Models::InboundCheckDepositListResponse) end def list( # Filter Inbound Check Deposits to those belonging to the specified Account. diff --git a/rbi/increase/resources/inbound_fednow_transfers.rbi b/rbi/increase/resources/inbound_fednow_transfers.rbi index 53692aaa2..70a4c2229 100644 --- a/rbi/increase/resources/inbound_fednow_transfers.rbi +++ b/rbi/increase/resources/inbound_fednow_transfers.rbi @@ -27,7 +27,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::InboundFednowTransfer]) + ).returns(Increase::Models::InboundFednowTransferListResponse) end def list( # Filter Inbound FedNow Transfers to those belonging to the specified Account. diff --git a/rbi/increase/resources/inbound_mail_items.rbi b/rbi/increase/resources/inbound_mail_items.rbi index 6d6736ee5..74086a665 100644 --- a/rbi/increase/resources/inbound_mail_items.rbi +++ b/rbi/increase/resources/inbound_mail_items.rbi @@ -25,7 +25,7 @@ module Increase limit: Integer, lockbox_id: String, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::InboundMailItem]) + ).returns(Increase::Models::InboundMailItemListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/inbound_real_time_payments_transfers.rbi b/rbi/increase/resources/inbound_real_time_payments_transfers.rbi index f8110474e..898cb7616 100644 --- a/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +++ b/rbi/increase/resources/inbound_real_time_payments_transfers.rbi @@ -27,9 +27,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns( - Increase::Internal::Page[Increase::InboundRealTimePaymentsTransfer] - ) + ).returns(Increase::Models::InboundRealTimePaymentsTransferListResponse) end def list( # Filter Inbound Real-Time Payments Transfers to those belonging to the specified diff --git a/rbi/increase/resources/inbound_wire_drawdown_requests.rbi b/rbi/increase/resources/inbound_wire_drawdown_requests.rbi index e877ad3b6..82c0d69fa 100644 --- a/rbi/increase/resources/inbound_wire_drawdown_requests.rbi +++ b/rbi/increase/resources/inbound_wire_drawdown_requests.rbi @@ -23,9 +23,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns( - Increase::Internal::Page[Increase::InboundWireDrawdownRequest] - ) + ).returns(Increase::Models::InboundWireDrawdownRequestListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/inbound_wire_transfers.rbi b/rbi/increase/resources/inbound_wire_transfers.rbi index 66c72cb8f..8ed14f403 100644 --- a/rbi/increase/resources/inbound_wire_transfers.rbi +++ b/rbi/increase/resources/inbound_wire_transfers.rbi @@ -29,7 +29,7 @@ module Increase status: Increase::InboundWireTransferListParams::Status::OrHash, wire_drawdown_request_id: String, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::InboundWireTransfer]) + ).returns(Increase::Models::InboundWireTransferListResponse) end def list( # Filter Inbound Wire Transfers to ones belonging to the specified Account. diff --git a/rbi/increase/resources/intrafi_account_enrollments.rbi b/rbi/increase/resources/intrafi_account_enrollments.rbi index 7e6f503ed..391ad0f5a 100644 --- a/rbi/increase/resources/intrafi_account_enrollments.rbi +++ b/rbi/increase/resources/intrafi_account_enrollments.rbi @@ -43,7 +43,7 @@ module Increase limit: Integer, status: Increase::IntrafiAccountEnrollmentListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::IntrafiAccountEnrollment]) + ).returns(Increase::Models::IntrafiAccountEnrollmentListResponse) end def list( # Filter IntraFi Account Enrollments to the one belonging to an account. diff --git a/rbi/increase/resources/intrafi_exclusions.rbi b/rbi/increase/resources/intrafi_exclusions.rbi index 9e8cebea1..8e4041f74 100644 --- a/rbi/increase/resources/intrafi_exclusions.rbi +++ b/rbi/increase/resources/intrafi_exclusions.rbi @@ -42,7 +42,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::IntrafiExclusion]) + ).returns(Increase::Models::IntrafiExclusionListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/lockboxes.rbi b/rbi/increase/resources/lockboxes.rbi index 276b99137..1fb1c40a6 100644 --- a/rbi/increase/resources/lockboxes.rbi +++ b/rbi/increase/resources/lockboxes.rbi @@ -70,7 +70,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Lockbox]) + ).returns(Increase::Models::LockboxListResponse) end def list( # Filter Lockboxes to those associated with the provided Account. diff --git a/rbi/increase/resources/oauth_applications.rbi b/rbi/increase/resources/oauth_applications.rbi index a9adb663a..c72f3e9c3 100644 --- a/rbi/increase/resources/oauth_applications.rbi +++ b/rbi/increase/resources/oauth_applications.rbi @@ -25,7 +25,7 @@ module Increase limit: Integer, status: Increase::OAuthApplicationListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::OAuthApplication]) + ).returns(Increase::Models::OAuthApplicationListResponse) end def list( created_at: nil, diff --git a/rbi/increase/resources/oauth_connections.rbi b/rbi/increase/resources/oauth_connections.rbi index e1184a7fe..4906f192f 100644 --- a/rbi/increase/resources/oauth_connections.rbi +++ b/rbi/increase/resources/oauth_connections.rbi @@ -25,7 +25,7 @@ module Increase oauth_application_id: String, status: Increase::OAuthConnectionListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::OAuthConnection]) + ).returns(Increase::Models::OAuthConnectionListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/pending_transactions.rbi b/rbi/increase/resources/pending_transactions.rbi index 8a4ab1272..62b9841d6 100644 --- a/rbi/increase/resources/pending_transactions.rbi +++ b/rbi/increase/resources/pending_transactions.rbi @@ -53,7 +53,7 @@ module Increase route_id: String, status: Increase::PendingTransactionListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::PendingTransaction]) + ).returns(Increase::Models::PendingTransactionListResponse) end def list( # Filter pending transactions to those belonging to the specified Account. diff --git a/rbi/increase/resources/physical_card_profiles.rbi b/rbi/increase/resources/physical_card_profiles.rbi index 8184e3534..17c616653 100644 --- a/rbi/increase/resources/physical_card_profiles.rbi +++ b/rbi/increase/resources/physical_card_profiles.rbi @@ -56,7 +56,7 @@ module Increase limit: Integer, status: Increase::PhysicalCardProfileListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::PhysicalCardProfile]) + ).returns(Increase::Models::PhysicalCardProfileListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/physical_cards.rbi b/rbi/increase/resources/physical_cards.rbi index ece1db753..5841379d6 100644 --- a/rbi/increase/resources/physical_cards.rbi +++ b/rbi/increase/resources/physical_cards.rbi @@ -67,7 +67,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::PhysicalCard]) + ).returns(Increase::Models::PhysicalCardListResponse) end def list( # Filter Physical Cards to ones belonging to the specified Card. diff --git a/rbi/increase/resources/programs.rbi b/rbi/increase/resources/programs.rbi index a206c512f..2b9a5a210 100644 --- a/rbi/increase/resources/programs.rbi +++ b/rbi/increase/resources/programs.rbi @@ -23,7 +23,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Program]) + ).returns(Increase::Models::ProgramListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/real_time_payments_transfers.rbi b/rbi/increase/resources/real_time_payments_transfers.rbi index e2b5e08a1..c299990f7 100644 --- a/rbi/increase/resources/real_time_payments_transfers.rbi +++ b/rbi/increase/resources/real_time_payments_transfers.rbi @@ -80,7 +80,7 @@ module Increase limit: Integer, status: Increase::RealTimePaymentsTransferListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::RealTimePaymentsTransfer]) + ).returns(Increase::Models::RealTimePaymentsTransferListResponse) end def list( # Filter Real-Time Payments Transfers to those belonging to the specified Account. diff --git a/rbi/increase/resources/routing_numbers.rbi b/rbi/increase/resources/routing_numbers.rbi index a3ffb3adb..1c95610f2 100644 --- a/rbi/increase/resources/routing_numbers.rbi +++ b/rbi/increase/resources/routing_numbers.rbi @@ -13,9 +13,7 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns( - Increase::Internal::Page[Increase::Models::RoutingNumberListResponse] - ) + ).returns(Increase::Models::RoutingNumberListResponse) end def list( # Filter financial institutions by routing number. diff --git a/rbi/increase/resources/supplemental_documents.rbi b/rbi/increase/resources/supplemental_documents.rbi index ef65da7f7..8fad0d819 100644 --- a/rbi/increase/resources/supplemental_documents.rbi +++ b/rbi/increase/resources/supplemental_documents.rbi @@ -28,9 +28,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns( - Increase::Internal::Page[Increase::EntitySupplementalDocument] - ) + ).returns(Increase::Models::SupplementalDocumentListResponse) end def list( # The identifier of the Entity to list supplemental documents for. diff --git a/rbi/increase/resources/transactions.rbi b/rbi/increase/resources/transactions.rbi index 93e6743a0..21bac3460 100644 --- a/rbi/increase/resources/transactions.rbi +++ b/rbi/increase/resources/transactions.rbi @@ -27,7 +27,7 @@ module Increase limit: Integer, route_id: String, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::Transaction]) + ).returns(Increase::Models::TransactionListResponse) end def list( # Filter Transactions for those belonging to the specified Account. diff --git a/rbi/increase/resources/wire_drawdown_requests.rbi b/rbi/increase/resources/wire_drawdown_requests.rbi index f8892cf06..39b3b59e2 100644 --- a/rbi/increase/resources/wire_drawdown_requests.rbi +++ b/rbi/increase/resources/wire_drawdown_requests.rbi @@ -69,7 +69,7 @@ module Increase limit: Integer, status: Increase::WireDrawdownRequestListParams::Status::OrHash, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::WireDrawdownRequest]) + ).returns(Increase::Models::WireDrawdownRequestListResponse) end def list( # Return the page of entries after this one. diff --git a/rbi/increase/resources/wire_transfers.rbi b/rbi/increase/resources/wire_transfers.rbi index b087a7bf8..37212a863 100644 --- a/rbi/increase/resources/wire_transfers.rbi +++ b/rbi/increase/resources/wire_transfers.rbi @@ -76,7 +76,7 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Internal::Page[Increase::WireTransfer]) + ).returns(Increase::Models::WireTransferListResponse) end def list( # Filter Wire Transfers to those belonging to the specified Account. diff --git a/sig/increase/internal/page.rbs b/sig/increase/internal/page.rbs index d39131f45..0d82e3c63 100644 --- a/sig/increase/internal/page.rbs +++ b/sig/increase/internal/page.rbs @@ -3,9 +3,9 @@ module Increase class Page[Elem] include Increase::Internal::Type::BasePage[Elem] - attr_accessor data: ::Array[Elem]? + attr_accessor data: top - attr_accessor next_cursor: String? + attr_accessor next_cursor: top def inspect: -> String end diff --git a/sig/increase/models/account_list_response.rbs b/sig/increase/models/account_list_response.rbs new file mode 100644 index 000000000..232997b94 --- /dev/null +++ b/sig/increase/models/account_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type account_list_response = + { data: ::Array[Increase::Account], next_cursor: String? } + + class AccountListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Account] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Account], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Account], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/account_number_list_response.rbs b/sig/increase/models/account_number_list_response.rbs new file mode 100644 index 000000000..1ed765594 --- /dev/null +++ b/sig/increase/models/account_number_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type account_number_list_response = + { data: ::Array[Increase::AccountNumber], next_cursor: String? } + + class AccountNumberListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::AccountNumber] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::AccountNumber], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::AccountNumber], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/account_statement_list_response.rbs b/sig/increase/models/account_statement_list_response.rbs new file mode 100644 index 000000000..6ae0b1dc1 --- /dev/null +++ b/sig/increase/models/account_statement_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type account_statement_list_response = + { data: ::Array[Increase::AccountStatement], next_cursor: String? } + + class AccountStatementListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::AccountStatement] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::AccountStatement], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::AccountStatement], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/account_transfer_list_response.rbs b/sig/increase/models/account_transfer_list_response.rbs new file mode 100644 index 000000000..f19b7916d --- /dev/null +++ b/sig/increase/models/account_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type account_transfer_list_response = + { data: ::Array[Increase::AccountTransfer], next_cursor: String? } + + class AccountTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::AccountTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::AccountTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::AccountTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/ach_prenotification_list_response.rbs b/sig/increase/models/ach_prenotification_list_response.rbs new file mode 100644 index 000000000..347f90b8b --- /dev/null +++ b/sig/increase/models/ach_prenotification_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type ach_prenotification_list_response = + { data: ::Array[Increase::ACHPrenotification], next_cursor: String? } + + class ACHPrenotificationListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::ACHPrenotification] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::ACHPrenotification], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::ACHPrenotification], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/ach_transfer_list_response.rbs b/sig/increase/models/ach_transfer_list_response.rbs new file mode 100644 index 000000000..c89e3887e --- /dev/null +++ b/sig/increase/models/ach_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type ach_transfer_list_response = + { data: ::Array[Increase::ACHTransfer], next_cursor: String? } + + class ACHTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::ACHTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::ACHTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::ACHTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/bookkeeping_account_list_response.rbs b/sig/increase/models/bookkeeping_account_list_response.rbs new file mode 100644 index 000000000..f0944fcf7 --- /dev/null +++ b/sig/increase/models/bookkeeping_account_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type bookkeeping_account_list_response = + { data: ::Array[Increase::BookkeepingAccount], next_cursor: String? } + + class BookkeepingAccountListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::BookkeepingAccount] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::BookkeepingAccount], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::BookkeepingAccount], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/bookkeeping_entry_list_response.rbs b/sig/increase/models/bookkeeping_entry_list_response.rbs new file mode 100644 index 000000000..201bb040f --- /dev/null +++ b/sig/increase/models/bookkeeping_entry_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type bookkeeping_entry_list_response = + { data: ::Array[Increase::BookkeepingEntry], next_cursor: String? } + + class BookkeepingEntryListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::BookkeepingEntry] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::BookkeepingEntry], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::BookkeepingEntry], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/bookkeeping_entry_set_list_response.rbs b/sig/increase/models/bookkeeping_entry_set_list_response.rbs new file mode 100644 index 000000000..56038ba4e --- /dev/null +++ b/sig/increase/models/bookkeeping_entry_set_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type bookkeeping_entry_set_list_response = + { data: ::Array[Increase::BookkeepingEntrySet], next_cursor: String? } + + class BookkeepingEntrySetListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::BookkeepingEntrySet] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::BookkeepingEntrySet], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::BookkeepingEntrySet], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_dispute_list_response.rbs b/sig/increase/models/card_dispute_list_response.rbs new file mode 100644 index 000000000..b5aa08609 --- /dev/null +++ b/sig/increase/models/card_dispute_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_dispute_list_response = + { data: ::Array[Increase::CardDispute], next_cursor: String? } + + class CardDisputeListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardDispute] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardDispute], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardDispute], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_list_response.rbs b/sig/increase/models/card_list_response.rbs new file mode 100644 index 000000000..ca73d3eae --- /dev/null +++ b/sig/increase/models/card_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type card_list_response = + { data: ::Array[Increase::Card], next_cursor: String? } + + class CardListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Card] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Card], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Card], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/card_payment_list_response.rbs b/sig/increase/models/card_payment_list_response.rbs new file mode 100644 index 000000000..749578d38 --- /dev/null +++ b/sig/increase/models/card_payment_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_payment_list_response = + { data: ::Array[Increase::CardPayment], next_cursor: String? } + + class CardPaymentListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardPayment] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardPayment], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardPayment], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_purchase_supplement_list_response.rbs b/sig/increase/models/card_purchase_supplement_list_response.rbs new file mode 100644 index 000000000..bb4dbc88c --- /dev/null +++ b/sig/increase/models/card_purchase_supplement_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_purchase_supplement_list_response = + { data: ::Array[Increase::CardPurchaseSupplement], next_cursor: String? } + + class CardPurchaseSupplementListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardPurchaseSupplement] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardPurchaseSupplement], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardPurchaseSupplement], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_push_transfer_list_response.rbs b/sig/increase/models/card_push_transfer_list_response.rbs new file mode 100644 index 000000000..2d1695f5e --- /dev/null +++ b/sig/increase/models/card_push_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_push_transfer_list_response = + { data: ::Array[Increase::CardPushTransfer], next_cursor: String? } + + class CardPushTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardPushTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardPushTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardPushTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_token_list_response.rbs b/sig/increase/models/card_token_list_response.rbs new file mode 100644 index 000000000..ef128b241 --- /dev/null +++ b/sig/increase/models/card_token_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_token_list_response = + { data: ::Array[Increase::CardToken], next_cursor: String? } + + class CardTokenListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardToken] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardToken], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardToken], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/card_validation_list_response.rbs b/sig/increase/models/card_validation_list_response.rbs new file mode 100644 index 000000000..6bf09499a --- /dev/null +++ b/sig/increase/models/card_validation_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type card_validation_list_response = + { data: ::Array[Increase::CardValidation], next_cursor: String? } + + class CardValidationListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CardValidation] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CardValidation], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CardValidation], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/check_deposit_list_response.rbs b/sig/increase/models/check_deposit_list_response.rbs new file mode 100644 index 000000000..c469adf12 --- /dev/null +++ b/sig/increase/models/check_deposit_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type check_deposit_list_response = + { data: ::Array[Increase::CheckDeposit], next_cursor: String? } + + class CheckDepositListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CheckDeposit] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CheckDeposit], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CheckDeposit], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/check_transfer_list_response.rbs b/sig/increase/models/check_transfer_list_response.rbs new file mode 100644 index 000000000..4e5c3cccf --- /dev/null +++ b/sig/increase/models/check_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type check_transfer_list_response = + { data: ::Array[Increase::CheckTransfer], next_cursor: String? } + + class CheckTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::CheckTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::CheckTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::CheckTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/declined_transaction_list_response.rbs b/sig/increase/models/declined_transaction_list_response.rbs new file mode 100644 index 000000000..299c84d0c --- /dev/null +++ b/sig/increase/models/declined_transaction_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type declined_transaction_list_response = + { data: ::Array[Increase::DeclinedTransaction], next_cursor: String? } + + class DeclinedTransactionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::DeclinedTransaction] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::DeclinedTransaction], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::DeclinedTransaction], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/digital_card_profile_list_response.rbs b/sig/increase/models/digital_card_profile_list_response.rbs new file mode 100644 index 000000000..f01945200 --- /dev/null +++ b/sig/increase/models/digital_card_profile_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type digital_card_profile_list_response = + { data: ::Array[Increase::DigitalCardProfile], next_cursor: String? } + + class DigitalCardProfileListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::DigitalCardProfile] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::DigitalCardProfile], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::DigitalCardProfile], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/digital_wallet_token_list_response.rbs b/sig/increase/models/digital_wallet_token_list_response.rbs new file mode 100644 index 000000000..0379c1c2c --- /dev/null +++ b/sig/increase/models/digital_wallet_token_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type digital_wallet_token_list_response = + { data: ::Array[Increase::DigitalWalletToken], next_cursor: String? } + + class DigitalWalletTokenListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::DigitalWalletToken] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::DigitalWalletToken], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::DigitalWalletToken], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/document_list_response.rbs b/sig/increase/models/document_list_response.rbs new file mode 100644 index 000000000..287ac3776 --- /dev/null +++ b/sig/increase/models/document_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type document_list_response = + { data: ::Array[Increase::Document], next_cursor: String? } + + class DocumentListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Document] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Document], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::Document], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/entity_list_response.rbs b/sig/increase/models/entity_list_response.rbs new file mode 100644 index 000000000..e6dd5cf7e --- /dev/null +++ b/sig/increase/models/entity_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type entity_list_response = + { data: ::Array[Increase::Entity], next_cursor: String? } + + class EntityListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Entity] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Entity], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Entity], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/event_list_response.rbs b/sig/increase/models/event_list_response.rbs new file mode 100644 index 000000000..557bcb27a --- /dev/null +++ b/sig/increase/models/event_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type event_list_response = + { data: ::Array[Increase::Event], next_cursor: String? } + + class EventListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Event] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Event], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Event], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/event_subscription_list_response.rbs b/sig/increase/models/event_subscription_list_response.rbs new file mode 100644 index 000000000..b1d5a6513 --- /dev/null +++ b/sig/increase/models/event_subscription_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type event_subscription_list_response = + { data: ::Array[Increase::EventSubscription], next_cursor: String? } + + class EventSubscriptionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::EventSubscription] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::EventSubscription], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::EventSubscription], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/export_list_response.rbs b/sig/increase/models/export_list_response.rbs new file mode 100644 index 000000000..7e656670c --- /dev/null +++ b/sig/increase/models/export_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type export_list_response = + { data: ::Array[Increase::Export], next_cursor: String? } + + class ExportListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Export] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Export], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Export], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/external_account_list_response.rbs b/sig/increase/models/external_account_list_response.rbs new file mode 100644 index 000000000..184612717 --- /dev/null +++ b/sig/increase/models/external_account_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type external_account_list_response = + { data: ::Array[Increase::ExternalAccount], next_cursor: String? } + + class ExternalAccountListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::ExternalAccount] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::ExternalAccount], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::ExternalAccount], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/fednow_transfer_list_response.rbs b/sig/increase/models/fednow_transfer_list_response.rbs new file mode 100644 index 000000000..32d9c1ed3 --- /dev/null +++ b/sig/increase/models/fednow_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type fednow_transfer_list_response = + { data: ::Array[Increase::FednowTransfer], next_cursor: String? } + + class FednowTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::FednowTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::FednowTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::FednowTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/file_list_response.rbs b/sig/increase/models/file_list_response.rbs new file mode 100644 index 000000000..0995c4581 --- /dev/null +++ b/sig/increase/models/file_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type file_list_response = + { data: ::Array[Increase::File], next_cursor: String? } + + class FileListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::File] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::File], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::File], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/inbound_ach_transfer_list_response.rbs b/sig/increase/models/inbound_ach_transfer_list_response.rbs new file mode 100644 index 000000000..8808a9965 --- /dev/null +++ b/sig/increase/models/inbound_ach_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type inbound_ach_transfer_list_response = + { data: ::Array[Increase::InboundACHTransfer], next_cursor: String? } + + class InboundACHTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundACHTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundACHTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundACHTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_check_deposit_list_response.rbs b/sig/increase/models/inbound_check_deposit_list_response.rbs new file mode 100644 index 000000000..cc20e5526 --- /dev/null +++ b/sig/increase/models/inbound_check_deposit_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type inbound_check_deposit_list_response = + { data: ::Array[Increase::InboundCheckDeposit], next_cursor: String? } + + class InboundCheckDepositListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundCheckDeposit] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundCheckDeposit], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundCheckDeposit], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_fednow_transfer_list_response.rbs b/sig/increase/models/inbound_fednow_transfer_list_response.rbs new file mode 100644 index 000000000..eca966059 --- /dev/null +++ b/sig/increase/models/inbound_fednow_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type inbound_fednow_transfer_list_response = + { data: ::Array[Increase::InboundFednowTransfer], next_cursor: String? } + + class InboundFednowTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundFednowTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundFednowTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundFednowTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_mail_item_list_response.rbs b/sig/increase/models/inbound_mail_item_list_response.rbs new file mode 100644 index 000000000..c48608374 --- /dev/null +++ b/sig/increase/models/inbound_mail_item_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type inbound_mail_item_list_response = + { data: ::Array[Increase::InboundMailItem], next_cursor: String? } + + class InboundMailItemListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundMailItem] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundMailItem], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundMailItem], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_real_time_payments_transfer_list_response.rbs b/sig/increase/models/inbound_real_time_payments_transfer_list_response.rbs new file mode 100644 index 000000000..da2f3197d --- /dev/null +++ b/sig/increase/models/inbound_real_time_payments_transfer_list_response.rbs @@ -0,0 +1,25 @@ +module Increase + module Models + type inbound_real_time_payments_transfer_list_response = + { + data: ::Array[Increase::InboundRealTimePaymentsTransfer], + next_cursor: String? + } + + class InboundRealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundRealTimePaymentsTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundRealTimePaymentsTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundRealTimePaymentsTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_wire_drawdown_request_list_response.rbs b/sig/increase/models/inbound_wire_drawdown_request_list_response.rbs new file mode 100644 index 000000000..f373be364 --- /dev/null +++ b/sig/increase/models/inbound_wire_drawdown_request_list_response.rbs @@ -0,0 +1,25 @@ +module Increase + module Models + type inbound_wire_drawdown_request_list_response = + { + data: ::Array[Increase::InboundWireDrawdownRequest], + next_cursor: String? + } + + class InboundWireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundWireDrawdownRequest] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundWireDrawdownRequest], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundWireDrawdownRequest], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/inbound_wire_transfer_list_response.rbs b/sig/increase/models/inbound_wire_transfer_list_response.rbs new file mode 100644 index 000000000..6c1afee8b --- /dev/null +++ b/sig/increase/models/inbound_wire_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type inbound_wire_transfer_list_response = + { data: ::Array[Increase::InboundWireTransfer], next_cursor: String? } + + class InboundWireTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::InboundWireTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::InboundWireTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::InboundWireTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/intrafi_account_enrollment_list_response.rbs b/sig/increase/models/intrafi_account_enrollment_list_response.rbs new file mode 100644 index 000000000..e2fdb37c3 --- /dev/null +++ b/sig/increase/models/intrafi_account_enrollment_list_response.rbs @@ -0,0 +1,25 @@ +module Increase + module Models + type intrafi_account_enrollment_list_response = + { + data: ::Array[Increase::IntrafiAccountEnrollment], + next_cursor: String? + } + + class IntrafiAccountEnrollmentListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::IntrafiAccountEnrollment] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::IntrafiAccountEnrollment], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::IntrafiAccountEnrollment], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/intrafi_exclusion_list_response.rbs b/sig/increase/models/intrafi_exclusion_list_response.rbs new file mode 100644 index 000000000..78cd05535 --- /dev/null +++ b/sig/increase/models/intrafi_exclusion_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type intrafi_exclusion_list_response = + { data: ::Array[Increase::IntrafiExclusion], next_cursor: String? } + + class IntrafiExclusionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::IntrafiExclusion] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::IntrafiExclusion], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::IntrafiExclusion], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/lockbox_list_response.rbs b/sig/increase/models/lockbox_list_response.rbs new file mode 100644 index 000000000..fbb51b975 --- /dev/null +++ b/sig/increase/models/lockbox_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type lockbox_list_response = + { data: ::Array[Increase::Lockbox], next_cursor: String? } + + class LockboxListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Lockbox] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Lockbox], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Lockbox], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/oauth_application_list_response.rbs b/sig/increase/models/oauth_application_list_response.rbs new file mode 100644 index 000000000..6ccd95e3c --- /dev/null +++ b/sig/increase/models/oauth_application_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type oauth_application_list_response = + { data: ::Array[Increase::OAuthApplication], next_cursor: String? } + + class OAuthApplicationListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::OAuthApplication] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::OAuthApplication], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::OAuthApplication], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/oauth_connection_list_response.rbs b/sig/increase/models/oauth_connection_list_response.rbs new file mode 100644 index 000000000..6a6b18460 --- /dev/null +++ b/sig/increase/models/oauth_connection_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type oauth_connection_list_response = + { data: ::Array[Increase::OAuthConnection], next_cursor: String? } + + class OAuthConnectionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::OAuthConnection] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::OAuthConnection], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::OAuthConnection], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/pending_transaction_list_response.rbs b/sig/increase/models/pending_transaction_list_response.rbs new file mode 100644 index 000000000..93fa9b22c --- /dev/null +++ b/sig/increase/models/pending_transaction_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type pending_transaction_list_response = + { data: ::Array[Increase::PendingTransaction], next_cursor: String? } + + class PendingTransactionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::PendingTransaction] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::PendingTransaction], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::PendingTransaction], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/physical_card_list_response.rbs b/sig/increase/models/physical_card_list_response.rbs new file mode 100644 index 000000000..67aa0c18d --- /dev/null +++ b/sig/increase/models/physical_card_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type physical_card_list_response = + { data: ::Array[Increase::PhysicalCard], next_cursor: String? } + + class PhysicalCardListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::PhysicalCard] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::PhysicalCard], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::PhysicalCard], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/physical_card_profile_list_response.rbs b/sig/increase/models/physical_card_profile_list_response.rbs new file mode 100644 index 000000000..ea29e024b --- /dev/null +++ b/sig/increase/models/physical_card_profile_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type physical_card_profile_list_response = + { data: ::Array[Increase::PhysicalCardProfile], next_cursor: String? } + + class PhysicalCardProfileListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::PhysicalCardProfile] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::PhysicalCardProfile], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::PhysicalCardProfile], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/program_list_response.rbs b/sig/increase/models/program_list_response.rbs new file mode 100644 index 000000000..8bf8fcdb0 --- /dev/null +++ b/sig/increase/models/program_list_response.rbs @@ -0,0 +1,19 @@ +module Increase + module Models + type program_list_response = + { data: ::Array[Increase::Program], next_cursor: String? } + + class ProgramListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Program] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Program], + next_cursor: String? + ) -> void + + def to_hash: -> { data: ::Array[Increase::Program], next_cursor: String? } + end + end +end diff --git a/sig/increase/models/real_time_payments_transfer_list_response.rbs b/sig/increase/models/real_time_payments_transfer_list_response.rbs new file mode 100644 index 000000000..0708593ae --- /dev/null +++ b/sig/increase/models/real_time_payments_transfer_list_response.rbs @@ -0,0 +1,25 @@ +module Increase + module Models + type real_time_payments_transfer_list_response = + { + data: ::Array[Increase::RealTimePaymentsTransfer], + next_cursor: String? + } + + class RealTimePaymentsTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::RealTimePaymentsTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::RealTimePaymentsTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::RealTimePaymentsTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/routing_number_list_response.rbs b/sig/increase/models/routing_number_list_response.rbs index c544157e5..93afd6155 100644 --- a/sig/increase/models/routing_number_list_response.rbs +++ b/sig/increase/models/routing_number_list_response.rbs @@ -2,114 +2,136 @@ module Increase module Models type routing_number_list_response = { - ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers, - fednow_transfers: Increase::Models::RoutingNumberListResponse::fednow_transfers, - name: String, - real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers, - routing_number: String, - type: Increase::Models::RoutingNumberListResponse::type_, - wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers + data: ::Array[Increase::Models::RoutingNumberListResponse::Data], + next_cursor: String? } class RoutingNumberListResponse < Increase::Internal::Type::BaseModel - attr_accessor ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers + attr_accessor data: ::Array[Increase::Models::RoutingNumberListResponse::Data] - attr_accessor fednow_transfers: Increase::Models::RoutingNumberListResponse::fednow_transfers + attr_accessor next_cursor: String? - attr_accessor name: String + def initialize: ( + data: ::Array[Increase::Models::RoutingNumberListResponse::Data], + next_cursor: String? + ) -> void - attr_accessor real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers + def to_hash: -> { + data: ::Array[Increase::Models::RoutingNumberListResponse::Data], + next_cursor: String? + } - attr_accessor routing_number: String + type data = + { + ach_transfers: Increase::Models::RoutingNumberListResponse::Data::ach_transfers, + fednow_transfers: Increase::Models::RoutingNumberListResponse::Data::fednow_transfers, + name: String, + real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers, + routing_number: String, + type: Increase::Models::RoutingNumberListResponse::Data::type_, + wire_transfers: Increase::Models::RoutingNumberListResponse::Data::wire_transfers + } - attr_accessor type: Increase::Models::RoutingNumberListResponse::type_ + class Data < Increase::Internal::Type::BaseModel + attr_accessor ach_transfers: Increase::Models::RoutingNumberListResponse::Data::ach_transfers - attr_accessor wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers + attr_accessor fednow_transfers: Increase::Models::RoutingNumberListResponse::Data::fednow_transfers - def initialize: ( - ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers, - fednow_transfers: Increase::Models::RoutingNumberListResponse::fednow_transfers, - name: String, - real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers, - routing_number: String, - type: Increase::Models::RoutingNumberListResponse::type_, - wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers - ) -> void + attr_accessor name: String - def to_hash: -> { - ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers, - fednow_transfers: Increase::Models::RoutingNumberListResponse::fednow_transfers, - name: String, - real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers, - routing_number: String, - type: Increase::Models::RoutingNumberListResponse::type_, - wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers - } + attr_accessor real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers - type ach_transfers = :supported | :not_supported + attr_accessor routing_number: String - module ACHTransfers - extend Increase::Internal::Type::Enum + attr_accessor type: Increase::Models::RoutingNumberListResponse::Data::type_ - # The routing number can receive this transfer type. - SUPPORTED: :supported + attr_accessor wire_transfers: Increase::Models::RoutingNumberListResponse::Data::wire_transfers - # The routing number cannot receive this transfer type. - NOT_SUPPORTED: :not_supported + def initialize: ( + ach_transfers: Increase::Models::RoutingNumberListResponse::Data::ach_transfers, + fednow_transfers: Increase::Models::RoutingNumberListResponse::Data::fednow_transfers, + name: String, + real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers, + routing_number: String, + type: Increase::Models::RoutingNumberListResponse::Data::type_, + wire_transfers: Increase::Models::RoutingNumberListResponse::Data::wire_transfers + ) -> void - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::ach_transfers] - end + def to_hash: -> { + ach_transfers: Increase::Models::RoutingNumberListResponse::Data::ach_transfers, + fednow_transfers: Increase::Models::RoutingNumberListResponse::Data::fednow_transfers, + name: String, + real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers, + routing_number: String, + type: Increase::Models::RoutingNumberListResponse::Data::type_, + wire_transfers: Increase::Models::RoutingNumberListResponse::Data::wire_transfers + } - type fednow_transfers = :supported | :not_supported + type ach_transfers = :supported | :not_supported - module FednowTransfers - extend Increase::Internal::Type::Enum + module ACHTransfers + extend Increase::Internal::Type::Enum - # The routing number can receive this transfer type. - SUPPORTED: :supported + # The routing number can receive this transfer type. + SUPPORTED: :supported - # The routing number cannot receive this transfer type. - NOT_SUPPORTED: :not_supported + # The routing number cannot receive this transfer type. + NOT_SUPPORTED: :not_supported - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::fednow_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::ach_transfers] + end - type real_time_payments_transfers = :supported | :not_supported + type fednow_transfers = :supported | :not_supported - module RealTimePaymentsTransfers - extend Increase::Internal::Type::Enum + module FednowTransfers + extend Increase::Internal::Type::Enum - # The routing number can receive this transfer type. - SUPPORTED: :supported + # The routing number can receive this transfer type. + SUPPORTED: :supported - # The routing number cannot receive this transfer type. - NOT_SUPPORTED: :not_supported + # The routing number cannot receive this transfer type. + NOT_SUPPORTED: :not_supported - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::real_time_payments_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::fednow_transfers] + end - type type_ = :routing_number + type real_time_payments_transfers = :supported | :not_supported - module Type - extend Increase::Internal::Type::Enum + module RealTimePaymentsTransfers + extend Increase::Internal::Type::Enum - ROUTING_NUMBER: :routing_number + # The routing number can receive this transfer type. + SUPPORTED: :supported - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::type_] - end + # The routing number cannot receive this transfer type. + NOT_SUPPORTED: :not_supported + + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers] + end + + type type_ = :routing_number + + module Type + extend Increase::Internal::Type::Enum + + ROUTING_NUMBER: :routing_number + + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::type_] + end - type wire_transfers = :supported | :not_supported + type wire_transfers = :supported | :not_supported - module WireTransfers - extend Increase::Internal::Type::Enum + module WireTransfers + extend Increase::Internal::Type::Enum - # The routing number can receive this transfer type. - SUPPORTED: :supported + # The routing number can receive this transfer type. + SUPPORTED: :supported - # The routing number cannot receive this transfer type. - NOT_SUPPORTED: :not_supported + # The routing number cannot receive this transfer type. + NOT_SUPPORTED: :not_supported - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::wire_transfers] + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::wire_transfers] + end end end end diff --git a/sig/increase/models/supplemental_document_list_response.rbs b/sig/increase/models/supplemental_document_list_response.rbs new file mode 100644 index 000000000..5eebb4e4b --- /dev/null +++ b/sig/increase/models/supplemental_document_list_response.rbs @@ -0,0 +1,25 @@ +module Increase + module Models + type supplemental_document_list_response = + { + data: ::Array[Increase::EntitySupplementalDocument], + next_cursor: String? + } + + class SupplementalDocumentListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::EntitySupplementalDocument] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::EntitySupplementalDocument], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::EntitySupplementalDocument], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/transaction_list_response.rbs b/sig/increase/models/transaction_list_response.rbs new file mode 100644 index 000000000..c5dffed11 --- /dev/null +++ b/sig/increase/models/transaction_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type transaction_list_response = + { data: ::Array[Increase::Transaction], next_cursor: String? } + + class TransactionListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::Transaction] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::Transaction], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::Transaction], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/wire_drawdown_request_list_response.rbs b/sig/increase/models/wire_drawdown_request_list_response.rbs new file mode 100644 index 000000000..b290edcdc --- /dev/null +++ b/sig/increase/models/wire_drawdown_request_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type wire_drawdown_request_list_response = + { data: ::Array[Increase::WireDrawdownRequest], next_cursor: String? } + + class WireDrawdownRequestListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::WireDrawdownRequest] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::WireDrawdownRequest], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::WireDrawdownRequest], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/models/wire_transfer_list_response.rbs b/sig/increase/models/wire_transfer_list_response.rbs new file mode 100644 index 000000000..fe40b71d7 --- /dev/null +++ b/sig/increase/models/wire_transfer_list_response.rbs @@ -0,0 +1,22 @@ +module Increase + module Models + type wire_transfer_list_response = + { data: ::Array[Increase::WireTransfer], next_cursor: String? } + + class WireTransferListResponse < Increase::Internal::Type::BaseModel + attr_accessor data: ::Array[Increase::WireTransfer] + + attr_accessor next_cursor: String? + + def initialize: ( + data: ::Array[Increase::WireTransfer], + next_cursor: String? + ) -> void + + def to_hash: -> { + data: ::Array[Increase::WireTransfer], + next_cursor: String? + } + end + end +end diff --git a/sig/increase/resources/account_numbers.rbs b/sig/increase/resources/account_numbers.rbs index bc39574de..799ffded7 100644 --- a/sig/increase/resources/account_numbers.rbs +++ b/sig/increase/resources/account_numbers.rbs @@ -32,7 +32,7 @@ module Increase ?limit: Integer, ?status: Increase::AccountNumberListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::AccountNumber] + ) -> Increase::Models::AccountNumberListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/account_statements.rbs b/sig/increase/resources/account_statements.rbs index eab4dd1f9..94f3068a6 100644 --- a/sig/increase/resources/account_statements.rbs +++ b/sig/increase/resources/account_statements.rbs @@ -12,7 +12,7 @@ module Increase ?limit: Integer, ?statement_period_start: Increase::AccountStatementListParams::StatementPeriodStart, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::AccountStatement] + ) -> Increase::Models::AccountStatementListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/account_transfers.rbs b/sig/increase/resources/account_transfers.rbs index a9dc8a1f5..7e27c1f5f 100644 --- a/sig/increase/resources/account_transfers.rbs +++ b/sig/increase/resources/account_transfers.rbs @@ -22,7 +22,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::AccountTransfer] + ) -> Increase::Models::AccountTransferListResponse def approve: ( String account_transfer_id, diff --git a/sig/increase/resources/accounts.rbs b/sig/increase/resources/accounts.rbs index a9114738a..342588283 100644 --- a/sig/increase/resources/accounts.rbs +++ b/sig/increase/resources/accounts.rbs @@ -31,7 +31,7 @@ module Increase ?program_id: String, ?status: Increase::AccountListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Account] + ) -> Increase::Models::AccountListResponse def balance: ( String account_id, diff --git a/sig/increase/resources/ach_prenotifications.rbs b/sig/increase/resources/ach_prenotifications.rbs index 21e7c10a7..9e2219f63 100644 --- a/sig/increase/resources/ach_prenotifications.rbs +++ b/sig/increase/resources/ach_prenotifications.rbs @@ -29,7 +29,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::ACHPrenotification] + ) -> Increase::Models::ACHPrenotificationListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/ach_transfers.rbs b/sig/increase/resources/ach_transfers.rbs index ee8c88d19..fa463ff62 100644 --- a/sig/increase/resources/ach_transfers.rbs +++ b/sig/increase/resources/ach_transfers.rbs @@ -38,7 +38,7 @@ module Increase ?limit: Integer, ?status: Increase::ACHTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::ACHTransfer] + ) -> Increase::Models::ACHTransferListResponse def approve: ( String ach_transfer_id, diff --git a/sig/increase/resources/bookkeeping_accounts.rbs b/sig/increase/resources/bookkeeping_accounts.rbs index 774547a24..84d00891f 100644 --- a/sig/increase/resources/bookkeeping_accounts.rbs +++ b/sig/increase/resources/bookkeeping_accounts.rbs @@ -20,7 +20,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::BookkeepingAccount] + ) -> Increase::Models::BookkeepingAccountListResponse def balance: ( String bookkeeping_account_id, diff --git a/sig/increase/resources/bookkeeping_entries.rbs b/sig/increase/resources/bookkeeping_entries.rbs index 1c86a8e1c..62b499df1 100644 --- a/sig/increase/resources/bookkeeping_entries.rbs +++ b/sig/increase/resources/bookkeeping_entries.rbs @@ -11,7 +11,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::BookkeepingEntry] + ) -> Increase::Models::BookkeepingEntryListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/bookkeeping_entry_sets.rbs b/sig/increase/resources/bookkeeping_entry_sets.rbs index a4f98a409..c2a70bd35 100644 --- a/sig/increase/resources/bookkeeping_entry_sets.rbs +++ b/sig/increase/resources/bookkeeping_entry_sets.rbs @@ -19,7 +19,7 @@ module Increase ?limit: Integer, ?transaction_id: String, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::BookkeepingEntrySet] + ) -> Increase::Models::BookkeepingEntrySetListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/card_disputes.rbs b/sig/increase/resources/card_disputes.rbs index 9e0dfb412..65f94a83f 100644 --- a/sig/increase/resources/card_disputes.rbs +++ b/sig/increase/resources/card_disputes.rbs @@ -22,7 +22,7 @@ module Increase ?limit: Integer, ?status: Increase::CardDisputeListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardDispute] + ) -> Increase::Models::CardDisputeListResponse def submit_user_submission: ( String card_dispute_id, diff --git a/sig/increase/resources/card_payments.rbs b/sig/increase/resources/card_payments.rbs index ccd9a8abf..1fe7561d2 100644 --- a/sig/increase/resources/card_payments.rbs +++ b/sig/increase/resources/card_payments.rbs @@ -13,7 +13,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardPayment] + ) -> Increase::Models::CardPaymentListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/card_purchase_supplements.rbs b/sig/increase/resources/card_purchase_supplements.rbs index 9aae5b60e..4afd23e96 100644 --- a/sig/increase/resources/card_purchase_supplements.rbs +++ b/sig/increase/resources/card_purchase_supplements.rbs @@ -12,7 +12,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardPurchaseSupplement] + ) -> Increase::Models::CardPurchaseSupplementListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/card_push_transfers.rbs b/sig/increase/resources/card_push_transfers.rbs index e0d4f4eb6..65fe41fb0 100644 --- a/sig/increase/resources/card_push_transfers.rbs +++ b/sig/increase/resources/card_push_transfers.rbs @@ -35,7 +35,7 @@ module Increase ?limit: Integer, ?status: Increase::CardPushTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardPushTransfer] + ) -> Increase::Models::CardPushTransferListResponse def approve: ( String card_push_transfer_id, diff --git a/sig/increase/resources/card_tokens.rbs b/sig/increase/resources/card_tokens.rbs index fda07498f..a65966a87 100644 --- a/sig/increase/resources/card_tokens.rbs +++ b/sig/increase/resources/card_tokens.rbs @@ -11,7 +11,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardToken] + ) -> Increase::Models::CardTokenListResponse def capabilities: ( String card_token_id, diff --git a/sig/increase/resources/card_validations.rbs b/sig/increase/resources/card_validations.rbs index 65dfd86f2..1f2061db0 100644 --- a/sig/increase/resources/card_validations.rbs +++ b/sig/increase/resources/card_validations.rbs @@ -30,7 +30,7 @@ module Increase ?limit: Integer, ?status: Increase::CardValidationListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CardValidation] + ) -> Increase::Models::CardValidationListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/cards.rbs b/sig/increase/resources/cards.rbs index 050be8d8c..ca7a0bb83 100644 --- a/sig/increase/resources/cards.rbs +++ b/sig/increase/resources/cards.rbs @@ -33,7 +33,7 @@ module Increase ?limit: Integer, ?status: Increase::CardListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Card] + ) -> Increase::Models::CardListResponse def create_details_iframe: ( String card_id, diff --git a/sig/increase/resources/check_deposits.rbs b/sig/increase/resources/check_deposits.rbs index fe60713b9..df93a360f 100644 --- a/sig/increase/resources/check_deposits.rbs +++ b/sig/increase/resources/check_deposits.rbs @@ -22,7 +22,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CheckDeposit] + ) -> Increase::Models::CheckDepositListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/check_transfers.rbs b/sig/increase/resources/check_transfers.rbs index e947cb994..153f32989 100644 --- a/sig/increase/resources/check_transfers.rbs +++ b/sig/increase/resources/check_transfers.rbs @@ -28,7 +28,7 @@ module Increase ?limit: Integer, ?status: Increase::CheckTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::CheckTransfer] + ) -> Increase::Models::CheckTransferListResponse def approve: ( String check_transfer_id, diff --git a/sig/increase/resources/declined_transactions.rbs b/sig/increase/resources/declined_transactions.rbs index 462864e87..471c55176 100644 --- a/sig/increase/resources/declined_transactions.rbs +++ b/sig/increase/resources/declined_transactions.rbs @@ -14,7 +14,7 @@ module Increase ?limit: Integer, ?route_id: String, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::DeclinedTransaction] + ) -> Increase::Models::DeclinedTransactionListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/digital_card_profiles.rbs b/sig/increase/resources/digital_card_profiles.rbs index 275a82397..5723f444b 100644 --- a/sig/increase/resources/digital_card_profiles.rbs +++ b/sig/increase/resources/digital_card_profiles.rbs @@ -25,7 +25,7 @@ module Increase ?limit: Integer, ?status: Increase::DigitalCardProfileListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::DigitalCardProfile] + ) -> Increase::Models::DigitalCardProfileListResponse def archive: ( String digital_card_profile_id, diff --git a/sig/increase/resources/digital_wallet_tokens.rbs b/sig/increase/resources/digital_wallet_tokens.rbs index 35324a675..4f91f2ee4 100644 --- a/sig/increase/resources/digital_wallet_tokens.rbs +++ b/sig/increase/resources/digital_wallet_tokens.rbs @@ -12,7 +12,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::DigitalWalletToken] + ) -> Increase::Models::DigitalWalletTokenListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/documents.rbs b/sig/increase/resources/documents.rbs index 487696f9a..8b155740c 100644 --- a/sig/increase/resources/documents.rbs +++ b/sig/increase/resources/documents.rbs @@ -21,7 +21,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Document] + ) -> Increase::Models::DocumentListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/entities.rbs b/sig/increase/resources/entities.rbs index ae8fcf1e2..991253f4b 100644 --- a/sig/increase/resources/entities.rbs +++ b/sig/increase/resources/entities.rbs @@ -39,7 +39,7 @@ module Increase ?limit: Integer, ?status: Increase::EntityListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Entity] + ) -> Increase::Models::EntityListResponse def archive: ( String entity_id, diff --git a/sig/increase/resources/event_subscriptions.rbs b/sig/increase/resources/event_subscriptions.rbs index bff943467..cb6375032 100644 --- a/sig/increase/resources/event_subscriptions.rbs +++ b/sig/increase/resources/event_subscriptions.rbs @@ -26,7 +26,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::EventSubscription] + ) -> Increase::Models::EventSubscriptionListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/events.rbs b/sig/increase/resources/events.rbs index b82b3a132..cf6eb81aa 100644 --- a/sig/increase/resources/events.rbs +++ b/sig/increase/resources/events.rbs @@ -13,7 +13,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Event] + ) -> Increase::Models::EventListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/exports.rbs b/sig/increase/resources/exports.rbs index b2381ee68..aa6a8f587 100644 --- a/sig/increase/resources/exports.rbs +++ b/sig/increase/resources/exports.rbs @@ -26,7 +26,7 @@ module Increase ?limit: Integer, ?status: Increase::ExportListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Export] + ) -> Increase::Models::ExportListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/external_accounts.rbs b/sig/increase/resources/external_accounts.rbs index 3383dce34..092cd5ff6 100644 --- a/sig/increase/resources/external_accounts.rbs +++ b/sig/increase/resources/external_accounts.rbs @@ -31,7 +31,7 @@ module Increase ?routing_number: String, ?status: Increase::ExternalAccountListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::ExternalAccount] + ) -> Increase::Models::ExternalAccountListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/fednow_transfers.rbs b/sig/increase/resources/fednow_transfers.rbs index 9e17008df..7175ee16c 100644 --- a/sig/increase/resources/fednow_transfers.rbs +++ b/sig/increase/resources/fednow_transfers.rbs @@ -31,7 +31,7 @@ module Increase ?limit: Integer, ?status: Increase::FednowTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::FednowTransfer] + ) -> Increase::Models::FednowTransferListResponse def approve: ( String fednow_transfer_id, diff --git a/sig/increase/resources/files.rbs b/sig/increase/resources/files.rbs index 8f97b6d49..9ccf3c1a5 100644 --- a/sig/increase/resources/files.rbs +++ b/sig/increase/resources/files.rbs @@ -20,7 +20,7 @@ module Increase ?limit: Integer, ?purpose: Increase::FileListParams::Purpose, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::File] + ) -> Increase::Models::FileListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/inbound_ach_transfers.rbs b/sig/increase/resources/inbound_ach_transfers.rbs index 788e9104c..2ef464f24 100644 --- a/sig/increase/resources/inbound_ach_transfers.rbs +++ b/sig/increase/resources/inbound_ach_transfers.rbs @@ -14,7 +14,7 @@ module Increase ?limit: Integer, ?status: Increase::InboundACHTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundACHTransfer] + ) -> Increase::Models::InboundACHTransferListResponse def create_notification_of_change: ( String inbound_ach_transfer_id, diff --git a/sig/increase/resources/inbound_check_deposits.rbs b/sig/increase/resources/inbound_check_deposits.rbs index 4e1e9478d..146a6fbd8 100644 --- a/sig/increase/resources/inbound_check_deposits.rbs +++ b/sig/increase/resources/inbound_check_deposits.rbs @@ -13,7 +13,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundCheckDeposit] + ) -> Increase::Models::InboundCheckDepositListResponse def decline: ( String inbound_check_deposit_id, diff --git a/sig/increase/resources/inbound_fednow_transfers.rbs b/sig/increase/resources/inbound_fednow_transfers.rbs index 555282700..43ae150cc 100644 --- a/sig/increase/resources/inbound_fednow_transfers.rbs +++ b/sig/increase/resources/inbound_fednow_transfers.rbs @@ -13,7 +13,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundFednowTransfer] + ) -> Increase::Models::InboundFednowTransferListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/inbound_mail_items.rbs b/sig/increase/resources/inbound_mail_items.rbs index fecac54ce..f95565dfe 100644 --- a/sig/increase/resources/inbound_mail_items.rbs +++ b/sig/increase/resources/inbound_mail_items.rbs @@ -12,7 +12,7 @@ module Increase ?limit: Integer, ?lockbox_id: String, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundMailItem] + ) -> Increase::Models::InboundMailItemListResponse def action: ( String inbound_mail_item_id, diff --git a/sig/increase/resources/inbound_real_time_payments_transfers.rbs b/sig/increase/resources/inbound_real_time_payments_transfers.rbs index 5262dd0c7..d99cab1ef 100644 --- a/sig/increase/resources/inbound_real_time_payments_transfers.rbs +++ b/sig/increase/resources/inbound_real_time_payments_transfers.rbs @@ -13,7 +13,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundRealTimePaymentsTransfer] + ) -> Increase::Models::InboundRealTimePaymentsTransferListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/inbound_wire_drawdown_requests.rbs b/sig/increase/resources/inbound_wire_drawdown_requests.rbs index 4e9a8d456..8001de5f6 100644 --- a/sig/increase/resources/inbound_wire_drawdown_requests.rbs +++ b/sig/increase/resources/inbound_wire_drawdown_requests.rbs @@ -10,7 +10,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundWireDrawdownRequest] + ) -> Increase::Models::InboundWireDrawdownRequestListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/inbound_wire_transfers.rbs b/sig/increase/resources/inbound_wire_transfers.rbs index 320b764a4..d303ba89f 100644 --- a/sig/increase/resources/inbound_wire_transfers.rbs +++ b/sig/increase/resources/inbound_wire_transfers.rbs @@ -15,7 +15,7 @@ module Increase ?status: Increase::InboundWireTransferListParams::Status, ?wire_drawdown_request_id: String, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::InboundWireTransfer] + ) -> Increase::Models::InboundWireTransferListResponse def reverse: ( String inbound_wire_transfer_id, diff --git a/sig/increase/resources/intrafi_account_enrollments.rbs b/sig/increase/resources/intrafi_account_enrollments.rbs index 6a158a5de..08ffd9a95 100644 --- a/sig/increase/resources/intrafi_account_enrollments.rbs +++ b/sig/increase/resources/intrafi_account_enrollments.rbs @@ -19,7 +19,7 @@ module Increase ?limit: Integer, ?status: Increase::IntrafiAccountEnrollmentListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::IntrafiAccountEnrollment] + ) -> Increase::Models::IntrafiAccountEnrollmentListResponse def unenroll: ( String intrafi_account_enrollment_id, diff --git a/sig/increase/resources/intrafi_exclusions.rbs b/sig/increase/resources/intrafi_exclusions.rbs index 8ff264fb9..617376b98 100644 --- a/sig/increase/resources/intrafi_exclusions.rbs +++ b/sig/increase/resources/intrafi_exclusions.rbs @@ -18,7 +18,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::IntrafiExclusion] + ) -> Increase::Models::IntrafiExclusionListResponse def archive: ( String intrafi_exclusion_id, diff --git a/sig/increase/resources/lockboxes.rbs b/sig/increase/resources/lockboxes.rbs index 549e7a229..f3232fae2 100644 --- a/sig/increase/resources/lockboxes.rbs +++ b/sig/increase/resources/lockboxes.rbs @@ -28,7 +28,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Lockbox] + ) -> Increase::Models::LockboxListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/oauth_applications.rbs b/sig/increase/resources/oauth_applications.rbs index 6cc26900b..c53f92bac 100644 --- a/sig/increase/resources/oauth_applications.rbs +++ b/sig/increase/resources/oauth_applications.rbs @@ -12,7 +12,7 @@ module Increase ?limit: Integer, ?status: Increase::OAuthApplicationListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::OAuthApplication] + ) -> Increase::Models::OAuthApplicationListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/oauth_connections.rbs b/sig/increase/resources/oauth_connections.rbs index 050c73340..224799110 100644 --- a/sig/increase/resources/oauth_connections.rbs +++ b/sig/increase/resources/oauth_connections.rbs @@ -12,7 +12,7 @@ module Increase ?oauth_application_id: String, ?status: Increase::OAuthConnectionListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::OAuthConnection] + ) -> Increase::Models::OAuthConnectionListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/pending_transactions.rbs b/sig/increase/resources/pending_transactions.rbs index 2d637464f..300b6b471 100644 --- a/sig/increase/resources/pending_transactions.rbs +++ b/sig/increase/resources/pending_transactions.rbs @@ -22,7 +22,7 @@ module Increase ?route_id: String, ?status: Increase::PendingTransactionListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::PendingTransaction] + ) -> Increase::Models::PendingTransactionListResponse def release: ( String pending_transaction_id, diff --git a/sig/increase/resources/physical_card_profiles.rbs b/sig/increase/resources/physical_card_profiles.rbs index 99fb1a17b..ee187f599 100644 --- a/sig/increase/resources/physical_card_profiles.rbs +++ b/sig/increase/resources/physical_card_profiles.rbs @@ -22,7 +22,7 @@ module Increase ?limit: Integer, ?status: Increase::PhysicalCardProfileListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::PhysicalCardProfile] + ) -> Increase::Models::PhysicalCardProfileListResponse def archive: ( String physical_card_profile_id, diff --git a/sig/increase/resources/physical_cards.rbs b/sig/increase/resources/physical_cards.rbs index 71c039551..7d2bf6401 100644 --- a/sig/increase/resources/physical_cards.rbs +++ b/sig/increase/resources/physical_cards.rbs @@ -27,7 +27,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::PhysicalCard] + ) -> Increase::Models::PhysicalCardListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/programs.rbs b/sig/increase/resources/programs.rbs index cd78bdfef..77dcff2b7 100644 --- a/sig/increase/resources/programs.rbs +++ b/sig/increase/resources/programs.rbs @@ -10,7 +10,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Program] + ) -> Increase::Models::ProgramListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/real_time_payments_transfers.rbs b/sig/increase/resources/real_time_payments_transfers.rbs index ca6e6085f..76fc739b0 100644 --- a/sig/increase/resources/real_time_payments_transfers.rbs +++ b/sig/increase/resources/real_time_payments_transfers.rbs @@ -30,7 +30,7 @@ module Increase ?limit: Integer, ?status: Increase::RealTimePaymentsTransferListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::RealTimePaymentsTransfer] + ) -> Increase::Models::RealTimePaymentsTransferListResponse def approve: ( String real_time_payments_transfer_id, diff --git a/sig/increase/resources/routing_numbers.rbs b/sig/increase/resources/routing_numbers.rbs index 212973ac1..4243fe406 100644 --- a/sig/increase/resources/routing_numbers.rbs +++ b/sig/increase/resources/routing_numbers.rbs @@ -6,7 +6,7 @@ module Increase ?cursor: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Models::RoutingNumberListResponse] + ) -> Increase::Models::RoutingNumberListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/supplemental_documents.rbs b/sig/increase/resources/supplemental_documents.rbs index 982c7f7fb..5f94d22ff 100644 --- a/sig/increase/resources/supplemental_documents.rbs +++ b/sig/increase/resources/supplemental_documents.rbs @@ -13,7 +13,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::EntitySupplementalDocument] + ) -> Increase::Models::SupplementalDocumentListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/transactions.rbs b/sig/increase/resources/transactions.rbs index 3ff100d26..8e40ab844 100644 --- a/sig/increase/resources/transactions.rbs +++ b/sig/increase/resources/transactions.rbs @@ -14,7 +14,7 @@ module Increase ?limit: Integer, ?route_id: String, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::Transaction] + ) -> Increase::Models::TransactionListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/wire_drawdown_requests.rbs b/sig/increase/resources/wire_drawdown_requests.rbs index 497582e9f..bd74ae59e 100644 --- a/sig/increase/resources/wire_drawdown_requests.rbs +++ b/sig/increase/resources/wire_drawdown_requests.rbs @@ -26,7 +26,7 @@ module Increase ?limit: Integer, ?status: Increase::WireDrawdownRequestListParams::Status, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::WireDrawdownRequest] + ) -> Increase::Models::WireDrawdownRequestListResponse def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/wire_transfers.rbs b/sig/increase/resources/wire_transfers.rbs index 5f4275548..36ef6f1fe 100644 --- a/sig/increase/resources/wire_transfers.rbs +++ b/sig/increase/resources/wire_transfers.rbs @@ -29,7 +29,7 @@ module Increase ?idempotency_key: String, ?limit: Integer, ?request_options: Increase::request_opts - ) -> Increase::Internal::Page[Increase::WireTransfer] + ) -> Increase::Models::WireTransferListResponse def approve: ( String wire_transfer_id, diff --git a/test/increase/resources/account_numbers_test.rb b/test/increase/resources/account_numbers_test.rb index ea7c4ccf6..cfadb71fa 100644 --- a/test/increase/resources/account_numbers_test.rb +++ b/test/increase/resources/account_numbers_test.rb @@ -80,29 +80,13 @@ def test_list response = @increase.account_numbers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::AccountNumber + response => Increase::Models::AccountNumberListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number: String, - created_at: Time, - idempotency_key: String | nil, - inbound_ach: Increase::AccountNumber::InboundACH, - inbound_checks: Increase::AccountNumber::InboundChecks, - name: String, - routing_number: String, - status: Increase::AccountNumber::Status, - type: Increase::AccountNumber::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountNumber]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/account_statements_test.rb b/test/increase/resources/account_statements_test.rb index ebed26dd9..389275111 100644 --- a/test/increase/resources/account_statements_test.rb +++ b/test/increase/resources/account_statements_test.rb @@ -29,27 +29,13 @@ def test_list response = @increase.account_statements.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::AccountStatement + response => Increase::Models::AccountStatementListResponse end assert_pattern do - row => { - id: String, - account_id: String, - created_at: Time, - ending_balance: Integer, - file_id: String, - starting_balance: Integer, - statement_period_end: Time, - statement_period_start: Time, - type: Increase::AccountStatement::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountStatement]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/account_transfers_test.rb b/test/increase/resources/account_transfers_test.rb index 3314fbf58..d624b1902 100644 --- a/test/increase/resources/account_transfers_test.rb +++ b/test/increase/resources/account_transfers_test.rb @@ -71,34 +71,13 @@ def test_list response = @increase.account_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::AccountTransfer + response => Increase::Models::AccountTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - approval: Increase::AccountTransfer::Approval | nil, - cancellation: Increase::AccountTransfer::Cancellation | nil, - created_at: Time, - created_by: Increase::AccountTransfer::CreatedBy | nil, - currency: Increase::AccountTransfer::Currency, - description: String, - destination_account_id: String, - destination_transaction_id: String | nil, - idempotency_key: String | nil, - pending_transaction_id: String | nil, - status: Increase::AccountTransfer::Status, - transaction_id: String | nil, - type: Increase::AccountTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/accounts_test.rb b/test/increase/resources/accounts_test.rb index baadae9b7..3bd8ce432 100644 --- a/test/increase/resources/accounts_test.rb +++ b/test/increase/resources/accounts_test.rb @@ -94,34 +94,13 @@ def test_list response = @increase.accounts.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Account + response => Increase::Models::AccountListResponse end assert_pattern do - row => { - id: String, - account_revenue_rate: String | nil, - bank: Increase::Account::Bank, - closed_at: Time | nil, - created_at: Time, - currency: Increase::Account::Currency, - entity_id: String, - idempotency_key: String | nil, - informational_entity_id: String | nil, - interest_accrued: String, - interest_accrued_at: Date | nil, - interest_rate: String, - name: String, - program_id: String, - status: Increase::Account::Status, - type: Increase::Account::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Account]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/ach_prenotifications_test.rb b/test/increase/resources/ach_prenotifications_test.rb index 451953a8f..6cfd513cf 100644 --- a/test/increase/resources/ach_prenotifications_test.rb +++ b/test/increase/resources/ach_prenotifications_test.rb @@ -78,38 +78,13 @@ def test_list response = @increase.ach_prenotifications.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::ACHPrenotification + response => Increase::Models::ACHPrenotificationListResponse end assert_pattern do - row => { - id: String, - account_id: String | nil, - account_number: String, - addendum: String | nil, - company_descriptive_date: String | nil, - company_discretionary_data: String | nil, - company_entry_description: String | nil, - company_name: String | nil, - created_at: Time, - credit_debit_indicator: Increase::ACHPrenotification::CreditDebitIndicator | nil, - effective_date: Time | nil, - idempotency_key: String | nil, - individual_id: String | nil, - individual_name: String | nil, - notifications_of_change: ^(Increase::Internal::Type::ArrayOf[Increase::ACHPrenotification::NotificationsOfChange]), - prenotification_return: Increase::ACHPrenotification::PrenotificationReturn | nil, - routing_number: String, - standard_entry_class_code: Increase::ACHPrenotification::StandardEntryClassCode | nil, - status: Increase::ACHPrenotification::Status, - type: Increase::ACHPrenotification::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::ACHPrenotification]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/ach_transfers_test.rb b/test/increase/resources/ach_transfers_test.rb index 026f70353..16f593da6 100644 --- a/test/increase/resources/ach_transfers_test.rb +++ b/test/increase/resources/ach_transfers_test.rb @@ -110,54 +110,13 @@ def test_list response = @increase.ach_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::ACHTransfer + response => Increase::Models::ACHTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number: String, - acknowledgement: Increase::ACHTransfer::Acknowledgement | nil, - addenda: Increase::ACHTransfer::Addenda | nil, - amount: Integer, - approval: Increase::ACHTransfer::Approval | nil, - cancellation: Increase::ACHTransfer::Cancellation | nil, - company_descriptive_date: String | nil, - company_discretionary_data: String | nil, - company_entry_description: String | nil, - company_id: String, - company_name: String | nil, - created_at: Time, - created_by: Increase::ACHTransfer::CreatedBy | nil, - currency: Increase::ACHTransfer::Currency, - destination_account_holder: Increase::ACHTransfer::DestinationAccountHolder, - external_account_id: String | nil, - funding: Increase::ACHTransfer::Funding, - idempotency_key: String | nil, - inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold | nil, - individual_id: String | nil, - individual_name: String | nil, - network: Increase::ACHTransfer::Network, - notifications_of_change: ^(Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::NotificationsOfChange]), - pending_transaction_id: String | nil, - preferred_effective_date: Increase::ACHTransfer::PreferredEffectiveDate, - return_: Increase::ACHTransfer::Return | nil, - routing_number: String, - settlement: Increase::ACHTransfer::Settlement | nil, - standard_entry_class_code: Increase::ACHTransfer::StandardEntryClassCode, - statement_descriptor: String, - status: Increase::ACHTransfer::Status, - submission: Increase::ACHTransfer::Submission | nil, - transaction_id: String | nil, - type: Increase::ACHTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::ACHTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/bookkeeping_accounts_test.rb b/test/increase/resources/bookkeeping_accounts_test.rb index a1f3462ae..ae64a1a3a 100644 --- a/test/increase/resources/bookkeeping_accounts_test.rb +++ b/test/increase/resources/bookkeeping_accounts_test.rb @@ -51,25 +51,13 @@ def test_list response = @increase.bookkeeping_accounts.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::BookkeepingAccount + response => Increase::Models::BookkeepingAccountListResponse end assert_pattern do - row => { - id: String, - account_id: String | nil, - compliance_category: Increase::BookkeepingAccount::ComplianceCategory | nil, - entity_id: String | nil, - idempotency_key: String | nil, - name: String, - type: Increase::BookkeepingAccount::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingAccount]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/bookkeeping_entries_test.rb b/test/increase/resources/bookkeeping_entries_test.rb index 4c626d40f..506cdfd6d 100644 --- a/test/increase/resources/bookkeeping_entries_test.rb +++ b/test/increase/resources/bookkeeping_entries_test.rb @@ -26,24 +26,13 @@ def test_list response = @increase.bookkeeping_entries.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::BookkeepingEntry + response => Increase::Models::BookkeepingEntryListResponse end assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - created_at: Time, - entry_set_id: String, - type: Increase::BookkeepingEntry::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntry]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/bookkeeping_entry_sets_test.rb b/test/increase/resources/bookkeeping_entry_sets_test.rb index dc1ae3f2f..174fb22e5 100644 --- a/test/increase/resources/bookkeeping_entry_sets_test.rb +++ b/test/increase/resources/bookkeeping_entry_sets_test.rb @@ -53,25 +53,13 @@ def test_list response = @increase.bookkeeping_entry_sets.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::BookkeepingEntrySet + response => Increase::Models::BookkeepingEntrySetListResponse end assert_pattern do - row => { - id: String, - created_at: Time, - date: Time, - entries: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySet::Entry]), - idempotency_key: String | nil, - transaction_id: String | nil, - type: Increase::BookkeepingEntrySet::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySet]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_disputes_test.rb b/test/increase/resources/card_disputes_test.rb index e95f1658e..45d7253cb 100644 --- a/test/increase/resources/card_disputes_test.rb +++ b/test/increase/resources/card_disputes_test.rb @@ -63,31 +63,13 @@ def test_list response = @increase.card_disputes.list assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::CardDisputeListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::CardDispute - end - - assert_pattern do - row => { - id: String, - amount: Integer, - card_id: String, - created_at: Time, - disputed_transaction_id: String, - idempotency_key: String | nil, - loss: Increase::CardDispute::Loss | nil, - network: Increase::CardDispute::Network, - status: Increase::CardDispute::Status, - type: Increase::CardDispute::Type, - user_submission_required_by: Time | nil, - visa: Increase::CardDispute::Visa | nil, - win: Increase::CardDispute::Win | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardDispute]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_payments_test.rb b/test/increase/resources/card_payments_test.rb index e2400b696..bb754f7cc 100644 --- a/test/increase/resources/card_payments_test.rb +++ b/test/increase/resources/card_payments_test.rb @@ -29,27 +29,13 @@ def test_list response = @increase.card_payments.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CardPayment + response => Increase::Models::CardPaymentListResponse end assert_pattern do - row => { - id: String, - account_id: String, - card_id: String, - created_at: Time, - digital_wallet_token_id: String | nil, - elements: ^(Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element]), - physical_card_id: String | nil, - state: Increase::CardPayment::State, - type: Increase::CardPayment::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPayment]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_purchase_supplements_test.rb b/test/increase/resources/card_purchase_supplements_test.rb index 0d15d79b5..f3f3598aa 100644 --- a/test/increase/resources/card_purchase_supplements_test.rb +++ b/test/increase/resources/card_purchase_supplements_test.rb @@ -26,24 +26,13 @@ def test_list response = @increase.card_purchase_supplements.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CardPurchaseSupplement + response => Increase::Models::CardPurchaseSupplementListResponse end assert_pattern do - row => { - id: String, - card_payment_id: String | nil, - invoice: Increase::CardPurchaseSupplement::Invoice | nil, - line_items: ^(Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement::LineItem]) | nil, - transaction_id: String, - type: Increase::CardPurchaseSupplement::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_push_transfers_test.rb b/test/increase/resources/card_push_transfers_test.rb index 0b49f77ec..208a24ff5 100644 --- a/test/increase/resources/card_push_transfers_test.rb +++ b/test/increase/resources/card_push_transfers_test.rb @@ -105,45 +105,13 @@ def test_list response = @increase.card_push_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CardPushTransfer + response => Increase::Models::CardPushTransferListResponse end assert_pattern do - row => { - id: String, - acceptance: Increase::CardPushTransfer::Acceptance | nil, - account_id: String, - approval: Increase::CardPushTransfer::Approval | nil, - business_application_identifier: Increase::CardPushTransfer::BusinessApplicationIdentifier, - cancellation: Increase::CardPushTransfer::Cancellation | nil, - created_at: Time, - created_by: Increase::CardPushTransfer::CreatedBy | nil, - decline: Increase::CardPushTransfer::Decline | nil, - idempotency_key: String | nil, - merchant_category_code: String, - merchant_city_name: String, - merchant_name: String, - merchant_name_prefix: String, - merchant_postal_code: String, - merchant_state: String, - presentment_amount: Increase::CardPushTransfer::PresentmentAmount, - recipient_name: String, - sender_address_city: String, - sender_address_line1: String, - sender_address_postal_code: String, - sender_address_state: String, - sender_name: String, - source_account_number_id: String, - status: Increase::CardPushTransfer::Status, - submission: Increase::CardPushTransfer::Submission | nil, - type: Increase::CardPushTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPushTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_tokens_test.rb b/test/increase/resources/card_tokens_test.rb index 77addbc29..f1e8c0d2a 100644 --- a/test/increase/resources/card_tokens_test.rb +++ b/test/increase/resources/card_tokens_test.rb @@ -27,25 +27,13 @@ def test_list response = @increase.card_tokens.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CardToken + response => Increase::Models::CardTokenListResponse end assert_pattern do - row => { - id: String, - created_at: Time, - expiration_date: Date, - last4: String, - length: Integer, - prefix: String, - type: Increase::CardToken::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardToken]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/card_validations_test.rb b/test/increase/resources/card_validations_test.rb index 58fb3d147..f36270150 100644 --- a/test/increase/resources/card_validations_test.rb +++ b/test/increase/resources/card_validations_test.rb @@ -84,39 +84,13 @@ def test_list response = @increase.card_validations.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CardValidation + response => Increase::Models::CardValidationListResponse end assert_pattern do - row => { - id: String, - acceptance: Increase::CardValidation::Acceptance | nil, - account_id: String, - card_token_id: String, - cardholder_first_name: String | nil, - cardholder_last_name: String | nil, - cardholder_middle_name: String | nil, - cardholder_postal_code: String | nil, - cardholder_street_address: String | nil, - created_at: Time, - created_by: Increase::CardValidation::CreatedBy | nil, - decline: Increase::CardValidation::Decline | nil, - idempotency_key: String | nil, - merchant_category_code: String, - merchant_city_name: String, - merchant_name: String, - merchant_postal_code: String, - merchant_state: String, - status: Increase::CardValidation::Status, - submission: Increase::CardValidation::Submission | nil, - type: Increase::CardValidation::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CardValidation]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/cards_test.rb b/test/increase/resources/cards_test.rb index d194f530e..01ebc837b 100644 --- a/test/increase/resources/cards_test.rb +++ b/test/increase/resources/cards_test.rb @@ -85,31 +85,13 @@ def test_list response = @increase.cards.list assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::CardListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::Card - end - - assert_pattern do - row => { - id: String, - account_id: String, - billing_address: Increase::Card::BillingAddress, - created_at: Time, - description: String | nil, - digital_wallet: Increase::Card::DigitalWallet | nil, - entity_id: String | nil, - expiration_month: Integer, - expiration_year: Integer, - idempotency_key: String | nil, - last4: String, - status: Increase::Card::Status, - type: Increase::Card::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Card]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/check_deposits_test.rb b/test/increase/resources/check_deposits_test.rb index 76fe835ab..da518b4e3 100644 --- a/test/increase/resources/check_deposits_test.rb +++ b/test/increase/resources/check_deposits_test.rb @@ -75,36 +75,13 @@ def test_list response = @increase.check_deposits.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CheckDeposit + response => Increase::Models::CheckDepositListResponse end assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - back_image_file_id: String | nil, - created_at: Time, - deposit_acceptance: Increase::CheckDeposit::DepositAcceptance | nil, - deposit_rejection: Increase::CheckDeposit::DepositRejection | nil, - deposit_return: Increase::CheckDeposit::DepositReturn | nil, - deposit_submission: Increase::CheckDeposit::DepositSubmission | nil, - description: String | nil, - front_image_file_id: String, - idempotency_key: String | nil, - inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold | nil, - inbound_mail_item_id: String | nil, - lockbox_id: String | nil, - status: Increase::CheckDeposit::Status, - transaction_id: String | nil, - type: Increase::CheckDeposit::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CheckDeposit]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/check_transfers_test.rb b/test/increase/resources/check_transfers_test.rb index ede9bee79..b21306840 100644 --- a/test/increase/resources/check_transfers_test.rb +++ b/test/increase/resources/check_transfers_test.rb @@ -89,43 +89,13 @@ def test_list response = @increase.check_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::CheckTransfer + response => Increase::Models::CheckTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number: String, - amount: Integer, - approval: Increase::CheckTransfer::Approval | nil, - approved_inbound_check_deposit_id: String | nil, - balance_check: Increase::CheckTransfer::BalanceCheck | nil, - cancellation: Increase::CheckTransfer::Cancellation | nil, - check_number: String, - created_at: Time, - created_by: Increase::CheckTransfer::CreatedBy | nil, - currency: Increase::CheckTransfer::Currency, - fulfillment_method: Increase::CheckTransfer::FulfillmentMethod, - idempotency_key: String | nil, - mailing: Increase::CheckTransfer::Mailing | nil, - pending_transaction_id: String | nil, - physical_check: Increase::CheckTransfer::PhysicalCheck | nil, - routing_number: String, - source_account_number_id: String | nil, - status: Increase::CheckTransfer::Status, - stop_payment_request: Increase::CheckTransfer::StopPaymentRequest | nil, - submission: Increase::CheckTransfer::Submission | nil, - third_party: Increase::CheckTransfer::ThirdParty | nil, - type: Increase::CheckTransfer::Type, - valid_until_date: Date | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::CheckTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/declined_transactions_test.rb b/test/increase/resources/declined_transactions_test.rb index 9301acd9d..4555fbe40 100644 --- a/test/increase/resources/declined_transactions_test.rb +++ b/test/increase/resources/declined_transactions_test.rb @@ -30,28 +30,13 @@ def test_list response = @increase.declined_transactions.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::DeclinedTransaction + response => Increase::Models::DeclinedTransactionListResponse end assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - created_at: Time, - currency: Increase::DeclinedTransaction::Currency, - description: String, - route_id: String | nil, - route_type: Increase::DeclinedTransaction::RouteType | nil, - source: Increase::DeclinedTransaction::Source, - type: Increase::DeclinedTransaction::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::DeclinedTransaction]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/digital_card_profiles_test.rb b/test/increase/resources/digital_card_profiles_test.rb index 00220d327..1ad42f1cb 100644 --- a/test/increase/resources/digital_card_profiles_test.rb +++ b/test/increase/resources/digital_card_profiles_test.rb @@ -68,32 +68,13 @@ def test_list response = @increase.digital_card_profiles.list assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::DigitalCardProfileListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::DigitalCardProfile - end - - assert_pattern do - row => { - id: String, - app_icon_file_id: String, - background_image_file_id: String, - card_description: String, - contact_email: String | nil, - contact_phone: String | nil, - contact_website: String | nil, - created_at: Time, - description: String, - idempotency_key: String | nil, - issuer_name: String, - status: Increase::DigitalCardProfile::Status, - text_color: Increase::DigitalCardProfile::TextColor, - type: Increase::DigitalCardProfile::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/digital_wallet_tokens_test.rb b/test/increase/resources/digital_wallet_tokens_test.rb index 51ab3eb37..76f96c7ad 100644 --- a/test/increase/resources/digital_wallet_tokens_test.rb +++ b/test/increase/resources/digital_wallet_tokens_test.rb @@ -29,27 +29,13 @@ def test_list response = @increase.digital_wallet_tokens.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::DigitalWalletToken + response => Increase::Models::DigitalWalletTokenListResponse end assert_pattern do - row => { - id: String, - card_id: String, - cardholder: Increase::DigitalWalletToken::Cardholder, - created_at: Time, - device: Increase::DigitalWalletToken::Device, - status: Increase::DigitalWalletToken::Status, - token_requestor: Increase::DigitalWalletToken::TokenRequestor, - type: Increase::DigitalWalletToken::Type, - updates: ^(Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update]) + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/documents_test.rb b/test/increase/resources/documents_test.rb index 95cfc33e5..eecc15133 100644 --- a/test/increase/resources/documents_test.rb +++ b/test/increase/resources/documents_test.rb @@ -51,27 +51,13 @@ def test_list response = @increase.documents.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Document + response => Increase::Models::DocumentListResponse end assert_pattern do - row => { - id: String, - account_verification_letter: Increase::Document::AccountVerificationLetter | nil, - category: Increase::Document::Category, - created_at: Time, - entity_id: String | nil, - file_id: String, - funding_instructions: Increase::Document::FundingInstructions | nil, - idempotency_key: String | nil, - type: Increase::Document::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Document]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/entities_test.rb b/test/increase/resources/entities_test.rb index ed5b343ed..b934bd1f3 100644 --- a/test/increase/resources/entities_test.rb +++ b/test/increase/resources/entities_test.rb @@ -94,34 +94,13 @@ def test_list response = @increase.entities.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Entity + response => Increase::Models::EntityListResponse end assert_pattern do - row => { - id: String, - corporation: Increase::Entity::Corporation | nil, - created_at: Time, - description: String | nil, - details_confirmed_at: Time | nil, - government_authority: Increase::Entity::GovernmentAuthority | nil, - idempotency_key: String | nil, - joint: Increase::Entity::Joint | nil, - natural_person: Increase::Entity::NaturalPerson | nil, - risk_rating: Increase::Entity::RiskRating | nil, - status: Increase::Entity::Status, - structure: Increase::Entity::Structure, - supplemental_documents: ^(Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument]), - third_party_verification: Increase::Entity::ThirdPartyVerification | nil, - trust: Increase::Entity::Trust | nil, - type: Increase::Entity::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Entity]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/event_subscriptions_test.rb b/test/increase/resources/event_subscriptions_test.rb index b8d071448..38a91f438 100644 --- a/test/increase/resources/event_subscriptions_test.rb +++ b/test/increase/resources/event_subscriptions_test.rb @@ -70,26 +70,13 @@ def test_list response = @increase.event_subscriptions.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::EventSubscription + response => Increase::Models::EventSubscriptionListResponse end assert_pattern do - row => { - id: String, - created_at: Time, - idempotency_key: String | nil, - oauth_connection_id: String | nil, - selected_event_category: Increase::EventSubscription::SelectedEventCategory | nil, - status: Increase::EventSubscription::Status, - type: Increase::EventSubscription::Type, - url: String + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::EventSubscription]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/events_test.rb b/test/increase/resources/events_test.rb index 091addb5a..1b457289a 100644 --- a/test/increase/resources/events_test.rb +++ b/test/increase/resources/events_test.rb @@ -26,24 +26,13 @@ def test_list response = @increase.events.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Event + response => Increase::Models::EventListResponse end assert_pattern do - row => { - id: String, - associated_object_id: String, - associated_object_type: String, - category: Increase::Event::Category, - created_at: Time, - type: Increase::Event::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Event]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/exports_test.rb b/test/increase/resources/exports_test.rb index 59017af46..d5bc392ea 100644 --- a/test/increase/resources/exports_test.rb +++ b/test/increase/resources/exports_test.rb @@ -49,26 +49,13 @@ def test_list response = @increase.exports.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Export + response => Increase::Models::ExportListResponse end assert_pattern do - row => { - id: String, - category: Increase::Export::Category, - created_at: Time, - file_download_url: String | nil, - file_id: String | nil, - idempotency_key: String | nil, - status: Increase::Export::Status, - type: Increase::Export::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Export]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/external_accounts_test.rb b/test/increase/resources/external_accounts_test.rb index 627cfa7db..d96c1a6be 100644 --- a/test/increase/resources/external_accounts_test.rb +++ b/test/increase/resources/external_accounts_test.rb @@ -81,28 +81,13 @@ def test_list response = @increase.external_accounts.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::ExternalAccount + response => Increase::Models::ExternalAccountListResponse end assert_pattern do - row => { - id: String, - account_holder: Increase::ExternalAccount::AccountHolder, - account_number: String, - created_at: Time, - description: String, - funding: Increase::ExternalAccount::Funding, - idempotency_key: String | nil, - routing_number: String, - status: Increase::ExternalAccount::Status, - type: Increase::ExternalAccount::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::ExternalAccount]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/fednow_transfers_test.rb b/test/increase/resources/fednow_transfers_test.rb index 0cc64be30..703ffceb2 100644 --- a/test/increase/resources/fednow_transfers_test.rb +++ b/test/increase/resources/fednow_transfers_test.rb @@ -85,40 +85,13 @@ def test_list response = @increase.fednow_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::FednowTransfer + response => Increase::Models::FednowTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number: String, - acknowledgement: Increase::FednowTransfer::Acknowledgement | nil, - amount: Integer, - created_at: Time, - created_by: Increase::FednowTransfer::CreatedBy | nil, - creditor_name: String, - currency: Increase::FednowTransfer::Currency, - debtor_name: String, - external_account_id: String | nil, - idempotency_key: String | nil, - pending_transaction_id: String | nil, - rejection: Increase::FednowTransfer::Rejection | nil, - routing_number: String, - source_account_number_id: String, - status: Increase::FednowTransfer::Status, - submission: Increase::FednowTransfer::Submission | nil, - transaction_id: String | nil, - type: Increase::FednowTransfer::Type, - unique_end_to_end_transaction_reference: String, - unstructured_remittance_information: String + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::FednowTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/files_test.rb b/test/increase/resources/files_test.rb index 46dd95a86..a94889b0e 100644 --- a/test/increase/resources/files_test.rb +++ b/test/increase/resources/files_test.rb @@ -51,27 +51,13 @@ def test_list response = @increase.files.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::File + response => Increase::Models::FileListResponse end assert_pattern do - row => { - id: String, - created_at: Time, - description: String | nil, - direction: Increase::File::Direction, - filename: String | nil, - idempotency_key: String | nil, - mime_type: String, - purpose: Increase::File::Purpose, - type: Increase::File::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::File]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_ach_transfers_test.rb b/test/increase/resources/inbound_ach_transfers_test.rb index 188eae7a9..861983fdf 100644 --- a/test/increase/resources/inbound_ach_transfers_test.rb +++ b/test/increase/resources/inbound_ach_transfers_test.rb @@ -47,45 +47,13 @@ def test_list response = @increase.inbound_ach_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundACHTransfer + response => Increase::Models::InboundACHTransferListResponse end assert_pattern do - row => { - id: String, - acceptance: Increase::InboundACHTransfer::Acceptance | nil, - account_id: String, - account_number_id: String, - addenda: Increase::InboundACHTransfer::Addenda | nil, - amount: Integer, - automatically_resolves_at: Time, - created_at: Time, - decline: Increase::InboundACHTransfer::Decline | nil, - direction: Increase::InboundACHTransfer::Direction, - effective_date: Date, - international_addenda: Increase::InboundACHTransfer::InternationalAddenda | nil, - notification_of_change: Increase::InboundACHTransfer::NotificationOfChange | nil, - originator_company_descriptive_date: String | nil, - originator_company_discretionary_data: String | nil, - originator_company_entry_description: String, - originator_company_id: String, - originator_company_name: String, - originator_routing_number: String, - receiver_id_number: String | nil, - receiver_name: String | nil, - settlement: Increase::InboundACHTransfer::Settlement, - standard_entry_class_code: Increase::InboundACHTransfer::StandardEntryClassCode, - status: Increase::InboundACHTransfer::Status, - trace_number: String, - transfer_return: Increase::InboundACHTransfer::TransferReturn | nil, - type: Increase::InboundACHTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_check_deposits_test.rb b/test/increase/resources/inbound_check_deposits_test.rb index 236442e35..8d3d62b9c 100644 --- a/test/increase/resources/inbound_check_deposits_test.rb +++ b/test/increase/resources/inbound_check_deposits_test.rb @@ -40,38 +40,13 @@ def test_list response = @increase.inbound_check_deposits.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundCheckDeposit + response => Increase::Models::InboundCheckDepositListResponse end assert_pattern do - row => { - id: String, - accepted_at: Time | nil, - account_id: String, - account_number_id: String | nil, - adjustments: ^(Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit::Adjustment]), - amount: Integer, - back_image_file_id: String | nil, - bank_of_first_deposit_routing_number: String | nil, - check_number: String | nil, - check_transfer_id: String | nil, - created_at: Time, - currency: Increase::InboundCheckDeposit::Currency, - declined_at: Time | nil, - declined_transaction_id: String | nil, - deposit_return: Increase::InboundCheckDeposit::DepositReturn | nil, - front_image_file_id: String | nil, - payee_name_analysis: Increase::InboundCheckDeposit::PayeeNameAnalysis, - status: Increase::InboundCheckDeposit::Status, - transaction_id: String | nil, - type: Increase::InboundCheckDeposit::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_fednow_transfers_test.rb b/test/increase/resources/inbound_fednow_transfers_test.rb index 8195a45b0..a42f25164 100644 --- a/test/increase/resources/inbound_fednow_transfers_test.rb +++ b/test/increase/resources/inbound_fednow_transfers_test.rb @@ -36,34 +36,13 @@ def test_list response = @increase.inbound_fednow_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundFednowTransfer + response => Increase::Models::InboundFednowTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number_id: String, - amount: Integer, - confirmation: Increase::InboundFednowTransfer::Confirmation | nil, - created_at: Time, - creditor_name: String, - currency: Increase::InboundFednowTransfer::Currency, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - decline: Increase::InboundFednowTransfer::Decline | nil, - status: Increase::InboundFednowTransfer::Status, - transaction_id: String | nil, - type: Increase::InboundFednowTransfer::Type, - unstructured_remittance_information: String | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundFednowTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_mail_items_test.rb b/test/increase/resources/inbound_mail_items_test.rb index e5aa6a219..acf84a481 100644 --- a/test/increase/resources/inbound_mail_items_test.rb +++ b/test/increase/resources/inbound_mail_items_test.rb @@ -29,27 +29,13 @@ def test_list response = @increase.inbound_mail_items.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundMailItem + response => Increase::Models::InboundMailItemListResponse end assert_pattern do - row => { - id: String, - checks: ^(Increase::Internal::Type::ArrayOf[Increase::InboundMailItem::Check]), - created_at: Time, - file_id: String, - lockbox_id: String | nil, - recipient_name: String | nil, - rejection_reason: Increase::InboundMailItem::RejectionReason | nil, - status: Increase::InboundMailItem::Status, - type: Increase::InboundMailItem::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundMailItem]), + next_cursor: String | nil } end end 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 95ce9ff68..69c59ff7d 100755 --- a/test/increase/resources/inbound_real_time_payments_transfers_test.rb +++ b/test/increase/resources/inbound_real_time_payments_transfers_test.rb @@ -39,34 +39,13 @@ def test_list response = @increase.inbound_real_time_payments_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundRealTimePaymentsTransfer + response => Increase::Models::InboundRealTimePaymentsTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number_id: String, - amount: Integer, - confirmation: Increase::InboundRealTimePaymentsTransfer::Confirmation | nil, - created_at: Time, - creditor_name: String, - currency: Increase::InboundRealTimePaymentsTransfer::Currency, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - decline: Increase::InboundRealTimePaymentsTransfer::Decline | nil, - remittance_information: String | nil, - status: Increase::InboundRealTimePaymentsTransfer::Status, - transaction_identification: String, - type: Increase::InboundRealTimePaymentsTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundRealTimePaymentsTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_wire_drawdown_requests_test.rb b/test/increase/resources/inbound_wire_drawdown_requests_test.rb index 882e7b6d1..9bb542387 100644 --- a/test/increase/resources/inbound_wire_drawdown_requests_test.rb +++ b/test/increase/resources/inbound_wire_drawdown_requests_test.rb @@ -42,39 +42,13 @@ def test_list response = @increase.inbound_wire_drawdown_requests.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundWireDrawdownRequest + response => Increase::Models::InboundWireDrawdownRequestListResponse end assert_pattern do - row => { - id: String, - amount: Integer, - created_at: Time, - creditor_account_number: String, - creditor_address_line1: String | nil, - creditor_address_line2: String | nil, - creditor_address_line3: String | nil, - creditor_name: String | nil, - creditor_routing_number: String, - currency: String, - debtor_address_line1: String | nil, - debtor_address_line2: String | nil, - debtor_address_line3: String | nil, - debtor_name: String | nil, - end_to_end_identification: String | nil, - input_message_accountability_data: String | nil, - instruction_identification: String | nil, - recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type, - unique_end_to_end_transaction_reference: String | nil, - unstructured_remittance_information: String | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundWireDrawdownRequest]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/inbound_wire_transfers_test.rb b/test/increase/resources/inbound_wire_transfers_test.rb index 832a149cf..61219dd7b 100644 --- a/test/increase/resources/inbound_wire_transfers_test.rb +++ b/test/increase/resources/inbound_wire_transfers_test.rb @@ -44,42 +44,13 @@ def test_list response = @increase.inbound_wire_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::InboundWireTransfer + response => Increase::Models::InboundWireTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number_id: String, - amount: Integer, - created_at: Time, - creditor_address_line1: String | nil, - creditor_address_line2: String | nil, - creditor_address_line3: String | nil, - creditor_name: String | nil, - debtor_address_line1: String | nil, - debtor_address_line2: String | nil, - debtor_address_line3: String | nil, - debtor_name: String | nil, - description: String, - end_to_end_identification: String | nil, - input_message_accountability_data: String | nil, - instructing_agent_routing_number: String | nil, - instruction_identification: String | nil, - reversal: Increase::InboundWireTransfer::Reversal | nil, - status: Increase::InboundWireTransfer::Status, - type: Increase::InboundWireTransfer::Type, - unique_end_to_end_transaction_reference: String | nil, - unstructured_remittance_information: String | nil, - wire_drawdown_request_id: String | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundWireTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/intrafi_account_enrollments_test.rb b/test/increase/resources/intrafi_account_enrollments_test.rb index 0b807ba15..fee35c71e 100644 --- a/test/increase/resources/intrafi_account_enrollments_test.rb +++ b/test/increase/resources/intrafi_account_enrollments_test.rb @@ -54,26 +54,13 @@ def test_list response = @increase.intrafi_account_enrollments.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::IntrafiAccountEnrollment + response => Increase::Models::IntrafiAccountEnrollmentListResponse end assert_pattern do - row => { - id: String, - account_id: String, - created_at: Time, - email_address: String | nil, - idempotency_key: String | nil, - intrafi_id: String, - status: Increase::IntrafiAccountEnrollment::Status, - type: Increase::IntrafiAccountEnrollment::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::IntrafiAccountEnrollment]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/intrafi_exclusions_test.rb b/test/increase/resources/intrafi_exclusions_test.rb index 399770137..ecea3f782 100644 --- a/test/increase/resources/intrafi_exclusions_test.rb +++ b/test/increase/resources/intrafi_exclusions_test.rb @@ -54,28 +54,13 @@ def test_list response = @increase.intrafi_exclusions.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::IntrafiExclusion + response => Increase::Models::IntrafiExclusionListResponse end assert_pattern do - row => { - id: String, - bank_name: String, - created_at: Time, - entity_id: String, - excluded_at: Time | nil, - fdic_certificate_number: String | nil, - idempotency_key: String | nil, - status: Increase::IntrafiExclusion::Status, - submitted_at: Time | nil, - type: Increase::IntrafiExclusion::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::IntrafiExclusion]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/lockboxes_test.rb b/test/increase/resources/lockboxes_test.rb index 803e12502..efa5edc5f 100644 --- a/test/increase/resources/lockboxes_test.rb +++ b/test/increase/resources/lockboxes_test.rb @@ -73,27 +73,13 @@ def test_list response = @increase.lockboxes.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Lockbox + response => Increase::Models::LockboxListResponse end assert_pattern do - row => { - id: String, - account_id: String, - address: Increase::Lockbox::Address, - check_deposit_behavior: Increase::Lockbox::CheckDepositBehavior, - created_at: Time, - description: String | nil, - idempotency_key: String | nil, - recipient_name: String | nil, - type: Increase::Lockbox::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Lockbox]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/oauth_applications_test.rb b/test/increase/resources/oauth_applications_test.rb index dfa54f73c..7a2d3ae11 100644 --- a/test/increase/resources/oauth_applications_test.rb +++ b/test/increase/resources/oauth_applications_test.rb @@ -27,25 +27,13 @@ def test_list response = @increase.oauth_applications.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::OAuthApplication + response => Increase::Models::OAuthApplicationListResponse end assert_pattern do - row => { - id: String, - client_id: String, - created_at: Time, - deleted_at: Time | nil, - name: String | nil, - status: Increase::OAuthApplication::Status, - type: Increase::OAuthApplication::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::OAuthApplication]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/oauth_connections_test.rb b/test/increase/resources/oauth_connections_test.rb index e6d8d50d2..1a34c7e00 100644 --- a/test/increase/resources/oauth_connections_test.rb +++ b/test/increase/resources/oauth_connections_test.rb @@ -27,25 +27,13 @@ def test_list response = @increase.oauth_connections.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::OAuthConnection + response => Increase::Models::OAuthConnectionListResponse end assert_pattern do - row => { - id: String, - created_at: Time, - deleted_at: Time | nil, - group_id: String, - oauth_application_id: String, - status: Increase::OAuthConnection::Status, - type: Increase::OAuthConnection::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::OAuthConnection]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/pending_transactions_test.rb b/test/increase/resources/pending_transactions_test.rb index d22600ae0..317400551 100644 --- a/test/increase/resources/pending_transactions_test.rb +++ b/test/increase/resources/pending_transactions_test.rb @@ -60,31 +60,13 @@ def test_list response = @increase.pending_transactions.list assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::PendingTransactionListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::PendingTransaction - end - - assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - completed_at: Time | nil, - created_at: Time, - currency: Increase::PendingTransaction::Currency, - description: String, - held_amount: Integer, - route_id: String | nil, - route_type: Increase::PendingTransaction::RouteType | nil, - source: Increase::PendingTransaction::Source, - status: Increase::PendingTransaction::Status, - type: Increase::PendingTransaction::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::PendingTransaction]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/physical_card_profiles_test.rb b/test/increase/resources/physical_card_profiles_test.rb index caac180e6..0a3dbbce0 100644 --- a/test/increase/resources/physical_card_profiles_test.rb +++ b/test/increase/resources/physical_card_profiles_test.rb @@ -66,31 +66,13 @@ def test_list response = @increase.physical_card_profiles.list assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::PhysicalCardProfileListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::PhysicalCardProfile - end - - assert_pattern do - row => { - id: String, - back_image_file_id: String | nil, - carrier_image_file_id: String | nil, - contact_phone: String | nil, - created_at: Time, - creator: Increase::PhysicalCardProfile::Creator, - description: String, - front_image_file_id: String | nil, - idempotency_key: String | nil, - is_default: Increase::Internal::Type::Boolean, - program_id: String, - status: Increase::PhysicalCardProfile::Status, - type: Increase::PhysicalCardProfile::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::PhysicalCardProfile]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/physical_cards_test.rb b/test/increase/resources/physical_cards_test.rb index 32fb7ab09..3b92db9af 100644 --- a/test/increase/resources/physical_cards_test.rb +++ b/test/increase/resources/physical_cards_test.rb @@ -87,27 +87,13 @@ def test_list response = @increase.physical_cards.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::PhysicalCard + response => Increase::Models::PhysicalCardListResponse end assert_pattern do - row => { - id: String, - card_id: String, - cardholder: Increase::PhysicalCard::Cardholder, - created_at: Time, - idempotency_key: String | nil, - physical_card_profile_id: String | nil, - shipment: Increase::PhysicalCard::Shipment, - status: Increase::PhysicalCard::Status, - type: Increase::PhysicalCard::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::PhysicalCard]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/programs_test.rb b/test/increase/resources/programs_test.rb index 44a6043b9..287a480f2 100644 --- a/test/increase/resources/programs_test.rb +++ b/test/increase/resources/programs_test.rb @@ -29,27 +29,13 @@ def test_list response = @increase.programs.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Program + response => Increase::Models::ProgramListResponse end assert_pattern do - row => { - id: String, - bank: Increase::Program::Bank, - billing_account_id: String | nil, - created_at: Time, - default_digital_card_profile_id: String | nil, - interest_rate: String, - name: String, - type: Increase::Program::Type, - updated_at: Time + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Program]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/real_time_payments_transfers_test.rb b/test/increase/resources/real_time_payments_transfers_test.rb index 70bf08b41..4f2ee3938 100644 --- a/test/increase/resources/real_time_payments_transfers_test.rb +++ b/test/increase/resources/real_time_payments_transfers_test.rb @@ -90,43 +90,13 @@ def test_list response = @increase.real_time_payments_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::RealTimePaymentsTransfer + response => Increase::Models::RealTimePaymentsTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement | nil, - amount: Integer, - approval: Increase::RealTimePaymentsTransfer::Approval | nil, - cancellation: Increase::RealTimePaymentsTransfer::Cancellation | nil, - created_at: Time, - created_by: Increase::RealTimePaymentsTransfer::CreatedBy | nil, - creditor_name: String, - currency: Increase::RealTimePaymentsTransfer::Currency, - debtor_name: String | nil, - destination_account_number: String, - destination_routing_number: String, - external_account_id: String | nil, - idempotency_key: String | nil, - pending_transaction_id: String | nil, - rejection: Increase::RealTimePaymentsTransfer::Rejection | nil, - remittance_information: String, - source_account_number_id: String, - status: Increase::RealTimePaymentsTransfer::Status, - submission: Increase::RealTimePaymentsTransfer::Submission | nil, - transaction_id: String | nil, - type: Increase::RealTimePaymentsTransfer::Type, - ultimate_creditor_name: String | nil, - ultimate_debtor_name: String | nil + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::RealTimePaymentsTransfer]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/routing_numbers_test.rb b/test/increase/resources/routing_numbers_test.rb index 2e402c462..0b7386442 100644 --- a/test/increase/resources/routing_numbers_test.rb +++ b/test/increase/resources/routing_numbers_test.rb @@ -7,25 +7,13 @@ def test_list_required_params response = @increase.routing_numbers.list(routing_number: "xxxxxxxxx") assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Models::RoutingNumberListResponse + response => Increase::Models::RoutingNumberListResponse end assert_pattern do - row => { - ach_transfers: Increase::Models::RoutingNumberListResponse::ACHTransfers, - fednow_transfers: Increase::Models::RoutingNumberListResponse::FednowTransfers, - name: String, - real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers, - routing_number: String, - type: Increase::Models::RoutingNumberListResponse::Type, - wire_transfers: Increase::Models::RoutingNumberListResponse::WireTransfers + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Models::RoutingNumberListResponse::Data]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/supplemental_documents_test.rb b/test/increase/resources/supplemental_documents_test.rb index 7d66342fd..2d4a0d634 100644 --- a/test/increase/resources/supplemental_documents_test.rb +++ b/test/increase/resources/supplemental_documents_test.rb @@ -29,23 +29,13 @@ def test_list_required_params response = @increase.supplemental_documents.list(entity_id: "entity_id") assert_pattern do - response => Increase::Internal::Page + response => Increase::Models::SupplementalDocumentListResponse end - row = response.to_enum.first - return if row.nil? - assert_pattern do - row => Increase::EntitySupplementalDocument - end - - assert_pattern do - row => { - created_at: Time, - entity_id: String, - file_id: String, - idempotency_key: String | nil, - type: Increase::EntitySupplementalDocument::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/transactions_test.rb b/test/increase/resources/transactions_test.rb index 99a464832..8670658af 100644 --- a/test/increase/resources/transactions_test.rb +++ b/test/increase/resources/transactions_test.rb @@ -30,28 +30,13 @@ def test_list response = @increase.transactions.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::Transaction + response => Increase::Models::TransactionListResponse end assert_pattern do - row => { - id: String, - account_id: String, - amount: Integer, - created_at: Time, - currency: Increase::Transaction::Currency, - description: String, - route_id: String | nil, - route_type: Increase::Transaction::RouteType | nil, - source: Increase::Transaction::Source, - type: Increase::Transaction::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::Transaction]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/wire_drawdown_requests_test.rb b/test/increase/resources/wire_drawdown_requests_test.rb index 13748f039..ba8d7bb76 100644 --- a/test/increase/resources/wire_drawdown_requests_test.rb +++ b/test/increase/resources/wire_drawdown_requests_test.rb @@ -78,36 +78,13 @@ def test_list response = @increase.wire_drawdown_requests.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::WireDrawdownRequest + response => Increase::Models::WireDrawdownRequestListResponse end assert_pattern do - row => { - id: String, - account_number_id: String, - amount: Integer, - created_at: Time, - creditor_address: Increase::WireDrawdownRequest::CreditorAddress, - creditor_name: String, - currency: String, - debtor_account_number: String, - debtor_address: Increase::WireDrawdownRequest::DebtorAddress, - debtor_external_account_id: String | nil, - debtor_name: String, - debtor_routing_number: String, - fulfillment_inbound_wire_transfer_id: String | nil, - idempotency_key: String | nil, - status: Increase::WireDrawdownRequest::Status, - submission: Increase::WireDrawdownRequest::Submission | nil, - type: Increase::WireDrawdownRequest::Type, - unstructured_remittance_information: String + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::WireDrawdownRequest]), + next_cursor: String | nil } end end diff --git a/test/increase/resources/wire_transfers_test.rb b/test/increase/resources/wire_transfers_test.rb index c73c6fb07..351eae78e 100644 --- a/test/increase/resources/wire_transfers_test.rb +++ b/test/increase/resources/wire_transfers_test.rb @@ -87,42 +87,13 @@ def test_list response = @increase.wire_transfers.list assert_pattern do - response => Increase::Internal::Page - end - - row = response.to_enum.first - return if row.nil? - - assert_pattern do - row => Increase::WireTransfer + response => Increase::Models::WireTransferListResponse end assert_pattern do - row => { - id: String, - account_id: String, - account_number: String, - amount: Integer, - approval: Increase::WireTransfer::Approval | nil, - cancellation: Increase::WireTransfer::Cancellation | nil, - created_at: Time, - created_by: Increase::WireTransfer::CreatedBy | nil, - creditor: Increase::WireTransfer::Creditor | nil, - currency: Increase::WireTransfer::Currency, - debtor: Increase::WireTransfer::Debtor | nil, - external_account_id: String | nil, - idempotency_key: String | nil, - inbound_wire_drawdown_request_id: String | nil, - network: Increase::WireTransfer::Network, - pending_transaction_id: String | nil, - remittance: Increase::WireTransfer::Remittance | nil, - reversal: Increase::WireTransfer::Reversal | nil, - routing_number: String, - source_account_number_id: String | nil, - status: Increase::WireTransfer::Status, - submission: Increase::WireTransfer::Submission | nil, - transaction_id: String | nil, - type: Increase::WireTransfer::Type + response => { + data: ^(Increase::Internal::Type::ArrayOf[Increase::WireTransfer]), + next_cursor: String | nil } end end From aab574b32d11bfa4cd764db5589626498661a975 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 26 Nov 2025 17:59:27 +0000 Subject: [PATCH 2/2] release: 1.150.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8138f974e..de8d46f84 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.149.0" + ".": "1.150.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e1699dda..e96d90a20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.150.0 (2025-11-26) + +Full Changelog: [v1.149.0...v1.150.0](https://github.com/Increase/increase-ruby/compare/v1.149.0...v1.150.0) + +### Features + +* **api:** api update ([f837860](https://github.com/Increase/increase-ruby/commit/f83786006c083bfc0a72c3982746194d73edb0b2)) + ## 1.149.0 (2025-11-24) Full Changelog: [v1.148.0...v1.149.0](https://github.com/Increase/increase-ruby/compare/v1.148.0...v1.149.0) diff --git a/Gemfile.lock b/Gemfile.lock index d6c6cb4f2..511d11024 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.149.0) + increase (1.150.0) connection_pool GEM diff --git a/README.md b/README.md index bbe6f2282..be8bd819f 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.149.0" +gem "increase", "~> 1.150.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 0654799d4..3dd112bf1 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.149.0" + VERSION = "1.150.0" end