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
@@ -6,7 +6,12 @@ module Lithic
|
|
6
6
|
module Settlement
|
7
7
|
class NetworkTotalRetrieveResponse < Lithic::Internal::Type::BaseModel
|
8
8
|
OrHash =
|
9
|
-
T.type_alias
|
9
|
+
T.type_alias do
|
10
|
+
T.any(
|
11
|
+
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse,
|
12
|
+
Lithic::Internal::AnyHash
|
13
|
+
)
|
14
|
+
end
|
10
15
|
|
11
16
|
# Globally unique identifier.
|
12
17
|
sig { returns(String) }
|
@@ -146,7 +151,12 @@ module Lithic
|
|
146
151
|
|
147
152
|
class Amounts < Lithic::Internal::Type::BaseModel
|
148
153
|
OrHash =
|
149
|
-
T.type_alias
|
154
|
+
T.type_alias do
|
155
|
+
T.any(
|
156
|
+
Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Amounts,
|
157
|
+
Lithic::Internal::AnyHash
|
158
|
+
)
|
159
|
+
end
|
150
160
|
|
151
161
|
# Total settlement amount excluding interchange, in currency's smallest unit.
|
152
162
|
sig { returns(Integer) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::Reports::SettlementListDetailsParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# A cursor representing an item's token before which a page of results should end.
|
13
19
|
# Used to retrieve the previous page of results before this item.
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::Reports::SettlementSummaryParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class RequiredDocument < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::RequiredDocument, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Globally unique identifier for an entity.
|
9
12
|
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::ResponderEndpointCheckStatusParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The type of the endpoint.
|
12
18
|
sig do
|
@@ -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::ResponderEndpointCreateParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The type of the endpoint.
|
12
18
|
sig do
|
@@ -3,7 +3,13 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class ResponderEndpointCreateResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::ResponderEndpointCreateResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# True if the endpoint was enrolled successfully.
|
9
15
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -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::ResponderEndpointDeleteParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
# The type of the endpoint.
|
12
18
|
sig { returns(Lithic::ResponderEndpointDeleteParams::Type::OrSymbol) }
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class ResponderEndpointStatus < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::ResponderEndpointStatus, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# True if the instance has an endpoint enrolled.
|
9
12
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class SettlementDetail < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::SettlementDetail, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Globally unique identifier denoting the Settlement Detail.
|
9
12
|
sig { returns(String) }
|
@@ -239,7 +242,13 @@ module Lithic
|
|
239
242
|
end
|
240
243
|
|
241
244
|
class OtherFeesDetails < Lithic::Internal::Type::BaseModel
|
242
|
-
OrHash =
|
245
|
+
OrHash =
|
246
|
+
T.type_alias do
|
247
|
+
T.any(
|
248
|
+
Lithic::SettlementDetail::OtherFeesDetails,
|
249
|
+
Lithic::Internal::AnyHash
|
250
|
+
)
|
251
|
+
end
|
243
252
|
|
244
253
|
sig { returns(T.nilable(Integer)) }
|
245
254
|
attr_reader :isa
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class SettlementReport < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::SettlementReport, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Date and time when the transaction first occurred. UTC time zone.
|
9
12
|
sig { returns(Time) }
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class SettlementSummaryDetails < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::SettlementSummaryDetails, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# 3-character alphabetic ISO 4217 code.
|
9
12
|
sig { returns(T.nilable(String)) }
|
@@ -3,7 +3,10 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class ShippingAddress < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Lithic::ShippingAddress, Lithic::Internal::AnyHash)
|
9
|
+
end
|
7
10
|
|
8
11
|
# Valid USPS routable address.
|
9
12
|
sig { returns(String) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::AuthenticationRetrieveParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module ThreeDS
|
6
6
|
class AuthenticationRetrieveResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# Globally unique identifier for the 3DS authentication.
|
10
16
|
sig { returns(String) }
|
@@ -579,7 +585,12 @@ module Lithic
|
|
579
585
|
|
580
586
|
class Cardholder < Lithic::Internal::Type::BaseModel
|
581
587
|
OrHash =
|
582
|
-
T.type_alias
|
588
|
+
T.type_alias do
|
589
|
+
T.any(
|
590
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder,
|
591
|
+
Lithic::Internal::AnyHash
|
592
|
+
)
|
593
|
+
end
|
583
594
|
|
584
595
|
# Indicates whether the shipping address and billing address provided by the
|
585
596
|
# cardholder are the same. This value - and assessment of whether the addresses
|
@@ -711,7 +722,12 @@ module Lithic
|
|
711
722
|
|
712
723
|
class BillingAddress < Lithic::Internal::Type::BaseModel
|
713
724
|
OrHash =
|
714
|
-
T.type_alias
|
725
|
+
T.type_alias do
|
726
|
+
T.any(
|
727
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress,
|
728
|
+
Lithic::Internal::AnyHash
|
729
|
+
)
|
730
|
+
end
|
715
731
|
|
716
732
|
# First line of the street address provided by the cardholder.
|
717
733
|
sig { returns(T.nilable(String)) }
|
@@ -784,7 +800,12 @@ module Lithic
|
|
784
800
|
|
785
801
|
class ShippingAddress < Lithic::Internal::Type::BaseModel
|
786
802
|
OrHash =
|
787
|
-
T.type_alias
|
803
|
+
T.type_alias do
|
804
|
+
T.any(
|
805
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress,
|
806
|
+
Lithic::Internal::AnyHash
|
807
|
+
)
|
808
|
+
end
|
788
809
|
|
789
810
|
# First line of the street address provided by the cardholder.
|
790
811
|
sig { returns(T.nilable(String)) }
|
@@ -898,7 +919,12 @@ module Lithic
|
|
898
919
|
|
899
920
|
class Merchant < Lithic::Internal::Type::BaseModel
|
900
921
|
OrHash =
|
901
|
-
T.type_alias
|
922
|
+
T.type_alias do
|
923
|
+
T.any(
|
924
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant,
|
925
|
+
Lithic::Internal::AnyHash
|
926
|
+
)
|
927
|
+
end
|
902
928
|
|
903
929
|
# Merchant identifier as assigned by the acquirer. Maps to EMV 3DS field
|
904
930
|
# acquirerMerchantId.
|
@@ -983,7 +1009,12 @@ module Lithic
|
|
983
1009
|
|
984
1010
|
class RiskIndicator < Lithic::Internal::Type::BaseModel
|
985
1011
|
OrHash =
|
986
|
-
T.type_alias
|
1012
|
+
T.type_alias do
|
1013
|
+
T.any(
|
1014
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator,
|
1015
|
+
Lithic::Internal::AnyHash
|
1016
|
+
)
|
1017
|
+
end
|
987
1018
|
|
988
1019
|
# In transactions with electronic delivery, email address to which merchandise is
|
989
1020
|
# delivered. Maps to EMV 3DS field deliveryEmailAddress.
|
@@ -1449,7 +1480,12 @@ module Lithic
|
|
1449
1480
|
|
1450
1481
|
class AdditionalData < Lithic::Internal::Type::BaseModel
|
1451
1482
|
OrHash =
|
1452
|
-
T.type_alias
|
1483
|
+
T.type_alias do
|
1484
|
+
T.any(
|
1485
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::AdditionalData,
|
1486
|
+
Lithic::Internal::AnyHash
|
1487
|
+
)
|
1488
|
+
end
|
1453
1489
|
|
1454
1490
|
# Mastercard only: Indicates whether the network would have considered the
|
1455
1491
|
# authentication request to be low risk or not.
|
@@ -1542,7 +1578,12 @@ module Lithic
|
|
1542
1578
|
|
1543
1579
|
class App < Lithic::Internal::Type::BaseModel
|
1544
1580
|
OrHash =
|
1545
|
-
T.type_alias
|
1581
|
+
T.type_alias do
|
1582
|
+
T.any(
|
1583
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::App,
|
1584
|
+
Lithic::Internal::AnyHash
|
1585
|
+
)
|
1586
|
+
end
|
1546
1587
|
|
1547
1588
|
# Device information gathered from the cardholder's device - JSON name/value pairs
|
1548
1589
|
# that is Base64url encoded. Maps to EMV 3DS field deviceInfo.
|
@@ -1660,7 +1701,12 @@ module Lithic
|
|
1660
1701
|
|
1661
1702
|
class Browser < Lithic::Internal::Type::BaseModel
|
1662
1703
|
OrHash =
|
1663
|
-
T.type_alias
|
1704
|
+
T.type_alias do
|
1705
|
+
T.any(
|
1706
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Browser,
|
1707
|
+
Lithic::Internal::AnyHash
|
1708
|
+
)
|
1709
|
+
end
|
1664
1710
|
|
1665
1711
|
# IP address of the browser as returned by the HTTP headers to the 3DS requestor
|
1666
1712
|
# (e.g., merchant or digital wallet). Maps to EMV 3DS field browserIP.
|
@@ -1744,7 +1790,12 @@ module Lithic
|
|
1744
1790
|
|
1745
1791
|
class ChallengeMetadata < Lithic::Internal::Type::BaseModel
|
1746
1792
|
OrHash =
|
1747
|
-
T.type_alias
|
1793
|
+
T.type_alias do
|
1794
|
+
T.any(
|
1795
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::ChallengeMetadata,
|
1796
|
+
Lithic::Internal::AnyHash
|
1797
|
+
)
|
1798
|
+
end
|
1748
1799
|
|
1749
1800
|
# The type of challenge method used for authentication.
|
1750
1801
|
sig do
|
@@ -2023,13 +2074,23 @@ module Lithic
|
|
2023
2074
|
|
2024
2075
|
class Transaction < Lithic::Internal::Type::BaseModel
|
2025
2076
|
OrHash =
|
2026
|
-
T.type_alias
|
2077
|
+
T.type_alias do
|
2078
|
+
T.any(
|
2079
|
+
Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction,
|
2080
|
+
Lithic::Internal::AnyHash
|
2081
|
+
)
|
2082
|
+
end
|
2027
2083
|
|
2028
2084
|
# Amount of the purchase in minor units of currency with all punctuation removed.
|
2029
2085
|
# Maps to EMV 3DS field purchaseAmount.
|
2030
2086
|
sig { returns(Float) }
|
2031
2087
|
attr_accessor :amount
|
2032
2088
|
|
2089
|
+
# Approximate amount of the purchase in minor units of cardholder currency.
|
2090
|
+
# Derived from `amount` using a daily conversion rate.
|
2091
|
+
sig { returns(T.nilable(Float)) }
|
2092
|
+
attr_accessor :cardholder_amount
|
2093
|
+
|
2033
2094
|
# Currency of the purchase. Maps to EMV 3DS field purchaseCurrency.
|
2034
2095
|
sig { returns(String) }
|
2035
2096
|
attr_accessor :currency
|
@@ -2060,6 +2121,7 @@ module Lithic
|
|
2060
2121
|
sig do
|
2061
2122
|
params(
|
2062
2123
|
amount: Float,
|
2124
|
+
cardholder_amount: T.nilable(Float),
|
2063
2125
|
currency: String,
|
2064
2126
|
currency_exponent: Float,
|
2065
2127
|
date_time: Time,
|
@@ -2073,6 +2135,9 @@ module Lithic
|
|
2073
2135
|
# Amount of the purchase in minor units of currency with all punctuation removed.
|
2074
2136
|
# Maps to EMV 3DS field purchaseAmount.
|
2075
2137
|
amount:,
|
2138
|
+
# Approximate amount of the purchase in minor units of cardholder currency.
|
2139
|
+
# Derived from `amount` using a daily conversion rate.
|
2140
|
+
cardholder_amount:,
|
2076
2141
|
# Currency of the purchase. Maps to EMV 3DS field purchaseCurrency.
|
2077
2142
|
currency:,
|
2078
2143
|
# Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV
|
@@ -2091,6 +2156,7 @@ module Lithic
|
|
2091
2156
|
override.returns(
|
2092
2157
|
{
|
2093
2158
|
amount: Float,
|
2159
|
+
cardholder_amount: T.nilable(Float),
|
2094
2160
|
currency: String,
|
2095
2161
|
currency_exponent: Float,
|
2096
2162
|
date_time: Time,
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::AuthenticationSimulateOtpEntryParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
# A unique token returned as part of a /v1/three_ds_authentication/simulate call
|
13
19
|
# that resulted in PENDING_CHALLENGE authentication result.
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::AuthenticationSimulateParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig { returns(Lithic::ThreeDS::AuthenticationSimulateParams::Merchant) }
|
13
19
|
attr_reader :merchant
|
@@ -98,7 +104,12 @@ module Lithic
|
|
98
104
|
|
99
105
|
class Merchant < Lithic::Internal::Type::BaseModel
|
100
106
|
OrHash =
|
101
|
-
T.type_alias
|
107
|
+
T.type_alias do
|
108
|
+
T.any(
|
109
|
+
Lithic::ThreeDS::AuthenticationSimulateParams::Merchant,
|
110
|
+
Lithic::Internal::AnyHash
|
111
|
+
)
|
112
|
+
end
|
102
113
|
|
103
114
|
# Unique identifier to identify the payment card acceptor. Corresponds to
|
104
115
|
# `merchant_acceptor_id` in authorization.
|
@@ -157,7 +168,12 @@ module Lithic
|
|
157
168
|
|
158
169
|
class Transaction < Lithic::Internal::Type::BaseModel
|
159
170
|
OrHash =
|
160
|
-
T.type_alias
|
171
|
+
T.type_alias do
|
172
|
+
T.any(
|
173
|
+
Lithic::ThreeDS::AuthenticationSimulateParams::Transaction,
|
174
|
+
Lithic::Internal::AnyHash
|
175
|
+
)
|
176
|
+
end
|
161
177
|
|
162
178
|
# Amount (in cents) to authenticate.
|
163
179
|
sig { returns(Integer) }
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module ThreeDS
|
6
6
|
class AuthenticationSimulateResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::Models::ThreeDS::AuthenticationSimulateResponse,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# A unique token to reference this transaction with later calls to void or clear
|
10
16
|
# the authorization.
|
@@ -4,7 +4,10 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module ThreeDS
|
6
6
|
class ChallengeResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(Lithic::ThreeDS::ChallengeResponse, Lithic::Internal::AnyHash)
|
10
|
+
end
|
8
11
|
|
9
12
|
# Globally unique identifier for the 3DS authentication. This token is sent as
|
10
13
|
# part of the initial 3DS Decisioning Request and as part of the 3DS Challenge
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::DecisioningChallengeResponseParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::DecisioningRetrieveSecretParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -4,7 +4,13 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
module ThreeDS
|
6
6
|
class DecisioningRetrieveSecretResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
OrHash =
|
7
|
+
OrHash =
|
8
|
+
T.type_alias do
|
9
|
+
T.any(
|
10
|
+
Lithic::Models::ThreeDS::DecisioningRetrieveSecretResponse,
|
11
|
+
Lithic::Internal::AnyHash
|
12
|
+
)
|
13
|
+
end
|
8
14
|
|
9
15
|
# The 3DS Decisioning HMAC secret
|
10
16
|
sig { returns(T.nilable(String)) }
|
@@ -7,7 +7,13 @@ module Lithic
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
|
-
OrHash =
|
10
|
+
OrHash =
|
11
|
+
T.type_alias do
|
12
|
+
T.any(
|
13
|
+
Lithic::ThreeDS::DecisioningRotateSecretParams,
|
14
|
+
Lithic::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
11
17
|
|
12
18
|
sig do
|
13
19
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Models
|
5
5
|
class Tokenization < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias { T.any(Lithic::Tokenization, Lithic::Internal::AnyHash) }
|
7
8
|
|
8
9
|
# Globally unique identifier for a Tokenization
|
9
10
|
sig { returns(String) }
|
@@ -277,7 +278,10 @@ module Lithic
|
|
277
278
|
end
|
278
279
|
|
279
280
|
class Event < Lithic::Internal::Type::BaseModel
|
280
|
-
OrHash =
|
281
|
+
OrHash =
|
282
|
+
T.type_alias do
|
283
|
+
T.any(Lithic::Tokenization::Event, Lithic::Internal::AnyHash)
|
284
|
+
end
|
281
285
|
|
282
286
|
# Globally unique identifier for a Tokenization Event
|
283
287
|
sig { returns(T.nilable(String)) }
|
@@ -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::TokenizationActivateParams, Lithic::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
sig do
|
12
15
|
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
@@ -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::TokenizationDeactivateParams, 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::TokenizationDecisioningRetrieveSecretParams,
|
13
|
+
Lithic::Internal::AnyHash
|
14
|
+
)
|
15
|
+
end
|
10
16
|
|
11
17
|
sig do
|
12
18
|
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::TokenizationDecisioningRotateSecretParams,
|
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 TokenizationDecisioningRotateSecretResponse < Lithic::Internal::Type::BaseModel
|
6
|
-
OrHash =
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
Lithic::Models::TokenizationDecisioningRotateSecretResponse,
|
10
|
+
Lithic::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
7
13
|
|
8
14
|
# The new Tokenization Decisioning HMAC secret
|
9
15
|
sig { returns(T.nilable(String)) }
|