modern_treasury 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.21
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 +46 -0
- data/README.md +110 -61
- data/SECURITY.md +2 -2
- data/lib/modern_treasury/client.rb +9 -5
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +3 -1
- data/lib/modern_treasury/internal/type/array_of.rb +8 -0
- data/lib/modern_treasury/internal/type/base_model.rb +14 -0
- data/lib/modern_treasury/internal/type/boolean.rb +8 -0
- data/lib/modern_treasury/internal/type/enum.rb +15 -0
- data/lib/modern_treasury/internal/type/file_input.rb +7 -0
- data/lib/modern_treasury/internal/type/hash_of.rb +8 -0
- data/lib/modern_treasury/internal/type/union.rb +17 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +62 -10
- data/lib/modern_treasury/internal.rb +3 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +8 -8
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/account_collection_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail.rb +8 -4
- data/lib/modern_treasury/models/account_detail_create_params.rb +8 -4
- data/lib/modern_treasury/models/account_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/account_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/bank_settings.rb +1 -1
- data/lib/modern_treasury/models/bulk_request.rb +11 -10
- data/lib/modern_treasury/models/bulk_request_create_params.rb +252 -247
- data/lib/modern_treasury/models/bulk_request_list_params.rb +7 -6
- data/lib/modern_treasury/models/bulk_result.rb +18 -29
- data/lib/modern_treasury/models/bulk_result_list_params.rb +7 -6
- data/lib/modern_treasury/models/connection.rb +1 -1
- data/lib/modern_treasury/models/connection_legal_entity.rb +4 -4
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +108 -72
- data/lib/modern_treasury/models/connection_legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/connection_legal_entity_update_params.rb +2 -2
- data/lib/modern_treasury/models/counterparty.rb +32 -32
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +4 -4
- data/lib/modern_treasury/models/counterparty_collect_account_response.rb +1 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +166 -121
- data/lib/modern_treasury/models/currency.rb +7 -0
- data/lib/modern_treasury/models/document.rb +13 -13
- data/lib/modern_treasury/models/document_create_params.rb +6 -6
- data/lib/modern_treasury/models/document_list_params.rb +4 -4
- data/lib/modern_treasury/models/event.rb +2 -2
- data/lib/modern_treasury/models/expected_payment.rb +16 -16
- data/lib/modern_treasury/models/expected_payment_create_params.rb +27 -26
- data/lib/modern_treasury/models/expected_payment_list_params.rb +27 -7
- data/lib/modern_treasury/models/expected_payment_type.rb +4 -0
- data/lib/modern_treasury/models/expected_payment_update_params.rb +10 -10
- data/lib/modern_treasury/models/external_account.rb +26 -26
- data/lib/modern_treasury/models/external_account_create_params.rb +41 -32
- data/lib/modern_treasury/models/external_account_type.rb +5 -0
- data/lib/modern_treasury/models/external_account_update_params.rb +6 -6
- data/lib/modern_treasury/models/external_account_verify_params.rb +12 -8
- data/lib/modern_treasury/models/external_account_verify_response.rb +5 -10
- data/lib/modern_treasury/models/foreign_exchange_quote.rb +10 -9
- data/lib/modern_treasury/models/foreign_exchange_quote_create_params.rb +4 -4
- data/lib/modern_treasury/models/incoming_payment_detail.rb +23 -19
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +6 -6
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +6 -6
- data/lib/modern_treasury/models/internal_account.rb +24 -19
- data/lib/modern_treasury/models/internal_account_create_params.rb +37 -5
- data/lib/modern_treasury/models/internal_account_list_params.rb +10 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +13 -12
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +9 -9
- data/lib/modern_treasury/models/internal_accounts/balance_report_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice.rb +34 -34
- data/lib/modern_treasury/models/invoice_create_params.rb +21 -21
- data/lib/modern_treasury/models/invoice_list_params.rb +2 -2
- data/lib/modern_treasury/models/invoice_update_params.rb +21 -21
- data/lib/modern_treasury/models/invoices/invoice_line_item.rb +10 -2
- data/lib/modern_treasury/models/ledger.rb +2 -2
- data/lib/modern_treasury/models/ledger_account.rb +19 -19
- data/lib/modern_treasury/models/ledger_account_balance_monitor.rb +23 -22
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_category.rb +16 -16
- data/lib/modern_treasury/models/ledger_account_category_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_list_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_category_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_create_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_list_params.rb +8 -8
- data/lib/modern_treasury/models/ledger_account_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement.rb +4 -4
- data/lib/modern_treasury/models/ledger_account_settlement_create_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_create_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_account_statement_retrieve_response.rb +2 -2
- data/lib/modern_treasury/models/ledger_entry.rb +20 -19
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler.rb +12 -12
- data/lib/modern_treasury/models/ledger_event_handler_create_params.rb +10 -10
- data/lib/modern_treasury/models/ledger_event_handler_variable.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction.rb +9 -9
- data/lib/modern_treasury/models/ledger_transaction_create_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +6 -6
- data/lib/modern_treasury/models/ledger_transaction_create_reversal_params.rb +4 -4
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +12 -12
- data/lib/modern_treasury/models/ledger_transaction_update_params.rb +10 -9
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +30 -29
- data/lib/modern_treasury/models/ledgerable_event.rb +1 -1
- data/lib/modern_treasury/models/legal_entity.rb +52 -34
- data/lib/modern_treasury/models/legal_entity_association.rb +59 -40
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +54 -36
- data/lib/modern_treasury/models/legal_entity_compliance_detail.rb +1 -1
- data/lib/modern_treasury/models/legal_entity_create_params.rb +102 -65
- data/lib/modern_treasury/models/legal_entity_industry_classification.rb +4 -4
- data/lib/modern_treasury/models/legal_entity_list_params.rb +2 -2
- data/lib/modern_treasury/models/legal_entity_update_params.rb +44 -25
- data/lib/modern_treasury/models/line_item.rb +9 -9
- data/lib/modern_treasury/models/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/line_item_update_params.rb +2 -2
- data/lib/modern_treasury/models/paper_item.rb +16 -7
- 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 +13 -13
- data/lib/modern_treasury/models/payment_flow_create_params.rb +2 -2
- data/lib/modern_treasury/models/payment_flow_update_params.rb +2 -2
- data/lib/modern_treasury/models/payment_order.rb +57 -86
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +86 -76
- data/lib/modern_treasury/models/payment_order_create_params.rb +95 -85
- data/lib/modern_treasury/models/payment_order_list_params.rb +12 -8
- data/lib/modern_treasury/models/payment_order_type.rb +4 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +72 -63
- data/lib/modern_treasury/models/payment_orders/reversal.rb +7 -7
- data/lib/modern_treasury/models/payment_orders/reversal_create_params.rb +17 -17
- data/lib/modern_treasury/models/payment_reference.rb +11 -7
- data/lib/modern_treasury/models/payment_reference_list_params.rb +2 -2
- data/lib/modern_treasury/models/reconciliation_rule.rb +13 -9
- data/lib/modern_treasury/models/return_create_params.rb +44 -4
- data/lib/modern_treasury/models/return_list_params.rb +2 -2
- data/lib/modern_treasury/models/return_object.rb +78 -27
- data/lib/modern_treasury/models/routing_detail.rb +15 -11
- data/lib/modern_treasury/models/routing_detail_create_params.rb +10 -6
- data/lib/modern_treasury/models/routing_detail_delete_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_list_params.rb +2 -2
- data/lib/modern_treasury/models/routing_detail_retrieve_params.rb +2 -2
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +13 -9
- data/lib/modern_treasury/models/transaction.rb +23 -17
- data/lib/modern_treasury/models/transaction_create_params.rb +6 -2
- data/lib/modern_treasury/models/transactions/line_item_list_params.rb +2 -2
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +7 -7
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +2 -2
- data/lib/modern_treasury/models/virtual_account.rb +5 -5
- data/lib/modern_treasury/models/virtual_account_create_params.rb +34 -23
- data/lib/modern_treasury/models/wealth_and_employment_details.rb +19 -19
- data/lib/modern_treasury/models.rb +38 -19
- data/lib/modern_treasury/resources/account_collection_flows.rb +6 -6
- data/lib/modern_treasury/resources/account_details.rb +8 -8
- data/lib/modern_treasury/resources/bulk_requests.rb +9 -9
- data/lib/modern_treasury/resources/bulk_results.rb +5 -5
- data/lib/modern_treasury/resources/connection_legal_entities.rb +7 -7
- data/lib/modern_treasury/resources/connections.rb +1 -1
- data/lib/modern_treasury/resources/counterparties.rb +12 -12
- data/lib/modern_treasury/resources/documents.rb +6 -6
- data/lib/modern_treasury/resources/events.rb +2 -2
- data/lib/modern_treasury/resources/expected_payments.rb +24 -20
- data/lib/modern_treasury/resources/external_accounts.rb +20 -20
- data/lib/modern_treasury/resources/foreign_exchange_quotes.rb +5 -5
- data/lib/modern_treasury/resources/incoming_payment_details.rb +10 -10
- data/lib/modern_treasury/resources/internal_accounts/balance_reports.rb +6 -6
- data/lib/modern_treasury/resources/internal_accounts.rb +12 -10
- data/lib/modern_treasury/resources/invoices/line_items.rb +5 -5
- data/lib/modern_treasury/resources/invoices.rb +21 -21
- data/lib/modern_treasury/resources/ledger_account_balance_monitors.rb +6 -6
- data/lib/modern_treasury/resources/ledger_account_categories.rb +8 -8
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +6 -6
- data/lib/modern_treasury/resources/ledger_accounts.rb +12 -12
- data/lib/modern_treasury/resources/ledger_entries.rb +6 -6
- data/lib/modern_treasury/resources/ledger_event_handlers.rb +7 -7
- data/lib/modern_treasury/resources/ledger_transactions/versions.rb +1 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +18 -18
- data/lib/modern_treasury/resources/ledgerable_events.rb +2 -2
- data/lib/modern_treasury/resources/ledgers.rb +5 -5
- data/lib/modern_treasury/resources/legal_entities.rb +25 -25
- data/lib/modern_treasury/resources/legal_entity_associations.rb +3 -3
- data/lib/modern_treasury/resources/line_items.rb +6 -6
- data/lib/modern_treasury/resources/paper_items.rb +2 -2
- data/lib/modern_treasury/resources/payment_actions.rb +137 -0
- data/lib/modern_treasury/resources/payment_flows.rb +6 -6
- data/lib/modern_treasury/resources/payment_orders/reversals.rb +5 -5
- data/lib/modern_treasury/resources/payment_orders.rb +46 -46
- data/lib/modern_treasury/resources/payment_references.rb +3 -3
- data/lib/modern_treasury/resources/returns.rb +6 -6
- data/lib/modern_treasury/resources/routing_details.rb +9 -9
- data/lib/modern_treasury/resources/transactions/line_items.rb +4 -4
- data/lib/modern_treasury/resources/transactions.rb +5 -5
- data/lib/modern_treasury/resources/validations.rb +2 -2
- data/lib/modern_treasury/resources/virtual_accounts.rb +8 -8
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +12 -1
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/internal/transport/pooled_net_requester.rbi +5 -1
- data/rbi/modern_treasury/internal/type/array_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/base_model.rbi +5 -0
- data/rbi/modern_treasury/internal/type/boolean.rbi +6 -0
- data/rbi/modern_treasury/internal/type/enum.rbi +5 -0
- data/rbi/modern_treasury/internal/type/file_input.rbi +5 -0
- data/rbi/modern_treasury/internal/type/hash_of.rbi +6 -0
- data/rbi/modern_treasury/internal/type/union.rbi +5 -0
- data/rbi/modern_treasury/internal/type/unknown.rbi +6 -0
- data/rbi/modern_treasury/internal/util.rbi +36 -0
- data/rbi/modern_treasury/internal.rbi +5 -0
- data/rbi/modern_treasury/models/account_detail.rbi +20 -0
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/bulk_request.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +105 -0
- data/rbi/modern_treasury/models/bulk_request_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_result.rbi +7 -19
- data/rbi/modern_treasury/models/bulk_result_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +92 -6
- data/rbi/modern_treasury/models/currency.rbi +7 -0
- data/rbi/modern_treasury/models/document.rbi +9 -6
- data/rbi/modern_treasury/models/document_create_params.rbi +12 -12
- data/rbi/modern_treasury/models/document_list_params.rbi +9 -9
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +42 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +6 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models/external_account_type.rbi +16 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +20 -0
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +20 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +20 -0
- data/rbi/modern_treasury/models/internal_account.rbi +25 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +117 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/invoice.rbi +2 -2
- data/rbi/modern_treasury/models/invoices/invoice_line_item.rbi +8 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association.rbi +23 -0
- data/rbi/modern_treasury/models/legal_entity_association_create_params.rbi +26 -3
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +52 -6
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +26 -3
- data/rbi/modern_treasury/models/paper_item.rbi +10 -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_order.rbi +22 -38
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +52 -12
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +20 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +40 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +20 -0
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +14 -0
- data/rbi/modern_treasury/models/return_create_params.rbi +80 -0
- data/rbi/modern_treasury/models/return_object.rbi +66 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +17 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +20 -0
- data/rbi/modern_treasury/models/transaction.rbi +16 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +40 -0
- data/rbi/modern_treasury/models.rbi +9 -0
- data/rbi/modern_treasury/resources/documents.rbi +1 -1
- data/rbi/modern_treasury/resources/expected_payments.rbi +6 -0
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -4
- data/rbi/modern_treasury/resources/internal_accounts.rbi +5 -0
- data/rbi/modern_treasury/resources/payment_actions.rbi +119 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/modern_treasury/internal/type/array_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/base_model.rbs +2 -0
- data/sig/modern_treasury/internal/type/boolean.rbs +3 -0
- data/sig/modern_treasury/internal/type/enum.rbs +2 -0
- data/sig/modern_treasury/internal/type/file_input.rbs +2 -0
- data/sig/modern_treasury/internal/type/hash_of.rbs +3 -0
- data/sig/modern_treasury/internal/type/union.rbs +2 -0
- data/sig/modern_treasury/internal/type/unknown.rbs +3 -0
- data/sig/modern_treasury/internal/util.rbs +12 -0
- data/sig/modern_treasury/internal.rbs +3 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +30 -16
- data/sig/modern_treasury/models/account_collection_flow_create_params.rbs +13 -6
- data/sig/modern_treasury/models/account_collection_flow_list_params.rbs +10 -0
- data/sig/modern_treasury/models/account_collection_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/account_detail.rbs +24 -4
- data/sig/modern_treasury/models/account_detail_create_params.rbs +15 -0
- data/sig/modern_treasury/models/account_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/account_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/account_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/async_response.rbs +2 -0
- data/sig/modern_treasury/models/bank_settings.rbs +13 -0
- data/sig/modern_treasury/models/bulk_request.rbs +29 -12
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +600 -188
- data/sig/modern_treasury/models/bulk_request_list_params.rbs +12 -0
- data/sig/modern_treasury/models/bulk_request_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/bulk_result.rbs +44 -16
- data/sig/modern_treasury/models/bulk_result_list_params.rbs +13 -0
- data/sig/modern_treasury/models/bulk_result_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/client_ping_params.rbs +2 -0
- data/sig/modern_treasury/models/connection.rbs +12 -0
- data/sig/modern_treasury/models/connection_legal_entity.rbs +17 -4
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +188 -56
- data/sig/modern_treasury/models/connection_legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/connection_legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/connection_legal_entity_update_params.rbs +5 -0
- data/sig/modern_treasury/models/connection_list_params.rbs +8 -0
- data/sig/modern_treasury/models/counterparty.rbs +84 -22
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +14 -6
- data/sig/modern_treasury/models/counterparty_collect_account_response.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_create_params.rbs +307 -92
- data/sig/modern_treasury/models/counterparty_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_list_params.rbs +12 -0
- data/sig/modern_treasury/models/counterparty_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/counterparty_update_params.rbs +10 -0
- data/sig/modern_treasury/models/currency.rbs +14 -0
- data/sig/modern_treasury/models/document.rbs +41 -9
- data/sig/modern_treasury/models/document_create_params.rbs +16 -8
- data/sig/modern_treasury/models/document_list_params.rbs +13 -5
- data/sig/modern_treasury/models/document_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/event.rbs +13 -0
- data/sig/modern_treasury/models/event_list_params.rbs +11 -0
- data/sig/modern_treasury/models/event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment.rbs +41 -12
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +66 -12
- data/sig/modern_treasury/models/expected_payment_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +37 -1
- data/sig/modern_treasury/models/expected_payment_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +8 -0
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +21 -0
- data/sig/modern_treasury/models/external_account.rbs +63 -16
- data/sig/modern_treasury/models/external_account_complete_verification_params.rbs +5 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +99 -28
- data/sig/modern_treasury/models/external_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/external_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_type.rbs +11 -1
- data/sig/modern_treasury/models/external_account_update_params.rbs +20 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +17 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +21 -0
- data/sig/modern_treasury/models/foreign_exchange_quote.rbs +25 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_create_params.rbs +10 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_list_params.rbs +13 -0
- data/sig/modern_treasury/models/foreign_exchange_quote_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +52 -16
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +13 -0
- data/sig/modern_treasury/models/incoming_payment_detail_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/incoming_payment_detail_update_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_account.rbs +55 -9
- data/sig/modern_treasury/models/internal_account_create_params.rbs +66 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +20 -0
- data/sig/modern_treasury/models/internal_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_update_params.rbs +9 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +37 -8
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +19 -4
- data/sig/modern_treasury/models/internal_accounts/balance_report_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_list_params.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice.rbs +94 -16
- data/sig/modern_treasury/models/invoice_add_payment_order_params.rbs +5 -0
- data/sig/modern_treasury/models/invoice_create_params.rbs +81 -4
- data/sig/modern_treasury/models/invoice_list_params.rbs +15 -0
- data/sig/modern_treasury/models/invoice_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/invoice_update_params.rbs +81 -4
- data/sig/modern_treasury/models/invoices/invoice_line_item.rbs +21 -0
- data/sig/modern_treasury/models/invoices/line_item_create_params.rbs +11 -0
- data/sig/modern_treasury/models/invoices/line_item_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_list_params.rbs +6 -0
- data/sig/modern_treasury/models/invoices/line_item_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/invoices/line_item_update_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account.rbs +54 -4
- data/sig/modern_treasury/models/ledger_account_balance_monitor.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_create_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_balance_monitor_update_params.rbs +6 -0
- data/sig/modern_treasury/models/ledger_account_category.rbs +45 -0
- data/sig/modern_treasury/models/ledger_account_category_add_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_add_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_category_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_category_list_params.rbs +16 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_ledger_account_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_remove_nested_category_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_category_retrieve_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_category_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_create_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_list_params.rbs +52 -0
- data/sig/modern_treasury/models/ledger_account_retrieve_params.rbs +13 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +24 -4
- data/sig/modern_treasury/models/ledger_account_settlement_create_params.rbs +12 -0
- data/sig/modern_treasury/models/ledger_account_settlement_list_params.rbs +14 -0
- data/sig/modern_treasury/models/ledger_account_settlement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_delete_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_settlements/account_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_account_statement_create_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_statement_retrieve_response.rbs +78 -0
- data/sig/modern_treasury/models/ledger_account_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_create_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_entry.rbs +53 -4
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +41 -12
- data/sig/modern_treasury/models/ledger_entry_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_event_handler.rbs +31 -0
- data/sig/modern_treasury/models/ledger_event_handler_create_params.rbs +26 -0
- data/sig/modern_treasury/models/ledger_event_handler_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_event_handler_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_event_handler_variable.rbs +7 -0
- data/sig/modern_treasury/models/ledger_list_params.rbs +9 -0
- data/sig/modern_treasury/models/ledger_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction.rbs +30 -8
- data/sig/modern_treasury/models/ledger_transaction_create_params.rbs +25 -0
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +19 -4
- data/sig/modern_treasury/models/ledger_transaction_create_reversal_params.rbs +11 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +40 -12
- data/sig/modern_treasury/models/ledger_transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ledger_transaction_update_params.rbs +23 -0
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +82 -12
- data/sig/modern_treasury/models/ledger_transactions/version_list_params.rbs +10 -0
- data/sig/modern_treasury/models/ledger_update_params.rbs +7 -0
- data/sig/modern_treasury/models/ledgerable_event.rbs +13 -0
- data/sig/modern_treasury/models/ledgerable_event_create_params.rbs +8 -0
- data/sig/modern_treasury/models/ledgerable_event_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity.rbs +96 -20
- data/sig/modern_treasury/models/legal_entity_association.rbs +113 -24
- data/sig/modern_treasury/models/legal_entity_association_create_params.rbs +98 -30
- data/sig/modern_treasury/models/legal_entity_compliance_detail.rbs +15 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +168 -42
- data/sig/modern_treasury/models/legal_entity_industry_classification.rbs +15 -4
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +9 -0
- data/sig/modern_treasury/models/legal_entity_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +70 -12
- data/sig/modern_treasury/models/line_item.rbs +22 -4
- data/sig/modern_treasury/models/line_item_list_params.rbs +7 -0
- data/sig/modern_treasury/models/line_item_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/line_item_update_params.rbs +7 -0
- data/sig/modern_treasury/models/paper_item.rbs +30 -4
- data/sig/modern_treasury/models/paper_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/paper_item_retrieve_params.rbs +2 -0
- 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 +44 -22
- data/sig/modern_treasury/models/payment_flow_create_params.rbs +10 -0
- data/sig/modern_treasury/models/payment_flow_list_params.rbs +12 -0
- data/sig/modern_treasury/models/payment_flow_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_flow_update_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_order.rbs +116 -48
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +185 -44
- data/sig/modern_treasury/models/payment_order_create_params.rbs +205 -56
- data/sig/modern_treasury/models/payment_order_list_params.rbs +29 -0
- data/sig/modern_treasury/models/payment_order_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +8 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +148 -32
- data/sig/modern_treasury/models/payment_orders/reversal.rbs +22 -8
- data/sig/modern_treasury/models/payment_orders/reversal_create_params.rbs +43 -12
- data/sig/modern_treasury/models/payment_orders/reversal_list_params.rbs +6 -0
- data/sig/modern_treasury/models/payment_orders/reversal_retrieve_params.rbs +5 -0
- data/sig/modern_treasury/models/payment_reference.rbs +28 -8
- data/sig/modern_treasury/models/payment_reference_list_params.rbs +9 -0
- data/sig/modern_treasury/models/payment_reference_retireve_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_reference_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/ping_response.rbs +2 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +29 -8
- data/sig/modern_treasury/models/return_create_params.rbs +91 -0
- data/sig/modern_treasury/models/return_list_params.rbs +10 -0
- data/sig/modern_treasury/models/return_object.rbs +154 -24
- data/sig/modern_treasury/models/return_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail.rbs +44 -8
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +16 -0
- data/sig/modern_treasury/models/routing_detail_delete_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_detail_list_params.rbs +7 -0
- data/sig/modern_treasury/models/routing_detail_retrieve_params.rbs +6 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +38 -12
- data/sig/modern_treasury/models/transaction.rbs +58 -8
- data/sig/modern_treasury/models/transaction_create_params.rbs +22 -0
- data/sig/modern_treasury/models/transaction_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_list_params.rbs +18 -0
- data/sig/modern_treasury/models/transaction_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transaction_update_params.rbs +5 -0
- data/sig/modern_treasury/models/transactions/line_item_create_params.rbs +7 -0
- data/sig/modern_treasury/models/transactions/line_item_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/line_item_list_params.rbs +9 -0
- data/sig/modern_treasury/models/transactions/line_item_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +26 -8
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +6 -0
- data/sig/modern_treasury/models/virtual_account.rbs +19 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +74 -20
- data/sig/modern_treasury/models/virtual_account_delete_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_list_params.rbs +9 -0
- data/sig/modern_treasury/models/virtual_account_retrieve_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +8 -0
- data/sig/modern_treasury/models/wealth_and_employment_details.rbs +45 -24
- data/sig/modern_treasury/models.rbs +8 -0
- data/sig/modern_treasury/resources/account_collection_flows.rbs +1 -1
- data/sig/modern_treasury/resources/bulk_requests.rbs +1 -1
- data/sig/modern_treasury/resources/counterparties.rbs +1 -1
- data/sig/modern_treasury/resources/documents.rbs +1 -1
- data/sig/modern_treasury/resources/expected_payments.rbs +2 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entity_associations.rbs +1 -1
- data/sig/modern_treasury/resources/payment_actions.rbs +40 -0
- metadata +29 -2
@@ -19,8 +19,8 @@ module ModernTreasury
|
|
19
19
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
20
20
|
last_name: String?,
|
21
21
|
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociation]?,
|
22
|
-
legal_entity_type: ModernTreasury::LegalEntity::legal_entity_type,
|
23
|
-
legal_structure: ModernTreasury::LegalEntity::legal_structure?,
|
22
|
+
legal_entity_type: ModernTreasury::Models::LegalEntity::legal_entity_type,
|
23
|
+
legal_structure: ModernTreasury::Models::LegalEntity::legal_structure?,
|
24
24
|
live_mode: bool,
|
25
25
|
metadata: ::Hash[Symbol, String],
|
26
26
|
middle_name: String?,
|
@@ -29,7 +29,7 @@ module ModernTreasury
|
|
29
29
|
politically_exposed_person: bool?,
|
30
30
|
preferred_name: String?,
|
31
31
|
prefix: String?,
|
32
|
-
risk_rating: ModernTreasury::LegalEntity::risk_rating?,
|
32
|
+
risk_rating: ModernTreasury::Models::LegalEntity::risk_rating?,
|
33
33
|
suffix: String?,
|
34
34
|
updated_at: Time,
|
35
35
|
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
@@ -71,9 +71,9 @@ module ModernTreasury
|
|
71
71
|
|
72
72
|
attr_accessor legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociation]?
|
73
73
|
|
74
|
-
attr_accessor legal_entity_type: ModernTreasury::LegalEntity::legal_entity_type
|
74
|
+
attr_accessor legal_entity_type: ModernTreasury::Models::LegalEntity::legal_entity_type
|
75
75
|
|
76
|
-
attr_accessor legal_structure: ModernTreasury::LegalEntity::legal_structure?
|
76
|
+
attr_accessor legal_structure: ModernTreasury::Models::LegalEntity::legal_structure?
|
77
77
|
|
78
78
|
attr_accessor live_mode: bool
|
79
79
|
|
@@ -91,7 +91,7 @@ module ModernTreasury
|
|
91
91
|
|
92
92
|
attr_accessor prefix: String?
|
93
93
|
|
94
|
-
attr_accessor risk_rating: ModernTreasury::LegalEntity::risk_rating?
|
94
|
+
attr_accessor risk_rating: ModernTreasury::Models::LegalEntity::risk_rating?
|
95
95
|
|
96
96
|
attr_accessor suffix: String?
|
97
97
|
|
@@ -119,8 +119,8 @@ module ModernTreasury
|
|
119
119
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
120
120
|
last_name: String?,
|
121
121
|
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociation]?,
|
122
|
-
legal_entity_type: ModernTreasury::LegalEntity::legal_entity_type,
|
123
|
-
legal_structure: ModernTreasury::LegalEntity::legal_structure?,
|
122
|
+
legal_entity_type: ModernTreasury::Models::LegalEntity::legal_entity_type,
|
123
|
+
legal_structure: ModernTreasury::Models::LegalEntity::legal_structure?,
|
124
124
|
live_mode: bool,
|
125
125
|
metadata: ::Hash[Symbol, String],
|
126
126
|
middle_name: String?,
|
@@ -129,17 +129,52 @@ module ModernTreasury
|
|
129
129
|
politically_exposed_person: bool?,
|
130
130
|
preferred_name: String?,
|
131
131
|
prefix: String?,
|
132
|
-
risk_rating: ModernTreasury::LegalEntity::risk_rating?,
|
132
|
+
risk_rating: ModernTreasury::Models::LegalEntity::risk_rating?,
|
133
133
|
suffix: String?,
|
134
134
|
updated_at: Time,
|
135
135
|
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
136
136
|
website: String?
|
137
137
|
) -> void
|
138
138
|
|
139
|
+
def to_hash: -> {
|
140
|
+
id: String,
|
141
|
+
addresses: ::Array[ModernTreasury::LegalEntity::Address],
|
142
|
+
bank_settings: ModernTreasury::BankSettings?,
|
143
|
+
business_name: String?,
|
144
|
+
citizenship_country: String?,
|
145
|
+
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
146
|
+
created_at: Time,
|
147
|
+
date_formed: Date?,
|
148
|
+
date_of_birth: Date?,
|
149
|
+
discarded_at: Time?,
|
150
|
+
doing_business_as_names: ::Array[String],
|
151
|
+
email: String?,
|
152
|
+
first_name: String?,
|
153
|
+
identifications: ::Array[ModernTreasury::LegalEntity::Identification],
|
154
|
+
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
155
|
+
last_name: String?,
|
156
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityAssociation]?,
|
157
|
+
legal_entity_type: ModernTreasury::Models::LegalEntity::legal_entity_type,
|
158
|
+
legal_structure: ModernTreasury::Models::LegalEntity::legal_structure?,
|
159
|
+
live_mode: bool,
|
160
|
+
metadata: ::Hash[Symbol, String],
|
161
|
+
middle_name: String?,
|
162
|
+
object: String,
|
163
|
+
phone_numbers: ::Array[ModernTreasury::LegalEntity::PhoneNumber],
|
164
|
+
politically_exposed_person: bool?,
|
165
|
+
preferred_name: String?,
|
166
|
+
prefix: String?,
|
167
|
+
risk_rating: ModernTreasury::Models::LegalEntity::risk_rating?,
|
168
|
+
suffix: String?,
|
169
|
+
updated_at: Time,
|
170
|
+
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
171
|
+
website: String?
|
172
|
+
}
|
173
|
+
|
139
174
|
type address =
|
140
175
|
{
|
141
176
|
id: String,
|
142
|
-
address_types: ::Array[ModernTreasury::LegalEntity::Address::address_type],
|
177
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntity::Address::address_type],
|
143
178
|
country: String?,
|
144
179
|
created_at: Time,
|
145
180
|
discarded_at: Time?,
|
@@ -156,7 +191,7 @@ module ModernTreasury
|
|
156
191
|
class Address < ModernTreasury::Internal::Type::BaseModel
|
157
192
|
attr_accessor id: String
|
158
193
|
|
159
|
-
attr_accessor address_types: ::Array[ModernTreasury::LegalEntity::Address::address_type]
|
194
|
+
attr_accessor address_types: ::Array[ModernTreasury::Models::LegalEntity::Address::address_type]
|
160
195
|
|
161
196
|
attr_accessor country: String?
|
162
197
|
|
@@ -182,7 +217,7 @@ module ModernTreasury
|
|
182
217
|
|
183
218
|
def initialize: (
|
184
219
|
id: String,
|
185
|
-
address_types: ::Array[ModernTreasury::LegalEntity::Address::address_type],
|
220
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntity::Address::address_type],
|
186
221
|
country: String?,
|
187
222
|
created_at: Time,
|
188
223
|
discarded_at: Time?,
|
@@ -196,6 +231,22 @@ module ModernTreasury
|
|
196
231
|
updated_at: Time
|
197
232
|
) -> void
|
198
233
|
|
234
|
+
def to_hash: -> {
|
235
|
+
id: String,
|
236
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntity::Address::address_type],
|
237
|
+
country: String?,
|
238
|
+
created_at: Time,
|
239
|
+
discarded_at: Time?,
|
240
|
+
:line1 => String?,
|
241
|
+
:line2 => String?,
|
242
|
+
live_mode: bool,
|
243
|
+
locality: String?,
|
244
|
+
object: String,
|
245
|
+
postal_code: String?,
|
246
|
+
region: String?,
|
247
|
+
updated_at: Time
|
248
|
+
}
|
249
|
+
|
199
250
|
type address_type =
|
200
251
|
:business | :mailing | :other | :po_box | :residential
|
201
252
|
|
@@ -208,7 +259,7 @@ module ModernTreasury
|
|
208
259
|
PO_BOX: :po_box
|
209
260
|
RESIDENTIAL: :residential
|
210
261
|
|
211
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntity::Address::address_type]
|
262
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::Address::address_type]
|
212
263
|
end
|
213
264
|
end
|
214
265
|
|
@@ -217,8 +268,10 @@ module ModernTreasury
|
|
217
268
|
id: String,
|
218
269
|
created_at: Time,
|
219
270
|
discarded_at: Time?,
|
220
|
-
|
271
|
+
expiration_date: Date?,
|
272
|
+
id_type: ModernTreasury::Models::LegalEntity::Identification::id_type,
|
221
273
|
issuing_country: String?,
|
274
|
+
issuing_region: String?,
|
222
275
|
live_mode: bool,
|
223
276
|
object: String,
|
224
277
|
updated_at: Time
|
@@ -231,10 +284,14 @@ module ModernTreasury
|
|
231
284
|
|
232
285
|
attr_accessor discarded_at: Time?
|
233
286
|
|
234
|
-
attr_accessor
|
287
|
+
attr_accessor expiration_date: Date?
|
288
|
+
|
289
|
+
attr_accessor id_type: ModernTreasury::Models::LegalEntity::Identification::id_type
|
235
290
|
|
236
291
|
attr_accessor issuing_country: String?
|
237
292
|
|
293
|
+
attr_accessor issuing_region: String?
|
294
|
+
|
238
295
|
attr_accessor live_mode: bool
|
239
296
|
|
240
297
|
attr_accessor object: String
|
@@ -245,13 +302,28 @@ module ModernTreasury
|
|
245
302
|
id: String,
|
246
303
|
created_at: Time,
|
247
304
|
discarded_at: Time?,
|
248
|
-
|
305
|
+
expiration_date: Date?,
|
306
|
+
id_type: ModernTreasury::Models::LegalEntity::Identification::id_type,
|
249
307
|
issuing_country: String?,
|
308
|
+
issuing_region: String?,
|
250
309
|
live_mode: bool,
|
251
310
|
object: String,
|
252
311
|
updated_at: Time
|
253
312
|
) -> void
|
254
313
|
|
314
|
+
def to_hash: -> {
|
315
|
+
id: String,
|
316
|
+
created_at: Time,
|
317
|
+
discarded_at: Time?,
|
318
|
+
expiration_date: Date?,
|
319
|
+
id_type: ModernTreasury::Models::LegalEntity::Identification::id_type,
|
320
|
+
issuing_country: String?,
|
321
|
+
issuing_region: String?,
|
322
|
+
live_mode: bool,
|
323
|
+
object: String,
|
324
|
+
updated_at: Time
|
325
|
+
}
|
326
|
+
|
255
327
|
type id_type =
|
256
328
|
:ar_cuil
|
257
329
|
| :ar_cuit
|
@@ -261,6 +333,7 @@ module ModernTreasury
|
|
261
333
|
| :cl_rut
|
262
334
|
| :co_cedulas
|
263
335
|
| :co_nit
|
336
|
+
| :drivers_license
|
264
337
|
| :hn_id
|
265
338
|
| :hn_rtn
|
266
339
|
| :in_lei
|
@@ -286,6 +359,7 @@ module ModernTreasury
|
|
286
359
|
CL_RUT: :cl_rut
|
287
360
|
CO_CEDULAS: :co_cedulas
|
288
361
|
CO_NIT: :co_nit
|
362
|
+
DRIVERS_LICENSE: :drivers_license
|
289
363
|
HN_ID: :hn_id
|
290
364
|
HN_RTN: :hn_rtn
|
291
365
|
IN_LEI: :in_lei
|
@@ -300,7 +374,7 @@ module ModernTreasury
|
|
300
374
|
US_SSN: :us_ssn
|
301
375
|
VN_TIN: :vn_tin
|
302
376
|
|
303
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntity::Identification::id_type]
|
377
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::Identification::id_type]
|
304
378
|
end
|
305
379
|
end
|
306
380
|
|
@@ -313,7 +387,7 @@ module ModernTreasury
|
|
313
387
|
INDIVIDUAL: :individual
|
314
388
|
JOINT: :joint
|
315
389
|
|
316
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntity::legal_entity_type]
|
390
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::legal_entity_type]
|
317
391
|
end
|
318
392
|
|
319
393
|
type legal_structure =
|
@@ -334,7 +408,7 @@ module ModernTreasury
|
|
334
408
|
SOLE_PROPRIETORSHIP: :sole_proprietorship
|
335
409
|
TRUST: :trust
|
336
410
|
|
337
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntity::legal_structure]
|
411
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::legal_structure]
|
338
412
|
end
|
339
413
|
|
340
414
|
type phone_number = { phone_number: String }
|
@@ -345,6 +419,8 @@ module ModernTreasury
|
|
345
419
|
def phone_number=: (String) -> String
|
346
420
|
|
347
421
|
def initialize: (?phone_number: String) -> void
|
422
|
+
|
423
|
+
def to_hash: -> { phone_number: String }
|
348
424
|
end
|
349
425
|
|
350
426
|
type risk_rating = :low | :medium | :high
|
@@ -356,7 +432,7 @@ module ModernTreasury
|
|
356
432
|
MEDIUM: :medium
|
357
433
|
HIGH: :high
|
358
434
|
|
359
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntity::risk_rating]
|
435
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::risk_rating]
|
360
436
|
end
|
361
437
|
end
|
362
438
|
end
|
@@ -10,7 +10,7 @@ module ModernTreasury
|
|
10
10
|
object: String,
|
11
11
|
ownership_percentage: Integer?,
|
12
12
|
parent_legal_entity_id: String,
|
13
|
-
relationship_types: ::Array[ModernTreasury::LegalEntityAssociation::relationship_type],
|
13
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type],
|
14
14
|
title: String?,
|
15
15
|
updated_at: Time
|
16
16
|
}
|
@@ -32,7 +32,7 @@ module ModernTreasury
|
|
32
32
|
|
33
33
|
attr_accessor parent_legal_entity_id: String
|
34
34
|
|
35
|
-
attr_accessor relationship_types: ::Array[ModernTreasury::LegalEntityAssociation::relationship_type]
|
35
|
+
attr_accessor relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type]
|
36
36
|
|
37
37
|
attr_accessor title: String?
|
38
38
|
|
@@ -47,11 +47,25 @@ module ModernTreasury
|
|
47
47
|
object: String,
|
48
48
|
ownership_percentage: Integer?,
|
49
49
|
parent_legal_entity_id: String,
|
50
|
-
relationship_types: ::Array[ModernTreasury::LegalEntityAssociation::relationship_type],
|
50
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type],
|
51
51
|
title: String?,
|
52
52
|
updated_at: Time
|
53
53
|
) -> void
|
54
54
|
|
55
|
+
def to_hash: -> {
|
56
|
+
id: String,
|
57
|
+
child_legal_entity: ModernTreasury::LegalEntityAssociation::ChildLegalEntity,
|
58
|
+
created_at: Time,
|
59
|
+
discarded_at: Time?,
|
60
|
+
live_mode: bool,
|
61
|
+
object: String,
|
62
|
+
ownership_percentage: Integer?,
|
63
|
+
parent_legal_entity_id: String,
|
64
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type],
|
65
|
+
title: String?,
|
66
|
+
updated_at: Time
|
67
|
+
}
|
68
|
+
|
55
69
|
type child_legal_entity =
|
56
70
|
{
|
57
71
|
id: String,
|
@@ -70,8 +84,8 @@ module ModernTreasury
|
|
70
84
|
identifications: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification],
|
71
85
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
72
86
|
last_name: String?,
|
73
|
-
legal_entity_type: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
74
|
-
legal_structure: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
87
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
88
|
+
legal_structure: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
75
89
|
live_mode: bool,
|
76
90
|
metadata: ::Hash[Symbol, String],
|
77
91
|
middle_name: String?,
|
@@ -80,7 +94,7 @@ module ModernTreasury
|
|
80
94
|
politically_exposed_person: bool?,
|
81
95
|
preferred_name: String?,
|
82
96
|
prefix: String?,
|
83
|
-
risk_rating: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
97
|
+
risk_rating: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
84
98
|
suffix: String?,
|
85
99
|
updated_at: Time,
|
86
100
|
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
@@ -120,9 +134,9 @@ module ModernTreasury
|
|
120
134
|
|
121
135
|
attr_accessor last_name: String?
|
122
136
|
|
123
|
-
attr_accessor legal_entity_type: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
137
|
+
attr_accessor legal_entity_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
124
138
|
|
125
|
-
attr_accessor legal_structure: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_structure?
|
139
|
+
attr_accessor legal_structure: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_structure?
|
126
140
|
|
127
141
|
attr_accessor live_mode: bool
|
128
142
|
|
@@ -140,7 +154,7 @@ module ModernTreasury
|
|
140
154
|
|
141
155
|
attr_accessor prefix: String?
|
142
156
|
|
143
|
-
attr_accessor risk_rating: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::risk_rating?
|
157
|
+
attr_accessor risk_rating: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::risk_rating?
|
144
158
|
|
145
159
|
attr_accessor suffix: String?
|
146
160
|
|
@@ -167,8 +181,8 @@ module ModernTreasury
|
|
167
181
|
identifications: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification],
|
168
182
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
169
183
|
last_name: String?,
|
170
|
-
legal_entity_type: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
171
|
-
legal_structure: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
184
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
185
|
+
legal_structure: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
172
186
|
live_mode: bool,
|
173
187
|
metadata: ::Hash[Symbol, String],
|
174
188
|
middle_name: String?,
|
@@ -177,17 +191,51 @@ module ModernTreasury
|
|
177
191
|
politically_exposed_person: bool?,
|
178
192
|
preferred_name: String?,
|
179
193
|
prefix: String?,
|
180
|
-
risk_rating: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
194
|
+
risk_rating: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
181
195
|
suffix: String?,
|
182
196
|
updated_at: Time,
|
183
197
|
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
184
198
|
website: String?
|
185
199
|
) -> void
|
186
200
|
|
201
|
+
def to_hash: -> {
|
202
|
+
id: String,
|
203
|
+
addresses: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address],
|
204
|
+
bank_settings: ModernTreasury::BankSettings?,
|
205
|
+
business_name: String?,
|
206
|
+
citizenship_country: String?,
|
207
|
+
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
208
|
+
created_at: Time,
|
209
|
+
date_formed: Date?,
|
210
|
+
date_of_birth: Date?,
|
211
|
+
discarded_at: Time?,
|
212
|
+
doing_business_as_names: ::Array[String],
|
213
|
+
email: String?,
|
214
|
+
first_name: String?,
|
215
|
+
identifications: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification],
|
216
|
+
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
217
|
+
last_name: String?,
|
218
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
219
|
+
legal_structure: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
220
|
+
live_mode: bool,
|
221
|
+
metadata: ::Hash[Symbol, String],
|
222
|
+
middle_name: String?,
|
223
|
+
object: String,
|
224
|
+
phone_numbers: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber],
|
225
|
+
politically_exposed_person: bool?,
|
226
|
+
preferred_name: String?,
|
227
|
+
prefix: String?,
|
228
|
+
risk_rating: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
229
|
+
suffix: String?,
|
230
|
+
updated_at: Time,
|
231
|
+
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
232
|
+
website: String?
|
233
|
+
}
|
234
|
+
|
187
235
|
type address =
|
188
236
|
{
|
189
237
|
id: String,
|
190
|
-
address_types: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
238
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
191
239
|
country: String?,
|
192
240
|
created_at: Time,
|
193
241
|
discarded_at: Time?,
|
@@ -204,7 +252,7 @@ module ModernTreasury
|
|
204
252
|
class Address < ModernTreasury::Internal::Type::BaseModel
|
205
253
|
attr_accessor id: String
|
206
254
|
|
207
|
-
attr_accessor address_types: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
255
|
+
attr_accessor address_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
208
256
|
|
209
257
|
attr_accessor country: String?
|
210
258
|
|
@@ -230,7 +278,7 @@ module ModernTreasury
|
|
230
278
|
|
231
279
|
def initialize: (
|
232
280
|
id: String,
|
233
|
-
address_types: ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
281
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
234
282
|
country: String?,
|
235
283
|
created_at: Time,
|
236
284
|
discarded_at: Time?,
|
@@ -244,6 +292,22 @@ module ModernTreasury
|
|
244
292
|
updated_at: Time
|
245
293
|
) -> void
|
246
294
|
|
295
|
+
def to_hash: -> {
|
296
|
+
id: String,
|
297
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
298
|
+
country: String?,
|
299
|
+
created_at: Time,
|
300
|
+
discarded_at: Time?,
|
301
|
+
:line1 => String?,
|
302
|
+
:line2 => String?,
|
303
|
+
live_mode: bool,
|
304
|
+
locality: String?,
|
305
|
+
object: String,
|
306
|
+
postal_code: String?,
|
307
|
+
region: String?,
|
308
|
+
updated_at: Time
|
309
|
+
}
|
310
|
+
|
247
311
|
type address_type =
|
248
312
|
:business | :mailing | :other | :po_box | :residential
|
249
313
|
|
@@ -256,7 +320,7 @@ module ModernTreasury
|
|
256
320
|
PO_BOX: :po_box
|
257
321
|
RESIDENTIAL: :residential
|
258
322
|
|
259
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
323
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
260
324
|
end
|
261
325
|
end
|
262
326
|
|
@@ -265,8 +329,10 @@ module ModernTreasury
|
|
265
329
|
id: String,
|
266
330
|
created_at: Time,
|
267
331
|
discarded_at: Time?,
|
268
|
-
|
332
|
+
expiration_date: Date?,
|
333
|
+
id_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
269
334
|
issuing_country: String?,
|
335
|
+
issuing_region: String?,
|
270
336
|
live_mode: bool,
|
271
337
|
object: String,
|
272
338
|
updated_at: Time
|
@@ -279,10 +345,14 @@ module ModernTreasury
|
|
279
345
|
|
280
346
|
attr_accessor discarded_at: Time?
|
281
347
|
|
282
|
-
attr_accessor
|
348
|
+
attr_accessor expiration_date: Date?
|
349
|
+
|
350
|
+
attr_accessor id_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::id_type
|
283
351
|
|
284
352
|
attr_accessor issuing_country: String?
|
285
353
|
|
354
|
+
attr_accessor issuing_region: String?
|
355
|
+
|
286
356
|
attr_accessor live_mode: bool
|
287
357
|
|
288
358
|
attr_accessor object: String
|
@@ -293,13 +363,28 @@ module ModernTreasury
|
|
293
363
|
id: String,
|
294
364
|
created_at: Time,
|
295
365
|
discarded_at: Time?,
|
296
|
-
|
366
|
+
expiration_date: Date?,
|
367
|
+
id_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
297
368
|
issuing_country: String?,
|
369
|
+
issuing_region: String?,
|
298
370
|
live_mode: bool,
|
299
371
|
object: String,
|
300
372
|
updated_at: Time
|
301
373
|
) -> void
|
302
374
|
|
375
|
+
def to_hash: -> {
|
376
|
+
id: String,
|
377
|
+
created_at: Time,
|
378
|
+
discarded_at: Time?,
|
379
|
+
expiration_date: Date?,
|
380
|
+
id_type: ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
381
|
+
issuing_country: String?,
|
382
|
+
issuing_region: String?,
|
383
|
+
live_mode: bool,
|
384
|
+
object: String,
|
385
|
+
updated_at: Time
|
386
|
+
}
|
387
|
+
|
303
388
|
type id_type =
|
304
389
|
:ar_cuil
|
305
390
|
| :ar_cuit
|
@@ -309,6 +394,7 @@ module ModernTreasury
|
|
309
394
|
| :cl_rut
|
310
395
|
| :co_cedulas
|
311
396
|
| :co_nit
|
397
|
+
| :drivers_license
|
312
398
|
| :hn_id
|
313
399
|
| :hn_rtn
|
314
400
|
| :in_lei
|
@@ -334,6 +420,7 @@ module ModernTreasury
|
|
334
420
|
CL_RUT: :cl_rut
|
335
421
|
CO_CEDULAS: :co_cedulas
|
336
422
|
CO_NIT: :co_nit
|
423
|
+
DRIVERS_LICENSE: :drivers_license
|
337
424
|
HN_ID: :hn_id
|
338
425
|
HN_RTN: :hn_rtn
|
339
426
|
IN_LEI: :in_lei
|
@@ -348,7 +435,7 @@ module ModernTreasury
|
|
348
435
|
US_SSN: :us_ssn
|
349
436
|
VN_TIN: :vn_tin
|
350
437
|
|
351
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification::id_type]
|
438
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::id_type]
|
352
439
|
end
|
353
440
|
end
|
354
441
|
|
@@ -361,7 +448,7 @@ module ModernTreasury
|
|
361
448
|
INDIVIDUAL: :individual
|
362
449
|
JOINT: :joint
|
363
450
|
|
364
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_entity_type]
|
451
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_entity_type]
|
365
452
|
end
|
366
453
|
|
367
454
|
type legal_structure =
|
@@ -382,7 +469,7 @@ module ModernTreasury
|
|
382
469
|
SOLE_PROPRIETORSHIP: :sole_proprietorship
|
383
470
|
TRUST: :trust
|
384
471
|
|
385
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::legal_structure]
|
472
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::legal_structure]
|
386
473
|
end
|
387
474
|
|
388
475
|
type phone_number = { phone_number: String }
|
@@ -393,6 +480,8 @@ module ModernTreasury
|
|
393
480
|
def phone_number=: (String) -> String
|
394
481
|
|
395
482
|
def initialize: (?phone_number: String) -> void
|
483
|
+
|
484
|
+
def to_hash: -> { phone_number: String }
|
396
485
|
end
|
397
486
|
|
398
487
|
type risk_rating = :low | :medium | :high
|
@@ -404,7 +493,7 @@ module ModernTreasury
|
|
404
493
|
MEDIUM: :medium
|
405
494
|
HIGH: :high
|
406
495
|
|
407
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::risk_rating]
|
496
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::risk_rating]
|
408
497
|
end
|
409
498
|
end
|
410
499
|
|
@@ -416,7 +505,7 @@ module ModernTreasury
|
|
416
505
|
BENEFICIAL_OWNER: :beneficial_owner
|
417
506
|
CONTROL_PERSON: :control_person
|
418
507
|
|
419
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityAssociation::relationship_type]
|
508
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityAssociation::relationship_type]
|
420
509
|
end
|
421
510
|
end
|
422
511
|
end
|