lithic 0.1.0.pre.alpha.27 → 0.1.0.pre.alpha.29
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 +23 -0
- data/README.md +4 -4
- data/SECURITY.md +2 -2
- data/lib/lithic/client.rb +1 -1
- data/lib/lithic/internal/util.rb +10 -2
- data/lib/lithic/models/account.rb +16 -16
- data/lib/lithic/models/account_holder.rb +49 -49
- data/lib/lithic/models/account_holder_create_params.rb +33 -31
- data/lib/lithic/models/account_holder_create_response.rb +2 -2
- data/lib/lithic/models/account_holder_list_documents_response.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +4 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +4 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +6 -6
- data/lib/lithic/models/account_holder_update_params.rb +29 -27
- data/lib/lithic/models/account_holder_update_response.rb +6 -6
- data/lib/lithic/models/account_holder_upload_document_params.rb +2 -2
- data/lib/lithic/models/account_spend_limits.rb +11 -11
- data/lib/lithic/models/account_update_params.rb +4 -4
- data/lib/lithic/models/address.rb +2 -2
- data/lib/lithic/models/address_update.rb +2 -2
- data/lib/lithic/models/aggregate_balance.rb +5 -5
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -8
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +19 -19
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_create_params.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_create_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +8 -8
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_response.rb +6 -6
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +12 -12
- data/lib/lithic/models/balance.rb +5 -5
- data/lib/lithic/models/balance_list_params.rb +2 -2
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +6 -6
- data/lib/lithic/models/book_transfer_response.rb +18 -18
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_convert_physical_params.rb +6 -6
- data/lib/lithic/models/card_create_params.rb +12 -12
- data/lib/lithic/models/card_list_params.rb +2 -2
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +2 -2
- data/lib/lithic/models/card_reissue_params.rb +6 -6
- data/lib/lithic/models/card_renew_params.rb +6 -6
- data/lib/lithic/models/card_spend_limits.rb +11 -11
- data/lib/lithic/models/card_update_params.rb +6 -6
- data/lib/lithic/models/card_web_provision_params.rb +2 -2
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art.rb +3 -3
- data/lib/lithic/models/dispute.rb +11 -11
- data/lib/lithic/models/dispute_create_params.rb +2 -2
- data/lib/lithic/models/dispute_evidence.rb +5 -5
- data/lib/lithic/models/dispute_list_params.rb +2 -2
- data/lib/lithic/models/dispute_update_params.rb +2 -2
- data/lib/lithic/models/document.rb +14 -14
- data/lib/lithic/models/event.rb +5 -5
- data/lib/lithic/models/event_list_attempts_params.rb +2 -2
- data/lib/lithic/models/event_list_params.rb +2 -2
- data/lib/lithic/models/event_subscription.rb +2 -2
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +2 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -2
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +8 -8
- data/lib/lithic/models/external_bank_account_create_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_params.rb +8 -8
- data/lib/lithic/models/external_bank_account_list_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +6 -6
- data/lib/lithic/models/external_bank_account_update_params.rb +6 -6
- data/lib/lithic/models/external_bank_account_update_response.rb +2 -2
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +2 -2
- data/lib/lithic/models/external_payment.rb +22 -22
- data/lib/lithic/models/external_payment_create_params.rb +6 -6
- data/lib/lithic/models/external_payment_list_params.rb +6 -6
- data/lib/lithic/models/external_payment_settle_params.rb +2 -2
- data/lib/lithic/models/financial_account.rb +18 -18
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_list_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +6 -6
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +68 -68
- data/lib/lithic/models/financial_accounts/statement.rb +46 -46
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -10
- data/lib/lithic/models/financial_accounts/statements.rb +2 -2
- data/lib/lithic/models/financial_transaction.rb +19 -19
- data/lib/lithic/models/kyb.rb +27 -27
- data/lib/lithic/models/kyb_business_entity.rb +5 -5
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +10 -10
- data/lib/lithic/models/management_operation_create_params.rb +6 -6
- data/lib/lithic/models/management_operation_list_params.rb +4 -4
- data/lib/lithic/models/management_operation_transaction.rb +25 -25
- data/lib/lithic/models/message_attempt.rb +5 -5
- data/lib/lithic/models/non_pci_card.rb +24 -24
- data/lib/lithic/models/payment.rb +38 -38
- data/lib/lithic/models/payment_create_params.rb +9 -9
- data/lib/lithic/models/payment_create_response.rb +2 -2
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/payment_retry_response.rb +2 -2
- data/lib/lithic/models/payment_simulate_action_params.rb +4 -4
- data/lib/lithic/models/payment_simulate_receipt_params.rb +2 -2
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_params.rb +2 -2
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +11 -11
- data/lib/lithic/models/settlement_report.rb +4 -4
- data/lib/lithic/models/settlement_summary_details.rb +4 -4
- data/lib/lithic/models/shipping_address.rb +2 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +8 -7
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +19 -19
- data/lib/lithic/models/tokenization_list_params.rb +2 -2
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +2 -2
- data/lib/lithic/models/tokenization_retrieve_response.rb +2 -2
- data/lib/lithic/models/tokenization_simulate_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_response.rb +2 -2
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +2 -2
- data/lib/lithic/models/transaction.rb +162 -160
- data/lib/lithic/models/transaction_list_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +2 -2
- data/lib/lithic/models/transaction_simulate_void_params.rb +2 -2
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -2
- data/lib/lithic/models/transactions/events/enhanced_data.rb +29 -29
- data/lib/lithic/models/transfer.rb +25 -25
- data/lib/lithic/resources/account_holders.rb +24 -24
- data/lib/lithic/resources/accounts.rb +6 -6
- data/lib/lithic/resources/aggregate_balances.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +5 -5
- data/lib/lithic/resources/auth_stream_enrollment.rb +1 -1
- data/lib/lithic/resources/balances.rb +2 -2
- data/lib/lithic/resources/book_transfers.rb +9 -9
- data/lib/lithic/resources/card_programs.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +5 -5
- data/lib/lithic/resources/cards.rb +30 -30
- data/lib/lithic/resources/credit_products/extended_credit.rb +1 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -2
- data/lib/lithic/resources/disputes.rb +12 -12
- data/lib/lithic/resources/events/subscriptions.rb +9 -9
- data/lib/lithic/resources/events.rb +5 -5
- data/lib/lithic/resources/external_bank_accounts.rb +11 -11
- data/lib/lithic/resources/external_payments.rb +14 -14
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +2 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -5
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -2
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -2
- data/lib/lithic/resources/financial_accounts.rb +9 -9
- data/lib/lithic/resources/management_operations.rb +9 -9
- data/lib/lithic/resources/payments.rb +11 -11
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -2
- data/lib/lithic/resources/responder_endpoints.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +3 -3
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/tokenization_decisioning.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +5 -5
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +6 -6
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/sig/lithic/models/account.rbs +33 -4
- data/sig/lithic/models/account_holder.rbs +116 -36
- data/sig/lithic/models/account_holder_create_params.rbs +71 -0
- data/sig/lithic/models/account_holder_create_response.rbs +10 -0
- data/sig/lithic/models/account_holder_list_documents_params.rbs +2 -0
- data/sig/lithic/models/account_holder_list_documents_response.rbs +2 -0
- data/sig/lithic/models/account_holder_list_params.rbs +15 -0
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -0
- data/sig/lithic/models/account_holder_retrieve_params.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_document_review_params.rbs +8 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +13 -6
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +87 -0
- data/sig/lithic/models/account_holder_update_params.rbs +72 -0
- data/sig/lithic/models/account_holder_update_response.rbs +107 -0
- data/sig/lithic/models/account_holder_upload_document_params.rbs +6 -0
- data/sig/lithic/models/account_list_params.rbs +9 -0
- data/sig/lithic/models/account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +2 -0
- data/sig/lithic/models/account_spend_limits.rbs +12 -0
- data/sig/lithic/models/account_update_params.rbs +18 -0
- data/sig/lithic/models/address.rbs +9 -0
- data/sig/lithic/models/address_update.rbs +9 -0
- data/sig/lithic/models/aggregate_balance.rbs +17 -4
- data/sig/lithic/models/aggregate_balance_list_params.rbs +5 -0
- data/sig/lithic/models/api_status.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +16 -4
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +18 -12
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +6 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +39 -0
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +21 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +10 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +10 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +23 -8
- data/sig/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/auth_stream_enrollment_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/auth_stream_secret.rbs +2 -0
- data/sig/lithic/models/balance.rbs +17 -4
- data/sig/lithic/models/balance_list_params.rbs +8 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +12 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +15 -0
- data/sig/lithic/models/book_transfer_response.rbs +46 -20
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_reverse_params.rbs +2 -0
- data/sig/lithic/models/card.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +8 -0
- data/sig/lithic/models/card_create_params.rbs +21 -0
- data/sig/lithic/models/card_embed_params.rbs +6 -0
- data/sig/lithic/models/card_list_params.rbs +12 -0
- data/sig/lithic/models/card_program.rbs +10 -0
- data/sig/lithic/models/card_program_list_params.rbs +7 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +2 -0
- data/sig/lithic/models/card_provision_params.rbs +10 -0
- data/sig/lithic/models/card_provision_response.rbs +2 -0
- data/sig/lithic/models/card_reissue_params.rbs +8 -0
- data/sig/lithic/models/card_renew_params.rbs +10 -0
- data/sig/lithic/models/card_retrieve_params.rbs +2 -0
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +2 -0
- data/sig/lithic/models/card_search_by_pan_params.rbs +2 -0
- data/sig/lithic/models/card_spend_limits.rbs +24 -0
- data/sig/lithic/models/card_update_params.rbs +11 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_response.rbs +14 -0
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +6 -0
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +12 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +6 -0
- data/sig/lithic/models/cards/balance_list_response.rbs +13 -0
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +11 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +5 -0
- data/sig/lithic/models/carrier.rbs +2 -0
- data/sig/lithic/models/client_api_status_params.rbs +2 -0
- data/sig/lithic/models/credit_products/extended_credit.rbs +2 -0
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +2 -0
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +6 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +6 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_response.rbs +7 -0
- data/sig/lithic/models/digital_card_art.rbs +14 -4
- data/sig/lithic/models/digital_card_art_list_params.rbs +7 -0
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +2 -0
- data/sig/lithic/models/dispute.rbs +33 -12
- data/sig/lithic/models/dispute_create_params.rbs +9 -0
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +5 -0
- data/sig/lithic/models/dispute_delete_params.rbs +2 -0
- data/sig/lithic/models/dispute_evidence.rbs +14 -4
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +5 -0
- data/sig/lithic/models/dispute_list_evidences_params.rbs +9 -0
- data/sig/lithic/models/dispute_list_params.rbs +11 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_params.rbs +2 -0
- data/sig/lithic/models/dispute_update_params.rbs +8 -0
- data/sig/lithic/models/document.rbs +36 -16
- data/sig/lithic/models/event.rbs +11 -4
- data/sig/lithic/models/event_list_attempts_params.rbs +10 -0
- data/sig/lithic/models/event_list_params.rbs +17 -6
- data/sig/lithic/models/event_retrieve_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +12 -4
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +14 -6
- data/sig/lithic/models/events/subscription_delete_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +10 -0
- data/sig/lithic/models/events/subscription_list_params.rbs +7 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +6 -0
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +6 -0
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_response.rbs +2 -0
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +14 -6
- data/sig/lithic/models/external_bank_account_address.rbs +9 -0
- data/sig/lithic/models/external_bank_account_create_params.rbs +22 -0
- data/sig/lithic/models/external_bank_account_create_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_list_params.rbs +31 -18
- data/sig/lithic/models/external_bank_account_list_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_update_params.rbs +13 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +25 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +25 -0
- data/sig/lithic/models/external_payment.rbs +55 -28
- data/sig/lithic/models/external_payment_cancel_params.rbs +6 -0
- data/sig/lithic/models/external_payment_create_params.rbs +13 -0
- data/sig/lithic/models/external_payment_list_params.rbs +14 -0
- data/sig/lithic/models/external_payment_release_params.rbs +6 -0
- data/sig/lithic/models/external_payment_retrieve_params.rbs +2 -0
- data/sig/lithic/models/external_payment_reverse_params.rbs +6 -0
- data/sig/lithic/models/external_payment_settle_params.rbs +7 -0
- data/sig/lithic/models/financial_account.rbs +45 -20
- data/sig/lithic/models/financial_account_create_params.rbs +9 -0
- data/sig/lithic/models/financial_account_list_params.rbs +7 -0
- data/sig/lithic/models/financial_account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/financial_account_update_params.rbs +5 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +6 -0
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +13 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +8 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +19 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +11 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +156 -16
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +9 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +110 -20
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +10 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +8 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +28 -8
- data/sig/lithic/models/financial_accounts/statements.rbs +5 -0
- data/sig/lithic/models/financial_transaction.rbs +46 -24
- data/sig/lithic/models/funding_event_list_params.rbs +7 -0
- data/sig/lithic/models/funding_event_list_response.rbs +13 -0
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +2 -0
- data/sig/lithic/models/funding_event_retrieve_details_response.rbs +6 -0
- data/sig/lithic/models/funding_event_retrieve_params.rbs +2 -0
- data/sig/lithic/models/funding_event_retrieve_response.rbs +13 -0
- data/sig/lithic/models/kyb.rbs +55 -4
- data/sig/lithic/models/kyb_business_entity.rbs +18 -0
- data/sig/lithic/models/kyc.rbs +22 -4
- data/sig/lithic/models/kyc_exempt.rbs +20 -8
- data/sig/lithic/models/management_operation_create_params.rbs +14 -0
- data/sig/lithic/models/management_operation_list_params.rbs +13 -0
- data/sig/lithic/models/management_operation_retrieve_params.rbs +2 -0
- data/sig/lithic/models/management_operation_reverse_params.rbs +6 -0
- data/sig/lithic/models/management_operation_transaction.rbs +63 -28
- data/sig/lithic/models/message_attempt.rbs +15 -4
- data/sig/lithic/models/non_pci_card.rbs +58 -24
- data/sig/lithic/models/payment.rbs +82 -42
- data/sig/lithic/models/payment_create_params.rbs +23 -4
- data/sig/lithic/models/payment_create_response.rbs +2 -0
- data/sig/lithic/models/payment_list_params.rbs +15 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +2 -0
- data/sig/lithic/models/payment_retry_params.rbs +2 -0
- data/sig/lithic/models/payment_retry_response.rbs +2 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +7 -0
- data/sig/lithic/models/payment_simulate_action_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_receipt_params.rbs +9 -0
- data/sig/lithic/models/payment_simulate_receipt_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_release_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_release_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_return_params.rbs +6 -0
- data/sig/lithic/models/payment_simulate_return_response.rbs +6 -0
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +15 -0
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +21 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +2 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +21 -0
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +7 -0
- data/sig/lithic/models/reports/settlement_summary_params.rbs +2 -0
- data/sig/lithic/models/required_document.rbs +6 -0
- data/sig/lithic/models/responder_endpoint_check_status_params.rbs +5 -0
- data/sig/lithic/models/responder_endpoint_create_params.rbs +6 -0
- data/sig/lithic/models/responder_endpoint_create_response.rbs +2 -0
- data/sig/lithic/models/responder_endpoint_delete_params.rbs +5 -0
- data/sig/lithic/models/responder_endpoint_status.rbs +2 -0
- data/sig/lithic/models/settlement_detail.rbs +34 -8
- data/sig/lithic/models/settlement_report.rbs +14 -0
- data/sig/lithic/models/settlement_summary_details.rbs +17 -6
- data/sig/lithic/models/shipping_address.rbs +14 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +102 -0
- data/sig/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbs +6 -0
- data/sig/lithic/models/three_ds/authentication_simulate_params.rbs +17 -0
- data/sig/lithic/models/three_ds/authentication_simulate_response.rbs +2 -0
- data/sig/lithic/models/three_ds/challenge_response.rbs +5 -0
- data/sig/lithic/models/three_ds/decisioning_challenge_response_params.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_response.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization.rbs +47 -24
- data/sig/lithic/models/tokenization_activate_params.rbs +2 -0
- data/sig/lithic/models/tokenization_deactivate_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_response.rbs +2 -0
- data/sig/lithic/models/tokenization_list_params.rbs +12 -0
- data/sig/lithic/models/tokenization_pause_params.rbs +2 -0
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +2 -0
- data/sig/lithic/models/tokenization_retrieve_response.rbs +2 -0
- data/sig/lithic/models/tokenization_secret.rbs +2 -0
- data/sig/lithic/models/tokenization_simulate_params.rbs +12 -0
- data/sig/lithic/models/tokenization_simulate_response.rbs +2 -0
- data/sig/lithic/models/tokenization_unpause_params.rbs +2 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +277 -90
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +2 -0
- data/sig/lithic/models/transaction_list_params.rbs +13 -0
- data/sig/lithic/models/transaction_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_params.rbs +6 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_authorization_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_clearing_params.rbs +6 -0
- data/sig/lithic/models/transaction_simulate_clearing_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_params.rbs +9 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_params.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_void_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_void_response.rbs +2 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbs +4 -0
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +75 -24
- data/sig/lithic/models/transfer.rbs +57 -27
- data/sig/lithic/models/transfer_create_params.rbs +9 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/subscriptions.rbs +2 -2
- data/sig/lithic/resources/events.rbs +1 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c384b27a5d701421b57edbc694ee1fa0d4712036257600f076d430c871bd494
|
4
|
+
data.tar.gz: 68b3af26df025afb690987b55012640159c7638cf4670969775592231585ddaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8264f70cc1892d8c51c8a50b139588f1306176ec571f2430fd6f3e2fddc16e599c3ee71f72b23e84adc34ad31f76bb1cff14a30719f4b71f10aa4c1a38d1a239
|
7
|
+
data.tar.gz: e76d74b39112dd5477974cbf2a47b78eb7b745bf8e14fa022f339a759ca6237d23e8c7f44de84e418a16822f1974dd5b1d9ecbddef151cad89b8eb0da60905b8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.29 (2025-05-27)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.28...v0.1.0-alpha.29](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.28...v0.1.0-alpha.29)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* sorbet types for enums, and make tapioca detection ignore `tapioca dsl` ([8f652e8](https://github.com/lithic-com/lithic-ruby/commit/8f652e819994698ce6b0b895349abd230755a9d8))
|
10
|
+
|
11
|
+
## 0.1.0-alpha.28 (2025-05-23)
|
12
|
+
|
13
|
+
Full Changelog: [v0.1.0-alpha.27...v0.1.0-alpha.28](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.27...v0.1.0-alpha.28)
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
* prevent rubocop from mangling `===` to `is_a?` check ([17d829b](https://github.com/lithic-com/lithic-ruby/commit/17d829bdf146635a77f48734396b7bab4ace5ec7))
|
18
|
+
|
19
|
+
|
20
|
+
### Chores
|
21
|
+
|
22
|
+
* **docs:** grammar improvements ([32caea3](https://github.com/lithic-com/lithic-ruby/commit/32caea327297944f1981f54b5c6180b63f938e1d))
|
23
|
+
* force utf-8 locale via `RUBYOPT` when formatting ([1b5a754](https://github.com/lithic-com/lithic-ruby/commit/1b5a754e631bf579fc6a79569ad847cc65ddff1c))
|
24
|
+
* use fully qualified names for yard annotations and rbs aliases ([2f72cee](https://github.com/lithic-com/lithic-ruby/commit/2f72cee42923b41ac739d0dd7b118152a36a8b93))
|
25
|
+
|
3
26
|
## 0.1.0-alpha.27 (2025-05-20)
|
4
27
|
|
5
28
|
Full Changelog: [v0.1.0-alpha.26...v0.1.0-alpha.27](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.26...v0.1.0-alpha.27)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.29"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
@@ -172,7 +172,7 @@ puts(page[:my_undocumented_property])
|
|
172
172
|
|
173
173
|
#### Undocumented request params
|
174
174
|
|
175
|
-
If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request as seen in examples above.
|
175
|
+
If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above.
|
176
176
|
|
177
177
|
#### Undocumented endpoints
|
178
178
|
|
@@ -190,7 +190,7 @@ response = client.request(
|
|
190
190
|
|
191
191
|
### Concurrency & connection pooling
|
192
192
|
|
193
|
-
The `Lithic::Client` instances are threadsafe, but only are fork-safe when there are no in-flight HTTP requests.
|
193
|
+
The `Lithic::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests.
|
194
194
|
|
195
195
|
Each instance of `Lithic::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings.
|
196
196
|
|
@@ -240,7 +240,7 @@ lithic.accounts.update(
|
|
240
240
|
# …
|
241
241
|
)
|
242
242
|
|
243
|
-
# Literal values
|
243
|
+
# Literal values are also permissible:
|
244
244
|
lithic.accounts.update(
|
245
245
|
state: :ACTIVE,
|
246
246
|
# …
|
data/SECURITY.md
CHANGED
@@ -16,11 +16,11 @@ before making any information public.
|
|
16
16
|
## Reporting Non-SDK Related Security Issues
|
17
17
|
|
18
18
|
If you encounter security issues that are not directly related to SDKs but pertain to the services
|
19
|
-
or products provided by Lithic please follow the respective company's security reporting guidelines.
|
19
|
+
or products provided by Lithic, please follow the respective company's security reporting guidelines.
|
20
20
|
|
21
21
|
### Lithic Terms and Policies
|
22
22
|
|
23
|
-
Please contact sdk-feedback@lithic.com for any questions or concerns regarding security of our services.
|
23
|
+
Please contact sdk-feedback@lithic.com for any questions or concerns regarding the security of our services.
|
24
24
|
|
25
25
|
---
|
26
26
|
|
data/lib/lithic/client.rb
CHANGED
@@ -107,7 +107,7 @@ module Lithic
|
|
107
107
|
#
|
108
108
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
109
109
|
#
|
110
|
-
# @return [Lithic::APIStatus]
|
110
|
+
# @return [Lithic::Models::APIStatus]
|
111
111
|
#
|
112
112
|
# @see Lithic::Models::ClientAPIStatusParams
|
113
113
|
def api_status(params = {})
|
data/lib/lithic/internal/util.rb
CHANGED
@@ -600,11 +600,13 @@ module Lithic
|
|
600
600
|
#
|
601
601
|
# @return [Object]
|
602
602
|
def encode_content(headers, body)
|
603
|
+
# rubocop:disable Style/CaseEquality
|
604
|
+
# rubocop:disable Layout/LineLength
|
603
605
|
content_type = headers["content-type"]
|
604
606
|
case [content_type, body]
|
605
607
|
in [Lithic::Internal::Util::JSON_CONTENT, Hash | Array | -> { primitive?(_1) }]
|
606
608
|
[headers, JSON.generate(body)]
|
607
|
-
in [Lithic::Internal::Util::JSONL_CONTENT, Enumerable] unless
|
609
|
+
in [Lithic::Internal::Util::JSONL_CONTENT, Enumerable] unless Lithic::Internal::Type::FileInput === body
|
608
610
|
[headers, body.lazy.map { JSON.generate(_1) }]
|
609
611
|
in [%r{^multipart/form-data}, Hash | Lithic::Internal::Type::FileInput]
|
610
612
|
boundary, strio = encode_multipart_streaming(body)
|
@@ -619,6 +621,8 @@ module Lithic
|
|
619
621
|
else
|
620
622
|
[headers, body]
|
621
623
|
end
|
624
|
+
# rubocop:enable Layout/LineLength
|
625
|
+
# rubocop:enable Style/CaseEquality
|
622
626
|
end
|
623
627
|
|
624
628
|
# @api private
|
@@ -871,8 +875,12 @@ module Lithic
|
|
871
875
|
case type
|
872
876
|
in Lithic::Internal::Util::SorbetRuntimeSupport
|
873
877
|
type.to_sorbet_type
|
874
|
-
|
878
|
+
in Class | Module
|
875
879
|
type
|
880
|
+
in true | false
|
881
|
+
T::Boolean
|
882
|
+
else
|
883
|
+
type.class
|
876
884
|
end
|
877
885
|
end
|
878
886
|
end
|
@@ -25,7 +25,7 @@ module Lithic
|
|
25
25
|
# time limit (rolling). A lifetime limit of 0 indicates that the lifetime limit
|
26
26
|
# feature is disabled.
|
27
27
|
#
|
28
|
-
# @return [Lithic::Account::SpendLimit]
|
28
|
+
# @return [Lithic::Models::Account::SpendLimit]
|
29
29
|
required :spend_limit, -> { Lithic::Account::SpendLimit }
|
30
30
|
|
31
31
|
# @!attribute state
|
@@ -41,12 +41,12 @@ module Lithic
|
|
41
41
|
# [support@lithic.com](mailto:support@lithic.com) if you believe this was in
|
42
42
|
# error.
|
43
43
|
#
|
44
|
-
# @return [Symbol, Lithic::Account::State]
|
44
|
+
# @return [Symbol, Lithic::Models::Account::State]
|
45
45
|
required :state, enum: -> { Lithic::Account::State }
|
46
46
|
|
47
47
|
# @!attribute account_holder
|
48
48
|
#
|
49
|
-
# @return [Lithic::Account::AccountHolder, nil]
|
49
|
+
# @return [Lithic::Models::Account::AccountHolder, nil]
|
50
50
|
optional :account_holder, -> { Lithic::Account::AccountHolder }
|
51
51
|
|
52
52
|
# @!attribute auth_rule_tokens
|
@@ -69,30 +69,30 @@ module Lithic
|
|
69
69
|
# @!attribute verification_address
|
70
70
|
# @deprecated
|
71
71
|
#
|
72
|
-
# @return [Lithic::Account::VerificationAddress, nil]
|
72
|
+
# @return [Lithic::Models::Account::VerificationAddress, nil]
|
73
73
|
optional :verification_address, -> { Lithic::Account::VerificationAddress }
|
74
74
|
|
75
75
|
# @!method initialize(token:, created:, spend_limit:, state:, account_holder: nil, auth_rule_tokens: nil, cardholder_currency: nil, verification_address: nil)
|
76
|
-
# Some parameter documentations has been truncated, see {Lithic::Account}
|
77
|
-
# details.
|
76
|
+
# Some parameter documentations has been truncated, see {Lithic::Models::Account}
|
77
|
+
# for more details.
|
78
78
|
#
|
79
79
|
# @param token [String] Globally unique identifier for the account. This is the same as the account_toke
|
80
80
|
#
|
81
81
|
# @param created [Time, nil] Timestamp of when the account was created.
|
82
82
|
#
|
83
|
-
# @param spend_limit [Lithic::Account::SpendLimit] Spend limit information for the user containing the daily, monthly, and lifetime
|
83
|
+
# @param spend_limit [Lithic::Models::Account::SpendLimit] Spend limit information for the user containing the daily, monthly, and lifetime
|
84
84
|
#
|
85
|
-
# @param state [Symbol, Lithic::Account::State] Account state:
|
85
|
+
# @param state [Symbol, Lithic::Models::Account::State] Account state:
|
86
86
|
#
|
87
|
-
# @param account_holder [Lithic::Account::AccountHolder]
|
87
|
+
# @param account_holder [Lithic::Models::Account::AccountHolder]
|
88
88
|
#
|
89
89
|
# @param auth_rule_tokens [Array<String>] List of identifiers for the Auth Rule(s) that are applied on the account.
|
90
90
|
#
|
91
91
|
# @param cardholder_currency [String] 3-character alphabetic ISO 4217 code for the currency of the cardholder.
|
92
92
|
#
|
93
|
-
# @param verification_address [Lithic::Account::VerificationAddress]
|
93
|
+
# @param verification_address [Lithic::Models::Account::VerificationAddress]
|
94
94
|
|
95
|
-
# @see Lithic::Account#spend_limit
|
95
|
+
# @see Lithic::Models::Account#spend_limit
|
96
96
|
class SpendLimit < Lithic::Internal::Type::BaseModel
|
97
97
|
# @!attribute daily
|
98
98
|
# Daily spend limit (in cents).
|
@@ -138,7 +138,7 @@ module Lithic
|
|
138
138
|
# [support@lithic.com](mailto:support@lithic.com) if you believe this was in
|
139
139
|
# error.
|
140
140
|
#
|
141
|
-
# @see Lithic::Account#state
|
141
|
+
# @see Lithic::Models::Account#state
|
142
142
|
module State
|
143
143
|
extend Lithic::Internal::Type::Enum
|
144
144
|
|
@@ -150,7 +150,7 @@ module Lithic
|
|
150
150
|
# @return [Array<Symbol>]
|
151
151
|
end
|
152
152
|
|
153
|
-
# @see Lithic::Account#account_holder
|
153
|
+
# @see Lithic::Models::Account#account_holder
|
154
154
|
class AccountHolder < Lithic::Internal::Type::BaseModel
|
155
155
|
# @!attribute token
|
156
156
|
# Globally unique identifier for the account holder.
|
@@ -180,7 +180,7 @@ module Lithic
|
|
180
180
|
|
181
181
|
# @!method initialize(token:, business_account_token:, email:, phone_number:)
|
182
182
|
# Some parameter documentations has been truncated, see
|
183
|
-
# {Lithic::Account::AccountHolder} for more details.
|
183
|
+
# {Lithic::Models::Account::AccountHolder} for more details.
|
184
184
|
#
|
185
185
|
# @param token [String] Globally unique identifier for the account holder.
|
186
186
|
#
|
@@ -193,7 +193,7 @@ module Lithic
|
|
193
193
|
|
194
194
|
# @deprecated
|
195
195
|
#
|
196
|
-
# @see Lithic::Account#verification_address
|
196
|
+
# @see Lithic::Models::Account#verification_address
|
197
197
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
198
198
|
# @!attribute address1
|
199
199
|
# Valid deliverable address (no PO boxes).
|
@@ -236,7 +236,7 @@ module Lithic
|
|
236
236
|
|
237
237
|
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
|
238
238
|
# Some parameter documentations has been truncated, see
|
239
|
-
# {Lithic::Account::VerificationAddress} for more details.
|
239
|
+
# {Lithic::Models::Account::VerificationAddress} for more details.
|
240
240
|
#
|
241
241
|
# @param address1 [String] Valid deliverable address (no PO boxes).
|
242
242
|
#
|
@@ -27,7 +27,7 @@ module Lithic
|
|
27
27
|
#
|
28
28
|
# Deprecated.
|
29
29
|
#
|
30
|
-
# @return [Array<Lithic::AccountHolder::BeneficialOwnerEntity>, nil]
|
30
|
+
# @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>, nil]
|
31
31
|
optional :beneficial_owner_entities,
|
32
32
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::AccountHolder::BeneficialOwnerEntity] }
|
33
33
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
40
40
|
# (Section I) for more background on individuals that should be included.
|
41
41
|
#
|
42
|
-
# @return [Array<Lithic::AccountHolder::BeneficialOwnerIndividual>, nil]
|
42
|
+
# @return [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>, nil]
|
43
43
|
optional :beneficial_owner_individuals,
|
44
44
|
-> { Lithic::Internal::Type::ArrayOf[Lithic::AccountHolder::BeneficialOwnerIndividual] }
|
45
45
|
|
@@ -55,7 +55,7 @@ module Lithic
|
|
55
55
|
# Only present when user_type == "BUSINESS". Information about the business for
|
56
56
|
# which the account is being opened and KYB is being run.
|
57
57
|
#
|
58
|
-
# @return [Lithic::AccountHolder::BusinessEntity, nil]
|
58
|
+
# @return [Lithic::Models::AccountHolder::BusinessEntity, nil]
|
59
59
|
optional :business_entity, -> { Lithic::AccountHolder::BusinessEntity }
|
60
60
|
|
61
61
|
# @!attribute control_person
|
@@ -66,7 +66,7 @@ module Lithic
|
|
66
66
|
# someone who will have program-wide access to the cards that Lithic will provide.
|
67
67
|
# In some cases, this individual could also be a beneficial owner listed above.
|
68
68
|
#
|
69
|
-
# @return [Lithic::AccountHolder::ControlPerson, nil]
|
69
|
+
# @return [Lithic::Models::AccountHolder::ControlPerson, nil]
|
70
70
|
optional :control_person, -> { Lithic::AccountHolder::ControlPerson }
|
71
71
|
|
72
72
|
# @!attribute email
|
@@ -81,7 +81,7 @@ module Lithic
|
|
81
81
|
# @!attribute exemption_type
|
82
82
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
83
83
|
#
|
84
|
-
# @return [Symbol, Lithic::AccountHolder::ExemptionType, nil]
|
84
|
+
# @return [Symbol, Lithic::Models::AccountHolder::ExemptionType, nil]
|
85
85
|
optional :exemption_type, enum: -> { Lithic::AccountHolder::ExemptionType }
|
86
86
|
|
87
87
|
# @!attribute external_id
|
@@ -95,7 +95,7 @@ module Lithic
|
|
95
95
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
96
96
|
# for which the account is being opened and KYC is being run.
|
97
97
|
#
|
98
|
-
# @return [Lithic::AccountHolder::Individual, nil]
|
98
|
+
# @return [Lithic::Models::AccountHolder::Individual, nil]
|
99
99
|
optional :individual, -> { Lithic::AccountHolder::Individual }
|
100
100
|
|
101
101
|
# @!attribute nature_of_business
|
@@ -118,7 +118,7 @@ module Lithic
|
|
118
118
|
# Only present for "KYB_BASIC" workflow. A list of documents required for the
|
119
119
|
# account holder to be approved.
|
120
120
|
#
|
121
|
-
# @return [Array<Lithic::RequiredDocument>, nil]
|
121
|
+
# @return [Array<Lithic::Models::RequiredDocument>, nil]
|
122
122
|
optional :required_documents, -> { Lithic::Internal::Type::ArrayOf[Lithic::RequiredDocument] }
|
123
123
|
|
124
124
|
# @!attribute status
|
@@ -130,14 +130,14 @@ module Lithic
|
|
130
130
|
#
|
131
131
|
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
132
132
|
#
|
133
|
-
# @return [Symbol, Lithic::AccountHolder::Status, nil]
|
133
|
+
# @return [Symbol, Lithic::Models::AccountHolder::Status, nil]
|
134
134
|
optional :status, enum: -> { Lithic::AccountHolder::Status }
|
135
135
|
|
136
136
|
# @!attribute status_reasons
|
137
137
|
# <Deprecated. Use verification_application.status_reasons> Reason for the
|
138
138
|
# evaluation status.
|
139
139
|
#
|
140
|
-
# @return [Array<Symbol, Lithic::AccountHolder::StatusReason>, nil]
|
140
|
+
# @return [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>, nil]
|
141
141
|
optional :status_reasons,
|
142
142
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountHolder::StatusReason] }
|
143
143
|
|
@@ -147,13 +147,13 @@ module Lithic
|
|
147
147
|
# "control_person", "beneficial_owner_individuals", "nature_of_business", and
|
148
148
|
# "website_url" attributes will be present.
|
149
149
|
#
|
150
|
-
# @return [Symbol, Lithic::AccountHolder::UserType, nil]
|
150
|
+
# @return [Symbol, Lithic::Models::AccountHolder::UserType, nil]
|
151
151
|
optional :user_type, enum: -> { Lithic::AccountHolder::UserType }
|
152
152
|
|
153
153
|
# @!attribute verification_application
|
154
154
|
# Information about the most recent identity verification attempt
|
155
155
|
#
|
156
|
-
# @return [Lithic::AccountHolder::VerificationApplication, nil]
|
156
|
+
# @return [Lithic::Models::AccountHolder::VerificationApplication, nil]
|
157
157
|
optional :verification_application, -> { Lithic::AccountHolder::VerificationApplication }
|
158
158
|
|
159
159
|
# @!attribute website_url
|
@@ -163,8 +163,8 @@ module Lithic
|
|
163
163
|
optional :website_url, String
|
164
164
|
|
165
165
|
# @!method initialize(token:, created:, account_token: nil, beneficial_owner_entities: nil, beneficial_owner_individuals: nil, business_account_token: nil, business_entity: nil, control_person: nil, email: nil, exemption_type: nil, external_id: nil, individual: nil, nature_of_business: nil, phone_number: nil, required_documents: nil, status: nil, status_reasons: nil, user_type: nil, verification_application: nil, website_url: nil)
|
166
|
-
# Some parameter documentations has been truncated, see
|
167
|
-
# for more details.
|
166
|
+
# Some parameter documentations has been truncated, see
|
167
|
+
# {Lithic::Models::AccountHolder} for more details.
|
168
168
|
#
|
169
169
|
# @param token [String] Globally unique identifier for the account holder.
|
170
170
|
#
|
@@ -172,37 +172,37 @@ module Lithic
|
|
172
172
|
#
|
173
173
|
# @param account_token [String] Globally unique identifier for the account.
|
174
174
|
#
|
175
|
-
# @param beneficial_owner_entities [Array<Lithic::AccountHolder::BeneficialOwnerEntity>] Deprecated.
|
175
|
+
# @param beneficial_owner_entities [Array<Lithic::Models::AccountHolder::BeneficialOwnerEntity>] Deprecated.
|
176
176
|
#
|
177
|
-
# @param beneficial_owner_individuals [Array<Lithic::AccountHolder::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS".
|
177
|
+
# @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolder::BeneficialOwnerIndividual>] Only present when user_type == "BUSINESS".
|
178
178
|
#
|
179
179
|
# @param business_account_token [String] Only applicable for customers using the KYC-Exempt workflow to enroll authorized
|
180
180
|
#
|
181
|
-
# @param business_entity [Lithic::AccountHolder::BusinessEntity] Only present when user_type == "BUSINESS". Information about the business for wh
|
181
|
+
# @param business_entity [Lithic::Models::AccountHolder::BusinessEntity] Only present when user_type == "BUSINESS". Information about the business for wh
|
182
182
|
#
|
183
|
-
# @param control_person [Lithic::AccountHolder::ControlPerson] Only present when user_type == "BUSINESS".
|
183
|
+
# @param control_person [Lithic::Models::AccountHolder::ControlPerson] Only present when user_type == "BUSINESS".
|
184
184
|
#
|
185
185
|
# @param email [String] <
|
186
186
|
#
|
187
|
-
# @param exemption_type [Symbol, Lithic::AccountHolder::ExemptionType] The type of KYC exemption for a KYC-Exempt Account Holder.
|
187
|
+
# @param exemption_type [Symbol, Lithic::Models::AccountHolder::ExemptionType] The type of KYC exemption for a KYC-Exempt Account Holder.
|
188
188
|
#
|
189
189
|
# @param external_id [String] Customer-provided token that indicates a relationship with an object outside of
|
190
190
|
#
|
191
|
-
# @param individual [Lithic::AccountHolder::Individual] Only present when user_type == "INDIVIDUAL". Information about the individual fo
|
191
|
+
# @param individual [Lithic::Models::AccountHolder::Individual] Only present when user_type == "INDIVIDUAL". Information about the individual fo
|
192
192
|
#
|
193
193
|
# @param nature_of_business [String] Only present when user_type == "BUSINESS". User-submitted description of the bus
|
194
194
|
#
|
195
195
|
# @param phone_number [String] <
|
196
196
|
#
|
197
|
-
# @param required_documents [Array<Lithic::RequiredDocument>] Only present for "KYB_BASIC" workflow. A list of documents required for the acco
|
197
|
+
# @param required_documents [Array<Lithic::Models::RequiredDocument>] Only present for "KYB_BASIC" workflow. A list of documents required for the acco
|
198
198
|
#
|
199
|
-
# @param status [Symbol, Lithic::AccountHolder::Status] <Deprecated. Use verification_application.status instead>
|
199
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::Status] <Deprecated. Use verification_application.status instead>
|
200
200
|
#
|
201
|
-
# @param status_reasons [Array<Symbol, Lithic::AccountHolder::StatusReason>] <Deprecated. Use verification_application.status_reasons> Reason for the evaluat
|
201
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::StatusReason>] <Deprecated. Use verification_application.status_reasons> Reason for the evaluat
|
202
202
|
#
|
203
|
-
# @param user_type [Symbol, Lithic::AccountHolder::UserType] The type of Account Holder. If the type is "INDIVIDUAL", the "individual" attrib
|
203
|
+
# @param user_type [Symbol, Lithic::Models::AccountHolder::UserType] The type of Account Holder. If the type is "INDIVIDUAL", the "individual" attrib
|
204
204
|
#
|
205
|
-
# @param verification_application [Lithic::AccountHolder::VerificationApplication] Information about the most recent identity verification attempt
|
205
|
+
# @param verification_application [Lithic::Models::AccountHolder::VerificationApplication] Information about the most recent identity verification attempt
|
206
206
|
#
|
207
207
|
# @param website_url [String] Only present when user_type == "BUSINESS". Business's primary website.
|
208
208
|
|
@@ -211,7 +211,7 @@ module Lithic
|
|
211
211
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
212
212
|
# acceptable; APO/FPO are acceptable.
|
213
213
|
#
|
214
|
-
# @return [Lithic::Address]
|
214
|
+
# @return [Lithic::Models::Address]
|
215
215
|
required :address, -> { Lithic::Address }
|
216
216
|
|
217
217
|
# @!attribute dba_business_name
|
@@ -256,9 +256,9 @@ module Lithic
|
|
256
256
|
|
257
257
|
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
258
258
|
# Some parameter documentations has been truncated, see
|
259
|
-
# {Lithic::AccountHolder::BeneficialOwnerEntity} for more details.
|
259
|
+
# {Lithic::Models::AccountHolder::BeneficialOwnerEntity} for more details.
|
260
260
|
#
|
261
|
-
# @param address [Lithic::Address] Business's physical address - PO boxes, UPS drops, and FedEx drops are not accep
|
261
|
+
# @param address [Lithic::Models::Address] Business's physical address - PO boxes, UPS drops, and FedEx drops are not accep
|
262
262
|
#
|
263
263
|
# @param dba_business_name [String] Any name that the business operates under that is not its legal business name (i
|
264
264
|
#
|
@@ -277,7 +277,7 @@ module Lithic
|
|
277
277
|
# @!attribute address
|
278
278
|
# Individual's current address
|
279
279
|
#
|
280
|
-
# @return [Lithic::Address]
|
280
|
+
# @return [Lithic::Models::Address]
|
281
281
|
required :address, -> { Lithic::Address }
|
282
282
|
|
283
283
|
# @!attribute dob
|
@@ -321,7 +321,7 @@ module Lithic
|
|
321
321
|
# the information provided via KYC. For example, we do not return the government
|
322
322
|
# id.
|
323
323
|
#
|
324
|
-
# @param address [Lithic::Address] Individual's current address
|
324
|
+
# @param address [Lithic::Models::Address] Individual's current address
|
325
325
|
#
|
326
326
|
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
327
327
|
#
|
@@ -336,13 +336,13 @@ module Lithic
|
|
336
336
|
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
337
337
|
end
|
338
338
|
|
339
|
-
# @see Lithic::AccountHolder#business_entity
|
339
|
+
# @see Lithic::Models::AccountHolder#business_entity
|
340
340
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
341
341
|
# @!attribute address
|
342
342
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
343
343
|
# acceptable; APO/FPO are acceptable.
|
344
344
|
#
|
345
|
-
# @return [Lithic::Address]
|
345
|
+
# @return [Lithic::Models::Address]
|
346
346
|
required :address, -> { Lithic::Address }
|
347
347
|
|
348
348
|
# @!attribute dba_business_name
|
@@ -387,12 +387,12 @@ module Lithic
|
|
387
387
|
|
388
388
|
# @!method initialize(address:, dba_business_name:, entity_token:, government_id:, legal_business_name:, phone_numbers:, parent_company: nil)
|
389
389
|
# Some parameter documentations has been truncated, see
|
390
|
-
# {Lithic::AccountHolder::BusinessEntity} for more details.
|
390
|
+
# {Lithic::Models::AccountHolder::BusinessEntity} for more details.
|
391
391
|
#
|
392
392
|
# Only present when user_type == "BUSINESS". Information about the business for
|
393
393
|
# which the account is being opened and KYB is being run.
|
394
394
|
#
|
395
|
-
# @param address [Lithic::Address] Business's physical address - PO boxes, UPS drops, and FedEx drops are not accep
|
395
|
+
# @param address [Lithic::Models::Address] Business's physical address - PO boxes, UPS drops, and FedEx drops are not accep
|
396
396
|
#
|
397
397
|
# @param dba_business_name [String] Any name that the business operates under that is not its legal business name (i
|
398
398
|
#
|
@@ -407,12 +407,12 @@ module Lithic
|
|
407
407
|
# @param parent_company [String] Parent company name (if applicable).
|
408
408
|
end
|
409
409
|
|
410
|
-
# @see Lithic::AccountHolder#control_person
|
410
|
+
# @see Lithic::Models::AccountHolder#control_person
|
411
411
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
412
412
|
# @!attribute address
|
413
413
|
# Individual's current address
|
414
414
|
#
|
415
|
-
# @return [Lithic::Address]
|
415
|
+
# @return [Lithic::Models::Address]
|
416
416
|
required :address, -> { Lithic::Address }
|
417
417
|
|
418
418
|
# @!attribute dob
|
@@ -459,7 +459,7 @@ module Lithic
|
|
459
459
|
# someone who will have program-wide access to the cards that Lithic will provide.
|
460
460
|
# In some cases, this individual could also be a beneficial owner listed above.
|
461
461
|
#
|
462
|
-
# @param address [Lithic::Address] Individual's current address
|
462
|
+
# @param address [Lithic::Models::Address] Individual's current address
|
463
463
|
#
|
464
464
|
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
465
465
|
#
|
@@ -476,7 +476,7 @@ module Lithic
|
|
476
476
|
|
477
477
|
# The type of KYC exemption for a KYC-Exempt Account Holder.
|
478
478
|
#
|
479
|
-
# @see Lithic::AccountHolder#exemption_type
|
479
|
+
# @see Lithic::Models::AccountHolder#exemption_type
|
480
480
|
module ExemptionType
|
481
481
|
extend Lithic::Internal::Type::Enum
|
482
482
|
|
@@ -487,12 +487,12 @@ module Lithic
|
|
487
487
|
# @return [Array<Symbol>]
|
488
488
|
end
|
489
489
|
|
490
|
-
# @see Lithic::AccountHolder#individual
|
490
|
+
# @see Lithic::Models::AccountHolder#individual
|
491
491
|
class Individual < Lithic::Internal::Type::BaseModel
|
492
492
|
# @!attribute address
|
493
493
|
# Individual's current address
|
494
494
|
#
|
495
|
-
# @return [Lithic::Address]
|
495
|
+
# @return [Lithic::Models::Address]
|
496
496
|
required :address, -> { Lithic::Address }
|
497
497
|
|
498
498
|
# @!attribute dob
|
@@ -535,7 +535,7 @@ module Lithic
|
|
535
535
|
# Only present when user_type == "INDIVIDUAL". Information about the individual
|
536
536
|
# for which the account is being opened and KYC is being run.
|
537
537
|
#
|
538
|
-
# @param address [Lithic::Address] Individual's current address
|
538
|
+
# @param address [Lithic::Models::Address] Individual's current address
|
539
539
|
#
|
540
540
|
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
541
541
|
#
|
@@ -558,7 +558,7 @@ module Lithic
|
|
558
558
|
#
|
559
559
|
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
560
560
|
#
|
561
|
-
# @see Lithic::AccountHolder#status
|
561
|
+
# @see Lithic::Models::AccountHolder#status
|
562
562
|
module Status
|
563
563
|
extend Lithic::Internal::Type::Enum
|
564
564
|
|
@@ -596,7 +596,7 @@ module Lithic
|
|
596
596
|
# "control_person", "beneficial_owner_individuals", "nature_of_business", and
|
597
597
|
# "website_url" attributes will be present.
|
598
598
|
#
|
599
|
-
# @see Lithic::AccountHolder#user_type
|
599
|
+
# @see Lithic::Models::AccountHolder#user_type
|
600
600
|
module UserType
|
601
601
|
extend Lithic::Internal::Type::Enum
|
602
602
|
|
@@ -607,7 +607,7 @@ module Lithic
|
|
607
607
|
# @return [Array<Symbol>]
|
608
608
|
end
|
609
609
|
|
610
|
-
# @see Lithic::AccountHolder#verification_application
|
610
|
+
# @see Lithic::Models::AccountHolder#verification_application
|
611
611
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
612
612
|
# @!attribute created
|
613
613
|
# Timestamp of when the application was created.
|
@@ -622,13 +622,13 @@ module Lithic
|
|
622
622
|
#
|
623
623
|
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
624
624
|
#
|
625
|
-
# @return [Symbol, Lithic::AccountHolder::VerificationApplication::Status, nil]
|
625
|
+
# @return [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status, nil]
|
626
626
|
optional :status, enum: -> { Lithic::AccountHolder::VerificationApplication::Status }
|
627
627
|
|
628
628
|
# @!attribute status_reasons
|
629
629
|
# Reason for the evaluation status.
|
630
630
|
#
|
631
|
-
# @return [Array<Symbol, Lithic::AccountHolder::VerificationApplication::StatusReason>, nil]
|
631
|
+
# @return [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>, nil]
|
632
632
|
optional :status_reasons,
|
633
633
|
-> {
|
634
634
|
Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountHolder::VerificationApplication::StatusReason]
|
@@ -642,15 +642,15 @@ module Lithic
|
|
642
642
|
|
643
643
|
# @!method initialize(created: nil, status: nil, status_reasons: nil, updated: nil)
|
644
644
|
# Some parameter documentations has been truncated, see
|
645
|
-
# {Lithic::AccountHolder::VerificationApplication} for more details.
|
645
|
+
# {Lithic::Models::AccountHolder::VerificationApplication} for more details.
|
646
646
|
#
|
647
647
|
# Information about the most recent identity verification attempt
|
648
648
|
#
|
649
649
|
# @param created [Time] Timestamp of when the application was created.
|
650
650
|
#
|
651
|
-
# @param status [Symbol, Lithic::AccountHolder::VerificationApplication::Status] KYC and KYB evaluation states.
|
651
|
+
# @param status [Symbol, Lithic::Models::AccountHolder::VerificationApplication::Status] KYC and KYB evaluation states.
|
652
652
|
#
|
653
|
-
# @param status_reasons [Array<Symbol, Lithic::AccountHolder::VerificationApplication::StatusReason>] Reason for the evaluation status.
|
653
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::AccountHolder::VerificationApplication::StatusReason>] Reason for the evaluation status.
|
654
654
|
#
|
655
655
|
# @param updated [Time] Timestamp of when the application was last updated.
|
656
656
|
|
@@ -660,7 +660,7 @@ module Lithic
|
|
660
660
|
#
|
661
661
|
# - `PENDING_REVIEW` is only applicable for the `KYB_BASIC` workflow.
|
662
662
|
#
|
663
|
-
# @see Lithic::AccountHolder::VerificationApplication#status
|
663
|
+
# @see Lithic::Models::AccountHolder::VerificationApplication#status
|
664
664
|
module Status
|
665
665
|
extend Lithic::Internal::Type::Enum
|
666
666
|
|