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
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AccountHolderSimulateEnrollmentReviewResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# Globally unique identifier for the account holder.
|
9
15
|
sig { returns(T.nilable(String)) }
|
@@ -452,7 +458,13 @@ module Lithic
|
|
452
458
|
end
|
453
459
|
|
454
460
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
455
|
-
OrHash =
|
461
|
+
OrHash =
|
462
|
+
T.type_alias do
|
463
|
+
T.any(
|
464
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual,
|
465
|
+
Lithic::Internal::AnyHash
|
466
|
+
)
|
467
|
+
end
|
456
468
|
|
457
469
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
458
470
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -557,7 +569,12 @@ module Lithic
|
|
557
569
|
|
558
570
|
class Address < Lithic::Internal::Type::BaseModel
|
559
571
|
OrHash =
|
560
|
-
T.type_alias
|
572
|
+
T.type_alias do
|
573
|
+
T.any(
|
574
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual::Address,
|
575
|
+
Lithic::Internal::AnyHash
|
576
|
+
)
|
577
|
+
end
|
561
578
|
|
562
579
|
# Valid deliverable address (no PO boxes).
|
563
580
|
sig { returns(String) }
|
@@ -638,7 +655,13 @@ module Lithic
|
|
638
655
|
end
|
639
656
|
|
640
657
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
641
|
-
OrHash =
|
658
|
+
OrHash =
|
659
|
+
T.type_alias do
|
660
|
+
T.any(
|
661
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
|
662
|
+
Lithic::Internal::AnyHash
|
663
|
+
)
|
664
|
+
end
|
642
665
|
|
643
666
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
644
667
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -754,7 +777,12 @@ module Lithic
|
|
754
777
|
|
755
778
|
class Address < Lithic::Internal::Type::BaseModel
|
756
779
|
OrHash =
|
757
|
-
T.type_alias
|
780
|
+
T.type_alias do
|
781
|
+
T.any(
|
782
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::Address,
|
783
|
+
Lithic::Internal::AnyHash
|
784
|
+
)
|
785
|
+
end
|
758
786
|
|
759
787
|
# Valid deliverable address (no PO boxes).
|
760
788
|
sig { returns(String) }
|
@@ -871,7 +899,13 @@ module Lithic
|
|
871
899
|
end
|
872
900
|
|
873
901
|
class Individual < Lithic::Internal::Type::BaseModel
|
874
|
-
OrHash =
|
902
|
+
OrHash =
|
903
|
+
T.type_alias do
|
904
|
+
T.any(
|
905
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual,
|
906
|
+
Lithic::Internal::AnyHash
|
907
|
+
)
|
908
|
+
end
|
875
909
|
|
876
910
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
877
911
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -978,7 +1012,12 @@ module Lithic
|
|
978
1012
|
|
979
1013
|
class Address < Lithic::Internal::Type::BaseModel
|
980
1014
|
OrHash =
|
981
|
-
T.type_alias
|
1015
|
+
T.type_alias do
|
1016
|
+
T.any(
|
1017
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::Individual::Address,
|
1018
|
+
Lithic::Internal::AnyHash
|
1019
|
+
)
|
1020
|
+
end
|
982
1021
|
|
983
1022
|
# Valid deliverable address (no PO boxes).
|
984
1023
|
sig { returns(String) }
|
@@ -1294,7 +1333,13 @@ module Lithic
|
|
1294
1333
|
end
|
1295
1334
|
|
1296
1335
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
1297
|
-
OrHash =
|
1336
|
+
OrHash =
|
1337
|
+
T.type_alias do
|
1338
|
+
T.any(
|
1339
|
+
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication,
|
1340
|
+
Lithic::Internal::AnyHash
|
1341
|
+
)
|
1342
|
+
end
|
1298
1343
|
|
1299
1344
|
# Timestamp of when the application was created.
|
1300
1345
|
sig { returns(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::AccountHolderUpdateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Deprecated.
|
12
15
|
sig do
|
@@ -296,7 +299,13 @@ module Lithic
|
|
296
299
|
end
|
297
300
|
|
298
301
|
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
299
|
-
OrHash =
|
302
|
+
OrHash =
|
303
|
+
T.type_alias do
|
304
|
+
T.any(
|
305
|
+
Lithic::AccountHolderUpdateParams::BeneficialOwnerEntity,
|
306
|
+
Lithic::Internal::AnyHash
|
307
|
+
)
|
308
|
+
end
|
300
309
|
|
301
310
|
# Globally unique identifier for an entity.
|
302
311
|
sig { returns(String) }
|
@@ -401,7 +410,13 @@ module Lithic
|
|
401
410
|
end
|
402
411
|
|
403
412
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
404
|
-
OrHash =
|
413
|
+
OrHash =
|
414
|
+
T.type_alias do
|
415
|
+
T.any(
|
416
|
+
Lithic::AccountHolderUpdateParams::BeneficialOwnerIndividual,
|
417
|
+
Lithic::Internal::AnyHash
|
418
|
+
)
|
419
|
+
end
|
405
420
|
|
406
421
|
# Globally unique identifier for an entity.
|
407
422
|
sig { returns(String) }
|
@@ -518,7 +533,13 @@ module Lithic
|
|
518
533
|
end
|
519
534
|
|
520
535
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
521
|
-
OrHash =
|
536
|
+
OrHash =
|
537
|
+
T.type_alias do
|
538
|
+
T.any(
|
539
|
+
Lithic::AccountHolderUpdateParams::BusinessEntity,
|
540
|
+
Lithic::Internal::AnyHash
|
541
|
+
)
|
542
|
+
end
|
522
543
|
|
523
544
|
# Globally unique identifier for an entity.
|
524
545
|
sig { returns(String) }
|
@@ -625,7 +646,13 @@ module Lithic
|
|
625
646
|
end
|
626
647
|
|
627
648
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
628
|
-
OrHash =
|
649
|
+
OrHash =
|
650
|
+
T.type_alias do
|
651
|
+
T.any(
|
652
|
+
Lithic::AccountHolderUpdateParams::ControlPerson,
|
653
|
+
Lithic::Internal::AnyHash
|
654
|
+
)
|
655
|
+
end
|
629
656
|
|
630
657
|
# Globally unique identifier for an entity.
|
631
658
|
sig { returns(String) }
|
@@ -749,7 +776,13 @@ module Lithic
|
|
749
776
|
end
|
750
777
|
|
751
778
|
class Individual < Lithic::Internal::Type::BaseModel
|
752
|
-
OrHash =
|
779
|
+
OrHash =
|
780
|
+
T.type_alias do
|
781
|
+
T.any(
|
782
|
+
Lithic::AccountHolderUpdateParams::Individual,
|
783
|
+
Lithic::Internal::AnyHash
|
784
|
+
)
|
785
|
+
end
|
753
786
|
|
754
787
|
# Globally unique identifier for an entity.
|
755
788
|
sig { returns(String) }
|
@@ -14,7 +14,13 @@ module Lithic
|
|
14
14
|
end
|
15
15
|
|
16
16
|
class KYBKYCPatchResponse < Lithic::Internal::Type::BaseModel
|
17
|
-
OrHash =
|
17
|
+
OrHash =
|
18
|
+
T.type_alias do
|
19
|
+
T.any(
|
20
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse,
|
21
|
+
Lithic::Internal::AnyHash
|
22
|
+
)
|
23
|
+
end
|
18
24
|
|
19
25
|
# Globally unique identifier for the account holder.
|
20
26
|
sig { returns(T.nilable(String)) }
|
@@ -465,7 +471,12 @@ module Lithic
|
|
465
471
|
|
466
472
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
467
473
|
OrHash =
|
468
|
-
T.type_alias
|
474
|
+
T.type_alias do
|
475
|
+
T.any(
|
476
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual,
|
477
|
+
Lithic::Internal::AnyHash
|
478
|
+
)
|
479
|
+
end
|
469
480
|
|
470
481
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
471
482
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -570,7 +581,12 @@ module Lithic
|
|
570
581
|
|
571
582
|
class Address < Lithic::Internal::Type::BaseModel
|
572
583
|
OrHash =
|
573
|
-
T.type_alias
|
584
|
+
T.type_alias do
|
585
|
+
T.any(
|
586
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address,
|
587
|
+
Lithic::Internal::AnyHash
|
588
|
+
)
|
589
|
+
end
|
574
590
|
|
575
591
|
# Valid deliverable address (no PO boxes).
|
576
592
|
sig { returns(String) }
|
@@ -652,7 +668,12 @@ module Lithic
|
|
652
668
|
|
653
669
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
654
670
|
OrHash =
|
655
|
-
T.type_alias
|
671
|
+
T.type_alias do
|
672
|
+
T.any(
|
673
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson,
|
674
|
+
Lithic::Internal::AnyHash
|
675
|
+
)
|
676
|
+
end
|
656
677
|
|
657
678
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
658
679
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -768,7 +789,12 @@ module Lithic
|
|
768
789
|
|
769
790
|
class Address < Lithic::Internal::Type::BaseModel
|
770
791
|
OrHash =
|
771
|
-
T.type_alias
|
792
|
+
T.type_alias do
|
793
|
+
T.any(
|
794
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::Address,
|
795
|
+
Lithic::Internal::AnyHash
|
796
|
+
)
|
797
|
+
end
|
772
798
|
|
773
799
|
# Valid deliverable address (no PO boxes).
|
774
800
|
sig { returns(String) }
|
@@ -886,7 +912,12 @@ module Lithic
|
|
886
912
|
|
887
913
|
class Individual < Lithic::Internal::Type::BaseModel
|
888
914
|
OrHash =
|
889
|
-
T.type_alias
|
915
|
+
T.type_alias do
|
916
|
+
T.any(
|
917
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual,
|
918
|
+
Lithic::Internal::AnyHash
|
919
|
+
)
|
920
|
+
end
|
890
921
|
|
891
922
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
892
923
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
@@ -993,7 +1024,12 @@ module Lithic
|
|
993
1024
|
|
994
1025
|
class Address < Lithic::Internal::Type::BaseModel
|
995
1026
|
OrHash =
|
996
|
-
T.type_alias
|
1027
|
+
T.type_alias do
|
1028
|
+
T.any(
|
1029
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::Individual::Address,
|
1030
|
+
Lithic::Internal::AnyHash
|
1031
|
+
)
|
1032
|
+
end
|
997
1033
|
|
998
1034
|
# Valid deliverable address (no PO boxes).
|
999
1035
|
sig { returns(String) }
|
@@ -1310,7 +1346,12 @@ module Lithic
|
|
1310
1346
|
|
1311
1347
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
1312
1348
|
OrHash =
|
1313
|
-
T.type_alias
|
1349
|
+
T.type_alias do
|
1350
|
+
T.any(
|
1351
|
+
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication,
|
1352
|
+
Lithic::Internal::AnyHash
|
1353
|
+
)
|
1354
|
+
end
|
1314
1355
|
|
1315
1356
|
# Timestamp of when the application was created.
|
1316
1357
|
sig { returns(Time) }
|
@@ -1582,7 +1623,13 @@ module Lithic
|
|
1582
1623
|
end
|
1583
1624
|
|
1584
1625
|
class PatchResponse < Lithic::Internal::Type::BaseModel
|
1585
|
-
OrHash =
|
1626
|
+
OrHash =
|
1627
|
+
T.type_alias do
|
1628
|
+
T.any(
|
1629
|
+
Lithic::Models::AccountHolderUpdateResponse::PatchResponse,
|
1630
|
+
Lithic::Internal::AnyHash
|
1631
|
+
)
|
1632
|
+
end
|
1586
1633
|
|
1587
1634
|
# The token for the account holder that was updated
|
1588
1635
|
sig { returns(T.nilable(String)) }
|
@@ -1704,7 +1751,12 @@ module Lithic
|
|
1704
1751
|
|
1705
1752
|
class Address < Lithic::Internal::Type::BaseModel
|
1706
1753
|
OrHash =
|
1707
|
-
T.type_alias
|
1754
|
+
T.type_alias do
|
1755
|
+
T.any(
|
1756
|
+
Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address,
|
1757
|
+
Lithic::Internal::AnyHash
|
1758
|
+
)
|
1759
|
+
end
|
1708
1760
|
|
1709
1761
|
# Valid deliverable address (no PO boxes).
|
1710
1762
|
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::AccountHolderUploadDocumentParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The type of document to upload
|
12
18
|
sig do
|
@@ -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::AccountListParams, 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,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::AccountRetrieveParams, 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::AccountRetrieveSpendLimitsParams,
|
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,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AccountSpendLimits < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::AccountSpendLimits, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
sig { returns(Lithic::AccountSpendLimits::AvailableSpendLimit) }
|
9
12
|
attr_reader :available_spend_limit
|
@@ -63,7 +66,13 @@ module Lithic
|
|
63
66
|
end
|
64
67
|
|
65
68
|
class AvailableSpendLimit < Lithic::Internal::Type::BaseModel
|
66
|
-
OrHash =
|
69
|
+
OrHash =
|
70
|
+
T.type_alias do
|
71
|
+
T.any(
|
72
|
+
Lithic::AccountSpendLimits::AvailableSpendLimit,
|
73
|
+
Lithic::Internal::AnyHash
|
74
|
+
)
|
75
|
+
end
|
67
76
|
|
68
77
|
# The available spend limit (in cents) relative to the daily limit configured on
|
69
78
|
# the Account (e.g. 100000 would be a $1,000 limit).
|
@@ -117,7 +126,13 @@ module Lithic
|
|
117
126
|
end
|
118
127
|
|
119
128
|
class SpendLimit < Lithic::Internal::Type::BaseModel
|
120
|
-
OrHash =
|
129
|
+
OrHash =
|
130
|
+
T.type_alias do
|
131
|
+
T.any(
|
132
|
+
Lithic::AccountSpendLimits::SpendLimit,
|
133
|
+
Lithic::Internal::AnyHash
|
134
|
+
)
|
135
|
+
end
|
121
136
|
|
122
137
|
# The configured daily spend limit (in cents) on the Account.
|
123
138
|
sig { returns(T.nilable(Integer)) }
|
@@ -165,7 +180,13 @@ module Lithic
|
|
165
180
|
end
|
166
181
|
|
167
182
|
class SpendVelocity < Lithic::Internal::Type::BaseModel
|
168
|
-
OrHash =
|
183
|
+
OrHash =
|
184
|
+
T.type_alias do
|
185
|
+
T.any(
|
186
|
+
Lithic::AccountSpendLimits::SpendVelocity,
|
187
|
+
Lithic::Internal::AnyHash
|
188
|
+
)
|
189
|
+
end
|
169
190
|
|
170
191
|
# Current daily spend velocity (in cents) on the Account. Present if daily spend
|
171
192
|
# limit is set.
|
@@ -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::AccountUpdateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
12
15
|
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
@@ -137,7 +140,13 @@ module Lithic
|
|
137
140
|
end
|
138
141
|
|
139
142
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
140
|
-
OrHash =
|
143
|
+
OrHash =
|
144
|
+
T.type_alias do
|
145
|
+
T.any(
|
146
|
+
Lithic::AccountUpdateParams::VerificationAddress,
|
147
|
+
Lithic::Internal::AnyHash
|
148
|
+
)
|
149
|
+
end
|
141
150
|
|
142
151
|
sig { returns(T.nilable(String)) }
|
143
152
|
attr_reader :address1
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class Address < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::Address, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Valid deliverable address (no PO boxes).
|
9
10
|
sig { returns(String) }
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AddressUpdate < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::AddressUpdate, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Valid deliverable address (no PO boxes).
|
9
10
|
sig { returns(T.nilable(String)) }
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class AggregateBalance < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::AggregateBalance, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
9
12
|
sig { returns(Integer) }
|
@@ -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::AggregateBalanceListParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Get the aggregate balance for a given Financial Account type.
|
12
15
|
sig do
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class APIStatus < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::APIStatus, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
sig { returns(T.nilable(String)) }
|
9
10
|
attr_reader :message
|
@@ -6,7 +6,10 @@ module Lithic
|
|
6
6
|
|
7
7
|
module AuthRules
|
8
8
|
class AuthRule < Lithic::Internal::Type::BaseModel
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Lithic::AuthRules::AuthRule, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Globally unique identifier.
|
12
15
|
sig { returns(String) }
|
@@ -6,7 +6,13 @@ module Lithic
|
|
6
6
|
|
7
7
|
module AuthRules
|
8
8
|
class AuthRuleCondition < Lithic::Internal::Type::BaseModel
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(
|
12
|
+
Lithic::AuthRules::AuthRuleCondition,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The attribute to target.
|
12
18
|
#
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module AuthRules
|
6
6
|
class ConditionalBlockParameters < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::AuthRules::ConditionalBlockParameters,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
sig { returns(T::Array[Lithic::AuthRules::AuthRuleCondition]) }
|
10
16
|
attr_accessor :conditions
|
@@ -9,7 +9,12 @@ module Lithic
|
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
10
10
|
|
11
11
|
OrHash =
|
12
|
-
T.type_alias
|
12
|
+
T.type_alias do
|
13
|
+
T.any(
|
14
|
+
Lithic::AuthRules::V2::BacktestCreateParams,
|
15
|
+
Lithic::Internal::AnyHash
|
16
|
+
)
|
17
|
+
end
|
13
18
|
|
14
19
|
# The end time of the backtest.
|
15
20
|
sig { returns(T.nilable(Time)) }
|
@@ -6,7 +6,12 @@ module Lithic
|
|
6
6
|
module V2
|
7
7
|
class BacktestCreateResponse < Lithic::Internal::Type::BaseModel
|
8
8
|
OrHash =
|
9
|
-
T.type_alias
|
9
|
+
T.type_alias do
|
10
|
+
T.any(
|
11
|
+
Lithic::Models::AuthRules::V2::BacktestCreateResponse,
|
12
|
+
Lithic::Internal::AnyHash
|
13
|
+
)
|
14
|
+
end
|
10
15
|
|
11
16
|
# Auth Rule Backtest Token
|
12
17
|
sig { returns(T.nilable(String)) }
|