lithic 0.5.0 → 0.7.0
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 +42 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- data/lib/lithic/models/account_holder.rb +1 -79
- data/lib/lithic/models/account_holder_create_params.rb +338 -549
- data/lib/lithic/models/account_holder_list_documents_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +7 -1
- data/lib/lithic/models/account_holder_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +1 -9
- data/lib/lithic/models/account_holder_update_params.rb +501 -509
- data/lib/lithic/models/account_holder_update_response.rb +1 -9
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +1 -11
- data/lib/lithic/models/account_holder_upload_document_params.rb +8 -1
- data/lib/lithic/models/account_holders/account_holder_entity.rb +183 -0
- data/lib/lithic/models/account_holders/entity_create_params.rb +166 -0
- data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
- data/lib/lithic/models/account_holders/entity_delete_params.rb +28 -0
- data/lib/lithic/models/account_retrieve_params.rb +7 -1
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/account_update_params.rb +8 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -2
- data/lib/lithic/models/auth_rules/{rule_stats.rb → backtest_stats.rb} +16 -24
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +9 -9
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +13 -13
- data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +6 -6
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +338 -110
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +9 -1
- data/lib/lithic/models/auth_rules/v2_list_results_params.rb +19 -1
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +163 -47
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_params.rb +183 -66
- data/lib/lithic/models/book_transfer_retrieve_params.rb +7 -1
- data/lib/lithic/models/book_transfer_retry_params.rb +8 -1
- data/lib/lithic/models/book_transfer_reverse_params.rb +8 -1
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_bulk_order_update_params.rb +8 -1
- data/lib/lithic/models/card_convert_physical_params.rb +8 -1
- data/lib/lithic/models/card_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_provision_params.rb +8 -1
- data/lib/lithic/models/card_reissue_params.rb +8 -1
- data/lib/lithic/models/card_renew_params.rb +8 -1
- data/lib/lithic/models/card_retrieve_params.rb +7 -1
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +7 -1
- data/lib/lithic/models/card_update_params.rb +8 -1
- data/lib/lithic/models/card_web_provision_params.rb +8 -1
- data/lib/lithic/models/cards/balance_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +7 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +9 -1
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +9 -1
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +7 -1
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/dispute_delete_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_delete_params.rb +7 -1
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +8 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +8 -1
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +7 -1
- data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
- data/lib/lithic/models/dispute_update_params.rb +8 -1
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- data/lib/lithic/models/events/subscription_delete_params.rb +7 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +8 -1
- data/lib/lithic/models/events/subscription_recover_params.rb +8 -1
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +8 -1
- data/lib/lithic/models/events/subscription_retrieve_params.rb +7 -1
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +7 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +8 -1
- data/lib/lithic/models/events/subscription_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +446 -140
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_unpause_params.rb +7 -1
- data/lib/lithic/models/external_bank_account_update_params.rb +8 -1
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +7 -1
- data/lib/lithic/models/external_payment_cancel_params.rb +7 -1
- data/lib/lithic/models/external_payment_release_params.rb +7 -1
- data/lib/lithic/models/external_payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/external_payment_reverse_params.rb +7 -1
- data/lib/lithic/models/external_payment_settle_params.rb +7 -1
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +7 -1
- data/lib/lithic/models/financial_account_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_params.rb +7 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/category_tier.rb +28 -0
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +50 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +47 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +28 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +51 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +24 -0
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement.rb +1 -0
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +9 -1
- data/lib/lithic/models/fraud/transaction_report_params.rb +8 -1
- data/lib/lithic/models/fraud/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_details_params.rb +7 -1
- data/lib/lithic/models/funding_event_retrieve_params.rb +7 -1
- data/lib/lithic/models/kyb.rb +1 -71
- data/lib/lithic/models/management_operation_retrieve_params.rb +7 -1
- data/lib/lithic/models/management_operation_reverse_params.rb +7 -1
- data/lib/lithic/models/network_program_retrieve_params.rb +7 -1
- data/lib/lithic/models/parsed_webhook_event.rb +1 -11
- data/lib/lithic/models/payment_create_params.rb +22 -1
- data/lib/lithic/models/payment_retrieve_params.rb +7 -1
- data/lib/lithic/models/payment_retry_params.rb +7 -1
- data/lib/lithic/models/payment_return_params.rb +8 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +8 -1
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +7 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +8 -1
- data/lib/lithic/models/reports/settlement_summary_params.rb +7 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +7 -1
- data/lib/lithic/models/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
- data/lib/lithic/models/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
- data/lib/lithic/models/tokenization_pause_params.rb +7 -1
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +8 -1
- data/lib/lithic/models/tokenization_retrieve_params.rb +7 -1
- data/lib/lithic/models/tokenization_unpause_params.rb +7 -1
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +8 -1
- data/lib/lithic/models/transaction_expire_authorization_params.rb +7 -1
- data/lib/lithic/models/transaction_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +7 -1
- data/lib/lithic/models.rb +4 -2
- data/lib/lithic/resources/account_activity.rb +2 -1
- data/lib/lithic/resources/account_holders/entities.rb +89 -0
- data/lib/lithic/resources/account_holders.rb +13 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +20 -49
- data/lib/lithic/resources/balances.rb +2 -1
- data/lib/lithic/resources/book_transfers.rb +2 -1
- data/lib/lithic/resources/card_bulk_orders.rb +2 -1
- data/lib/lithic/resources/card_programs.rb +2 -1
- data/lib/lithic/resources/cards/balances.rb +2 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +2 -1
- data/lib/lithic/resources/cards.rb +4 -2
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -1
- data/lib/lithic/resources/disputes.rb +4 -2
- data/lib/lithic/resources/disputes_v2.rb +2 -1
- data/lib/lithic/resources/events/subscriptions.rb +8 -4
- data/lib/lithic/resources/events.rb +4 -2
- data/lib/lithic/resources/external_bank_accounts.rb +5 -40
- data/lib/lithic/resources/external_payments.rb +2 -1
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -1
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +206 -0
- data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +2 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -1
- data/lib/lithic/resources/financial_accounts.rb +11 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- data/lib/lithic/resources/management_operations.rb +2 -1
- data/lib/lithic/resources/network_programs.rb +2 -1
- data/lib/lithic/resources/payments.rb +5 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -1
- data/lib/lithic/resources/responder_endpoints.rb +4 -2
- data/lib/lithic/resources/tokenizations.rb +2 -1
- data/lib/lithic/resources/transactions.rb +2 -1
- data/lib/lithic/resources/transfer_limits.rb +2 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +20 -2
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- data/rbi/lithic/models/account_holder.rbi +0 -121
- data/rbi/lithic/models/account_holder_create_params.rbi +567 -837
- data/rbi/lithic/models/account_holder_list_documents_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +6 -1
- data/rbi/lithic/models/account_holder_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +0 -16
- data/rbi/lithic/models/account_holder_update_params.rbi +860 -831
- data/rbi/lithic/models/account_holder_update_response.rbi +0 -17
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +0 -17
- data/rbi/lithic/models/account_holder_upload_document_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +296 -0
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +248 -0
- data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +48 -0
- data/rbi/lithic/models/account_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/account_update_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +6 -3
- data/rbi/lithic/models/auth_rules/{rule_stats.rbi → backtest_stats.rbi} +29 -33
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +12 -12
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +1 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +31 -31
- data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +11 -8
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +675 -178
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +520 -97
- data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +11 -1
- data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +8 -8
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +391 -101
- data/rbi/lithic/models/book_transfer_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/book_transfer_retry_params.rbi +10 -1
- data/rbi/lithic/models/book_transfer_reverse_params.rbi +10 -1
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +6 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +6 -0
- data/rbi/lithic/models/card_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/card_provision_params.rbi +6 -0
- data/rbi/lithic/models/card_reissue_params.rbi +6 -0
- data/rbi/lithic/models/card_renew_params.rbi +6 -0
- data/rbi/lithic/models/card_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +13 -5
- data/rbi/lithic/models/card_update_params.rbi +6 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +6 -0
- data/rbi/lithic/models/cards/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +14 -2
- data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +8 -0
- data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +15 -17
- data/rbi/lithic/models/dispute_delete_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_delete_params.rbi +13 -5
- data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +10 -1
- data/rbi/lithic/models/dispute_list_evidences_params.rbi +6 -0
- data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +10 -2
- data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/dispute_update_params.rbi +6 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- data/rbi/lithic/models/events/subscription_delete_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_recover_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +16 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_account_create_params.rbi +693 -211
- data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +10 -1
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +16 -5
- data/rbi/lithic/models/external_bank_account_update_params.rbi +6 -0
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +10 -1
- data/rbi/lithic/models/external_payment_cancel_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_release_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/external_payment_reverse_params.rbi +11 -1
- data/rbi/lithic/models/external_payment_settle_params.rbi +6 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +14 -2
- data/rbi/lithic/models/financial_account_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_account_update_params.rbi +10 -2
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/category_tier.rbi +45 -0
- data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +75 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +79 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +52 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +76 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +48 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +8 -0
- data/rbi/lithic/models/fraud/transaction_report_params.rbi +6 -0
- data/rbi/lithic/models/fraud/transaction_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_details_params.rbi +16 -5
- data/rbi/lithic/models/funding_event_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/kyb.rbi +0 -109
- data/rbi/lithic/models/management_operation_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/management_operation_reverse_params.rbi +11 -1
- data/rbi/lithic/models/network_program_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/parsed_webhook_event.rbi +0 -17
- data/rbi/lithic/models/payment_create_params.rbi +34 -0
- data/rbi/lithic/models/payment_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/payment_retry_params.rbi +13 -5
- data/rbi/lithic/models/payment_return_params.rbi +6 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +6 -0
- data/rbi/lithic/models/reports/settlement_summary_params.rbi +13 -5
- data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
- data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
- data/rbi/lithic/models/tokenization_pause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +6 -0
- data/rbi/lithic/models/tokenization_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_unpause_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +6 -0
- data/rbi/lithic/models/transaction_expire_authorization_params.rbi +13 -5
- data/rbi/lithic/models/transaction_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +16 -5
- data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +13 -5
- data/rbi/lithic/models.rbi +4 -2
- data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +19 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +20 -75
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
- data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
- data/rbi/lithic/resources/financial_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- data/sig/lithic/models/account_holder.rbs +0 -58
- data/sig/lithic/models/account_holder_create_params.rbs +217 -353
- data/sig/lithic/models/account_holder_list_documents_params.rbs +12 -3
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -1
- data/sig/lithic/models/account_holder_retrieve_params.rbs +12 -3
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +0 -9
- data/sig/lithic/models/account_holder_update_params.rbs +326 -330
- data/sig/lithic/models/account_holder_update_response.rbs +0 -9
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +0 -9
- data/sig/lithic/models/account_holder_upload_document_params.rbs +5 -0
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +137 -0
- data/sig/lithic/models/account_holders/entity_create_params.rbs +123 -0
- data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +30 -0
- data/sig/lithic/models/account_retrieve_params.rbs +11 -3
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/account_update_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/{rule_stats.rbs → backtest_stats.rbs} +15 -22
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +8 -8
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +15 -15
- data/sig/lithic/models/auth_rules/report_stats.rbs +696 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +8 -8
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +236 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +8 -1
- data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +14 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +220 -49
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_report_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +8 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +152 -47
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +12 -3
- data/sig/lithic/models/book_transfer_retry_params.rbs +6 -1
- data/sig/lithic/models/book_transfer_reverse_params.rbs +10 -2
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_bulk_order_update_params.rbs +8 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +5 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/card_provision_params.rbs +5 -0
- data/sig/lithic/models/card_reissue_params.rbs +5 -0
- data/sig/lithic/models/card_renew_params.rbs +5 -0
- data/sig/lithic/models/card_retrieve_params.rbs +11 -3
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +11 -3
- data/sig/lithic/models/card_update_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +9 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +6 -1
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +12 -3
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +5 -1
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +9 -1
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +12 -3
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_delete_params.rbs +11 -3
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +6 -1
- data/sig/lithic/models/dispute_list_evidences_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +6 -1
- data/sig/lithic/models/dispute_retrieve_params.rbs +11 -3
- data/sig/lithic/models/dispute_update_params.rbs +5 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- data/sig/lithic/models/events/subscription_delete_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +5 -1
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +12 -3
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_create_params.rbs +342 -98
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -1
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +12 -3
- data/sig/lithic/models/external_bank_account_update_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_cancel_params.rbs +5 -1
- data/sig/lithic/models/external_payment_release_params.rbs +5 -1
- data/sig/lithic/models/external_payment_retrieve_params.rbs +12 -3
- data/sig/lithic/models/external_payment_reverse_params.rbs +5 -1
- data/sig/lithic/models/external_payment_settle_params.rbs +5 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +6 -1
- data/sig/lithic/models/financial_account_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_account_update_params.rbs +6 -1
- data/sig/lithic/models/financial_account_update_status_params.rbs +7 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- data/sig/lithic/models/financial_accounts/category_tier.rbs +21 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +41 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +28 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +49 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +47 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_report_params.rbs +5 -0
- data/sig/lithic/models/fraud/transaction_retrieve_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +12 -3
- data/sig/lithic/models/funding_event_retrieve_params.rbs +12 -3
- data/sig/lithic/models/kyb.rbs +0 -55
- data/sig/lithic/models/management_operation_retrieve_params.rbs +12 -3
- data/sig/lithic/models/management_operation_reverse_params.rbs +5 -1
- data/sig/lithic/models/network_program_retrieve_params.rbs +12 -3
- data/sig/lithic/models/parsed_webhook_event.rbs +0 -9
- data/sig/lithic/models/payment_create_params.rbs +19 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +11 -3
- data/sig/lithic/models/payment_retry_params.rbs +11 -3
- data/sig/lithic/models/payment_return_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +5 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +11 -3
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +10 -1
- data/sig/lithic/models/reports/settlement_summary_params.rbs +11 -3
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +12 -3
- data/sig/lithic/models/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
- data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
- data/sig/lithic/models/tokenization_pause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +12 -3
- data/sig/lithic/models/tokenization_unpause_params.rbs +12 -3
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -1
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +11 -3
- data/sig/lithic/models/transaction_retrieve_params.rbs +11 -3
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +12 -3
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +11 -3
- data/sig/lithic/models.rbs +4 -2
- data/sig/lithic/resources/account_holders/entities.rbs +28 -0
- data/sig/lithic/resources/account_holders.rbs +4 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +4 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
- data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- metadata +62 -8
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ReportStats < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute action_counts
|
|
8
|
+
# A mapping of action types to the number of times that action was returned by
|
|
9
|
+
# this rule during the relevant period. Actions are the possible outcomes of a
|
|
10
|
+
# rule evaluation, such as DECLINE, CHALLENGE, REQUIRE_TFA, etc. In case rule
|
|
11
|
+
# didn't trigger any action, it's counted under NO_ACTION key.
|
|
12
|
+
#
|
|
13
|
+
# @return [Hash{Symbol=>Integer}, nil]
|
|
14
|
+
optional :action_counts, Lithic::Internal::Type::HashOf[Integer]
|
|
15
|
+
|
|
16
|
+
# @!attribute approved
|
|
17
|
+
# @deprecated
|
|
18
|
+
#
|
|
19
|
+
# The total number of historical transactions approved by this rule during the
|
|
20
|
+
# relevant period, or the number of transactions that would have been approved if
|
|
21
|
+
# the rule was evaluated in shadow mode.
|
|
22
|
+
#
|
|
23
|
+
# @return [Integer, nil]
|
|
24
|
+
optional :approved, Integer
|
|
25
|
+
|
|
26
|
+
# @!attribute challenged
|
|
27
|
+
# @deprecated
|
|
28
|
+
#
|
|
29
|
+
# The total number of historical transactions challenged by this rule during the
|
|
30
|
+
# relevant period, or the number of transactions that would have been challenged
|
|
31
|
+
# if the rule was evaluated in shadow mode. Currently applicable only for 3DS Auth
|
|
32
|
+
# Rules.
|
|
33
|
+
#
|
|
34
|
+
# @return [Integer, nil]
|
|
35
|
+
optional :challenged, Integer
|
|
36
|
+
|
|
37
|
+
# @!attribute declined
|
|
38
|
+
# @deprecated
|
|
39
|
+
#
|
|
40
|
+
# The total number of historical transactions declined by this rule during the
|
|
41
|
+
# relevant period, or the number of transactions that would have been declined if
|
|
42
|
+
# the rule was evaluated in shadow mode.
|
|
43
|
+
#
|
|
44
|
+
# @return [Integer, nil]
|
|
45
|
+
optional :declined, Integer
|
|
46
|
+
|
|
47
|
+
# @!attribute examples
|
|
48
|
+
# Example events and their outcomes.
|
|
49
|
+
#
|
|
50
|
+
# @return [Array<Lithic::Models::AuthRules::ReportStats::Example>, nil]
|
|
51
|
+
optional :examples, -> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ReportStats::Example] }
|
|
52
|
+
|
|
53
|
+
# @!method initialize(action_counts: nil, approved: nil, challenged: nil, declined: nil, examples: nil)
|
|
54
|
+
# Some parameter documentations has been truncated, see
|
|
55
|
+
# {Lithic::Models::AuthRules::ReportStats} for more details.
|
|
56
|
+
#
|
|
57
|
+
# @param action_counts [Hash{Symbol=>Integer}] A mapping of action types to the number of times that action was returned by thi
|
|
58
|
+
#
|
|
59
|
+
# @param approved [Integer] The total number of historical transactions approved by this rule during the rel
|
|
60
|
+
#
|
|
61
|
+
# @param challenged [Integer] The total number of historical transactions challenged by this rule during the r
|
|
62
|
+
#
|
|
63
|
+
# @param declined [Integer] The total number of historical transactions declined by this rule during the rel
|
|
64
|
+
#
|
|
65
|
+
# @param examples [Array<Lithic::Models::AuthRules::ReportStats::Example>] Example events and their outcomes.
|
|
66
|
+
|
|
67
|
+
class Example < Lithic::Internal::Type::BaseModel
|
|
68
|
+
# @!attribute actions
|
|
69
|
+
# The actions taken by the rule for this event.
|
|
70
|
+
#
|
|
71
|
+
# @return [Array<Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction>, nil]
|
|
72
|
+
optional :actions,
|
|
73
|
+
-> { Lithic::Internal::Type::ArrayOf[union: Lithic::AuthRules::ReportStats::Example::Action] }
|
|
74
|
+
|
|
75
|
+
# @!attribute approved
|
|
76
|
+
# @deprecated
|
|
77
|
+
#
|
|
78
|
+
# Whether the rule would have approved the request.
|
|
79
|
+
#
|
|
80
|
+
# @return [Boolean, nil]
|
|
81
|
+
optional :approved, Lithic::Internal::Type::Boolean
|
|
82
|
+
|
|
83
|
+
# @!attribute decision
|
|
84
|
+
# @deprecated
|
|
85
|
+
#
|
|
86
|
+
# The decision made by the rule for this event.
|
|
87
|
+
#
|
|
88
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Decision, nil]
|
|
89
|
+
optional :decision, enum: -> { Lithic::AuthRules::ReportStats::Example::Decision }
|
|
90
|
+
|
|
91
|
+
# @!attribute event_token
|
|
92
|
+
# The event token.
|
|
93
|
+
#
|
|
94
|
+
# @return [String, nil]
|
|
95
|
+
optional :event_token, String
|
|
96
|
+
|
|
97
|
+
# @!attribute timestamp
|
|
98
|
+
# The timestamp of the event.
|
|
99
|
+
#
|
|
100
|
+
# @return [Time, nil]
|
|
101
|
+
optional :timestamp, Time
|
|
102
|
+
|
|
103
|
+
# @!method initialize(actions: nil, approved: nil, decision: nil, event_token: nil, timestamp: nil)
|
|
104
|
+
# @param actions [Array<Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction>] The actions taken by the rule for this event.
|
|
105
|
+
#
|
|
106
|
+
# @param approved [Boolean] Whether the rule would have approved the request.
|
|
107
|
+
#
|
|
108
|
+
# @param decision [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Decision] The decision made by the rule for this event.
|
|
109
|
+
#
|
|
110
|
+
# @param event_token [String] The event token.
|
|
111
|
+
#
|
|
112
|
+
# @param timestamp [Time] The timestamp of the event.
|
|
113
|
+
|
|
114
|
+
module Action
|
|
115
|
+
extend Lithic::Internal::Type::Union
|
|
116
|
+
|
|
117
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization }
|
|
118
|
+
|
|
119
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization }
|
|
120
|
+
|
|
121
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction }
|
|
122
|
+
|
|
123
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization }
|
|
124
|
+
|
|
125
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction }
|
|
126
|
+
|
|
127
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH }
|
|
128
|
+
|
|
129
|
+
variant -> { Lithic::AuthRules::ReportStats::Example::Action::ReturnAction }
|
|
130
|
+
|
|
131
|
+
class DeclineActionAuthorization < Lithic::Internal::Type::BaseModel
|
|
132
|
+
# @!attribute code
|
|
133
|
+
# The detailed result code explaining the specific reason for the decline
|
|
134
|
+
#
|
|
135
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code]
|
|
136
|
+
required :code,
|
|
137
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code }
|
|
138
|
+
|
|
139
|
+
# @!attribute type
|
|
140
|
+
#
|
|
141
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type]
|
|
142
|
+
required :type,
|
|
143
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type }
|
|
144
|
+
|
|
145
|
+
# @!method initialize(code:, type:)
|
|
146
|
+
# @param code [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code] The detailed result code explaining the specific reason for the decline
|
|
147
|
+
#
|
|
148
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type]
|
|
149
|
+
|
|
150
|
+
# The detailed result code explaining the specific reason for the decline
|
|
151
|
+
#
|
|
152
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization#code
|
|
153
|
+
module Code
|
|
154
|
+
extend Lithic::Internal::Type::Enum
|
|
155
|
+
|
|
156
|
+
ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED
|
|
157
|
+
ACCOUNT_DELINQUENT = :ACCOUNT_DELINQUENT
|
|
158
|
+
ACCOUNT_INACTIVE = :ACCOUNT_INACTIVE
|
|
159
|
+
ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED = :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
|
|
160
|
+
ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED = :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
|
|
161
|
+
ACCOUNT_PAUSED = :ACCOUNT_PAUSED
|
|
162
|
+
ACCOUNT_UNDER_REVIEW = :ACCOUNT_UNDER_REVIEW
|
|
163
|
+
ADDRESS_INCORRECT = :ADDRESS_INCORRECT
|
|
164
|
+
APPROVED = :APPROVED
|
|
165
|
+
AUTH_RULE_ALLOWED_COUNTRY = :AUTH_RULE_ALLOWED_COUNTRY
|
|
166
|
+
AUTH_RULE_ALLOWED_MCC = :AUTH_RULE_ALLOWED_MCC
|
|
167
|
+
AUTH_RULE_BLOCKED_COUNTRY = :AUTH_RULE_BLOCKED_COUNTRY
|
|
168
|
+
AUTH_RULE_BLOCKED_MCC = :AUTH_RULE_BLOCKED_MCC
|
|
169
|
+
AUTH_RULE = :AUTH_RULE
|
|
170
|
+
CARD_CLOSED = :CARD_CLOSED
|
|
171
|
+
CARD_CRYPTOGRAM_VALIDATION_FAILURE = :CARD_CRYPTOGRAM_VALIDATION_FAILURE
|
|
172
|
+
CARD_EXPIRED = :CARD_EXPIRED
|
|
173
|
+
CARD_EXPIRY_DATE_INCORRECT = :CARD_EXPIRY_DATE_INCORRECT
|
|
174
|
+
CARD_INVALID = :CARD_INVALID
|
|
175
|
+
CARD_NOT_ACTIVATED = :CARD_NOT_ACTIVATED
|
|
176
|
+
CARD_PAUSED = :CARD_PAUSED
|
|
177
|
+
CARD_PIN_INCORRECT = :CARD_PIN_INCORRECT
|
|
178
|
+
CARD_RESTRICTED = :CARD_RESTRICTED
|
|
179
|
+
CARD_SECURITY_CODE_INCORRECT = :CARD_SECURITY_CODE_INCORRECT
|
|
180
|
+
CARD_SPEND_LIMIT_EXCEEDED = :CARD_SPEND_LIMIT_EXCEEDED
|
|
181
|
+
CONTACT_CARD_ISSUER = :CONTACT_CARD_ISSUER
|
|
182
|
+
CUSTOMER_ASA_TIMEOUT = :CUSTOMER_ASA_TIMEOUT
|
|
183
|
+
CUSTOM_ASA_RESULT = :CUSTOM_ASA_RESULT
|
|
184
|
+
DECLINED = :DECLINED
|
|
185
|
+
DO_NOT_HONOR = :DO_NOT_HONOR
|
|
186
|
+
DRIVER_NUMBER_INVALID = :DRIVER_NUMBER_INVALID
|
|
187
|
+
FORMAT_ERROR = :FORMAT_ERROR
|
|
188
|
+
INSUFFICIENT_FUNDING_SOURCE_BALANCE = :INSUFFICIENT_FUNDING_SOURCE_BALANCE
|
|
189
|
+
INSUFFICIENT_FUNDS = :INSUFFICIENT_FUNDS
|
|
190
|
+
LITHIC_SYSTEM_ERROR = :LITHIC_SYSTEM_ERROR
|
|
191
|
+
LITHIC_SYSTEM_RATE_LIMIT = :LITHIC_SYSTEM_RATE_LIMIT
|
|
192
|
+
MALFORMED_ASA_RESPONSE = :MALFORMED_ASA_RESPONSE
|
|
193
|
+
MERCHANT_INVALID = :MERCHANT_INVALID
|
|
194
|
+
MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE = :MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE
|
|
195
|
+
MERCHANT_NOT_PERMITTED = :MERCHANT_NOT_PERMITTED
|
|
196
|
+
OVER_REVERSAL_ATTEMPTED = :OVER_REVERSAL_ATTEMPTED
|
|
197
|
+
PIN_BLOCKED = :PIN_BLOCKED
|
|
198
|
+
PROGRAM_CARD_SPEND_LIMIT_EXCEEDED = :PROGRAM_CARD_SPEND_LIMIT_EXCEEDED
|
|
199
|
+
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
|
200
|
+
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
|
201
|
+
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
|
202
|
+
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
|
203
|
+
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
|
204
|
+
SUSPECTED_FRAUD = :SUSPECTED_FRAUD
|
|
205
|
+
TRANSACTION_INVALID = :TRANSACTION_INVALID
|
|
206
|
+
TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL = :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL
|
|
207
|
+
TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER = :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER
|
|
208
|
+
TRANSACTION_PREVIOUSLY_COMPLETED = :TRANSACTION_PREVIOUSLY_COMPLETED
|
|
209
|
+
UNAUTHORIZED_MERCHANT = :UNAUTHORIZED_MERCHANT
|
|
210
|
+
VEHICLE_NUMBER_INVALID = :VEHICLE_NUMBER_INVALID
|
|
211
|
+
CARDHOLDER_CHALLENGED = :CARDHOLDER_CHALLENGED
|
|
212
|
+
CARDHOLDER_CHALLENGE_FAILED = :CARDHOLDER_CHALLENGE_FAILED
|
|
213
|
+
|
|
214
|
+
# @!method self.values
|
|
215
|
+
# @return [Array<Symbol>]
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization#type
|
|
219
|
+
module Type
|
|
220
|
+
extend Lithic::Internal::Type::Enum
|
|
221
|
+
|
|
222
|
+
DECLINE = :DECLINE
|
|
223
|
+
|
|
224
|
+
# @!method self.values
|
|
225
|
+
# @return [Array<Symbol>]
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
class ChallengeActionAuthorization < Lithic::Internal::Type::BaseModel
|
|
230
|
+
# @!attribute type
|
|
231
|
+
#
|
|
232
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type]
|
|
233
|
+
required :type,
|
|
234
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type }
|
|
235
|
+
|
|
236
|
+
# @!method initialize(type:)
|
|
237
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type]
|
|
238
|
+
|
|
239
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization#type
|
|
240
|
+
module Type
|
|
241
|
+
extend Lithic::Internal::Type::Enum
|
|
242
|
+
|
|
243
|
+
CHALLENGE = :CHALLENGE
|
|
244
|
+
|
|
245
|
+
# @!method self.values
|
|
246
|
+
# @return [Array<Symbol>]
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
class ResultAuthentication3DSAction < Lithic::Internal::Type::BaseModel
|
|
251
|
+
# @!attribute type
|
|
252
|
+
#
|
|
253
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type]
|
|
254
|
+
required :type,
|
|
255
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type }
|
|
256
|
+
|
|
257
|
+
# @!method initialize(type:)
|
|
258
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type]
|
|
259
|
+
|
|
260
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction#type
|
|
261
|
+
module Type
|
|
262
|
+
extend Lithic::Internal::Type::Enum
|
|
263
|
+
|
|
264
|
+
DECLINE = :DECLINE
|
|
265
|
+
CHALLENGE = :CHALLENGE
|
|
266
|
+
|
|
267
|
+
# @!method self.values
|
|
268
|
+
# @return [Array<Symbol>]
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
class DeclineActionTokenization < Lithic::Internal::Type::BaseModel
|
|
273
|
+
# @!attribute type
|
|
274
|
+
# Decline the tokenization request
|
|
275
|
+
#
|
|
276
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type]
|
|
277
|
+
required :type,
|
|
278
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type }
|
|
279
|
+
|
|
280
|
+
# @!attribute reason
|
|
281
|
+
# Reason code for declining the tokenization request
|
|
282
|
+
#
|
|
283
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason, nil]
|
|
284
|
+
optional :reason,
|
|
285
|
+
enum: -> { Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason }
|
|
286
|
+
|
|
287
|
+
# @!method initialize(type:, reason: nil)
|
|
288
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type] Decline the tokenization request
|
|
289
|
+
#
|
|
290
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason] Reason code for declining the tokenization request
|
|
291
|
+
|
|
292
|
+
# Decline the tokenization request
|
|
293
|
+
#
|
|
294
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization#type
|
|
295
|
+
module Type
|
|
296
|
+
extend Lithic::Internal::Type::Enum
|
|
297
|
+
|
|
298
|
+
DECLINE = :DECLINE
|
|
299
|
+
|
|
300
|
+
# @!method self.values
|
|
301
|
+
# @return [Array<Symbol>]
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# Reason code for declining the tokenization request
|
|
305
|
+
#
|
|
306
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization#reason
|
|
307
|
+
module Reason
|
|
308
|
+
extend Lithic::Internal::Type::Enum
|
|
309
|
+
|
|
310
|
+
ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
|
|
311
|
+
DEVICE_SCORE_1 = :DEVICE_SCORE_1
|
|
312
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
313
|
+
WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
|
|
314
|
+
CVC_MISMATCH = :CVC_MISMATCH
|
|
315
|
+
CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
|
|
316
|
+
CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
|
|
317
|
+
CARD_INVALID_STATE = :CARD_INVALID_STATE
|
|
318
|
+
CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
|
|
319
|
+
INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
|
|
320
|
+
NETWORK_FAILURE = :NETWORK_FAILURE
|
|
321
|
+
GENERIC_DECLINE = :GENERIC_DECLINE
|
|
322
|
+
DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
|
|
323
|
+
|
|
324
|
+
# @!method self.values
|
|
325
|
+
# @return [Array<Symbol>]
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
330
|
+
# @!attribute type
|
|
331
|
+
# Require two-factor authentication for the tokenization request
|
|
332
|
+
#
|
|
333
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type]
|
|
334
|
+
required :type, enum: -> { Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type }
|
|
335
|
+
|
|
336
|
+
# @!attribute reason
|
|
337
|
+
# Reason code for requiring two-factor authentication
|
|
338
|
+
#
|
|
339
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason, nil]
|
|
340
|
+
optional :reason, enum: -> { Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason }
|
|
341
|
+
|
|
342
|
+
# @!method initialize(type:, reason: nil)
|
|
343
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type] Require two-factor authentication for the tokenization request
|
|
344
|
+
#
|
|
345
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason] Reason code for requiring two-factor authentication
|
|
346
|
+
|
|
347
|
+
# Require two-factor authentication for the tokenization request
|
|
348
|
+
#
|
|
349
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction#type
|
|
350
|
+
module Type
|
|
351
|
+
extend Lithic::Internal::Type::Enum
|
|
352
|
+
|
|
353
|
+
REQUIRE_TFA = :REQUIRE_TFA
|
|
354
|
+
|
|
355
|
+
# @!method self.values
|
|
356
|
+
# @return [Array<Symbol>]
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
# Reason code for requiring two-factor authentication
|
|
360
|
+
#
|
|
361
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction#reason
|
|
362
|
+
module Reason
|
|
363
|
+
extend Lithic::Internal::Type::Enum
|
|
364
|
+
|
|
365
|
+
WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
|
|
366
|
+
SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
|
|
367
|
+
DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
|
|
368
|
+
TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
|
|
369
|
+
TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
|
|
370
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
371
|
+
OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
|
|
372
|
+
HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
|
|
373
|
+
HIGH_RISK = :HIGH_RISK
|
|
374
|
+
ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
|
|
375
|
+
DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
|
|
376
|
+
CARD_STATE_TFA = :CARD_STATE_TFA
|
|
377
|
+
HARDCODED_TFA = :HARDCODED_TFA
|
|
378
|
+
CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
|
|
379
|
+
DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
|
|
380
|
+
|
|
381
|
+
# @!method self.values
|
|
382
|
+
# @return [Array<Symbol>]
|
|
383
|
+
end
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
class ApproveActionACH < Lithic::Internal::Type::BaseModel
|
|
387
|
+
# @!attribute type
|
|
388
|
+
# Approve the ACH transaction
|
|
389
|
+
#
|
|
390
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type]
|
|
391
|
+
required :type, enum: -> { Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type }
|
|
392
|
+
|
|
393
|
+
# @!method initialize(type:)
|
|
394
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type] Approve the ACH transaction
|
|
395
|
+
|
|
396
|
+
# Approve the ACH transaction
|
|
397
|
+
#
|
|
398
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH#type
|
|
399
|
+
module Type
|
|
400
|
+
extend Lithic::Internal::Type::Enum
|
|
401
|
+
|
|
402
|
+
APPROVE = :APPROVE
|
|
403
|
+
|
|
404
|
+
# @!method self.values
|
|
405
|
+
# @return [Array<Symbol>]
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
class ReturnAction < Lithic::Internal::Type::BaseModel
|
|
410
|
+
# @!attribute code
|
|
411
|
+
# NACHA return code to use when returning the transaction. Note that the list of
|
|
412
|
+
# available return codes is subject to an allowlist configured at the program
|
|
413
|
+
# level
|
|
414
|
+
#
|
|
415
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction::Code]
|
|
416
|
+
required :code, enum: -> { Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code }
|
|
417
|
+
|
|
418
|
+
# @!attribute type
|
|
419
|
+
# Return the ACH transaction
|
|
420
|
+
#
|
|
421
|
+
# @return [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction::Type]
|
|
422
|
+
required :type, enum: -> { Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type }
|
|
423
|
+
|
|
424
|
+
# @!method initialize(code:, type:)
|
|
425
|
+
# Some parameter documentations has been truncated, see
|
|
426
|
+
# {Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction} for more
|
|
427
|
+
# details.
|
|
428
|
+
#
|
|
429
|
+
# @param code [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction::Code] NACHA return code to use when returning the transaction. Note that the list of a
|
|
430
|
+
#
|
|
431
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction::Type] Return the ACH transaction
|
|
432
|
+
|
|
433
|
+
# NACHA return code to use when returning the transaction. Note that the list of
|
|
434
|
+
# available return codes is subject to an allowlist configured at the program
|
|
435
|
+
# level
|
|
436
|
+
#
|
|
437
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction#code
|
|
438
|
+
module Code
|
|
439
|
+
extend Lithic::Internal::Type::Enum
|
|
440
|
+
|
|
441
|
+
R01 = :R01
|
|
442
|
+
R02 = :R02
|
|
443
|
+
R03 = :R03
|
|
444
|
+
R04 = :R04
|
|
445
|
+
R05 = :R05
|
|
446
|
+
R06 = :R06
|
|
447
|
+
R07 = :R07
|
|
448
|
+
R08 = :R08
|
|
449
|
+
R09 = :R09
|
|
450
|
+
R10 = :R10
|
|
451
|
+
R11 = :R11
|
|
452
|
+
R12 = :R12
|
|
453
|
+
R13 = :R13
|
|
454
|
+
R14 = :R14
|
|
455
|
+
R15 = :R15
|
|
456
|
+
R16 = :R16
|
|
457
|
+
R17 = :R17
|
|
458
|
+
R18 = :R18
|
|
459
|
+
R19 = :R19
|
|
460
|
+
R20 = :R20
|
|
461
|
+
R21 = :R21
|
|
462
|
+
R22 = :R22
|
|
463
|
+
R23 = :R23
|
|
464
|
+
R24 = :R24
|
|
465
|
+
R25 = :R25
|
|
466
|
+
R26 = :R26
|
|
467
|
+
R27 = :R27
|
|
468
|
+
R28 = :R28
|
|
469
|
+
R29 = :R29
|
|
470
|
+
R30 = :R30
|
|
471
|
+
R31 = :R31
|
|
472
|
+
R32 = :R32
|
|
473
|
+
R33 = :R33
|
|
474
|
+
R34 = :R34
|
|
475
|
+
R35 = :R35
|
|
476
|
+
R36 = :R36
|
|
477
|
+
R37 = :R37
|
|
478
|
+
R38 = :R38
|
|
479
|
+
R39 = :R39
|
|
480
|
+
R40 = :R40
|
|
481
|
+
R41 = :R41
|
|
482
|
+
R42 = :R42
|
|
483
|
+
R43 = :R43
|
|
484
|
+
R44 = :R44
|
|
485
|
+
R45 = :R45
|
|
486
|
+
R46 = :R46
|
|
487
|
+
R47 = :R47
|
|
488
|
+
R50 = :R50
|
|
489
|
+
R51 = :R51
|
|
490
|
+
R52 = :R52
|
|
491
|
+
R53 = :R53
|
|
492
|
+
R61 = :R61
|
|
493
|
+
R62 = :R62
|
|
494
|
+
R67 = :R67
|
|
495
|
+
R68 = :R68
|
|
496
|
+
R69 = :R69
|
|
497
|
+
R70 = :R70
|
|
498
|
+
R71 = :R71
|
|
499
|
+
R72 = :R72
|
|
500
|
+
R73 = :R73
|
|
501
|
+
R74 = :R74
|
|
502
|
+
R75 = :R75
|
|
503
|
+
R76 = :R76
|
|
504
|
+
R77 = :R77
|
|
505
|
+
R80 = :R80
|
|
506
|
+
R81 = :R81
|
|
507
|
+
R82 = :R82
|
|
508
|
+
R83 = :R83
|
|
509
|
+
R84 = :R84
|
|
510
|
+
R85 = :R85
|
|
511
|
+
|
|
512
|
+
# @!method self.values
|
|
513
|
+
# @return [Array<Symbol>]
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
# Return the ACH transaction
|
|
517
|
+
#
|
|
518
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction#type
|
|
519
|
+
module Type
|
|
520
|
+
extend Lithic::Internal::Type::Enum
|
|
521
|
+
|
|
522
|
+
RETURN = :RETURN
|
|
523
|
+
|
|
524
|
+
# @!method self.values
|
|
525
|
+
# @return [Array<Symbol>]
|
|
526
|
+
end
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# @!method self.variants
|
|
530
|
+
# @return [Array(Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization, Lithic::Models::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction, Lithic::Models::AuthRules::ReportStats::Example::Action::DeclineActionTokenization, Lithic::Models::AuthRules::ReportStats::Example::Action::RequireTfaAction, Lithic::Models::AuthRules::ReportStats::Example::Action::ApproveActionACH, Lithic::Models::AuthRules::ReportStats::Example::Action::ReturnAction)]
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# @deprecated
|
|
534
|
+
#
|
|
535
|
+
# The decision made by the rule for this event.
|
|
536
|
+
#
|
|
537
|
+
# @see Lithic::Models::AuthRules::ReportStats::Example#decision
|
|
538
|
+
module Decision
|
|
539
|
+
extend Lithic::Internal::Type::Enum
|
|
540
|
+
|
|
541
|
+
APPROVED = :APPROVED
|
|
542
|
+
DECLINED = :DECLINED
|
|
543
|
+
CHALLENGED = :CHALLENGED
|
|
544
|
+
|
|
545
|
+
# @!method self.values
|
|
546
|
+
# @return [Array<Symbol>]
|
|
547
|
+
end
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
end
|
|
@@ -9,6 +9,11 @@ module Lithic
|
|
|
9
9
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Lithic::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute auth_rule_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :auth_rule_token, String
|
|
16
|
+
|
|
12
17
|
# @!attribute end_
|
|
13
18
|
# The end time of the backtest.
|
|
14
19
|
#
|
|
@@ -21,7 +26,9 @@ module Lithic
|
|
|
21
26
|
# @return [Time, nil]
|
|
22
27
|
optional :start, Time
|
|
23
28
|
|
|
24
|
-
# @!method initialize(end_: nil, start: nil, request_options: {})
|
|
29
|
+
# @!method initialize(auth_rule_token:, end_: nil, start: nil, request_options: {})
|
|
30
|
+
# @param auth_rule_token [String]
|
|
31
|
+
#
|
|
25
32
|
# @param end_ [Time] The end time of the backtest.
|
|
26
33
|
#
|
|
27
34
|
# @param start [Time] The start time of the backtest.
|
|
@@ -33,17 +33,17 @@ module Lithic
|
|
|
33
33
|
class Results < Lithic::Internal::Type::BaseModel
|
|
34
34
|
# @!attribute current_version
|
|
35
35
|
#
|
|
36
|
-
# @return [Lithic::Models::AuthRules::
|
|
37
|
-
optional :current_version, -> { Lithic::AuthRules::
|
|
36
|
+
# @return [Lithic::Models::AuthRules::BacktestStats, nil]
|
|
37
|
+
optional :current_version, -> { Lithic::AuthRules::BacktestStats }, nil?: true
|
|
38
38
|
|
|
39
39
|
# @!attribute draft_version
|
|
40
40
|
#
|
|
41
|
-
# @return [Lithic::Models::AuthRules::
|
|
42
|
-
optional :draft_version, -> { Lithic::AuthRules::
|
|
41
|
+
# @return [Lithic::Models::AuthRules::BacktestStats, nil]
|
|
42
|
+
optional :draft_version, -> { Lithic::AuthRules::BacktestStats }, nil?: true
|
|
43
43
|
|
|
44
44
|
# @!method initialize(current_version: nil, draft_version: nil)
|
|
45
|
-
# @param current_version [Lithic::Models::AuthRules::
|
|
46
|
-
# @param draft_version [Lithic::Models::AuthRules::
|
|
45
|
+
# @param current_version [Lithic::Models::AuthRules::BacktestStats, nil]
|
|
46
|
+
# @param draft_version [Lithic::Models::AuthRules::BacktestStats, nil]
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @see Lithic::Models::AuthRules::V2::BacktestResults#simulation_parameters
|
|
@@ -14,8 +14,14 @@ module Lithic
|
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :auth_rule_token, String
|
|
16
16
|
|
|
17
|
-
# @!
|
|
17
|
+
# @!attribute auth_rule_backtest_token
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :auth_rule_backtest_token, String
|
|
21
|
+
|
|
22
|
+
# @!method initialize(auth_rule_token:, auth_rule_backtest_token:, request_options: {})
|
|
18
23
|
# @param auth_rule_token [String]
|
|
24
|
+
# @param auth_rule_backtest_token [String]
|
|
19
25
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
20
26
|
end
|
|
21
27
|
end
|