lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
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/README.md +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +2 -2
@@ -17,8 +17,7 @@ module Lithic
|
|
17
17
|
sig { params(account_token: String).void }
|
18
18
|
attr_writer :account_token
|
19
19
|
|
20
|
-
#
|
21
|
-
# ownership in the company.
|
20
|
+
# Deprecated.
|
22
21
|
sig { returns(T.nilable(T::Array[Lithic::Models::KYBBusinessEntity])) }
|
23
22
|
attr_reader :beneficial_owner_entities
|
24
23
|
|
@@ -30,8 +29,11 @@ module Lithic
|
|
30
29
|
end
|
31
30
|
attr_writer :beneficial_owner_entities
|
32
31
|
|
33
|
-
# Only present when user_type == "BUSINESS". List of all
|
34
|
-
#
|
32
|
+
# Only present when user_type == "BUSINESS". List of all direct and indirect
|
33
|
+
# individuals with 25% or more ownership in the company. If no individual owns 25%
|
34
|
+
# of the company, please identify the largest shareholder in this field. See
|
35
|
+
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
36
|
+
# (Section I) for more background on individuals that should be included.
|
35
37
|
sig do
|
36
38
|
returns(
|
37
39
|
T.nilable(
|
@@ -44,10 +46,10 @@ module Lithic
|
|
44
46
|
sig do
|
45
47
|
params(
|
46
48
|
beneficial_owner_individuals: T::Array[
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
49
|
+
T.any(
|
50
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual,
|
51
|
+
Lithic::Internal::AnyHash
|
52
|
+
)
|
51
53
|
]
|
52
54
|
)
|
53
55
|
.void
|
@@ -55,8 +57,8 @@ module Lithic
|
|
55
57
|
attr_writer :beneficial_owner_individuals
|
56
58
|
|
57
59
|
# Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
58
|
-
#
|
59
|
-
#
|
60
|
+
# users of businesses. Pass the account_token of the enrolled business associated
|
61
|
+
# with the AUTHORIZED_USER in this field.
|
60
62
|
sig { returns(T.nilable(String)) }
|
61
63
|
attr_reader :business_account_token
|
62
64
|
|
@@ -64,7 +66,7 @@ module Lithic
|
|
64
66
|
attr_writer :business_account_token
|
65
67
|
|
66
68
|
# Only present when user_type == "BUSINESS". Information about the business for
|
67
|
-
#
|
69
|
+
# which the account is being opened and KYB is being run.
|
68
70
|
sig { returns(T.nilable(Lithic::Models::KYBBusinessEntity)) }
|
69
71
|
attr_reader :business_entity
|
70
72
|
|
@@ -73,15 +75,15 @@ module Lithic
|
|
73
75
|
|
74
76
|
# Only present when user_type == "BUSINESS".
|
75
77
|
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
78
|
+
# An individual with significant responsibility for managing the legal entity
|
79
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
80
|
+
# Officer,
|
79
81
|
#
|
80
|
-
#
|
81
|
-
#
|
82
|
+
# Managing Member, General Partner, President, Vice President, or Treasurer). This
|
83
|
+
# can be an executive, or someone who will have program-wide access
|
82
84
|
#
|
83
|
-
#
|
84
|
-
#
|
85
|
+
# to the cards that Lithic will provide. In some cases, this individual could also
|
86
|
+
# be a beneficial owner listed above.
|
85
87
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson)) }
|
86
88
|
attr_reader :control_person
|
87
89
|
|
@@ -104,9 +106,9 @@ module Lithic
|
|
104
106
|
attr_writer :created
|
105
107
|
|
106
108
|
# < Deprecated. Use control_person.email when user_type == "BUSINESS". Use
|
107
|
-
#
|
109
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
108
110
|
#
|
109
|
-
#
|
111
|
+
# > Primary email of Account Holder.
|
110
112
|
sig { returns(T.nilable(String)) }
|
111
113
|
attr_reader :email
|
112
114
|
|
@@ -114,7 +116,7 @@ module Lithic
|
|
114
116
|
attr_writer :email
|
115
117
|
|
116
118
|
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
117
|
-
#
|
119
|
+
# holder is not KYC-Exempt.
|
118
120
|
sig do
|
119
121
|
returns(
|
120
122
|
T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ExemptionType::TaggedSymbol)
|
@@ -131,7 +133,7 @@ module Lithic
|
|
131
133
|
attr_writer :exemption_type
|
132
134
|
|
133
135
|
# Customer-provided token that indicates a relationship with an object outside of
|
134
|
-
#
|
136
|
+
# the Lithic ecosystem.
|
135
137
|
sig { returns(T.nilable(String)) }
|
136
138
|
attr_reader :external_id
|
137
139
|
|
@@ -139,7 +141,7 @@ module Lithic
|
|
139
141
|
attr_writer :external_id
|
140
142
|
|
141
143
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
142
|
-
#
|
144
|
+
# for which the account is being opened and KYC is being run.
|
143
145
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual)) }
|
144
146
|
attr_reader :individual
|
145
147
|
|
@@ -155,7 +157,7 @@ module Lithic
|
|
155
157
|
attr_writer :individual
|
156
158
|
|
157
159
|
# Only present when user_type == "BUSINESS". User-submitted description of the
|
158
|
-
#
|
160
|
+
# business.
|
159
161
|
sig { returns(T.nilable(String)) }
|
160
162
|
attr_reader :nature_of_business
|
161
163
|
|
@@ -163,9 +165,9 @@ module Lithic
|
|
163
165
|
attr_writer :nature_of_business
|
164
166
|
|
165
167
|
# < Deprecated. Use control_person.phone_number when user_type == "BUSINESS". Use
|
166
|
-
#
|
168
|
+
# individual.phone_number when user_type == "INDIVIDUAL".
|
167
169
|
#
|
168
|
-
#
|
170
|
+
# > Primary phone of Account Holder, entered in E.164 format.
|
169
171
|
sig { returns(T.nilable(String)) }
|
170
172
|
attr_reader :phone_number
|
171
173
|
|
@@ -173,7 +175,7 @@ module Lithic
|
|
173
175
|
attr_writer :phone_number
|
174
176
|
|
175
177
|
# Only present for "KYB_BASIC" and "KYC_ADVANCED" workflows. A list of documents
|
176
|
-
#
|
178
|
+
# required for the account holder to be approved.
|
177
179
|
sig { returns(T.nilable(T::Array[Lithic::Models::RequiredDocument])) }
|
178
180
|
attr_reader :required_documents
|
179
181
|
|
@@ -185,10 +187,10 @@ module Lithic
|
|
185
187
|
|
186
188
|
# <Deprecated. Use verification_application.status instead>
|
187
189
|
#
|
188
|
-
#
|
190
|
+
# KYC and KYB evaluation states.
|
189
191
|
#
|
190
|
-
#
|
191
|
-
#
|
192
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
193
|
+
# `ADVANCED` workflow.
|
192
194
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Status::TaggedSymbol)) }
|
193
195
|
attr_reader :status
|
194
196
|
|
@@ -196,7 +198,7 @@ module Lithic
|
|
196
198
|
attr_writer :status
|
197
199
|
|
198
200
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
199
|
-
#
|
201
|
+
# evaluation status.
|
200
202
|
sig do
|
201
203
|
returns(
|
202
204
|
T.nilable(
|
@@ -215,12 +217,11 @@ module Lithic
|
|
215
217
|
attr_writer :status_reasons
|
216
218
|
|
217
219
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
218
|
-
#
|
220
|
+
# attribute will be present.
|
219
221
|
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
# "nature_of_business", and "website_url" attributes will be present.
|
222
|
+
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
223
|
+
# "beneficial_owner_individuals", "nature_of_business", and "website_url"
|
224
|
+
# attributes will be present.
|
224
225
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::UserType::TaggedSymbol)) }
|
225
226
|
attr_reader :user_type
|
226
227
|
|
@@ -255,10 +256,10 @@ module Lithic
|
|
255
256
|
account_token: String,
|
256
257
|
beneficial_owner_entities: T::Array[T.any(Lithic::Models::KYBBusinessEntity, Lithic::Internal::AnyHash)],
|
257
258
|
beneficial_owner_individuals: T::Array[
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
259
|
+
T.any(
|
260
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual,
|
261
|
+
Lithic::Internal::AnyHash
|
262
|
+
)
|
262
263
|
],
|
263
264
|
business_account_token: String,
|
264
265
|
business_entity: T.any(Lithic::Models::KYBBusinessEntity, Lithic::Internal::AnyHash),
|
@@ -309,9 +310,7 @@ module Lithic
|
|
309
310
|
user_type: nil,
|
310
311
|
verification_application: nil,
|
311
312
|
website_url: nil
|
312
|
-
)
|
313
|
-
end
|
314
|
-
|
313
|
+
); end
|
315
314
|
sig do
|
316
315
|
override
|
317
316
|
.returns(
|
@@ -339,12 +338,11 @@ module Lithic
|
|
339
338
|
}
|
340
339
|
)
|
341
340
|
end
|
342
|
-
def to_hash
|
343
|
-
end
|
341
|
+
def to_hash; end
|
344
342
|
|
345
343
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
346
344
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
347
|
-
#
|
345
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
348
346
|
sig do
|
349
347
|
returns(
|
350
348
|
T.nilable(
|
@@ -373,7 +371,7 @@ module Lithic
|
|
373
371
|
attr_writer :dob
|
374
372
|
|
375
373
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
376
|
-
#
|
374
|
+
# customer email address may be used to communicate dispute status and resolution.
|
377
375
|
sig { returns(T.nilable(String)) }
|
378
376
|
attr_reader :email
|
379
377
|
|
@@ -432,8 +430,7 @@ module Lithic
|
|
432
430
|
}
|
433
431
|
)
|
434
432
|
end
|
435
|
-
def to_hash
|
436
|
-
end
|
433
|
+
def to_hash; end
|
437
434
|
|
438
435
|
class Address < Lithic::Internal::Type::BaseModel
|
439
436
|
# Valid deliverable address (no PO boxes).
|
@@ -445,17 +442,17 @@ module Lithic
|
|
445
442
|
attr_accessor :city
|
446
443
|
|
447
444
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
448
|
-
#
|
445
|
+
# 3166-1 alpha-3 three-character format.
|
449
446
|
sig { returns(String) }
|
450
447
|
attr_accessor :country
|
451
448
|
|
452
449
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
453
|
-
#
|
450
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
454
451
|
sig { returns(String) }
|
455
452
|
attr_accessor :postal_code
|
456
453
|
|
457
454
|
# Valid state code. Only USA state codes are currently supported, entered in
|
458
|
-
#
|
455
|
+
# uppercase ISO 3166-2 two-character format.
|
459
456
|
sig { returns(String) }
|
460
457
|
attr_accessor :state
|
461
458
|
|
@@ -467,7 +464,7 @@ module Lithic
|
|
467
464
|
attr_writer :address2
|
468
465
|
|
469
466
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
470
|
-
#
|
467
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
471
468
|
sig do
|
472
469
|
params(
|
473
470
|
address1: String,
|
@@ -479,8 +476,7 @@ module Lithic
|
|
479
476
|
)
|
480
477
|
.returns(T.attached_class)
|
481
478
|
end
|
482
|
-
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil)
|
483
|
-
end
|
479
|
+
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil); end
|
484
480
|
|
485
481
|
sig do
|
486
482
|
override
|
@@ -495,14 +491,13 @@ module Lithic
|
|
495
491
|
}
|
496
492
|
)
|
497
493
|
end
|
498
|
-
def to_hash
|
499
|
-
end
|
494
|
+
def to_hash; end
|
500
495
|
end
|
501
496
|
end
|
502
497
|
|
503
498
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
504
499
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
505
|
-
#
|
500
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
506
501
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::Address)) }
|
507
502
|
attr_reader :address
|
508
503
|
|
@@ -525,7 +520,7 @@ module Lithic
|
|
525
520
|
attr_writer :dob
|
526
521
|
|
527
522
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
528
|
-
#
|
523
|
+
# customer email address may be used to communicate dispute status and resolution.
|
529
524
|
sig { returns(T.nilable(String)) }
|
530
525
|
attr_reader :email
|
531
526
|
|
@@ -555,15 +550,15 @@ module Lithic
|
|
555
550
|
|
556
551
|
# Only present when user_type == "BUSINESS".
|
557
552
|
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
#
|
553
|
+
# An individual with significant responsibility for managing the legal entity
|
554
|
+
# (e.g., a Chief Executive Officer, Chief Financial Officer, Chief Operating
|
555
|
+
# Officer,
|
561
556
|
#
|
562
|
-
#
|
563
|
-
#
|
557
|
+
# Managing Member, General Partner, President, Vice President, or Treasurer). This
|
558
|
+
# can be an executive, or someone who will have program-wide access
|
564
559
|
#
|
565
|
-
#
|
566
|
-
#
|
560
|
+
# to the cards that Lithic will provide. In some cases, this individual could also
|
561
|
+
# be a beneficial owner listed above.
|
567
562
|
sig do
|
568
563
|
params(
|
569
564
|
address: T.any(
|
@@ -595,8 +590,7 @@ module Lithic
|
|
595
590
|
}
|
596
591
|
)
|
597
592
|
end
|
598
|
-
def to_hash
|
599
|
-
end
|
593
|
+
def to_hash; end
|
600
594
|
|
601
595
|
class Address < Lithic::Internal::Type::BaseModel
|
602
596
|
# Valid deliverable address (no PO boxes).
|
@@ -608,17 +602,17 @@ module Lithic
|
|
608
602
|
attr_accessor :city
|
609
603
|
|
610
604
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
611
|
-
#
|
605
|
+
# 3166-1 alpha-3 three-character format.
|
612
606
|
sig { returns(String) }
|
613
607
|
attr_accessor :country
|
614
608
|
|
615
609
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
616
|
-
#
|
610
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
617
611
|
sig { returns(String) }
|
618
612
|
attr_accessor :postal_code
|
619
613
|
|
620
614
|
# Valid state code. Only USA state codes are currently supported, entered in
|
621
|
-
#
|
615
|
+
# uppercase ISO 3166-2 two-character format.
|
622
616
|
sig { returns(String) }
|
623
617
|
attr_accessor :state
|
624
618
|
|
@@ -630,7 +624,7 @@ module Lithic
|
|
630
624
|
attr_writer :address2
|
631
625
|
|
632
626
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
633
|
-
#
|
627
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
634
628
|
sig do
|
635
629
|
params(
|
636
630
|
address1: String,
|
@@ -642,8 +636,7 @@ module Lithic
|
|
642
636
|
)
|
643
637
|
.returns(T.attached_class)
|
644
638
|
end
|
645
|
-
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil)
|
646
|
-
end
|
639
|
+
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil); end
|
647
640
|
|
648
641
|
sig do
|
649
642
|
override
|
@@ -658,13 +651,12 @@ module Lithic
|
|
658
651
|
}
|
659
652
|
)
|
660
653
|
end
|
661
|
-
def to_hash
|
662
|
-
end
|
654
|
+
def to_hash; end
|
663
655
|
end
|
664
656
|
end
|
665
657
|
|
666
658
|
# The type of KYC exemption for a KYC-Exempt Account Holder. "None" if the account
|
667
|
-
#
|
659
|
+
# holder is not KYC-Exempt.
|
668
660
|
module ExemptionType
|
669
661
|
extend Lithic::Internal::Type::Enum
|
670
662
|
|
@@ -696,13 +688,12 @@ module Lithic
|
|
696
688
|
T::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ExemptionType::TaggedSymbol]
|
697
689
|
)
|
698
690
|
end
|
699
|
-
def self.values
|
700
|
-
end
|
691
|
+
def self.values; end
|
701
692
|
end
|
702
693
|
|
703
694
|
class Individual < Lithic::Internal::Type::BaseModel
|
704
695
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
705
|
-
#
|
696
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
706
697
|
sig { returns(T.nilable(Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual::Address)) }
|
707
698
|
attr_reader :address
|
708
699
|
|
@@ -725,7 +716,7 @@ module Lithic
|
|
725
716
|
attr_writer :dob
|
726
717
|
|
727
718
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
728
|
-
#
|
719
|
+
# customer email address may be used to communicate dispute status and resolution.
|
729
720
|
sig { returns(T.nilable(String)) }
|
730
721
|
attr_reader :email
|
731
722
|
|
@@ -754,7 +745,7 @@ module Lithic
|
|
754
745
|
attr_writer :phone_number
|
755
746
|
|
756
747
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
757
|
-
#
|
748
|
+
# for which the account is being opened and KYC is being run.
|
758
749
|
sig do
|
759
750
|
params(
|
760
751
|
address: T.any(
|
@@ -786,8 +777,7 @@ module Lithic
|
|
786
777
|
}
|
787
778
|
)
|
788
779
|
end
|
789
|
-
def to_hash
|
790
|
-
end
|
780
|
+
def to_hash; end
|
791
781
|
|
792
782
|
class Address < Lithic::Internal::Type::BaseModel
|
793
783
|
# Valid deliverable address (no PO boxes).
|
@@ -799,17 +789,17 @@ module Lithic
|
|
799
789
|
attr_accessor :city
|
800
790
|
|
801
791
|
# Valid country code. Only USA is currently supported, entered in uppercase ISO
|
802
|
-
#
|
792
|
+
# 3166-1 alpha-3 three-character format.
|
803
793
|
sig { returns(String) }
|
804
794
|
attr_accessor :country
|
805
795
|
|
806
796
|
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
807
|
-
#
|
797
|
+
# five-digit ZIP or nine-digit ZIP+4.
|
808
798
|
sig { returns(String) }
|
809
799
|
attr_accessor :postal_code
|
810
800
|
|
811
801
|
# Valid state code. Only USA state codes are currently supported, entered in
|
812
|
-
#
|
802
|
+
# uppercase ISO 3166-2 two-character format.
|
813
803
|
sig { returns(String) }
|
814
804
|
attr_accessor :state
|
815
805
|
|
@@ -821,7 +811,7 @@ module Lithic
|
|
821
811
|
attr_writer :address2
|
822
812
|
|
823
813
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
824
|
-
#
|
814
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
825
815
|
sig do
|
826
816
|
params(
|
827
817
|
address1: String,
|
@@ -833,8 +823,7 @@ module Lithic
|
|
833
823
|
)
|
834
824
|
.returns(T.attached_class)
|
835
825
|
end
|
836
|
-
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil)
|
837
|
-
end
|
826
|
+
def self.new(address1:, city:, country:, postal_code:, state:, address2: nil); end
|
838
827
|
|
839
828
|
sig do
|
840
829
|
override
|
@@ -849,17 +838,16 @@ module Lithic
|
|
849
838
|
}
|
850
839
|
)
|
851
840
|
end
|
852
|
-
def to_hash
|
853
|
-
end
|
841
|
+
def to_hash; end
|
854
842
|
end
|
855
843
|
end
|
856
844
|
|
857
845
|
# <Deprecated. Use verification_application.status instead>
|
858
846
|
#
|
859
|
-
#
|
847
|
+
# KYC and KYB evaluation states.
|
860
848
|
#
|
861
|
-
#
|
862
|
-
#
|
849
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
850
|
+
# `ADVANCED` workflow.
|
863
851
|
module Status
|
864
852
|
extend Lithic::Internal::Type::Enum
|
865
853
|
|
@@ -887,8 +875,7 @@ module Lithic
|
|
887
875
|
override
|
888
876
|
.returns(T::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Status::TaggedSymbol])
|
889
877
|
end
|
890
|
-
def self.values
|
891
|
-
end
|
878
|
+
def self.values; end
|
892
879
|
end
|
893
880
|
|
894
881
|
# Status Reasons for KYC/KYB enrollment states
|
@@ -1033,17 +1020,15 @@ module Lithic
|
|
1033
1020
|
T::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::StatusReason::TaggedSymbol]
|
1034
1021
|
)
|
1035
1022
|
end
|
1036
|
-
def self.values
|
1037
|
-
end
|
1023
|
+
def self.values; end
|
1038
1024
|
end
|
1039
1025
|
|
1040
1026
|
# The type of Account Holder. If the type is "INDIVIDUAL", the "individual"
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
1044
|
-
# "beneficial_owner_individuals", "beneficial_owner_entities",
|
1027
|
+
# attribute will be present.
|
1045
1028
|
#
|
1046
|
-
#
|
1029
|
+
# If the type is "BUSINESS" then the "business_entity", "control_person",
|
1030
|
+
# "beneficial_owner_individuals", "nature_of_business", and "website_url"
|
1031
|
+
# attributes will be present.
|
1047
1032
|
module UserType
|
1048
1033
|
extend Lithic::Internal::Type::Enum
|
1049
1034
|
|
@@ -1067,8 +1052,7 @@ module Lithic
|
|
1067
1052
|
override
|
1068
1053
|
.returns(T::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::UserType::TaggedSymbol])
|
1069
1054
|
end
|
1070
|
-
def self.values
|
1071
|
-
end
|
1055
|
+
def self.values; end
|
1072
1056
|
end
|
1073
1057
|
|
1074
1058
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -1078,8 +1062,8 @@ module Lithic
|
|
1078
1062
|
|
1079
1063
|
# KYC and KYB evaluation states.
|
1080
1064
|
#
|
1081
|
-
#
|
1082
|
-
#
|
1065
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
1066
|
+
# `ADVANCED` workflow.
|
1083
1067
|
sig do
|
1084
1068
|
returns(
|
1085
1069
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::Status::TaggedSymbol
|
@@ -1091,7 +1075,7 @@ module Lithic
|
|
1091
1075
|
sig do
|
1092
1076
|
returns(
|
1093
1077
|
T::Array[
|
1094
|
-
|
1078
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::StatusReason::TaggedSymbol
|
1095
1079
|
]
|
1096
1080
|
)
|
1097
1081
|
end
|
@@ -1107,14 +1091,13 @@ module Lithic
|
|
1107
1091
|
created: Time,
|
1108
1092
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::Status::OrSymbol,
|
1109
1093
|
status_reasons: T::Array[
|
1110
|
-
|
1094
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::StatusReason::OrSymbol
|
1111
1095
|
],
|
1112
1096
|
updated: Time
|
1113
1097
|
)
|
1114
1098
|
.returns(T.attached_class)
|
1115
1099
|
end
|
1116
|
-
def self.new(created:, status:, status_reasons:, updated:)
|
1117
|
-
end
|
1100
|
+
def self.new(created:, status:, status_reasons:, updated:); end
|
1118
1101
|
|
1119
1102
|
sig do
|
1120
1103
|
override
|
@@ -1123,19 +1106,18 @@ module Lithic
|
|
1123
1106
|
created: Time,
|
1124
1107
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::Status::TaggedSymbol,
|
1125
1108
|
status_reasons: T::Array[
|
1126
|
-
|
1109
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::StatusReason::TaggedSymbol
|
1127
1110
|
],
|
1128
1111
|
updated: Time
|
1129
1112
|
}
|
1130
1113
|
)
|
1131
1114
|
end
|
1132
|
-
def to_hash
|
1133
|
-
end
|
1115
|
+
def to_hash; end
|
1134
1116
|
|
1135
1117
|
# KYC and KYB evaluation states.
|
1136
1118
|
#
|
1137
|
-
#
|
1138
|
-
#
|
1119
|
+
# Note: `PENDING_RESUBMIT` and `PENDING_DOCUMENT` are only applicable for the
|
1120
|
+
# `ADVANCED` workflow.
|
1139
1121
|
module Status
|
1140
1122
|
extend Lithic::Internal::Type::Enum
|
1141
1123
|
|
@@ -1177,12 +1159,11 @@ module Lithic
|
|
1177
1159
|
override
|
1178
1160
|
.returns(
|
1179
1161
|
T::Array[
|
1180
|
-
|
1162
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::Status::TaggedSymbol
|
1181
1163
|
]
|
1182
1164
|
)
|
1183
1165
|
end
|
1184
|
-
def self.values
|
1185
|
-
end
|
1166
|
+
def self.values; end
|
1186
1167
|
end
|
1187
1168
|
|
1188
1169
|
# Status Reasons for KYC/KYB enrollment states
|
@@ -1327,12 +1308,11 @@ module Lithic
|
|
1327
1308
|
override
|
1328
1309
|
.returns(
|
1329
1310
|
T::Array[
|
1330
|
-
|
1311
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::StatusReason::TaggedSymbol
|
1331
1312
|
]
|
1332
1313
|
)
|
1333
1314
|
end
|
1334
|
-
def self.values
|
1335
|
-
end
|
1315
|
+
def self.values; end
|
1336
1316
|
end
|
1337
1317
|
end
|
1338
1318
|
end
|