increase 0.3.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ignore +2 -0
- data/CHANGELOG.md +807 -56
- data/README.md +213 -254
- data/SECURITY.md +3 -0
- data/lib/increase/client.rb +287 -43
- data/lib/increase/errors.rb +223 -63
- data/lib/increase/file_part.rb +55 -0
- data/lib/increase/internal/page.rb +86 -0
- data/lib/increase/internal/transport/base_client.rb +555 -0
- data/lib/increase/internal/transport/pooled_net_requester.rb +209 -0
- data/lib/increase/internal/type/array_of.rb +162 -0
- data/lib/increase/internal/type/base_model.rb +484 -0
- data/lib/increase/internal/type/base_page.rb +55 -0
- data/lib/increase/internal/type/boolean.rb +71 -0
- data/lib/increase/internal/type/converter.rb +292 -0
- data/lib/increase/internal/type/enum.rb +123 -0
- data/lib/increase/internal/type/file_input.rb +103 -0
- data/lib/increase/internal/type/hash_of.rb +182 -0
- data/lib/increase/internal/type/request_parameters.rb +42 -0
- data/lib/increase/internal/type/union.rb +230 -0
- data/lib/increase/internal/type/unknown.rb +75 -0
- data/lib/increase/internal/util.rb +914 -0
- data/lib/increase/internal.rb +20 -0
- data/lib/increase/models/account.rb +224 -0
- data/lib/increase/models/account_balance_params.rb +22 -0
- data/lib/increase/models/account_close_params.rb +14 -0
- data/lib/increase/models/account_create_params.rb +51 -0
- data/lib/increase/models/account_list_params.rb +155 -0
- data/lib/increase/models/account_number.rb +209 -0
- data/lib/increase/models/account_number_create_params.rb +121 -0
- data/lib/increase/models/account_number_list_params.rb +183 -0
- data/lib/increase/models/account_number_retrieve_params.rb +14 -0
- data/lib/increase/models/account_number_update_params.rb +131 -0
- data/lib/increase/models/account_retrieve_params.rb +14 -0
- data/lib/increase/models/account_statement.rb +105 -0
- data/lib/increase/models/account_statement_list_params.rb +92 -0
- data/lib/increase/models/account_statement_retrieve_params.rb +14 -0
- data/lib/increase/models/account_transfer.rb +389 -0
- data/lib/increase/models/account_transfer_approve_params.rb +14 -0
- data/lib/increase/models/account_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/account_transfer_create_params.rb +58 -0
- data/lib/increase/models/account_transfer_list_params.rb +102 -0
- data/lib/increase/models/account_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/account_update_params.rb +22 -0
- data/lib/increase/models/ach_prenotification.rb +562 -0
- data/lib/increase/models/ach_prenotification_create_params.rb +160 -0
- data/lib/increase/models/ach_prenotification_list_params.rb +94 -0
- data/lib/increase/models/ach_prenotification_retrieve_params.rb +14 -0
- data/lib/increase/models/ach_transfer.rb +1481 -0
- data/lib/increase/models/ach_transfer_approve_params.rb +14 -0
- data/lib/increase/models/ach_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/ach_transfer_create_params.rb +430 -0
- data/lib/increase/models/ach_transfer_list_params.rb +168 -0
- data/lib/increase/models/ach_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/balance_lookup.rb +63 -0
- data/lib/increase/models/bookkeeping_account.rb +104 -0
- data/lib/increase/models/bookkeeping_account_balance_params.rb +22 -0
- data/lib/increase/models/bookkeeping_account_create_params.rb +60 -0
- data/lib/increase/models/bookkeeping_account_list_params.rb +45 -0
- data/lib/increase/models/bookkeeping_account_update_params.rb +22 -0
- data/lib/increase/models/bookkeeping_balance_lookup.rb +54 -0
- data/lib/increase/models/bookkeeping_entry.rb +79 -0
- data/lib/increase/models/bookkeeping_entry_list_params.rb +42 -0
- data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +14 -0
- data/lib/increase/models/bookkeeping_entry_set.rb +116 -0
- data/lib/increase/models/bookkeeping_entry_set_create_params.rb +67 -0
- data/lib/increase/models/bookkeeping_entry_set_list_params.rb +53 -0
- data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +14 -0
- data/lib/increase/models/card.rb +243 -0
- data/lib/increase/models/card_create_params.rb +145 -0
- data/lib/increase/models/card_details.rb +78 -0
- data/lib/increase/models/card_details_params.rb +14 -0
- data/lib/increase/models/card_dispute.rb +302 -0
- data/lib/increase/models/card_dispute_create_params.rb +45 -0
- data/lib/increase/models/card_dispute_list_params.rb +144 -0
- data/lib/increase/models/card_dispute_retrieve_params.rb +14 -0
- data/lib/increase/models/card_list_params.rb +142 -0
- data/lib/increase/models/card_payment.rb +6511 -0
- data/lib/increase/models/card_payment_list_params.rb +99 -0
- data/lib/increase/models/card_payment_retrieve_params.rb +14 -0
- data/lib/increase/models/card_purchase_supplement.rb +452 -0
- data/lib/increase/models/card_purchase_supplement_list_params.rb +93 -0
- data/lib/increase/models/card_purchase_supplement_retrieve_params.rb +14 -0
- data/lib/increase/models/card_retrieve_params.rb +14 -0
- data/lib/increase/models/card_update_params.rb +158 -0
- data/lib/increase/models/check_deposit.rb +807 -0
- data/lib/increase/models/check_deposit_create_params.rb +57 -0
- data/lib/increase/models/check_deposit_list_params.rb +102 -0
- data/lib/increase/models/check_deposit_retrieve_params.rb +14 -0
- data/lib/increase/models/check_transfer.rb +983 -0
- data/lib/increase/models/check_transfer_approve_params.rb +14 -0
- data/lib/increase/models/check_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/check_transfer_create_params.rb +324 -0
- data/lib/increase/models/check_transfer_list_params.rb +166 -0
- data/lib/increase/models/check_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/check_transfer_stop_payment_params.rb +39 -0
- data/lib/increase/models/declined_transaction.rb +1779 -0
- data/lib/increase/models/declined_transaction_list_params.rb +153 -0
- data/lib/increase/models/declined_transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/digital_card_profile.rb +197 -0
- data/lib/increase/models/digital_card_profile_archive_params.rb +14 -0
- data/lib/increase/models/digital_card_profile_clone_params.rb +115 -0
- data/lib/increase/models/digital_card_profile_create_params.rb +115 -0
- data/lib/increase/models/digital_card_profile_list_params.rb +91 -0
- data/lib/increase/models/digital_card_profile_retrieve_params.rb +14 -0
- data/lib/increase/models/digital_wallet_token.rb +281 -0
- data/lib/increase/models/digital_wallet_token_list_params.rb +91 -0
- data/lib/increase/models/digital_wallet_token_retrieve_params.rb +14 -0
- data/lib/increase/models/document.rb +135 -0
- data/lib/increase/models/document_create_params.rb +62 -0
- data/lib/increase/models/document_list_params.rb +149 -0
- data/lib/increase/models/document_retrieve_params.rb +14 -0
- data/lib/increase/models/entity.rb +1476 -0
- data/lib/increase/models/entity_archive_beneficial_owner_params.rb +26 -0
- data/lib/increase/models/entity_archive_params.rb +14 -0
- data/lib/increase/models/entity_confirm_params.rb +26 -0
- data/lib/increase/models/entity_create_beneficial_owner_params.rb +412 -0
- data/lib/increase/models/entity_create_params.rb +2318 -0
- data/lib/increase/models/entity_list_params.rb +135 -0
- data/lib/increase/models/entity_retrieve_params.rb +14 -0
- data/lib/increase/models/entity_supplemental_document.rb +72 -0
- data/lib/increase/models/entity_update_address_params.rb +76 -0
- data/lib/increase/models/entity_update_beneficial_owner_address_params.rb +95 -0
- data/lib/increase/models/entity_update_industry_code_params.rb +28 -0
- data/lib/increase/models/event.rb +363 -0
- data/lib/increase/models/event_list_params.rb +395 -0
- data/lib/increase/models/event_retrieve_params.rb +14 -0
- data/lib/increase/models/event_subscription.rb +408 -0
- data/lib/increase/models/event_subscription_create_params.rb +334 -0
- data/lib/increase/models/event_subscription_list_params.rb +45 -0
- data/lib/increase/models/event_subscription_retrieve_params.rb +14 -0
- data/lib/increase/models/event_subscription_update_params.rb +39 -0
- data/lib/increase/models/export.rb +152 -0
- data/lib/increase/models/export_create_params.rb +444 -0
- data/lib/increase/models/export_list_params.rb +188 -0
- data/lib/increase/models/export_retrieve_params.rb +14 -0
- data/lib/increase/models/external_account.rb +166 -0
- data/lib/increase/models/external_account_create_params.rb +92 -0
- data/lib/increase/models/external_account_list_params.rb +93 -0
- data/lib/increase/models/external_account_retrieve_params.rb +14 -0
- data/lib/increase/models/external_account_update_params.rb +91 -0
- data/lib/increase/models/file.rb +213 -0
- data/lib/increase/models/file_create_params.rb +99 -0
- data/lib/increase/models/file_link.rb +90 -0
- data/lib/increase/models/file_link_create_params.rb +34 -0
- data/lib/increase/models/file_list_params.rb +203 -0
- data/lib/increase/models/file_retrieve_params.rb +14 -0
- data/lib/increase/models/group.rb +104 -0
- data/lib/increase/models/group_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_ach_transfer.rb +1095 -0
- data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +30 -0
- data/lib/increase/models/inbound_ach_transfer_decline_params.rb +69 -0
- data/lib/increase/models/inbound_ach_transfer_list_params.rb +145 -0
- data/lib/increase/models/inbound_ach_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +67 -0
- data/lib/increase/models/inbound_check_deposit.rb +391 -0
- data/lib/increase/models/inbound_check_deposit_decline_params.rb +14 -0
- data/lib/increase/models/inbound_check_deposit_list_params.rb +100 -0
- data/lib/increase/models/inbound_check_deposit_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_check_deposit_return_params.rb +45 -0
- data/lib/increase/models/inbound_mail_item.rb +132 -0
- data/lib/increase/models/inbound_mail_item_list_params.rb +91 -0
- data/lib/increase/models/inbound_mail_item_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +290 -0
- data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +102 -0
- data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_drawdown_request.rb +221 -0
- data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +34 -0
- data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_transfer.rb +307 -0
- data/lib/increase/models/inbound_wire_transfer_list_params.rb +145 -0
- data/lib/increase/models/inbound_wire_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +36 -0
- data/lib/increase/models/intrafi_account_enrollment.rb +121 -0
- data/lib/increase/models/intrafi_account_enrollment_create_params.rb +30 -0
- data/lib/increase/models/intrafi_account_enrollment_list_params.rb +102 -0
- data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +14 -0
- data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +14 -0
- data/lib/increase/models/intrafi_balance.rb +180 -0
- data/lib/increase/models/intrafi_balance_intrafi_balance_params.rb +14 -0
- data/lib/increase/models/intrafi_exclusion.rb +134 -0
- data/lib/increase/models/intrafi_exclusion_archive_params.rb +14 -0
- data/lib/increase/models/intrafi_exclusion_create_params.rb +30 -0
- data/lib/increase/models/intrafi_exclusion_list_params.rb +53 -0
- data/lib/increase/models/intrafi_exclusion_retrieve_params.rb +14 -0
- data/lib/increase/models/lockbox.rb +182 -0
- data/lib/increase/models/lockbox_create_params.rb +38 -0
- data/lib/increase/models/lockbox_list_params.rb +102 -0
- data/lib/increase/models/lockbox_retrieve_params.rb +14 -0
- data/lib/increase/models/lockbox_update_params.rb +52 -0
- data/lib/increase/models/oauth_application.rb +106 -0
- data/lib/increase/models/oauth_application_list_params.rb +122 -0
- data/lib/increase/models/oauth_application_retrieve_params.rb +14 -0
- data/lib/increase/models/oauth_connection.rb +104 -0
- data/lib/increase/models/oauth_connection_list_params.rb +83 -0
- data/lib/increase/models/oauth_connection_retrieve_params.rb +14 -0
- data/lib/increase/models/oauth_token.rb +67 -0
- data/lib/increase/models/oauth_token_create_params.rb +78 -0
- data/lib/increase/models/pending_transaction.rb +1747 -0
- data/lib/increase/models/pending_transaction_create_params.rb +43 -0
- data/lib/increase/models/pending_transaction_list_params.rb +212 -0
- data/lib/increase/models/pending_transaction_release_params.rb +14 -0
- data/lib/increase/models/pending_transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card.rb +433 -0
- data/lib/increase/models/physical_card_create_params.rb +185 -0
- data/lib/increase/models/physical_card_list_params.rb +102 -0
- data/lib/increase/models/physical_card_profile.rb +182 -0
- data/lib/increase/models/physical_card_profile_archive_params.rb +14 -0
- data/lib/increase/models/physical_card_profile_clone_params.rb +85 -0
- data/lib/increase/models/physical_card_profile_create_params.rb +93 -0
- data/lib/increase/models/physical_card_profile_list_params.rb +97 -0
- data/lib/increase/models/physical_card_profile_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card_update_params.rb +39 -0
- data/lib/increase/models/program.rb +126 -0
- data/lib/increase/models/program_list_params.rb +34 -0
- data/lib/increase/models/program_retrieve_params.rb +14 -0
- data/lib/increase/models/real_time_decision.rb +1303 -0
- data/lib/increase/models/real_time_decision_action_params.rb +351 -0
- data/lib/increase/models/real_time_decision_retrieve_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer.rb +622 -0
- data/lib/increase/models/real_time_payments_transfer_approve_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +112 -0
- data/lib/increase/models/real_time_payments_transfer_list_params.rb +169 -0
- data/lib/increase/models/real_time_payments_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/routing_number_list_params.rb +42 -0
- data/lib/increase/models/routing_number_list_response.rb +125 -0
- data/lib/increase/models/simulations/account_statement_create_params.rb +24 -0
- data/lib/increase/models/simulations/account_transfer_complete_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_acknowledge_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +104 -0
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +250 -0
- data/lib/increase/models/simulations/ach_transfer_settle_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_submit_params.rb +16 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +309 -0
- data/lib/increase/models/simulations/card_authorization_create_response.rb +59 -0
- data/lib/increase/models/simulations/card_authorization_expiration_create_params.rb +24 -0
- data/lib/increase/models/simulations/card_dispute_action_params.rb +55 -0
- data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +37 -0
- data/lib/increase/models/simulations/card_increment_create_params.rb +46 -0
- data/lib/increase/models/simulations/card_refund_create_params.rb +28 -0
- data/lib/increase/models/simulations/card_reversal_create_params.rb +36 -0
- data/lib/increase/models/simulations/card_settlement_create_params.rb +45 -0
- data/lib/increase/models/simulations/check_deposit_reject_params.rb +16 -0
- data/lib/increase/models/simulations/check_deposit_return_params.rb +16 -0
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +16 -0
- data/lib/increase/models/simulations/check_transfer_mail_params.rb +16 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_params.rb +24 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +83 -0
- data/lib/increase/models/simulations/document_create_params.rb +24 -0
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +241 -0
- data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +40 -0
- data/lib/increase/models/simulations/inbound_funds_hold_release_params.rb +16 -0
- data/lib/increase/models/simulations/inbound_funds_hold_release_response.rb +161 -0
- data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +44 -0
- data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +77 -0
- data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +186 -0
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +171 -0
- data/lib/increase/models/simulations/interest_payment_create_params.rb +59 -0
- data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +57 -0
- data/lib/increase/models/simulations/physical_card_tracking_updates_params.rb +81 -0
- data/lib/increase/models/simulations/program_create_params.rb +32 -0
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +113 -0
- data/lib/increase/models/simulations/wire_transfer_reverse_params.rb +16 -0
- data/lib/increase/models/simulations/wire_transfer_submit_params.rb +16 -0
- data/lib/increase/models/supplemental_document_create_params.rb +30 -0
- data/lib/increase/models/supplemental_document_list_params.rb +53 -0
- data/lib/increase/models/transaction.rb +5823 -0
- data/lib/increase/models/transaction_list_params.rb +226 -0
- data/lib/increase/models/transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/wire_drawdown_request.rb +249 -0
- data/lib/increase/models/wire_drawdown_request_create_params.rb +129 -0
- data/lib/increase/models/wire_drawdown_request_list_params.rb +91 -0
- data/lib/increase/models/wire_drawdown_request_retrieve_params.rb +14 -0
- data/lib/increase/models/wire_transfer.rb +677 -0
- data/lib/increase/models/wire_transfer_approve_params.rb +14 -0
- data/lib/increase/models/wire_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/wire_transfer_create_params.rb +151 -0
- data/lib/increase/models/wire_transfer_list_params.rb +110 -0
- data/lib/increase/models/wire_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models.rb +483 -0
- data/lib/increase/request_options.rb +77 -0
- data/lib/increase/resources/account_numbers.rb +130 -13
- data/lib/increase/resources/account_statements.rb +60 -9
- data/lib/increase/resources/account_transfers.rb +135 -15
- data/lib/increase/resources/accounts.rb +168 -15
- data/lib/increase/resources/ach_prenotifications.rb +109 -11
- data/lib/increase/resources/ach_transfers.rb +167 -15
- data/lib/increase/resources/bookkeeping_accounts.rb +120 -0
- data/lib/increase/resources/bookkeeping_entries.rb +64 -0
- data/lib/increase/resources/bookkeeping_entry_sets.rb +95 -0
- data/lib/increase/resources/card_disputes.rb +91 -11
- data/lib/increase/resources/card_payments.rb +68 -0
- data/lib/increase/resources/card_purchase_supplements.rb +66 -0
- data/lib/increase/resources/cards.rb +146 -15
- data/lib/increase/resources/check_deposits.rb +95 -11
- data/lib/increase/resources/check_transfers.rb +167 -17
- data/lib/increase/resources/declined_transactions.rb +64 -9
- data/lib/increase/resources/digital_card_profiles.rb +164 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +60 -9
- data/lib/increase/resources/documents.rb +89 -10
- data/lib/increase/resources/entities.rb +293 -14
- data/lib/increase/resources/event_subscriptions.rb +113 -13
- data/lib/increase/resources/events.rb +62 -9
- data/lib/increase/resources/exports.rb +109 -0
- data/lib/increase/resources/external_accounts.rb +125 -13
- data/lib/increase/resources/file_links.rb +41 -0
- data/lib/increase/resources/files.rb +94 -11
- data/lib/increase/resources/groups.rb +26 -7
- data/lib/increase/resources/inbound_ach_transfers.rb +154 -0
- data/lib/increase/resources/inbound_check_deposits.rb +112 -0
- data/lib/increase/resources/inbound_mail_items.rb +66 -0
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +68 -0
- data/lib/increase/resources/inbound_wire_drawdown_requests.rb +56 -9
- data/lib/increase/resources/inbound_wire_transfers.rb +94 -0
- data/lib/increase/resources/intrafi_account_enrollments.rb +112 -0
- data/lib/increase/resources/intrafi_balances.rb +36 -0
- data/lib/increase/resources/intrafi_exclusions.rb +113 -0
- data/lib/increase/resources/lockboxes.rb +122 -0
- data/lib/increase/resources/oauth_applications.rb +66 -0
- data/lib/increase/resources/oauth_connections.rb +60 -9
- data/lib/increase/resources/oauth_tokens.rb +47 -0
- data/lib/increase/resources/pending_transactions.rb +122 -10
- data/lib/increase/resources/physical_card_profiles.rb +156 -0
- data/lib/increase/resources/physical_cards.rb +123 -0
- data/lib/increase/resources/programs.rb +62 -0
- data/lib/increase/resources/real_time_decisions.rb +63 -9
- data/lib/increase/resources/real_time_payments_transfers.rb +157 -0
- data/lib/increase/resources/routing_numbers.rb +41 -7
- data/lib/increase/resources/simulations/account_statements.rb +39 -0
- data/lib/increase/resources/simulations/account_transfers.rb +39 -0
- data/lib/increase/resources/simulations/ach_transfers.rb +151 -0
- data/lib/increase/resources/simulations/card_authorization_expirations.rb +38 -0
- data/lib/increase/resources/simulations/card_authorizations.rb +79 -0
- data/lib/increase/resources/simulations/card_disputes.rb +45 -0
- data/lib/increase/resources/simulations/card_fuel_confirmations.rb +46 -0
- data/lib/increase/resources/simulations/card_increments.rb +46 -0
- data/lib/increase/resources/simulations/card_refunds.rb +42 -0
- data/lib/increase/resources/simulations/card_reversals.rb +46 -0
- data/lib/increase/resources/simulations/card_settlements.rb +49 -0
- data/lib/increase/resources/simulations/check_deposits.rb +80 -0
- data/lib/increase/resources/simulations/check_transfers.rb +39 -0
- data/lib/increase/resources/simulations/digital_wallet_token_requests.rb +39 -0
- data/lib/increase/resources/simulations/documents.rb +38 -0
- data/lib/increase/resources/simulations/inbound_ach_transfers.rb +73 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +47 -0
- data/lib/increase/resources/simulations/inbound_funds_holds.rb +37 -0
- data/lib/increase/resources/simulations/inbound_mail_items.rb +46 -0
- data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +56 -0
- data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +81 -0
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +74 -0
- data/lib/increase/resources/simulations/interest_payments.rb +50 -0
- data/lib/increase/resources/simulations/physical_cards.rb +79 -0
- data/lib/increase/resources/simulations/programs.rb +43 -0
- data/lib/increase/resources/simulations/real_time_payments_transfers.rb +43 -0
- data/lib/increase/resources/simulations/wire_transfers.rb +61 -0
- data/lib/increase/resources/simulations.rb +127 -0
- data/lib/increase/resources/supplemental_documents.rb +70 -0
- data/lib/increase/resources/transactions.rb +64 -9
- data/lib/increase/resources/wire_drawdown_requests.rb +109 -11
- data/lib/increase/resources/wire_transfers.rb +159 -15
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +386 -22
- data/manifest.yaml +15 -0
- data/rbi/increase/client.rbi +221 -0
- data/rbi/increase/errors.rbi +206 -0
- data/rbi/increase/file_part.rbi +37 -0
- data/rbi/increase/internal/page.rbi +22 -0
- data/rbi/increase/internal/transport/base_client.rbi +293 -0
- data/rbi/increase/internal/transport/pooled_net_requester.rbi +79 -0
- data/rbi/increase/internal/type/array_of.rbi +104 -0
- data/rbi/increase/internal/type/base_model.rbi +302 -0
- data/rbi/increase/internal/type/base_page.rbi +42 -0
- data/rbi/increase/internal/type/boolean.rbi +56 -0
- data/rbi/increase/internal/type/converter.rbi +162 -0
- data/rbi/increase/internal/type/enum.rbi +82 -0
- data/rbi/increase/internal/type/file_input.rbi +59 -0
- data/rbi/increase/internal/type/hash_of.rbi +104 -0
- data/rbi/increase/internal/type/request_parameters.rbi +29 -0
- data/rbi/increase/internal/type/union.rbi +116 -0
- data/rbi/increase/internal/type/unknown.rbi +56 -0
- data/rbi/increase/internal/util.rbi +487 -0
- data/rbi/increase/internal.rbi +16 -0
- data/rbi/increase/models/account.rbi +269 -0
- data/rbi/increase/models/account_balance_params.rbi +43 -0
- data/rbi/increase/models/account_close_params.rbi +27 -0
- data/rbi/increase/models/account_create_params.rbi +80 -0
- data/rbi/increase/models/account_list_params.rbi +280 -0
- data/rbi/increase/models/account_number.rbi +348 -0
- data/rbi/increase/models/account_number_create_params.rbi +262 -0
- data/rbi/increase/models/account_number_list_params.rbi +396 -0
- data/rbi/increase/models/account_number_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_number_update_params.rbi +320 -0
- data/rbi/increase/models/account_retrieve_params.rbi +27 -0
- data/rbi/increase/models/account_statement.rbi +136 -0
- data/rbi/increase/models/account_statement_list_params.rbi +167 -0
- data/rbi/increase/models/account_statement_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_transfer.rbi +634 -0
- data/rbi/increase/models/account_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/account_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/account_transfer_create_params.rbi +83 -0
- data/rbi/increase/models/account_transfer_list_params.rbi +177 -0
- data/rbi/increase/models/account_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_update_params.rbi +43 -0
- data/rbi/increase/models/ach_prenotification.rbi +1094 -0
- data/rbi/increase/models/ach_prenotification_create_params.rbi +294 -0
- data/rbi/increase/models/ach_prenotification_list_params.rbi +168 -0
- data/rbi/increase/models/ach_prenotification_retrieve_params.rbi +30 -0
- data/rbi/increase/models/ach_transfer.rbi +2672 -0
- data/rbi/increase/models/ach_transfer_approve_params.rbi +27 -0
- data/rbi/increase/models/ach_transfer_cancel_params.rbi +27 -0
- data/rbi/increase/models/ach_transfer_create_params.rbi +904 -0
- data/rbi/increase/models/ach_transfer_list_params.rbi +330 -0
- data/rbi/increase/models/ach_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/balance_lookup.rbi +90 -0
- data/rbi/increase/models/bookkeeping_account.rbi +165 -0
- data/rbi/increase/models/bookkeeping_account_balance_params.rbi +46 -0
- data/rbi/increase/models/bookkeeping_account_create_params.rbi +130 -0
- data/rbi/increase/models/bookkeeping_account_list_params.rbi +79 -0
- data/rbi/increase/models/bookkeeping_account_update_params.rbi +43 -0
- data/rbi/increase/models/bookkeeping_balance_lookup.rbi +85 -0
- data/rbi/increase/models/bookkeeping_entry.rbi +108 -0
- data/rbi/increase/models/bookkeeping_entry_list_params.rbi +73 -0
- data/rbi/increase/models/bookkeeping_entry_retrieve_params.rbi +30 -0
- data/rbi/increase/models/bookkeeping_entry_set.rbi +162 -0
- data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +110 -0
- data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +90 -0
- data/rbi/increase/models/bookkeeping_entry_set_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card.rbi +317 -0
- data/rbi/increase/models/card_create_params.rbi +241 -0
- data/rbi/increase/models/card_details.rbi +103 -0
- data/rbi/increase/models/card_details_params.rbi +27 -0
- data/rbi/increase/models/card_dispute.rbi +425 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +70 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +289 -0
- data/rbi/increase/models/card_dispute_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_list_params.rbi +252 -0
- data/rbi/increase/models/card_payment.rbi +11956 -0
- data/rbi/increase/models/card_payment_list_params.rbi +168 -0
- data/rbi/increase/models/card_payment_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_purchase_supplement.rbi +687 -0
- data/rbi/increase/models/card_purchase_supplement_list_params.rbi +168 -0
- data/rbi/increase/models/card_purchase_supplement_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_retrieve_params.rbi +27 -0
- data/rbi/increase/models/card_update_params.rbi +267 -0
- data/rbi/increase/models/check_deposit.rbi +1393 -0
- data/rbi/increase/models/check_deposit_create_params.rbi +78 -0
- data/rbi/increase/models/check_deposit_list_params.rbi +174 -0
- data/rbi/increase/models/check_deposit_retrieve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer.rbi +1670 -0
- data/rbi/increase/models/check_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +573 -0
- data/rbi/increase/models/check_transfer_list_params.rbi +332 -0
- data/rbi/increase/models/check_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_stop_payment_params.rbi +99 -0
- data/rbi/increase/models/declined_transaction.rbi +3355 -0
- data/rbi/increase/models/declined_transaction_list_params.rbi +322 -0
- data/rbi/increase/models/declined_transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/digital_card_profile.rbi +258 -0
- data/rbi/increase/models/digital_card_profile_archive_params.rbi +30 -0
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +188 -0
- data/rbi/increase/models/digital_card_profile_create_params.rbi +174 -0
- data/rbi/increase/models/digital_card_profile_list_params.rbi +203 -0
- data/rbi/increase/models/digital_card_profile_retrieve_params.rbi +30 -0
- data/rbi/increase/models/digital_wallet_token.rbi +508 -0
- data/rbi/increase/models/digital_wallet_token_list_params.rbi +162 -0
- data/rbi/increase/models/digital_wallet_token_retrieve_params.rbi +30 -0
- data/rbi/increase/models/document.rbi +198 -0
- data/rbi/increase/models/document_create_params.rbi +132 -0
- data/rbi/increase/models/document_list_params.rbi +289 -0
- data/rbi/increase/models/document_retrieve_params.rbi +27 -0
- data/rbi/increase/models/entity.rbi +2531 -0
- data/rbi/increase/models/entity_archive_beneficial_owner_params.rbi +48 -0
- data/rbi/increase/models/entity_archive_params.rbi +27 -0
- data/rbi/increase/models/entity_confirm_params.rbi +45 -0
- data/rbi/increase/models/entity_create_beneficial_owner_params.rbi +764 -0
- data/rbi/increase/models/entity_create_params.rbi +4200 -0
- data/rbi/increase/models/entity_list_params.rbi +256 -0
- data/rbi/increase/models/entity_retrieve_params.rbi +27 -0
- data/rbi/increase/models/entity_supplemental_document.rbi +108 -0
- data/rbi/increase/models/entity_update_address_params.rbi +129 -0
- data/rbi/increase/models/entity_update_beneficial_owner_address_params.rbi +163 -0
- data/rbi/increase/models/entity_update_industry_code_params.rbi +49 -0
- data/rbi/increase/models/event.rbi +698 -0
- data/rbi/increase/models/event_list_params.rbi +862 -0
- data/rbi/increase/models/event_retrieve_params.rbi +27 -0
- data/rbi/increase/models/event_subscription.rbi +833 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +753 -0
- data/rbi/increase/models/event_subscription_list_params.rbi +79 -0
- data/rbi/increase/models/event_subscription_retrieve_params.rbi +30 -0
- data/rbi/increase/models/event_subscription_update_params.rbi +99 -0
- data/rbi/increase/models/export.rbi +196 -0
- data/rbi/increase/models/export_create_params.rbi +933 -0
- data/rbi/increase/models/export_list_params.rbi +386 -0
- data/rbi/increase/models/export_retrieve_params.rbi +27 -0
- data/rbi/increase/models/external_account.rbi +236 -0
- data/rbi/increase/models/external_account_create_params.rbi +191 -0
- data/rbi/increase/models/external_account_list_params.rbi +198 -0
- data/rbi/increase/models/external_account_retrieve_params.rbi +30 -0
- data/rbi/increase/models/external_account_update_params.rbi +223 -0
- data/rbi/increase/models/file.rbi +291 -0
- data/rbi/increase/models/file_create_params.rbi +188 -0
- data/rbi/increase/models/file_link.rbi +115 -0
- data/rbi/increase/models/file_link_create_params.rbi +56 -0
- data/rbi/increase/models/file_list_params.rbi +410 -0
- data/rbi/increase/models/file_retrieve_params.rbi +27 -0
- data/rbi/increase/models/group.rbi +139 -0
- data/rbi/increase/models/group_retrieve_params.rbi +27 -0
- data/rbi/increase/models/inbound_ach_transfer.rbi +1898 -0
- data/rbi/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbi +60 -0
- data/rbi/increase/models/inbound_ach_transfer_decline_params.rbi +154 -0
- data/rbi/increase/models/inbound_ach_transfer_list_params.rbi +297 -0
- data/rbi/increase/models/inbound_ach_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_ach_transfer_transfer_return_params.rbi +149 -0
- data/rbi/increase/models/inbound_check_deposit.rbi +609 -0
- data/rbi/increase/models/inbound_check_deposit_decline_params.rbi +30 -0
- data/rbi/increase/models/inbound_check_deposit_list_params.rbi +176 -0
- data/rbi/increase/models/inbound_check_deposit_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_check_deposit_return_params.rbi +104 -0
- data/rbi/increase/models/inbound_mail_item.rbi +201 -0
- data/rbi/increase/models/inbound_mail_item_list_params.rbi +160 -0
- data/rbi/increase/models/inbound_mail_item_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +516 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_list_params.rbi +184 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +261 -0
- data/rbi/increase/models/inbound_wire_drawdown_request_list_params.rbi +62 -0
- data/rbi/increase/models/inbound_wire_drawdown_request_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +400 -0
- data/rbi/increase/models/inbound_wire_transfer_list_params.rbi +300 -0
- data/rbi/increase/models/inbound_wire_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi +84 -0
- data/rbi/increase/models/intrafi_account_enrollment.rbi +185 -0
- data/rbi/increase/models/intrafi_account_enrollment_create_params.rbi +54 -0
- data/rbi/increase/models/intrafi_account_enrollment_list_params.rbi +226 -0
- data/rbi/increase/models/intrafi_account_enrollment_retrieve_params.rbi +30 -0
- data/rbi/increase/models/intrafi_account_enrollment_unenroll_params.rbi +30 -0
- data/rbi/increase/models/intrafi_balance.rbi +262 -0
- data/rbi/increase/models/intrafi_balance_intrafi_balance_params.rbi +30 -0
- data/rbi/increase/models/intrafi_exclusion.rbi +176 -0
- data/rbi/increase/models/intrafi_exclusion_archive_params.rbi +30 -0
- data/rbi/increase/models/intrafi_exclusion_create_params.rbi +54 -0
- data/rbi/increase/models/intrafi_exclusion_list_params.rbi +90 -0
- data/rbi/increase/models/intrafi_exclusion_retrieve_params.rbi +30 -0
- data/rbi/increase/models/lockbox.rbi +232 -0
- data/rbi/increase/models/lockbox_create_params.rbi +65 -0
- data/rbi/increase/models/lockbox_list_params.rbi +172 -0
- data/rbi/increase/models/lockbox_retrieve_params.rbi +27 -0
- data/rbi/increase/models/lockbox_update_params.rbi +97 -0
- data/rbi/increase/models/oauth_application.rbi +146 -0
- data/rbi/increase/models/oauth_application_list_params.rbi +259 -0
- data/rbi/increase/models/oauth_application_retrieve_params.rbi +30 -0
- data/rbi/increase/models/oauth_connection.rbi +142 -0
- data/rbi/increase/models/oauth_connection_list_params.rbi +183 -0
- data/rbi/increase/models/oauth_connection_retrieve_params.rbi +30 -0
- data/rbi/increase/models/oauth_token.rbi +98 -0
- data/rbi/increase/models/oauth_token_create_params.rbi +133 -0
- data/rbi/increase/models/pending_transaction.rbi +3220 -0
- data/rbi/increase/models/pending_transaction_create_params.rbi +69 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +475 -0
- data/rbi/increase/models/pending_transaction_release_params.rbi +30 -0
- data/rbi/increase/models/pending_transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card.rbi +691 -0
- data/rbi/increase/models/physical_card_create_params.rbi +327 -0
- data/rbi/increase/models/physical_card_list_params.rbi +174 -0
- data/rbi/increase/models/physical_card_profile.rbi +245 -0
- data/rbi/increase/models/physical_card_profile_archive_params.rbi +30 -0
- data/rbi/increase/models/physical_card_profile_clone_params.rbi +143 -0
- data/rbi/increase/models/physical_card_profile_create_params.rbi +139 -0
- data/rbi/increase/models/physical_card_profile_list_params.rbi +219 -0
- data/rbi/increase/models/physical_card_profile_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card_update_params.rbi +83 -0
- data/rbi/increase/models/program.rbi +155 -0
- data/rbi/increase/models/program_list_params.rbi +59 -0
- data/rbi/increase/models/program_retrieve_params.rbi +27 -0
- data/rbi/increase/models/real_time_decision.rbi +2466 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +806 -0
- data/rbi/increase/models/real_time_decision_retrieve_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +1151 -0
- data/rbi/increase/models/real_time_payments_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +161 -0
- data/rbi/increase/models/real_time_payments_transfer_list_params.rbi +351 -0
- data/rbi/increase/models/real_time_payments_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/routing_number_list_params.rbi +67 -0
- data/rbi/increase/models/routing_number_list_response.rbi +246 -0
- data/rbi/increase/models/simulations/account_statement_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/account_transfer_complete_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +219 -0
- data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +581 -0
- data/rbi/increase/models/simulations/ach_transfer_settle_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_submit_params.rbi +32 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +648 -0
- data/rbi/increase/models/simulations/card_authorization_create_response.rbi +123 -0
- data/rbi/increase/models/simulations/card_authorization_expiration_create_params.rbi +48 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +124 -0
- data/rbi/increase/models/simulations/card_fuel_confirmation_create_params.rbi +58 -0
- data/rbi/increase/models/simulations/card_increment_create_params.rbi +73 -0
- data/rbi/increase/models/simulations/card_refund_create_params.rbi +50 -0
- data/rbi/increase/models/simulations/card_reversal_create_params.rbi +61 -0
- data/rbi/increase/models/simulations/card_settlement_create_params.rbi +71 -0
- data/rbi/increase/models/simulations/check_deposit_reject_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_deposit_return_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_transfer_mail_params.rbi +32 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +167 -0
- data/rbi/increase/models/simulations/document_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +508 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +64 -0
- data/rbi/increase/models/simulations/inbound_funds_hold_release_params.rbi +32 -0
- data/rbi/increase/models/simulations/inbound_funds_hold_release_response.rbi +280 -0
- data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +69 -0
- data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +113 -0
- data/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi +248 -0
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +251 -0
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +89 -0
- data/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi +134 -0
- data/rbi/increase/models/simulations/physical_card_tracking_updates_params.rbi +152 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +59 -0
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +277 -0
- data/rbi/increase/models/simulations/wire_transfer_reverse_params.rbi +32 -0
- data/rbi/increase/models/simulations/wire_transfer_submit_params.rbi +32 -0
- data/rbi/increase/models/supplemental_document_create_params.rbi +54 -0
- data/rbi/increase/models/supplemental_document_list_params.rbi +87 -0
- data/rbi/increase/models/transaction.rbi +10456 -0
- data/rbi/increase/models/transaction_list_params.rbi +473 -0
- data/rbi/increase/models/transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +324 -0
- data/rbi/increase/models/wire_drawdown_request_create_params.rbi +179 -0
- data/rbi/increase/models/wire_drawdown_request_list_params.rbi +205 -0
- data/rbi/increase/models/wire_drawdown_request_retrieve_params.rbi +30 -0
- data/rbi/increase/models/wire_transfer.rbi +974 -0
- data/rbi/increase/models/wire_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/wire_transfer_cancel_params.rbi +27 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +211 -0
- data/rbi/increase/models/wire_transfer_list_params.rbi +185 -0
- data/rbi/increase/models/wire_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models.rbi +517 -0
- data/rbi/increase/request_options.rbi +59 -0
- data/rbi/increase/resources/account_numbers.rbi +113 -0
- data/rbi/increase/resources/account_statements.rbi +50 -0
- data/rbi/increase/resources/account_transfers.rbi +110 -0
- data/rbi/increase/resources/accounts.rbi +137 -0
- data/rbi/increase/resources/ach_prenotifications.rbi +107 -0
- data/rbi/increase/resources/ach_transfers.rbi +179 -0
- data/rbi/increase/resources/bookkeeping_accounts.rbi +94 -0
- data/rbi/increase/resources/bookkeeping_entries.rbi +47 -0
- data/rbi/increase/resources/bookkeeping_entry_sets.rbi +75 -0
- data/rbi/increase/resources/card_disputes.rbi +78 -0
- data/rbi/increase/resources/card_payments.rbi +52 -0
- data/rbi/increase/resources/card_purchase_supplements.rbi +51 -0
- data/rbi/increase/resources/cards.rbi +134 -0
- data/rbi/increase/resources/check_deposits.rbi +81 -0
- data/rbi/increase/resources/check_transfers.rbi +146 -0
- data/rbi/increase/resources/declined_transactions.rbi +55 -0
- data/rbi/increase/resources/digital_card_profiles.rbi +147 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +49 -0
- data/rbi/increase/resources/documents.rbi +75 -0
- data/rbi/increase/resources/entities.rbi +241 -0
- data/rbi/increase/resources/event_subscriptions.rbi +94 -0
- data/rbi/increase/resources/events.rbi +51 -0
- data/rbi/increase/resources/exports.rbi +94 -0
- data/rbi/increase/resources/external_accounts.rbi +110 -0
- data/rbi/increase/resources/file_links.rbi +30 -0
- data/rbi/increase/resources/files.rbi +78 -0
- data/rbi/increase/resources/groups.rbi +21 -0
- data/rbi/increase/resources/inbound_ach_transfers.rbi +114 -0
- data/rbi/increase/resources/inbound_check_deposits.rbi +85 -0
- data/rbi/increase/resources/inbound_mail_items.rbi +49 -0
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +57 -0
- data/rbi/increase/resources/inbound_wire_drawdown_requests.rbi +46 -0
- data/rbi/increase/resources/inbound_wire_transfers.rbi +72 -0
- data/rbi/increase/resources/intrafi_account_enrollments.rbi +86 -0
- data/rbi/increase/resources/intrafi_balances.rbi +28 -0
- data/rbi/increase/resources/intrafi_exclusions.rbi +86 -0
- data/rbi/increase/resources/lockboxes.rbi +98 -0
- data/rbi/increase/resources/oauth_applications.rbi +48 -0
- data/rbi/increase/resources/oauth_connections.rbi +50 -0
- data/rbi/increase/resources/oauth_tokens.rbi +44 -0
- data/rbi/increase/resources/pending_transactions.rbi +98 -0
- data/rbi/increase/resources/physical_card_profiles.rbi +128 -0
- data/rbi/increase/resources/physical_cards.rbi +96 -0
- data/rbi/increase/resources/programs.rbi +44 -0
- data/rbi/increase/resources/real_time_decisions.rbi +65 -0
- data/rbi/increase/resources/real_time_payments_transfers.rbi +141 -0
- data/rbi/increase/resources/routing_numbers.rbi +38 -0
- data/rbi/increase/resources/simulations/account_statements.rbi +29 -0
- data/rbi/increase/resources/simulations/account_transfers.rbi +31 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +115 -0
- data/rbi/increase/resources/simulations/card_authorization_expirations.rbi +28 -0
- data/rbi/increase/resources/simulations/card_authorizations.rbi +97 -0
- data/rbi/increase/resources/simulations/card_disputes.rbi +38 -0
- data/rbi/increase/resources/simulations/card_fuel_confirmations.rbi +34 -0
- data/rbi/increase/resources/simulations/card_increments.rbi +38 -0
- data/rbi/increase/resources/simulations/card_refunds.rbi +30 -0
- data/rbi/increase/resources/simulations/card_reversals.rbi +35 -0
- data/rbi/increase/resources/simulations/card_settlements.rbi +40 -0
- data/rbi/increase/resources/simulations/check_deposits.rbi +60 -0
- data/rbi/increase/resources/simulations/check_transfers.rbi +31 -0
- data/rbi/increase/resources/simulations/digital_wallet_token_requests.rbi +31 -0
- data/rbi/increase/resources/simulations/documents.rbi +28 -0
- data/rbi/increase/resources/simulations/inbound_ach_transfers.rbi +75 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +39 -0
- data/rbi/increase/resources/simulations/inbound_funds_holds.rbi +31 -0
- data/rbi/increase/resources/simulations/inbound_mail_items.rbi +36 -0
- data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +49 -0
- data/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi +92 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +91 -0
- data/rbi/increase/resources/simulations/interest_payments.rbi +41 -0
- data/rbi/increase/resources/simulations/physical_cards.rbi +66 -0
- data/rbi/increase/resources/simulations/programs.rbi +34 -0
- data/rbi/increase/resources/simulations/real_time_payments_transfers.rbi +35 -0
- data/rbi/increase/resources/simulations/wire_transfers.rbi +47 -0
- data/rbi/increase/resources/simulations.rbi +105 -0
- data/rbi/increase/resources/supplemental_documents.rbi +58 -0
- data/rbi/increase/resources/transactions.rbi +55 -0
- data/rbi/increase/resources/wire_drawdown_requests.rbi +110 -0
- data/rbi/increase/resources/wire_transfers.rbi +151 -0
- data/rbi/increase/version.rbi +5 -0
- data/sig/increase/client.rbs +135 -0
- data/sig/increase/errors.rbs +145 -0
- data/sig/increase/file_part.rbs +21 -0
- data/sig/increase/internal/page.rbs +13 -0
- data/sig/increase/internal/transport/base_client.rbs +131 -0
- data/sig/increase/internal/transport/pooled_net_requester.rbs +45 -0
- data/sig/increase/internal/type/array_of.rbs +48 -0
- data/sig/increase/internal/type/base_model.rbs +102 -0
- data/sig/increase/internal/type/base_page.rbs +24 -0
- data/sig/increase/internal/type/boolean.rbs +26 -0
- data/sig/increase/internal/type/converter.rbs +56 -0
- data/sig/increase/internal/type/enum.rbs +32 -0
- data/sig/increase/internal/type/file_input.rbs +25 -0
- data/sig/increase/internal/type/hash_of.rbs +48 -0
- data/sig/increase/internal/type/request_parameters.rbs +17 -0
- data/sig/increase/internal/type/union.rbs +52 -0
- data/sig/increase/internal/type/unknown.rbs +26 -0
- data/sig/increase/internal/util.rbs +185 -0
- data/sig/increase/internal.rbs +9 -0
- data/sig/increase/models/account.rbs +157 -0
- data/sig/increase/models/account_balance_params.rbs +25 -0
- data/sig/increase/models/account_close_params.rbs +15 -0
- data/sig/increase/models/account_create_params.rbs +47 -0
- data/sig/increase/models/account_list_params.rbs +149 -0
- data/sig/increase/models/account_number.rbs +157 -0
- data/sig/increase/models/account_number_create_params.rbs +111 -0
- data/sig/increase/models/account_number_list_params.rbs +182 -0
- data/sig/increase/models/account_number_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_number_update_params.rbs +138 -0
- data/sig/increase/models/account_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_statement.rbs +70 -0
- data/sig/increase/models/account_statement_list_params.rbs +86 -0
- data/sig/increase/models/account_statement_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_transfer.rbs +266 -0
- data/sig/increase/models/account_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/account_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/account_transfer_create_params.rbs +48 -0
- data/sig/increase/models/account_transfer_list_params.rbs +93 -0
- data/sig/increase/models/account_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_update_params.rbs +25 -0
- data/sig/increase/models/ach_prenotification.rbs +561 -0
- data/sig/increase/models/ach_prenotification_create_params.rbs +148 -0
- data/sig/increase/models/ach_prenotification_list_params.rbs +86 -0
- data/sig/increase/models/ach_prenotification_retrieve_params.rbs +15 -0
- data/sig/increase/models/ach_transfer.rbs +1207 -0
- data/sig/increase/models/ach_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/ach_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/ach_transfer_create_params.rbs +379 -0
- data/sig/increase/models/ach_transfer_list_params.rbs +172 -0
- data/sig/increase/models/ach_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/balance_lookup.rbs +45 -0
- data/sig/increase/models/bookkeeping_account.rbs +74 -0
- data/sig/increase/models/bookkeeping_account_balance_params.rbs +25 -0
- data/sig/increase/models/bookkeeping_account_create_params.rbs +63 -0
- data/sig/increase/models/bookkeeping_account_list_params.rbs +38 -0
- data/sig/increase/models/bookkeeping_account_update_params.rbs +23 -0
- data/sig/increase/models/bookkeeping_balance_lookup.rbs +40 -0
- data/sig/increase/models/bookkeeping_entry.rbs +55 -0
- data/sig/increase/models/bookkeeping_entry_list_params.rbs +38 -0
- data/sig/increase/models/bookkeeping_entry_retrieve_params.rbs +15 -0
- data/sig/increase/models/bookkeeping_entry_set.rbs +78 -0
- data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +52 -0
- data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +49 -0
- data/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs +15 -0
- data/sig/increase/models/card.rbs +167 -0
- data/sig/increase/models/card_create_params.rbs +126 -0
- data/sig/increase/models/card_details.rbs +55 -0
- data/sig/increase/models/card_details_params.rbs +15 -0
- data/sig/increase/models/card_dispute.rbs +207 -0
- data/sig/increase/models/card_dispute_create_params.rbs +34 -0
- data/sig/increase/models/card_dispute_list_params.rbs +146 -0
- data/sig/increase/models/card_dispute_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_list_params.rbs +138 -0
- data/sig/increase/models/card_payment.rbs +4955 -0
- data/sig/increase/models/card_payment_list_params.rbs +93 -0
- data/sig/increase/models/card_payment_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_purchase_supplement.rbs +329 -0
- data/sig/increase/models/card_purchase_supplement_list_params.rbs +86 -0
- data/sig/increase/models/card_purchase_supplement_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_update_params.rbs +147 -0
- data/sig/increase/models/check_deposit.rbs +643 -0
- data/sig/increase/models/check_deposit_create_params.rbs +48 -0
- data/sig/increase/models/check_deposit_list_params.rbs +93 -0
- data/sig/increase/models/check_deposit_retrieve_params.rbs +15 -0
- data/sig/increase/models/check_transfer.rbs +729 -0
- data/sig/increase/models/check_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/check_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/check_transfer_create_params.rbs +262 -0
- data/sig/increase/models/check_transfer_list_params.rbs +169 -0
- data/sig/increase/models/check_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/check_transfer_stop_payment_params.rbs +45 -0
- data/sig/increase/models/declined_transaction.rbs +1469 -0
- data/sig/increase/models/declined_transaction_list_params.rbs +159 -0
- data/sig/increase/models/declined_transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/digital_card_profile.rbs +129 -0
- data/sig/increase/models/digital_card_profile_archive_params.rbs +15 -0
- data/sig/increase/models/digital_card_profile_clone_params.rbs +100 -0
- data/sig/increase/models/digital_card_profile_create_params.rbs +90 -0
- data/sig/increase/models/digital_card_profile_list_params.rbs +92 -0
- data/sig/increase/models/digital_card_profile_retrieve_params.rbs +15 -0
- data/sig/increase/models/digital_wallet_token.rbs +238 -0
- data/sig/increase/models/digital_wallet_token_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_retrieve_params.rbs +15 -0
- data/sig/increase/models/document.rbs +103 -0
- data/sig/increase/models/document_create_params.rbs +61 -0
- data/sig/increase/models/document_list_params.rbs +149 -0
- data/sig/increase/models/document_retrieve_params.rbs +15 -0
- data/sig/increase/models/entity.rbs +1170 -0
- data/sig/increase/models/entity_archive_beneficial_owner_params.rbs +24 -0
- data/sig/increase/models/entity_archive_params.rbs +15 -0
- data/sig/increase/models/entity_confirm_params.rbs +25 -0
- data/sig/increase/models/entity_create_beneficial_owner_params.rbs +333 -0
- data/sig/increase/models/entity_create_params.rbs +1889 -0
- data/sig/increase/models/entity_list_params.rbs +131 -0
- data/sig/increase/models/entity_retrieve_params.rbs +15 -0
- data/sig/increase/models/entity_supplemental_document.rbs +50 -0
- data/sig/increase/models/entity_update_address_params.rbs +63 -0
- data/sig/increase/models/entity_update_beneficial_owner_address_params.rbs +81 -0
- data/sig/increase/models/entity_update_industry_code_params.rbs +23 -0
- data/sig/increase/models/event.rbs +423 -0
- data/sig/increase/models/event_list_params.rbs +482 -0
- data/sig/increase/models/event_retrieve_params.rbs +15 -0
- data/sig/increase/models/event_subscription.rbs +453 -0
- data/sig/increase/models/event_subscription_create_params.rbs +417 -0
- data/sig/increase/models/event_subscription_list_params.rbs +38 -0
- data/sig/increase/models/event_subscription_retrieve_params.rbs +15 -0
- data/sig/increase/models/event_subscription_update_params.rbs +45 -0
- data/sig/increase/models/export.rbs +118 -0
- data/sig/increase/models/export_create_params.rbs +427 -0
- data/sig/increase/models/export_list_params.rbs +195 -0
- data/sig/increase/models/export_retrieve_params.rbs +15 -0
- data/sig/increase/models/external_account.rbs +123 -0
- data/sig/increase/models/external_account_create_params.rbs +88 -0
- data/sig/increase/models/external_account_list_params.rbs +93 -0
- data/sig/increase/models/external_account_retrieve_params.rbs +15 -0
- data/sig/increase/models/external_account_update_params.rbs +100 -0
- data/sig/increase/models/file.rbs +196 -0
- data/sig/increase/models/file_create_params.rbs +110 -0
- data/sig/increase/models/file_link.rbs +60 -0
- data/sig/increase/models/file_link_create_params.rbs +30 -0
- data/sig/increase/models/file_list_params.rbs +226 -0
- data/sig/increase/models/file_retrieve_params.rbs +15 -0
- data/sig/increase/models/group.rbs +78 -0
- data/sig/increase/models/group_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +886 -0
- data/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs +32 -0
- data/sig/increase/models/inbound_ach_transfer_decline_params.rbs +76 -0
- data/sig/increase/models/inbound_ach_transfer_list_params.rbs +143 -0
- data/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs +74 -0
- data/sig/increase/models/inbound_check_deposit.rbs +304 -0
- data/sig/increase/models/inbound_check_deposit_decline_params.rbs +15 -0
- data/sig/increase/models/inbound_check_deposit_list_params.rbs +93 -0
- data/sig/increase/models/inbound_check_deposit_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_check_deposit_return_params.rbs +52 -0
- data/sig/increase/models/inbound_mail_item.rbs +100 -0
- data/sig/increase/models/inbound_mail_item_list_params.rbs +86 -0
- data/sig/increase/models/inbound_mail_item_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +222 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +140 -0
- data/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs +32 -0
- data/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +211 -0
- data/sig/increase/models/inbound_wire_transfer_list_params.rbs +143 -0
- data/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +38 -0
- data/sig/increase/models/intrafi_account_enrollment.rbs +88 -0
- data/sig/increase/models/intrafi_account_enrollment_create_params.rbs +28 -0
- data/sig/increase/models/intrafi_account_enrollment_list_params.rbs +107 -0
- data/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs +15 -0
- data/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs +15 -0
- data/sig/increase/models/intrafi_balance.rbs +130 -0
- data/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs +15 -0
- data/sig/increase/models/intrafi_exclusion.rbs +92 -0
- data/sig/increase/models/intrafi_exclusion_archive_params.rbs +15 -0
- data/sig/increase/models/intrafi_exclusion_create_params.rbs +28 -0
- data/sig/increase/models/intrafi_exclusion_list_params.rbs +49 -0
- data/sig/increase/models/intrafi_exclusion_retrieve_params.rbs +15 -0
- data/sig/increase/models/lockbox.rbs +126 -0
- data/sig/increase/models/lockbox_create_params.rbs +36 -0
- data/sig/increase/models/lockbox_list_params.rbs +93 -0
- data/sig/increase/models/lockbox_retrieve_params.rbs +15 -0
- data/sig/increase/models/lockbox_update_params.rbs +58 -0
- data/sig/increase/models/oauth_application.rbs +74 -0
- data/sig/increase/models/oauth_application_list_params.rbs +123 -0
- data/sig/increase/models/oauth_application_retrieve_params.rbs +15 -0
- data/sig/increase/models/oauth_connection.rbs +74 -0
- data/sig/increase/models/oauth_connection_list_params.rbs +86 -0
- data/sig/increase/models/oauth_connection_retrieve_params.rbs +15 -0
- data/sig/increase/models/oauth_token.rbs +50 -0
- data/sig/increase/models/oauth_token_create_params.rbs +68 -0
- data/sig/increase/models/pending_transaction.rbs +1266 -0
- data/sig/increase/models/pending_transaction_create_params.rbs +34 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +227 -0
- data/sig/increase/models/pending_transaction_release_params.rbs +15 -0
- data/sig/increase/models/pending_transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card.rbs +338 -0
- data/sig/increase/models/physical_card_create_params.rbs +152 -0
- data/sig/increase/models/physical_card_list_params.rbs +93 -0
- data/sig/increase/models/physical_card_profile.rbs +136 -0
- data/sig/increase/models/physical_card_profile_archive_params.rbs +15 -0
- data/sig/increase/models/physical_card_profile_clone_params.rbs +72 -0
- data/sig/increase/models/physical_card_profile_create_params.rbs +69 -0
- data/sig/increase/models/physical_card_profile_list_params.rbs +104 -0
- data/sig/increase/models/physical_card_profile_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card_update_params.rbs +41 -0
- data/sig/increase/models/program.rbs +87 -0
- data/sig/increase/models/program_list_params.rbs +32 -0
- data/sig/increase/models/program_retrieve_params.rbs +15 -0
- data/sig/increase/models/real_time_decision.rbs +998 -0
- data/sig/increase/models/real_time_decision_action_params.rbs +317 -0
- data/sig/increase/models/real_time_decision_retrieve_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +467 -0
- data/sig/increase/models/real_time_payments_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +90 -0
- data/sig/increase/models/real_time_payments_transfer_list_params.rbs +170 -0
- data/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/routing_number_list_params.rbs +36 -0
- data/sig/increase/models/routing_number_list_response.rbs +97 -0
- data/sig/increase/models/simulations/account_statement_create_params.rbs +25 -0
- data/sig/increase/models/simulations/account_transfer_complete_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +117 -0
- data/sig/increase/models/simulations/ach_transfer_return_params.rbs +320 -0
- data/sig/increase/models/simulations/ach_transfer_settle_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_submit_params.rbs +17 -0
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +314 -0
- data/sig/increase/models/simulations/card_authorization_create_response.rbs +42 -0
- data/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs +26 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +59 -0
- data/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs +30 -0
- data/sig/increase/models/simulations/card_increment_create_params.rbs +40 -0
- data/sig/increase/models/simulations/card_refund_create_params.rbs +26 -0
- data/sig/increase/models/simulations/card_reversal_create_params.rbs +32 -0
- data/sig/increase/models/simulations/card_settlement_create_params.rbs +36 -0
- data/sig/increase/models/simulations/check_deposit_reject_params.rbs +17 -0
- data/sig/increase/models/simulations/check_deposit_return_params.rbs +17 -0
- data/sig/increase/models/simulations/check_deposit_submit_params.rbs +17 -0
- data/sig/increase/models/simulations/check_transfer_mail_params.rbs +17 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs +25 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +66 -0
- data/sig/increase/models/simulations/document_create_params.rbs +25 -0
- data/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs +243 -0
- data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +34 -0
- data/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs +17 -0
- data/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs +117 -0
- data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +36 -0
- data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +68 -0
- data/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +147 -0
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +138 -0
- data/sig/increase/models/simulations/interest_payment_create_params.rbs +54 -0
- data/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs +68 -0
- data/sig/increase/models/simulations/physical_card_tracking_updates_params.rbs +80 -0
- data/sig/increase/models/simulations/program_create_params.rbs +32 -0
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +141 -0
- data/sig/increase/models/simulations/wire_transfer_reverse_params.rbs +17 -0
- data/sig/increase/models/simulations/wire_transfer_submit_params.rbs +17 -0
- data/sig/increase/models/supplemental_document_create_params.rbs +28 -0
- data/sig/increase/models/supplemental_document_list_params.rbs +47 -0
- data/sig/increase/models/transaction.rbs +4400 -0
- data/sig/increase/models/transaction_list_params.rbs +253 -0
- data/sig/increase/models/transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/wire_drawdown_request.rbs +161 -0
- data/sig/increase/models/wire_drawdown_request_create_params.rbs +100 -0
- data/sig/increase/models/wire_drawdown_request_list_params.rbs +93 -0
- data/sig/increase/models/wire_drawdown_request_retrieve_params.rbs +15 -0
- data/sig/increase/models/wire_transfer.rbs +469 -0
- data/sig/increase/models/wire_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/wire_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +125 -0
- data/sig/increase/models/wire_transfer_list_params.rbs +100 -0
- data/sig/increase/models/wire_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models.rbs +441 -0
- data/sig/increase/request_options.rbs +34 -0
- data/sig/increase/resources/account_numbers.rbs +40 -0
- data/sig/increase/resources/account_statements.rbs +20 -0
- data/sig/increase/resources/account_transfers.rbs +40 -0
- data/sig/increase/resources/accounts.rbs +49 -0
- data/sig/increase/resources/ach_prenotifications.rbs +37 -0
- data/sig/increase/resources/ach_transfers.rbs +56 -0
- data/sig/increase/resources/bookkeeping_accounts.rbs +34 -0
- data/sig/increase/resources/bookkeeping_entries.rbs +19 -0
- data/sig/increase/resources/bookkeeping_entry_sets.rbs +27 -0
- data/sig/increase/resources/card_disputes.rbs +28 -0
- data/sig/increase/resources/card_payments.rbs +21 -0
- data/sig/increase/resources/card_purchase_supplements.rbs +20 -0
- data/sig/increase/resources/cards.rbs +46 -0
- data/sig/increase/resources/check_deposits.rbs +30 -0
- data/sig/increase/resources/check_transfers.rbs +50 -0
- data/sig/increase/resources/declined_transactions.rbs +22 -0
- data/sig/increase/resources/digital_card_profiles.rbs +52 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +20 -0
- data/sig/increase/resources/documents.rbs +28 -0
- data/sig/increase/resources/entities.rbs +76 -0
- data/sig/increase/resources/event_subscriptions.rbs +33 -0
- data/sig/increase/resources/events.rbs +21 -0
- data/sig/increase/resources/exports.rbs +33 -0
- data/sig/increase/resources/external_accounts.rbs +39 -0
- data/sig/increase/resources/file_links.rbs +13 -0
- data/sig/increase/resources/files.rbs +28 -0
- data/sig/increase/resources/groups.rbs +11 -0
- data/sig/increase/resources/inbound_ach_transfers.rbs +41 -0
- data/sig/increase/resources/inbound_check_deposits.rbs +32 -0
- data/sig/increase/resources/inbound_mail_items.rbs +20 -0
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +21 -0
- data/sig/increase/resources/inbound_wire_drawdown_requests.rbs +18 -0
- data/sig/increase/resources/inbound_wire_transfers.rbs +28 -0
- data/sig/increase/resources/intrafi_account_enrollments.rbs +32 -0
- data/sig/increase/resources/intrafi_balances.rbs +12 -0
- data/sig/increase/resources/intrafi_exclusions.rbs +31 -0
- data/sig/increase/resources/lockboxes.rbs +36 -0
- data/sig/increase/resources/oauth_applications.rbs +20 -0
- data/sig/increase/resources/oauth_connections.rbs +20 -0
- data/sig/increase/resources/oauth_tokens.rbs +16 -0
- data/sig/increase/resources/pending_transactions.rbs +35 -0
- data/sig/increase/resources/physical_card_profiles.rbs +45 -0
- data/sig/increase/resources/physical_cards.rbs +35 -0
- data/sig/increase/resources/programs.rbs +18 -0
- data/sig/increase/resources/real_time_decisions.rbs +22 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +48 -0
- data/sig/increase/resources/routing_numbers.rbs +14 -0
- data/sig/increase/resources/simulations/account_statements.rbs +14 -0
- data/sig/increase/resources/simulations/account_transfers.rbs +14 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +37 -0
- data/sig/increase/resources/simulations/card_authorization_expirations.rbs +14 -0
- data/sig/increase/resources/simulations/card_authorizations.rbs +30 -0
- data/sig/increase/resources/simulations/card_disputes.rbs +16 -0
- data/sig/increase/resources/simulations/card_fuel_confirmations.rbs +15 -0
- data/sig/increase/resources/simulations/card_increments.rbs +16 -0
- data/sig/increase/resources/simulations/card_refunds.rbs +14 -0
- data/sig/increase/resources/simulations/card_reversals.rbs +15 -0
- data/sig/increase/resources/simulations/card_settlements.rbs +16 -0
- data/sig/increase/resources/simulations/check_deposits.rbs +24 -0
- data/sig/increase/resources/simulations/check_transfers.rbs +14 -0
- data/sig/increase/resources/simulations/digital_wallet_token_requests.rbs +14 -0
- data/sig/increase/resources/simulations/documents.rbs +14 -0
- data/sig/increase/resources/simulations/inbound_ach_transfers.rbs +25 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +16 -0
- data/sig/increase/resources/simulations/inbound_funds_holds.rbs +14 -0
- data/sig/increase/resources/simulations/inbound_mail_items.rbs +16 -0
- data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +20 -0
- data/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs +33 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +30 -0
- data/sig/increase/resources/simulations/interest_payments.rbs +18 -0
- data/sig/increase/resources/simulations/physical_cards.rbs +25 -0
- data/sig/increase/resources/simulations/programs.rbs +15 -0
- data/sig/increase/resources/simulations/real_time_payments_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/wire_transfers.rbs +19 -0
- data/sig/increase/resources/simulations.rbs +61 -0
- data/sig/increase/resources/supplemental_documents.rbs +21 -0
- data/sig/increase/resources/transactions.rbs +22 -0
- data/sig/increase/resources/wire_drawdown_requests.rbs +37 -0
- data/sig/increase/resources/wire_transfers.rbs +52 -0
- data/sig/increase/version.rbs +3 -0
- metadata +1068 -176
- data/.rspec +0 -3
- data/.standard.yml +0 -3
- data/Gemfile +0 -6
- data/LICENSE.txt +0 -21
- data/OPENAPI_VERSION +0 -1
- data/Rakefile +0 -10
- data/bin/generate +0 -152
- data/bin/setup +0 -8
- data/generate/resource.rb.erb +0 -18
- data/lib/increase/configuration.rb +0 -50
- data/lib/increase/file_upload.rb +0 -57
- data/lib/increase/middleware/encode_json.rb +0 -57
- data/lib/increase/middleware/parse_json.rb +0 -42
- data/lib/increase/middleware/raise_api_error.rb +0 -13
- data/lib/increase/resource.rb +0 -205
- data/lib/increase/resources/card_profiles.rb +0 -17
- data/lib/increase/resources/inbound_ach_transfer_returns.rb +0 -17
- data/lib/increase/resources/limits.rb +0 -19
- data/lib/increase/resources.rb +0 -4
- data/lib/increase/response_array.rb +0 -19
- data/lib/increase/response_hash.rb +0 -15
- data/lib/increase/util.rb +0 -15
- data/lib/increase/webhook/signature.rb +0 -70
- data/openapi.json +0 -32098
- data/sig/increase.rbs +0 -4
@@ -0,0 +1,2531 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
class Entity < Increase::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Increase::Entity, Increase::Internal::AnyHash) }
|
8
|
+
|
9
|
+
# The entity's identifier.
|
10
|
+
sig { returns(String) }
|
11
|
+
attr_accessor :id
|
12
|
+
|
13
|
+
# Details of the corporation entity. Will be present if `structure` is equal to
|
14
|
+
# `corporation`.
|
15
|
+
sig { returns(T.nilable(Increase::Entity::Corporation)) }
|
16
|
+
attr_reader :corporation
|
17
|
+
|
18
|
+
sig do
|
19
|
+
params(
|
20
|
+
corporation: T.nilable(Increase::Entity::Corporation::OrHash)
|
21
|
+
).void
|
22
|
+
end
|
23
|
+
attr_writer :corporation
|
24
|
+
|
25
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity
|
26
|
+
# was created.
|
27
|
+
sig { returns(Time) }
|
28
|
+
attr_accessor :created_at
|
29
|
+
|
30
|
+
# The entity's description for display purposes.
|
31
|
+
sig { returns(T.nilable(String)) }
|
32
|
+
attr_accessor :description
|
33
|
+
|
34
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
35
|
+
# Entity's details were most recently confirmed.
|
36
|
+
sig { returns(T.nilable(Time)) }
|
37
|
+
attr_accessor :details_confirmed_at
|
38
|
+
|
39
|
+
# Details of the government authority entity. Will be present if `structure` is
|
40
|
+
# equal to `government_authority`.
|
41
|
+
sig { returns(T.nilable(Increase::Entity::GovernmentAuthority)) }
|
42
|
+
attr_reader :government_authority
|
43
|
+
|
44
|
+
sig do
|
45
|
+
params(
|
46
|
+
government_authority:
|
47
|
+
T.nilable(Increase::Entity::GovernmentAuthority::OrHash)
|
48
|
+
).void
|
49
|
+
end
|
50
|
+
attr_writer :government_authority
|
51
|
+
|
52
|
+
# The idempotency key you chose for this object. This value is unique across
|
53
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
54
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
55
|
+
sig { returns(T.nilable(String)) }
|
56
|
+
attr_accessor :idempotency_key
|
57
|
+
|
58
|
+
# Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
59
|
+
sig { returns(T.nilable(Increase::Entity::Joint)) }
|
60
|
+
attr_reader :joint
|
61
|
+
|
62
|
+
sig { params(joint: T.nilable(Increase::Entity::Joint::OrHash)).void }
|
63
|
+
attr_writer :joint
|
64
|
+
|
65
|
+
# Details of the natural person entity. Will be present if `structure` is equal to
|
66
|
+
# `natural_person`.
|
67
|
+
sig { returns(T.nilable(Increase::Entity::NaturalPerson)) }
|
68
|
+
attr_reader :natural_person
|
69
|
+
|
70
|
+
sig do
|
71
|
+
params(
|
72
|
+
natural_person: T.nilable(Increase::Entity::NaturalPerson::OrHash)
|
73
|
+
).void
|
74
|
+
end
|
75
|
+
attr_writer :natural_person
|
76
|
+
|
77
|
+
# The status of the entity.
|
78
|
+
sig { returns(Increase::Entity::Status::TaggedSymbol) }
|
79
|
+
attr_accessor :status
|
80
|
+
|
81
|
+
# The entity's legal structure.
|
82
|
+
sig { returns(Increase::Entity::Structure::TaggedSymbol) }
|
83
|
+
attr_accessor :structure
|
84
|
+
|
85
|
+
# Additional documentation associated with the entity. This is limited to the
|
86
|
+
# first 10 documents for an entity. If an entity has more than 10 documents, use
|
87
|
+
# the GET /entity_supplemental_documents list endpoint to retrieve them.
|
88
|
+
sig { returns(T::Array[Increase::EntitySupplementalDocument]) }
|
89
|
+
attr_accessor :supplemental_documents
|
90
|
+
|
91
|
+
# A reference to data stored in a third-party verification service. Your
|
92
|
+
# integration may or may not use this field.
|
93
|
+
sig { returns(T.nilable(Increase::Entity::ThirdPartyVerification)) }
|
94
|
+
attr_reader :third_party_verification
|
95
|
+
|
96
|
+
sig do
|
97
|
+
params(
|
98
|
+
third_party_verification:
|
99
|
+
T.nilable(Increase::Entity::ThirdPartyVerification::OrHash)
|
100
|
+
).void
|
101
|
+
end
|
102
|
+
attr_writer :third_party_verification
|
103
|
+
|
104
|
+
# Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
105
|
+
sig { returns(T.nilable(Increase::Entity::Trust)) }
|
106
|
+
attr_reader :trust
|
107
|
+
|
108
|
+
sig { params(trust: T.nilable(Increase::Entity::Trust::OrHash)).void }
|
109
|
+
attr_writer :trust
|
110
|
+
|
111
|
+
# A constant representing the object's type. For this resource it will always be
|
112
|
+
# `entity`.
|
113
|
+
sig { returns(Increase::Entity::Type::TaggedSymbol) }
|
114
|
+
attr_accessor :type
|
115
|
+
|
116
|
+
# Entities are the legal entities that own accounts. They can be people,
|
117
|
+
# corporations, partnerships, government authorities, or trusts.
|
118
|
+
sig do
|
119
|
+
params(
|
120
|
+
id: String,
|
121
|
+
corporation: T.nilable(Increase::Entity::Corporation::OrHash),
|
122
|
+
created_at: Time,
|
123
|
+
description: T.nilable(String),
|
124
|
+
details_confirmed_at: T.nilable(Time),
|
125
|
+
government_authority:
|
126
|
+
T.nilable(Increase::Entity::GovernmentAuthority::OrHash),
|
127
|
+
idempotency_key: T.nilable(String),
|
128
|
+
joint: T.nilable(Increase::Entity::Joint::OrHash),
|
129
|
+
natural_person: T.nilable(Increase::Entity::NaturalPerson::OrHash),
|
130
|
+
status: Increase::Entity::Status::OrSymbol,
|
131
|
+
structure: Increase::Entity::Structure::OrSymbol,
|
132
|
+
supplemental_documents:
|
133
|
+
T::Array[Increase::EntitySupplementalDocument::OrHash],
|
134
|
+
third_party_verification:
|
135
|
+
T.nilable(Increase::Entity::ThirdPartyVerification::OrHash),
|
136
|
+
trust: T.nilable(Increase::Entity::Trust::OrHash),
|
137
|
+
type: Increase::Entity::Type::OrSymbol
|
138
|
+
).returns(T.attached_class)
|
139
|
+
end
|
140
|
+
def self.new(
|
141
|
+
# The entity's identifier.
|
142
|
+
id:,
|
143
|
+
# Details of the corporation entity. Will be present if `structure` is equal to
|
144
|
+
# `corporation`.
|
145
|
+
corporation:,
|
146
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity
|
147
|
+
# was created.
|
148
|
+
created_at:,
|
149
|
+
# The entity's description for display purposes.
|
150
|
+
description:,
|
151
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
152
|
+
# Entity's details were most recently confirmed.
|
153
|
+
details_confirmed_at:,
|
154
|
+
# Details of the government authority entity. Will be present if `structure` is
|
155
|
+
# equal to `government_authority`.
|
156
|
+
government_authority:,
|
157
|
+
# The idempotency key you chose for this object. This value is unique across
|
158
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
159
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
160
|
+
idempotency_key:,
|
161
|
+
# Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
162
|
+
joint:,
|
163
|
+
# Details of the natural person entity. Will be present if `structure` is equal to
|
164
|
+
# `natural_person`.
|
165
|
+
natural_person:,
|
166
|
+
# The status of the entity.
|
167
|
+
status:,
|
168
|
+
# The entity's legal structure.
|
169
|
+
structure:,
|
170
|
+
# Additional documentation associated with the entity. This is limited to the
|
171
|
+
# first 10 documents for an entity. If an entity has more than 10 documents, use
|
172
|
+
# the GET /entity_supplemental_documents list endpoint to retrieve them.
|
173
|
+
supplemental_documents:,
|
174
|
+
# A reference to data stored in a third-party verification service. Your
|
175
|
+
# integration may or may not use this field.
|
176
|
+
third_party_verification:,
|
177
|
+
# Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
178
|
+
trust:,
|
179
|
+
# A constant representing the object's type. For this resource it will always be
|
180
|
+
# `entity`.
|
181
|
+
type:
|
182
|
+
)
|
183
|
+
end
|
184
|
+
|
185
|
+
sig do
|
186
|
+
override.returns(
|
187
|
+
{
|
188
|
+
id: String,
|
189
|
+
corporation: T.nilable(Increase::Entity::Corporation),
|
190
|
+
created_at: Time,
|
191
|
+
description: T.nilable(String),
|
192
|
+
details_confirmed_at: T.nilable(Time),
|
193
|
+
government_authority:
|
194
|
+
T.nilable(Increase::Entity::GovernmentAuthority),
|
195
|
+
idempotency_key: T.nilable(String),
|
196
|
+
joint: T.nilable(Increase::Entity::Joint),
|
197
|
+
natural_person: T.nilable(Increase::Entity::NaturalPerson),
|
198
|
+
status: Increase::Entity::Status::TaggedSymbol,
|
199
|
+
structure: Increase::Entity::Structure::TaggedSymbol,
|
200
|
+
supplemental_documents:
|
201
|
+
T::Array[Increase::EntitySupplementalDocument],
|
202
|
+
third_party_verification:
|
203
|
+
T.nilable(Increase::Entity::ThirdPartyVerification),
|
204
|
+
trust: T.nilable(Increase::Entity::Trust),
|
205
|
+
type: Increase::Entity::Type::TaggedSymbol
|
206
|
+
}
|
207
|
+
)
|
208
|
+
end
|
209
|
+
def to_hash
|
210
|
+
end
|
211
|
+
|
212
|
+
class Corporation < Increase::Internal::Type::BaseModel
|
213
|
+
OrHash =
|
214
|
+
T.type_alias do
|
215
|
+
T.any(Increase::Entity::Corporation, Increase::Internal::AnyHash)
|
216
|
+
end
|
217
|
+
|
218
|
+
# The corporation's address.
|
219
|
+
sig { returns(Increase::Entity::Corporation::Address) }
|
220
|
+
attr_reader :address
|
221
|
+
|
222
|
+
sig do
|
223
|
+
params(address: Increase::Entity::Corporation::Address::OrHash).void
|
224
|
+
end
|
225
|
+
attr_writer :address
|
226
|
+
|
227
|
+
# The identifying details of anyone controlling or owning 25% or more of the
|
228
|
+
# corporation.
|
229
|
+
sig do
|
230
|
+
returns(T::Array[Increase::Entity::Corporation::BeneficialOwner])
|
231
|
+
end
|
232
|
+
attr_accessor :beneficial_owners
|
233
|
+
|
234
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the
|
235
|
+
# corporation's state of incorporation.
|
236
|
+
sig { returns(T.nilable(String)) }
|
237
|
+
attr_accessor :incorporation_state
|
238
|
+
|
239
|
+
# The numeric North American Industry Classification System (NAICS) code submitted
|
240
|
+
# for the corporation.
|
241
|
+
sig { returns(T.nilable(String)) }
|
242
|
+
attr_accessor :industry_code
|
243
|
+
|
244
|
+
# The legal name of the corporation.
|
245
|
+
sig { returns(String) }
|
246
|
+
attr_accessor :name
|
247
|
+
|
248
|
+
# The Employer Identification Number (EIN) for the corporation.
|
249
|
+
sig { returns(T.nilable(String)) }
|
250
|
+
attr_accessor :tax_identifier
|
251
|
+
|
252
|
+
# The website of the corporation.
|
253
|
+
sig { returns(T.nilable(String)) }
|
254
|
+
attr_accessor :website
|
255
|
+
|
256
|
+
# Details of the corporation entity. Will be present if `structure` is equal to
|
257
|
+
# `corporation`.
|
258
|
+
sig do
|
259
|
+
params(
|
260
|
+
address: Increase::Entity::Corporation::Address::OrHash,
|
261
|
+
beneficial_owners:
|
262
|
+
T::Array[Increase::Entity::Corporation::BeneficialOwner::OrHash],
|
263
|
+
incorporation_state: T.nilable(String),
|
264
|
+
industry_code: T.nilable(String),
|
265
|
+
name: String,
|
266
|
+
tax_identifier: T.nilable(String),
|
267
|
+
website: T.nilable(String)
|
268
|
+
).returns(T.attached_class)
|
269
|
+
end
|
270
|
+
def self.new(
|
271
|
+
# The corporation's address.
|
272
|
+
address:,
|
273
|
+
# The identifying details of anyone controlling or owning 25% or more of the
|
274
|
+
# corporation.
|
275
|
+
beneficial_owners:,
|
276
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the
|
277
|
+
# corporation's state of incorporation.
|
278
|
+
incorporation_state:,
|
279
|
+
# The numeric North American Industry Classification System (NAICS) code submitted
|
280
|
+
# for the corporation.
|
281
|
+
industry_code:,
|
282
|
+
# The legal name of the corporation.
|
283
|
+
name:,
|
284
|
+
# The Employer Identification Number (EIN) for the corporation.
|
285
|
+
tax_identifier:,
|
286
|
+
# The website of the corporation.
|
287
|
+
website:
|
288
|
+
)
|
289
|
+
end
|
290
|
+
|
291
|
+
sig do
|
292
|
+
override.returns(
|
293
|
+
{
|
294
|
+
address: Increase::Entity::Corporation::Address,
|
295
|
+
beneficial_owners:
|
296
|
+
T::Array[Increase::Entity::Corporation::BeneficialOwner],
|
297
|
+
incorporation_state: T.nilable(String),
|
298
|
+
industry_code: T.nilable(String),
|
299
|
+
name: String,
|
300
|
+
tax_identifier: T.nilable(String),
|
301
|
+
website: T.nilable(String)
|
302
|
+
}
|
303
|
+
)
|
304
|
+
end
|
305
|
+
def to_hash
|
306
|
+
end
|
307
|
+
|
308
|
+
class Address < Increase::Internal::Type::BaseModel
|
309
|
+
OrHash =
|
310
|
+
T.type_alias do
|
311
|
+
T.any(
|
312
|
+
Increase::Entity::Corporation::Address,
|
313
|
+
Increase::Internal::AnyHash
|
314
|
+
)
|
315
|
+
end
|
316
|
+
|
317
|
+
# The city of the address.
|
318
|
+
sig { returns(String) }
|
319
|
+
attr_accessor :city
|
320
|
+
|
321
|
+
# The first line of the address.
|
322
|
+
sig { returns(String) }
|
323
|
+
attr_accessor :line1
|
324
|
+
|
325
|
+
# The second line of the address.
|
326
|
+
sig { returns(T.nilable(String)) }
|
327
|
+
attr_accessor :line2
|
328
|
+
|
329
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
330
|
+
# the address.
|
331
|
+
sig { returns(String) }
|
332
|
+
attr_accessor :state
|
333
|
+
|
334
|
+
# The ZIP code of the address.
|
335
|
+
sig { returns(String) }
|
336
|
+
attr_accessor :zip
|
337
|
+
|
338
|
+
# The corporation's address.
|
339
|
+
sig do
|
340
|
+
params(
|
341
|
+
city: String,
|
342
|
+
line1: String,
|
343
|
+
line2: T.nilable(String),
|
344
|
+
state: String,
|
345
|
+
zip: String
|
346
|
+
).returns(T.attached_class)
|
347
|
+
end
|
348
|
+
def self.new(
|
349
|
+
# The city of the address.
|
350
|
+
city:,
|
351
|
+
# The first line of the address.
|
352
|
+
line1:,
|
353
|
+
# The second line of the address.
|
354
|
+
line2:,
|
355
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
356
|
+
# the address.
|
357
|
+
state:,
|
358
|
+
# The ZIP code of the address.
|
359
|
+
zip:
|
360
|
+
)
|
361
|
+
end
|
362
|
+
|
363
|
+
sig do
|
364
|
+
override.returns(
|
365
|
+
{
|
366
|
+
city: String,
|
367
|
+
line1: String,
|
368
|
+
line2: T.nilable(String),
|
369
|
+
state: String,
|
370
|
+
zip: String
|
371
|
+
}
|
372
|
+
)
|
373
|
+
end
|
374
|
+
def to_hash
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class BeneficialOwner < Increase::Internal::Type::BaseModel
|
379
|
+
OrHash =
|
380
|
+
T.type_alias do
|
381
|
+
T.any(
|
382
|
+
Increase::Entity::Corporation::BeneficialOwner,
|
383
|
+
Increase::Internal::AnyHash
|
384
|
+
)
|
385
|
+
end
|
386
|
+
|
387
|
+
# The identifier of this beneficial owner.
|
388
|
+
sig { returns(String) }
|
389
|
+
attr_accessor :beneficial_owner_id
|
390
|
+
|
391
|
+
# This person's role or title within the entity.
|
392
|
+
sig { returns(T.nilable(String)) }
|
393
|
+
attr_accessor :company_title
|
394
|
+
|
395
|
+
# Personal details for the beneficial owner.
|
396
|
+
sig do
|
397
|
+
returns(Increase::Entity::Corporation::BeneficialOwner::Individual)
|
398
|
+
end
|
399
|
+
attr_reader :individual
|
400
|
+
|
401
|
+
sig do
|
402
|
+
params(
|
403
|
+
individual:
|
404
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::OrHash
|
405
|
+
).void
|
406
|
+
end
|
407
|
+
attr_writer :individual
|
408
|
+
|
409
|
+
# Why this person is considered a beneficial owner of the entity.
|
410
|
+
sig do
|
411
|
+
returns(
|
412
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::TaggedSymbol
|
413
|
+
)
|
414
|
+
end
|
415
|
+
attr_accessor :prong
|
416
|
+
|
417
|
+
sig do
|
418
|
+
params(
|
419
|
+
beneficial_owner_id: String,
|
420
|
+
company_title: T.nilable(String),
|
421
|
+
individual:
|
422
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::OrHash,
|
423
|
+
prong:
|
424
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::OrSymbol
|
425
|
+
).returns(T.attached_class)
|
426
|
+
end
|
427
|
+
def self.new(
|
428
|
+
# The identifier of this beneficial owner.
|
429
|
+
beneficial_owner_id:,
|
430
|
+
# This person's role or title within the entity.
|
431
|
+
company_title:,
|
432
|
+
# Personal details for the beneficial owner.
|
433
|
+
individual:,
|
434
|
+
# Why this person is considered a beneficial owner of the entity.
|
435
|
+
prong:
|
436
|
+
)
|
437
|
+
end
|
438
|
+
|
439
|
+
sig do
|
440
|
+
override.returns(
|
441
|
+
{
|
442
|
+
beneficial_owner_id: String,
|
443
|
+
company_title: T.nilable(String),
|
444
|
+
individual:
|
445
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual,
|
446
|
+
prong:
|
447
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::TaggedSymbol
|
448
|
+
}
|
449
|
+
)
|
450
|
+
end
|
451
|
+
def to_hash
|
452
|
+
end
|
453
|
+
|
454
|
+
class Individual < Increase::Internal::Type::BaseModel
|
455
|
+
OrHash =
|
456
|
+
T.type_alias do
|
457
|
+
T.any(
|
458
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual,
|
459
|
+
Increase::Internal::AnyHash
|
460
|
+
)
|
461
|
+
end
|
462
|
+
|
463
|
+
# The person's address.
|
464
|
+
sig do
|
465
|
+
returns(
|
466
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Address
|
467
|
+
)
|
468
|
+
end
|
469
|
+
attr_reader :address
|
470
|
+
|
471
|
+
sig do
|
472
|
+
params(
|
473
|
+
address:
|
474
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Address::OrHash
|
475
|
+
).void
|
476
|
+
end
|
477
|
+
attr_writer :address
|
478
|
+
|
479
|
+
# The person's date of birth in YYYY-MM-DD format.
|
480
|
+
sig { returns(Date) }
|
481
|
+
attr_accessor :date_of_birth
|
482
|
+
|
483
|
+
# A means of verifying the person's identity.
|
484
|
+
sig do
|
485
|
+
returns(
|
486
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification
|
487
|
+
)
|
488
|
+
end
|
489
|
+
attr_reader :identification
|
490
|
+
|
491
|
+
sig do
|
492
|
+
params(
|
493
|
+
identification:
|
494
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::OrHash
|
495
|
+
).void
|
496
|
+
end
|
497
|
+
attr_writer :identification
|
498
|
+
|
499
|
+
# The person's legal name.
|
500
|
+
sig { returns(String) }
|
501
|
+
attr_accessor :name
|
502
|
+
|
503
|
+
# Personal details for the beneficial owner.
|
504
|
+
sig do
|
505
|
+
params(
|
506
|
+
address:
|
507
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Address::OrHash,
|
508
|
+
date_of_birth: Date,
|
509
|
+
identification:
|
510
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::OrHash,
|
511
|
+
name: String
|
512
|
+
).returns(T.attached_class)
|
513
|
+
end
|
514
|
+
def self.new(
|
515
|
+
# The person's address.
|
516
|
+
address:,
|
517
|
+
# The person's date of birth in YYYY-MM-DD format.
|
518
|
+
date_of_birth:,
|
519
|
+
# A means of verifying the person's identity.
|
520
|
+
identification:,
|
521
|
+
# The person's legal name.
|
522
|
+
name:
|
523
|
+
)
|
524
|
+
end
|
525
|
+
|
526
|
+
sig do
|
527
|
+
override.returns(
|
528
|
+
{
|
529
|
+
address:
|
530
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
531
|
+
date_of_birth: Date,
|
532
|
+
identification:
|
533
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
534
|
+
name: String
|
535
|
+
}
|
536
|
+
)
|
537
|
+
end
|
538
|
+
def to_hash
|
539
|
+
end
|
540
|
+
|
541
|
+
class Address < Increase::Internal::Type::BaseModel
|
542
|
+
OrHash =
|
543
|
+
T.type_alias do
|
544
|
+
T.any(
|
545
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Address,
|
546
|
+
Increase::Internal::AnyHash
|
547
|
+
)
|
548
|
+
end
|
549
|
+
|
550
|
+
# The city, district, town, or village of the address.
|
551
|
+
sig { returns(T.nilable(String)) }
|
552
|
+
attr_accessor :city
|
553
|
+
|
554
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
555
|
+
sig { returns(String) }
|
556
|
+
attr_accessor :country
|
557
|
+
|
558
|
+
# The first line of the address.
|
559
|
+
sig { returns(String) }
|
560
|
+
attr_accessor :line1
|
561
|
+
|
562
|
+
# The second line of the address.
|
563
|
+
sig { returns(T.nilable(String)) }
|
564
|
+
attr_accessor :line2
|
565
|
+
|
566
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
567
|
+
# state, province, or region of the address.
|
568
|
+
sig { returns(T.nilable(String)) }
|
569
|
+
attr_accessor :state
|
570
|
+
|
571
|
+
# The ZIP or postal code of the address.
|
572
|
+
sig { returns(T.nilable(String)) }
|
573
|
+
attr_accessor :zip
|
574
|
+
|
575
|
+
# The person's address.
|
576
|
+
sig do
|
577
|
+
params(
|
578
|
+
city: T.nilable(String),
|
579
|
+
country: String,
|
580
|
+
line1: String,
|
581
|
+
line2: T.nilable(String),
|
582
|
+
state: T.nilable(String),
|
583
|
+
zip: T.nilable(String)
|
584
|
+
).returns(T.attached_class)
|
585
|
+
end
|
586
|
+
def self.new(
|
587
|
+
# The city, district, town, or village of the address.
|
588
|
+
city:,
|
589
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
590
|
+
country:,
|
591
|
+
# The first line of the address.
|
592
|
+
line1:,
|
593
|
+
# The second line of the address.
|
594
|
+
line2:,
|
595
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
596
|
+
# state, province, or region of the address.
|
597
|
+
state:,
|
598
|
+
# The ZIP or postal code of the address.
|
599
|
+
zip:
|
600
|
+
)
|
601
|
+
end
|
602
|
+
|
603
|
+
sig do
|
604
|
+
override.returns(
|
605
|
+
{
|
606
|
+
city: T.nilable(String),
|
607
|
+
country: String,
|
608
|
+
line1: String,
|
609
|
+
line2: T.nilable(String),
|
610
|
+
state: T.nilable(String),
|
611
|
+
zip: T.nilable(String)
|
612
|
+
}
|
613
|
+
)
|
614
|
+
end
|
615
|
+
def to_hash
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class Identification < Increase::Internal::Type::BaseModel
|
620
|
+
OrHash =
|
621
|
+
T.type_alias do
|
622
|
+
T.any(
|
623
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification,
|
624
|
+
Increase::Internal::AnyHash
|
625
|
+
)
|
626
|
+
end
|
627
|
+
|
628
|
+
# A method that can be used to verify the individual's identity.
|
629
|
+
sig do
|
630
|
+
returns(
|
631
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
632
|
+
)
|
633
|
+
end
|
634
|
+
attr_accessor :method_
|
635
|
+
|
636
|
+
# The last 4 digits of the identification number that can be used to verify the
|
637
|
+
# individual's identity.
|
638
|
+
sig { returns(String) }
|
639
|
+
attr_accessor :number_last4
|
640
|
+
|
641
|
+
# A means of verifying the person's identity.
|
642
|
+
sig do
|
643
|
+
params(
|
644
|
+
method_:
|
645
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::OrSymbol,
|
646
|
+
number_last4: String
|
647
|
+
).returns(T.attached_class)
|
648
|
+
end
|
649
|
+
def self.new(
|
650
|
+
# A method that can be used to verify the individual's identity.
|
651
|
+
method_:,
|
652
|
+
# The last 4 digits of the identification number that can be used to verify the
|
653
|
+
# individual's identity.
|
654
|
+
number_last4:
|
655
|
+
)
|
656
|
+
end
|
657
|
+
|
658
|
+
sig do
|
659
|
+
override.returns(
|
660
|
+
{
|
661
|
+
method_:
|
662
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol,
|
663
|
+
number_last4: String
|
664
|
+
}
|
665
|
+
)
|
666
|
+
end
|
667
|
+
def to_hash
|
668
|
+
end
|
669
|
+
|
670
|
+
# A method that can be used to verify the individual's identity.
|
671
|
+
module Method
|
672
|
+
extend Increase::Internal::Type::Enum
|
673
|
+
|
674
|
+
TaggedSymbol =
|
675
|
+
T.type_alias do
|
676
|
+
T.all(
|
677
|
+
Symbol,
|
678
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method
|
679
|
+
)
|
680
|
+
end
|
681
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
682
|
+
|
683
|
+
# A social security number.
|
684
|
+
SOCIAL_SECURITY_NUMBER =
|
685
|
+
T.let(
|
686
|
+
:social_security_number,
|
687
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
688
|
+
)
|
689
|
+
|
690
|
+
# An individual taxpayer identification number (ITIN).
|
691
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
692
|
+
T.let(
|
693
|
+
:individual_taxpayer_identification_number,
|
694
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
695
|
+
)
|
696
|
+
|
697
|
+
# A passport number.
|
698
|
+
PASSPORT =
|
699
|
+
T.let(
|
700
|
+
:passport,
|
701
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
702
|
+
)
|
703
|
+
|
704
|
+
# A driver's license number.
|
705
|
+
DRIVERS_LICENSE =
|
706
|
+
T.let(
|
707
|
+
:drivers_license,
|
708
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
709
|
+
)
|
710
|
+
|
711
|
+
# Another identifying document.
|
712
|
+
OTHER =
|
713
|
+
T.let(
|
714
|
+
:other,
|
715
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
716
|
+
)
|
717
|
+
|
718
|
+
sig do
|
719
|
+
override.returns(
|
720
|
+
T::Array[
|
721
|
+
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method::TaggedSymbol
|
722
|
+
]
|
723
|
+
)
|
724
|
+
end
|
725
|
+
def self.values
|
726
|
+
end
|
727
|
+
end
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
# Why this person is considered a beneficial owner of the entity.
|
732
|
+
module Prong
|
733
|
+
extend Increase::Internal::Type::Enum
|
734
|
+
|
735
|
+
TaggedSymbol =
|
736
|
+
T.type_alias do
|
737
|
+
T.all(
|
738
|
+
Symbol,
|
739
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong
|
740
|
+
)
|
741
|
+
end
|
742
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
743
|
+
|
744
|
+
# A person with 25% or greater direct or indirect ownership of the entity.
|
745
|
+
OWNERSHIP =
|
746
|
+
T.let(
|
747
|
+
:ownership,
|
748
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::TaggedSymbol
|
749
|
+
)
|
750
|
+
|
751
|
+
# A person who manages, directs, or has significant control of the entity.
|
752
|
+
CONTROL =
|
753
|
+
T.let(
|
754
|
+
:control,
|
755
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::TaggedSymbol
|
756
|
+
)
|
757
|
+
|
758
|
+
sig do
|
759
|
+
override.returns(
|
760
|
+
T::Array[
|
761
|
+
Increase::Entity::Corporation::BeneficialOwner::Prong::TaggedSymbol
|
762
|
+
]
|
763
|
+
)
|
764
|
+
end
|
765
|
+
def self.values
|
766
|
+
end
|
767
|
+
end
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
771
|
+
class GovernmentAuthority < Increase::Internal::Type::BaseModel
|
772
|
+
OrHash =
|
773
|
+
T.type_alias do
|
774
|
+
T.any(
|
775
|
+
Increase::Entity::GovernmentAuthority,
|
776
|
+
Increase::Internal::AnyHash
|
777
|
+
)
|
778
|
+
end
|
779
|
+
|
780
|
+
# The government authority's address.
|
781
|
+
sig { returns(Increase::Entity::GovernmentAuthority::Address) }
|
782
|
+
attr_reader :address
|
783
|
+
|
784
|
+
sig do
|
785
|
+
params(
|
786
|
+
address: Increase::Entity::GovernmentAuthority::Address::OrHash
|
787
|
+
).void
|
788
|
+
end
|
789
|
+
attr_writer :address
|
790
|
+
|
791
|
+
# The identifying details of authorized persons of the government authority.
|
792
|
+
sig do
|
793
|
+
returns(
|
794
|
+
T::Array[Increase::Entity::GovernmentAuthority::AuthorizedPerson]
|
795
|
+
)
|
796
|
+
end
|
797
|
+
attr_accessor :authorized_persons
|
798
|
+
|
799
|
+
# The category of the government authority.
|
800
|
+
sig do
|
801
|
+
returns(Increase::Entity::GovernmentAuthority::Category::TaggedSymbol)
|
802
|
+
end
|
803
|
+
attr_accessor :category
|
804
|
+
|
805
|
+
# The government authority's name.
|
806
|
+
sig { returns(String) }
|
807
|
+
attr_accessor :name
|
808
|
+
|
809
|
+
# The Employer Identification Number (EIN) of the government authority.
|
810
|
+
sig { returns(T.nilable(String)) }
|
811
|
+
attr_accessor :tax_identifier
|
812
|
+
|
813
|
+
# The government authority's website.
|
814
|
+
sig { returns(T.nilable(String)) }
|
815
|
+
attr_accessor :website
|
816
|
+
|
817
|
+
# Details of the government authority entity. Will be present if `structure` is
|
818
|
+
# equal to `government_authority`.
|
819
|
+
sig do
|
820
|
+
params(
|
821
|
+
address: Increase::Entity::GovernmentAuthority::Address::OrHash,
|
822
|
+
authorized_persons:
|
823
|
+
T::Array[
|
824
|
+
Increase::Entity::GovernmentAuthority::AuthorizedPerson::OrHash
|
825
|
+
],
|
826
|
+
category: Increase::Entity::GovernmentAuthority::Category::OrSymbol,
|
827
|
+
name: String,
|
828
|
+
tax_identifier: T.nilable(String),
|
829
|
+
website: T.nilable(String)
|
830
|
+
).returns(T.attached_class)
|
831
|
+
end
|
832
|
+
def self.new(
|
833
|
+
# The government authority's address.
|
834
|
+
address:,
|
835
|
+
# The identifying details of authorized persons of the government authority.
|
836
|
+
authorized_persons:,
|
837
|
+
# The category of the government authority.
|
838
|
+
category:,
|
839
|
+
# The government authority's name.
|
840
|
+
name:,
|
841
|
+
# The Employer Identification Number (EIN) of the government authority.
|
842
|
+
tax_identifier:,
|
843
|
+
# The government authority's website.
|
844
|
+
website:
|
845
|
+
)
|
846
|
+
end
|
847
|
+
|
848
|
+
sig do
|
849
|
+
override.returns(
|
850
|
+
{
|
851
|
+
address: Increase::Entity::GovernmentAuthority::Address,
|
852
|
+
authorized_persons:
|
853
|
+
T::Array[
|
854
|
+
Increase::Entity::GovernmentAuthority::AuthorizedPerson
|
855
|
+
],
|
856
|
+
category:
|
857
|
+
Increase::Entity::GovernmentAuthority::Category::TaggedSymbol,
|
858
|
+
name: String,
|
859
|
+
tax_identifier: T.nilable(String),
|
860
|
+
website: T.nilable(String)
|
861
|
+
}
|
862
|
+
)
|
863
|
+
end
|
864
|
+
def to_hash
|
865
|
+
end
|
866
|
+
|
867
|
+
class Address < Increase::Internal::Type::BaseModel
|
868
|
+
OrHash =
|
869
|
+
T.type_alias do
|
870
|
+
T.any(
|
871
|
+
Increase::Entity::GovernmentAuthority::Address,
|
872
|
+
Increase::Internal::AnyHash
|
873
|
+
)
|
874
|
+
end
|
875
|
+
|
876
|
+
# The city of the address.
|
877
|
+
sig { returns(String) }
|
878
|
+
attr_accessor :city
|
879
|
+
|
880
|
+
# The first line of the address.
|
881
|
+
sig { returns(String) }
|
882
|
+
attr_accessor :line1
|
883
|
+
|
884
|
+
# The second line of the address.
|
885
|
+
sig { returns(T.nilable(String)) }
|
886
|
+
attr_accessor :line2
|
887
|
+
|
888
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
889
|
+
# the address.
|
890
|
+
sig { returns(String) }
|
891
|
+
attr_accessor :state
|
892
|
+
|
893
|
+
# The ZIP code of the address.
|
894
|
+
sig { returns(String) }
|
895
|
+
attr_accessor :zip
|
896
|
+
|
897
|
+
# The government authority's address.
|
898
|
+
sig do
|
899
|
+
params(
|
900
|
+
city: String,
|
901
|
+
line1: String,
|
902
|
+
line2: T.nilable(String),
|
903
|
+
state: String,
|
904
|
+
zip: String
|
905
|
+
).returns(T.attached_class)
|
906
|
+
end
|
907
|
+
def self.new(
|
908
|
+
# The city of the address.
|
909
|
+
city:,
|
910
|
+
# The first line of the address.
|
911
|
+
line1:,
|
912
|
+
# The second line of the address.
|
913
|
+
line2:,
|
914
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
915
|
+
# the address.
|
916
|
+
state:,
|
917
|
+
# The ZIP code of the address.
|
918
|
+
zip:
|
919
|
+
)
|
920
|
+
end
|
921
|
+
|
922
|
+
sig do
|
923
|
+
override.returns(
|
924
|
+
{
|
925
|
+
city: String,
|
926
|
+
line1: String,
|
927
|
+
line2: T.nilable(String),
|
928
|
+
state: String,
|
929
|
+
zip: String
|
930
|
+
}
|
931
|
+
)
|
932
|
+
end
|
933
|
+
def to_hash
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
937
|
+
class AuthorizedPerson < Increase::Internal::Type::BaseModel
|
938
|
+
OrHash =
|
939
|
+
T.type_alias do
|
940
|
+
T.any(
|
941
|
+
Increase::Entity::GovernmentAuthority::AuthorizedPerson,
|
942
|
+
Increase::Internal::AnyHash
|
943
|
+
)
|
944
|
+
end
|
945
|
+
|
946
|
+
# The identifier of this authorized person.
|
947
|
+
sig { returns(String) }
|
948
|
+
attr_accessor :authorized_person_id
|
949
|
+
|
950
|
+
# The person's legal name.
|
951
|
+
sig { returns(String) }
|
952
|
+
attr_accessor :name
|
953
|
+
|
954
|
+
sig do
|
955
|
+
params(authorized_person_id: String, name: String).returns(
|
956
|
+
T.attached_class
|
957
|
+
)
|
958
|
+
end
|
959
|
+
def self.new(
|
960
|
+
# The identifier of this authorized person.
|
961
|
+
authorized_person_id:,
|
962
|
+
# The person's legal name.
|
963
|
+
name:
|
964
|
+
)
|
965
|
+
end
|
966
|
+
|
967
|
+
sig do
|
968
|
+
override.returns({ authorized_person_id: String, name: String })
|
969
|
+
end
|
970
|
+
def to_hash
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
# The category of the government authority.
|
975
|
+
module Category
|
976
|
+
extend Increase::Internal::Type::Enum
|
977
|
+
|
978
|
+
TaggedSymbol =
|
979
|
+
T.type_alias do
|
980
|
+
T.all(Symbol, Increase::Entity::GovernmentAuthority::Category)
|
981
|
+
end
|
982
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
983
|
+
|
984
|
+
# The Public Entity is a Municipality.
|
985
|
+
MUNICIPALITY =
|
986
|
+
T.let(
|
987
|
+
:municipality,
|
988
|
+
Increase::Entity::GovernmentAuthority::Category::TaggedSymbol
|
989
|
+
)
|
990
|
+
|
991
|
+
sig do
|
992
|
+
override.returns(
|
993
|
+
T::Array[
|
994
|
+
Increase::Entity::GovernmentAuthority::Category::TaggedSymbol
|
995
|
+
]
|
996
|
+
)
|
997
|
+
end
|
998
|
+
def self.values
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
class Joint < Increase::Internal::Type::BaseModel
|
1004
|
+
OrHash =
|
1005
|
+
T.type_alias do
|
1006
|
+
T.any(Increase::Entity::Joint, Increase::Internal::AnyHash)
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# The two individuals that share control of the entity.
|
1010
|
+
sig { returns(T::Array[Increase::Entity::Joint::Individual]) }
|
1011
|
+
attr_accessor :individuals
|
1012
|
+
|
1013
|
+
# The entity's name.
|
1014
|
+
sig { returns(String) }
|
1015
|
+
attr_accessor :name
|
1016
|
+
|
1017
|
+
# Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
1018
|
+
sig do
|
1019
|
+
params(
|
1020
|
+
individuals: T::Array[Increase::Entity::Joint::Individual::OrHash],
|
1021
|
+
name: String
|
1022
|
+
).returns(T.attached_class)
|
1023
|
+
end
|
1024
|
+
def self.new(
|
1025
|
+
# The two individuals that share control of the entity.
|
1026
|
+
individuals:,
|
1027
|
+
# The entity's name.
|
1028
|
+
name:
|
1029
|
+
)
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
sig do
|
1033
|
+
override.returns(
|
1034
|
+
{
|
1035
|
+
individuals: T::Array[Increase::Entity::Joint::Individual],
|
1036
|
+
name: String
|
1037
|
+
}
|
1038
|
+
)
|
1039
|
+
end
|
1040
|
+
def to_hash
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
class Individual < Increase::Internal::Type::BaseModel
|
1044
|
+
OrHash =
|
1045
|
+
T.type_alias do
|
1046
|
+
T.any(
|
1047
|
+
Increase::Entity::Joint::Individual,
|
1048
|
+
Increase::Internal::AnyHash
|
1049
|
+
)
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# The person's address.
|
1053
|
+
sig { returns(Increase::Entity::Joint::Individual::Address) }
|
1054
|
+
attr_reader :address
|
1055
|
+
|
1056
|
+
sig do
|
1057
|
+
params(
|
1058
|
+
address: Increase::Entity::Joint::Individual::Address::OrHash
|
1059
|
+
).void
|
1060
|
+
end
|
1061
|
+
attr_writer :address
|
1062
|
+
|
1063
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1064
|
+
sig { returns(Date) }
|
1065
|
+
attr_accessor :date_of_birth
|
1066
|
+
|
1067
|
+
# A means of verifying the person's identity.
|
1068
|
+
sig { returns(Increase::Entity::Joint::Individual::Identification) }
|
1069
|
+
attr_reader :identification
|
1070
|
+
|
1071
|
+
sig do
|
1072
|
+
params(
|
1073
|
+
identification:
|
1074
|
+
Increase::Entity::Joint::Individual::Identification::OrHash
|
1075
|
+
).void
|
1076
|
+
end
|
1077
|
+
attr_writer :identification
|
1078
|
+
|
1079
|
+
# The person's legal name.
|
1080
|
+
sig { returns(String) }
|
1081
|
+
attr_accessor :name
|
1082
|
+
|
1083
|
+
sig do
|
1084
|
+
params(
|
1085
|
+
address: Increase::Entity::Joint::Individual::Address::OrHash,
|
1086
|
+
date_of_birth: Date,
|
1087
|
+
identification:
|
1088
|
+
Increase::Entity::Joint::Individual::Identification::OrHash,
|
1089
|
+
name: String
|
1090
|
+
).returns(T.attached_class)
|
1091
|
+
end
|
1092
|
+
def self.new(
|
1093
|
+
# The person's address.
|
1094
|
+
address:,
|
1095
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1096
|
+
date_of_birth:,
|
1097
|
+
# A means of verifying the person's identity.
|
1098
|
+
identification:,
|
1099
|
+
# The person's legal name.
|
1100
|
+
name:
|
1101
|
+
)
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
sig do
|
1105
|
+
override.returns(
|
1106
|
+
{
|
1107
|
+
address: Increase::Entity::Joint::Individual::Address,
|
1108
|
+
date_of_birth: Date,
|
1109
|
+
identification:
|
1110
|
+
Increase::Entity::Joint::Individual::Identification,
|
1111
|
+
name: String
|
1112
|
+
}
|
1113
|
+
)
|
1114
|
+
end
|
1115
|
+
def to_hash
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
class Address < Increase::Internal::Type::BaseModel
|
1119
|
+
OrHash =
|
1120
|
+
T.type_alias do
|
1121
|
+
T.any(
|
1122
|
+
Increase::Entity::Joint::Individual::Address,
|
1123
|
+
Increase::Internal::AnyHash
|
1124
|
+
)
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# The city of the address.
|
1128
|
+
sig { returns(String) }
|
1129
|
+
attr_accessor :city
|
1130
|
+
|
1131
|
+
# The first line of the address.
|
1132
|
+
sig { returns(String) }
|
1133
|
+
attr_accessor :line1
|
1134
|
+
|
1135
|
+
# The second line of the address.
|
1136
|
+
sig { returns(T.nilable(String)) }
|
1137
|
+
attr_accessor :line2
|
1138
|
+
|
1139
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1140
|
+
# the address.
|
1141
|
+
sig { returns(String) }
|
1142
|
+
attr_accessor :state
|
1143
|
+
|
1144
|
+
# The ZIP code of the address.
|
1145
|
+
sig { returns(String) }
|
1146
|
+
attr_accessor :zip
|
1147
|
+
|
1148
|
+
# The person's address.
|
1149
|
+
sig do
|
1150
|
+
params(
|
1151
|
+
city: String,
|
1152
|
+
line1: String,
|
1153
|
+
line2: T.nilable(String),
|
1154
|
+
state: String,
|
1155
|
+
zip: String
|
1156
|
+
).returns(T.attached_class)
|
1157
|
+
end
|
1158
|
+
def self.new(
|
1159
|
+
# The city of the address.
|
1160
|
+
city:,
|
1161
|
+
# The first line of the address.
|
1162
|
+
line1:,
|
1163
|
+
# The second line of the address.
|
1164
|
+
line2:,
|
1165
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1166
|
+
# the address.
|
1167
|
+
state:,
|
1168
|
+
# The ZIP code of the address.
|
1169
|
+
zip:
|
1170
|
+
)
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
sig do
|
1174
|
+
override.returns(
|
1175
|
+
{
|
1176
|
+
city: String,
|
1177
|
+
line1: String,
|
1178
|
+
line2: T.nilable(String),
|
1179
|
+
state: String,
|
1180
|
+
zip: String
|
1181
|
+
}
|
1182
|
+
)
|
1183
|
+
end
|
1184
|
+
def to_hash
|
1185
|
+
end
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
class Identification < Increase::Internal::Type::BaseModel
|
1189
|
+
OrHash =
|
1190
|
+
T.type_alias do
|
1191
|
+
T.any(
|
1192
|
+
Increase::Entity::Joint::Individual::Identification,
|
1193
|
+
Increase::Internal::AnyHash
|
1194
|
+
)
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
# A method that can be used to verify the individual's identity.
|
1198
|
+
sig do
|
1199
|
+
returns(
|
1200
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1201
|
+
)
|
1202
|
+
end
|
1203
|
+
attr_accessor :method_
|
1204
|
+
|
1205
|
+
# The last 4 digits of the identification number that can be used to verify the
|
1206
|
+
# individual's identity.
|
1207
|
+
sig { returns(String) }
|
1208
|
+
attr_accessor :number_last4
|
1209
|
+
|
1210
|
+
# A means of verifying the person's identity.
|
1211
|
+
sig do
|
1212
|
+
params(
|
1213
|
+
method_:
|
1214
|
+
Increase::Entity::Joint::Individual::Identification::Method::OrSymbol,
|
1215
|
+
number_last4: String
|
1216
|
+
).returns(T.attached_class)
|
1217
|
+
end
|
1218
|
+
def self.new(
|
1219
|
+
# A method that can be used to verify the individual's identity.
|
1220
|
+
method_:,
|
1221
|
+
# The last 4 digits of the identification number that can be used to verify the
|
1222
|
+
# individual's identity.
|
1223
|
+
number_last4:
|
1224
|
+
)
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
sig do
|
1228
|
+
override.returns(
|
1229
|
+
{
|
1230
|
+
method_:
|
1231
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol,
|
1232
|
+
number_last4: String
|
1233
|
+
}
|
1234
|
+
)
|
1235
|
+
end
|
1236
|
+
def to_hash
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# A method that can be used to verify the individual's identity.
|
1240
|
+
module Method
|
1241
|
+
extend Increase::Internal::Type::Enum
|
1242
|
+
|
1243
|
+
TaggedSymbol =
|
1244
|
+
T.type_alias do
|
1245
|
+
T.all(
|
1246
|
+
Symbol,
|
1247
|
+
Increase::Entity::Joint::Individual::Identification::Method
|
1248
|
+
)
|
1249
|
+
end
|
1250
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1251
|
+
|
1252
|
+
# A social security number.
|
1253
|
+
SOCIAL_SECURITY_NUMBER =
|
1254
|
+
T.let(
|
1255
|
+
:social_security_number,
|
1256
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1257
|
+
)
|
1258
|
+
|
1259
|
+
# An individual taxpayer identification number (ITIN).
|
1260
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
1261
|
+
T.let(
|
1262
|
+
:individual_taxpayer_identification_number,
|
1263
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1264
|
+
)
|
1265
|
+
|
1266
|
+
# A passport number.
|
1267
|
+
PASSPORT =
|
1268
|
+
T.let(
|
1269
|
+
:passport,
|
1270
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1271
|
+
)
|
1272
|
+
|
1273
|
+
# A driver's license number.
|
1274
|
+
DRIVERS_LICENSE =
|
1275
|
+
T.let(
|
1276
|
+
:drivers_license,
|
1277
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1278
|
+
)
|
1279
|
+
|
1280
|
+
# Another identifying document.
|
1281
|
+
OTHER =
|
1282
|
+
T.let(
|
1283
|
+
:other,
|
1284
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1285
|
+
)
|
1286
|
+
|
1287
|
+
sig do
|
1288
|
+
override.returns(
|
1289
|
+
T::Array[
|
1290
|
+
Increase::Entity::Joint::Individual::Identification::Method::TaggedSymbol
|
1291
|
+
]
|
1292
|
+
)
|
1293
|
+
end
|
1294
|
+
def self.values
|
1295
|
+
end
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
class NaturalPerson < Increase::Internal::Type::BaseModel
|
1302
|
+
OrHash =
|
1303
|
+
T.type_alias do
|
1304
|
+
T.any(Increase::Entity::NaturalPerson, Increase::Internal::AnyHash)
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# The person's address.
|
1308
|
+
sig { returns(Increase::Entity::NaturalPerson::Address) }
|
1309
|
+
attr_reader :address
|
1310
|
+
|
1311
|
+
sig do
|
1312
|
+
params(address: Increase::Entity::NaturalPerson::Address::OrHash).void
|
1313
|
+
end
|
1314
|
+
attr_writer :address
|
1315
|
+
|
1316
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1317
|
+
sig { returns(Date) }
|
1318
|
+
attr_accessor :date_of_birth
|
1319
|
+
|
1320
|
+
# A means of verifying the person's identity.
|
1321
|
+
sig { returns(Increase::Entity::NaturalPerson::Identification) }
|
1322
|
+
attr_reader :identification
|
1323
|
+
|
1324
|
+
sig do
|
1325
|
+
params(
|
1326
|
+
identification:
|
1327
|
+
Increase::Entity::NaturalPerson::Identification::OrHash
|
1328
|
+
).void
|
1329
|
+
end
|
1330
|
+
attr_writer :identification
|
1331
|
+
|
1332
|
+
# The person's legal name.
|
1333
|
+
sig { returns(String) }
|
1334
|
+
attr_accessor :name
|
1335
|
+
|
1336
|
+
# Details of the natural person entity. Will be present if `structure` is equal to
|
1337
|
+
# `natural_person`.
|
1338
|
+
sig do
|
1339
|
+
params(
|
1340
|
+
address: Increase::Entity::NaturalPerson::Address::OrHash,
|
1341
|
+
date_of_birth: Date,
|
1342
|
+
identification:
|
1343
|
+
Increase::Entity::NaturalPerson::Identification::OrHash,
|
1344
|
+
name: String
|
1345
|
+
).returns(T.attached_class)
|
1346
|
+
end
|
1347
|
+
def self.new(
|
1348
|
+
# The person's address.
|
1349
|
+
address:,
|
1350
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1351
|
+
date_of_birth:,
|
1352
|
+
# A means of verifying the person's identity.
|
1353
|
+
identification:,
|
1354
|
+
# The person's legal name.
|
1355
|
+
name:
|
1356
|
+
)
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
sig do
|
1360
|
+
override.returns(
|
1361
|
+
{
|
1362
|
+
address: Increase::Entity::NaturalPerson::Address,
|
1363
|
+
date_of_birth: Date,
|
1364
|
+
identification: Increase::Entity::NaturalPerson::Identification,
|
1365
|
+
name: String
|
1366
|
+
}
|
1367
|
+
)
|
1368
|
+
end
|
1369
|
+
def to_hash
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
class Address < Increase::Internal::Type::BaseModel
|
1373
|
+
OrHash =
|
1374
|
+
T.type_alias do
|
1375
|
+
T.any(
|
1376
|
+
Increase::Entity::NaturalPerson::Address,
|
1377
|
+
Increase::Internal::AnyHash
|
1378
|
+
)
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# The city of the address.
|
1382
|
+
sig { returns(String) }
|
1383
|
+
attr_accessor :city
|
1384
|
+
|
1385
|
+
# The first line of the address.
|
1386
|
+
sig { returns(String) }
|
1387
|
+
attr_accessor :line1
|
1388
|
+
|
1389
|
+
# The second line of the address.
|
1390
|
+
sig { returns(T.nilable(String)) }
|
1391
|
+
attr_accessor :line2
|
1392
|
+
|
1393
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1394
|
+
# the address.
|
1395
|
+
sig { returns(String) }
|
1396
|
+
attr_accessor :state
|
1397
|
+
|
1398
|
+
# The ZIP code of the address.
|
1399
|
+
sig { returns(String) }
|
1400
|
+
attr_accessor :zip
|
1401
|
+
|
1402
|
+
# The person's address.
|
1403
|
+
sig do
|
1404
|
+
params(
|
1405
|
+
city: String,
|
1406
|
+
line1: String,
|
1407
|
+
line2: T.nilable(String),
|
1408
|
+
state: String,
|
1409
|
+
zip: String
|
1410
|
+
).returns(T.attached_class)
|
1411
|
+
end
|
1412
|
+
def self.new(
|
1413
|
+
# The city of the address.
|
1414
|
+
city:,
|
1415
|
+
# The first line of the address.
|
1416
|
+
line1:,
|
1417
|
+
# The second line of the address.
|
1418
|
+
line2:,
|
1419
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1420
|
+
# the address.
|
1421
|
+
state:,
|
1422
|
+
# The ZIP code of the address.
|
1423
|
+
zip:
|
1424
|
+
)
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
sig do
|
1428
|
+
override.returns(
|
1429
|
+
{
|
1430
|
+
city: String,
|
1431
|
+
line1: String,
|
1432
|
+
line2: T.nilable(String),
|
1433
|
+
state: String,
|
1434
|
+
zip: String
|
1435
|
+
}
|
1436
|
+
)
|
1437
|
+
end
|
1438
|
+
def to_hash
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
class Identification < Increase::Internal::Type::BaseModel
|
1443
|
+
OrHash =
|
1444
|
+
T.type_alias do
|
1445
|
+
T.any(
|
1446
|
+
Increase::Entity::NaturalPerson::Identification,
|
1447
|
+
Increase::Internal::AnyHash
|
1448
|
+
)
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# A method that can be used to verify the individual's identity.
|
1452
|
+
sig do
|
1453
|
+
returns(
|
1454
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1455
|
+
)
|
1456
|
+
end
|
1457
|
+
attr_accessor :method_
|
1458
|
+
|
1459
|
+
# The last 4 digits of the identification number that can be used to verify the
|
1460
|
+
# individual's identity.
|
1461
|
+
sig { returns(String) }
|
1462
|
+
attr_accessor :number_last4
|
1463
|
+
|
1464
|
+
# A means of verifying the person's identity.
|
1465
|
+
sig do
|
1466
|
+
params(
|
1467
|
+
method_:
|
1468
|
+
Increase::Entity::NaturalPerson::Identification::Method::OrSymbol,
|
1469
|
+
number_last4: String
|
1470
|
+
).returns(T.attached_class)
|
1471
|
+
end
|
1472
|
+
def self.new(
|
1473
|
+
# A method that can be used to verify the individual's identity.
|
1474
|
+
method_:,
|
1475
|
+
# The last 4 digits of the identification number that can be used to verify the
|
1476
|
+
# individual's identity.
|
1477
|
+
number_last4:
|
1478
|
+
)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
sig do
|
1482
|
+
override.returns(
|
1483
|
+
{
|
1484
|
+
method_:
|
1485
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol,
|
1486
|
+
number_last4: String
|
1487
|
+
}
|
1488
|
+
)
|
1489
|
+
end
|
1490
|
+
def to_hash
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
# A method that can be used to verify the individual's identity.
|
1494
|
+
module Method
|
1495
|
+
extend Increase::Internal::Type::Enum
|
1496
|
+
|
1497
|
+
TaggedSymbol =
|
1498
|
+
T.type_alias do
|
1499
|
+
T.all(
|
1500
|
+
Symbol,
|
1501
|
+
Increase::Entity::NaturalPerson::Identification::Method
|
1502
|
+
)
|
1503
|
+
end
|
1504
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1505
|
+
|
1506
|
+
# A social security number.
|
1507
|
+
SOCIAL_SECURITY_NUMBER =
|
1508
|
+
T.let(
|
1509
|
+
:social_security_number,
|
1510
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1511
|
+
)
|
1512
|
+
|
1513
|
+
# An individual taxpayer identification number (ITIN).
|
1514
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
1515
|
+
T.let(
|
1516
|
+
:individual_taxpayer_identification_number,
|
1517
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1518
|
+
)
|
1519
|
+
|
1520
|
+
# A passport number.
|
1521
|
+
PASSPORT =
|
1522
|
+
T.let(
|
1523
|
+
:passport,
|
1524
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1525
|
+
)
|
1526
|
+
|
1527
|
+
# A driver's license number.
|
1528
|
+
DRIVERS_LICENSE =
|
1529
|
+
T.let(
|
1530
|
+
:drivers_license,
|
1531
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1532
|
+
)
|
1533
|
+
|
1534
|
+
# Another identifying document.
|
1535
|
+
OTHER =
|
1536
|
+
T.let(
|
1537
|
+
:other,
|
1538
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1539
|
+
)
|
1540
|
+
|
1541
|
+
sig do
|
1542
|
+
override.returns(
|
1543
|
+
T::Array[
|
1544
|
+
Increase::Entity::NaturalPerson::Identification::Method::TaggedSymbol
|
1545
|
+
]
|
1546
|
+
)
|
1547
|
+
end
|
1548
|
+
def self.values
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
end
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
# The status of the entity.
|
1555
|
+
module Status
|
1556
|
+
extend Increase::Internal::Type::Enum
|
1557
|
+
|
1558
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Increase::Entity::Status) }
|
1559
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1560
|
+
|
1561
|
+
# The entity is active.
|
1562
|
+
ACTIVE = T.let(:active, Increase::Entity::Status::TaggedSymbol)
|
1563
|
+
|
1564
|
+
# The entity is archived, and can no longer be used to create accounts.
|
1565
|
+
ARCHIVED = T.let(:archived, Increase::Entity::Status::TaggedSymbol)
|
1566
|
+
|
1567
|
+
# The entity is temporarily disabled and cannot be used for financial activity.
|
1568
|
+
DISABLED = T.let(:disabled, Increase::Entity::Status::TaggedSymbol)
|
1569
|
+
|
1570
|
+
sig do
|
1571
|
+
override.returns(T::Array[Increase::Entity::Status::TaggedSymbol])
|
1572
|
+
end
|
1573
|
+
def self.values
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
# The entity's legal structure.
|
1578
|
+
module Structure
|
1579
|
+
extend Increase::Internal::Type::Enum
|
1580
|
+
|
1581
|
+
TaggedSymbol =
|
1582
|
+
T.type_alias { T.all(Symbol, Increase::Entity::Structure) }
|
1583
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1584
|
+
|
1585
|
+
# A corporation.
|
1586
|
+
CORPORATION =
|
1587
|
+
T.let(:corporation, Increase::Entity::Structure::TaggedSymbol)
|
1588
|
+
|
1589
|
+
# An individual person.
|
1590
|
+
NATURAL_PERSON =
|
1591
|
+
T.let(:natural_person, Increase::Entity::Structure::TaggedSymbol)
|
1592
|
+
|
1593
|
+
# Multiple individual people.
|
1594
|
+
JOINT = T.let(:joint, Increase::Entity::Structure::TaggedSymbol)
|
1595
|
+
|
1596
|
+
# A trust.
|
1597
|
+
TRUST = T.let(:trust, Increase::Entity::Structure::TaggedSymbol)
|
1598
|
+
|
1599
|
+
# A government authority.
|
1600
|
+
GOVERNMENT_AUTHORITY =
|
1601
|
+
T.let(
|
1602
|
+
:government_authority,
|
1603
|
+
Increase::Entity::Structure::TaggedSymbol
|
1604
|
+
)
|
1605
|
+
|
1606
|
+
sig do
|
1607
|
+
override.returns(T::Array[Increase::Entity::Structure::TaggedSymbol])
|
1608
|
+
end
|
1609
|
+
def self.values
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
class ThirdPartyVerification < Increase::Internal::Type::BaseModel
|
1614
|
+
OrHash =
|
1615
|
+
T.type_alias do
|
1616
|
+
T.any(
|
1617
|
+
Increase::Entity::ThirdPartyVerification,
|
1618
|
+
Increase::Internal::AnyHash
|
1619
|
+
)
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# The reference identifier for the third party verification.
|
1623
|
+
sig { returns(String) }
|
1624
|
+
attr_accessor :reference
|
1625
|
+
|
1626
|
+
# The vendor that was used to perform the verification.
|
1627
|
+
sig do
|
1628
|
+
returns(
|
1629
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1630
|
+
)
|
1631
|
+
end
|
1632
|
+
attr_accessor :vendor
|
1633
|
+
|
1634
|
+
# A reference to data stored in a third-party verification service. Your
|
1635
|
+
# integration may or may not use this field.
|
1636
|
+
sig do
|
1637
|
+
params(
|
1638
|
+
reference: String,
|
1639
|
+
vendor: Increase::Entity::ThirdPartyVerification::Vendor::OrSymbol
|
1640
|
+
).returns(T.attached_class)
|
1641
|
+
end
|
1642
|
+
def self.new(
|
1643
|
+
# The reference identifier for the third party verification.
|
1644
|
+
reference:,
|
1645
|
+
# The vendor that was used to perform the verification.
|
1646
|
+
vendor:
|
1647
|
+
)
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
sig do
|
1651
|
+
override.returns(
|
1652
|
+
{
|
1653
|
+
reference: String,
|
1654
|
+
vendor:
|
1655
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1656
|
+
}
|
1657
|
+
)
|
1658
|
+
end
|
1659
|
+
def to_hash
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# The vendor that was used to perform the verification.
|
1663
|
+
module Vendor
|
1664
|
+
extend Increase::Internal::Type::Enum
|
1665
|
+
|
1666
|
+
TaggedSymbol =
|
1667
|
+
T.type_alias do
|
1668
|
+
T.all(Symbol, Increase::Entity::ThirdPartyVerification::Vendor)
|
1669
|
+
end
|
1670
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1671
|
+
|
1672
|
+
# Alloy. See https://alloy.com for more information.
|
1673
|
+
ALLOY =
|
1674
|
+
T.let(
|
1675
|
+
:alloy,
|
1676
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1677
|
+
)
|
1678
|
+
|
1679
|
+
# Middesk. See https://middesk.com for more information.
|
1680
|
+
MIDDESK =
|
1681
|
+
T.let(
|
1682
|
+
:middesk,
|
1683
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1684
|
+
)
|
1685
|
+
|
1686
|
+
# Oscilar. See https://oscilar.com for more information.
|
1687
|
+
OSCILAR =
|
1688
|
+
T.let(
|
1689
|
+
:oscilar,
|
1690
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1691
|
+
)
|
1692
|
+
|
1693
|
+
sig do
|
1694
|
+
override.returns(
|
1695
|
+
T::Array[
|
1696
|
+
Increase::Entity::ThirdPartyVerification::Vendor::TaggedSymbol
|
1697
|
+
]
|
1698
|
+
)
|
1699
|
+
end
|
1700
|
+
def self.values
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
class Trust < Increase::Internal::Type::BaseModel
|
1706
|
+
OrHash =
|
1707
|
+
T.type_alias do
|
1708
|
+
T.any(Increase::Entity::Trust, Increase::Internal::AnyHash)
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# The trust's address.
|
1712
|
+
sig { returns(Increase::Entity::Trust::Address) }
|
1713
|
+
attr_reader :address
|
1714
|
+
|
1715
|
+
sig { params(address: Increase::Entity::Trust::Address::OrHash).void }
|
1716
|
+
attr_writer :address
|
1717
|
+
|
1718
|
+
# Whether the trust is `revocable` or `irrevocable`.
|
1719
|
+
sig { returns(Increase::Entity::Trust::Category::TaggedSymbol) }
|
1720
|
+
attr_accessor :category
|
1721
|
+
|
1722
|
+
# The ID for the File containing the formation document of the trust.
|
1723
|
+
sig { returns(T.nilable(String)) }
|
1724
|
+
attr_accessor :formation_document_file_id
|
1725
|
+
|
1726
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state in
|
1727
|
+
# which the trust was formed.
|
1728
|
+
sig { returns(T.nilable(String)) }
|
1729
|
+
attr_accessor :formation_state
|
1730
|
+
|
1731
|
+
# The grantor of the trust. Will be present if the `category` is `revocable`.
|
1732
|
+
sig { returns(T.nilable(Increase::Entity::Trust::Grantor)) }
|
1733
|
+
attr_reader :grantor
|
1734
|
+
|
1735
|
+
sig do
|
1736
|
+
params(
|
1737
|
+
grantor: T.nilable(Increase::Entity::Trust::Grantor::OrHash)
|
1738
|
+
).void
|
1739
|
+
end
|
1740
|
+
attr_writer :grantor
|
1741
|
+
|
1742
|
+
# The trust's name.
|
1743
|
+
sig { returns(String) }
|
1744
|
+
attr_accessor :name
|
1745
|
+
|
1746
|
+
# The Employer Identification Number (EIN) of the trust itself.
|
1747
|
+
sig { returns(T.nilable(String)) }
|
1748
|
+
attr_accessor :tax_identifier
|
1749
|
+
|
1750
|
+
# The trustees of the trust.
|
1751
|
+
sig { returns(T::Array[Increase::Entity::Trust::Trustee]) }
|
1752
|
+
attr_accessor :trustees
|
1753
|
+
|
1754
|
+
# Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
1755
|
+
sig do
|
1756
|
+
params(
|
1757
|
+
address: Increase::Entity::Trust::Address::OrHash,
|
1758
|
+
category: Increase::Entity::Trust::Category::OrSymbol,
|
1759
|
+
formation_document_file_id: T.nilable(String),
|
1760
|
+
formation_state: T.nilable(String),
|
1761
|
+
grantor: T.nilable(Increase::Entity::Trust::Grantor::OrHash),
|
1762
|
+
name: String,
|
1763
|
+
tax_identifier: T.nilable(String),
|
1764
|
+
trustees: T::Array[Increase::Entity::Trust::Trustee::OrHash]
|
1765
|
+
).returns(T.attached_class)
|
1766
|
+
end
|
1767
|
+
def self.new(
|
1768
|
+
# The trust's address.
|
1769
|
+
address:,
|
1770
|
+
# Whether the trust is `revocable` or `irrevocable`.
|
1771
|
+
category:,
|
1772
|
+
# The ID for the File containing the formation document of the trust.
|
1773
|
+
formation_document_file_id:,
|
1774
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state in
|
1775
|
+
# which the trust was formed.
|
1776
|
+
formation_state:,
|
1777
|
+
# The grantor of the trust. Will be present if the `category` is `revocable`.
|
1778
|
+
grantor:,
|
1779
|
+
# The trust's name.
|
1780
|
+
name:,
|
1781
|
+
# The Employer Identification Number (EIN) of the trust itself.
|
1782
|
+
tax_identifier:,
|
1783
|
+
# The trustees of the trust.
|
1784
|
+
trustees:
|
1785
|
+
)
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
sig do
|
1789
|
+
override.returns(
|
1790
|
+
{
|
1791
|
+
address: Increase::Entity::Trust::Address,
|
1792
|
+
category: Increase::Entity::Trust::Category::TaggedSymbol,
|
1793
|
+
formation_document_file_id: T.nilable(String),
|
1794
|
+
formation_state: T.nilable(String),
|
1795
|
+
grantor: T.nilable(Increase::Entity::Trust::Grantor),
|
1796
|
+
name: String,
|
1797
|
+
tax_identifier: T.nilable(String),
|
1798
|
+
trustees: T::Array[Increase::Entity::Trust::Trustee]
|
1799
|
+
}
|
1800
|
+
)
|
1801
|
+
end
|
1802
|
+
def to_hash
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
class Address < Increase::Internal::Type::BaseModel
|
1806
|
+
OrHash =
|
1807
|
+
T.type_alias do
|
1808
|
+
T.any(
|
1809
|
+
Increase::Entity::Trust::Address,
|
1810
|
+
Increase::Internal::AnyHash
|
1811
|
+
)
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
# The city of the address.
|
1815
|
+
sig { returns(String) }
|
1816
|
+
attr_accessor :city
|
1817
|
+
|
1818
|
+
# The first line of the address.
|
1819
|
+
sig { returns(String) }
|
1820
|
+
attr_accessor :line1
|
1821
|
+
|
1822
|
+
# The second line of the address.
|
1823
|
+
sig { returns(T.nilable(String)) }
|
1824
|
+
attr_accessor :line2
|
1825
|
+
|
1826
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1827
|
+
# the address.
|
1828
|
+
sig { returns(String) }
|
1829
|
+
attr_accessor :state
|
1830
|
+
|
1831
|
+
# The ZIP code of the address.
|
1832
|
+
sig { returns(String) }
|
1833
|
+
attr_accessor :zip
|
1834
|
+
|
1835
|
+
# The trust's address.
|
1836
|
+
sig do
|
1837
|
+
params(
|
1838
|
+
city: String,
|
1839
|
+
line1: String,
|
1840
|
+
line2: T.nilable(String),
|
1841
|
+
state: String,
|
1842
|
+
zip: String
|
1843
|
+
).returns(T.attached_class)
|
1844
|
+
end
|
1845
|
+
def self.new(
|
1846
|
+
# The city of the address.
|
1847
|
+
city:,
|
1848
|
+
# The first line of the address.
|
1849
|
+
line1:,
|
1850
|
+
# The second line of the address.
|
1851
|
+
line2:,
|
1852
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1853
|
+
# the address.
|
1854
|
+
state:,
|
1855
|
+
# The ZIP code of the address.
|
1856
|
+
zip:
|
1857
|
+
)
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
sig do
|
1861
|
+
override.returns(
|
1862
|
+
{
|
1863
|
+
city: String,
|
1864
|
+
line1: String,
|
1865
|
+
line2: T.nilable(String),
|
1866
|
+
state: String,
|
1867
|
+
zip: String
|
1868
|
+
}
|
1869
|
+
)
|
1870
|
+
end
|
1871
|
+
def to_hash
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
# Whether the trust is `revocable` or `irrevocable`.
|
1876
|
+
module Category
|
1877
|
+
extend Increase::Internal::Type::Enum
|
1878
|
+
|
1879
|
+
TaggedSymbol =
|
1880
|
+
T.type_alias { T.all(Symbol, Increase::Entity::Trust::Category) }
|
1881
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1882
|
+
|
1883
|
+
# The trust is revocable by the grantor.
|
1884
|
+
REVOCABLE =
|
1885
|
+
T.let(:revocable, Increase::Entity::Trust::Category::TaggedSymbol)
|
1886
|
+
|
1887
|
+
# The trust cannot be revoked.
|
1888
|
+
IRREVOCABLE =
|
1889
|
+
T.let(:irrevocable, Increase::Entity::Trust::Category::TaggedSymbol)
|
1890
|
+
|
1891
|
+
sig do
|
1892
|
+
override.returns(
|
1893
|
+
T::Array[Increase::Entity::Trust::Category::TaggedSymbol]
|
1894
|
+
)
|
1895
|
+
end
|
1896
|
+
def self.values
|
1897
|
+
end
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
class Grantor < Increase::Internal::Type::BaseModel
|
1901
|
+
OrHash =
|
1902
|
+
T.type_alias do
|
1903
|
+
T.any(
|
1904
|
+
Increase::Entity::Trust::Grantor,
|
1905
|
+
Increase::Internal::AnyHash
|
1906
|
+
)
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
# The person's address.
|
1910
|
+
sig { returns(Increase::Entity::Trust::Grantor::Address) }
|
1911
|
+
attr_reader :address
|
1912
|
+
|
1913
|
+
sig do
|
1914
|
+
params(
|
1915
|
+
address: Increase::Entity::Trust::Grantor::Address::OrHash
|
1916
|
+
).void
|
1917
|
+
end
|
1918
|
+
attr_writer :address
|
1919
|
+
|
1920
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1921
|
+
sig { returns(Date) }
|
1922
|
+
attr_accessor :date_of_birth
|
1923
|
+
|
1924
|
+
# A means of verifying the person's identity.
|
1925
|
+
sig { returns(Increase::Entity::Trust::Grantor::Identification) }
|
1926
|
+
attr_reader :identification
|
1927
|
+
|
1928
|
+
sig do
|
1929
|
+
params(
|
1930
|
+
identification:
|
1931
|
+
Increase::Entity::Trust::Grantor::Identification::OrHash
|
1932
|
+
).void
|
1933
|
+
end
|
1934
|
+
attr_writer :identification
|
1935
|
+
|
1936
|
+
# The person's legal name.
|
1937
|
+
sig { returns(String) }
|
1938
|
+
attr_accessor :name
|
1939
|
+
|
1940
|
+
# The grantor of the trust. Will be present if the `category` is `revocable`.
|
1941
|
+
sig do
|
1942
|
+
params(
|
1943
|
+
address: Increase::Entity::Trust::Grantor::Address::OrHash,
|
1944
|
+
date_of_birth: Date,
|
1945
|
+
identification:
|
1946
|
+
Increase::Entity::Trust::Grantor::Identification::OrHash,
|
1947
|
+
name: String
|
1948
|
+
).returns(T.attached_class)
|
1949
|
+
end
|
1950
|
+
def self.new(
|
1951
|
+
# The person's address.
|
1952
|
+
address:,
|
1953
|
+
# The person's date of birth in YYYY-MM-DD format.
|
1954
|
+
date_of_birth:,
|
1955
|
+
# A means of verifying the person's identity.
|
1956
|
+
identification:,
|
1957
|
+
# The person's legal name.
|
1958
|
+
name:
|
1959
|
+
)
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
sig do
|
1963
|
+
override.returns(
|
1964
|
+
{
|
1965
|
+
address: Increase::Entity::Trust::Grantor::Address,
|
1966
|
+
date_of_birth: Date,
|
1967
|
+
identification:
|
1968
|
+
Increase::Entity::Trust::Grantor::Identification,
|
1969
|
+
name: String
|
1970
|
+
}
|
1971
|
+
)
|
1972
|
+
end
|
1973
|
+
def to_hash
|
1974
|
+
end
|
1975
|
+
|
1976
|
+
class Address < Increase::Internal::Type::BaseModel
|
1977
|
+
OrHash =
|
1978
|
+
T.type_alias do
|
1979
|
+
T.any(
|
1980
|
+
Increase::Entity::Trust::Grantor::Address,
|
1981
|
+
Increase::Internal::AnyHash
|
1982
|
+
)
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
# The city of the address.
|
1986
|
+
sig { returns(String) }
|
1987
|
+
attr_accessor :city
|
1988
|
+
|
1989
|
+
# The first line of the address.
|
1990
|
+
sig { returns(String) }
|
1991
|
+
attr_accessor :line1
|
1992
|
+
|
1993
|
+
# The second line of the address.
|
1994
|
+
sig { returns(T.nilable(String)) }
|
1995
|
+
attr_accessor :line2
|
1996
|
+
|
1997
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
1998
|
+
# the address.
|
1999
|
+
sig { returns(String) }
|
2000
|
+
attr_accessor :state
|
2001
|
+
|
2002
|
+
# The ZIP code of the address.
|
2003
|
+
sig { returns(String) }
|
2004
|
+
attr_accessor :zip
|
2005
|
+
|
2006
|
+
# The person's address.
|
2007
|
+
sig do
|
2008
|
+
params(
|
2009
|
+
city: String,
|
2010
|
+
line1: String,
|
2011
|
+
line2: T.nilable(String),
|
2012
|
+
state: String,
|
2013
|
+
zip: String
|
2014
|
+
).returns(T.attached_class)
|
2015
|
+
end
|
2016
|
+
def self.new(
|
2017
|
+
# The city of the address.
|
2018
|
+
city:,
|
2019
|
+
# The first line of the address.
|
2020
|
+
line1:,
|
2021
|
+
# The second line of the address.
|
2022
|
+
line2:,
|
2023
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
2024
|
+
# the address.
|
2025
|
+
state:,
|
2026
|
+
# The ZIP code of the address.
|
2027
|
+
zip:
|
2028
|
+
)
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
sig do
|
2032
|
+
override.returns(
|
2033
|
+
{
|
2034
|
+
city: String,
|
2035
|
+
line1: String,
|
2036
|
+
line2: T.nilable(String),
|
2037
|
+
state: String,
|
2038
|
+
zip: String
|
2039
|
+
}
|
2040
|
+
)
|
2041
|
+
end
|
2042
|
+
def to_hash
|
2043
|
+
end
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
class Identification < Increase::Internal::Type::BaseModel
|
2047
|
+
OrHash =
|
2048
|
+
T.type_alias do
|
2049
|
+
T.any(
|
2050
|
+
Increase::Entity::Trust::Grantor::Identification,
|
2051
|
+
Increase::Internal::AnyHash
|
2052
|
+
)
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
# A method that can be used to verify the individual's identity.
|
2056
|
+
sig do
|
2057
|
+
returns(
|
2058
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2059
|
+
)
|
2060
|
+
end
|
2061
|
+
attr_accessor :method_
|
2062
|
+
|
2063
|
+
# The last 4 digits of the identification number that can be used to verify the
|
2064
|
+
# individual's identity.
|
2065
|
+
sig { returns(String) }
|
2066
|
+
attr_accessor :number_last4
|
2067
|
+
|
2068
|
+
# A means of verifying the person's identity.
|
2069
|
+
sig do
|
2070
|
+
params(
|
2071
|
+
method_:
|
2072
|
+
Increase::Entity::Trust::Grantor::Identification::Method::OrSymbol,
|
2073
|
+
number_last4: String
|
2074
|
+
).returns(T.attached_class)
|
2075
|
+
end
|
2076
|
+
def self.new(
|
2077
|
+
# A method that can be used to verify the individual's identity.
|
2078
|
+
method_:,
|
2079
|
+
# The last 4 digits of the identification number that can be used to verify the
|
2080
|
+
# individual's identity.
|
2081
|
+
number_last4:
|
2082
|
+
)
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
sig do
|
2086
|
+
override.returns(
|
2087
|
+
{
|
2088
|
+
method_:
|
2089
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol,
|
2090
|
+
number_last4: String
|
2091
|
+
}
|
2092
|
+
)
|
2093
|
+
end
|
2094
|
+
def to_hash
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
# A method that can be used to verify the individual's identity.
|
2098
|
+
module Method
|
2099
|
+
extend Increase::Internal::Type::Enum
|
2100
|
+
|
2101
|
+
TaggedSymbol =
|
2102
|
+
T.type_alias do
|
2103
|
+
T.all(
|
2104
|
+
Symbol,
|
2105
|
+
Increase::Entity::Trust::Grantor::Identification::Method
|
2106
|
+
)
|
2107
|
+
end
|
2108
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2109
|
+
|
2110
|
+
# A social security number.
|
2111
|
+
SOCIAL_SECURITY_NUMBER =
|
2112
|
+
T.let(
|
2113
|
+
:social_security_number,
|
2114
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2115
|
+
)
|
2116
|
+
|
2117
|
+
# An individual taxpayer identification number (ITIN).
|
2118
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
2119
|
+
T.let(
|
2120
|
+
:individual_taxpayer_identification_number,
|
2121
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2122
|
+
)
|
2123
|
+
|
2124
|
+
# A passport number.
|
2125
|
+
PASSPORT =
|
2126
|
+
T.let(
|
2127
|
+
:passport,
|
2128
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2129
|
+
)
|
2130
|
+
|
2131
|
+
# A driver's license number.
|
2132
|
+
DRIVERS_LICENSE =
|
2133
|
+
T.let(
|
2134
|
+
:drivers_license,
|
2135
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2136
|
+
)
|
2137
|
+
|
2138
|
+
# Another identifying document.
|
2139
|
+
OTHER =
|
2140
|
+
T.let(
|
2141
|
+
:other,
|
2142
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2143
|
+
)
|
2144
|
+
|
2145
|
+
sig do
|
2146
|
+
override.returns(
|
2147
|
+
T::Array[
|
2148
|
+
Increase::Entity::Trust::Grantor::Identification::Method::TaggedSymbol
|
2149
|
+
]
|
2150
|
+
)
|
2151
|
+
end
|
2152
|
+
def self.values
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
class Trustee < Increase::Internal::Type::BaseModel
|
2159
|
+
OrHash =
|
2160
|
+
T.type_alias do
|
2161
|
+
T.any(
|
2162
|
+
Increase::Entity::Trust::Trustee,
|
2163
|
+
Increase::Internal::AnyHash
|
2164
|
+
)
|
2165
|
+
end
|
2166
|
+
|
2167
|
+
# The individual trustee of the trust. Will be present if the trustee's
|
2168
|
+
# `structure` is equal to `individual`.
|
2169
|
+
sig do
|
2170
|
+
returns(T.nilable(Increase::Entity::Trust::Trustee::Individual))
|
2171
|
+
end
|
2172
|
+
attr_reader :individual
|
2173
|
+
|
2174
|
+
sig do
|
2175
|
+
params(
|
2176
|
+
individual:
|
2177
|
+
T.nilable(Increase::Entity::Trust::Trustee::Individual::OrHash)
|
2178
|
+
).void
|
2179
|
+
end
|
2180
|
+
attr_writer :individual
|
2181
|
+
|
2182
|
+
# The structure of the trustee. Will always be equal to `individual`.
|
2183
|
+
sig do
|
2184
|
+
returns(Increase::Entity::Trust::Trustee::Structure::TaggedSymbol)
|
2185
|
+
end
|
2186
|
+
attr_accessor :structure
|
2187
|
+
|
2188
|
+
sig do
|
2189
|
+
params(
|
2190
|
+
individual:
|
2191
|
+
T.nilable(Increase::Entity::Trust::Trustee::Individual::OrHash),
|
2192
|
+
structure: Increase::Entity::Trust::Trustee::Structure::OrSymbol
|
2193
|
+
).returns(T.attached_class)
|
2194
|
+
end
|
2195
|
+
def self.new(
|
2196
|
+
# The individual trustee of the trust. Will be present if the trustee's
|
2197
|
+
# `structure` is equal to `individual`.
|
2198
|
+
individual:,
|
2199
|
+
# The structure of the trustee. Will always be equal to `individual`.
|
2200
|
+
structure:
|
2201
|
+
)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
sig do
|
2205
|
+
override.returns(
|
2206
|
+
{
|
2207
|
+
individual:
|
2208
|
+
T.nilable(Increase::Entity::Trust::Trustee::Individual),
|
2209
|
+
structure:
|
2210
|
+
Increase::Entity::Trust::Trustee::Structure::TaggedSymbol
|
2211
|
+
}
|
2212
|
+
)
|
2213
|
+
end
|
2214
|
+
def to_hash
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
class Individual < Increase::Internal::Type::BaseModel
|
2218
|
+
OrHash =
|
2219
|
+
T.type_alias do
|
2220
|
+
T.any(
|
2221
|
+
Increase::Entity::Trust::Trustee::Individual,
|
2222
|
+
Increase::Internal::AnyHash
|
2223
|
+
)
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# The person's address.
|
2227
|
+
sig do
|
2228
|
+
returns(Increase::Entity::Trust::Trustee::Individual::Address)
|
2229
|
+
end
|
2230
|
+
attr_reader :address
|
2231
|
+
|
2232
|
+
sig do
|
2233
|
+
params(
|
2234
|
+
address:
|
2235
|
+
Increase::Entity::Trust::Trustee::Individual::Address::OrHash
|
2236
|
+
).void
|
2237
|
+
end
|
2238
|
+
attr_writer :address
|
2239
|
+
|
2240
|
+
# The person's date of birth in YYYY-MM-DD format.
|
2241
|
+
sig { returns(Date) }
|
2242
|
+
attr_accessor :date_of_birth
|
2243
|
+
|
2244
|
+
# A means of verifying the person's identity.
|
2245
|
+
sig do
|
2246
|
+
returns(
|
2247
|
+
Increase::Entity::Trust::Trustee::Individual::Identification
|
2248
|
+
)
|
2249
|
+
end
|
2250
|
+
attr_reader :identification
|
2251
|
+
|
2252
|
+
sig do
|
2253
|
+
params(
|
2254
|
+
identification:
|
2255
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::OrHash
|
2256
|
+
).void
|
2257
|
+
end
|
2258
|
+
attr_writer :identification
|
2259
|
+
|
2260
|
+
# The person's legal name.
|
2261
|
+
sig { returns(String) }
|
2262
|
+
attr_accessor :name
|
2263
|
+
|
2264
|
+
# The individual trustee of the trust. Will be present if the trustee's
|
2265
|
+
# `structure` is equal to `individual`.
|
2266
|
+
sig do
|
2267
|
+
params(
|
2268
|
+
address:
|
2269
|
+
Increase::Entity::Trust::Trustee::Individual::Address::OrHash,
|
2270
|
+
date_of_birth: Date,
|
2271
|
+
identification:
|
2272
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::OrHash,
|
2273
|
+
name: String
|
2274
|
+
).returns(T.attached_class)
|
2275
|
+
end
|
2276
|
+
def self.new(
|
2277
|
+
# The person's address.
|
2278
|
+
address:,
|
2279
|
+
# The person's date of birth in YYYY-MM-DD format.
|
2280
|
+
date_of_birth:,
|
2281
|
+
# A means of verifying the person's identity.
|
2282
|
+
identification:,
|
2283
|
+
# The person's legal name.
|
2284
|
+
name:
|
2285
|
+
)
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
sig do
|
2289
|
+
override.returns(
|
2290
|
+
{
|
2291
|
+
address:
|
2292
|
+
Increase::Entity::Trust::Trustee::Individual::Address,
|
2293
|
+
date_of_birth: Date,
|
2294
|
+
identification:
|
2295
|
+
Increase::Entity::Trust::Trustee::Individual::Identification,
|
2296
|
+
name: String
|
2297
|
+
}
|
2298
|
+
)
|
2299
|
+
end
|
2300
|
+
def to_hash
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
class Address < Increase::Internal::Type::BaseModel
|
2304
|
+
OrHash =
|
2305
|
+
T.type_alias do
|
2306
|
+
T.any(
|
2307
|
+
Increase::Entity::Trust::Trustee::Individual::Address,
|
2308
|
+
Increase::Internal::AnyHash
|
2309
|
+
)
|
2310
|
+
end
|
2311
|
+
|
2312
|
+
# The city of the address.
|
2313
|
+
sig { returns(String) }
|
2314
|
+
attr_accessor :city
|
2315
|
+
|
2316
|
+
# The first line of the address.
|
2317
|
+
sig { returns(String) }
|
2318
|
+
attr_accessor :line1
|
2319
|
+
|
2320
|
+
# The second line of the address.
|
2321
|
+
sig { returns(T.nilable(String)) }
|
2322
|
+
attr_accessor :line2
|
2323
|
+
|
2324
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
2325
|
+
# the address.
|
2326
|
+
sig { returns(String) }
|
2327
|
+
attr_accessor :state
|
2328
|
+
|
2329
|
+
# The ZIP code of the address.
|
2330
|
+
sig { returns(String) }
|
2331
|
+
attr_accessor :zip
|
2332
|
+
|
2333
|
+
# The person's address.
|
2334
|
+
sig do
|
2335
|
+
params(
|
2336
|
+
city: String,
|
2337
|
+
line1: String,
|
2338
|
+
line2: T.nilable(String),
|
2339
|
+
state: String,
|
2340
|
+
zip: String
|
2341
|
+
).returns(T.attached_class)
|
2342
|
+
end
|
2343
|
+
def self.new(
|
2344
|
+
# The city of the address.
|
2345
|
+
city:,
|
2346
|
+
# The first line of the address.
|
2347
|
+
line1:,
|
2348
|
+
# The second line of the address.
|
2349
|
+
line2:,
|
2350
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
2351
|
+
# the address.
|
2352
|
+
state:,
|
2353
|
+
# The ZIP code of the address.
|
2354
|
+
zip:
|
2355
|
+
)
|
2356
|
+
end
|
2357
|
+
|
2358
|
+
sig do
|
2359
|
+
override.returns(
|
2360
|
+
{
|
2361
|
+
city: String,
|
2362
|
+
line1: String,
|
2363
|
+
line2: T.nilable(String),
|
2364
|
+
state: String,
|
2365
|
+
zip: String
|
2366
|
+
}
|
2367
|
+
)
|
2368
|
+
end
|
2369
|
+
def to_hash
|
2370
|
+
end
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
class Identification < Increase::Internal::Type::BaseModel
|
2374
|
+
OrHash =
|
2375
|
+
T.type_alias do
|
2376
|
+
T.any(
|
2377
|
+
Increase::Entity::Trust::Trustee::Individual::Identification,
|
2378
|
+
Increase::Internal::AnyHash
|
2379
|
+
)
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
# A method that can be used to verify the individual's identity.
|
2383
|
+
sig do
|
2384
|
+
returns(
|
2385
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2386
|
+
)
|
2387
|
+
end
|
2388
|
+
attr_accessor :method_
|
2389
|
+
|
2390
|
+
# The last 4 digits of the identification number that can be used to verify the
|
2391
|
+
# individual's identity.
|
2392
|
+
sig { returns(String) }
|
2393
|
+
attr_accessor :number_last4
|
2394
|
+
|
2395
|
+
# A means of verifying the person's identity.
|
2396
|
+
sig do
|
2397
|
+
params(
|
2398
|
+
method_:
|
2399
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::OrSymbol,
|
2400
|
+
number_last4: String
|
2401
|
+
).returns(T.attached_class)
|
2402
|
+
end
|
2403
|
+
def self.new(
|
2404
|
+
# A method that can be used to verify the individual's identity.
|
2405
|
+
method_:,
|
2406
|
+
# The last 4 digits of the identification number that can be used to verify the
|
2407
|
+
# individual's identity.
|
2408
|
+
number_last4:
|
2409
|
+
)
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
sig do
|
2413
|
+
override.returns(
|
2414
|
+
{
|
2415
|
+
method_:
|
2416
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol,
|
2417
|
+
number_last4: String
|
2418
|
+
}
|
2419
|
+
)
|
2420
|
+
end
|
2421
|
+
def to_hash
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
# A method that can be used to verify the individual's identity.
|
2425
|
+
module Method
|
2426
|
+
extend Increase::Internal::Type::Enum
|
2427
|
+
|
2428
|
+
TaggedSymbol =
|
2429
|
+
T.type_alias do
|
2430
|
+
T.all(
|
2431
|
+
Symbol,
|
2432
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method
|
2433
|
+
)
|
2434
|
+
end
|
2435
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2436
|
+
|
2437
|
+
# A social security number.
|
2438
|
+
SOCIAL_SECURITY_NUMBER =
|
2439
|
+
T.let(
|
2440
|
+
:social_security_number,
|
2441
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2442
|
+
)
|
2443
|
+
|
2444
|
+
# An individual taxpayer identification number (ITIN).
|
2445
|
+
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER =
|
2446
|
+
T.let(
|
2447
|
+
:individual_taxpayer_identification_number,
|
2448
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2449
|
+
)
|
2450
|
+
|
2451
|
+
# A passport number.
|
2452
|
+
PASSPORT =
|
2453
|
+
T.let(
|
2454
|
+
:passport,
|
2455
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2456
|
+
)
|
2457
|
+
|
2458
|
+
# A driver's license number.
|
2459
|
+
DRIVERS_LICENSE =
|
2460
|
+
T.let(
|
2461
|
+
:drivers_license,
|
2462
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2463
|
+
)
|
2464
|
+
|
2465
|
+
# Another identifying document.
|
2466
|
+
OTHER =
|
2467
|
+
T.let(
|
2468
|
+
:other,
|
2469
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2470
|
+
)
|
2471
|
+
|
2472
|
+
sig do
|
2473
|
+
override.returns(
|
2474
|
+
T::Array[
|
2475
|
+
Increase::Entity::Trust::Trustee::Individual::Identification::Method::TaggedSymbol
|
2476
|
+
]
|
2477
|
+
)
|
2478
|
+
end
|
2479
|
+
def self.values
|
2480
|
+
end
|
2481
|
+
end
|
2482
|
+
end
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
# The structure of the trustee. Will always be equal to `individual`.
|
2486
|
+
module Structure
|
2487
|
+
extend Increase::Internal::Type::Enum
|
2488
|
+
|
2489
|
+
TaggedSymbol =
|
2490
|
+
T.type_alias do
|
2491
|
+
T.all(Symbol, Increase::Entity::Trust::Trustee::Structure)
|
2492
|
+
end
|
2493
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2494
|
+
|
2495
|
+
# The trustee is an individual.
|
2496
|
+
INDIVIDUAL =
|
2497
|
+
T.let(
|
2498
|
+
:individual,
|
2499
|
+
Increase::Entity::Trust::Trustee::Structure::TaggedSymbol
|
2500
|
+
)
|
2501
|
+
|
2502
|
+
sig do
|
2503
|
+
override.returns(
|
2504
|
+
T::Array[
|
2505
|
+
Increase::Entity::Trust::Trustee::Structure::TaggedSymbol
|
2506
|
+
]
|
2507
|
+
)
|
2508
|
+
end
|
2509
|
+
def self.values
|
2510
|
+
end
|
2511
|
+
end
|
2512
|
+
end
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
# A constant representing the object's type. For this resource it will always be
|
2516
|
+
# `entity`.
|
2517
|
+
module Type
|
2518
|
+
extend Increase::Internal::Type::Enum
|
2519
|
+
|
2520
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Increase::Entity::Type) }
|
2521
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2522
|
+
|
2523
|
+
ENTITY = T.let(:entity, Increase::Entity::Type::TaggedSymbol)
|
2524
|
+
|
2525
|
+
sig { override.returns(T::Array[Increase::Entity::Type::TaggedSymbol]) }
|
2526
|
+
def self.values
|
2527
|
+
end
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
end
|
2531
|
+
end
|