lithic 0.1.0.pre.alpha.23 → 0.1.0.pre.alpha.24
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 +21 -0
- data/README.md +2 -2
- data/lib/lithic/errors.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +77 -5
- data/lib/lithic/internal/transport/pooled_net_requester.rb +14 -0
- data/lib/lithic/internal/type/array_of.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +62 -30
- data/lib/lithic/internal/type/converter.rb +18 -0
- data/lib/lithic/internal/type/enum.rb +1 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -1
- data/lib/lithic/internal/type/union.rb +1 -0
- data/lib/lithic/internal/util.rb +56 -0
- data/lib/lithic/internal.rb +6 -0
- data/lib/lithic/models/account_holder_update_response.rb +9 -0
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +4 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +10 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +10 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +20 -0
- data/lib/lithic/models/auth_rules/v2_update_response.rb +20 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -0
- data/lib/lithic/models/card_list_params.rb +9 -1
- data/lib/lithic/models/event.rb +1 -0
- data/lib/lithic/models/event_list_params.rb +1 -0
- data/lib/lithic/models/event_subscription.rb +1 -0
- data/lib/lithic/models/events/subscription_create_params.rb +1 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +10 -1
- data/lib/lithic/models/transaction.rb +65 -9
- data/lib/lithic/models.rb +27 -0
- data/lib/lithic/request_options.rb +4 -0
- data/lib/lithic/resources/cards.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/internal/transport/base_client.rbi +31 -13
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +5 -5
- data/rbi/lithic/internal/type/base_model.rbi +31 -15
- data/rbi/lithic/internal/type/base_page.rbi +1 -2
- data/rbi/lithic/internal/type/converter.rbi +2 -0
- data/rbi/lithic/internal/type/enum.rbi +1 -0
- data/rbi/lithic/internal/type/union.rbi +1 -0
- data/rbi/lithic/internal/util.rbi +28 -5
- data/rbi/lithic/internal.rbi +2 -0
- data/rbi/lithic/models/account.rbi +17 -4
- data/rbi/lithic/models/account_holder.rbi +41 -7
- data/rbi/lithic/models/account_holder_create_params.rbi +39 -6
- data/rbi/lithic/models/account_holder_create_response.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_documents_response.rbi +7 -1
- data/rbi/lithic/models/account_holder_list_params.rbi +4 -1
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +7 -1
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +53 -8
- data/rbi/lithic/models/account_holder_update_params.rbi +39 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +62 -10
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +7 -1
- data/rbi/lithic/models/account_list_params.rbi +4 -1
- data/rbi/lithic/models/account_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +7 -1
- data/rbi/lithic/models/account_spend_limits.rbi +25 -4
- data/rbi/lithic/models/account_update_params.rbi +11 -2
- data/rbi/lithic/models/address.rbi +2 -1
- data/rbi/lithic/models/address_update.rbi +2 -1
- data/rbi/lithic/models/aggregate_balance.rbi +4 -1
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +4 -1
- data/rbi/lithic/models/api_status.rbi +2 -1
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +4 -1
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +7 -1
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_create_response.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +42 -7
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +16 -3
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +16 -3
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_report_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_report_response.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +4 -1
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +43 -7
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +13 -2
- data/rbi/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/auth_stream_secret.rbi +4 -1
- data/rbi/lithic/models/balance.rbi +2 -1
- data/rbi/lithic/models/balance_list_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_create_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_list_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_response.rbi +11 -2
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +4 -1
- data/rbi/lithic/models/card.rbi +1 -1
- data/rbi/lithic/models/card_convert_physical_params.rbi +4 -1
- data/rbi/lithic/models/card_create_params.rbi +4 -1
- data/rbi/lithic/models/card_embed_params.rbi +4 -1
- data/rbi/lithic/models/card_list_params.rbi +15 -1
- data/rbi/lithic/models/card_program.rbi +2 -1
- data/rbi/lithic/models/card_program_list_params.rbi +4 -1
- data/rbi/lithic/models/card_program_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/card_provision_params.rbi +4 -1
- data/rbi/lithic/models/card_provision_response.rbi +7 -1
- data/rbi/lithic/models/card_reissue_params.rbi +4 -1
- data/rbi/lithic/models/card_renew_params.rbi +4 -1
- data/rbi/lithic/models/card_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +7 -1
- data/rbi/lithic/models/card_search_by_pan_params.rbi +4 -1
- data/rbi/lithic/models/card_spend_limits.rbi +25 -4
- data/rbi/lithic/models/card_update_params.rbi +4 -1
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +7 -1
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +7 -1
- data/rbi/lithic/models/cards/balance_list_params.rbi +4 -1
- data/rbi/lithic/models/cards/balance_list_response.rbi +7 -1
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +7 -1
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/carrier.rbi +2 -1
- data/rbi/lithic/models/client_api_status_params.rbi +4 -1
- data/rbi/lithic/models/credit_products/extended_credit.rbi +7 -1
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_response.rbi +13 -2
- data/rbi/lithic/models/digital_card_art.rbi +4 -1
- data/rbi/lithic/models/digital_card_art_list_params.rbi +4 -1
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/dispute.rbi +2 -1
- data/rbi/lithic/models/dispute_create_params.rbi +4 -1
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +4 -1
- data/rbi/lithic/models/dispute_delete_params.rbi +4 -1
- data/rbi/lithic/models/dispute_evidence.rbi +4 -1
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +7 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +4 -1
- data/rbi/lithic/models/dispute_list_params.rbi +4 -1
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +7 -1
- data/rbi/lithic/models/dispute_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/dispute_update_params.rbi +4 -1
- data/rbi/lithic/models/document.rbi +9 -2
- data/rbi/lithic/models/event.rbi +6 -1
- data/rbi/lithic/models/event_list_attempts_params.rbi +4 -1
- data/rbi/lithic/models/event_list_params.rbi +9 -1
- data/rbi/lithic/models/event_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/event_subscription.rbi +9 -1
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_create_params.rbi +12 -1
- data/rbi/lithic/models/events/subscription_delete_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_list_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_recover_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_retrieve_secret_response.rbi +7 -1
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +12 -1
- data/rbi/lithic/models/events/subscription_update_params.rbi +12 -1
- data/rbi/lithic/models/external_bank_account_address.rbi +4 -1
- data/rbi/lithic/models/external_bank_account_create_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_create_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_list_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_list_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_update_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_account_update_response.rbi +7 -1
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +7 -1
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +7 -1
- data/rbi/lithic/models/external_payment.rbi +8 -2
- data/rbi/lithic/models/external_payment_cancel_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_create_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_list_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/external_payment_reverse_params.rbi +4 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +4 -1
- data/rbi/lithic/models/financial_account.rbi +11 -2
- data/rbi/lithic/models/financial_account_create_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_list_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_account_update_params.rbi +4 -1
- data/rbi/lithic/models/financial_account_update_status_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +109 -18
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statement.rbi +61 -10
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +6 -1
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +17 -2
- data/rbi/lithic/models/financial_accounts/statements.rbi +7 -1
- data/rbi/lithic/models/financial_transaction.rbi +11 -2
- data/rbi/lithic/models/kyb.rbi +20 -5
- data/rbi/lithic/models/kyb_business_entity.rbi +8 -2
- data/rbi/lithic/models/kyc.rbi +5 -2
- data/rbi/lithic/models/kyc_exempt.rbi +2 -1
- data/rbi/lithic/models/management_operation_create_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_list_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_reverse_params.rbi +7 -1
- data/rbi/lithic/models/management_operation_transaction.rbi +21 -3
- data/rbi/lithic/models/message_attempt.rbi +4 -1
- data/rbi/lithic/models/non_pci_card.rbi +6 -2
- data/rbi/lithic/models/payment.rbi +10 -3
- data/rbi/lithic/models/payment_create_params.rbi +11 -2
- data/rbi/lithic/models/payment_create_response.rbi +7 -1
- data/rbi/lithic/models/payment_list_params.rbi +4 -1
- data/rbi/lithic/models/payment_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/payment_retry_params.rbi +4 -1
- data/rbi/lithic/models/payment_retry_response.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_action_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_action_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_receipt_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_receipt_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_release_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_release_response.rbi +7 -1
- data/rbi/lithic/models/payment_simulate_return_params.rbi +4 -1
- data/rbi/lithic/models/payment_simulate_return_response.rbi +7 -1
- data/rbi/lithic/models/reports/settlement/network_total_list_params.rbi +6 -1
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +12 -2
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -2
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +7 -1
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +7 -1
- data/rbi/lithic/models/required_document.rbi +4 -1
- data/rbi/lithic/models/responder_endpoint_check_status_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_create_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_create_response.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_delete_params.rbi +7 -1
- data/rbi/lithic/models/responder_endpoint_status.rbi +4 -1
- data/rbi/lithic/models/settlement_detail.rbi +11 -2
- data/rbi/lithic/models/settlement_report.rbi +4 -1
- data/rbi/lithic/models/settlement_summary_details.rbi +4 -1
- data/rbi/lithic/models/shipping_address.rbi +4 -1
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +77 -11
- data/rbi/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/authentication_simulate_params.rbi +19 -3
- data/rbi/lithic/models/three_ds/authentication_simulate_response.rbi +7 -1
- data/rbi/lithic/models/three_ds/challenge_response.rbi +4 -1
- data/rbi/lithic/models/three_ds/decisioning_challenge_response_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +7 -1
- data/rbi/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization.rbi +6 -2
- data/rbi/lithic/models/tokenization_activate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_list_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_pause_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_secret.rbi +4 -1
- data/rbi/lithic/models/tokenization_simulate_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_simulate_response.rbi +7 -1
- data/rbi/lithic/models/tokenization_unpause_params.rbi +4 -1
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +7 -1
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +7 -1
- data/rbi/lithic/models/transaction.rbi +293 -40
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_list_params.rbi +4 -1
- data/rbi/lithic/models/transaction_retrieve_params.rbi +4 -1
- data/rbi/lithic/models/transaction_simulate_authorization_advice_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_advice_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_authorization_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_clearing_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_credit_authorization_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_credit_authorization_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_reversal_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_return_reversal_response.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_void_params.rbi +7 -1
- data/rbi/lithic/models/transaction_simulate_void_response.rbi +7 -1
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +7 -1
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +7 -1
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +6 -1
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +42 -7
- data/rbi/lithic/models/transfer.rbi +6 -2
- data/rbi/lithic/models/transfer_create_params.rbi +4 -1
- data/rbi/lithic/request_options.rbi +2 -1
- data/rbi/lithic/resources/cards.rbi +3 -0
- data/sig/lithic/internal/transport/base_client.rbs +16 -1
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +11 -5
- data/sig/lithic/internal/type/base_page.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +2 -0
- data/sig/lithic/internal/type/enum.rbs +1 -0
- data/sig/lithic/internal/type/union.rbs +1 -0
- data/sig/lithic/internal/util.rbs +13 -0
- data/sig/lithic/internal.rbs +2 -0
- data/sig/lithic/models/card_list_params.rbs +6 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +4 -0
- data/sig/lithic/models/transaction.rbs +43 -3
- data/sig/lithic/resources/cards.rbs +1 -0
- metadata +2 -2
@@ -5,7 +5,9 @@ module Lithic
|
|
5
5
|
module Transport
|
6
6
|
# @api private
|
7
7
|
class PooledNetRequester
|
8
|
-
|
8
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
9
|
+
|
10
|
+
Request =
|
9
11
|
T.type_alias do
|
10
12
|
{
|
11
13
|
method: Symbol,
|
@@ -34,8 +36,7 @@ module Lithic
|
|
34
36
|
# @api private
|
35
37
|
sig do
|
36
38
|
params(
|
37
|
-
request:
|
38
|
-
Lithic::Internal::Transport::PooledNetRequester::RequestShape,
|
39
|
+
request: Lithic::Internal::Transport::PooledNetRequester::Request,
|
39
40
|
blk: T.proc.params(arg0: String).void
|
40
41
|
).returns([Net::HTTPGenericRequest, T.proc.void])
|
41
42
|
end
|
@@ -57,8 +58,7 @@ module Lithic
|
|
57
58
|
# @api private
|
58
59
|
sig do
|
59
60
|
params(
|
60
|
-
request:
|
61
|
-
Lithic::Internal::Transport::PooledNetRequester::RequestShape
|
61
|
+
request: Lithic::Internal::Transport::PooledNetRequester::Request
|
62
62
|
).returns([Integer, Net::HTTPResponse, T::Enumerable[String]])
|
63
63
|
end
|
64
64
|
def execute(request)
|
@@ -5,10 +5,11 @@ module Lithic
|
|
5
5
|
module Type
|
6
6
|
class BaseModel
|
7
7
|
extend Lithic::Internal::Type::Converter
|
8
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
8
9
|
|
9
10
|
abstract!
|
10
11
|
|
11
|
-
|
12
|
+
KnownField =
|
12
13
|
T.type_alias do
|
13
14
|
{
|
14
15
|
mode: T.nilable(Symbol),
|
@@ -17,19 +18,27 @@ module Lithic
|
|
17
18
|
}
|
18
19
|
end
|
19
20
|
|
20
|
-
OrHash =
|
21
|
+
OrHash =
|
22
|
+
T.type_alias do
|
23
|
+
T.any(Lithic::Internal::Type::BaseModel, Lithic::Internal::AnyHash)
|
24
|
+
end
|
21
25
|
|
22
26
|
class << self
|
23
27
|
# @api private
|
24
28
|
#
|
25
29
|
# Assumes superclass fields are totally defined before fields are accessed /
|
26
30
|
# defined on subclasses.
|
31
|
+
sig { params(child: T.self_type).void }
|
32
|
+
def inherited(child)
|
33
|
+
end
|
34
|
+
|
35
|
+
# @api private
|
27
36
|
sig do
|
28
37
|
returns(
|
29
38
|
T::Hash[
|
30
39
|
Symbol,
|
31
40
|
T.all(
|
32
|
-
Lithic::Internal::Type::BaseModel::
|
41
|
+
Lithic::Internal::Type::BaseModel::KnownField,
|
33
42
|
{
|
34
43
|
type_fn:
|
35
44
|
T.proc.returns(Lithic::Internal::Type::Converter::Input)
|
@@ -47,7 +56,7 @@ module Lithic
|
|
47
56
|
T::Hash[
|
48
57
|
Symbol,
|
49
58
|
T.all(
|
50
|
-
Lithic::Internal::Type::BaseModel::
|
59
|
+
Lithic::Internal::Type::BaseModel::KnownField,
|
51
60
|
{ type: Lithic::Internal::Type::Converter::Input }
|
52
61
|
)
|
53
62
|
]
|
@@ -183,6 +192,18 @@ module Lithic
|
|
183
192
|
end
|
184
193
|
end
|
185
194
|
|
195
|
+
class << self
|
196
|
+
# @api private
|
197
|
+
sig do
|
198
|
+
params(
|
199
|
+
model: Lithic::Internal::Type::BaseModel,
|
200
|
+
convert: T::Boolean
|
201
|
+
).returns(Lithic::Internal::AnyHash)
|
202
|
+
end
|
203
|
+
def recursively_to_h(model, convert:)
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
186
207
|
# Returns the raw value associated with the given key, if found. Otherwise, nil is
|
187
208
|
# returned.
|
188
209
|
#
|
@@ -217,6 +238,12 @@ module Lithic
|
|
217
238
|
def to_hash
|
218
239
|
end
|
219
240
|
|
241
|
+
# In addition to the behaviour of `#to_h`, this method will recursively call
|
242
|
+
# `#to_h` on nested models.
|
243
|
+
sig { overridable.returns(Lithic::Internal::AnyHash) }
|
244
|
+
def deep_to_h
|
245
|
+
end
|
246
|
+
|
220
247
|
sig do
|
221
248
|
params(keys: T.nilable(T::Array[Symbol])).returns(
|
222
249
|
Lithic::Internal::AnyHash
|
@@ -225,17 +252,6 @@ module Lithic
|
|
225
252
|
def deconstruct_keys(keys)
|
226
253
|
end
|
227
254
|
|
228
|
-
class << self
|
229
|
-
# @api private
|
230
|
-
sig do
|
231
|
-
params(model: Lithic::Internal::Type::BaseModel).returns(
|
232
|
-
Lithic::Internal::AnyHash
|
233
|
-
)
|
234
|
-
end
|
235
|
-
def walk(model)
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
255
|
sig { params(a: T.anything).returns(String) }
|
240
256
|
def to_json(*a)
|
241
257
|
end
|
@@ -29,8 +29,7 @@ module Lithic
|
|
29
29
|
sig do
|
30
30
|
params(
|
31
31
|
client: Lithic::Internal::Transport::BaseClient,
|
32
|
-
req:
|
33
|
-
Lithic::Internal::Transport::BaseClient::RequestComponentsShape,
|
32
|
+
req: Lithic::Internal::Transport::BaseClient::RequestComponents,
|
34
33
|
headers: T.any(T::Hash[String, String], Net::HTTPHeader),
|
35
34
|
page_data: T.anything
|
36
35
|
).void
|
@@ -4,6 +4,8 @@ module Lithic
|
|
4
4
|
module Internal
|
5
5
|
# @api private
|
6
6
|
module Util
|
7
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
8
|
+
|
7
9
|
# @api private
|
8
10
|
sig { returns(Float) }
|
9
11
|
def self.monotonic_secs
|
@@ -172,7 +174,7 @@ module Lithic
|
|
172
174
|
end
|
173
175
|
end
|
174
176
|
|
175
|
-
|
177
|
+
ParsedUri =
|
176
178
|
T.type_alias do
|
177
179
|
{
|
178
180
|
scheme: T.nilable(String),
|
@@ -187,7 +189,7 @@ module Lithic
|
|
187
189
|
# @api private
|
188
190
|
sig do
|
189
191
|
params(url: T.any(URI::Generic, String)).returns(
|
190
|
-
Lithic::Internal::Util::
|
192
|
+
Lithic::Internal::Util::ParsedUri
|
191
193
|
)
|
192
194
|
end
|
193
195
|
def parse_uri(url)
|
@@ -195,7 +197,7 @@ module Lithic
|
|
195
197
|
|
196
198
|
# @api private
|
197
199
|
sig do
|
198
|
-
params(parsed: Lithic::Internal::Util::
|
200
|
+
params(parsed: Lithic::Internal::Util::ParsedUri).returns(
|
199
201
|
URI::Generic
|
200
202
|
)
|
201
203
|
end
|
@@ -205,8 +207,8 @@ module Lithic
|
|
205
207
|
# @api private
|
206
208
|
sig do
|
207
209
|
params(
|
208
|
-
lhs: Lithic::Internal::Util::
|
209
|
-
rhs: Lithic::Internal::Util::
|
210
|
+
lhs: Lithic::Internal::Util::ParsedUri,
|
211
|
+
rhs: Lithic::Internal::Util::ParsedUri
|
210
212
|
).returns(URI::Generic)
|
211
213
|
end
|
212
214
|
def join_parsed_uri(lhs, rhs)
|
@@ -423,6 +425,27 @@ module Lithic
|
|
423
425
|
def decode_sse(lines)
|
424
426
|
end
|
425
427
|
end
|
428
|
+
|
429
|
+
# @api private
|
430
|
+
module SorbetRuntimeSupport
|
431
|
+
class MissingSorbetRuntimeError < ::RuntimeError
|
432
|
+
end
|
433
|
+
|
434
|
+
# @api private
|
435
|
+
sig { returns(T::Hash[Symbol, T.anything]) }
|
436
|
+
private def sorbet_runtime_constants
|
437
|
+
end
|
438
|
+
|
439
|
+
# @api private
|
440
|
+
sig { params(name: Symbol).void }
|
441
|
+
def const_missing(name)
|
442
|
+
end
|
443
|
+
|
444
|
+
# @api private
|
445
|
+
sig { params(name: Symbol, blk: T.proc.returns(T.anything)).void }
|
446
|
+
def define_sorbet_constant!(name, &blk)
|
447
|
+
end
|
448
|
+
end
|
426
449
|
end
|
427
450
|
end
|
428
451
|
end
|
data/rbi/lithic/internal.rbi
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
module Lithic
|
4
4
|
module Internal
|
5
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
6
|
+
|
5
7
|
# Due to the current WIP status of Shapes support in Sorbet, types referencing
|
6
8
|
# this alias might be refined in the future.
|
7
9
|
AnyHash = T.type_alias { T::Hash[Symbol, T.anything] }
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class Account < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::Account, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Globally unique identifier for the account. This is the same as the
|
9
10
|
# account_token returned by the enroll endpoint. If using this parameter, do not
|
@@ -142,7 +143,10 @@ module Lithic
|
|
142
143
|
end
|
143
144
|
|
144
145
|
class SpendLimit < Lithic::Internal::Type::BaseModel
|
145
|
-
OrHash =
|
146
|
+
OrHash =
|
147
|
+
T.type_alias do
|
148
|
+
T.any(Lithic::Account::SpendLimit, Lithic::Internal::AnyHash)
|
149
|
+
end
|
146
150
|
|
147
151
|
# Daily spend limit (in cents).
|
148
152
|
sig { returns(Integer) }
|
@@ -212,7 +216,10 @@ module Lithic
|
|
212
216
|
end
|
213
217
|
|
214
218
|
class AccountHolder < Lithic::Internal::Type::BaseModel
|
215
|
-
OrHash =
|
219
|
+
OrHash =
|
220
|
+
T.type_alias do
|
221
|
+
T.any(Lithic::Account::AccountHolder, Lithic::Internal::AnyHash)
|
222
|
+
end
|
216
223
|
|
217
224
|
# Globally unique identifier for the account holder.
|
218
225
|
sig { returns(String) }
|
@@ -269,7 +276,13 @@ module Lithic
|
|
269
276
|
end
|
270
277
|
|
271
278
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
272
|
-
OrHash =
|
279
|
+
OrHash =
|
280
|
+
T.type_alias do
|
281
|
+
T.any(
|
282
|
+
Lithic::Account::VerificationAddress,
|
283
|
+
Lithic::Internal::AnyHash
|
284
|
+
)
|
285
|
+
end
|
273
286
|
|
274
287
|
# Valid deliverable address (no PO boxes).
|
275
288
|
sig { returns(String) }
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AccountHolder < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::AccountHolder, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Globally unique identifier for the account holder.
|
9
10
|
sig { returns(String) }
|
@@ -361,7 +362,13 @@ module Lithic
|
|
361
362
|
end
|
362
363
|
|
363
364
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
364
|
-
OrHash =
|
365
|
+
OrHash =
|
366
|
+
T.type_alias do
|
367
|
+
T.any(
|
368
|
+
Lithic::AccountHolder::BeneficialOwnerEntity,
|
369
|
+
Lithic::Internal::AnyHash
|
370
|
+
)
|
371
|
+
end
|
365
372
|
|
366
373
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
367
374
|
# acceptable; APO/FPO are acceptable.
|
@@ -454,7 +461,13 @@ module Lithic
|
|
454
461
|
end
|
455
462
|
|
456
463
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
457
|
-
OrHash =
|
464
|
+
OrHash =
|
465
|
+
T.type_alias do
|
466
|
+
T.any(
|
467
|
+
Lithic::AccountHolder::BeneficialOwnerIndividual,
|
468
|
+
Lithic::Internal::AnyHash
|
469
|
+
)
|
470
|
+
end
|
458
471
|
|
459
472
|
# Individual's current address
|
460
473
|
sig { returns(Lithic::Address) }
|
@@ -537,7 +550,13 @@ module Lithic
|
|
537
550
|
end
|
538
551
|
|
539
552
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
540
|
-
OrHash =
|
553
|
+
OrHash =
|
554
|
+
T.type_alias do
|
555
|
+
T.any(
|
556
|
+
Lithic::AccountHolder::BusinessEntity,
|
557
|
+
Lithic::Internal::AnyHash
|
558
|
+
)
|
559
|
+
end
|
541
560
|
|
542
561
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
543
562
|
# acceptable; APO/FPO are acceptable.
|
@@ -632,7 +651,13 @@ module Lithic
|
|
632
651
|
end
|
633
652
|
|
634
653
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
635
|
-
OrHash =
|
654
|
+
OrHash =
|
655
|
+
T.type_alias do
|
656
|
+
T.any(
|
657
|
+
Lithic::AccountHolder::ControlPerson,
|
658
|
+
Lithic::Internal::AnyHash
|
659
|
+
)
|
660
|
+
end
|
636
661
|
|
637
662
|
# Individual's current address
|
638
663
|
sig { returns(Lithic::Address) }
|
@@ -746,7 +771,10 @@ module Lithic
|
|
746
771
|
end
|
747
772
|
|
748
773
|
class Individual < Lithic::Internal::Type::BaseModel
|
749
|
-
OrHash =
|
774
|
+
OrHash =
|
775
|
+
T.type_alias do
|
776
|
+
T.any(Lithic::AccountHolder::Individual, Lithic::Internal::AnyHash)
|
777
|
+
end
|
750
778
|
|
751
779
|
# Individual's current address
|
752
780
|
sig { returns(Lithic::Address) }
|
@@ -957,7 +985,13 @@ module Lithic
|
|
957
985
|
end
|
958
986
|
|
959
987
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
960
|
-
OrHash =
|
988
|
+
OrHash =
|
989
|
+
T.type_alias do
|
990
|
+
T.any(
|
991
|
+
Lithic::AccountHolder::VerificationApplication,
|
992
|
+
Lithic::Internal::AnyHash
|
993
|
+
)
|
994
|
+
end
|
961
995
|
|
962
996
|
# Timestamp of when the application was created.
|
963
997
|
sig { returns(T.nilable(Time)) }
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::AccountHolderCreateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# You must submit a list of all direct and indirect individuals with 25% or more
|
12
15
|
# ownership in the company. A maximum of 4 beneficial owners can be submitted. If
|
@@ -314,7 +317,13 @@ module Lithic
|
|
314
317
|
end
|
315
318
|
|
316
319
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
317
|
-
OrHash =
|
320
|
+
OrHash =
|
321
|
+
T.type_alias do
|
322
|
+
T.any(
|
323
|
+
Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual,
|
324
|
+
Lithic::Internal::AnyHash
|
325
|
+
)
|
326
|
+
end
|
318
327
|
|
319
328
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
320
329
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -408,7 +417,13 @@ module Lithic
|
|
408
417
|
end
|
409
418
|
|
410
419
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
411
|
-
OrHash =
|
420
|
+
OrHash =
|
421
|
+
T.type_alias do
|
422
|
+
T.any(
|
423
|
+
Lithic::AccountHolderCreateParams::BusinessEntity,
|
424
|
+
Lithic::Internal::AnyHash
|
425
|
+
)
|
426
|
+
end
|
412
427
|
|
413
428
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
414
429
|
# acceptable; APO/FPO are acceptable.
|
@@ -498,7 +513,13 @@ module Lithic
|
|
498
513
|
end
|
499
514
|
|
500
515
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
501
|
-
OrHash =
|
516
|
+
OrHash =
|
517
|
+
T.type_alias do
|
518
|
+
T.any(
|
519
|
+
Lithic::AccountHolderCreateParams::ControlPerson,
|
520
|
+
Lithic::Internal::AnyHash
|
521
|
+
)
|
522
|
+
end
|
502
523
|
|
503
524
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
504
525
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -624,7 +645,13 @@ module Lithic
|
|
624
645
|
end
|
625
646
|
|
626
647
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
627
|
-
OrHash =
|
648
|
+
OrHash =
|
649
|
+
T.type_alias do
|
650
|
+
T.any(
|
651
|
+
Lithic::AccountHolderCreateParams::BeneficialOwnerEntity,
|
652
|
+
Lithic::Internal::AnyHash
|
653
|
+
)
|
654
|
+
end
|
628
655
|
|
629
656
|
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
630
657
|
# acceptable; APO/FPO are acceptable.
|
@@ -712,7 +739,13 @@ module Lithic
|
|
712
739
|
end
|
713
740
|
|
714
741
|
class Individual < Lithic::Internal::Type::BaseModel
|
715
|
-
OrHash =
|
742
|
+
OrHash =
|
743
|
+
T.type_alias do
|
744
|
+
T.any(
|
745
|
+
Lithic::AccountHolderCreateParams::Individual,
|
746
|
+
Lithic::Internal::AnyHash
|
747
|
+
)
|
748
|
+
end
|
716
749
|
|
717
750
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
718
751
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AccountHolderCreateResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::AccountHolderCreateResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Globally unique identifier for the account holder.
|
9
15
|
sig { returns(String) }
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::AccountHolderListDocumentsParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig do
|
12
18
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AccountHolderListDocumentsResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::AccountHolderListDocumentsResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
sig { returns(T.nilable(T::Array[Lithic::Document])) }
|
9
15
|
attr_reader :data
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::AccountHolderListParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
12
15
|
# will be included. UTC time zone.
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::AccountHolderRetrieveDocumentParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig { returns(String) }
|
12
18
|
attr_accessor :account_holder_token
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::AccountHolderRetrieveParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig do
|
12
15
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::AccountHolderSimulateEnrollmentDocumentReviewParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The account holder document upload which to perform the simulation upon.
|
12
18
|
sig { returns(String) }
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
7
7
|
include Lithic::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::AccountHolderSimulateEnrollmentReviewParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The account holder which to perform the simulation upon.
|
12
18
|
sig { returns(T.nilable(String)) }
|