lithic 0.6.0 → 0.8.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 +52 -0
- data/README.md +3 -3
- data/lib/lithic/client.rb +11 -0
- data/lib/lithic/internal/util.rb +31 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +8 -2
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +8 -2
- 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/entity_create_params.rb +8 -1
- data/lib/lithic/models/account_holders/entity_delete_params.rb +7 -1
- 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 +84 -8
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +92 -0
- 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_tokenization_action_parameters.rb +13 -13
- data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
- data/lib/lithic/models/auth_rules/rule_feature.rb +231 -0
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +33 -0
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +15 -23
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +378 -113
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +14 -4
- 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_list_versions_params.rb +22 -0
- data/lib/lithic/models/auth_rules/v2_list_versions_response.rb +18 -0
- 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_features_response.rb +3 -83
- 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 +531 -7
- data/lib/lithic/models/auth_rules/v2_update_params.rb +199 -66
- data/lib/lithic/models/auth_rules/velocity_limit_filters.rb +87 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -84
- 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 +69 -59
- data/lib/lithic/models/dispute_create_params.rb +11 -11
- 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_list_params.rb +3 -3
- 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 +17 -10
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
- data/lib/lithic/models/event.rb +0 -7
- data/lib/lithic/models/event_list_attempts_params.rb +8 -1
- data/lib/lithic/models/event_list_params.rb +0 -4
- data/lib/lithic/models/event_retrieve_params.rb +7 -1
- data/lib/lithic/models/event_subscription.rb +0 -4
- data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
- data/lib/lithic/models/events/subscription_create_params.rb +0 -4
- 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 -2
- data/lib/lithic/models/events/subscription_update_params.rb +8 -5
- 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_list_params.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 +8 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
- 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 +9 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +8 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +7 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +16 -1
- data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
- 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/financial_accounts/statements/statement_line_items.rb +27 -2
- 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/hold.rb +147 -0
- data/lib/lithic/models/hold_create_params.rb +61 -0
- data/lib/lithic/models/hold_event.rb +110 -0
- data/lib/lithic/models/hold_list_params.rb +89 -0
- data/lib/lithic/models/hold_retrieve_params.rb +20 -0
- data/lib/lithic/models/hold_void_params.rb +29 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- 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 +3 -15
- data/lib/lithic/models/payment.rb +76 -12
- 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 +9 -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/tokenization_activate_params.rb +7 -1
- data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
- 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 +12 -2
- data/lib/lithic/resources/account_activity.rb +4 -3
- data/lib/lithic/resources/account_holders/entities.rb +4 -4
- data/lib/lithic/resources/account_holders.rb +9 -83
- data/lib/lithic/resources/accounts.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2.rb +44 -53
- 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 +25 -23
- 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 +8 -3
- 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 +2 -1
- data/lib/lithic/resources/funding_events.rb +2 -1
- data/lib/lithic/resources/holds.rb +132 -0
- 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/resources/webhooks.rb +2 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -2
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/internal/util.rbi +20 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +14 -2
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +14 -2
- 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/entity_create_params.rbi +6 -0
- data/rbi/lithic/models/account_holders/entity_delete_params.rbi +6 -1
- 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 +128 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +142 -0
- 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_tokenization_action_parameters.rbi +31 -31
- data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +414 -0
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +94 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +23 -43
- data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +744 -181
- data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -4
- 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_list_versions_params.rbi +40 -0
- data/rbi/lithic/models/auth_rules/v2_list_versions_response.rbi +36 -0
- 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_features_response.rbi +4 -209
- 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 +1698 -9
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +415 -101
- data/rbi/lithic/models/auth_rules/velocity_limit_filters.rbi +205 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +4 -206
- 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 +154 -142
- data/rbi/lithic/models/dispute_create_params.rbi +11 -11
- 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_list_params.rbi +3 -3
- 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 +15 -9
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event.rbi +0 -14
- data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
- data/rbi/lithic/models/event_list_params.rbi +0 -8
- data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
- data/rbi/lithic/models/event_subscription.rbi +0 -8
- data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +0 -8
- 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 -5
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -8
- 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_list_params.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 +6 -0
- data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -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 +11 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +16 -5
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +6 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +10 -1
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +21 -5
- data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
- data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -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/financial_accounts/statements/statement_line_items.rbi +38 -3
- 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/hold.rbi +183 -0
- data/rbi/lithic/models/hold_create_params.rbi +90 -0
- data/rbi/lithic/models/hold_event.rbi +148 -0
- data/rbi/lithic/models/hold_list_params.rbi +137 -0
- data/rbi/lithic/models/hold_retrieve_params.rbi +35 -0
- data/rbi/lithic/models/hold_void_params.rbi +49 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- 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 -18
- data/rbi/lithic/models/payment.rbi +139 -13
- 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 +11 -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/tokenization_activate_params.rbi +16 -5
- data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
- 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 +12 -3
- data/rbi/lithic/resources/account_holders/entities.rbi +4 -4
- data/rbi/lithic/resources/account_holders.rbi +16 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +36 -80
- data/rbi/lithic/resources/disputes.rbi +21 -21
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -0
- data/rbi/lithic/resources/holds.rbi +111 -0
- data/rbi/lithic/resources/payments.rbi +3 -0
- data/rbi/lithic/resources/webhooks.rbi +8 -2
- data/sig/lithic/client.rbs +5 -0
- data/sig/lithic/internal/util.rbs +10 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +5 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +5 -0
- 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/entity_create_params.rbs +5 -0
- data/sig/lithic/models/account_holders/entity_delete_params.rbs +5 -1
- 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/auth_rule.rbs +42 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +67 -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/rule_feature.rbs +173 -0
- data/sig/lithic/models/auth_rules/typescript_code_parameters.rbs +27 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +13 -26
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +261 -74
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +9 -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_list_versions_params.rbs +25 -0
- data/sig/lithic/models/auth_rules/v2_list_versions_response.rbs +18 -0
- 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_features_response.rbs +4 -80
- 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 +663 -8
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +168 -47
- data/sig/lithic/models/auth_rules/velocity_limit_filters.rbs +81 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +6 -82
- 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 +38 -38
- 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.rbs +0 -2
- data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
- data/sig/lithic/models/event_list_params.rbs +0 -2
- data/sig/lithic/models/event_retrieve_params.rbs +11 -3
- data/sig/lithic/models/event_subscription.rbs +0 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
- data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
- 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 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +5 -2
- 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_list_params.rbs +7 -1
- 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 +5 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
- 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 +7 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +14 -3
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +10 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +5 -1
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +17 -1
- data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +12 -3
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
- 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/financial_accounts/statements/statement_line_items.rbs +17 -3
- 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/hold.rbs +137 -0
- data/sig/lithic/models/hold_create_params.rbs +57 -0
- data/sig/lithic/models/hold_event.rbs +91 -0
- data/sig/lithic/models/hold_list_params.rbs +83 -0
- data/sig/lithic/models/hold_retrieve_params.rbs +23 -0
- data/sig/lithic/models/hold_void_params.rbs +28 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- 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 -10
- data/sig/lithic/models/payment.rbs +23 -8
- 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 +7 -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/tokenization_activate_params.rbs +12 -3
- data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
- 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 +12 -2
- data/sig/lithic/resources/account_holders.rbs +2 -36
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -16
- data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +2 -0
- data/sig/lithic/resources/holds.rbs +39 -0
- data/sig/lithic/resources/payments.rbs +1 -0
- data/sig/lithic/resources/webhooks.rbs +0 -1
- metadata +47 -8
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +0 -159
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +0 -331
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +0 -130
|
@@ -8,84 +8,217 @@ module Lithic
|
|
|
8
8
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!attribute
|
|
12
|
-
# Account tokens to which the Auth Rule applies.
|
|
11
|
+
# @!attribute auth_rule_token
|
|
13
12
|
#
|
|
14
|
-
# @return [
|
|
15
|
-
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :auth_rule_token, String
|
|
16
15
|
|
|
17
|
-
# @!attribute
|
|
18
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
16
|
+
# @!attribute body
|
|
19
17
|
#
|
|
20
|
-
# @return [
|
|
21
|
-
|
|
18
|
+
# @return [Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
|
|
19
|
+
required :body, union: -> { Lithic::AuthRules::V2UpdateParams::Body }
|
|
22
20
|
|
|
23
|
-
# @!
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
# @
|
|
27
|
-
optional :name, String, nil?: true
|
|
21
|
+
# @!method initialize(auth_rule_token:, body:, request_options: {})
|
|
22
|
+
# @param auth_rule_token [String]
|
|
23
|
+
# @param body [Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule]
|
|
24
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#
|
|
32
|
-
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
33
|
-
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
34
|
-
# should be used to promote a draft to the currently active version.
|
|
35
|
-
#
|
|
36
|
-
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State, nil]
|
|
37
|
-
optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::State }
|
|
26
|
+
module Body
|
|
27
|
+
extend Lithic::Internal::Type::Union
|
|
38
28
|
|
|
39
|
-
|
|
40
|
-
# Card tokens to which the Auth Rule applies.
|
|
41
|
-
#
|
|
42
|
-
# @return [Array<String>, nil]
|
|
43
|
-
optional :card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
29
|
+
variant -> { Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule }
|
|
44
30
|
|
|
45
|
-
|
|
46
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
47
|
-
#
|
|
48
|
-
# @return [Array<String>, nil]
|
|
49
|
-
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
31
|
+
variant -> { Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule }
|
|
50
32
|
|
|
51
|
-
|
|
52
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
53
|
-
#
|
|
54
|
-
# @return [Boolean, nil]
|
|
55
|
-
optional :program_level, Lithic::Internal::Type::Boolean
|
|
33
|
+
variant -> { Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule }
|
|
56
34
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
# @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
|
|
64
|
-
#
|
|
65
|
-
# @param name [String, nil] Auth Rule Name
|
|
66
|
-
#
|
|
67
|
-
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::State] The desired state of the Auth Rule.
|
|
68
|
-
#
|
|
69
|
-
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
|
|
70
|
-
#
|
|
71
|
-
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
|
|
72
|
-
#
|
|
73
|
-
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
|
74
|
-
#
|
|
75
|
-
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
35
|
+
class AccountLevelRule < Lithic::Internal::Type::BaseModel
|
|
36
|
+
# @!attribute account_tokens
|
|
37
|
+
# Account tokens to which the Auth Rule applies.
|
|
38
|
+
#
|
|
39
|
+
# @return [Array<String>, nil]
|
|
40
|
+
optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
76
41
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
42
|
+
# @!attribute business_account_tokens
|
|
43
|
+
# Business Account tokens to which the Auth Rule applies.
|
|
44
|
+
#
|
|
45
|
+
# @return [Array<String>, nil]
|
|
46
|
+
optional :business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
47
|
+
|
|
48
|
+
# @!attribute name
|
|
49
|
+
# Auth Rule Name
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :name, String, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!attribute state
|
|
55
|
+
# The desired state of the Auth Rule.
|
|
56
|
+
#
|
|
57
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
58
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
59
|
+
# should be used to promote a draft to the currently active version.
|
|
60
|
+
#
|
|
61
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule::State, nil]
|
|
62
|
+
optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State }
|
|
63
|
+
|
|
64
|
+
# @!method initialize(account_tokens: nil, business_account_tokens: nil, name: nil, state: nil)
|
|
65
|
+
# Some parameter documentations has been truncated, see
|
|
66
|
+
# {Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule} for more
|
|
67
|
+
# details.
|
|
68
|
+
#
|
|
69
|
+
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
|
|
70
|
+
#
|
|
71
|
+
# @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
|
|
72
|
+
#
|
|
73
|
+
# @param name [String, nil] Auth Rule Name
|
|
74
|
+
#
|
|
75
|
+
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule::State] The desired state of the Auth Rule.
|
|
76
|
+
|
|
77
|
+
# The desired state of the Auth Rule.
|
|
78
|
+
#
|
|
79
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
80
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
81
|
+
# should be used to promote a draft to the currently active version.
|
|
82
|
+
#
|
|
83
|
+
# @see Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule#state
|
|
84
|
+
module State
|
|
85
|
+
extend Lithic::Internal::Type::Enum
|
|
86
|
+
|
|
87
|
+
INACTIVE = :INACTIVE
|
|
88
|
+
|
|
89
|
+
# @!method self.values
|
|
90
|
+
# @return [Array<Symbol>]
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
class CardLevelRule < Lithic::Internal::Type::BaseModel
|
|
95
|
+
# @!attribute card_tokens
|
|
96
|
+
# Card tokens to which the Auth Rule applies.
|
|
97
|
+
#
|
|
98
|
+
# @return [Array<String>, nil]
|
|
99
|
+
optional :card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
100
|
+
|
|
101
|
+
# @!attribute name
|
|
102
|
+
# Auth Rule Name
|
|
103
|
+
#
|
|
104
|
+
# @return [String, nil]
|
|
105
|
+
optional :name, String, nil?: true
|
|
106
|
+
|
|
107
|
+
# @!attribute state
|
|
108
|
+
# The desired state of the Auth Rule.
|
|
109
|
+
#
|
|
110
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
111
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
112
|
+
# should be used to promote a draft to the currently active version.
|
|
113
|
+
#
|
|
114
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule::State, nil]
|
|
115
|
+
optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State }
|
|
116
|
+
|
|
117
|
+
# @!method initialize(card_tokens: nil, name: nil, state: nil)
|
|
118
|
+
# Some parameter documentations has been truncated, see
|
|
119
|
+
# {Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule} for more
|
|
120
|
+
# details.
|
|
121
|
+
#
|
|
122
|
+
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
|
|
123
|
+
#
|
|
124
|
+
# @param name [String, nil] Auth Rule Name
|
|
125
|
+
#
|
|
126
|
+
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule::State] The desired state of the Auth Rule.
|
|
127
|
+
|
|
128
|
+
# The desired state of the Auth Rule.
|
|
129
|
+
#
|
|
130
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
131
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
132
|
+
# should be used to promote a draft to the currently active version.
|
|
133
|
+
#
|
|
134
|
+
# @see Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule#state
|
|
135
|
+
module State
|
|
136
|
+
extend Lithic::Internal::Type::Enum
|
|
137
|
+
|
|
138
|
+
INACTIVE = :INACTIVE
|
|
139
|
+
|
|
140
|
+
# @!method self.values
|
|
141
|
+
# @return [Array<Symbol>]
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ProgramLevelRule < Lithic::Internal::Type::BaseModel
|
|
146
|
+
# @!attribute excluded_account_tokens
|
|
147
|
+
# Account tokens to which the Auth Rule does not apply.
|
|
148
|
+
#
|
|
149
|
+
# @return [Array<String>, nil]
|
|
150
|
+
optional :excluded_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
151
|
+
|
|
152
|
+
# @!attribute excluded_business_account_tokens
|
|
153
|
+
# Business account tokens to which the Auth Rule does not apply.
|
|
154
|
+
#
|
|
155
|
+
# @return [Array<String>, nil]
|
|
156
|
+
optional :excluded_business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
157
|
+
|
|
158
|
+
# @!attribute excluded_card_tokens
|
|
159
|
+
# Card tokens to which the Auth Rule does not apply.
|
|
160
|
+
#
|
|
161
|
+
# @return [Array<String>, nil]
|
|
162
|
+
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
163
|
+
|
|
164
|
+
# @!attribute name
|
|
165
|
+
# Auth Rule Name
|
|
166
|
+
#
|
|
167
|
+
# @return [String, nil]
|
|
168
|
+
optional :name, String, nil?: true
|
|
169
|
+
|
|
170
|
+
# @!attribute program_level
|
|
171
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
172
|
+
#
|
|
173
|
+
# @return [Boolean, nil]
|
|
174
|
+
optional :program_level, Lithic::Internal::Type::Boolean
|
|
175
|
+
|
|
176
|
+
# @!attribute state
|
|
177
|
+
# The desired state of the Auth Rule.
|
|
178
|
+
#
|
|
179
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
180
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
181
|
+
# should be used to promote a draft to the currently active version.
|
|
182
|
+
#
|
|
183
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State, nil]
|
|
184
|
+
optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State }
|
|
185
|
+
|
|
186
|
+
# @!method initialize(excluded_account_tokens: nil, excluded_business_account_tokens: nil, excluded_card_tokens: nil, name: nil, program_level: nil, state: nil)
|
|
187
|
+
# Some parameter documentations has been truncated, see
|
|
188
|
+
# {Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule} for more
|
|
189
|
+
# details.
|
|
190
|
+
#
|
|
191
|
+
# @param excluded_account_tokens [Array<String>] Account tokens to which the Auth Rule does not apply.
|
|
192
|
+
#
|
|
193
|
+
# @param excluded_business_account_tokens [Array<String>] Business account tokens to which the Auth Rule does not apply.
|
|
194
|
+
#
|
|
195
|
+
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
|
|
196
|
+
#
|
|
197
|
+
# @param name [String, nil] Auth Rule Name
|
|
198
|
+
#
|
|
199
|
+
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
|
200
|
+
#
|
|
201
|
+
# @param state [Symbol, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State] The desired state of the Auth Rule.
|
|
202
|
+
|
|
203
|
+
# The desired state of the Auth Rule.
|
|
204
|
+
#
|
|
205
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
206
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
207
|
+
# should be used to promote a draft to the currently active version.
|
|
208
|
+
#
|
|
209
|
+
# @see Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule#state
|
|
210
|
+
module State
|
|
211
|
+
extend Lithic::Internal::Type::Enum
|
|
212
|
+
|
|
213
|
+
INACTIVE = :INACTIVE
|
|
84
214
|
|
|
85
|
-
|
|
215
|
+
# @!method self.values
|
|
216
|
+
# @return [Array<Symbol>]
|
|
217
|
+
end
|
|
218
|
+
end
|
|
86
219
|
|
|
87
|
-
# @!method self.
|
|
88
|
-
# @return [Array
|
|
220
|
+
# @!method self.variants
|
|
221
|
+
# @return [Array(Lithic::Models::AuthRules::V2UpdateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2UpdateParams::Body::ProgramLevelRule)]
|
|
89
222
|
end
|
|
90
223
|
end
|
|
91
224
|
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class VelocityLimitFilters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute exclude_countries
|
|
8
|
+
# ISO-3166-1 alpha-3 Country Codes to exclude from the velocity calculation.
|
|
9
|
+
# Transactions matching any of the provided will be excluded from the calculated
|
|
10
|
+
# velocity.
|
|
11
|
+
#
|
|
12
|
+
# @return [Array<String>, nil]
|
|
13
|
+
optional :exclude_countries, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
14
|
+
|
|
15
|
+
# @!attribute exclude_mccs
|
|
16
|
+
# Merchant Category Codes to exclude from the velocity calculation. Transactions
|
|
17
|
+
# matching this MCC will be excluded from the calculated velocity.
|
|
18
|
+
#
|
|
19
|
+
# @return [Array<String>, nil]
|
|
20
|
+
optional :exclude_mccs, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute include_countries
|
|
23
|
+
# ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation.
|
|
24
|
+
# Transactions not matching any of the provided will not be included in the
|
|
25
|
+
# calculated velocity.
|
|
26
|
+
#
|
|
27
|
+
# @return [Array<String>, nil]
|
|
28
|
+
optional :include_countries, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
29
|
+
|
|
30
|
+
# @!attribute include_mccs
|
|
31
|
+
# Merchant Category Codes to include in the velocity calculation. Transactions not
|
|
32
|
+
# matching this MCC will not be included in the calculated velocity.
|
|
33
|
+
#
|
|
34
|
+
# @return [Array<String>, nil]
|
|
35
|
+
optional :include_mccs, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
36
|
+
|
|
37
|
+
# @!attribute include_pan_entry_modes
|
|
38
|
+
# PAN entry modes to include in the velocity calculation. Transactions not
|
|
39
|
+
# matching any of the provided will not be included in the calculated velocity.
|
|
40
|
+
#
|
|
41
|
+
# @return [Array<Symbol, Lithic::Models::AuthRules::VelocityLimitFilters::IncludePanEntryMode>, nil]
|
|
42
|
+
optional :include_pan_entry_modes,
|
|
43
|
+
-> {
|
|
44
|
+
Lithic::Internal::Type::ArrayOf[enum: Lithic::AuthRules::VelocityLimitFilters::IncludePanEntryMode]
|
|
45
|
+
},
|
|
46
|
+
nil?: true
|
|
47
|
+
|
|
48
|
+
# @!method initialize(exclude_countries: nil, exclude_mccs: nil, include_countries: nil, include_mccs: nil, include_pan_entry_modes: nil)
|
|
49
|
+
# Some parameter documentations has been truncated, see
|
|
50
|
+
# {Lithic::Models::AuthRules::VelocityLimitFilters} for more details.
|
|
51
|
+
#
|
|
52
|
+
# @param exclude_countries [Array<String>, nil] ISO-3166-1 alpha-3 Country Codes to exclude from the velocity calculation. Trans
|
|
53
|
+
#
|
|
54
|
+
# @param exclude_mccs [Array<String>, nil] Merchant Category Codes to exclude from the velocity calculation. Transactions m
|
|
55
|
+
#
|
|
56
|
+
# @param include_countries [Array<String>, nil] ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation. Transac
|
|
57
|
+
#
|
|
58
|
+
# @param include_mccs [Array<String>, nil] Merchant Category Codes to include in the velocity calculation. Transactions not
|
|
59
|
+
#
|
|
60
|
+
# @param include_pan_entry_modes [Array<Symbol, Lithic::Models::AuthRules::VelocityLimitFilters::IncludePanEntryMode>, nil] PAN entry modes to include in the velocity calculation. Transactions not matchin
|
|
61
|
+
|
|
62
|
+
module IncludePanEntryMode
|
|
63
|
+
extend Lithic::Internal::Type::Enum
|
|
64
|
+
|
|
65
|
+
AUTO_ENTRY = :AUTO_ENTRY
|
|
66
|
+
BAR_CODE = :BAR_CODE
|
|
67
|
+
CONTACTLESS = :CONTACTLESS
|
|
68
|
+
CREDENTIAL_ON_FILE = :CREDENTIAL_ON_FILE
|
|
69
|
+
ECOMMERCE = :ECOMMERCE
|
|
70
|
+
ERROR_KEYED = :ERROR_KEYED
|
|
71
|
+
ERROR_MAGNETIC_STRIPE = :ERROR_MAGNETIC_STRIPE
|
|
72
|
+
ICC = :ICC
|
|
73
|
+
KEY_ENTERED = :KEY_ENTERED
|
|
74
|
+
MAGNETIC_STRIPE = :MAGNETIC_STRIPE
|
|
75
|
+
MANUAL = :MANUAL
|
|
76
|
+
OCR = :OCR
|
|
77
|
+
SECURE_CARDLESS = :SECURE_CARDLESS
|
|
78
|
+
UNSPECIFIED = :UNSPECIFIED
|
|
79
|
+
UNKNOWN = :UNKNOWN
|
|
80
|
+
|
|
81
|
+
# @!method self.values
|
|
82
|
+
# @return [Array<Symbol>]
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
|
|
19
19
|
# @!attribute filters
|
|
20
20
|
#
|
|
21
|
-
# @return [Lithic::Models::AuthRules::
|
|
22
|
-
optional :filters, -> { Lithic::AuthRules::
|
|
21
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitFilters, nil]
|
|
22
|
+
optional :filters, -> { Lithic::AuthRules::VelocityLimitFilters }
|
|
23
23
|
|
|
24
24
|
# @!attribute limit_amount
|
|
25
25
|
# The maximum amount of spend velocity allowed in the period in minor units (the
|
|
@@ -47,7 +47,7 @@ module Lithic
|
|
|
47
47
|
#
|
|
48
48
|
# @param scope [Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope] The scope the velocity is calculated for
|
|
49
49
|
#
|
|
50
|
-
# @param filters [Lithic::Models::AuthRules::
|
|
50
|
+
# @param filters [Lithic::Models::AuthRules::VelocityLimitFilters]
|
|
51
51
|
#
|
|
52
52
|
# @param limit_amount [Integer, nil] The maximum amount of spend velocity allowed in the period in minor units (the s
|
|
53
53
|
#
|
|
@@ -65,87 +65,6 @@ module Lithic
|
|
|
65
65
|
# @!method self.values
|
|
66
66
|
# @return [Array<Symbol>]
|
|
67
67
|
end
|
|
68
|
-
|
|
69
|
-
# @see Lithic::Models::AuthRules::VelocityLimitParams#filters
|
|
70
|
-
class Filters < Lithic::Internal::Type::BaseModel
|
|
71
|
-
# @!attribute exclude_countries
|
|
72
|
-
# ISO-3166-1 alpha-3 Country Codes to exclude from the velocity calculation.
|
|
73
|
-
# Transactions matching any of the provided will be excluded from the calculated
|
|
74
|
-
# velocity.
|
|
75
|
-
#
|
|
76
|
-
# @return [Array<String>, nil]
|
|
77
|
-
optional :exclude_countries, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
78
|
-
|
|
79
|
-
# @!attribute exclude_mccs
|
|
80
|
-
# Merchant Category Codes to exclude from the velocity calculation. Transactions
|
|
81
|
-
# matching this MCC will be excluded from the calculated velocity.
|
|
82
|
-
#
|
|
83
|
-
# @return [Array<String>, nil]
|
|
84
|
-
optional :exclude_mccs, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
85
|
-
|
|
86
|
-
# @!attribute include_countries
|
|
87
|
-
# ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation.
|
|
88
|
-
# Transactions not matching any of the provided will not be included in the
|
|
89
|
-
# calculated velocity.
|
|
90
|
-
#
|
|
91
|
-
# @return [Array<String>, nil]
|
|
92
|
-
optional :include_countries, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
93
|
-
|
|
94
|
-
# @!attribute include_mccs
|
|
95
|
-
# Merchant Category Codes to include in the velocity calculation. Transactions not
|
|
96
|
-
# matching this MCC will not be included in the calculated velocity.
|
|
97
|
-
#
|
|
98
|
-
# @return [Array<String>, nil]
|
|
99
|
-
optional :include_mccs, Lithic::Internal::Type::ArrayOf[String], nil?: true
|
|
100
|
-
|
|
101
|
-
# @!attribute include_pan_entry_modes
|
|
102
|
-
# PAN entry modes to include in the velocity calculation. Transactions not
|
|
103
|
-
# matching any of the provided will not be included in the calculated velocity.
|
|
104
|
-
#
|
|
105
|
-
# @return [Array<Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Filters::IncludePanEntryMode>, nil]
|
|
106
|
-
optional :include_pan_entry_modes,
|
|
107
|
-
-> {
|
|
108
|
-
Lithic::Internal::Type::ArrayOf[enum: Lithic::AuthRules::VelocityLimitParams::Filters::IncludePanEntryMode]
|
|
109
|
-
},
|
|
110
|
-
nil?: true
|
|
111
|
-
|
|
112
|
-
# @!method initialize(exclude_countries: nil, exclude_mccs: nil, include_countries: nil, include_mccs: nil, include_pan_entry_modes: nil)
|
|
113
|
-
# Some parameter documentations has been truncated, see
|
|
114
|
-
# {Lithic::Models::AuthRules::VelocityLimitParams::Filters} for more details.
|
|
115
|
-
#
|
|
116
|
-
# @param exclude_countries [Array<String>, nil] ISO-3166-1 alpha-3 Country Codes to exclude from the velocity calculation. Trans
|
|
117
|
-
#
|
|
118
|
-
# @param exclude_mccs [Array<String>, nil] Merchant Category Codes to exclude from the velocity calculation. Transactions m
|
|
119
|
-
#
|
|
120
|
-
# @param include_countries [Array<String>, nil] ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation. Transac
|
|
121
|
-
#
|
|
122
|
-
# @param include_mccs [Array<String>, nil] Merchant Category Codes to include in the velocity calculation. Transactions not
|
|
123
|
-
#
|
|
124
|
-
# @param include_pan_entry_modes [Array<Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Filters::IncludePanEntryMode>, nil] PAN entry modes to include in the velocity calculation. Transactions not matchin
|
|
125
|
-
|
|
126
|
-
module IncludePanEntryMode
|
|
127
|
-
extend Lithic::Internal::Type::Enum
|
|
128
|
-
|
|
129
|
-
AUTO_ENTRY = :AUTO_ENTRY
|
|
130
|
-
BAR_CODE = :BAR_CODE
|
|
131
|
-
CONTACTLESS = :CONTACTLESS
|
|
132
|
-
CREDENTIAL_ON_FILE = :CREDENTIAL_ON_FILE
|
|
133
|
-
ECOMMERCE = :ECOMMERCE
|
|
134
|
-
ERROR_KEYED = :ERROR_KEYED
|
|
135
|
-
ERROR_MAGNETIC_STRIPE = :ERROR_MAGNETIC_STRIPE
|
|
136
|
-
ICC = :ICC
|
|
137
|
-
KEY_ENTERED = :KEY_ENTERED
|
|
138
|
-
MAGNETIC_STRIPE = :MAGNETIC_STRIPE
|
|
139
|
-
MANUAL = :MANUAL
|
|
140
|
-
OCR = :OCR
|
|
141
|
-
SECURE_CARDLESS = :SECURE_CARDLESS
|
|
142
|
-
UNSPECIFIED = :UNSPECIFIED
|
|
143
|
-
UNKNOWN = :UNKNOWN
|
|
144
|
-
|
|
145
|
-
# @!method self.values
|
|
146
|
-
# @return [Array<Symbol>]
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
68
|
end
|
|
150
69
|
end
|
|
151
70
|
end
|
|
@@ -7,7 +7,13 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute book_transfer_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :book_transfer_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(book_transfer_token:, request_options: {})
|
|
16
|
+
# @param book_transfer_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute book_transfer_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :book_transfer_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute retry_token
|
|
11
16
|
# Customer-provided token that will serve as an idempotency token. This token will
|
|
12
17
|
# become the transaction token.
|
|
@@ -14,10 +19,12 @@ module Lithic
|
|
|
14
19
|
# @return [String]
|
|
15
20
|
required :retry_token, String
|
|
16
21
|
|
|
17
|
-
# @!method initialize(retry_token:, request_options: {})
|
|
22
|
+
# @!method initialize(book_transfer_token:, retry_token:, request_options: {})
|
|
18
23
|
# Some parameter documentations has been truncated, see
|
|
19
24
|
# {Lithic::Models::BookTransferRetryParams} for more details.
|
|
20
25
|
#
|
|
26
|
+
# @param book_transfer_token [String]
|
|
27
|
+
#
|
|
21
28
|
# @param retry_token [String] Customer-provided token that will serve as an idempotency token. This token will
|
|
22
29
|
#
|
|
23
30
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -7,13 +7,20 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute book_transfer_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :book_transfer_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute memo
|
|
11
16
|
# Optional descriptor for the reversal.
|
|
12
17
|
#
|
|
13
18
|
# @return [String, nil]
|
|
14
19
|
optional :memo, String
|
|
15
20
|
|
|
16
|
-
# @!method initialize(memo: nil, request_options: {})
|
|
21
|
+
# @!method initialize(book_transfer_token:, memo: nil, request_options: {})
|
|
22
|
+
# @param book_transfer_token [String]
|
|
23
|
+
#
|
|
17
24
|
# @param memo [String] Optional descriptor for the reversal.
|
|
18
25
|
#
|
|
19
26
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -7,7 +7,13 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute bulk_order_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :bulk_order_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(bulk_order_token:, request_options: {})
|
|
16
|
+
# @param bulk_order_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,13 +7,20 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute bulk_order_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :bulk_order_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute status
|
|
11
16
|
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
12
17
|
#
|
|
13
18
|
# @return [Symbol, Lithic::Models::CardBulkOrderUpdateParams::Status]
|
|
14
19
|
required :status, enum: -> { Lithic::CardBulkOrderUpdateParams::Status }
|
|
15
20
|
|
|
16
|
-
# @!method initialize(status:, request_options: {})
|
|
21
|
+
# @!method initialize(bulk_order_token:, status:, request_options: {})
|
|
22
|
+
# @param bulk_order_token [String]
|
|
23
|
+
#
|
|
17
24
|
# @param status [Symbol, Lithic::Models::CardBulkOrderUpdateParams::Status] Status to update the bulk order to. Use LOCKED to finalize the order
|
|
18
25
|
#
|
|
19
26
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -7,6 +7,11 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute card_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :card_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute shipping_address
|
|
11
16
|
# The shipping address this card will be sent to.
|
|
12
17
|
#
|
|
@@ -47,10 +52,12 @@ module Lithic
|
|
|
47
52
|
# @return [Symbol, Lithic::Models::CardConvertPhysicalParams::ShippingMethod, nil]
|
|
48
53
|
optional :shipping_method, enum: -> { Lithic::CardConvertPhysicalParams::ShippingMethod }
|
|
49
54
|
|
|
50
|
-
# @!method initialize(shipping_address:, carrier: nil, product_id: nil, shipping_method: nil, request_options: {})
|
|
55
|
+
# @!method initialize(card_token:, shipping_address:, carrier: nil, product_id: nil, shipping_method: nil, request_options: {})
|
|
51
56
|
# Some parameter documentations has been truncated, see
|
|
52
57
|
# {Lithic::Models::CardConvertPhysicalParams} for more details.
|
|
53
58
|
#
|
|
59
|
+
# @param card_token [String]
|
|
60
|
+
#
|
|
54
61
|
# @param shipping_address [Lithic::Models::ShippingAddress] The shipping address this card will be sent to.
|
|
55
62
|
#
|
|
56
63
|
# @param carrier [Lithic::Models::Carrier] If omitted, the previous carrier will be used.
|
|
@@ -7,7 +7,13 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute card_program_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :card_program_token, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(card_program_token:, request_options: {})
|
|
16
|
+
# @param card_program_token [String]
|
|
11
17
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Lithic
|
|
|
7
7
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute card_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :card_token, String
|
|
14
|
+
|
|
10
15
|
# @!attribute certificate
|
|
11
16
|
# Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only
|
|
12
17
|
# `activationData` in the response. Apple's public leaf certificate. Base64
|
|
@@ -54,10 +59,12 @@ module Lithic
|
|
|
54
59
|
# @return [String, nil]
|
|
55
60
|
optional :nonce_signature, String
|
|
56
61
|
|
|
57
|
-
# @!method initialize(certificate: nil, client_device_id: nil, client_wallet_account_id: nil, digital_wallet: nil, nonce: nil, nonce_signature: nil, request_options: {})
|
|
62
|
+
# @!method initialize(card_token:, certificate: nil, client_device_id: nil, client_wallet_account_id: nil, digital_wallet: nil, nonce: nil, nonce_signature: nil, request_options: {})
|
|
58
63
|
# Some parameter documentations has been truncated, see
|
|
59
64
|
# {Lithic::Models::CardProvisionParams} for more details.
|
|
60
65
|
#
|
|
66
|
+
# @param card_token [String]
|
|
67
|
+
#
|
|
61
68
|
# @param certificate [String] Only applicable if `digital_wallet` is `APPLE_PAY`. Omit to receive only `activa
|
|
62
69
|
#
|
|
63
70
|
# @param client_device_id [String] Only applicable if `digital_wallet` is `GOOGLE_PAY` or `SAMSUNG_PAY` and the car
|