lithic 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- data/lib/lithic/models/account_holder.rb +1 -79
- data/lib/lithic/models/account_holder_create_params.rb +338 -549
- data/lib/lithic/models/account_holder_list_documents_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +1 -9
- data/lib/lithic/models/account_holder_update_params.rb +501 -509
- data/lib/lithic/models/account_holder_update_response.rb +1 -9
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +1 -11
- data/lib/lithic/models/account_holder_upload_document_params.rb +8 -1
- data/lib/lithic/models/account_holders/account_holder_entity.rb +183 -0
- data/lib/lithic/models/account_holders/entity_create_params.rb +166 -0
- data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
- data/lib/lithic/models/account_holders/entity_delete_params.rb +28 -0
- data/lib/lithic/models/account_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/account_update_params.rb +8 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -2
- data/lib/lithic/models/auth_rules/{rule_stats.rb → backtest_stats.rb} +16 -24
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +9 -9
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +13 -13
- data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +6 -6
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +338 -110
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +9 -1
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +19 -1
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +163 -47
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_params.rb +183 -66
- data/lib/lithic/models/book_transfer_retrieve_params.rb +7 -1
- data/lib/lithic/models/book_transfer_retry_params.rb +8 -1
- data/lib/lithic/models/book_transfer_reverse_params.rb +8 -1
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_bulk_order_update_params.rb +8 -1
- data/lib/lithic/models/card_convert_physical_params.rb +8 -1
- data/lib/lithic/models/card_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_provision_params.rb +8 -1
- data/lib/lithic/models/card_reissue_params.rb +8 -1
- data/lib/lithic/models/card_renew_params.rb +8 -1
- data/lib/lithic/models/card_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/card_update_params.rb +8 -1
- data/lib/lithic/models/card_web_provision_params.rb +8 -1
- data/lib/lithic/models/cards/balance_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +9 -1
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +9 -1
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +7 -1
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/dispute_delete_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_delete_params.rb +7 -1
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +8 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +8 -1
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
- data/lib/lithic/models/dispute_update_params.rb +8 -1
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- data/lib/lithic/models/events/subscription_delete_params.rb +7 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +8 -1
- data/lib/lithic/models/events/subscription_recover_params.rb +8 -1
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +8 -1
- data/lib/lithic/models/events/subscription_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +8 -1
- data/lib/lithic/models/events/subscription_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +446 -140
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_unpause_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +7 -1
- data/lib/lithic/models/external_payment_cancel_params.rb +7 -1
- data/lib/lithic/models/external_payment_release_params.rb +7 -1
- data/lib/lithic/models/external_payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_payment_reverse_params.rb +7 -1
- data/lib/lithic/models/external_payment_settle_params.rb +7 -1
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +7 -1
- data/lib/lithic/models/financial_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/category_tier.rb +28 -0
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +50 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +47 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +51 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +24 -0
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement.rb +1 -0
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +9 -1
- data/lib/lithic/models/fraud/transaction_report_params.rb +8 -1
- data/lib/lithic/models/fraud/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_details_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_params.rb +7 -1
- data/lib/lithic/models/kyb.rb +1 -71
- data/lib/lithic/models/management_operation_retrieve_params.rb +7 -1
- data/lib/lithic/models/management_operation_reverse_params.rb +7 -1
- data/lib/lithic/models/network_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/parsed_webhook_event.rb +1 -11
- data/lib/lithic/models/payment_create_params.rb +22 -1
- data/lib/lithic/models/payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/payment_retry_params.rb +7 -1
- data/lib/lithic/models/payment_return_params.rb +8 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +8 -1
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +7 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +8 -1
- data/lib/lithic/models/reports/settlement_summary_params.rb +7 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +7 -1
- data/lib/lithic/models/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
- data/lib/lithic/models/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_pause_params.rb +7 -1
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +8 -1
- data/lib/lithic/models/tokenization_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_unpause_params.rb +7 -1
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +8 -1
- data/lib/lithic/models/transaction_expire_authorization_params.rb +7 -1
- data/lib/lithic/models/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models.rb +4 -2
- data/lib/lithic/resources/account_activity.rb +2 -1
- data/lib/lithic/resources/account_holders/entities.rb +89 -0
- data/lib/lithic/resources/account_holders.rb +13 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +20 -49
- data/lib/lithic/resources/balances.rb +2 -1
- data/lib/lithic/resources/book_transfers.rb +2 -1
- data/lib/lithic/resources/card_bulk_orders.rb +2 -1
- data/lib/lithic/resources/card_programs.rb +2 -1
- data/lib/lithic/resources/cards/balances.rb +2 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +2 -1
- data/lib/lithic/resources/cards.rb +4 -2
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -1
- data/lib/lithic/resources/disputes.rb +4 -2
- data/lib/lithic/resources/disputes_v2.rb +2 -1
- data/lib/lithic/resources/events/subscriptions.rb +8 -4
- data/lib/lithic/resources/events.rb +4 -2
- data/lib/lithic/resources/external_bank_accounts.rb +5 -40
- data/lib/lithic/resources/external_payments.rb +2 -1
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -1
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +206 -0
- data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -1
- data/lib/lithic/resources/financial_accounts.rb +11 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- data/lib/lithic/resources/management_operations.rb +2 -1
- data/lib/lithic/resources/network_programs.rb +2 -1
- data/lib/lithic/resources/payments.rb +5 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -1
- data/lib/lithic/resources/responder_endpoints.rb +4 -2
- data/lib/lithic/resources/tokenizations.rb +2 -1
- data/lib/lithic/resources/transactions.rb +2 -1
- data/lib/lithic/resources/transfer_limits.rb +2 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +20 -2
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- data/rbi/lithic/models/account_holder.rbi +0 -121
- data/rbi/lithic/models/account_holder_create_params.rbi +567 -837
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +6 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +0 -16
- data/rbi/lithic/models/account_holder_update_params.rbi +860 -831
- data/rbi/lithic/models/account_holder_update_response.rbi +0 -17
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +0 -17
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +296 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +248 -0
- data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +48 -0
- data/rbi/lithic/models/account_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/account_update_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +6 -3
- data/rbi/lithic/models/auth_rules/{rule_stats.rbi → backtest_stats.rbi} +29 -33
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +12 -12
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +1 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +31 -31
- data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +11 -8
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +675 -178
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +520 -97
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +11 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +8 -8
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +391 -101
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/book_transfer_retry_params.rbi +10 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +10 -1
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +6 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +6 -0
- data/rbi/lithic/models/card_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/card_provision_params.rbi +6 -0
- data/rbi/lithic/models/card_reissue_params.rbi +6 -0
- data/rbi/lithic/models/card_renew_params.rbi +6 -0
- data/rbi/lithic/models/card_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/card_update_params.rbi +6 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +6 -0
- data/rbi/lithic/models/cards/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +14 -2
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +8 -0
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +15 -17
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_delete_params.rbi +13 -5
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +10 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +6 -0
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/dispute_update_params.rbi +6 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- data/rbi/lithic/models/events/subscription_delete_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_recover_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_account_create_params.rbi +693 -211
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +10 -1
- data/rbi/lithic/models/external_payment_cancel_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_payment_reverse_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +6 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +14 -2
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_account_update_params.rbi +10 -2
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/category_tier.rbi +45 -0
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +75 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +79 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +76 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +48 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +8 -0
- data/rbi/lithic/models/fraud/transaction_report_params.rbi +6 -0
- data/rbi/lithic/models/fraud/transaction_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_details_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/kyb.rbi +0 -109
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/management_operation_reverse_params.rbi +11 -1
- data/rbi/lithic/models/network_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/parsed_webhook_event.rbi +0 -17
- data/rbi/lithic/models/payment_create_params.rbi +34 -0
- data/rbi/lithic/models/payment_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/payment_retry_params.rbi +13 -5
- data/rbi/lithic/models/payment_return_params.rbi +6 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +13 -5
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
- data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
- data/rbi/lithic/models/tokenization_pause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +6 -0
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_unpause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +6 -0
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +13 -5
- data/rbi/lithic/models/transaction_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +13 -5
- data/rbi/lithic/models.rbi +4 -2
- data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +19 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +20 -75
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
- data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
- data/rbi/lithic/resources/financial_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- data/sig/lithic/models/account_holder.rbs +0 -58
- data/sig/lithic/models/account_holder_create_params.rbs +217 -353
- data/sig/lithic/models/account_holder_list_documents_params.rbs +12 -3
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -1
- data/sig/lithic/models/account_holder_retrieve_params.rbs +12 -3
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +0 -9
- data/sig/lithic/models/account_holder_update_params.rbs +326 -330
- data/sig/lithic/models/account_holder_update_response.rbs +0 -9
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +0 -9
- data/sig/lithic/models/account_holder_upload_document_params.rbs +5 -0
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +137 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +123 -0
- data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +30 -0
- data/sig/lithic/models/account_retrieve_params.rbs +11 -3
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/account_update_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/{rule_stats.rbs → backtest_stats.rbs} +15 -22
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +8 -8
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +15 -15
- data/sig/lithic/models/auth_rules/report_stats.rbs +696 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +8 -8
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +236 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +8 -1
- data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +14 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +220 -49
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_report_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +8 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +152 -47
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +12 -3
- data/sig/lithic/models/book_transfer_retry_params.rbs +6 -1
- data/sig/lithic/models/book_transfer_reverse_params.rbs +10 -2
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_bulk_order_update_params.rbs +8 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +5 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/card_provision_params.rbs +5 -0
- data/sig/lithic/models/card_reissue_params.rbs +5 -0
- data/sig/lithic/models/card_renew_params.rbs +5 -0
- data/sig/lithic/models/card_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/card_update_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +9 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +6 -1
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +12 -3
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +5 -1
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +9 -1
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +12 -3
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_delete_params.rbs +11 -3
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +6 -1
- data/sig/lithic/models/dispute_list_evidences_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_retrieve_params.rbs +11 -3
- data/sig/lithic/models/dispute_update_params.rbs +5 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- data/sig/lithic/models/events/subscription_delete_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_create_params.rbs +342 -98
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_cancel_params.rbs +5 -1
- data/sig/lithic/models/external_payment_release_params.rbs +5 -1
- data/sig/lithic/models/external_payment_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_payment_reverse_params.rbs +5 -1
- data/sig/lithic/models/external_payment_settle_params.rbs +5 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +6 -1
- data/sig/lithic/models/financial_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_account_update_params.rbs +6 -1
- data/sig/lithic/models/financial_account_update_status_params.rbs +7 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- data/sig/lithic/models/financial_accounts/category_tier.rbs +21 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +41 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +28 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +49 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +47 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_report_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_retrieve_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_params.rbs +12 -3
- data/sig/lithic/models/kyb.rbs +0 -55
- data/sig/lithic/models/management_operation_retrieve_params.rbs +12 -3
- data/sig/lithic/models/management_operation_reverse_params.rbs +5 -1
- data/sig/lithic/models/network_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/parsed_webhook_event.rbs +0 -9
- data/sig/lithic/models/payment_create_params.rbs +19 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +11 -3
- data/sig/lithic/models/payment_retry_params.rbs +11 -3
- data/sig/lithic/models/payment_return_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +5 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +11 -3
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +10 -1
- data/sig/lithic/models/reports/settlement_summary_params.rbs +11 -3
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +12 -3
- data/sig/lithic/models/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
- data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_pause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_unpause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -1
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +11 -3
- data/sig/lithic/models/transaction_retrieve_params.rbs +11 -3
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +12 -3
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +11 -3
- data/sig/lithic/models.rbs +4 -2
- data/sig/lithic/resources/account_holders/entities.rbs +28 -0
- data/sig/lithic/resources/account_holders.rbs +4 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +4 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
- data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- metadata +62 -8
|
@@ -36,18 +36,6 @@ module Lithic
|
|
|
36
36
|
sig { params(account_token: String).void }
|
|
37
37
|
attr_writer :account_token
|
|
38
38
|
|
|
39
|
-
# Deprecated.
|
|
40
|
-
sig { returns(T.nilable(T::Array[Lithic::KYBBusinessEntity])) }
|
|
41
|
-
attr_reader :beneficial_owner_entities
|
|
42
|
-
|
|
43
|
-
sig do
|
|
44
|
-
params(
|
|
45
|
-
beneficial_owner_entities:
|
|
46
|
-
T::Array[Lithic::KYBBusinessEntity::OrHash]
|
|
47
|
-
).void
|
|
48
|
-
end
|
|
49
|
-
attr_writer :beneficial_owner_entities
|
|
50
|
-
|
|
51
39
|
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
|
52
40
|
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
|
53
41
|
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
|
@@ -313,8 +301,6 @@ module Lithic
|
|
|
313
301
|
params(
|
|
314
302
|
token: String,
|
|
315
303
|
account_token: String,
|
|
316
|
-
beneficial_owner_entities:
|
|
317
|
-
T::Array[Lithic::KYBBusinessEntity::OrHash],
|
|
318
304
|
beneficial_owner_individuals:
|
|
319
305
|
T::Array[
|
|
320
306
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::OrHash
|
|
@@ -352,8 +338,6 @@ module Lithic
|
|
|
352
338
|
token: nil,
|
|
353
339
|
# Globally unique identifier for the account.
|
|
354
340
|
account_token: nil,
|
|
355
|
-
# Deprecated.
|
|
356
|
-
beneficial_owner_entities: nil,
|
|
357
341
|
# Only present when user_type == "BUSINESS". You must submit a list of all direct
|
|
358
342
|
# and indirect individuals with 25% or more ownership in the company. A maximum of
|
|
359
343
|
# 4 beneficial owners can be submitted. If no individual owns 25% of the company
|
|
@@ -436,7 +420,6 @@ module Lithic
|
|
|
436
420
|
{
|
|
437
421
|
token: String,
|
|
438
422
|
account_token: String,
|
|
439
|
-
beneficial_owner_entities: T::Array[Lithic::KYBBusinessEntity],
|
|
440
423
|
beneficial_owner_individuals:
|
|
441
424
|
T::Array[
|
|
442
425
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual
|
|
@@ -155,18 +155,6 @@ module Lithic
|
|
|
155
155
|
)
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
# Deprecated.
|
|
159
|
-
sig { returns(T.nilable(T::Array[Lithic::KYBBusinessEntity])) }
|
|
160
|
-
attr_reader :beneficial_owner_entities
|
|
161
|
-
|
|
162
|
-
sig do
|
|
163
|
-
params(
|
|
164
|
-
beneficial_owner_entities:
|
|
165
|
-
T::Array[Lithic::KYBBusinessEntity::OrHash]
|
|
166
|
-
).void
|
|
167
|
-
end
|
|
168
|
-
attr_writer :beneficial_owner_entities
|
|
169
|
-
|
|
170
158
|
# You must submit a list of all direct and indirect individuals with 25% or more
|
|
171
159
|
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
|
172
160
|
# no individual owns 25% of the company you do not need to send beneficial owner
|
|
@@ -232,8 +220,6 @@ module Lithic
|
|
|
232
220
|
# Original request to update the account holder.
|
|
233
221
|
sig do
|
|
234
222
|
params(
|
|
235
|
-
beneficial_owner_entities:
|
|
236
|
-
T::Array[Lithic::KYBBusinessEntity::OrHash],
|
|
237
223
|
beneficial_owner_individuals:
|
|
238
224
|
T::Array[
|
|
239
225
|
Lithic::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::OrHash
|
|
@@ -244,8 +230,6 @@ module Lithic
|
|
|
244
230
|
).returns(T.attached_class)
|
|
245
231
|
end
|
|
246
232
|
def self.new(
|
|
247
|
-
# Deprecated.
|
|
248
|
-
beneficial_owner_entities: nil,
|
|
249
233
|
# You must submit a list of all direct and indirect individuals with 25% or more
|
|
250
234
|
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
|
251
235
|
# no individual owns 25% of the company you do not need to send beneficial owner
|
|
@@ -271,7 +255,6 @@ module Lithic
|
|
|
271
255
|
sig do
|
|
272
256
|
override.returns(
|
|
273
257
|
{
|
|
274
|
-
beneficial_owner_entities: T::Array[Lithic::KYBBusinessEntity],
|
|
275
258
|
beneficial_owner_individuals:
|
|
276
259
|
T::Array[
|
|
277
260
|
Lithic::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual
|
|
@@ -14,6 +14,9 @@ module Lithic
|
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :account_holder_token
|
|
19
|
+
|
|
17
20
|
# The type of document to upload
|
|
18
21
|
sig do
|
|
19
22
|
returns(
|
|
@@ -28,6 +31,7 @@ module Lithic
|
|
|
28
31
|
|
|
29
32
|
sig do
|
|
30
33
|
params(
|
|
34
|
+
account_holder_token: String,
|
|
31
35
|
document_type:
|
|
32
36
|
Lithic::AccountHolderUploadDocumentParams::DocumentType::OrSymbol,
|
|
33
37
|
entity_token: String,
|
|
@@ -35,6 +39,7 @@ module Lithic
|
|
|
35
39
|
).returns(T.attached_class)
|
|
36
40
|
end
|
|
37
41
|
def self.new(
|
|
42
|
+
account_holder_token:,
|
|
38
43
|
# The type of document to upload
|
|
39
44
|
document_type:,
|
|
40
45
|
# Globally unique identifier for the entity.
|
|
@@ -46,6 +51,7 @@ module Lithic
|
|
|
46
51
|
sig do
|
|
47
52
|
override.returns(
|
|
48
53
|
{
|
|
54
|
+
account_holder_token: String,
|
|
49
55
|
document_type:
|
|
50
56
|
Lithic::AccountHolderUploadDocumentParams::DocumentType::OrSymbol,
|
|
51
57
|
entity_token: String,
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
AccountHolderEntity = AccountHolders::AccountHolderEntity
|
|
6
|
+
|
|
7
|
+
module AccountHolders
|
|
8
|
+
class AccountHolderEntity < Lithic::Internal::Type::BaseModel
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Lithic::AccountHolders::AccountHolderEntity,
|
|
13
|
+
Lithic::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Globally unique identifier for the entity
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :token
|
|
20
|
+
|
|
21
|
+
# Globally unique identifier for the account holder
|
|
22
|
+
sig { returns(String) }
|
|
23
|
+
attr_accessor :account_holder_token
|
|
24
|
+
|
|
25
|
+
# Individual's current address
|
|
26
|
+
sig { returns(Lithic::AccountHolders::AccountHolderEntity::Address) }
|
|
27
|
+
attr_reader :address
|
|
28
|
+
|
|
29
|
+
sig do
|
|
30
|
+
params(
|
|
31
|
+
address:
|
|
32
|
+
Lithic::AccountHolders::AccountHolderEntity::Address::OrHash
|
|
33
|
+
).void
|
|
34
|
+
end
|
|
35
|
+
attr_writer :address
|
|
36
|
+
|
|
37
|
+
# Individual's date of birth, as an RFC 3339 date
|
|
38
|
+
sig { returns(T.nilable(String)) }
|
|
39
|
+
attr_accessor :dob
|
|
40
|
+
|
|
41
|
+
# Individual's email address
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
attr_accessor :email
|
|
44
|
+
|
|
45
|
+
# Individual's first name, as it appears on government-issued identity documents
|
|
46
|
+
sig { returns(T.nilable(String)) }
|
|
47
|
+
attr_accessor :first_name
|
|
48
|
+
|
|
49
|
+
# Individual's last name, as it appears on government-issued identity documents
|
|
50
|
+
sig { returns(T.nilable(String)) }
|
|
51
|
+
attr_accessor :last_name
|
|
52
|
+
|
|
53
|
+
# Individual's phone number, entered in E.164 format
|
|
54
|
+
sig { returns(T.nilable(String)) }
|
|
55
|
+
attr_accessor :phone_number
|
|
56
|
+
|
|
57
|
+
# The status of the entity
|
|
58
|
+
sig do
|
|
59
|
+
returns(
|
|
60
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
attr_accessor :status
|
|
64
|
+
|
|
65
|
+
# The type of entity
|
|
66
|
+
sig do
|
|
67
|
+
returns(
|
|
68
|
+
Lithic::AccountHolders::AccountHolderEntity::Type::TaggedSymbol
|
|
69
|
+
)
|
|
70
|
+
end
|
|
71
|
+
attr_accessor :type
|
|
72
|
+
|
|
73
|
+
# Information about an entity associated with an account holder
|
|
74
|
+
sig do
|
|
75
|
+
params(
|
|
76
|
+
token: String,
|
|
77
|
+
account_holder_token: String,
|
|
78
|
+
address:
|
|
79
|
+
Lithic::AccountHolders::AccountHolderEntity::Address::OrHash,
|
|
80
|
+
dob: T.nilable(String),
|
|
81
|
+
email: T.nilable(String),
|
|
82
|
+
first_name: T.nilable(String),
|
|
83
|
+
last_name: T.nilable(String),
|
|
84
|
+
phone_number: T.nilable(String),
|
|
85
|
+
status:
|
|
86
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::OrSymbol,
|
|
87
|
+
type: Lithic::AccountHolders::AccountHolderEntity::Type::OrSymbol
|
|
88
|
+
).returns(T.attached_class)
|
|
89
|
+
end
|
|
90
|
+
def self.new(
|
|
91
|
+
# Globally unique identifier for the entity
|
|
92
|
+
token:,
|
|
93
|
+
# Globally unique identifier for the account holder
|
|
94
|
+
account_holder_token:,
|
|
95
|
+
# Individual's current address
|
|
96
|
+
address:,
|
|
97
|
+
# Individual's date of birth, as an RFC 3339 date
|
|
98
|
+
dob:,
|
|
99
|
+
# Individual's email address
|
|
100
|
+
email:,
|
|
101
|
+
# Individual's first name, as it appears on government-issued identity documents
|
|
102
|
+
first_name:,
|
|
103
|
+
# Individual's last name, as it appears on government-issued identity documents
|
|
104
|
+
last_name:,
|
|
105
|
+
# Individual's phone number, entered in E.164 format
|
|
106
|
+
phone_number:,
|
|
107
|
+
# The status of the entity
|
|
108
|
+
status:,
|
|
109
|
+
# The type of entity
|
|
110
|
+
type:
|
|
111
|
+
)
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
sig do
|
|
115
|
+
override.returns(
|
|
116
|
+
{
|
|
117
|
+
token: String,
|
|
118
|
+
account_holder_token: String,
|
|
119
|
+
address: Lithic::AccountHolders::AccountHolderEntity::Address,
|
|
120
|
+
dob: T.nilable(String),
|
|
121
|
+
email: T.nilable(String),
|
|
122
|
+
first_name: T.nilable(String),
|
|
123
|
+
last_name: T.nilable(String),
|
|
124
|
+
phone_number: T.nilable(String),
|
|
125
|
+
status:
|
|
126
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol,
|
|
127
|
+
type:
|
|
128
|
+
Lithic::AccountHolders::AccountHolderEntity::Type::TaggedSymbol
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
end
|
|
132
|
+
def to_hash
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
class Address < Lithic::Internal::Type::BaseModel
|
|
136
|
+
OrHash =
|
|
137
|
+
T.type_alias do
|
|
138
|
+
T.any(
|
|
139
|
+
Lithic::AccountHolders::AccountHolderEntity::Address,
|
|
140
|
+
Lithic::Internal::AnyHash
|
|
141
|
+
)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Valid deliverable address (no PO boxes).
|
|
145
|
+
sig { returns(String) }
|
|
146
|
+
attr_accessor :address1
|
|
147
|
+
|
|
148
|
+
# Name of city.
|
|
149
|
+
sig { returns(String) }
|
|
150
|
+
attr_accessor :city
|
|
151
|
+
|
|
152
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
153
|
+
# 3166-1 alpha-3 three-character format.
|
|
154
|
+
sig { returns(String) }
|
|
155
|
+
attr_accessor :country
|
|
156
|
+
|
|
157
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
158
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
159
|
+
sig { returns(String) }
|
|
160
|
+
attr_accessor :postal_code
|
|
161
|
+
|
|
162
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
163
|
+
# uppercase ISO 3166-2 two-character format.
|
|
164
|
+
sig { returns(String) }
|
|
165
|
+
attr_accessor :state
|
|
166
|
+
|
|
167
|
+
# Unit or apartment number (if applicable).
|
|
168
|
+
sig { returns(T.nilable(String)) }
|
|
169
|
+
attr_reader :address2
|
|
170
|
+
|
|
171
|
+
sig { params(address2: String).void }
|
|
172
|
+
attr_writer :address2
|
|
173
|
+
|
|
174
|
+
# Individual's current address
|
|
175
|
+
sig do
|
|
176
|
+
params(
|
|
177
|
+
address1: String,
|
|
178
|
+
city: String,
|
|
179
|
+
country: String,
|
|
180
|
+
postal_code: String,
|
|
181
|
+
state: String,
|
|
182
|
+
address2: String
|
|
183
|
+
).returns(T.attached_class)
|
|
184
|
+
end
|
|
185
|
+
def self.new(
|
|
186
|
+
# Valid deliverable address (no PO boxes).
|
|
187
|
+
address1:,
|
|
188
|
+
# Name of city.
|
|
189
|
+
city:,
|
|
190
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
191
|
+
# 3166-1 alpha-3 three-character format.
|
|
192
|
+
country:,
|
|
193
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
194
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
195
|
+
postal_code:,
|
|
196
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
197
|
+
# uppercase ISO 3166-2 two-character format.
|
|
198
|
+
state:,
|
|
199
|
+
# Unit or apartment number (if applicable).
|
|
200
|
+
address2: nil
|
|
201
|
+
)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
sig do
|
|
205
|
+
override.returns(
|
|
206
|
+
{
|
|
207
|
+
address1: String,
|
|
208
|
+
city: String,
|
|
209
|
+
country: String,
|
|
210
|
+
postal_code: String,
|
|
211
|
+
state: String,
|
|
212
|
+
address2: String
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
end
|
|
216
|
+
def to_hash
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# The status of the entity
|
|
221
|
+
module Status
|
|
222
|
+
extend Lithic::Internal::Type::Enum
|
|
223
|
+
|
|
224
|
+
TaggedSymbol =
|
|
225
|
+
T.type_alias do
|
|
226
|
+
T.all(Symbol, Lithic::AccountHolders::AccountHolderEntity::Status)
|
|
227
|
+
end
|
|
228
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
229
|
+
|
|
230
|
+
ACCEPTED =
|
|
231
|
+
T.let(
|
|
232
|
+
:ACCEPTED,
|
|
233
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
234
|
+
)
|
|
235
|
+
INACTIVE =
|
|
236
|
+
T.let(
|
|
237
|
+
:INACTIVE,
|
|
238
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
239
|
+
)
|
|
240
|
+
PENDING_REVIEW =
|
|
241
|
+
T.let(
|
|
242
|
+
:PENDING_REVIEW,
|
|
243
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
244
|
+
)
|
|
245
|
+
REJECTED =
|
|
246
|
+
T.let(
|
|
247
|
+
:REJECTED,
|
|
248
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
sig do
|
|
252
|
+
override.returns(
|
|
253
|
+
T::Array[
|
|
254
|
+
Lithic::AccountHolders::AccountHolderEntity::Status::TaggedSymbol
|
|
255
|
+
]
|
|
256
|
+
)
|
|
257
|
+
end
|
|
258
|
+
def self.values
|
|
259
|
+
end
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# The type of entity
|
|
263
|
+
module Type
|
|
264
|
+
extend Lithic::Internal::Type::Enum
|
|
265
|
+
|
|
266
|
+
TaggedSymbol =
|
|
267
|
+
T.type_alias do
|
|
268
|
+
T.all(Symbol, Lithic::AccountHolders::AccountHolderEntity::Type)
|
|
269
|
+
end
|
|
270
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
271
|
+
|
|
272
|
+
BENEFICIAL_OWNER_INDIVIDUAL =
|
|
273
|
+
T.let(
|
|
274
|
+
:BENEFICIAL_OWNER_INDIVIDUAL,
|
|
275
|
+
Lithic::AccountHolders::AccountHolderEntity::Type::TaggedSymbol
|
|
276
|
+
)
|
|
277
|
+
CONTROL_PERSON =
|
|
278
|
+
T.let(
|
|
279
|
+
:CONTROL_PERSON,
|
|
280
|
+
Lithic::AccountHolders::AccountHolderEntity::Type::TaggedSymbol
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
sig do
|
|
284
|
+
override.returns(
|
|
285
|
+
T::Array[
|
|
286
|
+
Lithic::AccountHolders::AccountHolderEntity::Type::TaggedSymbol
|
|
287
|
+
]
|
|
288
|
+
)
|
|
289
|
+
end
|
|
290
|
+
def self.values
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
end
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AccountHolders
|
|
6
|
+
class EntityCreateParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Lithic::AccountHolders::EntityCreateParams,
|
|
14
|
+
Lithic::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :account_holder_token
|
|
20
|
+
|
|
21
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
22
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
23
|
+
sig { returns(Lithic::AccountHolders::EntityCreateParams::Address) }
|
|
24
|
+
attr_reader :address
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
params(
|
|
28
|
+
address: Lithic::AccountHolders::EntityCreateParams::Address::OrHash
|
|
29
|
+
).void
|
|
30
|
+
end
|
|
31
|
+
attr_writer :address
|
|
32
|
+
|
|
33
|
+
# Individual's date of birth, as an RFC 3339 date.
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :dob
|
|
36
|
+
|
|
37
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
38
|
+
# customer email address may be used to communicate dispute status and resolution.
|
|
39
|
+
sig { returns(String) }
|
|
40
|
+
attr_accessor :email
|
|
41
|
+
|
|
42
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
43
|
+
sig { returns(String) }
|
|
44
|
+
attr_accessor :first_name
|
|
45
|
+
|
|
46
|
+
# Government-issued identification number (required for identity verification and
|
|
47
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
48
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
49
|
+
# entered as full nine-digits, with or without hyphens
|
|
50
|
+
sig { returns(String) }
|
|
51
|
+
attr_accessor :government_id
|
|
52
|
+
|
|
53
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
54
|
+
sig { returns(String) }
|
|
55
|
+
attr_accessor :last_name
|
|
56
|
+
|
|
57
|
+
# Individual's phone number, entered in E.164 format.
|
|
58
|
+
sig { returns(String) }
|
|
59
|
+
attr_accessor :phone_number
|
|
60
|
+
|
|
61
|
+
# The type of entity to create on the account holder
|
|
62
|
+
sig do
|
|
63
|
+
returns(Lithic::AccountHolders::EntityCreateParams::Type::OrSymbol)
|
|
64
|
+
end
|
|
65
|
+
attr_accessor :type
|
|
66
|
+
|
|
67
|
+
sig do
|
|
68
|
+
params(
|
|
69
|
+
account_holder_token: String,
|
|
70
|
+
address:
|
|
71
|
+
Lithic::AccountHolders::EntityCreateParams::Address::OrHash,
|
|
72
|
+
dob: String,
|
|
73
|
+
email: String,
|
|
74
|
+
first_name: String,
|
|
75
|
+
government_id: String,
|
|
76
|
+
last_name: String,
|
|
77
|
+
phone_number: String,
|
|
78
|
+
type: Lithic::AccountHolders::EntityCreateParams::Type::OrSymbol,
|
|
79
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
80
|
+
).returns(T.attached_class)
|
|
81
|
+
end
|
|
82
|
+
def self.new(
|
|
83
|
+
account_holder_token:,
|
|
84
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
85
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
86
|
+
address:,
|
|
87
|
+
# Individual's date of birth, as an RFC 3339 date.
|
|
88
|
+
dob:,
|
|
89
|
+
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
90
|
+
# customer email address may be used to communicate dispute status and resolution.
|
|
91
|
+
email:,
|
|
92
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
93
|
+
first_name:,
|
|
94
|
+
# Government-issued identification number (required for identity verification and
|
|
95
|
+
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
96
|
+
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
97
|
+
# entered as full nine-digits, with or without hyphens
|
|
98
|
+
government_id:,
|
|
99
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
100
|
+
last_name:,
|
|
101
|
+
# Individual's phone number, entered in E.164 format.
|
|
102
|
+
phone_number:,
|
|
103
|
+
# The type of entity to create on the account holder
|
|
104
|
+
type:,
|
|
105
|
+
request_options: {}
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
sig do
|
|
110
|
+
override.returns(
|
|
111
|
+
{
|
|
112
|
+
account_holder_token: String,
|
|
113
|
+
address: Lithic::AccountHolders::EntityCreateParams::Address,
|
|
114
|
+
dob: String,
|
|
115
|
+
email: String,
|
|
116
|
+
first_name: String,
|
|
117
|
+
government_id: String,
|
|
118
|
+
last_name: String,
|
|
119
|
+
phone_number: String,
|
|
120
|
+
type: Lithic::AccountHolders::EntityCreateParams::Type::OrSymbol,
|
|
121
|
+
request_options: Lithic::RequestOptions
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
end
|
|
125
|
+
def to_hash
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
class Address < Lithic::Internal::Type::BaseModel
|
|
129
|
+
OrHash =
|
|
130
|
+
T.type_alias do
|
|
131
|
+
T.any(
|
|
132
|
+
Lithic::AccountHolders::EntityCreateParams::Address,
|
|
133
|
+
Lithic::Internal::AnyHash
|
|
134
|
+
)
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Valid deliverable address (no PO boxes).
|
|
138
|
+
sig { returns(String) }
|
|
139
|
+
attr_accessor :address1
|
|
140
|
+
|
|
141
|
+
# Name of city.
|
|
142
|
+
sig { returns(String) }
|
|
143
|
+
attr_accessor :city
|
|
144
|
+
|
|
145
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
146
|
+
# 3166-1 alpha-3 three-character format.
|
|
147
|
+
sig { returns(String) }
|
|
148
|
+
attr_accessor :country
|
|
149
|
+
|
|
150
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
151
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
152
|
+
sig { returns(String) }
|
|
153
|
+
attr_accessor :postal_code
|
|
154
|
+
|
|
155
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
156
|
+
# uppercase ISO 3166-2 two-character format.
|
|
157
|
+
sig { returns(String) }
|
|
158
|
+
attr_accessor :state
|
|
159
|
+
|
|
160
|
+
# Unit or apartment number (if applicable).
|
|
161
|
+
sig { returns(T.nilable(String)) }
|
|
162
|
+
attr_reader :address2
|
|
163
|
+
|
|
164
|
+
sig { params(address2: String).void }
|
|
165
|
+
attr_writer :address2
|
|
166
|
+
|
|
167
|
+
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
168
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
169
|
+
sig do
|
|
170
|
+
params(
|
|
171
|
+
address1: String,
|
|
172
|
+
city: String,
|
|
173
|
+
country: String,
|
|
174
|
+
postal_code: String,
|
|
175
|
+
state: String,
|
|
176
|
+
address2: String
|
|
177
|
+
).returns(T.attached_class)
|
|
178
|
+
end
|
|
179
|
+
def self.new(
|
|
180
|
+
# Valid deliverable address (no PO boxes).
|
|
181
|
+
address1:,
|
|
182
|
+
# Name of city.
|
|
183
|
+
city:,
|
|
184
|
+
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
|
185
|
+
# 3166-1 alpha-3 three-character format.
|
|
186
|
+
country:,
|
|
187
|
+
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
188
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
|
189
|
+
postal_code:,
|
|
190
|
+
# Valid state code. Only USA state codes are currently supported, entered in
|
|
191
|
+
# uppercase ISO 3166-2 two-character format.
|
|
192
|
+
state:,
|
|
193
|
+
# Unit or apartment number (if applicable).
|
|
194
|
+
address2: nil
|
|
195
|
+
)
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
sig do
|
|
199
|
+
override.returns(
|
|
200
|
+
{
|
|
201
|
+
address1: String,
|
|
202
|
+
city: String,
|
|
203
|
+
country: String,
|
|
204
|
+
postal_code: String,
|
|
205
|
+
state: String,
|
|
206
|
+
address2: String
|
|
207
|
+
}
|
|
208
|
+
)
|
|
209
|
+
end
|
|
210
|
+
def to_hash
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# The type of entity to create on the account holder
|
|
215
|
+
module Type
|
|
216
|
+
extend Lithic::Internal::Type::Enum
|
|
217
|
+
|
|
218
|
+
TaggedSymbol =
|
|
219
|
+
T.type_alias do
|
|
220
|
+
T.all(Symbol, Lithic::AccountHolders::EntityCreateParams::Type)
|
|
221
|
+
end
|
|
222
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
223
|
+
|
|
224
|
+
BENEFICIAL_OWNER_INDIVIDUAL =
|
|
225
|
+
T.let(
|
|
226
|
+
:BENEFICIAL_OWNER_INDIVIDUAL,
|
|
227
|
+
Lithic::AccountHolders::EntityCreateParams::Type::TaggedSymbol
|
|
228
|
+
)
|
|
229
|
+
CONTROL_PERSON =
|
|
230
|
+
T.let(
|
|
231
|
+
:CONTROL_PERSON,
|
|
232
|
+
Lithic::AccountHolders::EntityCreateParams::Type::TaggedSymbol
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
sig do
|
|
236
|
+
override.returns(
|
|
237
|
+
T::Array[
|
|
238
|
+
Lithic::AccountHolders::EntityCreateParams::Type::TaggedSymbol
|
|
239
|
+
]
|
|
240
|
+
)
|
|
241
|
+
end
|
|
242
|
+
def self.values
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
end
|