modern_treasury 0.1.0.pre.alpha.18 → 0.1.0.pre.alpha.20
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/CHANGELOG.md +96 -0
- data/README.md +124 -66
- data/SECURITY.md +2 -2
- data/lib/modern_treasury/client.rb +9 -5
- data/lib/modern_treasury/errors.rb +10 -10
- data/lib/modern_treasury/file_part.rb +55 -0
- data/lib/modern_treasury/internal/page.rb +2 -2
- data/lib/modern_treasury/internal/transport/base_client.rb +88 -16
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +19 -7
- data/lib/modern_treasury/internal/type/array_of.rb +19 -0
- data/lib/modern_treasury/internal/type/base_model.rb +112 -39
- data/lib/modern_treasury/internal/type/base_page.rb +9 -1
- data/lib/modern_treasury/internal/type/boolean.rb +22 -11
- data/lib/modern_treasury/internal/type/converter.rb +22 -1
- data/lib/modern_treasury/internal/type/enum.rb +35 -19
- data/lib/modern_treasury/internal/type/{io_like.rb → file_input.rb} +41 -15
- data/lib/modern_treasury/internal/type/hash_of.rb +19 -0
- data/lib/modern_treasury/internal/type/request_parameters.rb +7 -14
- data/lib/modern_treasury/internal/type/union.rb +24 -2
- data/lib/modern_treasury/internal/type/unknown.rb +22 -11
- data/lib/modern_treasury/internal/util.rb +193 -64
- data/lib/modern_treasury/internal.rb +9 -1
- data/lib/modern_treasury/models/account_collection_flow.rb +46 -89
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +15 -22
- data/lib/modern_treasury/models/account_collection_flow_list_params.rb +14 -50
- data/lib/modern_treasury/models/account_collection_flow_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +11 -15
- data/lib/modern_treasury/models/account_detail.rb +29 -38
- data/lib/modern_treasury/models/account_detail_create_params.rb +23 -29
- data/lib/modern_treasury/models/account_detail_delete_params.rb +8 -16
- data/lib/modern_treasury/models/account_detail_list_params.rb +8 -17
- data/lib/modern_treasury/models/account_detail_retrieve_params.rb +6 -11
- data/lib/modern_treasury/models/accounts_type.rb +2 -5
- data/lib/modern_treasury/models/async_response.rb +3 -7
- data/lib/modern_treasury/models/bank_settings.rb +23 -29
- data/lib/modern_treasury/models/bulk_request.rb +37 -51
- data/lib/modern_treasury/models/bulk_request_create_params.rb +1101 -1631
- data/lib/modern_treasury/models/bulk_request_list_params.rb +34 -69
- data/lib/modern_treasury/models/bulk_request_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/bulk_result.rb +70 -95
- data/lib/modern_treasury/models/bulk_result_list_params.rb +37 -76
- data/lib/modern_treasury/models/bulk_result_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/client_ping_params.rb +3 -8
- data/lib/modern_treasury/models/connection.rb +21 -27
- data/lib/modern_treasury/models/connection_legal_entity.rb +26 -35
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +323 -403
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +15 -49
- data/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +9 -20
- data/lib/modern_treasury/models/connection_list_params.rb +14 -27
- data/lib/modern_treasury/models/counterparty.rb +157 -237
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +23 -34
- data/lib/modern_treasury/models/counterparty_collect_account_response.rb +9 -8
- data/lib/modern_treasury/models/counterparty_create_params.rb +516 -728
- data/lib/modern_treasury/models/counterparty_delete_params.rb +3 -8
- data/lib/modern_treasury/models/counterparty_list_params.rb +29 -64
- data/lib/modern_treasury/models/counterparty_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/counterparty_update_params.rb +23 -50
- data/lib/modern_treasury/models/currency.rb +9 -5
- data/lib/modern_treasury/models/document.rb +62 -91
- data/lib/modern_treasury/models/document_create_params.rb +19 -27
- data/lib/modern_treasury/models/document_list_params.rb +22 -35
- data/lib/modern_treasury/models/document_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/event.rb +23 -29
- data/lib/modern_treasury/models/event_list_params.rb +23 -57
- data/lib/modern_treasury/models/event_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/expected_payment.rb +67 -82
- data/lib/modern_treasury/models/expected_payment_create_params.rb +140 -215
- data/lib/modern_treasury/models/expected_payment_delete_params.rb +3 -8
- data/lib/modern_treasury/models/expected_payment_list_params.rb +63 -92
- data/lib/modern_treasury/models/expected_payment_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/expected_payment_type.rb +6 -5
- data/lib/modern_treasury/models/expected_payment_update_params.rb +51 -70
- data/lib/modern_treasury/models/external_account.rb +105 -137
- data/lib/modern_treasury/models/external_account_complete_verification_params.rb +5 -14
- data/lib/modern_treasury/models/external_account_create_params.rb +146 -245
- data/lib/modern_treasury/models/external_account_delete_params.rb +3 -8
- data/lib/modern_treasury/models/external_account_list_params.rb +20 -43
- data/lib/modern_treasury/models/external_account_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/external_account_type.rb +7 -5
- data/lib/modern_treasury/models/external_account_update_params.rb +42 -69
- data/lib/modern_treasury/models/external_account_verify_params.rb +34 -58
- data/lib/modern_treasury/models/external_account_verify_response.rb +37 -48
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +51 -55
- data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +24 -47
- data/lib/modern_treasury/models/foreign_exchange_quote_list_params.rb +32 -71
- data/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/incoming_payment_detail.rb +72 -86
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +36 -65
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +39 -84
- data/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/incoming_payment_detail_update_params.rb +9 -14
- data/lib/modern_treasury/models/internal_account.rb +84 -99
- data/lib/modern_treasury/models/internal_account_create_params.rb +79 -80
- data/lib/modern_treasury/models/internal_account_list_params.rb +38 -72
- data/lib/modern_treasury/models/internal_account_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/internal_account_update_params.rb +21 -48
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +65 -78
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +39 -35
- data/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rb +4 -9
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +21 -33
- data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +4 -9
- data/lib/modern_treasury/models/invoice.rb +161 -195
- data/lib/modern_treasury/models/invoice_add_payment_order_params.rb +4 -9
- data/lib/modern_treasury/models/invoice_create_params.rb +167 -251
- data/lib/modern_treasury/models/invoice_list_params.rb +42 -92
- data/lib/modern_treasury/models/invoice_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/invoice_update_params.rb +171 -271
- data/lib/modern_treasury/models/invoices/invoice_line_item.rb +37 -35
- data/lib/modern_treasury/models/invoices/line_item_create_params.rb +25 -52
- data/lib/modern_treasury/models/invoices/line_item_delete_params.rb +4 -9
- data/lib/modern_treasury/models/invoices/line_item_list_params.rb +6 -15
- data/lib/modern_treasury/models/invoices/line_item_retrieve_params.rb +4 -9
- data/lib/modern_treasury/models/invoices/line_item_update_params.rb +29 -64
- data/lib/modern_treasury/models/ledger.rb +21 -14
- data/lib/modern_treasury/models/ledger_account.rb +100 -115
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +114 -106
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +32 -33
- data/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_balance_monitor_list_params.rb +21 -33
- data/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_balance_monitor_update_params.rb +13 -20
- data/lib/modern_treasury/models/ledger_account_category.rb +87 -93
- data/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rb +4 -9
- data/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rb +4 -9
- data/lib/modern_treasury/models/ledger_account_category_create_params.rb +25 -40
- data/lib/modern_treasury/models/ledger_account_category_delete_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +43 -94
- data/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rb +4 -9
- data/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rb +4 -9
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +19 -36
- data/lib/modern_treasury/models/ledger_account_category_update_params.rb +14 -21
- data/lib/modern_treasury/models/ledger_account_create_params.rb +34 -60
- data/lib/modern_treasury/models/ledger_account_delete_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_list_params.rb +116 -279
- data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +28 -66
- data/lib/modern_treasury/models/ledger_account_settlement.rb +40 -49
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +26 -42
- data/lib/modern_treasury/models/ledger_account_settlement_list_params.rb +35 -78
- data/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +17 -27
- data/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rb +9 -9
- data/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rb +9 -9
- data/lib/modern_treasury/models/ledger_account_statement_create_params.rb +17 -28
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +144 -146
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +145 -146
- data/lib/modern_treasury/models/ledger_account_update_params.rb +14 -21
- data/lib/modern_treasury/models/ledger_create_params.rb +13 -16
- data/lib/modern_treasury/models/ledger_delete_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_entry.rb +101 -108
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +85 -189
- data/lib/modern_treasury/models/ledger_entry_retrieve_params.rb +9 -14
- data/lib/modern_treasury/models/ledger_entry_update_params.rb +9 -14
- data/lib/modern_treasury/models/ledger_event_handler.rb +62 -64
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +54 -63
- data/lib/modern_treasury/models/ledger_event_handler_delete_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_event_handler_list_params.rb +20 -33
- data/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +15 -16
- data/lib/modern_treasury/models/ledger_list_params.rb +20 -33
- data/lib/modern_treasury/models/ledger_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_transaction.rb +48 -63
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +64 -113
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +39 -48
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +33 -69
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +84 -189
- data/lib/modern_treasury/models/ledger_transaction_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +60 -105
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +162 -168
- data/lib/modern_treasury/models/ledger_transactions/version_list_params.rb +24 -50
- data/lib/modern_treasury/models/ledger_update_params.rb +14 -21
- data/lib/modern_treasury/models/ledgerable_event.rb +23 -29
- data/lib/modern_treasury/models/ledgerable_event_create_params.rb +15 -17
- data/lib/modern_treasury/models/ledgerable_event_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/legal_entity.rb +167 -174
- data/lib/modern_treasury/models/legal_entity_association.rb +206 -211
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +178 -214
- data/lib/modern_treasury/models/legal_entity_compliance_detail.rb +27 -33
- data/lib/modern_treasury/models/legal_entity_create_params.rb +314 -380
- data/lib/modern_treasury/models/legal_entity_industry_classification.rb +22 -31
- data/lib/modern_treasury/models/legal_entity_list_params.rb +23 -49
- data/lib/modern_treasury/models/legal_entity_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/legal_entity_update_params.rb +136 -163
- data/lib/modern_treasury/models/line_item.rb +40 -49
- data/lib/modern_treasury/models/line_item_list_params.rb +10 -22
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +8 -16
- data/lib/modern_treasury/models/line_item_update_params.rb +16 -22
- data/lib/modern_treasury/models/paper_item.rb +52 -52
- data/lib/modern_treasury/models/paper_item_list_params.rb +20 -43
- data/lib/modern_treasury/models/paper_item_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/payment_action_create_params.rb +59 -0
- data/lib/modern_treasury/models/payment_action_create_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_list_params.rb +157 -0
- data/lib/modern_treasury/models/payment_action_list_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_retrieve_params.rb +14 -0
- data/lib/modern_treasury/models/payment_action_retrieve_response.rb +100 -0
- data/lib/modern_treasury/models/payment_action_update_params.rb +44 -0
- data/lib/modern_treasury/models/payment_action_update_response.rb +100 -0
- data/lib/modern_treasury/models/payment_flow.rb +67 -131
- data/lib/modern_treasury/models/payment_flow_create_params.rb +22 -36
- data/lib/modern_treasury/models/payment_flow_list_params.rb +18 -64
- data/lib/modern_treasury/models/payment_flow_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/payment_flow_update_params.rb +11 -15
- data/lib/modern_treasury/models/payment_order.rb +186 -230
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +362 -563
- data/lib/modern_treasury/models/payment_order_create_params.rb +384 -595
- data/lib/modern_treasury/models/payment_order_list_params.rb +70 -146
- data/lib/modern_treasury/models/payment_order_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/payment_order_subtype.rb +2 -5
- data/lib/modern_treasury/models/payment_order_type.rb +6 -5
- data/lib/modern_treasury/models/payment_order_update_params.rb +296 -462
- data/lib/modern_treasury/models/payment_orders/reversal.rb +31 -43
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +87 -141
- data/lib/modern_treasury/models/payment_orders/reversal_list_params.rb +6 -15
- data/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rb +4 -9
- data/lib/modern_treasury/models/payment_reference.rb +31 -40
- data/lib/modern_treasury/models/payment_reference_list_params.rb +23 -50
- data/lib/modern_treasury/models/payment_reference_retireve_params.rb +3 -8
- data/lib/modern_treasury/models/payment_reference_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/ping_response.rb +2 -6
- data/lib/modern_treasury/models/reconciliation_rule.rb +36 -48
- data/lib/modern_treasury/models/return_create_params.rb +66 -39
- data/lib/modern_treasury/models/return_list_params.rb +26 -56
- data/lib/modern_treasury/models/return_object.rb +140 -108
- data/lib/modern_treasury/models/return_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/routing_detail.rb +61 -75
- data/lib/modern_treasury/models/routing_detail_create_params.rb +27 -33
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +8 -16
- data/lib/modern_treasury/models/routing_detail_list_params.rb +8 -17
- data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +6 -11
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +51 -78
- data/lib/modern_treasury/models/transaction.rb +89 -96
- data/lib/modern_treasury/models/transaction_create_params.rb +35 -49
- data/lib/modern_treasury/models/transaction_delete_params.rb +3 -8
- data/lib/modern_treasury/models/transaction_direction.rb +2 -5
- data/lib/modern_treasury/models/transaction_list_params.rb +47 -106
- data/lib/modern_treasury/models/transaction_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/transaction_update_params.rb +9 -14
- data/lib/modern_treasury/models/transactions/line_item_create_params.rb +12 -11
- data/lib/modern_treasury/models/transactions/line_item_delete_params.rb +3 -8
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +14 -34
- data/lib/modern_treasury/models/transactions/line_item_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +39 -51
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +14 -16
- data/lib/modern_treasury/models/virtual_account.rb +37 -45
- data/lib/modern_treasury/models/virtual_account_create_params.rb +114 -175
- data/lib/modern_treasury/models/virtual_account_delete_params.rb +3 -8
- data/lib/modern_treasury/models/virtual_account_list_params.rb +20 -43
- data/lib/modern_treasury/models/virtual_account_retrieve_params.rb +3 -8
- data/lib/modern_treasury/models/virtual_account_update_params.rb +14 -27
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +61 -83
- data/lib/modern_treasury/models.rb +461 -0
- data/lib/modern_treasury/request_options.rb +8 -6
- data/lib/modern_treasury/resources/account_collection_flows.rb +20 -11
- data/lib/modern_treasury/resources/account_details.rb +36 -19
- data/lib/modern_treasury/resources/bulk_requests.rb +31 -14
- data/lib/modern_treasury/resources/bulk_results.rb +20 -9
- data/lib/modern_treasury/resources/connection_legal_entities.rb +19 -13
- data/lib/modern_treasury/resources/connections.rb +8 -4
- data/lib/modern_treasury/resources/counterparties.rb +83 -38
- data/lib/modern_treasury/resources/documents.rb +23 -11
- data/lib/modern_treasury/resources/events.rb +14 -6
- data/lib/modern_treasury/resources/expected_payments.rb +117 -55
- data/lib/modern_treasury/resources/external_accounts.rb +83 -35
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +41 -19
- data/lib/modern_treasury/resources/incoming_payment_details.rb +57 -26
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +45 -18
- data/lib/modern_treasury/resources/internal_accounts.rb +66 -31
- data/lib/modern_treasury/resources/invoices/line_items.rb +62 -32
- data/lib/modern_treasury/resources/invoices.rb +140 -66
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +46 -20
- data/lib/modern_treasury/resources/ledger_account_categories.rb +86 -45
- data/lib/modern_treasury/resources/ledger_account_settlements/account_entries.rb +18 -8
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +56 -24
- data/lib/modern_treasury/resources/ledger_account_statements.rb +16 -7
- data/lib/modern_treasury/resources/ledger_accounts.rb +78 -35
- data/lib/modern_treasury/resources/ledger_entries.rb +57 -24
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +34 -14
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +16 -6
- data/lib/modern_treasury/resources/ledger_transactions.rb +116 -49
- data/lib/modern_treasury/resources/ledgerable_events.rb +16 -8
- data/lib/modern_treasury/resources/ledgers.rb +43 -20
- data/lib/modern_treasury/resources/legal_entities.rb +116 -50
- data/lib/modern_treasury/resources/legal_entity_associations.rb +16 -7
- data/lib/modern_treasury/resources/line_items.rb +31 -17
- data/lib/modern_treasury/resources/paper_items.rb +16 -7
- data/lib/modern_treasury/resources/payment_actions.rb +137 -0
- data/lib/modern_treasury/resources/payment_flows.rb +31 -16
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +25 -13
- data/lib/modern_treasury/resources/payment_orders.rb +256 -121
- data/lib/modern_treasury/resources/payment_references.rb +16 -7
- data/lib/modern_treasury/resources/returns.rb +37 -17
- data/lib/modern_treasury/resources/routing_details.rb +38 -20
- data/lib/modern_treasury/resources/transactions/line_items.rb +18 -10
- data/lib/modern_treasury/resources/transactions.rb +65 -28
- data/lib/modern_treasury/resources/validations.rb +10 -4
- data/lib/modern_treasury/resources/virtual_accounts.rb +51 -23
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +14 -10
- data/rbi/{lib/modern_treasury → modern_treasury}/client.rbi +16 -12
- data/rbi/{lib/modern_treasury → modern_treasury}/errors.rbi +34 -15
- data/rbi/modern_treasury/file_part.rbi +37 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/page.rbi +8 -4
- data/rbi/modern_treasury/internal/transport/base_client.rbi +303 -0
- data/rbi/modern_treasury/internal/transport/pooled_net_requester.rbi +80 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/array_of.rbi +46 -23
- data/rbi/modern_treasury/internal/type/base_model.rbi +310 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/base_page.rbi +15 -8
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/boolean.rbi +18 -9
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/converter.rbi +75 -28
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/enum.rbi +31 -18
- data/rbi/{lib/modern_treasury/internal/type/io_like.rbi → modern_treasury/internal/type/file_input.rbi} +19 -6
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/hash_of.rbi +46 -23
- data/rbi/modern_treasury/internal/type/request_parameters.rbi +31 -0
- data/rbi/modern_treasury/internal/type/union.rbi +116 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/internal/type/unknown.rbi +22 -6
- data/rbi/modern_treasury/internal/util.rbi +485 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/internal.rbi +7 -1
- data/rbi/modern_treasury/models/account_collection_flow.rbi +372 -0
- data/rbi/modern_treasury/models/account_collection_flow_create_params.rbi +197 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/account_collection_flow_list_params.rbi +26 -17
- data/rbi/modern_treasury/models/account_collection_flow_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/account_collection_flow_update_params.rbi +85 -0
- data/rbi/modern_treasury/models/account_detail.rbi +198 -0
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +209 -0
- data/rbi/modern_treasury/models/account_detail_delete_params.rbi +81 -0
- data/rbi/modern_treasury/models/account_detail_list_params.rbi +59 -0
- data/rbi/modern_treasury/models/account_detail_retrieve_params.rbi +46 -0
- data/rbi/modern_treasury/models/accounts_type.rbi +24 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/async_response.rbi +13 -3
- data/rbi/{lib/modern_treasury → modern_treasury}/models/bank_settings.rbi +35 -19
- data/rbi/modern_treasury/models/bulk_request.rbi +231 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +7199 -0
- data/rbi/modern_treasury/models/bulk_request_list_params.rbi +264 -0
- data/rbi/modern_treasury/models/bulk_request_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/bulk_result.rbi +401 -0
- data/rbi/modern_treasury/models/bulk_result_list_params.rbi +270 -0
- data/rbi/modern_treasury/models/bulk_result_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/client_ping_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/connection.rbi +29 -18
- data/rbi/modern_treasury/models/connection_legal_entity.rbi +148 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +2052 -0
- data/rbi/modern_treasury/models/connection_legal_entity_list_params.rbi +137 -0
- data/rbi/modern_treasury/models/connection_legal_entity_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/connection_legal_entity_update_params.rbi +92 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/connection_list_params.rbi +23 -14
- data/rbi/modern_treasury/models/counterparty.rbi +796 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +291 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_response.rbi +58 -0
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +3527 -0
- data/rbi/modern_treasury/models/counterparty_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/counterparty_list_params.rbi +38 -19
- data/rbi/modern_treasury/models/counterparty_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/counterparty_update_params.rbi +34 -17
- data/rbi/modern_treasury/models/currency.rbi +214 -0
- data/rbi/modern_treasury/models/document.rbi +339 -0
- data/rbi/modern_treasury/models/document_create_params.rbi +159 -0
- data/rbi/modern_treasury/models/document_list_params.rbi +176 -0
- data/rbi/modern_treasury/models/document_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/event.rbi +29 -18
- data/rbi/{lib/modern_treasury → modern_treasury}/models/event_list_params.rbi +29 -18
- data/rbi/modern_treasury/models/event_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/expected_payment.rbi +387 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/expected_payment_create_params.rbi +341 -157
- data/rbi/modern_treasury/models/expected_payment_delete_params.rbi +32 -0
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +422 -0
- data/rbi/modern_treasury/models/expected_payment_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +71 -0
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +289 -0
- data/rbi/modern_treasury/models/external_account.rbi +540 -0
- data/rbi/modern_treasury/models/external_account_complete_verification_params.rbi +44 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +1196 -0
- data/rbi/modern_treasury/models/external_account_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/external_account_list_params.rbi +29 -16
- data/rbi/modern_treasury/models/external_account_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/external_account_type.rbi +55 -0
- data/rbi/modern_treasury/models/external_account_update_params.rbi +237 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +387 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/external_account_verify_response.rbi +113 -71
- data/rbi/{lib/modern_treasury → modern_treasury}/models/foreign_exchange_quote.rbi +86 -51
- data/rbi/{lib/modern_treasury → modern_treasury}/models/foreign_exchange_quote_create_params.rbi +39 -22
- data/rbi/{lib/modern_treasury → modern_treasury}/models/foreign_exchange_quote_list_params.rbi +38 -20
- data/rbi/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +617 -0
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +279 -0
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +299 -0
- data/rbi/modern_treasury/models/incoming_payment_detail_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/incoming_payment_detail_update_params.rbi +25 -6
- data/rbi/modern_treasury/models/internal_account.rbi +432 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +369 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +335 -0
- data/rbi/modern_treasury/models/internal_account_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/internal_account_update_params.rbi +31 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/models/internal_accounts/balance_report.rbi +155 -82
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +288 -0
- data/rbi/modern_treasury/models/internal_accounts/balance_report_delete_params.rbi +43 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/internal_accounts/balance_report_list_params.rbi +47 -33
- data/rbi/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +43 -0
- data/rbi/modern_treasury/models/invoice.rbi +822 -0
- data/rbi/modern_treasury/models/invoice_add_payment_order_params.rbi +38 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoice_create_params.rbi +416 -192
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoice_list_params.rbi +80 -37
- data/rbi/modern_treasury/models/invoice_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoice_update_params.rbi +416 -192
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoices/invoice_line_item.rbi +59 -24
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoices/line_item_create_params.rbi +41 -18
- data/rbi/modern_treasury/models/invoices/line_item_delete_params.rbi +43 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoices/line_item_list_params.rbi +21 -13
- data/rbi/modern_treasury/models/invoices/line_item_retrieve_params.rbi +43 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/invoices/line_item_update_params.rbi +42 -19
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger.rbi +27 -17
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account.rbi +244 -120
- data/rbi/modern_treasury/models/ledger_account_balance_monitor.rbi +551 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_balance_monitor_create_params.rbi +69 -29
- data/rbi/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_balance_monitor_list_params.rbi +28 -15
- data/rbi/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_balance_monitor_update_params.rbi +28 -13
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_category.rbi +202 -115
- data/rbi/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbi +38 -0
- data/rbi/modern_treasury/models/ledger_account_category_add_nested_category_params.rbi +38 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_category_create_params.rbi +40 -21
- data/rbi/modern_treasury/models/ledger_account_category_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_category_list_params.rbi +64 -35
- data/rbi/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbi +38 -0
- data/rbi/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbi +38 -0
- data/rbi/modern_treasury/models/ledger_account_category_retrieve_params.rbi +101 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_category_update_params.rbi +31 -14
- data/rbi/modern_treasury/models/ledger_account_create_params.rbi +200 -0
- data/rbi/modern_treasury/models/ledger_account_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_list_params.rbi +182 -87
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_retrieve_params.rbi +62 -31
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_settlement.rbi +104 -39
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_settlement_create_params.rbi +81 -29
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_settlement_list_params.rbi +41 -21
- data/rbi/modern_treasury/models/ledger_account_settlement_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/ledger_account_settlement_update_params.rbi +121 -0
- data/rbi/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbi +50 -0
- data/rbi/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbi +50 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_statement_create_params.rbi +34 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_statement_create_response.rbi +389 -222
- data/rbi/modern_treasury/models/ledger_account_statement_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_statement_retrieve_response.rbi +389 -222
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_account_update_params.rbi +31 -14
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_create_params.rbi +31 -14
- data/rbi/modern_treasury/models/ledger_delete_params.rbi +32 -0
- data/rbi/modern_treasury/models/ledger_entry.rbi +519 -0
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +474 -0
- data/rbi/modern_treasury/models/ledger_entry_retrieve_params.rbi +51 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_entry_update_params.rbi +25 -6
- data/rbi/modern_treasury/models/ledger_event_handler.rbi +322 -0
- data/rbi/modern_treasury/models/ledger_event_handler_create_params.rbi +303 -0
- data/rbi/modern_treasury/models/ledger_event_handler_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_event_handler_list_params.rbi +28 -15
- data/rbi/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/ledger_event_handler_variable.rbi +98 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_list_params.rbi +30 -15
- data/rbi/modern_treasury/models/ledger_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/ledger_transaction.rbi +298 -0
- data/rbi/modern_treasury/models/ledger_transaction_create_params.rbi +410 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_transaction_create_partial_post_params.rbi +95 -52
- data/rbi/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +249 -0
- data/rbi/modern_treasury/models/ledger_transaction_list_params.rbi +506 -0
- data/rbi/modern_treasury/models/ledger_transaction_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/ledger_transaction_update_params.rbi +396 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_transactions/ledger_transaction_version.rbi +358 -214
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_transactions/version_list_params.rbi +35 -17
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledger_update_params.rbi +31 -14
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledgerable_event.rbi +36 -19
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ledgerable_event_create_params.rbi +34 -15
- data/rbi/modern_treasury/models/ledgerable_event_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +875 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +1112 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +1056 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/legal_entity_compliance_detail.rbi +38 -21
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +1940 -0
- data/rbi/modern_treasury/models/legal_entity_industry_classification.rbi +194 -0
- data/rbi/modern_treasury/models/legal_entity_list_params.rbi +133 -0
- data/rbi/modern_treasury/models/legal_entity_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +828 -0
- data/rbi/modern_treasury/models/line_item.rbi +217 -0
- data/rbi/modern_treasury/models/line_item_list_params.rbi +94 -0
- data/rbi/modern_treasury/models/line_item_retrieve_params.rbi +86 -0
- data/rbi/modern_treasury/models/line_item_update_params.rbi +98 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/paper_item.rbi +79 -39
- data/rbi/{lib/modern_treasury → modern_treasury}/models/paper_item_list_params.rbi +29 -16
- data/rbi/modern_treasury/models/paper_item_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_action_create_params.rbi +94 -0
- data/rbi/modern_treasury/models/payment_action_create_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +306 -0
- data/rbi/modern_treasury/models/payment_action_list_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_action_retrieve_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_action_update_params.rbi +106 -0
- data/rbi/modern_treasury/models/payment_action_update_response.rbi +118 -0
- data/rbi/modern_treasury/models/payment_flow.rbi +387 -0
- data/rbi/modern_treasury/models/payment_flow_create_params.rbi +136 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/payment_flow_list_params.rbi +28 -19
- data/rbi/modern_treasury/models/payment_flow_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_flow_update_params.rbi +76 -0
- data/rbi/modern_treasury/models/payment_order.rbi +1461 -0
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +2473 -0
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +2631 -0
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +542 -0
- data/rbi/modern_treasury/models/payment_order_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +66 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +64 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +2136 -0
- data/rbi/modern_treasury/models/payment_orders/reversal.rbi +221 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/payment_orders/reversal_create_params.rbi +228 -126
- data/rbi/{lib/modern_treasury → modern_treasury}/models/payment_orders/reversal_list_params.rbi +21 -13
- data/rbi/modern_treasury/models/payment_orders/reversal_retrieve_params.rbi +43 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +564 -0
- data/rbi/modern_treasury/models/payment_reference_list_params.rbi +144 -0
- data/rbi/modern_treasury/models/payment_reference_retireve_params.rbi +32 -0
- data/rbi/modern_treasury/models/payment_reference_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/ping_response.rbi +10 -3
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +286 -0
- data/rbi/modern_treasury/models/return_create_params.rbi +345 -0
- data/rbi/modern_treasury/models/return_list_params.rbi +162 -0
- data/rbi/modern_treasury/models/return_object.rbi +1011 -0
- data/rbi/modern_treasury/models/return_retrieve_params.rbi +32 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +523 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +455 -0
- data/rbi/modern_treasury/models/routing_detail_delete_params.rbi +81 -0
- data/rbi/modern_treasury/models/routing_detail_list_params.rbi +59 -0
- data/rbi/modern_treasury/models/routing_detail_retrieve_params.rbi +46 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +494 -0
- data/rbi/modern_treasury/models/transaction.rbi +588 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +346 -0
- data/rbi/modern_treasury/models/transaction_delete_params.rbi +32 -0
- data/rbi/modern_treasury/models/transaction_direction.rbi +25 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/transaction_list_params.rbi +47 -25
- data/rbi/modern_treasury/models/transaction_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/transaction_update_params.rbi +25 -6
- data/rbi/{lib/modern_treasury → modern_treasury}/models/transactions/line_item_create_params.rbi +31 -14
- data/rbi/modern_treasury/models/transactions/line_item_delete_params.rbi +34 -0
- data/rbi/modern_treasury/models/transactions/line_item_list_params.rbi +125 -0
- data/rbi/modern_treasury/models/transactions/line_item_retrieve_params.rbi +34 -0
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +276 -0
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +199 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/virtual_account.rbi +57 -29
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +957 -0
- data/rbi/modern_treasury/models/virtual_account_delete_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/virtual_account_list_params.rbi +28 -16
- data/rbi/modern_treasury/models/virtual_account_retrieve_params.rbi +32 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/models/virtual_account_update_params.rbi +22 -14
- data/rbi/modern_treasury/models/wealth_and_employment_details.rbi +812 -0
- data/rbi/modern_treasury/models.rbi +498 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/request_options.rbi +20 -5
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/account_collection_flows.rbi +29 -18
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/account_details.rbi +30 -22
- data/rbi/modern_treasury/resources/bulk_requests.rbi +97 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/bulk_results.rbi +17 -12
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/connection_legal_entities.rbi +29 -22
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/connections.rbi +7 -5
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/counterparties.rbi +47 -32
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/documents.rbi +22 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/events.rbi +12 -9
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/expected_payments.rbi +63 -37
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/external_accounts.rbi +74 -70
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/foreign_exchange_quotes.rbi +20 -14
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/incoming_payment_details.rbi +32 -22
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/internal_accounts/balance_reports.rbi +33 -44
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/internal_accounts.rbi +39 -25
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/invoices/line_items.rbi +30 -45
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/invoices.rbi +80 -66
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_account_balance_monitors.rbi +32 -24
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_account_categories.rbi +53 -45
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_account_settlements/account_entries.rbi +12 -19
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_account_settlements.rbi +36 -19
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_account_statements.rbi +13 -8
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_accounts.rbi +39 -37
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_entries.rbi +20 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_event_handlers.rbi +36 -29
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_transactions/versions.rbi +10 -11
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledger_transactions.rbi +62 -51
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledgerable_events.rbi +12 -9
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/ledgers.rbi +27 -21
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/legal_entities.rbi +82 -45
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/legal_entity_associations.rbi +13 -10
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/line_items.rbi +23 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/paper_items.rbi +12 -9
- data/rbi/modern_treasury/resources/payment_actions.rbi +119 -0
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/payment_flows.rbi +25 -19
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/payment_orders/reversals.rbi +24 -32
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/payment_orders.rbi +114 -80
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/payment_references.rbi +15 -9
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/returns.rbi +22 -16
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/routing_details.rbi +34 -23
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/transactions/line_items.rbi +26 -36
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/transactions.rbi +29 -22
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/validations.rbi +9 -6
- data/rbi/{lib/modern_treasury → modern_treasury}/resources/virtual_accounts.rbi +38 -36
- data/sig/modern_treasury/client.rbs +3 -1
- data/sig/modern_treasury/file_part.rbs +21 -0
- data/sig/modern_treasury/internal/page.rbs +1 -1
- data/sig/modern_treasury/internal/transport/base_client.rbs +25 -4
- data/sig/modern_treasury/internal/transport/pooled_net_requester.rbs +4 -0
- data/sig/modern_treasury/internal/type/array_of.rbs +5 -0
- data/sig/modern_treasury/internal/type/base_model.rbs +19 -1
- data/sig/modern_treasury/internal/type/base_page.rbs +1 -1
- data/sig/modern_treasury/internal/type/boolean.rbs +3 -0
- data/sig/modern_treasury/internal/type/converter.rbs +2 -0
- data/sig/modern_treasury/internal/type/enum.rbs +5 -2
- data/sig/modern_treasury/internal/type/{io_like.rbs → file_input.rbs} +3 -1
- data/sig/modern_treasury/internal/type/hash_of.rbs +5 -0
- data/sig/modern_treasury/internal/type/request_parameters.rbs +5 -1
- data/sig/modern_treasury/internal/type/union.rbs +5 -0
- data/sig/modern_treasury/internal/type/unknown.rbs +3 -0
- data/sig/modern_treasury/internal/util.rbs +41 -12
- data/sig/modern_treasury/internal.rbs +5 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +13 -1
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +6 -1
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +9 -1
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +4 -1
- data/sig/modern_treasury/models/account_detail.rbs +19 -1
- data/sig/modern_treasury/models/account_detail_create_params.rbs +14 -1
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +5 -1
- data/sig/modern_treasury/models/account_detail_list_params.rbs +6 -1
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +5 -1
- data/sig/modern_treasury/models/async_response.rbs +1 -1
- data/sig/modern_treasury/models/bank_settings.rbs +12 -1
- data/sig/modern_treasury/models/bulk_request.rbs +16 -1
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +504 -158
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +11 -1
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/bulk_result.rbs +34 -12
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +12 -1
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/client_ping_params.rbs +1 -1
- data/sig/modern_treasury/models/connection.rbs +11 -1
- data/sig/modern_treasury/models/connection_legal_entity.rbs +12 -1
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +197 -85
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +8 -1
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +4 -1
- data/sig/modern_treasury/models/connection_list_params.rbs +7 -1
- data/sig/modern_treasury/models/counterparty.rbs +79 -25
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +7 -1
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +1 -1
- data/sig/modern_treasury/models/counterparty_create_params.rbs +306 -127
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/counterparty_list_params.rbs +11 -1
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/counterparty_update_params.rbs +9 -1
- data/sig/modern_treasury/models/currency.rbs +14 -0
- data/sig/modern_treasury/models/document.rbs +40 -14
- data/sig/modern_treasury/models/document_create_params.rbs +15 -9
- data/sig/modern_treasury/models/document_list_params.rbs +12 -6
- data/sig/modern_treasury/models/document_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/event.rbs +12 -1
- data/sig/modern_treasury/models/event_list_params.rbs +10 -1
- data/sig/modern_treasury/models/event_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/expected_payment.rbs +31 -4
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +66 -20
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +36 -2
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/expected_payment_type.rbs +8 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +23 -4
- data/sig/modern_treasury/models/external_account.rbs +56 -15
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +4 -1
- data/sig/modern_treasury/models/external_account_create_params.rbs +90 -31
- data/sig/modern_treasury/models/external_account_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/external_account_list_params.rbs +8 -1
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/external_account_type.rbs +11 -1
- data/sig/modern_treasury/models/external_account_update_params.rbs +23 -7
- data/sig/modern_treasury/models/external_account_verify_params.rbs +16 -1
- data/sig/modern_treasury/models/external_account_verify_response.rbs +22 -3
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +26 -5
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +9 -1
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +12 -1
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +38 -4
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +12 -1
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +12 -1
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +4 -1
- data/sig/modern_treasury/models/internal_account.rbs +57 -15
- data/sig/modern_treasury/models/internal_account_create_params.rbs +69 -7
- data/sig/modern_treasury/models/internal_account_list_params.rbs +19 -1
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/internal_account_update_params.rbs +8 -1
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +30 -5
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +16 -5
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +4 -1
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +7 -1
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +4 -1
- data/sig/modern_treasury/models/invoice.rbs +91 -23
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +4 -1
- data/sig/modern_treasury/models/invoice_create_params.rbs +88 -23
- data/sig/modern_treasury/models/invoice_list_params.rbs +14 -1
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/invoice_update_params.rbs +88 -23
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +20 -1
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +10 -1
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +4 -1
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +5 -1
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +4 -1
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +11 -1
- data/sig/modern_treasury/models/ledger.rbs +11 -1
- data/sig/modern_treasury/models/ledger_account.rbs +57 -17
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +63 -25
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +11 -5
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +8 -1
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +5 -1
- data/sig/modern_treasury/models/ledger_account_category.rbs +52 -17
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +11 -1
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +19 -7
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +10 -7
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +6 -1
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +13 -1
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +67 -25
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +16 -9
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +19 -1
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +11 -1
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +13 -1
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +6 -1
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +8 -1
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +69 -9
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +69 -9
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +6 -1
- data/sig/modern_treasury/models/ledger_create_params.rbs +6 -1
- data/sig/modern_treasury/models/ledger_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_entry.rbs +56 -17
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +32 -7
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +4 -1
- data/sig/modern_treasury/models/ledger_event_handler.rbs +39 -16
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +34 -16
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +8 -1
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +8 -8
- data/sig/modern_treasury/models/ledger_list_params.rbs +8 -1
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_transaction.rbs +24 -4
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +26 -5
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +16 -5
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +10 -1
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +31 -7
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +26 -7
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +79 -21
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +9 -1
- data/sig/modern_treasury/models/ledger_update_params.rbs +6 -1
- data/sig/modern_treasury/models/ledgerable_event.rbs +12 -1
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +7 -1
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/legal_entity.rbs +96 -28
- data/sig/modern_treasury/models/legal_entity_association.rbs +108 -29
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +99 -41
- data/sig/modern_treasury/models/legal_entity_compliance_detail.rbs +14 -1
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +187 -79
- data/sig/modern_treasury/models/legal_entity_industry_classification.rbs +10 -1
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +8 -1
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +85 -35
- data/sig/modern_treasury/models/line_item.rbs +19 -5
- data/sig/modern_treasury/models/line_item_list_params.rbs +6 -1
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +5 -1
- data/sig/modern_treasury/models/line_item_update_params.rbs +6 -1
- data/sig/modern_treasury/models/paper_item.rbs +25 -1
- data/sig/modern_treasury/models/paper_item_list_params.rbs +8 -1
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/payment_action_create_params.rbs +54 -0
- data/sig/modern_treasury/models/payment_action_create_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +149 -0
- data/sig/modern_treasury/models/payment_action_list_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_retrieve_params.rbs +15 -0
- data/sig/modern_treasury/models/payment_action_retrieve_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_action_update_params.rbs +40 -0
- data/sig/modern_treasury/models/payment_action_update_response.rbs +70 -0
- data/sig/modern_treasury/models/payment_flow.rbs +21 -1
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +9 -1
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +11 -1
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +4 -1
- data/sig/modern_treasury/models/payment_order.rbs +90 -31
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +178 -59
- data/sig/modern_treasury/models/payment_order_create_params.rbs +198 -73
- data/sig/modern_treasury/models/payment_order_list_params.rbs +28 -1
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/payment_order_type.rbs +8 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +147 -49
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +13 -1
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +36 -11
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +5 -1
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +4 -1
- data/sig/modern_treasury/models/payment_reference.rbs +19 -1
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +8 -1
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +1 -1
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/ping_response.rbs +1 -1
- data/sig/modern_treasury/models/reconciliation_rule.rbs +20 -1
- data/sig/modern_treasury/models/return_create_params.rbs +90 -1
- data/sig/modern_treasury/models/return_list_params.rbs +9 -1
- data/sig/modern_treasury/models/return_object.rbs +134 -8
- data/sig/modern_treasury/models/return_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/routing_detail.rbs +37 -5
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +15 -1
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +5 -1
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +6 -1
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +5 -1
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +29 -7
- data/sig/modern_treasury/models/transaction.rbs +51 -5
- data/sig/modern_treasury/models/transaction_create_params.rbs +21 -1
- data/sig/modern_treasury/models/transaction_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/transaction_list_params.rbs +17 -1
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/transaction_update_params.rbs +4 -1
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +6 -1
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +8 -1
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +17 -1
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +5 -1
- data/sig/modern_treasury/models/virtual_account.rbs +24 -7
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +65 -19
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +1 -1
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +8 -1
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +1 -1
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +7 -1
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +20 -1
- data/sig/modern_treasury/models.rbs +411 -0
- data/sig/modern_treasury/request_options.rbs +1 -1
- data/sig/modern_treasury/resources/account_collection_flows.rbs +4 -4
- data/sig/modern_treasury/resources/account_details.rbs +3 -3
- data/sig/modern_treasury/resources/bulk_requests.rbs +3 -3
- data/sig/modern_treasury/resources/bulk_results.rbs +2 -2
- data/sig/modern_treasury/resources/connection_legal_entities.rbs +5 -5
- data/sig/modern_treasury/resources/connections.rbs +1 -1
- data/sig/modern_treasury/resources/counterparties.rbs +8 -8
- data/sig/modern_treasury/resources/documents.rbs +4 -4
- data/sig/modern_treasury/resources/events.rbs +2 -2
- data/sig/modern_treasury/resources/expected_payments.rbs +11 -9
- data/sig/modern_treasury/resources/external_accounts.rbs +11 -11
- data/sig/modern_treasury/resources/foreign_exchange_quotes.rbs +3 -3
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +4 -4
- data/sig/modern_treasury/resources/internal_accounts/balance_reports.rbs +4 -4
- data/sig/modern_treasury/resources/internal_accounts.rbs +6 -5
- data/sig/modern_treasury/resources/invoices/line_items.rbs +5 -5
- data/sig/modern_treasury/resources/invoices.rbs +14 -14
- data/sig/modern_treasury/resources/ledger_account_balance_monitors.rbs +6 -6
- data/sig/modern_treasury/resources/ledger_account_categories.rbs +7 -7
- data/sig/modern_treasury/resources/ledger_account_settlements.rbs +4 -4
- data/sig/modern_treasury/resources/ledger_accounts.rbs +10 -10
- data/sig/modern_treasury/resources/ledger_entries.rbs +4 -4
- data/sig/modern_treasury/resources/ledger_event_handlers.rbs +7 -7
- data/sig/modern_treasury/resources/ledger_transactions/versions.rbs +1 -1
- data/sig/modern_treasury/resources/ledger_transactions.rbs +10 -10
- data/sig/modern_treasury/resources/ledgerable_events.rbs +2 -2
- data/sig/modern_treasury/resources/ledgers.rbs +5 -5
- data/sig/modern_treasury/resources/legal_entities.rbs +19 -19
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +2 -2
- data/sig/modern_treasury/resources/line_items.rbs +3 -3
- data/sig/modern_treasury/resources/paper_items.rbs +2 -2
- data/sig/modern_treasury/resources/payment_actions.rbs +40 -0
- data/sig/modern_treasury/resources/payment_flows.rbs +4 -4
- data/sig/modern_treasury/resources/payment_orders/reversals.rbs +4 -4
- data/sig/modern_treasury/resources/payment_orders.rbs +17 -17
- data/sig/modern_treasury/resources/payment_references.rbs +2 -2
- data/sig/modern_treasury/resources/returns.rbs +3 -3
- data/sig/modern_treasury/resources/routing_details.rbs +3 -3
- data/sig/modern_treasury/resources/transactions/line_items.rbs +3 -3
- data/sig/modern_treasury/resources/transactions.rbs +4 -4
- data/sig/modern_treasury/resources/validations.rbs +1 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +8 -8
- metadata +324 -291
- data/rbi/lib/modern_treasury/internal/transport/base_client.rbi +0 -199
- data/rbi/lib/modern_treasury/internal/transport/pooled_net_requester.rbi +0 -60
- data/rbi/lib/modern_treasury/internal/type/base_model.rbi +0 -203
- data/rbi/lib/modern_treasury/internal/type/request_parameters.rbi +0 -21
- data/rbi/lib/modern_treasury/internal/type/union.rbi +0 -77
- data/rbi/lib/modern_treasury/internal/util.rbi +0 -300
- data/rbi/lib/modern_treasury/models/account_collection_flow.rbi +0 -197
- data/rbi/lib/modern_treasury/models/account_collection_flow_create_params.rbi +0 -117
- data/rbi/lib/modern_treasury/models/account_collection_flow_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/account_collection_flow_update_params.rbi +0 -54
- data/rbi/lib/modern_treasury/models/account_detail.rbi +0 -111
- data/rbi/lib/modern_treasury/models/account_detail_create_params.rbi +0 -103
- data/rbi/lib/modern_treasury/models/account_detail_delete_params.rbi +0 -53
- data/rbi/lib/modern_treasury/models/account_detail_list_params.rbi +0 -46
- data/rbi/lib/modern_treasury/models/account_detail_retrieve_params.rbi +0 -38
- data/rbi/lib/modern_treasury/models/accounts_type.rbi +0 -18
- data/rbi/lib/modern_treasury/models/bulk_request.rbi +0 -160
- data/rbi/lib/modern_treasury/models/bulk_request_create_params.rbi +0 -6245
- data/rbi/lib/modern_treasury/models/bulk_request_list_params.rbi +0 -144
- data/rbi/lib/modern_treasury/models/bulk_request_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/bulk_result.rbi +0 -285
- data/rbi/lib/modern_treasury/models/bulk_result_list_params.rbi +0 -154
- data/rbi/lib/modern_treasury/models/bulk_result_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/client_ping_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/connection_legal_entity.rbi +0 -106
- data/rbi/lib/modern_treasury/models/connection_legal_entity_create_params.rbi +0 -1797
- data/rbi/lib/modern_treasury/models/connection_legal_entity_list_params.rbi +0 -90
- data/rbi/lib/modern_treasury/models/connection_legal_entity_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/connection_legal_entity_update_params.rbi +0 -55
- data/rbi/lib/modern_treasury/models/counterparty.rbi +0 -591
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_params.rbi +0 -158
- data/rbi/lib/modern_treasury/models/counterparty_collect_account_response.rbi +0 -29
- data/rbi/lib/modern_treasury/models/counterparty_create_params.rbi +0 -2902
- data/rbi/lib/modern_treasury/models/counterparty_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/counterparty_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/currency.rbi +0 -206
- data/rbi/lib/modern_treasury/models/document.rbi +0 -234
- data/rbi/lib/modern_treasury/models/document_create_params.rbi +0 -92
- data/rbi/lib/modern_treasury/models/document_list_params.rbi +0 -109
- data/rbi/lib/modern_treasury/models/document_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/event_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/expected_payment.rbi +0 -267
- data/rbi/lib/modern_treasury/models/expected_payment_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/expected_payment_list_params.rbi +0 -192
- data/rbi/lib/modern_treasury/models/expected_payment_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/expected_payment_type.rbi +0 -49
- data/rbi/lib/modern_treasury/models/expected_payment_update_params.rbi +0 -196
- data/rbi/lib/modern_treasury/models/external_account.rbi +0 -403
- data/rbi/lib/modern_treasury/models/external_account_complete_verification_params.rbi +0 -28
- data/rbi/lib/modern_treasury/models/external_account_create_params.rbi +0 -986
- data/rbi/lib/modern_treasury/models/external_account_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/external_account_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/external_account_type.rbi +0 -26
- data/rbi/lib/modern_treasury/models/external_account_update_params.rbi +0 -170
- data/rbi/lib/modern_treasury/models/external_account_verify_params.rbi +0 -161
- data/rbi/lib/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/incoming_payment_detail.rbi +0 -436
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +0 -170
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_list_params.rbi +0 -169
- data/rbi/lib/modern_treasury/models/incoming_payment_detail_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/internal_account.rbi +0 -294
- data/rbi/lib/modern_treasury/models/internal_account_create_params.rbi +0 -193
- data/rbi/lib/modern_treasury/models/internal_account_list_params.rbi +0 -154
- data/rbi/lib/modern_treasury/models/internal_account_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +0 -231
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_delete_params.rbi +0 -29
- data/rbi/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbi +0 -29
- data/rbi/lib/modern_treasury/models/invoice.rbi +0 -634
- data/rbi/lib/modern_treasury/models/invoice_add_payment_order_params.rbi +0 -25
- data/rbi/lib/modern_treasury/models/invoice_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/invoices/line_item_delete_params.rbi +0 -27
- data/rbi/lib/modern_treasury/models/invoices/line_item_retrieve_params.rbi +0 -27
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor.rbi +0 -438
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbi +0 -25
- data/rbi/lib/modern_treasury/models/ledger_account_category_add_nested_category_params.rbi +0 -25
- data/rbi/lib/modern_treasury/models/ledger_account_category_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbi +0 -25
- data/rbi/lib/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbi +0 -25
- data/rbi/lib/modern_treasury/models/ledger_account_category_retrieve_params.rbi +0 -73
- data/rbi/lib/modern_treasury/models/ledger_account_create_params.rbi +0 -142
- data/rbi/lib/modern_treasury/models/ledger_account_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_account_settlement_update_params.rbi +0 -76
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbi +0 -35
- data/rbi/lib/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbi +0 -35
- data/rbi/lib/modern_treasury/models/ledger_account_statement_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_entry.rbi +0 -410
- data/rbi/lib/modern_treasury/models/ledger_entry_list_params.rbi +0 -334
- data/rbi/lib/modern_treasury/models/ledger_entry_retrieve_params.rbi +0 -30
- data/rbi/lib/modern_treasury/models/ledger_event_handler.rbi +0 -226
- data/rbi/lib/modern_treasury/models/ledger_event_handler_create_params.rbi +0 -207
- data/rbi/lib/modern_treasury/models/ledger_event_handler_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_event_handler_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_event_handler_variable.rbi +0 -55
- data/rbi/lib/modern_treasury/models/ledger_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_transaction.rbi +0 -203
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_params.rbi +0 -283
- data/rbi/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rbi +0 -192
- data/rbi/lib/modern_treasury/models/ledger_transaction_list_params.rbi +0 -365
- data/rbi/lib/modern_treasury/models/ledger_transaction_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/ledger_transaction_update_params.rbi +0 -274
- data/rbi/lib/modern_treasury/models/ledgerable_event_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/legal_entity.rbi +0 -562
- data/rbi/lib/modern_treasury/models/legal_entity_association.rbi +0 -901
- data/rbi/lib/modern_treasury/models/legal_entity_association_create_params.rbi +0 -915
- data/rbi/lib/modern_treasury/models/legal_entity_create_params.rbi +0 -1460
- data/rbi/lib/modern_treasury/models/legal_entity_industry_classification.rbi +0 -136
- data/rbi/lib/modern_treasury/models/legal_entity_list_params.rbi +0 -90
- data/rbi/lib/modern_treasury/models/legal_entity_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/legal_entity_update_params.rbi +0 -509
- data/rbi/lib/modern_treasury/models/line_item.rbi +0 -156
- data/rbi/lib/modern_treasury/models/line_item_list_params.rbi +0 -62
- data/rbi/lib/modern_treasury/models/line_item_retrieve_params.rbi +0 -55
- data/rbi/lib/modern_treasury/models/line_item_update_params.rbi +0 -65
- data/rbi/lib/modern_treasury/models/paper_item_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/payment_flow.rbi +0 -280
- data/rbi/lib/modern_treasury/models/payment_flow_create_params.rbi +0 -95
- data/rbi/lib/modern_treasury/models/payment_flow_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/payment_flow_update_params.rbi +0 -50
- data/rbi/lib/modern_treasury/models/payment_order.rbi +0 -1145
- data/rbi/lib/modern_treasury/models/payment_order_create_async_params.rbi +0 -1984
- data/rbi/lib/modern_treasury/models/payment_order_create_params.rbi +0 -2083
- data/rbi/lib/modern_treasury/models/payment_order_list_params.rbi +0 -276
- data/rbi/lib/modern_treasury/models/payment_order_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/payment_order_subtype.rbi +0 -50
- data/rbi/lib/modern_treasury/models/payment_order_type.rbi +0 -49
- data/rbi/lib/modern_treasury/models/payment_order_update_params.rbi +0 -1642
- data/rbi/lib/modern_treasury/models/payment_orders/reversal.rbi +0 -140
- data/rbi/lib/modern_treasury/models/payment_orders/reversal_retrieve_params.rbi +0 -27
- data/rbi/lib/modern_treasury/models/payment_reference.rbi +0 -378
- data/rbi/lib/modern_treasury/models/payment_reference_list_params.rbi +0 -105
- data/rbi/lib/modern_treasury/models/payment_reference_retireve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/payment_reference_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/reconciliation_rule.rbi +0 -160
- data/rbi/lib/modern_treasury/models/return_create_params.rbi +0 -164
- data/rbi/lib/modern_treasury/models/return_list_params.rbi +0 -108
- data/rbi/lib/modern_treasury/models/return_object.rbi +0 -799
- data/rbi/lib/modern_treasury/models/return_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/routing_detail.rbi +0 -289
- data/rbi/lib/modern_treasury/models/routing_detail_create_params.rbi +0 -209
- data/rbi/lib/modern_treasury/models/routing_detail_delete_params.rbi +0 -53
- data/rbi/lib/modern_treasury/models/routing_detail_list_params.rbi +0 -46
- data/rbi/lib/modern_treasury/models/routing_detail_retrieve_params.rbi +0 -38
- data/rbi/lib/modern_treasury/models/routing_number_lookup_request.rbi +0 -295
- data/rbi/lib/modern_treasury/models/transaction.rbi +0 -388
- data/rbi/lib/modern_treasury/models/transaction_create_params.rbi +0 -158
- data/rbi/lib/modern_treasury/models/transaction_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/transaction_direction.rbi +0 -19
- data/rbi/lib/modern_treasury/models/transaction_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/transactions/line_item_delete_params.rbi +0 -21
- data/rbi/lib/modern_treasury/models/transactions/line_item_list_params.rbi +0 -89
- data/rbi/lib/modern_treasury/models/transactions/line_item_retrieve_params.rbi +0 -21
- data/rbi/lib/modern_treasury/models/transactions/transaction_line_item.rbi +0 -213
- data/rbi/lib/modern_treasury/models/validation_validate_routing_number_params.rbi +0 -176
- data/rbi/lib/modern_treasury/models/virtual_account_create_params.rbi +0 -769
- data/rbi/lib/modern_treasury/models/virtual_account_delete_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/virtual_account_retrieve_params.rbi +0 -19
- data/rbi/lib/modern_treasury/models/wealth_and_employment_details.rbi +0 -401
- data/rbi/lib/modern_treasury/resources/bulk_requests.rbi +0 -89
- /data/rbi/{lib/modern_treasury → modern_treasury}/version.rbi +0 -0
@@ -4,8 +4,7 @@ module ModernTreasury
|
|
4
4
|
module Models
|
5
5
|
# @see ModernTreasury::Resources::ConnectionLegalEntities#create
|
6
6
|
class ConnectionLegalEntityCreateParams < ModernTreasury::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
9
8
|
include ModernTreasury::Internal::Type::RequestParameters
|
10
9
|
|
11
10
|
# @!attribute connection_id
|
@@ -14,52 +13,41 @@ module ModernTreasury
|
|
14
13
|
# @return [String]
|
15
14
|
required :connection_id, String
|
16
15
|
|
17
|
-
# @!attribute
|
16
|
+
# @!attribute legal_entity
|
18
17
|
# The legal entity.
|
19
18
|
#
|
20
19
|
# @return [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity, nil]
|
21
|
-
optional :legal_entity, -> { ModernTreasury::
|
20
|
+
optional :legal_entity, -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity }
|
22
21
|
|
23
|
-
# @!
|
24
|
-
# # @return [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity]
|
25
|
-
# attr_writer :legal_entity
|
26
|
-
|
27
|
-
# @!attribute [r] legal_entity_id
|
22
|
+
# @!attribute legal_entity_id
|
28
23
|
# The ID of the legal entity.
|
29
24
|
#
|
30
25
|
# @return [String, nil]
|
31
26
|
optional :legal_entity_id, String
|
32
27
|
|
33
|
-
# @!
|
34
|
-
#
|
35
|
-
#
|
36
|
-
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
42
|
-
# #
|
43
|
-
# def initialize(connection_id:, legal_entity: nil, legal_entity_id: nil, request_options: {}, **) = super
|
44
|
-
|
45
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
28
|
+
# @!method initialize(connection_id:, legal_entity: nil, legal_entity_id: nil, request_options: {})
|
29
|
+
# @param connection_id [String] The ID of the connection.
|
30
|
+
#
|
31
|
+
# @param legal_entity [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity] The legal entity.
|
32
|
+
#
|
33
|
+
# @param legal_entity_id [String] The ID of the legal entity.
|
34
|
+
#
|
35
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
46
36
|
|
47
37
|
class LegalEntity < ModernTreasury::Internal::Type::BaseModel
|
48
|
-
# @!attribute
|
38
|
+
# @!attribute addresses
|
49
39
|
# A list of addresses for the entity.
|
50
40
|
#
|
51
41
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address>, nil]
|
52
42
|
optional :addresses,
|
53
|
-
-> {
|
54
|
-
|
55
|
-
|
56
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address>]
|
57
|
-
# attr_writer :addresses
|
43
|
+
-> {
|
44
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::Address]
|
45
|
+
}
|
58
46
|
|
59
47
|
# @!attribute bank_settings
|
60
48
|
#
|
61
49
|
# @return [ModernTreasury::Models::BankSettings, nil]
|
62
|
-
optional :bank_settings, -> { ModernTreasury::
|
50
|
+
optional :bank_settings, -> { ModernTreasury::BankSettings }, nil?: true
|
63
51
|
|
64
52
|
# @!attribute business_name
|
65
53
|
# The business's legal business name.
|
@@ -76,7 +64,7 @@ module ModernTreasury
|
|
76
64
|
# @!attribute compliance_details
|
77
65
|
#
|
78
66
|
# @return [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
79
|
-
optional :compliance_details, -> { ModernTreasury::
|
67
|
+
optional :compliance_details, -> { ModernTreasury::LegalEntityComplianceDetail }, nil?: true
|
80
68
|
|
81
69
|
# @!attribute date_formed
|
82
70
|
# A business's formation date (YYYY-MM-DD).
|
@@ -90,15 +78,11 @@ module ModernTreasury
|
|
90
78
|
# @return [Date, nil]
|
91
79
|
optional :date_of_birth, Date, nil?: true
|
92
80
|
|
93
|
-
# @!attribute
|
81
|
+
# @!attribute doing_business_as_names
|
94
82
|
#
|
95
83
|
# @return [Array<String>, nil]
|
96
84
|
optional :doing_business_as_names, ModernTreasury::Internal::Type::ArrayOf[String]
|
97
85
|
|
98
|
-
# @!parse
|
99
|
-
# # @return [Array<String>]
|
100
|
-
# attr_writer :doing_business_as_names
|
101
|
-
|
102
86
|
# @!attribute email
|
103
87
|
# The entity's primary email.
|
104
88
|
#
|
@@ -111,27 +95,23 @@ module ModernTreasury
|
|
111
95
|
# @return [String, nil]
|
112
96
|
optional :first_name, String, nil?: true
|
113
97
|
|
114
|
-
# @!attribute
|
98
|
+
# @!attribute identifications
|
115
99
|
# A list of identifications for the legal entity.
|
116
100
|
#
|
117
101
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification>, nil]
|
118
102
|
optional :identifications,
|
119
|
-
-> {
|
120
|
-
|
121
|
-
|
122
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification>]
|
123
|
-
# attr_writer :identifications
|
103
|
+
-> {
|
104
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::Identification]
|
105
|
+
}
|
124
106
|
|
125
|
-
# @!attribute
|
107
|
+
# @!attribute industry_classifications
|
126
108
|
# A list of industry classifications for the legal entity.
|
127
109
|
#
|
128
110
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
129
111
|
optional :industry_classifications,
|
130
|
-
-> {
|
131
|
-
|
132
|
-
|
133
|
-
# # @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>]
|
134
|
-
# attr_writer :industry_classifications
|
112
|
+
-> {
|
113
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
114
|
+
}
|
135
115
|
|
136
116
|
# @!attribute last_name
|
137
117
|
# An individual's last name.
|
@@ -144,54 +124,46 @@ module ModernTreasury
|
|
144
124
|
#
|
145
125
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation>, nil]
|
146
126
|
optional :legal_entity_associations,
|
147
|
-
-> {
|
127
|
+
-> {
|
128
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation]
|
129
|
+
},
|
148
130
|
nil?: true
|
149
131
|
|
150
|
-
# @!attribute
|
132
|
+
# @!attribute legal_entity_type
|
151
133
|
# The type of legal entity.
|
152
134
|
#
|
153
135
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityType, nil]
|
154
136
|
optional :legal_entity_type,
|
155
|
-
enum: -> { ModernTreasury::
|
156
|
-
|
157
|
-
# @!parse
|
158
|
-
# # @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityType]
|
159
|
-
# attr_writer :legal_entity_type
|
137
|
+
enum: -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityType }
|
160
138
|
|
161
139
|
# @!attribute legal_structure
|
162
140
|
# The business's legal structure.
|
163
141
|
#
|
164
142
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalStructure, nil]
|
165
143
|
optional :legal_structure,
|
166
|
-
enum: -> { ModernTreasury::
|
144
|
+
enum: -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalStructure },
|
167
145
|
nil?: true
|
168
146
|
|
169
|
-
# @!attribute
|
147
|
+
# @!attribute metadata
|
170
148
|
# Additional data represented as key-value pairs. Both the key and value must be
|
171
149
|
# strings.
|
172
150
|
#
|
173
151
|
# @return [Hash{Symbol=>String}, nil]
|
174
152
|
optional :metadata, ModernTreasury::Internal::Type::HashOf[String]
|
175
153
|
|
176
|
-
# @!parse
|
177
|
-
# # @return [Hash{Symbol=>String}]
|
178
|
-
# attr_writer :metadata
|
179
|
-
|
180
154
|
# @!attribute middle_name
|
181
155
|
# An individual's middle name.
|
182
156
|
#
|
183
157
|
# @return [String, nil]
|
184
158
|
optional :middle_name, String, nil?: true
|
185
159
|
|
186
|
-
# @!attribute
|
160
|
+
# @!attribute phone_numbers
|
187
161
|
#
|
188
162
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber>, nil]
|
189
163
|
optional :phone_numbers,
|
190
|
-
-> {
|
191
|
-
|
192
|
-
|
193
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber>]
|
194
|
-
# attr_writer :phone_numbers
|
164
|
+
-> {
|
165
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber]
|
166
|
+
}
|
195
167
|
|
196
168
|
# @!attribute politically_exposed_person
|
197
169
|
# Whether the individual is a politically exposed person.
|
@@ -216,7 +188,7 @@ module ModernTreasury
|
|
216
188
|
#
|
217
189
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::RiskRating, nil]
|
218
190
|
optional :risk_rating,
|
219
|
-
enum: -> { ModernTreasury::
|
191
|
+
enum: -> { ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::RiskRating },
|
220
192
|
nil?: true
|
221
193
|
|
222
194
|
# @!attribute suffix
|
@@ -228,9 +200,7 @@ module ModernTreasury
|
|
228
200
|
# @!attribute wealth_and_employment_details
|
229
201
|
#
|
230
202
|
# @return [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
231
|
-
optional :wealth_and_employment_details,
|
232
|
-
-> { ModernTreasury::Models::WealthAndEmploymentDetails },
|
233
|
-
nil?: true
|
203
|
+
optional :wealth_and_employment_details, -> { ModernTreasury::WealthAndEmploymentDetails }, nil?: true
|
234
204
|
|
235
205
|
# @!attribute website
|
236
206
|
# The entity's primary website URL.
|
@@ -238,69 +208,64 @@ module ModernTreasury
|
|
238
208
|
# @return [String, nil]
|
239
209
|
optional :website, String, nil?: true
|
240
210
|
|
241
|
-
# @!
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
#
|
299
|
-
# )
|
300
|
-
# super
|
301
|
-
# end
|
302
|
-
|
303
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
211
|
+
# @!method initialize(addresses: nil, bank_settings: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, first_name: nil, identifications: nil, industry_classifications: nil, last_name: nil, legal_entity_associations: nil, legal_entity_type: nil, legal_structure: nil, metadata: nil, middle_name: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, risk_rating: nil, suffix: nil, wealth_and_employment_details: nil, website: nil)
|
212
|
+
# Some parameter documentations has been truncated, see
|
213
|
+
# {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity} for
|
214
|
+
# more details.
|
215
|
+
#
|
216
|
+
# The legal entity.
|
217
|
+
#
|
218
|
+
# @param addresses [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address>] A list of addresses for the entity.
|
219
|
+
#
|
220
|
+
# @param bank_settings [ModernTreasury::Models::BankSettings, nil]
|
221
|
+
#
|
222
|
+
# @param business_name [String, nil] The business's legal business name.
|
223
|
+
#
|
224
|
+
# @param citizenship_country [String, nil] The country of citizenship for an individual.
|
225
|
+
#
|
226
|
+
# @param compliance_details [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
227
|
+
#
|
228
|
+
# @param date_formed [Date, nil] A business's formation date (YYYY-MM-DD).
|
229
|
+
#
|
230
|
+
# @param date_of_birth [Date, nil] An individual's date of birth (YYYY-MM-DD).
|
231
|
+
#
|
232
|
+
# @param doing_business_as_names [Array<String>]
|
233
|
+
#
|
234
|
+
# @param email [String, nil] The entity's primary email.
|
235
|
+
#
|
236
|
+
# @param first_name [String, nil] An individual's first name.
|
237
|
+
#
|
238
|
+
# @param identifications [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification>] A list of identifications for the legal entity.
|
239
|
+
#
|
240
|
+
# @param industry_classifications [Array<ModernTreasury::Models::LegalEntityIndustryClassification>] A list of industry classifications for the legal entity.
|
241
|
+
#
|
242
|
+
# @param last_name [String, nil] An individual's last name.
|
243
|
+
#
|
244
|
+
# @param legal_entity_associations [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation>, nil] The legal entity associations and its child legal entities.
|
245
|
+
#
|
246
|
+
# @param legal_entity_type [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityType] The type of legal entity.
|
247
|
+
#
|
248
|
+
# @param legal_structure [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalStructure, nil] The business's legal structure.
|
249
|
+
#
|
250
|
+
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
251
|
+
#
|
252
|
+
# @param middle_name [String, nil] An individual's middle name.
|
253
|
+
#
|
254
|
+
# @param phone_numbers [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::PhoneNumber>]
|
255
|
+
#
|
256
|
+
# @param politically_exposed_person [Boolean, nil] Whether the individual is a politically exposed person.
|
257
|
+
#
|
258
|
+
# @param preferred_name [String, nil] An individual's preferred name.
|
259
|
+
#
|
260
|
+
# @param prefix [String, nil] An individual's prefix.
|
261
|
+
#
|
262
|
+
# @param risk_rating [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
263
|
+
#
|
264
|
+
# @param suffix [String, nil] An individual's suffix.
|
265
|
+
#
|
266
|
+
# @param wealth_and_employment_details [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
267
|
+
#
|
268
|
+
# @param website [String, nil] The entity's primary website URL.
|
304
269
|
|
305
270
|
class Address < ModernTreasury::Internal::Type::BaseModel
|
306
271
|
# @!attribute country
|
@@ -332,34 +297,34 @@ module ModernTreasury
|
|
332
297
|
# @return [String, nil]
|
333
298
|
required :region, String, nil?: true
|
334
299
|
|
335
|
-
# @!attribute
|
300
|
+
# @!attribute address_types
|
336
301
|
# The types of this address.
|
337
302
|
#
|
338
303
|
# @return [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address::AddressType>, nil]
|
339
304
|
optional :address_types,
|
340
|
-
-> {
|
341
|
-
|
342
|
-
|
343
|
-
# # @return [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address::AddressType>]
|
344
|
-
# attr_writer :address_types
|
305
|
+
-> {
|
306
|
+
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::Address::AddressType]
|
307
|
+
}
|
345
308
|
|
346
309
|
# @!attribute line2
|
347
310
|
#
|
348
311
|
# @return [String, nil]
|
349
312
|
optional :line2, String, nil?: true
|
350
313
|
|
351
|
-
# @!
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
|
362
|
-
#
|
314
|
+
# @!method initialize(country:, line1:, locality:, postal_code:, region:, address_types: nil, line2: nil)
|
315
|
+
# @param country [String, nil] Country code conforms to [ISO 3166-1 alpha-2]
|
316
|
+
#
|
317
|
+
# @param line1 [String, nil]
|
318
|
+
#
|
319
|
+
# @param locality [String, nil] Locality or City.
|
320
|
+
#
|
321
|
+
# @param postal_code [String, nil] The postal code of the address.
|
322
|
+
#
|
323
|
+
# @param region [String, nil] Region or State.
|
324
|
+
#
|
325
|
+
# @param address_types [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Address::AddressType>] The types of this address.
|
326
|
+
#
|
327
|
+
# @param line2 [String, nil]
|
363
328
|
|
364
329
|
module AddressType
|
365
330
|
extend ModernTreasury::Internal::Type::Enum
|
@@ -370,11 +335,8 @@ module ModernTreasury
|
|
370
335
|
PO_BOX = :po_box
|
371
336
|
RESIDENTIAL = :residential
|
372
337
|
|
373
|
-
|
374
|
-
|
375
|
-
# @!parse
|
376
|
-
# # @return [Array<Symbol>]
|
377
|
-
# def self.values; end
|
338
|
+
# @!method self.values
|
339
|
+
# @return [Array<Symbol>]
|
378
340
|
end
|
379
341
|
end
|
380
342
|
|
@@ -390,7 +352,16 @@ module ModernTreasury
|
|
390
352
|
#
|
391
353
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification::IDType]
|
392
354
|
required :id_type,
|
393
|
-
enum: -> {
|
355
|
+
enum: -> {
|
356
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::Identification::IDType
|
357
|
+
}
|
358
|
+
|
359
|
+
# @!attribute expiration_date
|
360
|
+
# The date when the Identification is no longer considered valid by the issuing
|
361
|
+
# authority.
|
362
|
+
#
|
363
|
+
# @return [Date, nil]
|
364
|
+
optional :expiration_date, Date, nil?: true
|
394
365
|
|
395
366
|
# @!attribute issuing_country
|
396
367
|
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
@@ -399,14 +370,26 @@ module ModernTreasury
|
|
399
370
|
# @return [String, nil]
|
400
371
|
optional :issuing_country, String, nil?: true
|
401
372
|
|
402
|
-
# @!
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
|
407
|
-
# def initialize(id_number:, id_type:, issuing_country: nil, **) = super
|
373
|
+
# @!attribute issuing_region
|
374
|
+
# The region in which the identifcation was issued.
|
375
|
+
#
|
376
|
+
# @return [String, nil]
|
377
|
+
optional :issuing_region, String, nil?: true
|
408
378
|
|
409
|
-
#
|
379
|
+
# @!method initialize(id_number:, id_type:, expiration_date: nil, issuing_country: nil, issuing_region: nil)
|
380
|
+
# Some parameter documentations has been truncated, see
|
381
|
+
# {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification}
|
382
|
+
# for more details.
|
383
|
+
#
|
384
|
+
# @param id_number [String] The ID number of identification document.
|
385
|
+
#
|
386
|
+
# @param id_type [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::Identification::IDType] The type of ID number.
|
387
|
+
#
|
388
|
+
# @param expiration_date [Date, nil] The date when the Identification is no longer considered valid by the issuing au
|
389
|
+
#
|
390
|
+
# @param issuing_country [String, nil] The ISO 3166-1 alpha-2 country code of the country that issued the identificatio
|
391
|
+
#
|
392
|
+
# @param issuing_region [String, nil] The region in which the identifcation was issued.
|
410
393
|
|
411
394
|
# The type of ID number.
|
412
395
|
#
|
@@ -422,6 +405,7 @@ module ModernTreasury
|
|
422
405
|
CL_RUT = :cl_rut
|
423
406
|
CO_CEDULAS = :co_cedulas
|
424
407
|
CO_NIT = :co_nit
|
408
|
+
DRIVERS_LICENSE = :drivers_license
|
425
409
|
HN_ID = :hn_id
|
426
410
|
HN_RTN = :hn_rtn
|
427
411
|
IN_LEI = :in_lei
|
@@ -436,11 +420,8 @@ module ModernTreasury
|
|
436
420
|
US_SSN = :us_ssn
|
437
421
|
VN_TIN = :vn_tin
|
438
422
|
|
439
|
-
|
440
|
-
|
441
|
-
# @!parse
|
442
|
-
# # @return [Array<Symbol>]
|
443
|
-
# def self.values; end
|
423
|
+
# @!method self.values
|
424
|
+
# @return [Array<Symbol>]
|
444
425
|
end
|
445
426
|
end
|
446
427
|
|
@@ -451,31 +432,25 @@ module ModernTreasury
|
|
451
432
|
required :relationship_types,
|
452
433
|
-> do
|
453
434
|
ModernTreasury::Internal::Type::ArrayOf[
|
454
|
-
enum: ModernTreasury::
|
435
|
+
enum: ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::RelationshipType
|
455
436
|
]
|
456
437
|
end
|
457
438
|
|
458
|
-
# @!attribute
|
439
|
+
# @!attribute child_legal_entity
|
459
440
|
# The child legal entity.
|
460
441
|
#
|
461
442
|
# @return [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity, nil]
|
462
443
|
optional :child_legal_entity,
|
463
|
-
-> {
|
444
|
+
-> {
|
445
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity
|
446
|
+
}
|
464
447
|
|
465
|
-
# @!
|
466
|
-
# # @return [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity]
|
467
|
-
# attr_writer :child_legal_entity
|
468
|
-
|
469
|
-
# @!attribute [r] child_legal_entity_id
|
448
|
+
# @!attribute child_legal_entity_id
|
470
449
|
# The ID of the child legal entity.
|
471
450
|
#
|
472
451
|
# @return [String, nil]
|
473
452
|
optional :child_legal_entity_id, String
|
474
453
|
|
475
|
-
# @!parse
|
476
|
-
# # @return [String]
|
477
|
-
# attr_writer :child_legal_entity_id
|
478
|
-
|
479
454
|
# @!attribute ownership_percentage
|
480
455
|
# The child entity's ownership percentage iff they are a beneficial owner.
|
481
456
|
#
|
@@ -488,25 +463,16 @@ module ModernTreasury
|
|
488
463
|
# @return [String, nil]
|
489
464
|
optional :title, String, nil?: true
|
490
465
|
|
491
|
-
# @!
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
# child_legal_entity_id: nil,
|
502
|
-
# ownership_percentage: nil,
|
503
|
-
# title: nil,
|
504
|
-
# **
|
505
|
-
# )
|
506
|
-
# super
|
507
|
-
# end
|
508
|
-
|
509
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
466
|
+
# @!method initialize(relationship_types:, child_legal_entity: nil, child_legal_entity_id: nil, ownership_percentage: nil, title: nil)
|
467
|
+
# @param relationship_types [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::RelationshipType>]
|
468
|
+
#
|
469
|
+
# @param child_legal_entity [ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity] The child legal entity.
|
470
|
+
#
|
471
|
+
# @param child_legal_entity_id [String] The ID of the child legal entity.
|
472
|
+
#
|
473
|
+
# @param ownership_percentage [Integer, nil] The child entity's ownership percentage iff they are a beneficial owner.
|
474
|
+
#
|
475
|
+
# @param title [String, nil] The job title of the child entity at the parent entity.
|
510
476
|
|
511
477
|
# A list of relationship types for how the child entity relates to parent entity.
|
512
478
|
module RelationshipType
|
@@ -515,34 +481,27 @@ module ModernTreasury
|
|
515
481
|
BENEFICIAL_OWNER = :beneficial_owner
|
516
482
|
CONTROL_PERSON = :control_person
|
517
483
|
|
518
|
-
|
519
|
-
|
520
|
-
# @!parse
|
521
|
-
# # @return [Array<Symbol>]
|
522
|
-
# def self.values; end
|
484
|
+
# @!method self.values
|
485
|
+
# @return [Array<Symbol>]
|
523
486
|
end
|
524
487
|
|
525
488
|
# @see ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation#child_legal_entity
|
526
489
|
class ChildLegalEntity < ModernTreasury::Internal::Type::BaseModel
|
527
|
-
# @!attribute
|
490
|
+
# @!attribute addresses
|
528
491
|
# A list of addresses for the entity.
|
529
492
|
#
|
530
493
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address>, nil]
|
531
494
|
optional :addresses,
|
532
495
|
-> do
|
533
496
|
ModernTreasury::Internal::Type::ArrayOf[
|
534
|
-
ModernTreasury::
|
497
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address
|
535
498
|
]
|
536
499
|
end
|
537
500
|
|
538
|
-
# @!parse
|
539
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address>]
|
540
|
-
# attr_writer :addresses
|
541
|
-
|
542
501
|
# @!attribute bank_settings
|
543
502
|
#
|
544
503
|
# @return [ModernTreasury::Models::BankSettings, nil]
|
545
|
-
optional :bank_settings, -> { ModernTreasury::
|
504
|
+
optional :bank_settings, -> { ModernTreasury::BankSettings }, nil?: true
|
546
505
|
|
547
506
|
# @!attribute business_name
|
548
507
|
# The business's legal business name.
|
@@ -559,7 +518,7 @@ module ModernTreasury
|
|
559
518
|
# @!attribute compliance_details
|
560
519
|
#
|
561
520
|
# @return [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
562
|
-
optional :compliance_details, -> { ModernTreasury::
|
521
|
+
optional :compliance_details, -> { ModernTreasury::LegalEntityComplianceDetail }, nil?: true
|
563
522
|
|
564
523
|
# @!attribute date_formed
|
565
524
|
# A business's formation date (YYYY-MM-DD).
|
@@ -573,15 +532,11 @@ module ModernTreasury
|
|
573
532
|
# @return [Date, nil]
|
574
533
|
optional :date_of_birth, Date, nil?: true
|
575
534
|
|
576
|
-
# @!attribute
|
535
|
+
# @!attribute doing_business_as_names
|
577
536
|
#
|
578
537
|
# @return [Array<String>, nil]
|
579
538
|
optional :doing_business_as_names, ModernTreasury::Internal::Type::ArrayOf[String]
|
580
539
|
|
581
|
-
# @!parse
|
582
|
-
# # @return [Array<String>]
|
583
|
-
# attr_writer :doing_business_as_names
|
584
|
-
|
585
540
|
# @!attribute email
|
586
541
|
# The entity's primary email.
|
587
542
|
#
|
@@ -594,31 +549,25 @@ module ModernTreasury
|
|
594
549
|
# @return [String, nil]
|
595
550
|
optional :first_name, String, nil?: true
|
596
551
|
|
597
|
-
# @!attribute
|
552
|
+
# @!attribute identifications
|
598
553
|
# A list of identifications for the legal entity.
|
599
554
|
#
|
600
555
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification>, nil]
|
601
556
|
optional :identifications,
|
602
557
|
-> do
|
603
558
|
ModernTreasury::Internal::Type::ArrayOf[
|
604
|
-
ModernTreasury::
|
559
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification
|
605
560
|
]
|
606
561
|
end
|
607
562
|
|
608
|
-
# @!
|
609
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification>]
|
610
|
-
# attr_writer :identifications
|
611
|
-
|
612
|
-
# @!attribute [r] industry_classifications
|
563
|
+
# @!attribute industry_classifications
|
613
564
|
# A list of industry classifications for the legal entity.
|
614
565
|
#
|
615
566
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
616
567
|
optional :industry_classifications,
|
617
|
-
-> {
|
618
|
-
|
619
|
-
|
620
|
-
# # @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>]
|
621
|
-
# attr_writer :industry_classifications
|
568
|
+
-> {
|
569
|
+
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
570
|
+
}
|
622
571
|
|
623
572
|
# @!attribute last_name
|
624
573
|
# An individual's last name.
|
@@ -626,56 +575,48 @@ module ModernTreasury
|
|
626
575
|
# @return [String, nil]
|
627
576
|
optional :last_name, String, nil?: true
|
628
577
|
|
629
|
-
# @!attribute
|
578
|
+
# @!attribute legal_entity_type
|
630
579
|
# The type of legal entity.
|
631
580
|
#
|
632
581
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalEntityType, nil]
|
633
582
|
optional :legal_entity_type,
|
634
|
-
enum: -> {
|
635
|
-
|
636
|
-
|
637
|
-
# # @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalEntityType]
|
638
|
-
# attr_writer :legal_entity_type
|
583
|
+
enum: -> {
|
584
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalEntityType
|
585
|
+
}
|
639
586
|
|
640
587
|
# @!attribute legal_structure
|
641
588
|
# The business's legal structure.
|
642
589
|
#
|
643
590
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalStructure, nil]
|
644
591
|
optional :legal_structure,
|
645
|
-
enum: -> {
|
592
|
+
enum: -> {
|
593
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalStructure
|
594
|
+
},
|
646
595
|
nil?: true
|
647
596
|
|
648
|
-
# @!attribute
|
597
|
+
# @!attribute metadata
|
649
598
|
# Additional data represented as key-value pairs. Both the key and value must be
|
650
599
|
# strings.
|
651
600
|
#
|
652
601
|
# @return [Hash{Symbol=>String}, nil]
|
653
602
|
optional :metadata, ModernTreasury::Internal::Type::HashOf[String]
|
654
603
|
|
655
|
-
# @!parse
|
656
|
-
# # @return [Hash{Symbol=>String}]
|
657
|
-
# attr_writer :metadata
|
658
|
-
|
659
604
|
# @!attribute middle_name
|
660
605
|
# An individual's middle name.
|
661
606
|
#
|
662
607
|
# @return [String, nil]
|
663
608
|
optional :middle_name, String, nil?: true
|
664
609
|
|
665
|
-
# @!attribute
|
610
|
+
# @!attribute phone_numbers
|
666
611
|
#
|
667
612
|
# @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>, nil]
|
668
613
|
optional :phone_numbers,
|
669
614
|
-> do
|
670
615
|
ModernTreasury::Internal::Type::ArrayOf[
|
671
|
-
ModernTreasury::
|
616
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::PhoneNumber
|
672
617
|
]
|
673
618
|
end
|
674
619
|
|
675
|
-
# @!parse
|
676
|
-
# # @return [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>]
|
677
|
-
# attr_writer :phone_numbers
|
678
|
-
|
679
620
|
# @!attribute politically_exposed_person
|
680
621
|
# Whether the individual is a politically exposed person.
|
681
622
|
#
|
@@ -699,7 +640,9 @@ module ModernTreasury
|
|
699
640
|
#
|
700
641
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::RiskRating, nil]
|
701
642
|
optional :risk_rating,
|
702
|
-
enum: -> {
|
643
|
+
enum: -> {
|
644
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::RiskRating
|
645
|
+
},
|
703
646
|
nil?: true
|
704
647
|
|
705
648
|
# @!attribute suffix
|
@@ -712,7 +655,9 @@ module ModernTreasury
|
|
712
655
|
#
|
713
656
|
# @return [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
714
657
|
optional :wealth_and_employment_details,
|
715
|
-
-> {
|
658
|
+
-> {
|
659
|
+
ModernTreasury::WealthAndEmploymentDetails
|
660
|
+
},
|
716
661
|
nil?: true
|
717
662
|
|
718
663
|
# @!attribute website
|
@@ -721,67 +666,62 @@ module ModernTreasury
|
|
721
666
|
# @return [String, nil]
|
722
667
|
optional :website, String, nil?: true
|
723
668
|
|
724
|
-
# @!
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
#
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
#
|
780
|
-
# )
|
781
|
-
# super
|
782
|
-
# end
|
783
|
-
|
784
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
669
|
+
# @!method initialize(addresses: nil, bank_settings: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, first_name: nil, identifications: nil, industry_classifications: nil, last_name: nil, legal_entity_type: nil, legal_structure: nil, metadata: nil, middle_name: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, risk_rating: nil, suffix: nil, wealth_and_employment_details: nil, website: nil)
|
670
|
+
# Some parameter documentations has been truncated, see
|
671
|
+
# {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity}
|
672
|
+
# for more details.
|
673
|
+
#
|
674
|
+
# The child legal entity.
|
675
|
+
#
|
676
|
+
# @param addresses [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address>] A list of addresses for the entity.
|
677
|
+
#
|
678
|
+
# @param bank_settings [ModernTreasury::Models::BankSettings, nil]
|
679
|
+
#
|
680
|
+
# @param business_name [String, nil] The business's legal business name.
|
681
|
+
#
|
682
|
+
# @param citizenship_country [String, nil] The country of citizenship for an individual.
|
683
|
+
#
|
684
|
+
# @param compliance_details [ModernTreasury::Models::LegalEntityComplianceDetail, nil]
|
685
|
+
#
|
686
|
+
# @param date_formed [Date, nil] A business's formation date (YYYY-MM-DD).
|
687
|
+
#
|
688
|
+
# @param date_of_birth [Date, nil] An individual's date of birth (YYYY-MM-DD).
|
689
|
+
#
|
690
|
+
# @param doing_business_as_names [Array<String>]
|
691
|
+
#
|
692
|
+
# @param email [String, nil] The entity's primary email.
|
693
|
+
#
|
694
|
+
# @param first_name [String, nil] An individual's first name.
|
695
|
+
#
|
696
|
+
# @param identifications [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification>] A list of identifications for the legal entity.
|
697
|
+
#
|
698
|
+
# @param industry_classifications [Array<ModernTreasury::Models::LegalEntityIndustryClassification>] A list of industry classifications for the legal entity.
|
699
|
+
#
|
700
|
+
# @param last_name [String, nil] An individual's last name.
|
701
|
+
#
|
702
|
+
# @param legal_entity_type [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalEntityType] The type of legal entity.
|
703
|
+
#
|
704
|
+
# @param legal_structure [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::LegalStructure, nil] The business's legal structure.
|
705
|
+
#
|
706
|
+
# @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
|
707
|
+
#
|
708
|
+
# @param middle_name [String, nil] An individual's middle name.
|
709
|
+
#
|
710
|
+
# @param phone_numbers [Array<ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>]
|
711
|
+
#
|
712
|
+
# @param politically_exposed_person [Boolean, nil] Whether the individual is a politically exposed person.
|
713
|
+
#
|
714
|
+
# @param preferred_name [String, nil] An individual's preferred name.
|
715
|
+
#
|
716
|
+
# @param prefix [String, nil] An individual's prefix.
|
717
|
+
#
|
718
|
+
# @param risk_rating [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::RiskRating, nil] The risk rating of the legal entity. One of low, medium, high.
|
719
|
+
#
|
720
|
+
# @param suffix [String, nil] An individual's suffix.
|
721
|
+
#
|
722
|
+
# @param wealth_and_employment_details [ModernTreasury::Models::WealthAndEmploymentDetails, nil]
|
723
|
+
#
|
724
|
+
# @param website [String, nil] The entity's primary website URL.
|
785
725
|
|
786
726
|
class Address < ModernTreasury::Internal::Type::BaseModel
|
787
727
|
# @!attribute country
|
@@ -813,38 +753,36 @@ module ModernTreasury
|
|
813
753
|
# @return [String, nil]
|
814
754
|
required :region, String, nil?: true
|
815
755
|
|
816
|
-
# @!attribute
|
756
|
+
# @!attribute address_types
|
817
757
|
# The types of this address.
|
818
758
|
#
|
819
759
|
# @return [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address::AddressType>, nil]
|
820
760
|
optional :address_types,
|
821
761
|
-> do
|
822
762
|
ModernTreasury::Internal::Type::ArrayOf[
|
823
|
-
enum: ModernTreasury::
|
763
|
+
enum: ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address::AddressType
|
824
764
|
]
|
825
765
|
end
|
826
766
|
|
827
|
-
# @!parse
|
828
|
-
# # @return [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address::AddressType>]
|
829
|
-
# attr_writer :address_types
|
830
|
-
|
831
767
|
# @!attribute line2
|
832
768
|
#
|
833
769
|
# @return [String, nil]
|
834
770
|
optional :line2, String, nil?: true
|
835
771
|
|
836
|
-
# @!
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
845
|
-
#
|
846
|
-
|
847
|
-
#
|
772
|
+
# @!method initialize(country:, line1:, locality:, postal_code:, region:, address_types: nil, line2: nil)
|
773
|
+
# @param country [String, nil] Country code conforms to [ISO 3166-1 alpha-2]
|
774
|
+
#
|
775
|
+
# @param line1 [String, nil]
|
776
|
+
#
|
777
|
+
# @param locality [String, nil] Locality or City.
|
778
|
+
#
|
779
|
+
# @param postal_code [String, nil] The postal code of the address.
|
780
|
+
#
|
781
|
+
# @param region [String, nil] Region or State.
|
782
|
+
#
|
783
|
+
# @param address_types [Array<Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Address::AddressType>] The types of this address.
|
784
|
+
#
|
785
|
+
# @param line2 [String, nil]
|
848
786
|
|
849
787
|
module AddressType
|
850
788
|
extend ModernTreasury::Internal::Type::Enum
|
@@ -855,11 +793,8 @@ module ModernTreasury
|
|
855
793
|
PO_BOX = :po_box
|
856
794
|
RESIDENTIAL = :residential
|
857
795
|
|
858
|
-
|
859
|
-
|
860
|
-
# @!parse
|
861
|
-
# # @return [Array<Symbol>]
|
862
|
-
# def self.values; end
|
796
|
+
# @!method self.values
|
797
|
+
# @return [Array<Symbol>]
|
863
798
|
end
|
864
799
|
end
|
865
800
|
|
@@ -875,7 +810,16 @@ module ModernTreasury
|
|
875
810
|
#
|
876
811
|
# @return [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification::IDType]
|
877
812
|
required :id_type,
|
878
|
-
enum: -> {
|
813
|
+
enum: -> {
|
814
|
+
ModernTreasury::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification::IDType
|
815
|
+
}
|
816
|
+
|
817
|
+
# @!attribute expiration_date
|
818
|
+
# The date when the Identification is no longer considered valid by the issuing
|
819
|
+
# authority.
|
820
|
+
#
|
821
|
+
# @return [Date, nil]
|
822
|
+
optional :expiration_date, Date, nil?: true
|
879
823
|
|
880
824
|
# @!attribute issuing_country
|
881
825
|
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
@@ -884,14 +828,26 @@ module ModernTreasury
|
|
884
828
|
# @return [String, nil]
|
885
829
|
optional :issuing_country, String, nil?: true
|
886
830
|
|
887
|
-
# @!
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
|
892
|
-
# def initialize(id_number:, id_type:, issuing_country: nil, **) = super
|
831
|
+
# @!attribute issuing_region
|
832
|
+
# The region in which the identifcation was issued.
|
833
|
+
#
|
834
|
+
# @return [String, nil]
|
835
|
+
optional :issuing_region, String, nil?: true
|
893
836
|
|
894
|
-
#
|
837
|
+
# @!method initialize(id_number:, id_type:, expiration_date: nil, issuing_country: nil, issuing_region: nil)
|
838
|
+
# Some parameter documentations has been truncated, see
|
839
|
+
# {ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification}
|
840
|
+
# for more details.
|
841
|
+
#
|
842
|
+
# @param id_number [String] The ID number of identification document.
|
843
|
+
#
|
844
|
+
# @param id_type [Symbol, ModernTreasury::Models::ConnectionLegalEntityCreateParams::LegalEntity::LegalEntityAssociation::ChildLegalEntity::Identification::IDType] The type of ID number.
|
845
|
+
#
|
846
|
+
# @param expiration_date [Date, nil] The date when the Identification is no longer considered valid by the issuing au
|
847
|
+
#
|
848
|
+
# @param issuing_country [String, nil] The ISO 3166-1 alpha-2 country code of the country that issued the identificatio
|
849
|
+
#
|
850
|
+
# @param issuing_region [String, nil] The region in which the identifcation was issued.
|
895
851
|
|
896
852
|
# The type of ID number.
|
897
853
|
#
|
@@ -907,6 +863,7 @@ module ModernTreasury
|
|
907
863
|
CL_RUT = :cl_rut
|
908
864
|
CO_CEDULAS = :co_cedulas
|
909
865
|
CO_NIT = :co_nit
|
866
|
+
DRIVERS_LICENSE = :drivers_license
|
910
867
|
HN_ID = :hn_id
|
911
868
|
HN_RTN = :hn_rtn
|
912
869
|
IN_LEI = :in_lei
|
@@ -921,11 +878,8 @@ module ModernTreasury
|
|
921
878
|
US_SSN = :us_ssn
|
922
879
|
VN_TIN = :vn_tin
|
923
880
|
|
924
|
-
|
925
|
-
|
926
|
-
# @!parse
|
927
|
-
# # @return [Array<Symbol>]
|
928
|
-
# def self.values; end
|
881
|
+
# @!method self.values
|
882
|
+
# @return [Array<Symbol>]
|
929
883
|
end
|
930
884
|
end
|
931
885
|
|
@@ -938,11 +892,8 @@ module ModernTreasury
|
|
938
892
|
BUSINESS = :business
|
939
893
|
INDIVIDUAL = :individual
|
940
894
|
|
941
|
-
|
942
|
-
|
943
|
-
# @!parse
|
944
|
-
# # @return [Array<Symbol>]
|
945
|
-
# def self.values; end
|
895
|
+
# @!method self.values
|
896
|
+
# @return [Array<Symbol>]
|
946
897
|
end
|
947
898
|
|
948
899
|
# The business's legal structure.
|
@@ -958,31 +909,20 @@ module ModernTreasury
|
|
958
909
|
SOLE_PROPRIETORSHIP = :sole_proprietorship
|
959
910
|
TRUST = :trust
|
960
911
|
|
961
|
-
|
962
|
-
|
963
|
-
# @!parse
|
964
|
-
# # @return [Array<Symbol>]
|
965
|
-
# def self.values; end
|
912
|
+
# @!method self.values
|
913
|
+
# @return [Array<Symbol>]
|
966
914
|
end
|
967
915
|
|
968
916
|
class PhoneNumber < ModernTreasury::Internal::Type::BaseModel
|
969
|
-
# @!attribute
|
917
|
+
# @!attribute phone_number
|
970
918
|
#
|
971
919
|
# @return [String, nil]
|
972
920
|
optional :phone_number, String
|
973
921
|
|
974
|
-
# @!
|
975
|
-
#
|
976
|
-
#
|
977
|
-
|
978
|
-
# @!parse
|
979
|
-
# # A list of phone numbers in E.164 format.
|
980
|
-
# #
|
981
|
-
# # @param phone_number [String]
|
982
|
-
# #
|
983
|
-
# def initialize(phone_number: nil, **) = super
|
984
|
-
|
985
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
922
|
+
# @!method initialize(phone_number: nil)
|
923
|
+
# A list of phone numbers in E.164 format.
|
924
|
+
#
|
925
|
+
# @param phone_number [String]
|
986
926
|
end
|
987
927
|
|
988
928
|
# The risk rating of the legal entity. One of low, medium, high.
|
@@ -995,11 +935,8 @@ module ModernTreasury
|
|
995
935
|
MEDIUM = :medium
|
996
936
|
HIGH = :high
|
997
937
|
|
998
|
-
|
999
|
-
|
1000
|
-
# @!parse
|
1001
|
-
# # @return [Array<Symbol>]
|
1002
|
-
# def self.values; end
|
938
|
+
# @!method self.values
|
939
|
+
# @return [Array<Symbol>]
|
1003
940
|
end
|
1004
941
|
end
|
1005
942
|
end
|
@@ -1013,11 +950,8 @@ module ModernTreasury
|
|
1013
950
|
BUSINESS = :business
|
1014
951
|
INDIVIDUAL = :individual
|
1015
952
|
|
1016
|
-
|
1017
|
-
|
1018
|
-
# @!parse
|
1019
|
-
# # @return [Array<Symbol>]
|
1020
|
-
# def self.values; end
|
953
|
+
# @!method self.values
|
954
|
+
# @return [Array<Symbol>]
|
1021
955
|
end
|
1022
956
|
|
1023
957
|
# The business's legal structure.
|
@@ -1033,31 +967,20 @@ module ModernTreasury
|
|
1033
967
|
SOLE_PROPRIETORSHIP = :sole_proprietorship
|
1034
968
|
TRUST = :trust
|
1035
969
|
|
1036
|
-
|
1037
|
-
|
1038
|
-
# @!parse
|
1039
|
-
# # @return [Array<Symbol>]
|
1040
|
-
# def self.values; end
|
970
|
+
# @!method self.values
|
971
|
+
# @return [Array<Symbol>]
|
1041
972
|
end
|
1042
973
|
|
1043
974
|
class PhoneNumber < ModernTreasury::Internal::Type::BaseModel
|
1044
|
-
# @!attribute
|
975
|
+
# @!attribute phone_number
|
1045
976
|
#
|
1046
977
|
# @return [String, nil]
|
1047
978
|
optional :phone_number, String
|
1048
979
|
|
1049
|
-
# @!
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
|
1053
|
-
# @!parse
|
1054
|
-
# # A list of phone numbers in E.164 format.
|
1055
|
-
# #
|
1056
|
-
# # @param phone_number [String]
|
1057
|
-
# #
|
1058
|
-
# def initialize(phone_number: nil, **) = super
|
1059
|
-
|
1060
|
-
# def initialize: (Hash | ModernTreasury::Internal::Type::BaseModel) -> void
|
980
|
+
# @!method initialize(phone_number: nil)
|
981
|
+
# A list of phone numbers in E.164 format.
|
982
|
+
#
|
983
|
+
# @param phone_number [String]
|
1061
984
|
end
|
1062
985
|
|
1063
986
|
# The risk rating of the legal entity. One of low, medium, high.
|
@@ -1070,11 +993,8 @@ module ModernTreasury
|
|
1070
993
|
MEDIUM = :medium
|
1071
994
|
HIGH = :high
|
1072
995
|
|
1073
|
-
|
1074
|
-
|
1075
|
-
# @!parse
|
1076
|
-
# # @return [Array<Symbol>]
|
1077
|
-
# def self.values; end
|
996
|
+
# @!method self.values
|
997
|
+
# @return [Array<Symbol>]
|
1078
998
|
end
|
1079
999
|
end
|
1080
1000
|
end
|