diff --git a/.release-please-manifest.json b/.release-please-manifest.json index de8d46f8..cba3e4b1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.150.0" + ".": "1.151.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index fa77aa9b..b52e8c7d 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: eecc5886c26d07c167f37f30ae505a2c +config_hash: ca1425272e17fa23d4466d33492334fa diff --git a/CHANGELOG.md b/CHANGELOG.md index e96d90a2..2f007c29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.151.0 (2025-11-26) + +Full Changelog: [v1.150.0...v1.151.0](https://github.com/Increase/increase-ruby/compare/v1.150.0...v1.151.0) + +### Features + +* **api:** api update ([482166c](https://github.com/Increase/increase-ruby/commit/482166c1ef656506c37cafb2585b0c9b3b8de2c7)) + ## 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) diff --git a/Gemfile.lock b/Gemfile.lock index 511d1102..23832316 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.150.0) + increase (1.151.0) connection_pool GEM diff --git a/README.md b/README.md index be8bd819..747061c1 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.150.0" +gem "increase", "~> 1.151.0" ``` @@ -31,11 +31,43 @@ increase = Increase::Client.new( environment: "sandbox" # defaults to "production" ) -account = increase.accounts.create(name: "New Account!") +account = increase.accounts.create( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i" +) 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. @@ -106,7 +138,12 @@ increase = Increase::Client.new( ) # Or, configure per-request: -increase.accounts.create(name: "New Account!", request_options: {max_retries: 5}) +increase.accounts.create( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i", + request_options: {max_retries: 5} +) ``` ### Timeouts @@ -120,7 +157,12 @@ increase = Increase::Client.new( ) # Or, configure per-request: -increase.accounts.create(name: "New Account!", request_options: {timeout: 5}) +increase.accounts.create( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i", + request_options: {timeout: 5} +) ``` On timeout, `Increase::Errors::APITimeoutError` is raised. @@ -153,6 +195,8 @@ 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}, @@ -198,17 +242,29 @@ 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!") +increase.accounts.create( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i" +) ``` Or, equivalently: ```ruby # Hashes work, but are not typesafe: -increase.accounts.create(name: "New Account!") +increase.accounts.create( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i" +) # You can also splat a full Params class: -params = Increase::AccountCreateParams.new(name: "New Account!") +params = Increase::AccountCreateParams.new( + name: "New Account!", + entity_id: "entity_n8y8tnk2p9339ti393yi", + program_id: "program_i2v2os4mwza1oetokh9i" +) increase.accounts.create(**params) ``` diff --git a/lib/increase.rb b/lib/increase.rb index 430f680e..e8d5b5a4 100644 --- a/lib/increase.rb +++ b/lib/increase.rb @@ -58,54 +58,45 @@ 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" @@ -115,74 +106,61 @@ 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" @@ -191,7 +169,6 @@ 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" @@ -200,23 +177,19 @@ 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" @@ -224,14 +197,12 @@ 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" @@ -239,41 +210,33 @@ 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" @@ -282,46 +245,38 @@ 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" @@ -331,7 +286,6 @@ 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" @@ -378,22 +332,18 @@ 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 4fe88600..aee3a882 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 |item| - # puts(item) + # page.auto_paging_each do |account| + # puts(account) # end class Page include Increase::Internal::Type::BasePage - # @return [Object] + # @return [Array>, nil] attr_accessor :data - # @return [Object] + # @return [String, nil] attr_accessor :next_cursor # @return [Boolean] def next_page? - !empty? && !next_cursor.nil? + !data.to_a.empty? && !next_cursor.to_s.empty? 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.each(&blk) + page.data&.each(&blk) break unless page.next_page? page = page.next_page @@ -65,8 +65,12 @@ def auto_paging_each(&blk) def initialize(client:, req:, headers:, page_data:) super - @data = page_data[:":data"] - @next_cursor = page_data[:":next_cursor"] + 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] end # @api private @@ -75,7 +79,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)}>" + "#<#{self.class}[#{model}]:0x#{object_id.to_s(16)} next_cursor=#{next_cursor.inspect}>" end end end diff --git a/lib/increase/models/account_list_response.rb b/lib/increase/models/account_list_response.rb deleted file mode 100644 index aa2e51dc..00000000 --- a/lib/increase/models/account_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 5fa035d9..00000000 --- a/lib/increase/models/account_number_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index b10280e5..00000000 --- a/lib/increase/models/account_statement_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 953ac59b..00000000 --- a/lib/increase/models/account_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 1ed68525..00000000 --- a/lib/increase/models/ach_prenotification_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index e234a909..00000000 --- a/lib/increase/models/ach_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index de83c9cf..00000000 --- a/lib/increase/models/bookkeeping_account_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 21d2fbfc..00000000 --- a/lib/increase/models/bookkeeping_entry_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 602c1eab..00000000 --- a/lib/increase/models/bookkeeping_entry_set_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index ce598399..00000000 --- a/lib/increase/models/card_dispute_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 42f77fde..00000000 --- a/lib/increase/models/card_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 8847a922..00000000 --- a/lib/increase/models/card_payment_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 121e09d2..00000000 --- a/lib/increase/models/card_purchase_supplement_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 62b69c6e..00000000 --- a/lib/increase/models/card_push_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 9d5bca9c..00000000 --- a/lib/increase/models/card_token_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index afe6bd2e..00000000 --- a/lib/increase/models/card_validation_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index b7099247..00000000 --- a/lib/increase/models/check_deposit_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index e00da4ce..00000000 --- a/lib/increase/models/check_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 18f67071..00000000 --- a/lib/increase/models/declined_transaction_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index cca62c36..00000000 --- a/lib/increase/models/digital_card_profile_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index fd1500ec..00000000 --- a/lib/increase/models/digital_wallet_token_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index e4a33681..00000000 --- a/lib/increase/models/document_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 43640b37..00000000 --- a/lib/increase/models/entity_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 5b54390e..00000000 --- a/lib/increase/models/event_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 51f023f4..00000000 --- a/lib/increase/models/event_subscription_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index d60cc94e..00000000 --- a/lib/increase/models/export_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 5cebe98a..00000000 --- a/lib/increase/models/external_account_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 4f936069..00000000 --- a/lib/increase/models/fednow_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 8d5c0a01..00000000 --- a/lib/increase/models/file_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 535fa854..00000000 --- a/lib/increase/models/inbound_ach_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index a0106d89..00000000 --- a/lib/increase/models/inbound_check_deposit_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 2ed07a88..00000000 --- a/lib/increase/models/inbound_fednow_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index fbc7a3fc..00000000 --- a/lib/increase/models/inbound_mail_item_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index a1ecb775..00000000 --- a/lib/increase/models/inbound_real_time_payments_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index e478e754..00000000 --- a/lib/increase/models/inbound_wire_drawdown_request_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 0e7b4558..00000000 --- a/lib/increase/models/inbound_wire_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index d38d8d7c..00000000 --- a/lib/increase/models/intrafi_account_enrollment_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 323cac44..00000000 --- a/lib/increase/models/intrafi_exclusion_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 2ffec4d7..00000000 --- a/lib/increase/models/lockbox_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 4ea1c390..00000000 --- a/lib/increase/models/oauth_application_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index c18064a2..00000000 --- a/lib/increase/models/oauth_connection_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index e491dc07..00000000 --- a/lib/increase/models/pending_transaction_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index cd1bc91d..00000000 --- a/lib/increase/models/physical_card_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 10d9fc6c..00000000 --- a/lib/increase/models/physical_card_profile_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 98a37dd3..00000000 --- a/lib/increase/models/program_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index a57922fc..00000000 --- a/lib/increase/models/real_time_payments_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 1351a139..30bdea74 100644 --- a/lib/increase/models/routing_number_list_response.rb +++ b/lib/increase/models/routing_number_list_response.rb @@ -4,168 +4,145 @@ module Increase module Models # @see Increase::Resources::RoutingNumbers#list class RoutingNumberListResponse < Increase::Internal::Type::BaseModel - # @!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 + # @!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] end end end diff --git a/lib/increase/models/supplemental_document_list_response.rb b/lib/increase/models/supplemental_document_list_response.rb deleted file mode 100644 index 2c82063c..00000000 --- a/lib/increase/models/supplemental_document_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index ab487fd4..00000000 --- a/lib/increase/models/transaction_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 94c77194..00000000 --- a/lib/increase/models/wire_drawdown_request_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 deleted file mode 100644 index 37c26a00..00000000 --- a/lib/increase/models/wire_transfer_list_response.rb +++ /dev/null @@ -1,27 +0,0 @@ -# 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 cc0bb53b..09aea7d1 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::Models::AccountNumberListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountNumberListParams def list(params = {}) @@ -119,7 +119,8 @@ def list(params = {}) method: :get, path: "account_numbers", query: parsed, - model: Increase::Models::AccountNumberListResponse, + page: Increase::Internal::Page, + model: Increase::AccountNumber, options: options ) end diff --git a/lib/increase/resources/account_statements.rb b/lib/increase/resources/account_statements.rb index a1d86346..16fc8f70 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::Models::AccountStatementListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountStatementListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "account_statements", query: parsed, - model: Increase::Models::AccountStatementListResponse, + page: Increase::Internal::Page, + model: Increase::AccountStatement, options: options ) end diff --git a/lib/increase/resources/account_transfers.rb b/lib/increase/resources/account_transfers.rb index f13c5e92..f954109a 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::Models::AccountTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountTransferListParams def list(params = {}) @@ -84,7 +84,8 @@ def list(params = {}) method: :get, path: "account_transfers", query: parsed, - model: Increase::Models::AccountTransferListResponse, + page: Increase::Internal::Page, + model: Increase::AccountTransfer, options: options ) end diff --git a/lib/increase/resources/accounts.rb b/lib/increase/resources/accounts.rb index 28c8faf1..41270d80 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::Models::AccountListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountListParams def list(params = {}) @@ -117,7 +117,8 @@ def list(params = {}) method: :get, path: "accounts", query: parsed, - model: Increase::Models::AccountListResponse, + page: Increase::Internal::Page, + model: Increase::Account, options: options ) end diff --git a/lib/increase/resources/ach_prenotifications.rb b/lib/increase/resources/ach_prenotifications.rb index 2f32e73d..be5b3b58 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::Models::ACHPrenotificationListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::ACHPrenotificationListParams def list(params = {}) @@ -98,7 +98,8 @@ def list(params = {}) method: :get, path: "ach_prenotifications", query: parsed, - model: Increase::Models::ACHPrenotificationListResponse, + page: Increase::Internal::Page, + model: Increase::ACHPrenotification, options: options ) end diff --git a/lib/increase/resources/ach_transfers.rb b/lib/increase/resources/ach_transfers.rb index 87df8eaf..fa3b1484 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::Models::ACHTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::ACHTransferListParams def list(params = {}) @@ -116,7 +116,8 @@ def list(params = {}) method: :get, path: "ach_transfers", query: parsed, - model: Increase::Models::ACHTransferListResponse, + page: Increase::Internal::Page, + model: Increase::ACHTransfer, options: options ) end diff --git a/lib/increase/resources/bookkeeping_accounts.rb b/lib/increase/resources/bookkeeping_accounts.rb index 84eb163a..494c5464 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::Models::BookkeepingAccountListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingAccountListParams def list(params = {}) @@ -79,7 +79,8 @@ def list(params = {}) method: :get, path: "bookkeeping_accounts", query: parsed, - model: Increase::Models::BookkeepingAccountListResponse, + page: Increase::Internal::Page, + model: Increase::BookkeepingAccount, options: options ) end diff --git a/lib/increase/resources/bookkeeping_entries.rb b/lib/increase/resources/bookkeeping_entries.rb index 07f09cce..af7365ba 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::Models::BookkeepingEntryListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingEntryListParams def list(params = {}) @@ -47,7 +47,8 @@ def list(params = {}) method: :get, path: "bookkeeping_entries", query: parsed, - model: Increase::Models::BookkeepingEntryListResponse, + page: Increase::Internal::Page, + model: Increase::BookkeepingEntry, options: options ) end diff --git a/lib/increase/resources/bookkeeping_entry_sets.rb b/lib/increase/resources/bookkeeping_entry_sets.rb index 5a59be56..ac918ede 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::Models::BookkeepingEntrySetListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingEntrySetListParams def list(params = {}) @@ -78,7 +78,8 @@ def list(params = {}) method: :get, path: "bookkeeping_entry_sets", query: parsed, - model: Increase::Models::BookkeepingEntrySetListResponse, + page: Increase::Internal::Page, + model: Increase::BookkeepingEntrySet, options: options ) end diff --git a/lib/increase/resources/card_disputes.rb b/lib/increase/resources/card_disputes.rb index cbd7a96c..9220f38e 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::Models::CardDisputeListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardDisputeListParams def list(params = {}) @@ -84,7 +84,8 @@ def list(params = {}) method: :get, path: "card_disputes", query: parsed, - model: Increase::Models::CardDisputeListResponse, + page: Increase::Internal::Page, + model: Increase::CardDispute, options: options ) end diff --git a/lib/increase/resources/card_payments.rb b/lib/increase/resources/card_payments.rb index 8fec0828..478a7354 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::Models::CardPaymentListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardPaymentListParams def list(params = {}) @@ -51,7 +51,8 @@ def list(params = {}) method: :get, path: "card_payments", query: parsed, - model: Increase::Models::CardPaymentListResponse, + page: Increase::Internal::Page, + model: Increase::CardPayment, options: options ) end diff --git a/lib/increase/resources/card_purchase_supplements.rb b/lib/increase/resources/card_purchase_supplements.rb index 80325d37..d0338227 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::Models::CardPurchaseSupplementListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardPurchaseSupplementListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "card_purchase_supplements", query: parsed, - model: Increase::Models::CardPurchaseSupplementListResponse, + page: Increase::Internal::Page, + model: Increase::CardPurchaseSupplement, options: options ) end diff --git a/lib/increase/resources/card_push_transfers.rb b/lib/increase/resources/card_push_transfers.rb index 9e857f14..45fd50e7 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::Models::CardPushTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardPushTransferListParams def list(params = {}) @@ -110,7 +110,8 @@ def list(params = {}) method: :get, path: "card_push_transfers", query: parsed, - model: Increase::Models::CardPushTransferListResponse, + page: Increase::Internal::Page, + model: Increase::CardPushTransfer, options: options ) end diff --git a/lib/increase/resources/card_tokens.rb b/lib/increase/resources/card_tokens.rb index 656c342d..90c31fdf 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::Models::CardTokenListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardTokenListParams def list(params = {}) @@ -47,7 +47,8 @@ def list(params = {}) method: :get, path: "card_tokens", query: parsed, - model: Increase::Models::CardTokenListResponse, + page: Increase::Internal::Page, + model: Increase::CardToken, options: options ) end diff --git a/lib/increase/resources/card_validations.rb b/lib/increase/resources/card_validations.rb index 3900abaf..bf2bd23b 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::Models::CardValidationListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardValidationListParams def list(params = {}) @@ -100,7 +100,8 @@ def list(params = {}) method: :get, path: "card_validations", query: parsed, - model: Increase::Models::CardValidationListResponse, + page: Increase::Internal::Page, + model: Increase::CardValidation, options: options ) end diff --git a/lib/increase/resources/cards.rb b/lib/increase/resources/cards.rb index 85277efb..c1e8da83 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::Models::CardListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardListParams def list(params = {}) @@ -115,7 +115,8 @@ def list(params = {}) method: :get, path: "cards", query: parsed, - model: Increase::Models::CardListResponse, + page: Increase::Internal::Page, + model: Increase::Card, options: options ) end diff --git a/lib/increase/resources/check_deposits.rb b/lib/increase/resources/check_deposits.rb index fffad8cf..27298563 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::Models::CheckDepositListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CheckDepositListParams def list(params = {}) @@ -84,7 +84,8 @@ def list(params = {}) method: :get, path: "check_deposits", query: parsed, - model: Increase::Models::CheckDepositListResponse, + page: Increase::Internal::Page, + model: Increase::CheckDeposit, options: options ) end diff --git a/lib/increase/resources/check_transfers.rb b/lib/increase/resources/check_transfers.rb index f28c43c0..ce097f7e 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::Models::CheckTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::CheckTransferListParams def list(params = {}) @@ -96,7 +96,8 @@ def list(params = {}) method: :get, path: "check_transfers", query: parsed, - model: Increase::Models::CheckTransferListResponse, + page: Increase::Internal::Page, + model: Increase::CheckTransfer, options: options ) end diff --git a/lib/increase/resources/declined_transactions.rb b/lib/increase/resources/declined_transactions.rb index 6c97ee3a..4e65a64b 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::Models::DeclinedTransactionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::DeclinedTransactionListParams def list(params = {}) @@ -53,7 +53,8 @@ def list(params = {}) method: :get, path: "declined_transactions", query: parsed, - model: Increase::Models::DeclinedTransactionListResponse, + page: Increase::Internal::Page, + model: Increase::DeclinedTransaction, options: options ) end diff --git a/lib/increase/resources/digital_card_profiles.rb b/lib/increase/resources/digital_card_profiles.rb index cd14918b..92d94459 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::Models::DigitalCardProfileListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::DigitalCardProfileListParams def list(params = {}) @@ -87,7 +87,8 @@ def list(params = {}) method: :get, path: "digital_card_profiles", query: parsed, - model: Increase::Models::DigitalCardProfileListResponse, + page: Increase::Internal::Page, + model: Increase::DigitalCardProfile, options: options ) end diff --git a/lib/increase/resources/digital_wallet_tokens.rb b/lib/increase/resources/digital_wallet_tokens.rb index b8610c32..f605137f 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::Models::DigitalWalletTokenListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::DigitalWalletTokenListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "digital_wallet_tokens", query: parsed, - model: Increase::Models::DigitalWalletTokenListResponse, + page: Increase::Internal::Page, + model: Increase::DigitalWalletToken, options: options ) end diff --git a/lib/increase/resources/documents.rb b/lib/increase/resources/documents.rb index 35cc9447..7085de4f 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::Models::DocumentListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::DocumentListParams def list(params = {}) @@ -82,7 +82,8 @@ def list(params = {}) method: :get, path: "documents", query: parsed, - model: Increase::Models::DocumentListResponse, + page: Increase::Internal::Page, + model: Increase::Document, options: options ) end diff --git a/lib/increase/resources/entities.rb b/lib/increase/resources/entities.rb index 110a41c8..e9893693 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::Models::EntityListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::EntityListParams def list(params = {}) @@ -133,7 +133,8 @@ def list(params = {}) method: :get, path: "entities", query: parsed, - model: Increase::Models::EntityListResponse, + page: Increase::Internal::Page, + model: Increase::Entity, options: options ) end diff --git a/lib/increase/resources/event_subscriptions.rb b/lib/increase/resources/event_subscriptions.rb index 93b19f1b..a395de60 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::Models::EventSubscriptionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::EventSubscriptionListParams def list(params = {}) @@ -104,7 +104,8 @@ def list(params = {}) method: :get, path: "event_subscriptions", query: parsed, - model: Increase::Models::EventSubscriptionListResponse, + page: Increase::Internal::Page, + model: Increase::EventSubscription, options: options ) end diff --git a/lib/increase/resources/events.rb b/lib/increase/resources/events.rb index 19a019ee..dc9d4694 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::Models::EventListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::EventListParams def list(params = {}) @@ -51,7 +51,8 @@ def list(params = {}) method: :get, path: "events", query: parsed, - model: Increase::Models::EventListResponse, + page: Increase::Internal::Page, + model: Increase::Event, options: options ) end diff --git a/lib/increase/resources/exports.rb b/lib/increase/resources/exports.rb index d4b6034d..6642e0c4 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::Models::ExportListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::ExportListParams def list(params = {}) @@ -94,7 +94,8 @@ def list(params = {}) method: :get, path: "exports", query: parsed, - model: Increase::Models::ExportListResponse, + page: Increase::Internal::Page, + model: Increase::Export, options: options ) end diff --git a/lib/increase/resources/external_accounts.rb b/lib/increase/resources/external_accounts.rb index 038e8cb2..868c976a 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::Models::ExternalAccountListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::ExternalAccountListParams def list(params = {}) @@ -114,7 +114,8 @@ def list(params = {}) method: :get, path: "external_accounts", query: parsed, - model: Increase::Models::ExternalAccountListResponse, + page: Increase::Internal::Page, + model: Increase::ExternalAccount, options: options ) end diff --git a/lib/increase/resources/fednow_transfers.rb b/lib/increase/resources/fednow_transfers.rb index a4ab9866..e66a0be3 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::Models::FednowTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::FednowTransferListParams def list(params = {}) @@ -102,7 +102,8 @@ def list(params = {}) method: :get, path: "fednow_transfers", query: parsed, - model: Increase::Models::FednowTransferListResponse, + page: Increase::Internal::Page, + model: Increase::FednowTransfer, options: options ) end diff --git a/lib/increase/resources/files.rb b/lib/increase/resources/files.rb index bd43cf1c..e4966ed1 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::Models::FileListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::FileListParams def list(params = {}) @@ -83,7 +83,8 @@ def list(params = {}) method: :get, path: "files", query: parsed, - model: Increase::Models::FileListResponse, + page: Increase::Internal::Page, + model: Increase::File, options: options ) end diff --git a/lib/increase/resources/inbound_ach_transfers.rb b/lib/increase/resources/inbound_ach_transfers.rb index 76011265..f0800975 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::Models::InboundACHTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundACHTransferListParams def list(params = {}) @@ -53,7 +53,8 @@ def list(params = {}) method: :get, path: "inbound_ach_transfers", query: parsed, - model: Increase::Models::InboundACHTransferListResponse, + page: Increase::Internal::Page, + model: Increase::InboundACHTransfer, options: options ) end diff --git a/lib/increase/resources/inbound_check_deposits.rb b/lib/increase/resources/inbound_check_deposits.rb index 70e72ec3..803591ee 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::Models::InboundCheckDepositListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundCheckDepositListParams def list(params = {}) @@ -51,7 +51,8 @@ def list(params = {}) method: :get, path: "inbound_check_deposits", query: parsed, - model: Increase::Models::InboundCheckDepositListResponse, + page: Increase::Internal::Page, + model: Increase::InboundCheckDeposit, options: options ) end diff --git a/lib/increase/resources/inbound_fednow_transfers.rb b/lib/increase/resources/inbound_fednow_transfers.rb index 7a8b6320..49f362b4 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::Models::InboundFednowTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundFednowTransferListParams def list(params = {}) @@ -51,7 +51,8 @@ def list(params = {}) method: :get, path: "inbound_fednow_transfers", query: parsed, - model: Increase::Models::InboundFednowTransferListResponse, + page: Increase::Internal::Page, + model: Increase::InboundFednowTransfer, options: options ) end diff --git a/lib/increase/resources/inbound_mail_items.rb b/lib/increase/resources/inbound_mail_items.rb index 2b5b23d5..a045f001 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::Models::InboundMailItemListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundMailItemListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "inbound_mail_items", query: parsed, - model: Increase::Models::InboundMailItemListResponse, + page: Increase::Internal::Page, + model: Increase::InboundMailItem, 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 bb215f56..cfdcb709 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::Models::InboundRealTimePaymentsTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundRealTimePaymentsTransferListParams def list(params = {}) @@ -51,7 +51,8 @@ def list(params = {}) method: :get, path: "inbound_real_time_payments_transfers", query: parsed, - model: Increase::Models::InboundRealTimePaymentsTransferListResponse, + page: Increase::Internal::Page, + model: Increase::InboundRealTimePaymentsTransfer, options: options ) end diff --git a/lib/increase/resources/inbound_wire_drawdown_requests.rb b/lib/increase/resources/inbound_wire_drawdown_requests.rb index 28d5341d..d50403d7 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::Models::InboundWireDrawdownRequestListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundWireDrawdownRequestListParams def list(params = {}) @@ -45,7 +45,8 @@ def list(params = {}) method: :get, path: "inbound_wire_drawdown_requests", query: parsed, - model: Increase::Models::InboundWireDrawdownRequestListResponse, + page: Increase::Internal::Page, + model: Increase::InboundWireDrawdownRequest, options: options ) end diff --git a/lib/increase/resources/inbound_wire_transfers.rb b/lib/increase/resources/inbound_wire_transfers.rb index aa8f6969..233b84f2 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::Models::InboundWireTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundWireTransferListParams def list(params = {}) @@ -55,7 +55,8 @@ def list(params = {}) method: :get, path: "inbound_wire_transfers", query: parsed, - model: Increase::Models::InboundWireTransferListResponse, + page: Increase::Internal::Page, + model: Increase::InboundWireTransfer, options: options ) end diff --git a/lib/increase/resources/intrafi_account_enrollments.rb b/lib/increase/resources/intrafi_account_enrollments.rb index dedc0b22..b4930f35 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::Models::IntrafiAccountEnrollmentListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::IntrafiAccountEnrollmentListParams def list(params = {}) @@ -75,7 +75,8 @@ def list(params = {}) method: :get, path: "intrafi_account_enrollments", query: parsed, - model: Increase::Models::IntrafiAccountEnrollmentListResponse, + page: Increase::Internal::Page, + model: Increase::IntrafiAccountEnrollment, options: options ) end diff --git a/lib/increase/resources/intrafi_exclusions.rb b/lib/increase/resources/intrafi_exclusions.rb index 01b74b0c..9b6ada4a 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::Models::IntrafiExclusionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::IntrafiExclusionListParams def list(params = {}) @@ -73,7 +73,8 @@ def list(params = {}) method: :get, path: "intrafi_exclusions", query: parsed, - model: Increase::Models::IntrafiExclusionListResponse, + page: Increase::Internal::Page, + model: Increase::IntrafiExclusion, options: options ) end diff --git a/lib/increase/resources/lockboxes.rb b/lib/increase/resources/lockboxes.rb index ffe9c13c..070ea219 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::Models::LockboxListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::LockboxListParams def list(params = {}) @@ -105,7 +105,8 @@ def list(params = {}) method: :get, path: "lockboxes", query: parsed, - model: Increase::Models::LockboxListResponse, + page: Increase::Internal::Page, + model: Increase::Lockbox, options: options ) end diff --git a/lib/increase/resources/oauth_applications.rb b/lib/increase/resources/oauth_applications.rb index 5d876764..b4102b02 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::Models::OAuthApplicationListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::OAuthApplicationListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "oauth_applications", query: parsed, - model: Increase::Models::OAuthApplicationListResponse, + page: Increase::Internal::Page, + model: Increase::OAuthApplication, options: options ) end diff --git a/lib/increase/resources/oauth_connections.rb b/lib/increase/resources/oauth_connections.rb index 945631ec..52ffbf3f 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::Models::OAuthConnectionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::OAuthConnectionListParams def list(params = {}) @@ -49,7 +49,8 @@ def list(params = {}) method: :get, path: "oauth_connections", query: parsed, - model: Increase::Models::OAuthConnectionListResponse, + page: Increase::Internal::Page, + model: Increase::OAuthConnection, options: options ) end diff --git a/lib/increase/resources/pending_transactions.rb b/lib/increase/resources/pending_transactions.rb index 1021213f..a790cfc4 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::Models::PendingTransactionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::PendingTransactionListParams def list(params = {}) @@ -87,7 +87,8 @@ def list(params = {}) method: :get, path: "pending_transactions", query: parsed, - model: Increase::Models::PendingTransactionListResponse, + page: Increase::Internal::Page, + model: Increase::PendingTransaction, options: options ) end diff --git a/lib/increase/resources/physical_card_profiles.rb b/lib/increase/resources/physical_card_profiles.rb index b6817906..f04fab88 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::Models::PhysicalCardProfileListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::PhysicalCardProfileListParams def list(params = {}) @@ -84,7 +84,8 @@ def list(params = {}) method: :get, path: "physical_card_profiles", query: parsed, - model: Increase::Models::PhysicalCardProfileListResponse, + page: Increase::Internal::Page, + model: Increase::PhysicalCardProfile, options: options ) end diff --git a/lib/increase/resources/physical_cards.rb b/lib/increase/resources/physical_cards.rb index 12c0eeab..b3c2b9d0 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::Models::PhysicalCardListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::PhysicalCardListParams def list(params = {}) @@ -106,7 +106,8 @@ def list(params = {}) method: :get, path: "physical_cards", query: parsed, - model: Increase::Models::PhysicalCardListResponse, + page: Increase::Internal::Page, + model: Increase::PhysicalCard, options: options ) end diff --git a/lib/increase/resources/programs.rb b/lib/increase/resources/programs.rb index 551b9af3..b69644b9 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::Models::ProgramListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::ProgramListParams def list(params = {}) @@ -45,7 +45,8 @@ def list(params = {}) method: :get, path: "programs", query: parsed, - model: Increase::Models::ProgramListResponse, + page: Increase::Internal::Page, + model: Increase::Program, options: options ) end diff --git a/lib/increase/resources/real_time_payments_transfers.rb b/lib/increase/resources/real_time_payments_transfers.rb index f3b9e8bf..a48580dc 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::Models::RealTimePaymentsTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::RealTimePaymentsTransferListParams def list(params = {}) @@ -100,7 +100,8 @@ def list(params = {}) method: :get, path: "real_time_payments_transfers", query: parsed, - model: Increase::Models::RealTimePaymentsTransferListResponse, + page: Increase::Internal::Page, + model: Increase::RealTimePaymentsTransfer, options: options ) end diff --git a/lib/increase/resources/routing_numbers.rb b/lib/increase/resources/routing_numbers.rb index 3fcf05a3..8ce01224 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::Models::RoutingNumberListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::RoutingNumberListParams def list(params) @@ -30,6 +30,7 @@ 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 ed60b941..025c48f3 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::Models::SupplementalDocumentListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::SupplementalDocumentListParams def list(params) @@ -53,7 +53,8 @@ def list(params) method: :get, path: "entity_supplemental_documents", query: parsed, - model: Increase::Models::SupplementalDocumentListResponse, + page: Increase::Internal::Page, + model: Increase::EntitySupplementalDocument, options: options ) end diff --git a/lib/increase/resources/transactions.rb b/lib/increase/resources/transactions.rb index a20c6c1e..f0a4b3e8 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::Models::TransactionListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::TransactionListParams def list(params = {}) @@ -53,7 +53,8 @@ def list(params = {}) method: :get, path: "transactions", query: parsed, - model: Increase::Models::TransactionListResponse, + page: Increase::Internal::Page, + model: Increase::Transaction, options: options ) end diff --git a/lib/increase/resources/wire_drawdown_requests.rb b/lib/increase/resources/wire_drawdown_requests.rb index 25b98934..491dc064 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::Models::WireDrawdownRequestListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::WireDrawdownRequestListParams def list(params = {}) @@ -92,7 +92,8 @@ def list(params = {}) method: :get, path: "wire_drawdown_requests", query: parsed, - model: Increase::Models::WireDrawdownRequestListResponse, + page: Increase::Internal::Page, + model: Increase::WireDrawdownRequest, options: options ) end diff --git a/lib/increase/resources/wire_transfers.rb b/lib/increase/resources/wire_transfers.rb index 550af8c2..70a496c9 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::Models::WireTransferListResponse] + # @return [Increase::Internal::Page] # # @see Increase::Models::WireTransferListParams def list(params = {}) @@ -98,7 +98,8 @@ def list(params = {}) method: :get, path: "wire_transfers", query: parsed, - model: Increase::Models::WireTransferListResponse, + page: Increase::Internal::Page, + model: Increase::WireTransfer, options: options ) end diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 3dd112bf..07bee5c4 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.150.0" + VERSION = "1.151.0" end diff --git a/rbi/increase/internal/page.rbi b/rbi/increase/internal/page.rbi index 6cb3e46b..e154f418 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.anything) } + sig { returns(T.nilable(T::Array[Elem])) } attr_accessor :data - sig { returns(T.anything) } + sig { returns(T.nilable(String)) } attr_accessor :next_cursor # @api private diff --git a/rbi/increase/models/account_list_response.rbi b/rbi/increase/models/account_list_response.rbi deleted file mode 100644 index 35d12897..00000000 --- a/rbi/increase/models/account_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 7e65aa7e..00000000 --- a/rbi/increase/models/account_number_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index b31a0311..00000000 --- a/rbi/increase/models/account_statement_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 77bd331a..00000000 --- a/rbi/increase/models/account_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index a5e234d2..00000000 --- a/rbi/increase/models/ach_prenotification_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 10c825c6..00000000 --- a/rbi/increase/models/ach_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 2499e2ce..00000000 --- a/rbi/increase/models/bookkeeping_account_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 46fc822a..00000000 --- a/rbi/increase/models/bookkeeping_entry_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 55eb7b93..00000000 --- a/rbi/increase/models/bookkeeping_entry_set_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 2fa0cf5c..00000000 --- a/rbi/increase/models/card_dispute_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index b24cc159..00000000 --- a/rbi/increase/models/card_list_response.rbi +++ /dev/null @@ -1,43 +0,0 @@ -# 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 deleted file mode 100644 index c513e69e..00000000 --- a/rbi/increase/models/card_payment_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 6d892425..00000000 --- a/rbi/increase/models/card_purchase_supplement_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 51b33da2..00000000 --- a/rbi/increase/models/card_push_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 0b37970f..00000000 --- a/rbi/increase/models/card_token_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 176772dc..00000000 --- a/rbi/increase/models/card_validation_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 8692b963..00000000 --- a/rbi/increase/models/check_deposit_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 33cc2de7..00000000 --- a/rbi/increase/models/check_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 747ca795..00000000 --- a/rbi/increase/models/declined_transaction_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index fe0b1ad8..00000000 --- a/rbi/increase/models/digital_card_profile_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 86af5697..00000000 --- a/rbi/increase/models/digital_wallet_token_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 589aad41..00000000 --- a/rbi/increase/models/document_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 7b2c1cf7..00000000 --- a/rbi/increase/models/entity_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 3e557665..00000000 --- a/rbi/increase/models/event_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 03f15945..00000000 --- a/rbi/increase/models/event_subscription_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 66b868e7..00000000 --- a/rbi/increase/models/export_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index f7cab8c5..00000000 --- a/rbi/increase/models/external_account_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 93a54de2..00000000 --- a/rbi/increase/models/fednow_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index d2dacec2..00000000 --- a/rbi/increase/models/file_list_response.rbi +++ /dev/null @@ -1,43 +0,0 @@ -# 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 deleted file mode 100644 index 68436bd0..00000000 --- a/rbi/increase/models/inbound_ach_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 603245b5..00000000 --- a/rbi/increase/models/inbound_check_deposit_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 2a1338e8..00000000 --- a/rbi/increase/models/inbound_fednow_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 6a13525b..00000000 --- a/rbi/increase/models/inbound_mail_item_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 15bbabc4..00000000 --- a/rbi/increase/models/inbound_real_time_payments_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index ce5a917e..00000000 --- a/rbi/increase/models/inbound_wire_drawdown_request_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 7faf64c7..00000000 --- a/rbi/increase/models/inbound_wire_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 1892e85e..00000000 --- a/rbi/increase/models/intrafi_account_enrollment_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index a10d6623..00000000 --- a/rbi/increase/models/intrafi_exclusion_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index b833c111..00000000 --- a/rbi/increase/models/lockbox_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index a7c79d14..00000000 --- a/rbi/increase/models/oauth_application_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 4a2d66ac..00000000 --- a/rbi/increase/models/oauth_connection_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 999f5366..00000000 --- a/rbi/increase/models/pending_transaction_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 0e338e84..00000000 --- a/rbi/increase/models/physical_card_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 4ee67363..00000000 --- a/rbi/increase/models/physical_card_profile_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 60004e98..00000000 --- a/rbi/increase/models/program_list_response.rbi +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index ca0777bd..00000000 --- a/rbi/increase/models/real_time_payments_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 b007a838..6595a1a6 100644 --- a/rbi/increase/models/routing_number_list_response.rbi +++ b/rbi/increase/models/routing_number_list_response.rbi @@ -11,339 +11,286 @@ module Increase ) end - # The contents of the list. + # This routing number's support for ACH Transfers. sig do - returns(T::Array[Increase::Models::RoutingNumberListResponse::Data]) + 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) end - attr_accessor :data + attr_accessor :type - # A pointer to a place in the list. - sig { returns(T.nilable(String)) } - attr_accessor :next_cursor + # This routing number's support for Wire Transfers. + sig do + returns( + Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol + ) + end + attr_accessor :wire_transfers - # A list of Routing Number objects. + # Routing numbers are used to identify your bank in a financial transaction. sig do params( - data: - T::Array[Increase::Models::RoutingNumberListResponse::Data::OrHash], - next_cursor: T.nilable(String) + 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 ).returns(T.attached_class) end def self.new( - # The contents of the list. - data:, - # A pointer to a place in the list. - next_cursor: + # 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( { - data: T::Array[Increase::Models::RoutingNumberListResponse::Data], - next_cursor: T.nilable(String) + 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 } ) end def to_hash end - class Data < Increase::Internal::Type::BaseModel - OrHash = + # This routing number's support for ACH Transfers. + module ACHTransfers + extend Increase::Internal::Type::Enum + + TaggedSymbol = T.type_alias do - T.any( - Increase::Models::RoutingNumberListResponse::Data, - Increase::Internal::AnyHash + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::ACHTransfers ) end + OrSymbol = T.type_alias { T.any(Symbol, String) } - # This routing number's support for ACH Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol ) - end - attr_accessor :ach_transfers - # This routing number's support for FedNow Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::ACHTransfers::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::Data::RealTimePaymentsTransfers::TaggedSymbol + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::ACHTransfers::TaggedSymbol + ] ) end - attr_accessor :real_time_payments_transfers + def self.values + end + end - # The nine digit routing number identifier. - sig { returns(String) } - attr_accessor :routing_number + # This routing number's support for FedNow Transfers. + module FednowTransfers + extend Increase::Internal::Type::Enum - # 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 + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::FednowTransfers + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } - # This routing number's support for Wire Transfers. - sig do - returns( - Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol + # The routing number can receive this transfer type. + SUPPORTED = + T.let( + :supported, + Increase::Models::RoutingNumberListResponse::FednowTransfers::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 + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol + ) sig do override.returns( - { - 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 - } + T::Array[ + Increase::Models::RoutingNumberListResponse::FednowTransfers::TaggedSymbol + ] ) end - def to_hash + def self.values end + end - # 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 - ) - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol - ) + # This routing number's support for Real-Time Payments Transfers. + module RealTimePaymentsTransfers + extend Increase::Internal::Type::Enum - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Data::ACHTransfers::TaggedSymbol - ] + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers ) end - def self.values - end - end + OrSymbol = T.type_alias { T.any(Symbol, String) } - # 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 can receive this transfer type. + SUPPORTED = + T.let( + :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 - ) + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol + ) - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Data::FednowTransfers::TaggedSymbol - ] - ) - end - def self.values - end + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::RealTimePaymentsTransfers::TaggedSymbol + ] + ) end + def self.values + end + end - # 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 - ) - - # The routing number cannot receive this transfer type. - NOT_SUPPORTED = - T.let( - :not_supported, - Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol - ) + # A constant representing the object's type. For this resource it will always be + # `routing_number`. + module Type + extend Increase::Internal::Type::Enum - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Data::RealTimePaymentsTransfers::TaggedSymbol - ] - ) - end - def self.values + TaggedSymbol = + T.type_alias do + T.all(Symbol, Increase::Models::RoutingNumberListResponse::Type) end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + ROUTING_NUMBER = + T.let( + :routing_number, + Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::Type::TaggedSymbol + ] + ) + end + def self.values 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::Data::Type - ) - end - OrSymbol = T.type_alias { T.any(Symbol, String) } - - ROUTING_NUMBER = - T.let( - :routing_number, - Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol - ) + # This routing number's support for Wire Transfers. + module WireTransfers + extend Increase::Internal::Type::Enum - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Data::Type::TaggedSymbol - ] + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Models::RoutingNumberListResponse::WireTransfers ) end - def self.values - end - end + OrSymbol = T.type_alias { T.any(Symbol, String) } - # 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 can receive this transfer type. + SUPPORTED = + T.let( + :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 - ) + # The routing number cannot receive this transfer type. + NOT_SUPPORTED = + T.let( + :not_supported, + Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol + ) - sig do - override.returns( - T::Array[ - Increase::Models::RoutingNumberListResponse::Data::WireTransfers::TaggedSymbol - ] - ) - end - def self.values - end + sig do + override.returns( + T::Array[ + Increase::Models::RoutingNumberListResponse::WireTransfers::TaggedSymbol + ] + ) + end + def self.values end end end diff --git a/rbi/increase/models/supplemental_document_list_response.rbi b/rbi/increase/models/supplemental_document_list_response.rbi deleted file mode 100644 index d3164c1b..00000000 --- a/rbi/increase/models/supplemental_document_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 5ca8020a..00000000 --- a/rbi/increase/models/transaction_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index 5021d13b..00000000 --- a/rbi/increase/models/wire_drawdown_request_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 deleted file mode 100644 index fc2ed112..00000000 --- a/rbi/increase/models/wire_transfer_list_response.rbi +++ /dev/null @@ -1,49 +0,0 @@ -# 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 590cf159..6f7018b9 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::Models::AccountNumberListResponse) + ).returns(Increase::Internal::Page[Increase::AccountNumber]) 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 2021376c..0ed839b9 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::Models::AccountStatementListResponse) + ).returns(Increase::Internal::Page[Increase::AccountStatement]) 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 2ef630f1..9d19af29 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::Models::AccountTransferListResponse) + ).returns(Increase::Internal::Page[Increase::AccountTransfer]) 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 94170613..90dc90c6 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::Models::AccountListResponse) + ).returns(Increase::Internal::Page[Increase::Account]) end def list( created_at: nil, diff --git a/rbi/increase/resources/ach_prenotifications.rbi b/rbi/increase/resources/ach_prenotifications.rbi index d3546065..915593e0 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::Models::ACHPrenotificationListResponse) + ).returns(Increase::Internal::Page[Increase::ACHPrenotification]) end def list( created_at: nil, diff --git a/rbi/increase/resources/ach_transfers.rbi b/rbi/increase/resources/ach_transfers.rbi index 08eeca6e..eec0f55d 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::Models::ACHTransferListResponse) + ).returns(Increase::Internal::Page[Increase::ACHTransfer]) 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 18cbf9b8..a33f257a 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::Models::BookkeepingAccountListResponse) + ).returns(Increase::Internal::Page[Increase::BookkeepingAccount]) 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 af2c9c0a..c6b89b21 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::Models::BookkeepingEntryListResponse) + ).returns(Increase::Internal::Page[Increase::BookkeepingEntry]) 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 9a5cd8b7..141a7934 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::Models::BookkeepingEntrySetListResponse) + ).returns(Increase::Internal::Page[Increase::BookkeepingEntrySet]) 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 c198c0dc..c706efd9 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::Models::CardDisputeListResponse) + ).returns(Increase::Internal::Page[Increase::CardDispute]) end def list( created_at: nil, diff --git a/rbi/increase/resources/card_payments.rbi b/rbi/increase/resources/card_payments.rbi index 92a52099..ec0c80ea 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::Models::CardPaymentListResponse) + ).returns(Increase::Internal::Page[Increase::CardPayment]) 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 c97f7bbc..ea3c1355 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::Models::CardPurchaseSupplementListResponse) + ).returns(Increase::Internal::Page[Increase::CardPurchaseSupplement]) 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 bdfa5fa4..b6db20c0 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::Models::CardPushTransferListResponse) + ).returns(Increase::Internal::Page[Increase::CardPushTransfer]) 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 d9df85e0..985fdd23 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::Models::CardTokenListResponse) + ).returns(Increase::Internal::Page[Increase::CardToken]) end def list( created_at: nil, diff --git a/rbi/increase/resources/card_validations.rbi b/rbi/increase/resources/card_validations.rbi index a514d850..36952cc7 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::Models::CardValidationListResponse) + ).returns(Increase::Internal::Page[Increase::CardValidation]) 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 5dd72920..f054661c 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::Models::CardListResponse) + ).returns(Increase::Internal::Page[Increase::Card]) 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 1c9d0fdf..e4d8de10 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::Models::CheckDepositListResponse) + ).returns(Increase::Internal::Page[Increase::CheckDeposit]) 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 61852181..de5f473c 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::Models::CheckTransferListResponse) + ).returns(Increase::Internal::Page[Increase::CheckTransfer]) 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 5aed55dd..e09ca6f3 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::Models::DeclinedTransactionListResponse) + ).returns(Increase::Internal::Page[Increase::DeclinedTransaction]) 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 43d7a63e..46ee950a 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::Models::DigitalCardProfileListResponse) + ).returns(Increase::Internal::Page[Increase::DigitalCardProfile]) 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 61cfaa7b..edfcd600 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::Models::DigitalWalletTokenListResponse) + ).returns(Increase::Internal::Page[Increase::DigitalWalletToken]) 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 6c2d5dc7..3fe02254 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::Models::DocumentListResponse) + ).returns(Increase::Internal::Page[Increase::Document]) end def list( category: nil, diff --git a/rbi/increase/resources/entities.rbi b/rbi/increase/resources/entities.rbi index 3432d876..cfc59222 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::Models::EntityListResponse) + ).returns(Increase::Internal::Page[Increase::Entity]) end def list( created_at: nil, diff --git a/rbi/increase/resources/event_subscriptions.rbi b/rbi/increase/resources/event_subscriptions.rbi index d364dc25..046588e2 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::Models::EventSubscriptionListResponse) + ).returns(Increase::Internal::Page[Increase::EventSubscription]) 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 c356c62c..156fd456 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::Models::EventListResponse) + ).returns(Increase::Internal::Page[Increase::Event]) 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 d61ff34d..b130f90f 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::Models::ExportListResponse) + ).returns(Increase::Internal::Page[Increase::Export]) end def list( category: nil, diff --git a/rbi/increase/resources/external_accounts.rbi b/rbi/increase/resources/external_accounts.rbi index 750d758f..36f2a042 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::Models::ExternalAccountListResponse) + ).returns(Increase::Internal::Page[Increase::ExternalAccount]) 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 231649db..3ca10868 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::Models::FednowTransferListResponse) + ).returns(Increase::Internal::Page[Increase::FednowTransfer]) 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 356f3956..9c69bf0e 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::Models::FileListResponse) + ).returns(Increase::Internal::Page[Increase::File]) 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 9f610ce8..134e8962 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::Models::InboundACHTransferListResponse) + ).returns(Increase::Internal::Page[Increase::InboundACHTransfer]) 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 1b450947..3065c9b5 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::Models::InboundCheckDepositListResponse) + ).returns(Increase::Internal::Page[Increase::InboundCheckDeposit]) 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 70a4c222..53692aaa 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::Models::InboundFednowTransferListResponse) + ).returns(Increase::Internal::Page[Increase::InboundFednowTransfer]) 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 74086a66..6d6736ee 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::Models::InboundMailItemListResponse) + ).returns(Increase::Internal::Page[Increase::InboundMailItem]) 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 898cb761..f8110474 100644 --- a/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +++ b/rbi/increase/resources/inbound_real_time_payments_transfers.rbi @@ -27,7 +27,9 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Models::InboundRealTimePaymentsTransferListResponse) + ).returns( + Increase::Internal::Page[Increase::InboundRealTimePaymentsTransfer] + ) 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 82c0d69f..e877ad3b 100644 --- a/rbi/increase/resources/inbound_wire_drawdown_requests.rbi +++ b/rbi/increase/resources/inbound_wire_drawdown_requests.rbi @@ -23,7 +23,9 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Models::InboundWireDrawdownRequestListResponse) + ).returns( + Increase::Internal::Page[Increase::InboundWireDrawdownRequest] + ) 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 8ed14f40..66c72cb8 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::Models::InboundWireTransferListResponse) + ).returns(Increase::Internal::Page[Increase::InboundWireTransfer]) 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 391ad0f5..7e6f503e 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::Models::IntrafiAccountEnrollmentListResponse) + ).returns(Increase::Internal::Page[Increase::IntrafiAccountEnrollment]) 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 8e4041f7..9e8cebea 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::Models::IntrafiExclusionListResponse) + ).returns(Increase::Internal::Page[Increase::IntrafiExclusion]) 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 1fb1c40a..276b9913 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::Models::LockboxListResponse) + ).returns(Increase::Internal::Page[Increase::Lockbox]) 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 c72f3e9c..a9adb663 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::Models::OAuthApplicationListResponse) + ).returns(Increase::Internal::Page[Increase::OAuthApplication]) end def list( created_at: nil, diff --git a/rbi/increase/resources/oauth_connections.rbi b/rbi/increase/resources/oauth_connections.rbi index 4906f192..e1184a7f 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::Models::OAuthConnectionListResponse) + ).returns(Increase::Internal::Page[Increase::OAuthConnection]) 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 62b9841d..8a4ab127 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::Models::PendingTransactionListResponse) + ).returns(Increase::Internal::Page[Increase::PendingTransaction]) 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 17c61665..8184e353 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::Models::PhysicalCardProfileListResponse) + ).returns(Increase::Internal::Page[Increase::PhysicalCardProfile]) 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 5841379d..ece1db75 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::Models::PhysicalCardListResponse) + ).returns(Increase::Internal::Page[Increase::PhysicalCard]) 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 2b9a5a21..a206c512 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::Models::ProgramListResponse) + ).returns(Increase::Internal::Page[Increase::Program]) 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 c299990f..e2b5e08a 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::Models::RealTimePaymentsTransferListResponse) + ).returns(Increase::Internal::Page[Increase::RealTimePaymentsTransfer]) 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 1c95610f..a3ffb3ad 100644 --- a/rbi/increase/resources/routing_numbers.rbi +++ b/rbi/increase/resources/routing_numbers.rbi @@ -13,7 +13,9 @@ module Increase cursor: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Models::RoutingNumberListResponse) + ).returns( + Increase::Internal::Page[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 8fad0d81..ef65da7f 100644 --- a/rbi/increase/resources/supplemental_documents.rbi +++ b/rbi/increase/resources/supplemental_documents.rbi @@ -28,7 +28,9 @@ module Increase idempotency_key: String, limit: Integer, request_options: Increase::RequestOptions::OrHash - ).returns(Increase::Models::SupplementalDocumentListResponse) + ).returns( + Increase::Internal::Page[Increase::EntitySupplementalDocument] + ) 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 21bac346..93e6743a 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::Models::TransactionListResponse) + ).returns(Increase::Internal::Page[Increase::Transaction]) 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 39b3b59e..f8892cf0 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::Models::WireDrawdownRequestListResponse) + ).returns(Increase::Internal::Page[Increase::WireDrawdownRequest]) 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 37212a86..b087a7bf 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::Models::WireTransferListResponse) + ).returns(Increase::Internal::Page[Increase::WireTransfer]) 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 0d82e3c6..d39131f4 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: top + attr_accessor data: ::Array[Elem]? - attr_accessor next_cursor: top + attr_accessor next_cursor: String? def inspect: -> String end diff --git a/sig/increase/models/account_list_response.rbs b/sig/increase/models/account_list_response.rbs deleted file mode 100644 index 232997b9..00000000 --- a/sig/increase/models/account_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 1ed76559..00000000 --- a/sig/increase/models/account_number_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 6ae0b1dc..00000000 --- a/sig/increase/models/account_statement_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index f19b7916..00000000 --- a/sig/increase/models/account_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 347f90b8..00000000 --- a/sig/increase/models/ach_prenotification_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index c89e3887..00000000 --- a/sig/increase/models/ach_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index f0944fcf..00000000 --- a/sig/increase/models/bookkeeping_account_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 201bb040..00000000 --- a/sig/increase/models/bookkeeping_entry_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 56038ba4..00000000 --- a/sig/increase/models/bookkeeping_entry_set_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index b5aa0860..00000000 --- a/sig/increase/models/card_dispute_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index ca73d3ea..00000000 --- a/sig/increase/models/card_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 749578d3..00000000 --- a/sig/increase/models/card_payment_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index bb4dbc88..00000000 --- a/sig/increase/models/card_purchase_supplement_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 2d1695f5..00000000 --- a/sig/increase/models/card_push_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index ef128b24..00000000 --- a/sig/increase/models/card_token_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 6bf09499..00000000 --- a/sig/increase/models/card_validation_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index c469adf1..00000000 --- a/sig/increase/models/check_deposit_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 4e5c3ccc..00000000 --- a/sig/increase/models/check_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 299c84d0..00000000 --- a/sig/increase/models/declined_transaction_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index f0194520..00000000 --- a/sig/increase/models/digital_card_profile_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 0379c1c2..00000000 --- a/sig/increase/models/digital_wallet_token_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 287ac377..00000000 --- a/sig/increase/models/document_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index e6dd5cf7..00000000 --- a/sig/increase/models/entity_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 557bcb27..00000000 --- a/sig/increase/models/event_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index b1d5a651..00000000 --- a/sig/increase/models/event_subscription_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 7e656670..00000000 --- a/sig/increase/models/export_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 18461271..00000000 --- a/sig/increase/models/external_account_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 32d9c1ed..00000000 --- a/sig/increase/models/fednow_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 0995c458..00000000 --- a/sig/increase/models/file_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 8808a996..00000000 --- a/sig/increase/models/inbound_ach_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index cc20e552..00000000 --- a/sig/increase/models/inbound_check_deposit_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index eca96605..00000000 --- a/sig/increase/models/inbound_fednow_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index c4860837..00000000 --- a/sig/increase/models/inbound_mail_item_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index da2f3197..00000000 --- a/sig/increase/models/inbound_real_time_payments_transfer_list_response.rbs +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index f373be36..00000000 --- a/sig/increase/models/inbound_wire_drawdown_request_list_response.rbs +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index 6c1afee8..00000000 --- a/sig/increase/models/inbound_wire_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index e2fdb37c..00000000 --- a/sig/increase/models/intrafi_account_enrollment_list_response.rbs +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index 78cd0553..00000000 --- a/sig/increase/models/intrafi_exclusion_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index fbb51b97..00000000 --- a/sig/increase/models/lockbox_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 6ccd95e3..00000000 --- a/sig/increase/models/oauth_application_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 6a6b1846..00000000 --- a/sig/increase/models/oauth_connection_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 93fa9b22..00000000 --- a/sig/increase/models/pending_transaction_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 67aa0c18..00000000 --- a/sig/increase/models/physical_card_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index ea29e024..00000000 --- a/sig/increase/models/physical_card_profile_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index 8bf8fcdb..00000000 --- a/sig/increase/models/program_list_response.rbs +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 0708593a..00000000 --- a/sig/increase/models/real_time_payments_transfer_list_response.rbs +++ /dev/null @@ -1,25 +0,0 @@ -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 93afd615..c544157e 100644 --- a/sig/increase/models/routing_number_list_response.rbs +++ b/sig/increase/models/routing_number_list_response.rbs @@ -2,136 +2,114 @@ module Increase module Models type routing_number_list_response = { - data: ::Array[Increase::Models::RoutingNumberListResponse::Data], - next_cursor: String? + 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 } class RoutingNumberListResponse < Increase::Internal::Type::BaseModel - attr_accessor data: ::Array[Increase::Models::RoutingNumberListResponse::Data] + attr_accessor ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers - attr_accessor next_cursor: String? + attr_accessor fednow_transfers: Increase::Models::RoutingNumberListResponse::fednow_transfers - def initialize: ( - data: ::Array[Increase::Models::RoutingNumberListResponse::Data], - next_cursor: String? - ) -> void - - def to_hash: -> { - data: ::Array[Increase::Models::RoutingNumberListResponse::Data], - next_cursor: 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 - } - - class Data < Increase::Internal::Type::BaseModel - attr_accessor ach_transfers: Increase::Models::RoutingNumberListResponse::Data::ach_transfers - - attr_accessor fednow_transfers: Increase::Models::RoutingNumberListResponse::Data::fednow_transfers - - attr_accessor name: String + attr_accessor name: String - attr_accessor real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::Data::real_time_payments_transfers + attr_accessor real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers - attr_accessor routing_number: String + attr_accessor routing_number: String - attr_accessor type: Increase::Models::RoutingNumberListResponse::Data::type_ + attr_accessor type: Increase::Models::RoutingNumberListResponse::type_ - attr_accessor wire_transfers: Increase::Models::RoutingNumberListResponse::Data::wire_transfers + attr_accessor wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers - 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 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 - 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 - } + 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 + } - type ach_transfers = :supported | :not_supported + type ach_transfers = :supported | :not_supported - module ACHTransfers - 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::Data::ach_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::ach_transfers] + end - type fednow_transfers = :supported | :not_supported + type fednow_transfers = :supported | :not_supported - module FednowTransfers - 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::Data::fednow_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::fednow_transfers] + end - type real_time_payments_transfers = :supported | :not_supported + type real_time_payments_transfers = :supported | :not_supported - module RealTimePaymentsTransfers - extend Increase::Internal::Type::Enum + module RealTimePaymentsTransfers + 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::Data::real_time_payments_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::real_time_payments_transfers] + end - type type_ = :routing_number + type type_ = :routing_number - module Type - extend Increase::Internal::Type::Enum + module Type + extend Increase::Internal::Type::Enum - ROUTING_NUMBER: :routing_number + ROUTING_NUMBER: :routing_number - def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::Data::type_] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::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::Data::wire_transfers] - end + def self?.values: -> ::Array[Increase::Models::RoutingNumberListResponse::wire_transfers] end end end diff --git a/sig/increase/models/supplemental_document_list_response.rbs b/sig/increase/models/supplemental_document_list_response.rbs deleted file mode 100644 index 5eebb4e4..00000000 --- a/sig/increase/models/supplemental_document_list_response.rbs +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index c5dffed1..00000000 --- a/sig/increase/models/transaction_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index b290edcd..00000000 --- a/sig/increase/models/wire_drawdown_request_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 deleted file mode 100644 index fe40b71d..00000000 --- a/sig/increase/models/wire_transfer_list_response.rbs +++ /dev/null @@ -1,22 +0,0 @@ -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 799ffded..bc39574d 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::Models::AccountNumberListResponse + ) -> Increase::Internal::Page[Increase::AccountNumber] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/account_statements.rbs b/sig/increase/resources/account_statements.rbs index 94f3068a..eab4dd1f 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::Models::AccountStatementListResponse + ) -> Increase::Internal::Page[Increase::AccountStatement] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/account_transfers.rbs b/sig/increase/resources/account_transfers.rbs index 7e27c1f5..a9dc8a1f 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::Models::AccountTransferListResponse + ) -> Increase::Internal::Page[Increase::AccountTransfer] def approve: ( String account_transfer_id, diff --git a/sig/increase/resources/accounts.rbs b/sig/increase/resources/accounts.rbs index 34258828..a9114738 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::Models::AccountListResponse + ) -> Increase::Internal::Page[Increase::Account] def balance: ( String account_id, diff --git a/sig/increase/resources/ach_prenotifications.rbs b/sig/increase/resources/ach_prenotifications.rbs index 9e2219f6..21e7c10a 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::Models::ACHPrenotificationListResponse + ) -> Increase::Internal::Page[Increase::ACHPrenotification] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/ach_transfers.rbs b/sig/increase/resources/ach_transfers.rbs index fa463ff6..ee8c88d1 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::Models::ACHTransferListResponse + ) -> Increase::Internal::Page[Increase::ACHTransfer] def approve: ( String ach_transfer_id, diff --git a/sig/increase/resources/bookkeeping_accounts.rbs b/sig/increase/resources/bookkeeping_accounts.rbs index 84d00891..774547a2 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::Models::BookkeepingAccountListResponse + ) -> Increase::Internal::Page[Increase::BookkeepingAccount] def balance: ( String bookkeeping_account_id, diff --git a/sig/increase/resources/bookkeeping_entries.rbs b/sig/increase/resources/bookkeeping_entries.rbs index 62b499df..1c86a8e1 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::Models::BookkeepingEntryListResponse + ) -> Increase::Internal::Page[Increase::BookkeepingEntry] 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 c2a70bd3..a4f98a40 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::Models::BookkeepingEntrySetListResponse + ) -> Increase::Internal::Page[Increase::BookkeepingEntrySet] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/card_disputes.rbs b/sig/increase/resources/card_disputes.rbs index 65f94a83..9e0dfb41 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::Models::CardDisputeListResponse + ) -> Increase::Internal::Page[Increase::CardDispute] 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 1fe7561d..ccd9a8ab 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::Models::CardPaymentListResponse + ) -> Increase::Internal::Page[Increase::CardPayment] 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 4afd23e9..9aae5b60 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::Models::CardPurchaseSupplementListResponse + ) -> Increase::Internal::Page[Increase::CardPurchaseSupplement] 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 65fe41fb..e0d4f4eb 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::Models::CardPushTransferListResponse + ) -> Increase::Internal::Page[Increase::CardPushTransfer] def approve: ( String card_push_transfer_id, diff --git a/sig/increase/resources/card_tokens.rbs b/sig/increase/resources/card_tokens.rbs index a65966a8..fda07498 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::Models::CardTokenListResponse + ) -> Increase::Internal::Page[Increase::CardToken] def capabilities: ( String card_token_id, diff --git a/sig/increase/resources/card_validations.rbs b/sig/increase/resources/card_validations.rbs index 1f2061db..65dfd86f 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::Models::CardValidationListResponse + ) -> Increase::Internal::Page[Increase::CardValidation] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/cards.rbs b/sig/increase/resources/cards.rbs index ca7a0bb8..050be8d8 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::Models::CardListResponse + ) -> Increase::Internal::Page[Increase::Card] def create_details_iframe: ( String card_id, diff --git a/sig/increase/resources/check_deposits.rbs b/sig/increase/resources/check_deposits.rbs index df93a360..fe60713b 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::Models::CheckDepositListResponse + ) -> Increase::Internal::Page[Increase::CheckDeposit] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/check_transfers.rbs b/sig/increase/resources/check_transfers.rbs index 153f3298..e947cb99 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::Models::CheckTransferListResponse + ) -> Increase::Internal::Page[Increase::CheckTransfer] def approve: ( String check_transfer_id, diff --git a/sig/increase/resources/declined_transactions.rbs b/sig/increase/resources/declined_transactions.rbs index 471c5517..462864e8 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::Models::DeclinedTransactionListResponse + ) -> Increase::Internal::Page[Increase::DeclinedTransaction] 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 5723f444..275a8239 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::Models::DigitalCardProfileListResponse + ) -> Increase::Internal::Page[Increase::DigitalCardProfile] 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 4f91f2ee..35324a67 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::Models::DigitalWalletTokenListResponse + ) -> Increase::Internal::Page[Increase::DigitalWalletToken] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/documents.rbs b/sig/increase/resources/documents.rbs index 8b155740..487696f9 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::Models::DocumentListResponse + ) -> Increase::Internal::Page[Increase::Document] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/entities.rbs b/sig/increase/resources/entities.rbs index 991253f4..ae8fcf1e 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::Models::EntityListResponse + ) -> Increase::Internal::Page[Increase::Entity] def archive: ( String entity_id, diff --git a/sig/increase/resources/event_subscriptions.rbs b/sig/increase/resources/event_subscriptions.rbs index cb637503..bff94346 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::Models::EventSubscriptionListResponse + ) -> Increase::Internal::Page[Increase::EventSubscription] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/events.rbs b/sig/increase/resources/events.rbs index cf6eb81a..b82b3a13 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::Models::EventListResponse + ) -> Increase::Internal::Page[Increase::Event] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/exports.rbs b/sig/increase/resources/exports.rbs index aa6a8f58..b2381ee6 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::Models::ExportListResponse + ) -> Increase::Internal::Page[Increase::Export] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/external_accounts.rbs b/sig/increase/resources/external_accounts.rbs index 092cd5ff..3383dce3 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::Models::ExternalAccountListResponse + ) -> Increase::Internal::Page[Increase::ExternalAccount] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/fednow_transfers.rbs b/sig/increase/resources/fednow_transfers.rbs index 7175ee16..9e17008d 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::Models::FednowTransferListResponse + ) -> Increase::Internal::Page[Increase::FednowTransfer] def approve: ( String fednow_transfer_id, diff --git a/sig/increase/resources/files.rbs b/sig/increase/resources/files.rbs index 9ccf3c1a..8f97b6d4 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::Models::FileListResponse + ) -> Increase::Internal::Page[Increase::File] 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 2ef464f2..788e9104 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::Models::InboundACHTransferListResponse + ) -> Increase::Internal::Page[Increase::InboundACHTransfer] 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 146a6fbd..4e1e9478 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::Models::InboundCheckDepositListResponse + ) -> Increase::Internal::Page[Increase::InboundCheckDeposit] 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 43ae150c..55528270 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::Models::InboundFednowTransferListResponse + ) -> Increase::Internal::Page[Increase::InboundFednowTransfer] 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 f95565df..fecac54c 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::Models::InboundMailItemListResponse + ) -> Increase::Internal::Page[Increase::InboundMailItem] 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 d99cab1e..5262dd0c 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::Models::InboundRealTimePaymentsTransferListResponse + ) -> Increase::Internal::Page[Increase::InboundRealTimePaymentsTransfer] 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 8001de5f..4e9a8d45 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::Models::InboundWireDrawdownRequestListResponse + ) -> Increase::Internal::Page[Increase::InboundWireDrawdownRequest] 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 d303ba89..320b764a 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::Models::InboundWireTransferListResponse + ) -> Increase::Internal::Page[Increase::InboundWireTransfer] 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 08ffd9a9..6a158a5d 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::Models::IntrafiAccountEnrollmentListResponse + ) -> Increase::Internal::Page[Increase::IntrafiAccountEnrollment] def unenroll: ( String intrafi_account_enrollment_id, diff --git a/sig/increase/resources/intrafi_exclusions.rbs b/sig/increase/resources/intrafi_exclusions.rbs index 617376b9..8ff264fb 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::Models::IntrafiExclusionListResponse + ) -> Increase::Internal::Page[Increase::IntrafiExclusion] def archive: ( String intrafi_exclusion_id, diff --git a/sig/increase/resources/lockboxes.rbs b/sig/increase/resources/lockboxes.rbs index f3232fae..549e7a22 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::Models::LockboxListResponse + ) -> Increase::Internal::Page[Increase::Lockbox] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/oauth_applications.rbs b/sig/increase/resources/oauth_applications.rbs index c53f92ba..6cc26900 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::Models::OAuthApplicationListResponse + ) -> Increase::Internal::Page[Increase::OAuthApplication] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/oauth_connections.rbs b/sig/increase/resources/oauth_connections.rbs index 22479911..050c7334 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::Models::OAuthConnectionListResponse + ) -> Increase::Internal::Page[Increase::OAuthConnection] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/pending_transactions.rbs b/sig/increase/resources/pending_transactions.rbs index 300b6b47..2d637464 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::Models::PendingTransactionListResponse + ) -> Increase::Internal::Page[Increase::PendingTransaction] 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 ee187f59..99fb1a17 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::Models::PhysicalCardProfileListResponse + ) -> Increase::Internal::Page[Increase::PhysicalCardProfile] def archive: ( String physical_card_profile_id, diff --git a/sig/increase/resources/physical_cards.rbs b/sig/increase/resources/physical_cards.rbs index 7d2bf640..71c03955 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::Models::PhysicalCardListResponse + ) -> Increase::Internal::Page[Increase::PhysicalCard] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/programs.rbs b/sig/increase/resources/programs.rbs index 77dcff2b..cd78bdfe 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::Models::ProgramListResponse + ) -> Increase::Internal::Page[Increase::Program] 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 76fc739b..ca6e6085 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::Models::RealTimePaymentsTransferListResponse + ) -> Increase::Internal::Page[Increase::RealTimePaymentsTransfer] 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 4243fe40..212973ac 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::Models::RoutingNumberListResponse + ) -> Increase::Internal::Page[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 5f94d22f..982c7f7f 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::Models::SupplementalDocumentListResponse + ) -> Increase::Internal::Page[Increase::EntitySupplementalDocument] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/transactions.rbs b/sig/increase/resources/transactions.rbs index 8e40ab84..3ff100d2 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::Models::TransactionListResponse + ) -> Increase::Internal::Page[Increase::Transaction] 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 bd74ae59..497582e9 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::Models::WireDrawdownRequestListResponse + ) -> Increase::Internal::Page[Increase::WireDrawdownRequest] def initialize: (client: Increase::Client) -> void end diff --git a/sig/increase/resources/wire_transfers.rbs b/sig/increase/resources/wire_transfers.rbs index 36ef6f1f..5f427554 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::Models::WireTransferListResponse + ) -> Increase::Internal::Page[Increase::WireTransfer] 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 cfadb71f..ea7c4ccf 100644 --- a/test/increase/resources/account_numbers_test.rb +++ b/test/increase/resources/account_numbers_test.rb @@ -80,13 +80,29 @@ def test_list response = @increase.account_numbers.list assert_pattern do - response => Increase::Models::AccountNumberListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountNumber]), - next_cursor: String | nil + row => Increase::AccountNumber + 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 } end end diff --git a/test/increase/resources/account_statements_test.rb b/test/increase/resources/account_statements_test.rb index 38927511..ebed26dd 100644 --- a/test/increase/resources/account_statements_test.rb +++ b/test/increase/resources/account_statements_test.rb @@ -29,13 +29,27 @@ def test_list response = @increase.account_statements.list assert_pattern do - response => Increase::Models::AccountStatementListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountStatement]), - next_cursor: String | nil + row => Increase::AccountStatement + 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 } end end diff --git a/test/increase/resources/account_transfers_test.rb b/test/increase/resources/account_transfers_test.rb index d624b190..3314fbf5 100644 --- a/test/increase/resources/account_transfers_test.rb +++ b/test/increase/resources/account_transfers_test.rb @@ -71,13 +71,34 @@ def test_list response = @increase.account_transfers.list assert_pattern do - response => Increase::Models::AccountTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::AccountTransfer]), - next_cursor: String | nil + row => Increase::AccountTransfer + 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 } end end diff --git a/test/increase/resources/accounts_test.rb b/test/increase/resources/accounts_test.rb index 3bd8ce43..baadae9b 100644 --- a/test/increase/resources/accounts_test.rb +++ b/test/increase/resources/accounts_test.rb @@ -94,13 +94,34 @@ def test_list response = @increase.accounts.list assert_pattern do - response => Increase::Models::AccountListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Account]), - next_cursor: String | nil + row => Increase::Account + 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 } end end diff --git a/test/increase/resources/ach_prenotifications_test.rb b/test/increase/resources/ach_prenotifications_test.rb index 6cfd513c..451953a8 100644 --- a/test/increase/resources/ach_prenotifications_test.rb +++ b/test/increase/resources/ach_prenotifications_test.rb @@ -78,13 +78,38 @@ def test_list response = @increase.ach_prenotifications.list assert_pattern do - response => Increase::Models::ACHPrenotificationListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::ACHPrenotification]), - next_cursor: String | nil + row => Increase::ACHPrenotification + 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 } end end diff --git a/test/increase/resources/ach_transfers_test.rb b/test/increase/resources/ach_transfers_test.rb index 16f593da..026f7035 100644 --- a/test/increase/resources/ach_transfers_test.rb +++ b/test/increase/resources/ach_transfers_test.rb @@ -110,13 +110,54 @@ def test_list response = @increase.ach_transfers.list assert_pattern do - response => Increase::Models::ACHTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::ACHTransfer]), - next_cursor: String | nil + row => Increase::ACHTransfer + 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 } end end diff --git a/test/increase/resources/bookkeeping_accounts_test.rb b/test/increase/resources/bookkeeping_accounts_test.rb index ae64a1a3..a1f3462a 100644 --- a/test/increase/resources/bookkeeping_accounts_test.rb +++ b/test/increase/resources/bookkeeping_accounts_test.rb @@ -51,13 +51,25 @@ def test_list response = @increase.bookkeeping_accounts.list assert_pattern do - response => Increase::Models::BookkeepingAccountListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingAccount]), - next_cursor: String | nil + row => Increase::BookkeepingAccount + 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 } end end diff --git a/test/increase/resources/bookkeeping_entries_test.rb b/test/increase/resources/bookkeeping_entries_test.rb index 506cdfd6..4c626d40 100644 --- a/test/increase/resources/bookkeeping_entries_test.rb +++ b/test/increase/resources/bookkeeping_entries_test.rb @@ -26,13 +26,24 @@ def test_list response = @increase.bookkeeping_entries.list assert_pattern do - response => Increase::Models::BookkeepingEntryListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntry]), - next_cursor: String | nil + row => Increase::BookkeepingEntry + end + + assert_pattern do + row => { + id: String, + account_id: String, + amount: Integer, + created_at: Time, + entry_set_id: String, + type: Increase::BookkeepingEntry::Type } end end diff --git a/test/increase/resources/bookkeeping_entry_sets_test.rb b/test/increase/resources/bookkeeping_entry_sets_test.rb index 174fb22e..dc1ae3f2 100644 --- a/test/increase/resources/bookkeeping_entry_sets_test.rb +++ b/test/increase/resources/bookkeeping_entry_sets_test.rb @@ -53,13 +53,25 @@ def test_list response = @increase.bookkeeping_entry_sets.list assert_pattern do - response => Increase::Models::BookkeepingEntrySetListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySet]), - next_cursor: String | nil + row => Increase::BookkeepingEntrySet + 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 } end end diff --git a/test/increase/resources/card_disputes_test.rb b/test/increase/resources/card_disputes_test.rb index 45d7253c..e95f1658 100644 --- a/test/increase/resources/card_disputes_test.rb +++ b/test/increase/resources/card_disputes_test.rb @@ -63,13 +63,31 @@ def test_list response = @increase.card_disputes.list assert_pattern do - response => Increase::Models::CardDisputeListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardDispute]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/card_payments_test.rb b/test/increase/resources/card_payments_test.rb index bb754f7c..e2400b69 100644 --- a/test/increase/resources/card_payments_test.rb +++ b/test/increase/resources/card_payments_test.rb @@ -29,13 +29,27 @@ def test_list response = @increase.card_payments.list assert_pattern do - response => Increase::Models::CardPaymentListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPayment]), - next_cursor: String | nil + row => Increase::CardPayment + 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 } end end diff --git a/test/increase/resources/card_purchase_supplements_test.rb b/test/increase/resources/card_purchase_supplements_test.rb index f3f3598a..0d15d79b 100644 --- a/test/increase/resources/card_purchase_supplements_test.rb +++ b/test/increase/resources/card_purchase_supplements_test.rb @@ -26,13 +26,24 @@ def test_list response = @increase.card_purchase_supplements.list assert_pattern do - response => Increase::Models::CardPurchaseSupplementListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement]), - next_cursor: String | nil + row => Increase::CardPurchaseSupplement + 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 } end end diff --git a/test/increase/resources/card_push_transfers_test.rb b/test/increase/resources/card_push_transfers_test.rb index 208a24ff..0b49f77e 100644 --- a/test/increase/resources/card_push_transfers_test.rb +++ b/test/increase/resources/card_push_transfers_test.rb @@ -105,13 +105,45 @@ def test_list response = @increase.card_push_transfers.list assert_pattern do - response => Increase::Models::CardPushTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardPushTransfer]), - next_cursor: String | nil + row => Increase::CardPushTransfer + 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 } end end diff --git a/test/increase/resources/card_tokens_test.rb b/test/increase/resources/card_tokens_test.rb index f1e8c0d2..77addbc2 100644 --- a/test/increase/resources/card_tokens_test.rb +++ b/test/increase/resources/card_tokens_test.rb @@ -27,13 +27,25 @@ def test_list response = @increase.card_tokens.list assert_pattern do - response => Increase::Models::CardTokenListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardToken]), - next_cursor: String | nil + row => Increase::CardToken + end + + assert_pattern do + row => { + id: String, + created_at: Time, + expiration_date: Date, + last4: String, + length: Integer, + prefix: String, + type: Increase::CardToken::Type } end end diff --git a/test/increase/resources/card_validations_test.rb b/test/increase/resources/card_validations_test.rb index f3627015..58fb3d14 100644 --- a/test/increase/resources/card_validations_test.rb +++ b/test/increase/resources/card_validations_test.rb @@ -84,13 +84,39 @@ def test_list response = @increase.card_validations.list assert_pattern do - response => Increase::Models::CardValidationListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CardValidation]), - next_cursor: String | nil + row => Increase::CardValidation + 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 } end end diff --git a/test/increase/resources/cards_test.rb b/test/increase/resources/cards_test.rb index 01ebc837..d194f530 100644 --- a/test/increase/resources/cards_test.rb +++ b/test/increase/resources/cards_test.rb @@ -85,13 +85,31 @@ def test_list response = @increase.cards.list assert_pattern do - response => Increase::Models::CardListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Card]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/check_deposits_test.rb b/test/increase/resources/check_deposits_test.rb index da518b4e..76fe835a 100644 --- a/test/increase/resources/check_deposits_test.rb +++ b/test/increase/resources/check_deposits_test.rb @@ -75,13 +75,36 @@ def test_list response = @increase.check_deposits.list assert_pattern do - response => Increase::Models::CheckDepositListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CheckDeposit]), - next_cursor: String | nil + row => Increase::CheckDeposit + 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 } end end diff --git a/test/increase/resources/check_transfers_test.rb b/test/increase/resources/check_transfers_test.rb index b2130684..ede9bee7 100644 --- a/test/increase/resources/check_transfers_test.rb +++ b/test/increase/resources/check_transfers_test.rb @@ -89,13 +89,43 @@ def test_list response = @increase.check_transfers.list assert_pattern do - response => Increase::Models::CheckTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::CheckTransfer]), - next_cursor: String | nil + row => Increase::CheckTransfer + 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 } end end diff --git a/test/increase/resources/declined_transactions_test.rb b/test/increase/resources/declined_transactions_test.rb index 4555fbe4..9301acd9 100644 --- a/test/increase/resources/declined_transactions_test.rb +++ b/test/increase/resources/declined_transactions_test.rb @@ -30,13 +30,28 @@ def test_list response = @increase.declined_transactions.list assert_pattern do - response => Increase::Models::DeclinedTransactionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::DeclinedTransaction]), - next_cursor: String | nil + row => Increase::DeclinedTransaction + 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 } end end diff --git a/test/increase/resources/digital_card_profiles_test.rb b/test/increase/resources/digital_card_profiles_test.rb index 1ad42f1c..00220d32 100644 --- a/test/increase/resources/digital_card_profiles_test.rb +++ b/test/increase/resources/digital_card_profiles_test.rb @@ -68,13 +68,32 @@ def test_list response = @increase.digital_card_profiles.list assert_pattern do - response => Increase::Models::DigitalCardProfileListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/digital_wallet_tokens_test.rb b/test/increase/resources/digital_wallet_tokens_test.rb index 76f96c7a..51ab3eb3 100644 --- a/test/increase/resources/digital_wallet_tokens_test.rb +++ b/test/increase/resources/digital_wallet_tokens_test.rb @@ -29,13 +29,27 @@ def test_list response = @increase.digital_wallet_tokens.list assert_pattern do - response => Increase::Models::DigitalWalletTokenListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken]), - next_cursor: String | nil + row => Increase::DigitalWalletToken + 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]) } end end diff --git a/test/increase/resources/documents_test.rb b/test/increase/resources/documents_test.rb index eecc1513..95cfc33e 100644 --- a/test/increase/resources/documents_test.rb +++ b/test/increase/resources/documents_test.rb @@ -51,13 +51,27 @@ def test_list response = @increase.documents.list assert_pattern do - response => Increase::Models::DocumentListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Document]), - next_cursor: String | nil + row => Increase::Document + 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 } end end diff --git a/test/increase/resources/entities_test.rb b/test/increase/resources/entities_test.rb index b934bd1f..ed5b343e 100644 --- a/test/increase/resources/entities_test.rb +++ b/test/increase/resources/entities_test.rb @@ -94,13 +94,34 @@ def test_list response = @increase.entities.list assert_pattern do - response => Increase::Models::EntityListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Entity]), - next_cursor: String | nil + row => Increase::Entity + 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 } end end diff --git a/test/increase/resources/event_subscriptions_test.rb b/test/increase/resources/event_subscriptions_test.rb index 38a91f43..b8d07144 100644 --- a/test/increase/resources/event_subscriptions_test.rb +++ b/test/increase/resources/event_subscriptions_test.rb @@ -70,13 +70,26 @@ def test_list response = @increase.event_subscriptions.list assert_pattern do - response => Increase::Models::EventSubscriptionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::EventSubscription]), - next_cursor: String | nil + row => Increase::EventSubscription + 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 } end end diff --git a/test/increase/resources/events_test.rb b/test/increase/resources/events_test.rb index 1b457289..091addb5 100644 --- a/test/increase/resources/events_test.rb +++ b/test/increase/resources/events_test.rb @@ -26,13 +26,24 @@ def test_list response = @increase.events.list assert_pattern do - response => Increase::Models::EventListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Event]), - next_cursor: String | nil + row => Increase::Event + 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 } end end diff --git a/test/increase/resources/exports_test.rb b/test/increase/resources/exports_test.rb index d5bc392e..59017af4 100644 --- a/test/increase/resources/exports_test.rb +++ b/test/increase/resources/exports_test.rb @@ -49,13 +49,26 @@ def test_list response = @increase.exports.list assert_pattern do - response => Increase::Models::ExportListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Export]), - next_cursor: String | nil + row => Increase::Export + 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 } end end diff --git a/test/increase/resources/external_accounts_test.rb b/test/increase/resources/external_accounts_test.rb index d96c1a6b..627cfa7d 100644 --- a/test/increase/resources/external_accounts_test.rb +++ b/test/increase/resources/external_accounts_test.rb @@ -81,13 +81,28 @@ def test_list response = @increase.external_accounts.list assert_pattern do - response => Increase::Models::ExternalAccountListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::ExternalAccount]), - next_cursor: String | nil + row => Increase::ExternalAccount + 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 } end end diff --git a/test/increase/resources/fednow_transfers_test.rb b/test/increase/resources/fednow_transfers_test.rb index 703ffceb..0cc64be3 100644 --- a/test/increase/resources/fednow_transfers_test.rb +++ b/test/increase/resources/fednow_transfers_test.rb @@ -85,13 +85,40 @@ def test_list response = @increase.fednow_transfers.list assert_pattern do - response => Increase::Models::FednowTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::FednowTransfer]), - next_cursor: String | nil + row => Increase::FednowTransfer + 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 } end end diff --git a/test/increase/resources/files_test.rb b/test/increase/resources/files_test.rb index a94889b0..46dd95a8 100644 --- a/test/increase/resources/files_test.rb +++ b/test/increase/resources/files_test.rb @@ -51,13 +51,27 @@ def test_list response = @increase.files.list assert_pattern do - response => Increase::Models::FileListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::File]), - next_cursor: String | nil + row => Increase::File + 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 } end end diff --git a/test/increase/resources/inbound_ach_transfers_test.rb b/test/increase/resources/inbound_ach_transfers_test.rb index 861983fd..188eae7a 100644 --- a/test/increase/resources/inbound_ach_transfers_test.rb +++ b/test/increase/resources/inbound_ach_transfers_test.rb @@ -47,13 +47,45 @@ def test_list response = @increase.inbound_ach_transfers.list assert_pattern do - response => Increase::Models::InboundACHTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer]), - next_cursor: String | nil + row => Increase::InboundACHTransfer + 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 } end end diff --git a/test/increase/resources/inbound_check_deposits_test.rb b/test/increase/resources/inbound_check_deposits_test.rb index 8d3d62b9..236442e3 100644 --- a/test/increase/resources/inbound_check_deposits_test.rb +++ b/test/increase/resources/inbound_check_deposits_test.rb @@ -40,13 +40,38 @@ def test_list response = @increase.inbound_check_deposits.list assert_pattern do - response => Increase::Models::InboundCheckDepositListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit]), - next_cursor: String | nil + row => Increase::InboundCheckDeposit + 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 } end end diff --git a/test/increase/resources/inbound_fednow_transfers_test.rb b/test/increase/resources/inbound_fednow_transfers_test.rb index a42f2516..8195a45b 100644 --- a/test/increase/resources/inbound_fednow_transfers_test.rb +++ b/test/increase/resources/inbound_fednow_transfers_test.rb @@ -36,13 +36,34 @@ def test_list response = @increase.inbound_fednow_transfers.list assert_pattern do - response => Increase::Models::InboundFednowTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundFednowTransfer]), - next_cursor: String | nil + row => Increase::InboundFednowTransfer + 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 } end end diff --git a/test/increase/resources/inbound_mail_items_test.rb b/test/increase/resources/inbound_mail_items_test.rb index acf84a48..e5aa6a21 100644 --- a/test/increase/resources/inbound_mail_items_test.rb +++ b/test/increase/resources/inbound_mail_items_test.rb @@ -29,13 +29,27 @@ def test_list response = @increase.inbound_mail_items.list assert_pattern do - response => Increase::Models::InboundMailItemListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundMailItem]), - next_cursor: String | nil + row => Increase::InboundMailItem + 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 } 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 69c59ff7..95ce9ff6 100755 --- a/test/increase/resources/inbound_real_time_payments_transfers_test.rb +++ b/test/increase/resources/inbound_real_time_payments_transfers_test.rb @@ -39,13 +39,34 @@ def test_list response = @increase.inbound_real_time_payments_transfers.list assert_pattern do - response => Increase::Models::InboundRealTimePaymentsTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundRealTimePaymentsTransfer]), - next_cursor: String | nil + row => Increase::InboundRealTimePaymentsTransfer + 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 } 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 9bb54238..882e7b6d 100644 --- a/test/increase/resources/inbound_wire_drawdown_requests_test.rb +++ b/test/increase/resources/inbound_wire_drawdown_requests_test.rb @@ -42,13 +42,39 @@ def test_list response = @increase.inbound_wire_drawdown_requests.list assert_pattern do - response => Increase::Models::InboundWireDrawdownRequestListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundWireDrawdownRequest]), - next_cursor: String | nil + row => Increase::InboundWireDrawdownRequest + 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 } end end diff --git a/test/increase/resources/inbound_wire_transfers_test.rb b/test/increase/resources/inbound_wire_transfers_test.rb index 61219dd7..832a149c 100644 --- a/test/increase/resources/inbound_wire_transfers_test.rb +++ b/test/increase/resources/inbound_wire_transfers_test.rb @@ -44,13 +44,42 @@ def test_list response = @increase.inbound_wire_transfers.list assert_pattern do - response => Increase::Models::InboundWireTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::InboundWireTransfer]), - next_cursor: String | nil + row => Increase::InboundWireTransfer + 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 } end end diff --git a/test/increase/resources/intrafi_account_enrollments_test.rb b/test/increase/resources/intrafi_account_enrollments_test.rb index fee35c71..0b807ba1 100644 --- a/test/increase/resources/intrafi_account_enrollments_test.rb +++ b/test/increase/resources/intrafi_account_enrollments_test.rb @@ -54,13 +54,26 @@ def test_list response = @increase.intrafi_account_enrollments.list assert_pattern do - response => Increase::Models::IntrafiAccountEnrollmentListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::IntrafiAccountEnrollment]), - next_cursor: String | nil + row => Increase::IntrafiAccountEnrollment + 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 } end end diff --git a/test/increase/resources/intrafi_exclusions_test.rb b/test/increase/resources/intrafi_exclusions_test.rb index ecea3f78..39977013 100644 --- a/test/increase/resources/intrafi_exclusions_test.rb +++ b/test/increase/resources/intrafi_exclusions_test.rb @@ -54,13 +54,28 @@ def test_list response = @increase.intrafi_exclusions.list assert_pattern do - response => Increase::Models::IntrafiExclusionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::IntrafiExclusion]), - next_cursor: String | nil + row => Increase::IntrafiExclusion + 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 } end end diff --git a/test/increase/resources/lockboxes_test.rb b/test/increase/resources/lockboxes_test.rb index efa5edc5..803e1250 100644 --- a/test/increase/resources/lockboxes_test.rb +++ b/test/increase/resources/lockboxes_test.rb @@ -73,13 +73,27 @@ def test_list response = @increase.lockboxes.list assert_pattern do - response => Increase::Models::LockboxListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Lockbox]), - next_cursor: String | nil + row => Increase::Lockbox + 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 } end end diff --git a/test/increase/resources/oauth_applications_test.rb b/test/increase/resources/oauth_applications_test.rb index 7a2d3ae1..dfa54f73 100644 --- a/test/increase/resources/oauth_applications_test.rb +++ b/test/increase/resources/oauth_applications_test.rb @@ -27,13 +27,25 @@ def test_list response = @increase.oauth_applications.list assert_pattern do - response => Increase::Models::OAuthApplicationListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::OAuthApplication]), - next_cursor: String | nil + row => Increase::OAuthApplication + 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 } end end diff --git a/test/increase/resources/oauth_connections_test.rb b/test/increase/resources/oauth_connections_test.rb index 1a34c7e0..e6d8d50d 100644 --- a/test/increase/resources/oauth_connections_test.rb +++ b/test/increase/resources/oauth_connections_test.rb @@ -27,13 +27,25 @@ def test_list response = @increase.oauth_connections.list assert_pattern do - response => Increase::Models::OAuthConnectionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::OAuthConnection]), - next_cursor: String | nil + row => Increase::OAuthConnection + 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 } end end diff --git a/test/increase/resources/pending_transactions_test.rb b/test/increase/resources/pending_transactions_test.rb index 31740055..d22600ae 100644 --- a/test/increase/resources/pending_transactions_test.rb +++ b/test/increase/resources/pending_transactions_test.rb @@ -60,13 +60,31 @@ def test_list response = @increase.pending_transactions.list assert_pattern do - response => Increase::Models::PendingTransactionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::PendingTransaction]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/physical_card_profiles_test.rb b/test/increase/resources/physical_card_profiles_test.rb index 0a3dbbce..caac180e 100644 --- a/test/increase/resources/physical_card_profiles_test.rb +++ b/test/increase/resources/physical_card_profiles_test.rb @@ -66,13 +66,31 @@ def test_list response = @increase.physical_card_profiles.list assert_pattern do - response => Increase::Models::PhysicalCardProfileListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::PhysicalCardProfile]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/physical_cards_test.rb b/test/increase/resources/physical_cards_test.rb index 3b92db9a..32fb7ab0 100644 --- a/test/increase/resources/physical_cards_test.rb +++ b/test/increase/resources/physical_cards_test.rb @@ -87,13 +87,27 @@ def test_list response = @increase.physical_cards.list assert_pattern do - response => Increase::Models::PhysicalCardListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::PhysicalCard]), - next_cursor: String | nil + row => Increase::PhysicalCard + 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 } end end diff --git a/test/increase/resources/programs_test.rb b/test/increase/resources/programs_test.rb index 287a480f..44a6043b 100644 --- a/test/increase/resources/programs_test.rb +++ b/test/increase/resources/programs_test.rb @@ -29,13 +29,27 @@ def test_list response = @increase.programs.list assert_pattern do - response => Increase::Models::ProgramListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Program]), - next_cursor: String | nil + row => Increase::Program + 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 } 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 4f2ee393..70bf08b4 100644 --- a/test/increase/resources/real_time_payments_transfers_test.rb +++ b/test/increase/resources/real_time_payments_transfers_test.rb @@ -90,13 +90,43 @@ def test_list response = @increase.real_time_payments_transfers.list assert_pattern do - response => Increase::Models::RealTimePaymentsTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::RealTimePaymentsTransfer]), - next_cursor: String | nil + row => Increase::RealTimePaymentsTransfer + 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 } end end diff --git a/test/increase/resources/routing_numbers_test.rb b/test/increase/resources/routing_numbers_test.rb index 0b738644..2e402c46 100644 --- a/test/increase/resources/routing_numbers_test.rb +++ b/test/increase/resources/routing_numbers_test.rb @@ -7,13 +7,25 @@ def test_list_required_params response = @increase.routing_numbers.list(routing_number: "xxxxxxxxx") assert_pattern do - response => Increase::Models::RoutingNumberListResponse + response => Increase::Internal::Page + end + + row = response.to_enum.first + return if row.nil? + + assert_pattern do + row => Increase::Models::RoutingNumberListResponse end assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Models::RoutingNumberListResponse::Data]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/supplemental_documents_test.rb b/test/increase/resources/supplemental_documents_test.rb index 2d4a0d63..7d66342f 100644 --- a/test/increase/resources/supplemental_documents_test.rb +++ b/test/increase/resources/supplemental_documents_test.rb @@ -29,13 +29,23 @@ def test_list_required_params response = @increase.supplemental_documents.list(entity_id: "entity_id") assert_pattern do - response => Increase::Models::SupplementalDocumentListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument]), - next_cursor: String | nil + 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 } end end diff --git a/test/increase/resources/transactions_test.rb b/test/increase/resources/transactions_test.rb index 8670658a..99a46483 100644 --- a/test/increase/resources/transactions_test.rb +++ b/test/increase/resources/transactions_test.rb @@ -30,13 +30,28 @@ def test_list response = @increase.transactions.list assert_pattern do - response => Increase::Models::TransactionListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::Transaction]), - next_cursor: String | nil + row => Increase::Transaction + 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 } end end diff --git a/test/increase/resources/wire_drawdown_requests_test.rb b/test/increase/resources/wire_drawdown_requests_test.rb index ba8d7bb7..13748f03 100644 --- a/test/increase/resources/wire_drawdown_requests_test.rb +++ b/test/increase/resources/wire_drawdown_requests_test.rb @@ -78,13 +78,36 @@ def test_list response = @increase.wire_drawdown_requests.list assert_pattern do - response => Increase::Models::WireDrawdownRequestListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::WireDrawdownRequest]), - next_cursor: String | nil + row => Increase::WireDrawdownRequest + 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 } end end diff --git a/test/increase/resources/wire_transfers_test.rb b/test/increase/resources/wire_transfers_test.rb index 351eae78..c73c6fb0 100644 --- a/test/increase/resources/wire_transfers_test.rb +++ b/test/increase/resources/wire_transfers_test.rb @@ -87,13 +87,42 @@ def test_list response = @increase.wire_transfers.list assert_pattern do - response => Increase::Models::WireTransferListResponse + response => Increase::Internal::Page end + row = response.to_enum.first + return if row.nil? + assert_pattern do - response => { - data: ^(Increase::Internal::Type::ArrayOf[Increase::WireTransfer]), - next_cursor: String | nil + row => Increase::WireTransfer + 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 } end end