modern_treasury 0.1.0.pre.alpha.19 → 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 +31 -0
- data/README.md +108 -59
- 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 +12 -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 +12 -0
- data/lib/modern_treasury/internal/type/unknown.rb +8 -0
- data/lib/modern_treasury/internal/util.rb +50 -1
- 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 +9 -0
- 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 +34 -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
@@ -137,6 +137,36 @@ module ModernTreasury
|
|
137
137
|
?request_options: ModernTreasury::request_opts
|
138
138
|
) -> void
|
139
139
|
|
140
|
+
def to_hash: -> {
|
141
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::legal_entity_type,
|
142
|
+
addresses: ::Array[ModernTreasury::LegalEntityCreateParams::Address],
|
143
|
+
bank_settings: ModernTreasury::BankSettings?,
|
144
|
+
business_name: String?,
|
145
|
+
citizenship_country: String?,
|
146
|
+
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
147
|
+
date_formed: Date?,
|
148
|
+
date_of_birth: Date?,
|
149
|
+
doing_business_as_names: ::Array[String],
|
150
|
+
email: String?,
|
151
|
+
first_name: String?,
|
152
|
+
identifications: ::Array[ModernTreasury::LegalEntityCreateParams::Identification],
|
153
|
+
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
154
|
+
last_name: String?,
|
155
|
+
legal_entity_associations: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation]?,
|
156
|
+
legal_structure: ModernTreasury::Models::LegalEntityCreateParams::legal_structure?,
|
157
|
+
metadata: ::Hash[Symbol, String],
|
158
|
+
middle_name: String?,
|
159
|
+
phone_numbers: ::Array[ModernTreasury::LegalEntityCreateParams::PhoneNumber],
|
160
|
+
politically_exposed_person: bool?,
|
161
|
+
preferred_name: String?,
|
162
|
+
prefix: String?,
|
163
|
+
risk_rating: ModernTreasury::Models::LegalEntityCreateParams::risk_rating?,
|
164
|
+
suffix: String?,
|
165
|
+
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
166
|
+
website: String?,
|
167
|
+
request_options: ModernTreasury::RequestOptions
|
168
|
+
}
|
169
|
+
|
140
170
|
type legal_entity_type = :business | :individual
|
141
171
|
|
142
172
|
module LegalEntityType
|
@@ -155,7 +185,7 @@ module ModernTreasury
|
|
155
185
|
locality: String?,
|
156
186
|
postal_code: String?,
|
157
187
|
region: String?,
|
158
|
-
address_types: ::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type],
|
188
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type],
|
159
189
|
:line2 => String?
|
160
190
|
}
|
161
191
|
|
@@ -170,11 +200,11 @@ module ModernTreasury
|
|
170
200
|
|
171
201
|
attr_accessor region: String?
|
172
202
|
|
173
|
-
attr_reader address_types: ::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type]?
|
203
|
+
attr_reader address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type]?
|
174
204
|
|
175
205
|
def address_types=: (
|
176
|
-
::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type]
|
177
|
-
) -> ::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type]
|
206
|
+
::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type]
|
207
|
+
) -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type]
|
178
208
|
|
179
209
|
attr_accessor line2: String?
|
180
210
|
|
@@ -184,10 +214,20 @@ module ModernTreasury
|
|
184
214
|
locality: String?,
|
185
215
|
postal_code: String?,
|
186
216
|
region: String?,
|
187
|
-
?address_types: ::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type],
|
217
|
+
?address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type],
|
188
218
|
?line2: String?
|
189
219
|
) -> void
|
190
220
|
|
221
|
+
def to_hash: -> {
|
222
|
+
country: String?,
|
223
|
+
:line1 => String?,
|
224
|
+
locality: String?,
|
225
|
+
postal_code: String?,
|
226
|
+
region: String?,
|
227
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type],
|
228
|
+
:line2 => String?
|
229
|
+
}
|
230
|
+
|
191
231
|
type address_type =
|
192
232
|
:business | :mailing | :other | :po_box | :residential
|
193
233
|
|
@@ -200,30 +240,46 @@ module ModernTreasury
|
|
200
240
|
PO_BOX: :po_box
|
201
241
|
RESIDENTIAL: :residential
|
202
242
|
|
203
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::Address::address_type]
|
243
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::Address::address_type]
|
204
244
|
end
|
205
245
|
end
|
206
246
|
|
207
247
|
type identification =
|
208
248
|
{
|
209
249
|
id_number: String,
|
210
|
-
id_type: ModernTreasury::LegalEntityCreateParams::Identification::id_type,
|
211
|
-
|
250
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::Identification::id_type,
|
251
|
+
expiration_date: Date?,
|
252
|
+
issuing_country: String?,
|
253
|
+
issuing_region: String?
|
212
254
|
}
|
213
255
|
|
214
256
|
class Identification < ModernTreasury::Internal::Type::BaseModel
|
215
257
|
attr_accessor id_number: String
|
216
258
|
|
217
|
-
attr_accessor id_type: ModernTreasury::LegalEntityCreateParams::Identification::id_type
|
259
|
+
attr_accessor id_type: ModernTreasury::Models::LegalEntityCreateParams::Identification::id_type
|
260
|
+
|
261
|
+
attr_accessor expiration_date: Date?
|
218
262
|
|
219
263
|
attr_accessor issuing_country: String?
|
220
264
|
|
265
|
+
attr_accessor issuing_region: String?
|
266
|
+
|
221
267
|
def initialize: (
|
222
268
|
id_number: String,
|
223
|
-
id_type: ModernTreasury::LegalEntityCreateParams::Identification::id_type,
|
224
|
-
?
|
269
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::Identification::id_type,
|
270
|
+
?expiration_date: Date?,
|
271
|
+
?issuing_country: String?,
|
272
|
+
?issuing_region: String?
|
225
273
|
) -> void
|
226
274
|
|
275
|
+
def to_hash: -> {
|
276
|
+
id_number: String,
|
277
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::Identification::id_type,
|
278
|
+
expiration_date: Date?,
|
279
|
+
issuing_country: String?,
|
280
|
+
issuing_region: String?
|
281
|
+
}
|
282
|
+
|
227
283
|
type id_type =
|
228
284
|
:ar_cuil
|
229
285
|
| :ar_cuit
|
@@ -233,6 +289,7 @@ module ModernTreasury
|
|
233
289
|
| :cl_rut
|
234
290
|
| :co_cedulas
|
235
291
|
| :co_nit
|
292
|
+
| :drivers_license
|
236
293
|
| :hn_id
|
237
294
|
| :hn_rtn
|
238
295
|
| :in_lei
|
@@ -258,6 +315,7 @@ module ModernTreasury
|
|
258
315
|
CL_RUT: :cl_rut
|
259
316
|
CO_CEDULAS: :co_cedulas
|
260
317
|
CO_NIT: :co_nit
|
318
|
+
DRIVERS_LICENSE: :drivers_license
|
261
319
|
HN_ID: :hn_id
|
262
320
|
HN_RTN: :hn_rtn
|
263
321
|
IN_LEI: :in_lei
|
@@ -272,13 +330,13 @@ module ModernTreasury
|
|
272
330
|
US_SSN: :us_ssn
|
273
331
|
VN_TIN: :vn_tin
|
274
332
|
|
275
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::Identification::id_type]
|
333
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::Identification::id_type]
|
276
334
|
end
|
277
335
|
end
|
278
336
|
|
279
337
|
type legal_entity_association =
|
280
338
|
{
|
281
|
-
relationship_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::relationship_type],
|
339
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::relationship_type],
|
282
340
|
child_legal_entity: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity,
|
283
341
|
child_legal_entity_id: String,
|
284
342
|
ownership_percentage: Integer?,
|
@@ -286,7 +344,7 @@ module ModernTreasury
|
|
286
344
|
}
|
287
345
|
|
288
346
|
class LegalEntityAssociation < ModernTreasury::Internal::Type::BaseModel
|
289
|
-
attr_accessor relationship_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::relationship_type]
|
347
|
+
attr_accessor relationship_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::relationship_type]
|
290
348
|
|
291
349
|
attr_reader child_legal_entity: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity?
|
292
350
|
|
@@ -303,13 +361,21 @@ module ModernTreasury
|
|
303
361
|
attr_accessor title: String?
|
304
362
|
|
305
363
|
def initialize: (
|
306
|
-
relationship_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::relationship_type],
|
364
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::relationship_type],
|
307
365
|
?child_legal_entity: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity,
|
308
366
|
?child_legal_entity_id: String,
|
309
367
|
?ownership_percentage: Integer?,
|
310
368
|
?title: String?
|
311
369
|
) -> void
|
312
370
|
|
371
|
+
def to_hash: -> {
|
372
|
+
relationship_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::relationship_type],
|
373
|
+
child_legal_entity: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity,
|
374
|
+
child_legal_entity_id: String,
|
375
|
+
ownership_percentage: Integer?,
|
376
|
+
title: String?
|
377
|
+
}
|
378
|
+
|
313
379
|
type relationship_type = :beneficial_owner | :control_person
|
314
380
|
|
315
381
|
module RelationshipType
|
@@ -318,7 +384,7 @@ module ModernTreasury
|
|
318
384
|
BENEFICIAL_OWNER: :beneficial_owner
|
319
385
|
CONTROL_PERSON: :control_person
|
320
386
|
|
321
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::relationship_type]
|
387
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::relationship_type]
|
322
388
|
end
|
323
389
|
|
324
390
|
type child_legal_entity =
|
@@ -336,15 +402,15 @@ module ModernTreasury
|
|
336
402
|
identifications: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification],
|
337
403
|
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
338
404
|
last_name: String?,
|
339
|
-
legal_entity_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
340
|
-
legal_structure: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
405
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
406
|
+
legal_structure: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
341
407
|
metadata: ::Hash[Symbol, String],
|
342
408
|
middle_name: String?,
|
343
409
|
phone_numbers: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::PhoneNumber],
|
344
410
|
politically_exposed_person: bool?,
|
345
411
|
preferred_name: String?,
|
346
412
|
prefix: String?,
|
347
|
-
risk_rating: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
413
|
+
risk_rating: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
348
414
|
suffix: String?,
|
349
415
|
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
350
416
|
website: String?
|
@@ -391,13 +457,13 @@ module ModernTreasury
|
|
391
457
|
|
392
458
|
attr_accessor last_name: String?
|
393
459
|
|
394
|
-
attr_reader legal_entity_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type?
|
460
|
+
attr_reader legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type?
|
395
461
|
|
396
462
|
def legal_entity_type=: (
|
397
|
-
ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
398
|
-
) -> ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
463
|
+
ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
464
|
+
) -> ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type
|
399
465
|
|
400
|
-
attr_accessor legal_structure: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?
|
466
|
+
attr_accessor legal_structure: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?
|
401
467
|
|
402
468
|
attr_reader metadata: ::Hash[Symbol, String]?
|
403
469
|
|
@@ -417,7 +483,7 @@ module ModernTreasury
|
|
417
483
|
|
418
484
|
attr_accessor prefix: String?
|
419
485
|
|
420
|
-
attr_accessor risk_rating: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?
|
486
|
+
attr_accessor risk_rating: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?
|
421
487
|
|
422
488
|
attr_accessor suffix: String?
|
423
489
|
|
@@ -439,20 +505,48 @@ module ModernTreasury
|
|
439
505
|
?identifications: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification],
|
440
506
|
?industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
441
507
|
?last_name: String?,
|
442
|
-
?legal_entity_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
443
|
-
?legal_structure: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
508
|
+
?legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
509
|
+
?legal_structure: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
444
510
|
?metadata: ::Hash[Symbol, String],
|
445
511
|
?middle_name: String?,
|
446
512
|
?phone_numbers: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::PhoneNumber],
|
447
513
|
?politically_exposed_person: bool?,
|
448
514
|
?preferred_name: String?,
|
449
515
|
?prefix: String?,
|
450
|
-
?risk_rating: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
516
|
+
?risk_rating: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
451
517
|
?suffix: String?,
|
452
518
|
?wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
453
519
|
?website: String?
|
454
520
|
) -> void
|
455
521
|
|
522
|
+
def to_hash: -> {
|
523
|
+
addresses: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address],
|
524
|
+
bank_settings: ModernTreasury::BankSettings?,
|
525
|
+
business_name: String?,
|
526
|
+
citizenship_country: String?,
|
527
|
+
compliance_details: ModernTreasury::LegalEntityComplianceDetail?,
|
528
|
+
date_formed: Date?,
|
529
|
+
date_of_birth: Date?,
|
530
|
+
doing_business_as_names: ::Array[String],
|
531
|
+
email: String?,
|
532
|
+
first_name: String?,
|
533
|
+
identifications: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification],
|
534
|
+
industry_classifications: ::Array[ModernTreasury::LegalEntityIndustryClassification],
|
535
|
+
last_name: String?,
|
536
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type,
|
537
|
+
legal_structure: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure?,
|
538
|
+
metadata: ::Hash[Symbol, String],
|
539
|
+
middle_name: String?,
|
540
|
+
phone_numbers: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::PhoneNumber],
|
541
|
+
politically_exposed_person: bool?,
|
542
|
+
preferred_name: String?,
|
543
|
+
prefix: String?,
|
544
|
+
risk_rating: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating?,
|
545
|
+
suffix: String?,
|
546
|
+
wealth_and_employment_details: ModernTreasury::WealthAndEmploymentDetails?,
|
547
|
+
website: String?
|
548
|
+
}
|
549
|
+
|
456
550
|
type address =
|
457
551
|
{
|
458
552
|
country: String?,
|
@@ -460,7 +554,7 @@ module ModernTreasury
|
|
460
554
|
locality: String?,
|
461
555
|
postal_code: String?,
|
462
556
|
region: String?,
|
463
|
-
address_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
557
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
464
558
|
:line2 => String?
|
465
559
|
}
|
466
560
|
|
@@ -475,11 +569,11 @@ module ModernTreasury
|
|
475
569
|
|
476
570
|
attr_accessor region: String?
|
477
571
|
|
478
|
-
attr_reader address_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]?
|
572
|
+
attr_reader address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]?
|
479
573
|
|
480
574
|
def address_types=: (
|
481
|
-
::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
482
|
-
) -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
575
|
+
::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
576
|
+
) -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
483
577
|
|
484
578
|
attr_accessor line2: String?
|
485
579
|
|
@@ -489,10 +583,20 @@ module ModernTreasury
|
|
489
583
|
locality: String?,
|
490
584
|
postal_code: String?,
|
491
585
|
region: String?,
|
492
|
-
?address_types: ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
586
|
+
?address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
493
587
|
?line2: String?
|
494
588
|
) -> void
|
495
589
|
|
590
|
+
def to_hash: -> {
|
591
|
+
country: String?,
|
592
|
+
:line1 => String?,
|
593
|
+
locality: String?,
|
594
|
+
postal_code: String?,
|
595
|
+
region: String?,
|
596
|
+
address_types: ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type],
|
597
|
+
:line2 => String?
|
598
|
+
}
|
599
|
+
|
496
600
|
type address_type =
|
497
601
|
:business | :mailing | :other | :po_box | :residential
|
498
602
|
|
@@ -505,30 +609,46 @@ module ModernTreasury
|
|
505
609
|
PO_BOX: :po_box
|
506
610
|
RESIDENTIAL: :residential
|
507
611
|
|
508
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
612
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Address::address_type]
|
509
613
|
end
|
510
614
|
end
|
511
615
|
|
512
616
|
type identification =
|
513
617
|
{
|
514
618
|
id_number: String,
|
515
|
-
id_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
516
|
-
|
619
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
620
|
+
expiration_date: Date?,
|
621
|
+
issuing_country: String?,
|
622
|
+
issuing_region: String?
|
517
623
|
}
|
518
624
|
|
519
625
|
class Identification < ModernTreasury::Internal::Type::BaseModel
|
520
626
|
attr_accessor id_number: String
|
521
627
|
|
522
|
-
attr_accessor id_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type
|
628
|
+
attr_accessor id_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type
|
629
|
+
|
630
|
+
attr_accessor expiration_date: Date?
|
523
631
|
|
524
632
|
attr_accessor issuing_country: String?
|
525
633
|
|
634
|
+
attr_accessor issuing_region: String?
|
635
|
+
|
526
636
|
def initialize: (
|
527
637
|
id_number: String,
|
528
|
-
id_type: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
529
|
-
?
|
638
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
639
|
+
?expiration_date: Date?,
|
640
|
+
?issuing_country: String?,
|
641
|
+
?issuing_region: String?
|
530
642
|
) -> void
|
531
643
|
|
644
|
+
def to_hash: -> {
|
645
|
+
id_number: String,
|
646
|
+
id_type: ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type,
|
647
|
+
expiration_date: Date?,
|
648
|
+
issuing_country: String?,
|
649
|
+
issuing_region: String?
|
650
|
+
}
|
651
|
+
|
532
652
|
type id_type =
|
533
653
|
:ar_cuil
|
534
654
|
| :ar_cuit
|
@@ -538,6 +658,7 @@ module ModernTreasury
|
|
538
658
|
| :cl_rut
|
539
659
|
| :co_cedulas
|
540
660
|
| :co_nit
|
661
|
+
| :drivers_license
|
541
662
|
| :hn_id
|
542
663
|
| :hn_rtn
|
543
664
|
| :in_lei
|
@@ -563,6 +684,7 @@ module ModernTreasury
|
|
563
684
|
CL_RUT: :cl_rut
|
564
685
|
CO_CEDULAS: :co_cedulas
|
565
686
|
CO_NIT: :co_nit
|
687
|
+
DRIVERS_LICENSE: :drivers_license
|
566
688
|
HN_ID: :hn_id
|
567
689
|
HN_RTN: :hn_rtn
|
568
690
|
IN_LEI: :in_lei
|
@@ -577,7 +699,7 @@ module ModernTreasury
|
|
577
699
|
US_SSN: :us_ssn
|
578
700
|
VN_TIN: :vn_tin
|
579
701
|
|
580
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type]
|
702
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::Identification::id_type]
|
581
703
|
end
|
582
704
|
end
|
583
705
|
|
@@ -589,7 +711,7 @@ module ModernTreasury
|
|
589
711
|
BUSINESS: :business
|
590
712
|
INDIVIDUAL: :individual
|
591
713
|
|
592
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type]
|
714
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_entity_type]
|
593
715
|
end
|
594
716
|
|
595
717
|
type legal_structure =
|
@@ -610,7 +732,7 @@ module ModernTreasury
|
|
610
732
|
SOLE_PROPRIETORSHIP: :sole_proprietorship
|
611
733
|
TRUST: :trust
|
612
734
|
|
613
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure]
|
735
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::legal_structure]
|
614
736
|
end
|
615
737
|
|
616
738
|
type phone_number = { phone_number: String }
|
@@ -621,6 +743,8 @@ module ModernTreasury
|
|
621
743
|
def phone_number=: (String) -> String
|
622
744
|
|
623
745
|
def initialize: (?phone_number: String) -> void
|
746
|
+
|
747
|
+
def to_hash: -> { phone_number: String }
|
624
748
|
end
|
625
749
|
|
626
750
|
type risk_rating = :low | :medium | :high
|
@@ -632,7 +756,7 @@ module ModernTreasury
|
|
632
756
|
MEDIUM: :medium
|
633
757
|
HIGH: :high
|
634
758
|
|
635
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating]
|
759
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::ChildLegalEntity::risk_rating]
|
636
760
|
end
|
637
761
|
end
|
638
762
|
end
|
@@ -666,6 +790,8 @@ module ModernTreasury
|
|
666
790
|
def phone_number=: (String) -> String
|
667
791
|
|
668
792
|
def initialize: (?phone_number: String) -> void
|
793
|
+
|
794
|
+
def to_hash: -> { phone_number: String }
|
669
795
|
end
|
670
796
|
|
671
797
|
type risk_rating = :low | :medium | :high
|
@@ -4,7 +4,7 @@ module ModernTreasury
|
|
4
4
|
{
|
5
5
|
id: String,
|
6
6
|
classification_codes: ::Array[String],
|
7
|
-
classification_type: ModernTreasury::LegalEntityIndustryClassification::classification_type,
|
7
|
+
classification_type: ModernTreasury::Models::LegalEntityIndustryClassification::classification_type,
|
8
8
|
created_at: Time,
|
9
9
|
discarded_at: Time?,
|
10
10
|
live_mode: bool,
|
@@ -17,7 +17,7 @@ module ModernTreasury
|
|
17
17
|
|
18
18
|
attr_accessor classification_codes: ::Array[String]
|
19
19
|
|
20
|
-
attr_accessor classification_type: ModernTreasury::LegalEntityIndustryClassification::classification_type
|
20
|
+
attr_accessor classification_type: ModernTreasury::Models::LegalEntityIndustryClassification::classification_type
|
21
21
|
|
22
22
|
attr_accessor created_at: Time
|
23
23
|
|
@@ -32,7 +32,7 @@ module ModernTreasury
|
|
32
32
|
def initialize: (
|
33
33
|
id: String,
|
34
34
|
classification_codes: ::Array[String],
|
35
|
-
classification_type: ModernTreasury::LegalEntityIndustryClassification::classification_type,
|
35
|
+
classification_type: ModernTreasury::Models::LegalEntityIndustryClassification::classification_type,
|
36
36
|
created_at: Time,
|
37
37
|
discarded_at: Time?,
|
38
38
|
live_mode: bool,
|
@@ -40,6 +40,17 @@ module ModernTreasury
|
|
40
40
|
updated_at: Time
|
41
41
|
) -> void
|
42
42
|
|
43
|
+
def to_hash: -> {
|
44
|
+
id: String,
|
45
|
+
classification_codes: ::Array[String],
|
46
|
+
classification_type: ModernTreasury::Models::LegalEntityIndustryClassification::classification_type,
|
47
|
+
created_at: Time,
|
48
|
+
discarded_at: Time?,
|
49
|
+
live_mode: bool,
|
50
|
+
object: String,
|
51
|
+
updated_at: Time
|
52
|
+
}
|
53
|
+
|
43
54
|
type classification_type =
|
44
55
|
:anzsic
|
45
56
|
| :bics
|
@@ -76,7 +87,7 @@ module ModernTreasury
|
|
76
87
|
UKSIC: :uksic
|
77
88
|
UNSPSC: :unspsc
|
78
89
|
|
79
|
-
def self?.values: -> ::Array[ModernTreasury::LegalEntityIndustryClassification::classification_type]
|
90
|
+
def self?.values: -> ::Array[ModernTreasury::Models::LegalEntityIndustryClassification::classification_type]
|
80
91
|
end
|
81
92
|
end
|
82
93
|
end
|
@@ -43,6 +43,15 @@ module ModernTreasury
|
|
43
43
|
?request_options: ModernTreasury::request_opts
|
44
44
|
) -> void
|
45
45
|
|
46
|
+
def to_hash: -> {
|
47
|
+
after_cursor: String?,
|
48
|
+
legal_entity_type: ModernTreasury::Models::LegalEntityListParams::legal_entity_type,
|
49
|
+
metadata: ::Hash[Symbol, String],
|
50
|
+
per_page: Integer,
|
51
|
+
show_deleted: String,
|
52
|
+
request_options: ModernTreasury::RequestOptions
|
53
|
+
}
|
54
|
+
|
46
55
|
type legal_entity_type = :business | :individual
|
47
56
|
|
48
57
|
module LegalEntityType
|