lithic 0.20.0 → 0.22.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 +44 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +9 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +123 -67
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/transaction.rb +4 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/blockchain_recipients.rb +23 -0
- data/lib/lithic/resources/cards.rb +10 -4
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +21 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +35 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
- data/rbi/lithic/models/payment.rbi +6 -2
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/transaction.rbi +14 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
- data/rbi/lithic/resources/cards.rbi +15 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +18 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +65 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -9,28 +9,172 @@ module Lithic
|
|
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
11
|
# @!attribute body
|
|
12
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
12
13
|
#
|
|
13
|
-
# @return [Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule]
|
|
14
|
+
# @return [Lithic::Models::AuthRules::V2CreateParams::Body::Rule, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule]
|
|
14
15
|
required :body, union: -> { Lithic::AuthRules::V2CreateParams::Body }
|
|
15
16
|
|
|
16
17
|
# @!method initialize(body:, request_options: {})
|
|
17
|
-
# @param body [Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule]
|
|
18
|
+
# @param body [Lithic::Models::AuthRules::V2CreateParams::Body::Rule, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule] Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
19
|
+
#
|
|
18
20
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
19
21
|
|
|
22
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
20
23
|
module Body
|
|
21
24
|
extend Lithic::Internal::Type::Union
|
|
22
25
|
|
|
26
|
+
variant -> { Lithic::AuthRules::V2CreateParams::Body::Rule }
|
|
27
|
+
|
|
28
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
23
29
|
variant -> { Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule }
|
|
24
30
|
|
|
31
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
25
32
|
variant -> { Lithic::AuthRules::V2CreateParams::Body::CardLevelRule }
|
|
26
33
|
|
|
34
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
27
35
|
variant -> { Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule }
|
|
28
36
|
|
|
37
|
+
class Rule < Lithic::Internal::Type::BaseModel
|
|
38
|
+
# @!attribute entities
|
|
39
|
+
# The entities an Auth Rule applies to (`include`) and does not apply to
|
|
40
|
+
# (`exclude`). An exclusion overrides an inclusion, so a card excluded here is
|
|
41
|
+
# skipped even when the program, its account or one of its tags is included.
|
|
42
|
+
#
|
|
43
|
+
# The rule's resulting entities must satisfy these constraints after any write:
|
|
44
|
+
#
|
|
45
|
+
# - `include` must contain at least one entity.
|
|
46
|
+
# - If `PROGRAM` is included, it must be the only included entity.
|
|
47
|
+
# - `PROGRAM` cannot be excluded.
|
|
48
|
+
# - An entity cannot appear in both `include` and `exclude`, or twice in the same
|
|
49
|
+
# list.
|
|
50
|
+
# - A rule can have at most 1,000 entities across `include` and `exclude`, not
|
|
51
|
+
# counting `PROGRAM`.
|
|
52
|
+
# - Entity types must be valid for the rule's event stream.
|
|
53
|
+
# - `CARD`, `ACCOUNT` and `BUSINESS_ACCOUNT` tokens must belong to your program.
|
|
54
|
+
#
|
|
55
|
+
# @return [Lithic::Models::AuthRules::AuthRuleEntities]
|
|
56
|
+
required :entities, -> { Lithic::AuthRules::AuthRuleEntities }
|
|
57
|
+
|
|
58
|
+
# @!attribute parameters
|
|
59
|
+
# Parameters for the Auth Rule
|
|
60
|
+
#
|
|
61
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
62
|
+
required :parameters, union: -> { Lithic::AuthRules::V2CreateParams::Body::Rule::Parameters }
|
|
63
|
+
|
|
64
|
+
# @!attribute type
|
|
65
|
+
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
66
|
+
# during which it will be evaluated. For rules that can be applied to one of
|
|
67
|
+
# several event streams, the effective one is defined by the separate
|
|
68
|
+
# `event_stream` field.
|
|
69
|
+
#
|
|
70
|
+
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
71
|
+
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
72
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
73
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
74
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
75
|
+
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
76
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
77
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
78
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
79
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
80
|
+
#
|
|
81
|
+
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::Rule::Type]
|
|
82
|
+
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::Rule::Type }
|
|
83
|
+
|
|
84
|
+
# @!attribute event_stream
|
|
85
|
+
# The event stream during which the rule will be evaluated.
|
|
86
|
+
#
|
|
87
|
+
# @return [Symbol, Lithic::Models::AuthRules::EventStream, nil]
|
|
88
|
+
optional :event_stream, enum: -> { Lithic::AuthRules::EventStream }
|
|
89
|
+
|
|
90
|
+
# @!attribute name
|
|
91
|
+
# Auth Rule Name
|
|
92
|
+
#
|
|
93
|
+
# @return [String, nil]
|
|
94
|
+
optional :name, String, nil?: true
|
|
95
|
+
|
|
96
|
+
# @!method initialize(entities:, parameters:, type:, event_stream: nil, name: nil)
|
|
97
|
+
# Some parameter documentations has been truncated, see
|
|
98
|
+
# {Lithic::Models::AuthRules::V2CreateParams::Body::Rule} for more details.
|
|
99
|
+
#
|
|
100
|
+
# @param entities [Lithic::Models::AuthRules::AuthRuleEntities] The entities an Auth Rule applies to (`include`) and does not apply to (`exclude
|
|
101
|
+
#
|
|
102
|
+
# @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
103
|
+
#
|
|
104
|
+
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::Rule::Type] The type of Auth Rule. For certain rule types, this determines the event stream
|
|
105
|
+
#
|
|
106
|
+
# @param event_stream [Symbol, Lithic::Models::AuthRules::EventStream] The event stream during which the rule will be evaluated.
|
|
107
|
+
#
|
|
108
|
+
# @param name [String, nil] Auth Rule Name
|
|
109
|
+
|
|
110
|
+
# Parameters for the Auth Rule
|
|
111
|
+
#
|
|
112
|
+
# @see Lithic::Models::AuthRules::V2CreateParams::Body::Rule#parameters
|
|
113
|
+
module Parameters
|
|
114
|
+
extend Lithic::Internal::Type::Union
|
|
115
|
+
|
|
116
|
+
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
117
|
+
|
|
118
|
+
variant -> { Lithic::AuthRules::MerchantLockParameters }
|
|
119
|
+
|
|
120
|
+
variant -> { Lithic::AuthRules::Conditional3DSActionParameters }
|
|
121
|
+
|
|
122
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters }
|
|
123
|
+
|
|
124
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters }
|
|
125
|
+
|
|
126
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters }
|
|
127
|
+
|
|
128
|
+
variant -> { Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters }
|
|
129
|
+
|
|
130
|
+
variant -> { Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters }
|
|
131
|
+
|
|
132
|
+
# Parameters for defining a TypeScript code rule
|
|
133
|
+
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
134
|
+
|
|
135
|
+
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
136
|
+
|
|
137
|
+
# @!method self.variants
|
|
138
|
+
# @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
142
|
+
# during which it will be evaluated. For rules that can be applied to one of
|
|
143
|
+
# several event streams, the effective one is defined by the separate
|
|
144
|
+
# `event_stream` field.
|
|
145
|
+
#
|
|
146
|
+
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
147
|
+
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
148
|
+
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
149
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
150
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
151
|
+
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
152
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
153
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
154
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
155
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
156
|
+
#
|
|
157
|
+
# @see Lithic::Models::AuthRules::V2CreateParams::Body::Rule#type
|
|
158
|
+
module Type
|
|
159
|
+
extend Lithic::Internal::Type::Enum
|
|
160
|
+
|
|
161
|
+
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
|
162
|
+
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
163
|
+
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
164
|
+
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
165
|
+
OTHER = :OTHER
|
|
166
|
+
|
|
167
|
+
# @!method self.values
|
|
168
|
+
# @return [Array<Symbol>]
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# @deprecated
|
|
29
173
|
class AccountLevelRule < Lithic::Internal::Type::BaseModel
|
|
30
174
|
# @!attribute parameters
|
|
31
175
|
# Parameters for the Auth Rule
|
|
32
176
|
#
|
|
33
|
-
# @return [Lithic::Models::AuthRules::
|
|
177
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
34
178
|
required :parameters, union: -> { Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Parameters }
|
|
35
179
|
|
|
36
180
|
# @!attribute type
|
|
@@ -39,8 +183,6 @@ module Lithic
|
|
|
39
183
|
# several event streams, the effective one is defined by the separate
|
|
40
184
|
# `event_stream` field.
|
|
41
185
|
#
|
|
42
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
43
|
-
# AUTHORIZATION event stream.
|
|
44
186
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
45
187
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
46
188
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -49,17 +191,27 @@ module Lithic
|
|
|
49
191
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
50
192
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
51
193
|
# ACH_PAYMENT_UPDATE event stream.
|
|
194
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
195
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
52
196
|
#
|
|
53
197
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule::Type]
|
|
54
198
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type }
|
|
55
199
|
|
|
56
200
|
# @!attribute account_tokens
|
|
201
|
+
# @deprecated
|
|
202
|
+
#
|
|
203
|
+
# Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
|
|
204
|
+
#
|
|
57
205
|
# Account tokens to which the Auth Rule applies.
|
|
58
206
|
#
|
|
59
207
|
# @return [Array<String>, nil]
|
|
60
208
|
optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
61
209
|
|
|
62
210
|
# @!attribute business_account_tokens
|
|
211
|
+
# @deprecated
|
|
212
|
+
#
|
|
213
|
+
# Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
|
|
214
|
+
#
|
|
63
215
|
# Business Account tokens to which the Auth Rule applies.
|
|
64
216
|
#
|
|
65
217
|
# @return [Array<String>, nil]
|
|
@@ -82,13 +234,15 @@ module Lithic
|
|
|
82
234
|
# {Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule} for more
|
|
83
235
|
# details.
|
|
84
236
|
#
|
|
85
|
-
#
|
|
237
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
238
|
+
#
|
|
239
|
+
# @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
86
240
|
#
|
|
87
241
|
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule::Type] The type of Auth Rule. For certain rule types, this determines the event stream
|
|
88
242
|
#
|
|
89
|
-
# @param account_tokens [Array<String>]
|
|
243
|
+
# @param account_tokens [Array<String>] Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
|
|
90
244
|
#
|
|
91
|
-
# @param business_account_tokens [Array<String>]
|
|
245
|
+
# @param business_account_tokens [Array<String>] Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
|
|
92
246
|
#
|
|
93
247
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::EventStream] The event stream during which the rule will be evaluated.
|
|
94
248
|
#
|
|
@@ -100,9 +254,6 @@ module Lithic
|
|
|
100
254
|
module Parameters
|
|
101
255
|
extend Lithic::Internal::Type::Union
|
|
102
256
|
|
|
103
|
-
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
104
|
-
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
105
|
-
|
|
106
257
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
107
258
|
|
|
108
259
|
variant -> { Lithic::AuthRules::MerchantLockParameters }
|
|
@@ -125,7 +276,7 @@ module Lithic
|
|
|
125
276
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
126
277
|
|
|
127
278
|
# @!method self.variants
|
|
128
|
-
# @return [Array(Lithic::Models::AuthRules::
|
|
279
|
+
# @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
129
280
|
end
|
|
130
281
|
|
|
131
282
|
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
@@ -133,8 +284,6 @@ module Lithic
|
|
|
133
284
|
# several event streams, the effective one is defined by the separate
|
|
134
285
|
# `event_stream` field.
|
|
135
286
|
#
|
|
136
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
137
|
-
# AUTHORIZATION event stream.
|
|
138
287
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
139
288
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
140
289
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -143,25 +292,33 @@ module Lithic
|
|
|
143
292
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
144
293
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
145
294
|
# ACH_PAYMENT_UPDATE event stream.
|
|
295
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
296
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
146
297
|
#
|
|
147
298
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule#type
|
|
148
299
|
module Type
|
|
149
300
|
extend Lithic::Internal::Type::Enum
|
|
150
301
|
|
|
151
|
-
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
|
152
302
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
|
153
303
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
154
304
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
155
305
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
306
|
+
OTHER = :OTHER
|
|
156
307
|
|
|
157
308
|
# @!method self.values
|
|
158
309
|
# @return [Array<Symbol>]
|
|
159
310
|
end
|
|
160
311
|
end
|
|
161
312
|
|
|
313
|
+
# @deprecated
|
|
162
314
|
class CardLevelRule < Lithic::Internal::Type::BaseModel
|
|
163
315
|
# @!attribute card_tokens
|
|
164
|
-
#
|
|
316
|
+
# @deprecated
|
|
317
|
+
#
|
|
318
|
+
# Deprecated: Use `entities.include` with `CARD` entities instead.
|
|
319
|
+
#
|
|
320
|
+
# Card tokens to which the Auth Rule applies. Cards the rule applies to through a
|
|
321
|
+
# `CARD_TAG` entity are not listed.
|
|
165
322
|
#
|
|
166
323
|
# @return [Array<String>]
|
|
167
324
|
required :card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
@@ -169,7 +326,7 @@ module Lithic
|
|
|
169
326
|
# @!attribute parameters
|
|
170
327
|
# Parameters for the Auth Rule
|
|
171
328
|
#
|
|
172
|
-
# @return [Lithic::Models::AuthRules::
|
|
329
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
173
330
|
required :parameters, union: -> { Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Parameters }
|
|
174
331
|
|
|
175
332
|
# @!attribute type
|
|
@@ -178,8 +335,6 @@ module Lithic
|
|
|
178
335
|
# several event streams, the effective one is defined by the separate
|
|
179
336
|
# `event_stream` field.
|
|
180
337
|
#
|
|
181
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
182
|
-
# AUTHORIZATION event stream.
|
|
183
338
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
184
339
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
185
340
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -188,6 +343,8 @@ module Lithic
|
|
|
188
343
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
189
344
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
190
345
|
# ACH_PAYMENT_UPDATE event stream.
|
|
346
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
347
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
191
348
|
#
|
|
192
349
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule::Type]
|
|
193
350
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type }
|
|
@@ -209,9 +366,11 @@ module Lithic
|
|
|
209
366
|
# {Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule} for more
|
|
210
367
|
# details.
|
|
211
368
|
#
|
|
212
|
-
#
|
|
369
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
370
|
+
#
|
|
371
|
+
# @param card_tokens [Array<String>] Deprecated: Use `entities.include` with `CARD` entities instead.
|
|
213
372
|
#
|
|
214
|
-
# @param parameters [Lithic::Models::AuthRules::
|
|
373
|
+
# @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
215
374
|
#
|
|
216
375
|
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule::Type] The type of Auth Rule. For certain rule types, this determines the event stream
|
|
217
376
|
#
|
|
@@ -225,9 +384,6 @@ module Lithic
|
|
|
225
384
|
module Parameters
|
|
226
385
|
extend Lithic::Internal::Type::Union
|
|
227
386
|
|
|
228
|
-
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
229
|
-
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
230
|
-
|
|
231
387
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
232
388
|
|
|
233
389
|
variant -> { Lithic::AuthRules::MerchantLockParameters }
|
|
@@ -250,7 +406,7 @@ module Lithic
|
|
|
250
406
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
251
407
|
|
|
252
408
|
# @!method self.variants
|
|
253
|
-
# @return [Array(Lithic::Models::AuthRules::
|
|
409
|
+
# @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
254
410
|
end
|
|
255
411
|
|
|
256
412
|
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
@@ -258,8 +414,6 @@ module Lithic
|
|
|
258
414
|
# several event streams, the effective one is defined by the separate
|
|
259
415
|
# `event_stream` field.
|
|
260
416
|
#
|
|
261
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
262
|
-
# AUTHORIZATION event stream.
|
|
263
417
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
264
418
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
265
419
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -268,30 +422,37 @@ module Lithic
|
|
|
268
422
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
269
423
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
270
424
|
# ACH_PAYMENT_UPDATE event stream.
|
|
425
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
426
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
271
427
|
#
|
|
272
428
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule#type
|
|
273
429
|
module Type
|
|
274
430
|
extend Lithic::Internal::Type::Enum
|
|
275
431
|
|
|
276
|
-
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
|
277
432
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
|
278
433
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
279
434
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
280
435
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
436
|
+
OTHER = :OTHER
|
|
281
437
|
|
|
282
438
|
# @!method self.values
|
|
283
439
|
# @return [Array<Symbol>]
|
|
284
440
|
end
|
|
285
441
|
end
|
|
286
442
|
|
|
443
|
+
# @deprecated
|
|
287
444
|
class ProgramLevelRule < Lithic::Internal::Type::BaseModel
|
|
288
445
|
# @!attribute parameters
|
|
289
446
|
# Parameters for the Auth Rule
|
|
290
447
|
#
|
|
291
|
-
# @return [Lithic::Models::AuthRules::
|
|
448
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
292
449
|
required :parameters, union: -> { Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule::Parameters }
|
|
293
450
|
|
|
294
451
|
# @!attribute program_level
|
|
452
|
+
# @deprecated
|
|
453
|
+
#
|
|
454
|
+
# Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
|
|
455
|
+
#
|
|
295
456
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
296
457
|
#
|
|
297
458
|
# @return [Boolean]
|
|
@@ -303,8 +464,6 @@ module Lithic
|
|
|
303
464
|
# several event streams, the effective one is defined by the separate
|
|
304
465
|
# `event_stream` field.
|
|
305
466
|
#
|
|
306
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
307
|
-
# AUTHORIZATION event stream.
|
|
308
467
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
309
468
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
310
469
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -313,6 +472,8 @@ module Lithic
|
|
|
313
472
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
314
473
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
315
474
|
# ACH_PAYMENT_UPDATE event stream.
|
|
475
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
476
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
316
477
|
#
|
|
317
478
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type]
|
|
318
479
|
required :type, enum: -> { Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type }
|
|
@@ -324,19 +485,32 @@ module Lithic
|
|
|
324
485
|
optional :event_stream, enum: -> { Lithic::AuthRules::EventStream }
|
|
325
486
|
|
|
326
487
|
# @!attribute excluded_account_tokens
|
|
488
|
+
# @deprecated
|
|
489
|
+
#
|
|
490
|
+
# Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
|
|
491
|
+
#
|
|
327
492
|
# Account tokens to which the Auth Rule does not apply.
|
|
328
493
|
#
|
|
329
494
|
# @return [Array<String>, nil]
|
|
330
495
|
optional :excluded_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
331
496
|
|
|
332
497
|
# @!attribute excluded_business_account_tokens
|
|
498
|
+
# @deprecated
|
|
499
|
+
#
|
|
500
|
+
# Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
|
|
501
|
+
#
|
|
333
502
|
# Business account tokens to which the Auth Rule does not apply.
|
|
334
503
|
#
|
|
335
504
|
# @return [Array<String>, nil]
|
|
336
505
|
optional :excluded_business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
337
506
|
|
|
338
507
|
# @!attribute excluded_card_tokens
|
|
339
|
-
#
|
|
508
|
+
# @deprecated
|
|
509
|
+
#
|
|
510
|
+
# Deprecated: Use `entities.exclude` with `CARD` entities instead.
|
|
511
|
+
#
|
|
512
|
+
# Card tokens to which the Auth Rule does not apply. Cards excluded through a
|
|
513
|
+
# `CARD_TAG` entity are not listed.
|
|
340
514
|
#
|
|
341
515
|
# @return [Array<String>, nil]
|
|
342
516
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
|
@@ -352,19 +526,21 @@ module Lithic
|
|
|
352
526
|
# {Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule} for more
|
|
353
527
|
# details.
|
|
354
528
|
#
|
|
355
|
-
#
|
|
529
|
+
# Deprecated: Use `entities` instead. Cannot be combined with `entities`.
|
|
530
|
+
#
|
|
531
|
+
# @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
356
532
|
#
|
|
357
|
-
# @param program_level [Boolean]
|
|
533
|
+
# @param program_level [Boolean] Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
|
|
358
534
|
#
|
|
359
535
|
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule::Type] The type of Auth Rule. For certain rule types, this determines the event stream
|
|
360
536
|
#
|
|
361
537
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::EventStream] The event stream during which the rule will be evaluated.
|
|
362
538
|
#
|
|
363
|
-
# @param excluded_account_tokens [Array<String>]
|
|
539
|
+
# @param excluded_account_tokens [Array<String>] Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
|
|
364
540
|
#
|
|
365
|
-
# @param excluded_business_account_tokens [Array<String>]
|
|
541
|
+
# @param excluded_business_account_tokens [Array<String>] Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
|
|
366
542
|
#
|
|
367
|
-
# @param excluded_card_tokens [Array<String>]
|
|
543
|
+
# @param excluded_card_tokens [Array<String>] Deprecated: Use `entities.exclude` with `CARD` entities instead.
|
|
368
544
|
#
|
|
369
545
|
# @param name [String, nil] Auth Rule Name
|
|
370
546
|
|
|
@@ -374,9 +550,6 @@ module Lithic
|
|
|
374
550
|
module Parameters
|
|
375
551
|
extend Lithic::Internal::Type::Union
|
|
376
552
|
|
|
377
|
-
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
378
|
-
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
379
|
-
|
|
380
553
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
381
554
|
|
|
382
555
|
variant -> { Lithic::AuthRules::MerchantLockParameters }
|
|
@@ -399,7 +572,7 @@ module Lithic
|
|
|
399
572
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
400
573
|
|
|
401
574
|
# @!method self.variants
|
|
402
|
-
# @return [Array(Lithic::Models::AuthRules::
|
|
575
|
+
# @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
403
576
|
end
|
|
404
577
|
|
|
405
578
|
# The type of Auth Rule. For certain rule types, this determines the event stream
|
|
@@ -407,8 +580,6 @@ module Lithic
|
|
|
407
580
|
# several event streams, the effective one is defined by the separate
|
|
408
581
|
# `event_stream` field.
|
|
409
582
|
#
|
|
410
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
411
|
-
# AUTHORIZATION event stream.
|
|
412
583
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
413
584
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
414
585
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -417,16 +588,18 @@ module Lithic
|
|
|
417
588
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
418
589
|
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
419
590
|
# ACH_PAYMENT_UPDATE event stream.
|
|
591
|
+
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
592
|
+
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
420
593
|
#
|
|
421
594
|
# @see Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule#type
|
|
422
595
|
module Type
|
|
423
596
|
extend Lithic::Internal::Type::Enum
|
|
424
597
|
|
|
425
|
-
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
|
426
598
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
|
427
599
|
MERCHANT_LOCK = :MERCHANT_LOCK
|
|
428
600
|
CONDITIONAL_ACTION = :CONDITIONAL_ACTION
|
|
429
601
|
TYPESCRIPT_CODE = :TYPESCRIPT_CODE
|
|
602
|
+
OTHER = :OTHER
|
|
430
603
|
|
|
431
604
|
# @!method self.values
|
|
432
605
|
# @return [Array<Symbol>]
|
|
@@ -434,7 +607,7 @@ module Lithic
|
|
|
434
607
|
end
|
|
435
608
|
|
|
436
609
|
# @!method self.variants
|
|
437
|
-
# @return [Array(Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule)]
|
|
610
|
+
# @return [Array(Lithic::Models::AuthRules::V2CreateParams::Body::Rule, Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::CardLevelRule, Lithic::Models::AuthRules::V2CreateParams::Body::ProgramLevelRule)]
|
|
438
611
|
end
|
|
439
612
|
end
|
|
440
613
|
end
|
|
@@ -16,13 +16,13 @@ module Lithic
|
|
|
16
16
|
# @!attribute parameters
|
|
17
17
|
# Parameters for the Auth Rule
|
|
18
18
|
#
|
|
19
|
-
# @return [Lithic::Models::AuthRules::
|
|
19
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil]
|
|
20
20
|
optional :parameters, union: -> { Lithic::AuthRules::V2DraftParams::Parameters }, nil?: true
|
|
21
21
|
|
|
22
22
|
# @!method initialize(auth_rule_token:, parameters: nil, request_options: {})
|
|
23
23
|
# @param auth_rule_token [String]
|
|
24
24
|
#
|
|
25
|
-
# @param parameters [Lithic::Models::AuthRules::
|
|
25
|
+
# @param parameters [Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil] Parameters for the Auth Rule
|
|
26
26
|
#
|
|
27
27
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
28
28
|
|
|
@@ -30,9 +30,6 @@ module Lithic
|
|
|
30
30
|
module Parameters
|
|
31
31
|
extend Lithic::Internal::Type::Union
|
|
32
32
|
|
|
33
|
-
# Deprecated: Use CONDITIONAL_ACTION instead.
|
|
34
|
-
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
|
|
35
|
-
|
|
36
33
|
variant -> { Lithic::AuthRules::VelocityLimitParams }
|
|
37
34
|
|
|
38
35
|
variant -> { Lithic::AuthRules::MerchantLockParameters }
|
|
@@ -55,7 +52,7 @@ module Lithic
|
|
|
55
52
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
56
53
|
|
|
57
54
|
# @!method self.variants
|
|
58
|
-
# @return [Array(Lithic::Models::AuthRules::
|
|
55
|
+
# @return [Array(Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
59
56
|
end
|
|
60
57
|
end
|
|
61
58
|
end
|
|
@@ -55,7 +55,8 @@ module Lithic
|
|
|
55
55
|
optional :page_size, Integer
|
|
56
56
|
|
|
57
57
|
# @!attribute scope
|
|
58
|
-
# Only return Auth Rules that are bound to the provided scope.
|
|
58
|
+
# Only return Auth Rules that are bound to the provided scope. When no token is
|
|
59
|
+
# provided, `CARD` also returns Auth Rules that include a `CARD_TAG` entity.
|
|
59
60
|
#
|
|
60
61
|
# @return [Symbol, Lithic::Models::AuthRules::V2ListParams::Scope, nil]
|
|
61
62
|
optional :scope, enum: -> { Lithic::AuthRules::V2ListParams::Scope }
|
|
@@ -85,13 +86,14 @@ module Lithic
|
|
|
85
86
|
#
|
|
86
87
|
# @param page_size [Integer] Page size (for pagination).
|
|
87
88
|
#
|
|
88
|
-
# @param scope [Symbol, Lithic::Models::AuthRules::V2ListParams::Scope] Only return Auth Rules that are bound to the provided scope.
|
|
89
|
+
# @param scope [Symbol, Lithic::Models::AuthRules::V2ListParams::Scope] Only return Auth Rules that are bound to the provided scope. When no token is pr
|
|
89
90
|
#
|
|
90
91
|
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
|
91
92
|
#
|
|
92
93
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
93
94
|
|
|
94
|
-
# Only return Auth Rules that are bound to the provided scope.
|
|
95
|
+
# Only return Auth Rules that are bound to the provided scope. When no token is
|
|
96
|
+
# provided, `CARD` also returns Auth Rules that include a `CARD_TAG` entity.
|
|
95
97
|
module Scope
|
|
96
98
|
extend Lithic::Internal::Type::Enum
|
|
97
99
|
|
|
@@ -182,6 +182,7 @@ module Lithic
|
|
|
182
182
|
PROGRAM_SUSPENDED = :PROGRAM_SUSPENDED
|
|
183
183
|
PROGRAM_USAGE_RESTRICTION = :PROGRAM_USAGE_RESTRICTION
|
|
184
184
|
REVERSAL_UNMATCHED = :REVERSAL_UNMATCHED
|
|
185
|
+
SCA_REQUIRED = :SCA_REQUIRED
|
|
185
186
|
SECURITY_VIOLATION = :SECURITY_VIOLATION
|
|
186
187
|
SINGLE_USE_CARD_REATTEMPTED = :SINGLE_USE_CARD_REATTEMPTED
|
|
187
188
|
SUSPECTED_FRAUD = :SUSPECTED_FRAUD
|