lithic 0.6.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 +16 -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/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/{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/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 -113
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +8 -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/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_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_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 +8 -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/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/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/resources/account_activity.rb +2 -1
- 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 +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 +2 -1
- 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/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 +2 -1
- 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/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/{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/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 -181
- 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/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_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_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 +6 -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/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/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/resources/account_holders/entities.rbi +4 -4
- data/rbi/lithic/resources/account_holders.rbi +16 -177
- data/rbi/lithic/resources/auth_rules/v2.rbi +20 -76
- data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
- 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/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/{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/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_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_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 +10 -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/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/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/resources/account_holders.rbs +2 -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/payments.rbs +1 -0
- metadata +8 -5
|
@@ -12,105 +12,45 @@ module Lithic
|
|
|
12
12
|
T.any(Lithic::AuthRules::V2UpdateParams, Lithic::Internal::AnyHash)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
attr_reader :account_tokens
|
|
18
|
-
|
|
19
|
-
sig { params(account_tokens: T::Array[String]).void }
|
|
20
|
-
attr_writer :account_tokens
|
|
21
|
-
|
|
22
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
23
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
24
|
-
attr_reader :business_account_tokens
|
|
25
|
-
|
|
26
|
-
sig { params(business_account_tokens: T::Array[String]).void }
|
|
27
|
-
attr_writer :business_account_tokens
|
|
28
|
-
|
|
29
|
-
# Auth Rule Name
|
|
30
|
-
sig { returns(T.nilable(String)) }
|
|
31
|
-
attr_accessor :name
|
|
32
|
-
|
|
33
|
-
# The desired state of the Auth Rule.
|
|
34
|
-
#
|
|
35
|
-
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
36
|
-
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
37
|
-
# should be used to promote a draft to the currently active version.
|
|
38
|
-
sig do
|
|
39
|
-
returns(T.nilable(Lithic::AuthRules::V2UpdateParams::State::OrSymbol))
|
|
40
|
-
end
|
|
41
|
-
attr_reader :state
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :auth_rule_token
|
|
42
17
|
|
|
43
18
|
sig do
|
|
44
|
-
|
|
19
|
+
returns(
|
|
20
|
+
T.any(
|
|
21
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
|
|
22
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
|
|
23
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
|
|
24
|
+
)
|
|
25
|
+
)
|
|
45
26
|
end
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
# Card tokens to which the Auth Rule applies.
|
|
49
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
50
|
-
attr_reader :card_tokens
|
|
51
|
-
|
|
52
|
-
sig { params(card_tokens: T::Array[String]).void }
|
|
53
|
-
attr_writer :card_tokens
|
|
54
|
-
|
|
55
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
56
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
57
|
-
attr_reader :excluded_card_tokens
|
|
58
|
-
|
|
59
|
-
sig { params(excluded_card_tokens: T::Array[String]).void }
|
|
60
|
-
attr_writer :excluded_card_tokens
|
|
61
|
-
|
|
62
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
63
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
64
|
-
attr_reader :program_level
|
|
65
|
-
|
|
66
|
-
sig { params(program_level: T::Boolean).void }
|
|
67
|
-
attr_writer :program_level
|
|
27
|
+
attr_accessor :body
|
|
68
28
|
|
|
69
29
|
sig do
|
|
70
30
|
params(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
31
|
+
auth_rule_token: String,
|
|
32
|
+
body:
|
|
33
|
+
T.any(
|
|
34
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::OrHash,
|
|
35
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::OrHash,
|
|
36
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::OrHash
|
|
37
|
+
),
|
|
78
38
|
request_options: Lithic::RequestOptions::OrHash
|
|
79
39
|
).returns(T.attached_class)
|
|
80
40
|
end
|
|
81
|
-
def self.new(
|
|
82
|
-
# Account tokens to which the Auth Rule applies.
|
|
83
|
-
account_tokens: nil,
|
|
84
|
-
# Business Account tokens to which the Auth Rule applies.
|
|
85
|
-
business_account_tokens: nil,
|
|
86
|
-
# Auth Rule Name
|
|
87
|
-
name: nil,
|
|
88
|
-
# The desired state of the Auth Rule.
|
|
89
|
-
#
|
|
90
|
-
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
91
|
-
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
92
|
-
# should be used to promote a draft to the currently active version.
|
|
93
|
-
state: nil,
|
|
94
|
-
# Card tokens to which the Auth Rule applies.
|
|
95
|
-
card_tokens: nil,
|
|
96
|
-
# Card tokens to which the Auth Rule does not apply.
|
|
97
|
-
excluded_card_tokens: nil,
|
|
98
|
-
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
99
|
-
program_level: nil,
|
|
100
|
-
request_options: {}
|
|
101
|
-
)
|
|
41
|
+
def self.new(auth_rule_token:, body:, request_options: {})
|
|
102
42
|
end
|
|
103
43
|
|
|
104
44
|
sig do
|
|
105
45
|
override.returns(
|
|
106
46
|
{
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
47
|
+
auth_rule_token: String,
|
|
48
|
+
body:
|
|
49
|
+
T.any(
|
|
50
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
|
|
51
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
|
|
52
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
|
|
53
|
+
),
|
|
114
54
|
request_options: Lithic::RequestOptions
|
|
115
55
|
}
|
|
116
56
|
)
|
|
@@ -118,32 +58,382 @@ module Lithic
|
|
|
118
58
|
def to_hash
|
|
119
59
|
end
|
|
120
60
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
124
|
-
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
125
|
-
# should be used to promote a draft to the currently active version.
|
|
126
|
-
module State
|
|
127
|
-
extend Lithic::Internal::Type::Enum
|
|
61
|
+
module Body
|
|
62
|
+
extend Lithic::Internal::Type::Union
|
|
128
63
|
|
|
129
|
-
|
|
64
|
+
Variants =
|
|
130
65
|
T.type_alias do
|
|
131
|
-
T.
|
|
66
|
+
T.any(
|
|
67
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
|
|
68
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
|
|
69
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
|
|
70
|
+
)
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class AccountLevelRule < Lithic::Internal::Type::BaseModel
|
|
74
|
+
OrHash =
|
|
75
|
+
T.type_alias do
|
|
76
|
+
T.any(
|
|
77
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule,
|
|
78
|
+
Lithic::Internal::AnyHash
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
|
83
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
84
|
+
attr_reader :account_tokens
|
|
85
|
+
|
|
86
|
+
sig { params(account_tokens: T::Array[String]).void }
|
|
87
|
+
attr_writer :account_tokens
|
|
88
|
+
|
|
89
|
+
# Business Account tokens to which the Auth Rule applies.
|
|
90
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
91
|
+
attr_reader :business_account_tokens
|
|
92
|
+
|
|
93
|
+
sig { params(business_account_tokens: T::Array[String]).void }
|
|
94
|
+
attr_writer :business_account_tokens
|
|
95
|
+
|
|
96
|
+
# Auth Rule Name
|
|
97
|
+
sig { returns(T.nilable(String)) }
|
|
98
|
+
attr_accessor :name
|
|
99
|
+
|
|
100
|
+
# The desired state of the Auth Rule.
|
|
101
|
+
#
|
|
102
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
103
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
104
|
+
# should be used to promote a draft to the currently active version.
|
|
105
|
+
sig do
|
|
106
|
+
returns(
|
|
107
|
+
T.nilable(
|
|
108
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::OrSymbol
|
|
109
|
+
)
|
|
110
|
+
)
|
|
111
|
+
end
|
|
112
|
+
attr_reader :state
|
|
113
|
+
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
state:
|
|
117
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::OrSymbol
|
|
118
|
+
).void
|
|
119
|
+
end
|
|
120
|
+
attr_writer :state
|
|
121
|
+
|
|
122
|
+
sig do
|
|
123
|
+
params(
|
|
124
|
+
account_tokens: T::Array[String],
|
|
125
|
+
business_account_tokens: T::Array[String],
|
|
126
|
+
name: T.nilable(String),
|
|
127
|
+
state:
|
|
128
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::OrSymbol
|
|
129
|
+
).returns(T.attached_class)
|
|
130
|
+
end
|
|
131
|
+
def self.new(
|
|
132
|
+
# Account tokens to which the Auth Rule applies.
|
|
133
|
+
account_tokens: nil,
|
|
134
|
+
# Business Account tokens to which the Auth Rule applies.
|
|
135
|
+
business_account_tokens: nil,
|
|
136
|
+
# Auth Rule Name
|
|
137
|
+
name: nil,
|
|
138
|
+
# The desired state of the Auth Rule.
|
|
139
|
+
#
|
|
140
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
141
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
142
|
+
# should be used to promote a draft to the currently active version.
|
|
143
|
+
state: nil
|
|
144
|
+
)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
sig do
|
|
148
|
+
override.returns(
|
|
149
|
+
{
|
|
150
|
+
account_tokens: T::Array[String],
|
|
151
|
+
business_account_tokens: T::Array[String],
|
|
152
|
+
name: T.nilable(String),
|
|
153
|
+
state:
|
|
154
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::OrSymbol
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
end
|
|
158
|
+
def to_hash
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# The desired state of the Auth Rule.
|
|
162
|
+
#
|
|
163
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
164
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
165
|
+
# should be used to promote a draft to the currently active version.
|
|
166
|
+
module State
|
|
167
|
+
extend Lithic::Internal::Type::Enum
|
|
168
|
+
|
|
169
|
+
TaggedSymbol =
|
|
170
|
+
T.type_alias do
|
|
171
|
+
T.all(
|
|
172
|
+
Symbol,
|
|
173
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State
|
|
174
|
+
)
|
|
175
|
+
end
|
|
176
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
177
|
+
|
|
178
|
+
INACTIVE =
|
|
179
|
+
T.let(
|
|
180
|
+
:INACTIVE,
|
|
181
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::TaggedSymbol
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
sig do
|
|
185
|
+
override.returns(
|
|
186
|
+
T::Array[
|
|
187
|
+
Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule::State::TaggedSymbol
|
|
188
|
+
]
|
|
189
|
+
)
|
|
190
|
+
end
|
|
191
|
+
def self.values
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
class CardLevelRule < Lithic::Internal::Type::BaseModel
|
|
197
|
+
OrHash =
|
|
198
|
+
T.type_alias do
|
|
199
|
+
T.any(
|
|
200
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule,
|
|
201
|
+
Lithic::Internal::AnyHash
|
|
202
|
+
)
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Card tokens to which the Auth Rule applies.
|
|
206
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
207
|
+
attr_reader :card_tokens
|
|
208
|
+
|
|
209
|
+
sig { params(card_tokens: T::Array[String]).void }
|
|
210
|
+
attr_writer :card_tokens
|
|
211
|
+
|
|
212
|
+
# Auth Rule Name
|
|
213
|
+
sig { returns(T.nilable(String)) }
|
|
214
|
+
attr_accessor :name
|
|
215
|
+
|
|
216
|
+
# The desired state of the Auth Rule.
|
|
217
|
+
#
|
|
218
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
219
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
220
|
+
# should be used to promote a draft to the currently active version.
|
|
221
|
+
sig do
|
|
222
|
+
returns(
|
|
223
|
+
T.nilable(
|
|
224
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::OrSymbol
|
|
225
|
+
)
|
|
226
|
+
)
|
|
227
|
+
end
|
|
228
|
+
attr_reader :state
|
|
229
|
+
|
|
230
|
+
sig do
|
|
231
|
+
params(
|
|
232
|
+
state:
|
|
233
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::OrSymbol
|
|
234
|
+
).void
|
|
235
|
+
end
|
|
236
|
+
attr_writer :state
|
|
237
|
+
|
|
238
|
+
sig do
|
|
239
|
+
params(
|
|
240
|
+
card_tokens: T::Array[String],
|
|
241
|
+
name: T.nilable(String),
|
|
242
|
+
state:
|
|
243
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::OrSymbol
|
|
244
|
+
).returns(T.attached_class)
|
|
245
|
+
end
|
|
246
|
+
def self.new(
|
|
247
|
+
# Card tokens to which the Auth Rule applies.
|
|
248
|
+
card_tokens: nil,
|
|
249
|
+
# Auth Rule Name
|
|
250
|
+
name: nil,
|
|
251
|
+
# The desired state of the Auth Rule.
|
|
252
|
+
#
|
|
253
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
254
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
255
|
+
# should be used to promote a draft to the currently active version.
|
|
256
|
+
state: nil
|
|
257
|
+
)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
sig do
|
|
261
|
+
override.returns(
|
|
262
|
+
{
|
|
263
|
+
card_tokens: T::Array[String],
|
|
264
|
+
name: T.nilable(String),
|
|
265
|
+
state:
|
|
266
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::OrSymbol
|
|
267
|
+
}
|
|
268
|
+
)
|
|
269
|
+
end
|
|
270
|
+
def to_hash
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# The desired state of the Auth Rule.
|
|
274
|
+
#
|
|
275
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
276
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
277
|
+
# should be used to promote a draft to the currently active version.
|
|
278
|
+
module State
|
|
279
|
+
extend Lithic::Internal::Type::Enum
|
|
280
|
+
|
|
281
|
+
TaggedSymbol =
|
|
282
|
+
T.type_alias do
|
|
283
|
+
T.all(
|
|
284
|
+
Symbol,
|
|
285
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State
|
|
286
|
+
)
|
|
287
|
+
end
|
|
288
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
289
|
+
|
|
290
|
+
INACTIVE =
|
|
291
|
+
T.let(
|
|
292
|
+
:INACTIVE,
|
|
293
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::TaggedSymbol
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
sig do
|
|
297
|
+
override.returns(
|
|
298
|
+
T::Array[
|
|
299
|
+
Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule::State::TaggedSymbol
|
|
300
|
+
]
|
|
301
|
+
)
|
|
302
|
+
end
|
|
303
|
+
def self.values
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
class ProgramLevelRule < Lithic::Internal::Type::BaseModel
|
|
309
|
+
OrHash =
|
|
310
|
+
T.type_alias do
|
|
311
|
+
T.any(
|
|
312
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule,
|
|
313
|
+
Lithic::Internal::AnyHash
|
|
314
|
+
)
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# Card tokens to which the Auth Rule does not apply.
|
|
318
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
319
|
+
attr_reader :excluded_card_tokens
|
|
320
|
+
|
|
321
|
+
sig { params(excluded_card_tokens: T::Array[String]).void }
|
|
322
|
+
attr_writer :excluded_card_tokens
|
|
323
|
+
|
|
324
|
+
# Auth Rule Name
|
|
325
|
+
sig { returns(T.nilable(String)) }
|
|
326
|
+
attr_accessor :name
|
|
327
|
+
|
|
328
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
329
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
330
|
+
attr_reader :program_level
|
|
331
|
+
|
|
332
|
+
sig { params(program_level: T::Boolean).void }
|
|
333
|
+
attr_writer :program_level
|
|
334
|
+
|
|
335
|
+
# The desired state of the Auth Rule.
|
|
336
|
+
#
|
|
337
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
338
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
339
|
+
# should be used to promote a draft to the currently active version.
|
|
340
|
+
sig do
|
|
341
|
+
returns(
|
|
342
|
+
T.nilable(
|
|
343
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::OrSymbol
|
|
344
|
+
)
|
|
345
|
+
)
|
|
132
346
|
end
|
|
133
|
-
|
|
347
|
+
attr_reader :state
|
|
134
348
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
349
|
+
sig do
|
|
350
|
+
params(
|
|
351
|
+
state:
|
|
352
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::OrSymbol
|
|
353
|
+
).void
|
|
354
|
+
end
|
|
355
|
+
attr_writer :state
|
|
356
|
+
|
|
357
|
+
sig do
|
|
358
|
+
params(
|
|
359
|
+
excluded_card_tokens: T::Array[String],
|
|
360
|
+
name: T.nilable(String),
|
|
361
|
+
program_level: T::Boolean,
|
|
362
|
+
state:
|
|
363
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::OrSymbol
|
|
364
|
+
).returns(T.attached_class)
|
|
365
|
+
end
|
|
366
|
+
def self.new(
|
|
367
|
+
# Card tokens to which the Auth Rule does not apply.
|
|
368
|
+
excluded_card_tokens: nil,
|
|
369
|
+
# Auth Rule Name
|
|
370
|
+
name: nil,
|
|
371
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
372
|
+
program_level: nil,
|
|
373
|
+
# The desired state of the Auth Rule.
|
|
374
|
+
#
|
|
375
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
376
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
377
|
+
# should be used to promote a draft to the currently active version.
|
|
378
|
+
state: nil
|
|
139
379
|
)
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
sig do
|
|
383
|
+
override.returns(
|
|
384
|
+
{
|
|
385
|
+
excluded_card_tokens: T::Array[String],
|
|
386
|
+
name: T.nilable(String),
|
|
387
|
+
program_level: T::Boolean,
|
|
388
|
+
state:
|
|
389
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::OrSymbol
|
|
390
|
+
}
|
|
391
|
+
)
|
|
392
|
+
end
|
|
393
|
+
def to_hash
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
# The desired state of the Auth Rule.
|
|
397
|
+
#
|
|
398
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
|
399
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
|
400
|
+
# should be used to promote a draft to the currently active version.
|
|
401
|
+
module State
|
|
402
|
+
extend Lithic::Internal::Type::Enum
|
|
403
|
+
|
|
404
|
+
TaggedSymbol =
|
|
405
|
+
T.type_alias do
|
|
406
|
+
T.all(
|
|
407
|
+
Symbol,
|
|
408
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State
|
|
409
|
+
)
|
|
410
|
+
end
|
|
411
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
412
|
+
|
|
413
|
+
INACTIVE =
|
|
414
|
+
T.let(
|
|
415
|
+
:INACTIVE,
|
|
416
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::TaggedSymbol
|
|
417
|
+
)
|
|
418
|
+
|
|
419
|
+
sig do
|
|
420
|
+
override.returns(
|
|
421
|
+
T::Array[
|
|
422
|
+
Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule::State::TaggedSymbol
|
|
423
|
+
]
|
|
424
|
+
)
|
|
425
|
+
end
|
|
426
|
+
def self.values
|
|
427
|
+
end
|
|
428
|
+
end
|
|
429
|
+
end
|
|
140
430
|
|
|
141
431
|
sig do
|
|
142
432
|
override.returns(
|
|
143
|
-
T::Array[Lithic::AuthRules::V2UpdateParams::
|
|
433
|
+
T::Array[Lithic::AuthRules::V2UpdateParams::Body::Variants]
|
|
144
434
|
)
|
|
145
435
|
end
|
|
146
|
-
def self.
|
|
436
|
+
def self.variants
|
|
147
437
|
end
|
|
148
438
|
end
|
|
149
439
|
end
|
|
@@ -11,15 +11,26 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::BookTransferRetrieveParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :book_transfer_token
|
|
16
|
+
|
|
14
17
|
sig do
|
|
15
|
-
params(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
params(
|
|
19
|
+
book_transfer_token: String,
|
|
20
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
21
|
+
).returns(T.attached_class)
|
|
18
22
|
end
|
|
19
|
-
def self.new(request_options: {})
|
|
23
|
+
def self.new(book_transfer_token:, request_options: {})
|
|
20
24
|
end
|
|
21
25
|
|
|
22
|
-
sig
|
|
26
|
+
sig do
|
|
27
|
+
override.returns(
|
|
28
|
+
{
|
|
29
|
+
book_transfer_token: String,
|
|
30
|
+
request_options: Lithic::RequestOptions
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
end
|
|
23
34
|
def to_hash
|
|
24
35
|
end
|
|
25
36
|
end
|
|
@@ -11,6 +11,9 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::BookTransferRetryParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :book_transfer_token
|
|
16
|
+
|
|
14
17
|
# Customer-provided token that will serve as an idempotency token. This token will
|
|
15
18
|
# become the transaction token.
|
|
16
19
|
sig { returns(String) }
|
|
@@ -18,11 +21,13 @@ module Lithic
|
|
|
18
21
|
|
|
19
22
|
sig do
|
|
20
23
|
params(
|
|
24
|
+
book_transfer_token: String,
|
|
21
25
|
retry_token: String,
|
|
22
26
|
request_options: Lithic::RequestOptions::OrHash
|
|
23
27
|
).returns(T.attached_class)
|
|
24
28
|
end
|
|
25
29
|
def self.new(
|
|
30
|
+
book_transfer_token:,
|
|
26
31
|
# Customer-provided token that will serve as an idempotency token. This token will
|
|
27
32
|
# become the transaction token.
|
|
28
33
|
retry_token:,
|
|
@@ -32,7 +37,11 @@ module Lithic
|
|
|
32
37
|
|
|
33
38
|
sig do
|
|
34
39
|
override.returns(
|
|
35
|
-
{
|
|
40
|
+
{
|
|
41
|
+
book_transfer_token: String,
|
|
42
|
+
retry_token: String,
|
|
43
|
+
request_options: Lithic::RequestOptions
|
|
44
|
+
}
|
|
36
45
|
)
|
|
37
46
|
end
|
|
38
47
|
def to_hash
|
|
@@ -11,6 +11,9 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::BookTransferReverseParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :book_transfer_token
|
|
16
|
+
|
|
14
17
|
# Optional descriptor for the reversal.
|
|
15
18
|
sig { returns(T.nilable(String)) }
|
|
16
19
|
attr_reader :memo
|
|
@@ -20,11 +23,13 @@ module Lithic
|
|
|
20
23
|
|
|
21
24
|
sig do
|
|
22
25
|
params(
|
|
26
|
+
book_transfer_token: String,
|
|
23
27
|
memo: String,
|
|
24
28
|
request_options: Lithic::RequestOptions::OrHash
|
|
25
29
|
).returns(T.attached_class)
|
|
26
30
|
end
|
|
27
31
|
def self.new(
|
|
32
|
+
book_transfer_token:,
|
|
28
33
|
# Optional descriptor for the reversal.
|
|
29
34
|
memo: nil,
|
|
30
35
|
request_options: {}
|
|
@@ -33,7 +38,11 @@ module Lithic
|
|
|
33
38
|
|
|
34
39
|
sig do
|
|
35
40
|
override.returns(
|
|
36
|
-
{
|
|
41
|
+
{
|
|
42
|
+
book_transfer_token: String,
|
|
43
|
+
memo: String,
|
|
44
|
+
request_options: Lithic::RequestOptions
|
|
45
|
+
}
|
|
37
46
|
)
|
|
38
47
|
end
|
|
39
48
|
def to_hash
|
|
@@ -11,15 +11,23 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::CardBulkOrderRetrieveParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :bulk_order_token
|
|
16
|
+
|
|
14
17
|
sig do
|
|
15
|
-
params(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
params(
|
|
19
|
+
bulk_order_token: String,
|
|
20
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
21
|
+
).returns(T.attached_class)
|
|
18
22
|
end
|
|
19
|
-
def self.new(request_options: {})
|
|
23
|
+
def self.new(bulk_order_token:, request_options: {})
|
|
20
24
|
end
|
|
21
25
|
|
|
22
|
-
sig
|
|
26
|
+
sig do
|
|
27
|
+
override.returns(
|
|
28
|
+
{ bulk_order_token: String, request_options: Lithic::RequestOptions }
|
|
29
|
+
)
|
|
30
|
+
end
|
|
23
31
|
def to_hash
|
|
24
32
|
end
|
|
25
33
|
end
|
|
@@ -11,17 +11,22 @@ module Lithic
|
|
|
11
11
|
T.any(Lithic::CardBulkOrderUpdateParams, Lithic::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
sig { returns(String) }
|
|
15
|
+
attr_accessor :bulk_order_token
|
|
16
|
+
|
|
14
17
|
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
15
18
|
sig { returns(Lithic::CardBulkOrderUpdateParams::Status::OrSymbol) }
|
|
16
19
|
attr_accessor :status
|
|
17
20
|
|
|
18
21
|
sig do
|
|
19
22
|
params(
|
|
23
|
+
bulk_order_token: String,
|
|
20
24
|
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
21
25
|
request_options: Lithic::RequestOptions::OrHash
|
|
22
26
|
).returns(T.attached_class)
|
|
23
27
|
end
|
|
24
28
|
def self.new(
|
|
29
|
+
bulk_order_token:,
|
|
25
30
|
# Status to update the bulk order to. Use LOCKED to finalize the order
|
|
26
31
|
status:,
|
|
27
32
|
request_options: {}
|
|
@@ -31,6 +36,7 @@ module Lithic
|
|
|
31
36
|
sig do
|
|
32
37
|
override.returns(
|
|
33
38
|
{
|
|
39
|
+
bulk_order_token: String,
|
|
34
40
|
status: Lithic::CardBulkOrderUpdateParams::Status::OrSymbol,
|
|
35
41
|
request_options: Lithic::RequestOptions
|
|
36
42
|
}
|