lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.16
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 +36 -0
- data/README.md +61 -52
- data/lib/lithic/client.rb +4 -4
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
- data/lib/lithic/internal/type/array_of.rb +9 -0
- data/lib/lithic/internal/type/base_model.rb +62 -28
- data/lib/lithic/internal/type/base_page.rb +8 -0
- data/lib/lithic/internal/type/boolean.rb +4 -0
- data/lib/lithic/internal/type/enum.rb +9 -5
- data/lib/lithic/internal/type/hash_of.rb +9 -0
- data/lib/lithic/internal/type/io_like.rb +4 -0
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/internal/type/union.rb +10 -1
- data/lib/lithic/internal/type/unknown.rb +4 -0
- data/lib/lithic/internal.rb +0 -1
- data/lib/lithic/models/account.rb +42 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +127 -312
- data/lib/lithic/models/account_holder_create_params.rb +99 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +132 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +35 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +393 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +392 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +376 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +392 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +392 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +392 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +73 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +24 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +295 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -10
- data/rbi/lib/lithic/client.rbi +4 -4
- data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/base_model.rbi +15 -0
- data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +3 -6
- data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/union.rbi +3 -0
- data/rbi/lib/lithic/internal.rbi +0 -1
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +10 -0
- data/sig/lithic/internal/type/enum.rbs +2 -2
- data/sig/lithic/internal/type/hash_of.rbs +2 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -4,8 +4,7 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ExternalBankAccounts#create
|
6
6
|
class ExternalBankAccountCreateParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
10
|
# @!attribute account_number
|
@@ -65,7 +64,7 @@ module Lithic
|
|
65
64
|
required :verification_method,
|
66
65
|
enum: -> { Lithic::Models::ExternalBankAccountCreateParams::VerificationMethod }
|
67
66
|
|
68
|
-
# @!attribute
|
67
|
+
# @!attribute account_token
|
69
68
|
# Indicates which Lithic account the external account is associated with. For
|
70
69
|
# external accounts that are associated with the program, account_token field
|
71
70
|
# returned will be null
|
@@ -73,131 +72,72 @@ module Lithic
|
|
73
72
|
# @return [String, nil]
|
74
73
|
optional :account_token, String
|
75
74
|
|
76
|
-
# @!
|
77
|
-
# # @return [String]
|
78
|
-
# attr_writer :account_token
|
79
|
-
|
80
|
-
# @!attribute [r] address
|
75
|
+
# @!attribute address
|
81
76
|
# Address
|
82
77
|
#
|
83
78
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
84
79
|
optional :address, -> { Lithic::Models::ExternalBankAccountAddress }
|
85
80
|
|
86
|
-
# @!
|
87
|
-
# # @return [Lithic::Models::ExternalBankAccountAddress]
|
88
|
-
# attr_writer :address
|
89
|
-
|
90
|
-
# @!attribute [r] company_id
|
81
|
+
# @!attribute company_id
|
91
82
|
# Optional field that helps identify bank accounts in receipts
|
92
83
|
#
|
93
84
|
# @return [String, nil]
|
94
85
|
optional :company_id, String
|
95
86
|
|
96
|
-
# @!
|
97
|
-
# # @return [String]
|
98
|
-
# attr_writer :company_id
|
99
|
-
|
100
|
-
# @!attribute [r] dob
|
87
|
+
# @!attribute dob
|
101
88
|
# Date of Birth of the Individual that owns the external bank account
|
102
89
|
#
|
103
90
|
# @return [Date, nil]
|
104
91
|
optional :dob, Date
|
105
92
|
|
106
|
-
# @!
|
107
|
-
# # @return [Date]
|
108
|
-
# attr_writer :dob
|
109
|
-
|
110
|
-
# @!attribute [r] doing_business_as
|
93
|
+
# @!attribute doing_business_as
|
111
94
|
# Doing Business As
|
112
95
|
#
|
113
96
|
# @return [String, nil]
|
114
97
|
optional :doing_business_as, String
|
115
98
|
|
116
|
-
# @!
|
117
|
-
# # @return [String]
|
118
|
-
# attr_writer :doing_business_as
|
119
|
-
|
120
|
-
# @!attribute [r] name
|
99
|
+
# @!attribute name
|
121
100
|
# The nickname for this External Bank Account
|
122
101
|
#
|
123
102
|
# @return [String, nil]
|
124
103
|
optional :name, String
|
125
104
|
|
126
|
-
# @!
|
127
|
-
# # @return [String]
|
128
|
-
# attr_writer :name
|
129
|
-
|
130
|
-
# @!attribute [r] user_defined_id
|
105
|
+
# @!attribute user_defined_id
|
131
106
|
# User Defined ID
|
132
107
|
#
|
133
108
|
# @return [String, nil]
|
134
109
|
optional :user_defined_id, String
|
135
110
|
|
136
|
-
# @!
|
137
|
-
# # @return [String]
|
138
|
-
# attr_writer :user_defined_id
|
139
|
-
|
140
|
-
# @!attribute [r] verification_enforcement
|
111
|
+
# @!attribute verification_enforcement
|
141
112
|
#
|
142
113
|
# @return [Boolean, nil]
|
143
114
|
optional :verification_enforcement, Lithic::Internal::Type::Boolean
|
144
115
|
|
145
|
-
# @!parse
|
146
|
-
# # @return [Boolean]
|
147
|
-
# attr_writer :verification_enforcement
|
148
|
-
|
149
116
|
# @!attribute processor_token
|
150
117
|
#
|
151
118
|
# @return [String]
|
152
119
|
required :processor_token, String
|
153
120
|
|
154
|
-
# @!
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
# #
|
175
|
-
# def initialize(
|
176
|
-
# account_number:,
|
177
|
-
# country:,
|
178
|
-
# currency:,
|
179
|
-
# financial_account_token:,
|
180
|
-
# owner:,
|
181
|
-
# owner_type:,
|
182
|
-
# routing_number:,
|
183
|
-
# type:,
|
184
|
-
# verification_method:,
|
185
|
-
# processor_token:,
|
186
|
-
# account_token: nil,
|
187
|
-
# address: nil,
|
188
|
-
# company_id: nil,
|
189
|
-
# dob: nil,
|
190
|
-
# doing_business_as: nil,
|
191
|
-
# name: nil,
|
192
|
-
# user_defined_id: nil,
|
193
|
-
# verification_enforcement: nil,
|
194
|
-
# request_options: {},
|
195
|
-
# **
|
196
|
-
# )
|
197
|
-
# super
|
198
|
-
# end
|
199
|
-
|
200
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
121
|
+
# @!method initialize(account_number:, country:, currency:, financial_account_token:, owner:, owner_type:, routing_number:, type:, verification_method:, processor_token:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, name: nil, user_defined_id: nil, verification_enforcement: nil, request_options: {})
|
122
|
+
# @param account_number [String]
|
123
|
+
# @param country [String]
|
124
|
+
# @param currency [String]
|
125
|
+
# @param financial_account_token [String]
|
126
|
+
# @param owner [String]
|
127
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType]
|
128
|
+
# @param routing_number [String]
|
129
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Type]
|
130
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountCreateParams::VerificationMethod]
|
131
|
+
# @param processor_token [String]
|
132
|
+
# @param account_token [String]
|
133
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress]
|
134
|
+
# @param company_id [String]
|
135
|
+
# @param dob [Date]
|
136
|
+
# @param doing_business_as [String]
|
137
|
+
# @param name [String]
|
138
|
+
# @param user_defined_id [String]
|
139
|
+
# @param verification_enforcement [Boolean]
|
140
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
201
141
|
|
202
142
|
# Account Type
|
203
143
|
module Type
|
@@ -206,11 +146,8 @@ module Lithic
|
|
206
146
|
CHECKING = :CHECKING
|
207
147
|
SAVINGS = :SAVINGS
|
208
148
|
|
209
|
-
|
210
|
-
|
211
|
-
# @!parse
|
212
|
-
# # @return [Array<Symbol>]
|
213
|
-
# def self.values; end
|
149
|
+
# @!method self.values
|
150
|
+
# @return [Array<Symbol>]
|
214
151
|
end
|
215
152
|
|
216
153
|
# Verification Method
|
@@ -219,11 +156,8 @@ module Lithic
|
|
219
156
|
|
220
157
|
EXTERNALLY_VERIFIED = :EXTERNALLY_VERIFIED
|
221
158
|
|
222
|
-
|
223
|
-
|
224
|
-
# @!parse
|
225
|
-
# # @return [Array<Symbol>]
|
226
|
-
# def self.values; end
|
159
|
+
# @!method self.values
|
160
|
+
# @return [Array<Symbol>]
|
227
161
|
end
|
228
162
|
end
|
229
163
|
end
|
@@ -91,7 +91,7 @@ module Lithic
|
|
91
91
|
required :verification_state,
|
92
92
|
enum: -> { Lithic::Models::ExternalBankAccountCreateResponse::VerificationState }
|
93
93
|
|
94
|
-
# @!attribute
|
94
|
+
# @!attribute account_token
|
95
95
|
# Indicates which Lithic account the external account is associated with. For
|
96
96
|
# external accounts that are associated with the program, account_token field
|
97
97
|
# returned will be null
|
@@ -99,81 +99,49 @@ module Lithic
|
|
99
99
|
# @return [String, nil]
|
100
100
|
optional :account_token, String
|
101
101
|
|
102
|
-
# @!
|
103
|
-
# # @return [String]
|
104
|
-
# attr_writer :account_token
|
105
|
-
|
106
|
-
# @!attribute [r] address
|
102
|
+
# @!attribute address
|
107
103
|
# Address
|
108
104
|
#
|
109
105
|
# @return [Lithic::Models::ExternalBankAccountAddress, nil]
|
110
106
|
optional :address, -> { Lithic::Models::ExternalBankAccountAddress }
|
111
107
|
|
112
|
-
# @!
|
113
|
-
# # @return [Lithic::Models::ExternalBankAccountAddress]
|
114
|
-
# attr_writer :address
|
115
|
-
|
116
|
-
# @!attribute [r] company_id
|
108
|
+
# @!attribute company_id
|
117
109
|
# Optional field that helps identify bank accounts in receipts
|
118
110
|
#
|
119
111
|
# @return [String, nil]
|
120
112
|
optional :company_id, String
|
121
113
|
|
122
|
-
# @!
|
123
|
-
# # @return [String]
|
124
|
-
# attr_writer :company_id
|
125
|
-
|
126
|
-
# @!attribute [r] dob
|
114
|
+
# @!attribute dob
|
127
115
|
# Date of Birth of the Individual that owns the external bank account
|
128
116
|
#
|
129
117
|
# @return [Date, nil]
|
130
118
|
optional :dob, Date
|
131
119
|
|
132
|
-
# @!
|
133
|
-
# # @return [Date]
|
134
|
-
# attr_writer :dob
|
135
|
-
|
136
|
-
# @!attribute [r] doing_business_as
|
120
|
+
# @!attribute doing_business_as
|
137
121
|
# Doing Business As
|
138
122
|
#
|
139
123
|
# @return [String, nil]
|
140
124
|
optional :doing_business_as, String
|
141
125
|
|
142
|
-
# @!
|
143
|
-
# # @return [String]
|
144
|
-
# attr_writer :doing_business_as
|
145
|
-
|
146
|
-
# @!attribute [r] financial_account_token
|
126
|
+
# @!attribute financial_account_token
|
147
127
|
# The financial account token of the operating account to fund the micro deposits
|
148
128
|
#
|
149
129
|
# @return [String, nil]
|
150
130
|
optional :financial_account_token, String
|
151
131
|
|
152
|
-
# @!
|
153
|
-
# # @return [String]
|
154
|
-
# attr_writer :financial_account_token
|
155
|
-
|
156
|
-
# @!attribute [r] name
|
132
|
+
# @!attribute name
|
157
133
|
# The nickname for this External Bank Account
|
158
134
|
#
|
159
135
|
# @return [String, nil]
|
160
136
|
optional :name, String
|
161
137
|
|
162
|
-
# @!
|
163
|
-
# # @return [String]
|
164
|
-
# attr_writer :name
|
165
|
-
|
166
|
-
# @!attribute [r] user_defined_id
|
138
|
+
# @!attribute user_defined_id
|
167
139
|
# User Defined ID
|
168
140
|
#
|
169
141
|
# @return [String, nil]
|
170
142
|
optional :user_defined_id, String
|
171
143
|
|
172
|
-
# @!
|
173
|
-
# # @return [String]
|
174
|
-
# attr_writer :user_defined_id
|
175
|
-
|
176
|
-
# @!attribute [r] verification_failed_reason
|
144
|
+
# @!attribute verification_failed_reason
|
177
145
|
# Optional free text description of the reason for the failed verification. For
|
178
146
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
179
147
|
# by the ACH network
|
@@ -181,63 +149,29 @@ module Lithic
|
|
181
149
|
# @return [String, nil]
|
182
150
|
optional :verification_failed_reason, String
|
183
151
|
|
184
|
-
# @!
|
185
|
-
#
|
186
|
-
#
|
187
|
-
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
# # @param financial_account_token [String]
|
208
|
-
# # @param name [String]
|
209
|
-
# # @param user_defined_id [String]
|
210
|
-
# # @param verification_failed_reason [String]
|
211
|
-
# #
|
212
|
-
# def initialize(
|
213
|
-
# token:,
|
214
|
-
# country:,
|
215
|
-
# created:,
|
216
|
-
# currency:,
|
217
|
-
# last_four:,
|
218
|
-
# owner:,
|
219
|
-
# owner_type:,
|
220
|
-
# routing_number:,
|
221
|
-
# state:,
|
222
|
-
# type:,
|
223
|
-
# verification_attempts:,
|
224
|
-
# verification_method:,
|
225
|
-
# verification_state:,
|
226
|
-
# account_token: nil,
|
227
|
-
# address: nil,
|
228
|
-
# company_id: nil,
|
229
|
-
# dob: nil,
|
230
|
-
# doing_business_as: nil,
|
231
|
-
# financial_account_token: nil,
|
232
|
-
# name: nil,
|
233
|
-
# user_defined_id: nil,
|
234
|
-
# verification_failed_reason: nil,
|
235
|
-
# **
|
236
|
-
# )
|
237
|
-
# super
|
238
|
-
# end
|
239
|
-
|
240
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
152
|
+
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
153
|
+
# @param token [String]
|
154
|
+
# @param country [String]
|
155
|
+
# @param created [Time]
|
156
|
+
# @param currency [String]
|
157
|
+
# @param last_four [String]
|
158
|
+
# @param owner [String]
|
159
|
+
# @param owner_type [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::OwnerType]
|
160
|
+
# @param routing_number [String]
|
161
|
+
# @param state [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::State]
|
162
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::Type]
|
163
|
+
# @param verification_attempts [Integer]
|
164
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::VerificationMethod]
|
165
|
+
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::VerificationState]
|
166
|
+
# @param account_token [String]
|
167
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress]
|
168
|
+
# @param company_id [String]
|
169
|
+
# @param dob [Date]
|
170
|
+
# @param doing_business_as [String]
|
171
|
+
# @param financial_account_token [String]
|
172
|
+
# @param name [String]
|
173
|
+
# @param user_defined_id [String]
|
174
|
+
# @param verification_failed_reason [String]
|
241
175
|
|
242
176
|
# Owner Type
|
243
177
|
#
|
@@ -248,11 +182,8 @@ module Lithic
|
|
248
182
|
BUSINESS = :BUSINESS
|
249
183
|
INDIVIDUAL = :INDIVIDUAL
|
250
184
|
|
251
|
-
|
252
|
-
|
253
|
-
# @!parse
|
254
|
-
# # @return [Array<Symbol>]
|
255
|
-
# def self.values; end
|
185
|
+
# @!method self.values
|
186
|
+
# @return [Array<Symbol>]
|
256
187
|
end
|
257
188
|
|
258
189
|
# Account State
|
@@ -265,11 +196,8 @@ module Lithic
|
|
265
196
|
CLOSED = :CLOSED
|
266
197
|
PAUSED = :PAUSED
|
267
198
|
|
268
|
-
|
269
|
-
|
270
|
-
# @!parse
|
271
|
-
# # @return [Array<Symbol>]
|
272
|
-
# def self.values; end
|
199
|
+
# @!method self.values
|
200
|
+
# @return [Array<Symbol>]
|
273
201
|
end
|
274
202
|
|
275
203
|
# Account Type
|
@@ -281,11 +209,8 @@ module Lithic
|
|
281
209
|
CHECKING = :CHECKING
|
282
210
|
SAVINGS = :SAVINGS
|
283
211
|
|
284
|
-
|
285
|
-
|
286
|
-
# @!parse
|
287
|
-
# # @return [Array<Symbol>]
|
288
|
-
# def self.values; end
|
212
|
+
# @!method self.values
|
213
|
+
# @return [Array<Symbol>]
|
289
214
|
end
|
290
215
|
|
291
216
|
# Verification Method
|
@@ -299,11 +224,8 @@ module Lithic
|
|
299
224
|
PLAID = :PLAID
|
300
225
|
PRENOTE = :PRENOTE
|
301
226
|
|
302
|
-
|
303
|
-
|
304
|
-
# @!parse
|
305
|
-
# # @return [Array<Symbol>]
|
306
|
-
# def self.values; end
|
227
|
+
# @!method self.values
|
228
|
+
# @return [Array<Symbol>]
|
307
229
|
end
|
308
230
|
|
309
231
|
# Verification State
|
@@ -317,11 +239,8 @@ module Lithic
|
|
317
239
|
FAILED_VERIFICATION = :FAILED_VERIFICATION
|
318
240
|
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
319
241
|
|
320
|
-
|
321
|
-
|
322
|
-
# @!parse
|
323
|
-
# # @return [Array<Symbol>]
|
324
|
-
# def self.values; end
|
242
|
+
# @!method self.values
|
243
|
+
# @return [Array<Symbol>]
|
325
244
|
end
|
326
245
|
end
|
327
246
|
end
|
@@ -4,128 +4,73 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ExternalBankAccounts#list
|
6
6
|
class ExternalBankAccountListParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
|
-
# @!attribute
|
10
|
+
# @!attribute account_token
|
12
11
|
#
|
13
12
|
# @return [String, nil]
|
14
13
|
optional :account_token, String
|
15
14
|
|
16
|
-
# @!
|
17
|
-
# # @return [String]
|
18
|
-
# attr_writer :account_token
|
19
|
-
|
20
|
-
# @!attribute [r] account_types
|
15
|
+
# @!attribute account_types
|
21
16
|
#
|
22
17
|
# @return [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::AccountType>, nil]
|
23
18
|
optional :account_types,
|
24
19
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::ExternalBankAccountListParams::AccountType] }
|
25
20
|
|
26
|
-
# @!
|
27
|
-
# # @return [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::AccountType>]
|
28
|
-
# attr_writer :account_types
|
29
|
-
|
30
|
-
# @!attribute [r] countries
|
21
|
+
# @!attribute countries
|
31
22
|
#
|
32
23
|
# @return [Array<String>, nil]
|
33
24
|
optional :countries, Lithic::Internal::Type::ArrayOf[String]
|
34
25
|
|
35
|
-
# @!
|
36
|
-
# # @return [Array<String>]
|
37
|
-
# attr_writer :countries
|
38
|
-
|
39
|
-
# @!attribute [r] ending_before
|
26
|
+
# @!attribute ending_before
|
40
27
|
# A cursor representing an item's token before which a page of results should end.
|
41
28
|
# Used to retrieve the previous page of results before this item.
|
42
29
|
#
|
43
30
|
# @return [String, nil]
|
44
31
|
optional :ending_before, String
|
45
32
|
|
46
|
-
# @!
|
47
|
-
# # @return [String]
|
48
|
-
# attr_writer :ending_before
|
49
|
-
|
50
|
-
# @!attribute [r] owner_types
|
33
|
+
# @!attribute owner_types
|
51
34
|
#
|
52
35
|
# @return [Array<Symbol, Lithic::Models::OwnerType>, nil]
|
53
36
|
optional :owner_types, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::OwnerType] }
|
54
37
|
|
55
|
-
# @!
|
56
|
-
# # @return [Array<Symbol, Lithic::Models::OwnerType>]
|
57
|
-
# attr_writer :owner_types
|
58
|
-
|
59
|
-
# @!attribute [r] page_size
|
38
|
+
# @!attribute page_size
|
60
39
|
# Page size (for pagination).
|
61
40
|
#
|
62
41
|
# @return [Integer, nil]
|
63
42
|
optional :page_size, Integer
|
64
43
|
|
65
|
-
# @!
|
66
|
-
# # @return [Integer]
|
67
|
-
# attr_writer :page_size
|
68
|
-
|
69
|
-
# @!attribute [r] starting_after
|
44
|
+
# @!attribute starting_after
|
70
45
|
# A cursor representing an item's token after which a page of results should
|
71
46
|
# begin. Used to retrieve the next page of results after this item.
|
72
47
|
#
|
73
48
|
# @return [String, nil]
|
74
49
|
optional :starting_after, String
|
75
50
|
|
76
|
-
# @!
|
77
|
-
# # @return [String]
|
78
|
-
# attr_writer :starting_after
|
79
|
-
|
80
|
-
# @!attribute [r] states
|
51
|
+
# @!attribute states
|
81
52
|
#
|
82
53
|
# @return [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::State>, nil]
|
83
54
|
optional :states,
|
84
55
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::ExternalBankAccountListParams::State] }
|
85
56
|
|
86
|
-
# @!
|
87
|
-
# # @return [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::State>]
|
88
|
-
# attr_writer :states
|
89
|
-
|
90
|
-
# @!attribute [r] verification_states
|
57
|
+
# @!attribute verification_states
|
91
58
|
#
|
92
59
|
# @return [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::VerificationState>, nil]
|
93
60
|
optional :verification_states,
|
94
61
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::ExternalBankAccountListParams::VerificationState] }
|
95
62
|
|
96
|
-
# @!
|
97
|
-
#
|
98
|
-
#
|
99
|
-
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
# # @param starting_after [String]
|
108
|
-
# # @param states [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::State>]
|
109
|
-
# # @param verification_states [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::VerificationState>]
|
110
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
111
|
-
# #
|
112
|
-
# def initialize(
|
113
|
-
# account_token: nil,
|
114
|
-
# account_types: nil,
|
115
|
-
# countries: nil,
|
116
|
-
# ending_before: nil,
|
117
|
-
# owner_types: nil,
|
118
|
-
# page_size: nil,
|
119
|
-
# starting_after: nil,
|
120
|
-
# states: nil,
|
121
|
-
# verification_states: nil,
|
122
|
-
# request_options: {},
|
123
|
-
# **
|
124
|
-
# )
|
125
|
-
# super
|
126
|
-
# end
|
127
|
-
|
128
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
63
|
+
# @!method initialize(account_token: nil, account_types: nil, countries: nil, ending_before: nil, owner_types: nil, page_size: nil, starting_after: nil, states: nil, verification_states: nil, request_options: {})
|
64
|
+
# @param account_token [String]
|
65
|
+
# @param account_types [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::AccountType>]
|
66
|
+
# @param countries [Array<String>]
|
67
|
+
# @param ending_before [String]
|
68
|
+
# @param owner_types [Array<Symbol, Lithic::Models::OwnerType>]
|
69
|
+
# @param page_size [Integer]
|
70
|
+
# @param starting_after [String]
|
71
|
+
# @param states [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::State>]
|
72
|
+
# @param verification_states [Array<Symbol, Lithic::Models::ExternalBankAccountListParams::VerificationState>]
|
73
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
129
74
|
|
130
75
|
module AccountType
|
131
76
|
extend Lithic::Internal::Type::Enum
|
@@ -133,11 +78,8 @@ module Lithic
|
|
133
78
|
CHECKING = :CHECKING
|
134
79
|
SAVINGS = :SAVINGS
|
135
80
|
|
136
|
-
|
137
|
-
|
138
|
-
# @!parse
|
139
|
-
# # @return [Array<Symbol>]
|
140
|
-
# def self.values; end
|
81
|
+
# @!method self.values
|
82
|
+
# @return [Array<Symbol>]
|
141
83
|
end
|
142
84
|
|
143
85
|
module State
|
@@ -147,11 +89,8 @@ module Lithic
|
|
147
89
|
CLOSED = :CLOSED
|
148
90
|
PAUSED = :PAUSED
|
149
91
|
|
150
|
-
|
151
|
-
|
152
|
-
# @!parse
|
153
|
-
# # @return [Array<Symbol>]
|
154
|
-
# def self.values; end
|
92
|
+
# @!method self.values
|
93
|
+
# @return [Array<Symbol>]
|
155
94
|
end
|
156
95
|
|
157
96
|
module VerificationState
|
@@ -162,11 +101,8 @@ module Lithic
|
|
162
101
|
FAILED_VERIFICATION = :FAILED_VERIFICATION
|
163
102
|
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
164
103
|
|
165
|
-
|
166
|
-
|
167
|
-
# @!parse
|
168
|
-
# # @return [Array<Symbol>]
|
169
|
-
# def self.values; end
|
104
|
+
# @!method self.values
|
105
|
+
# @return [Array<Symbol>]
|
170
106
|
end
|
171
107
|
end
|
172
108
|
end
|