lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56
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 +39 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +52 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -105,169 +105,13 @@ module Lithic
|
|
|
105
105
|
| Lithic::AuthRules::VelocityLimitParams
|
|
106
106
|
| Lithic::AuthRules::MerchantLockParameters
|
|
107
107
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
108
|
-
| Lithic::
|
|
108
|
+
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
109
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
110
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
109
111
|
|
|
110
112
|
module Parameters
|
|
111
113
|
extend Lithic::Internal::Type::Union
|
|
112
114
|
|
|
113
|
-
type conditional_authorization_action_parameters =
|
|
114
|
-
{
|
|
115
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
116
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
120
|
-
attr_accessor action: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action
|
|
121
|
-
|
|
122
|
-
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
123
|
-
|
|
124
|
-
def initialize: (
|
|
125
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
126
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
127
|
-
) -> void
|
|
128
|
-
|
|
129
|
-
def to_hash: -> {
|
|
130
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
131
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
type action = :DECLINE | :CHALLENGE
|
|
135
|
-
|
|
136
|
-
module Action
|
|
137
|
-
extend Lithic::Internal::Type::Enum
|
|
138
|
-
|
|
139
|
-
DECLINE: :DECLINE
|
|
140
|
-
CHALLENGE: :CHALLENGE
|
|
141
|
-
|
|
142
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action]
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
type condition =
|
|
146
|
-
{
|
|
147
|
-
attribute: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
148
|
-
operation: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
149
|
-
value: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
153
|
-
attr_reader attribute: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
|
|
154
|
-
|
|
155
|
-
def attribute=: (
|
|
156
|
-
Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
|
157
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
|
158
|
-
|
|
159
|
-
attr_reader operation: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
|
|
160
|
-
|
|
161
|
-
def operation=: (
|
|
162
|
-
Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
|
163
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
|
164
|
-
|
|
165
|
-
attr_reader value: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
|
|
166
|
-
|
|
167
|
-
def value=: (
|
|
168
|
-
Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
169
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
170
|
-
|
|
171
|
-
def initialize: (
|
|
172
|
-
?attribute: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
173
|
-
?operation: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
174
|
-
?value: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
175
|
-
) -> void
|
|
176
|
-
|
|
177
|
-
def to_hash: -> {
|
|
178
|
-
attribute: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
179
|
-
operation: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
180
|
-
value: Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
type attribute =
|
|
184
|
-
:MCC
|
|
185
|
-
| :COUNTRY
|
|
186
|
-
| :CURRENCY
|
|
187
|
-
| :MERCHANT_ID
|
|
188
|
-
| :DESCRIPTOR
|
|
189
|
-
| :LIABILITY_SHIFT
|
|
190
|
-
| :PAN_ENTRY_MODE
|
|
191
|
-
| :TRANSACTION_AMOUNT
|
|
192
|
-
| :CASH_AMOUNT
|
|
193
|
-
| :RISK_SCORE
|
|
194
|
-
| :CARD_TRANSACTION_COUNT_15M
|
|
195
|
-
| :CARD_TRANSACTION_COUNT_1H
|
|
196
|
-
| :CARD_TRANSACTION_COUNT_24H
|
|
197
|
-
| :CARD_STATE
|
|
198
|
-
| :PIN_ENTERED
|
|
199
|
-
| :PIN_STATUS
|
|
200
|
-
| :WALLET_TYPE
|
|
201
|
-
| :TRANSACTION_INITIATOR
|
|
202
|
-
| :ADDRESS_MATCH
|
|
203
|
-
|
|
204
|
-
module Attribute
|
|
205
|
-
extend Lithic::Internal::Type::Enum
|
|
206
|
-
|
|
207
|
-
MCC: :MCC
|
|
208
|
-
COUNTRY: :COUNTRY
|
|
209
|
-
CURRENCY: :CURRENCY
|
|
210
|
-
MERCHANT_ID: :MERCHANT_ID
|
|
211
|
-
DESCRIPTOR: :DESCRIPTOR
|
|
212
|
-
LIABILITY_SHIFT: :LIABILITY_SHIFT
|
|
213
|
-
PAN_ENTRY_MODE: :PAN_ENTRY_MODE
|
|
214
|
-
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
|
215
|
-
CASH_AMOUNT: :CASH_AMOUNT
|
|
216
|
-
RISK_SCORE: :RISK_SCORE
|
|
217
|
-
CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
|
|
218
|
-
CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
|
|
219
|
-
CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
|
|
220
|
-
CARD_STATE: :CARD_STATE
|
|
221
|
-
PIN_ENTERED: :PIN_ENTERED
|
|
222
|
-
PIN_STATUS: :PIN_STATUS
|
|
223
|
-
WALLET_TYPE: :WALLET_TYPE
|
|
224
|
-
TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
|
|
225
|
-
ADDRESS_MATCH: :ADDRESS_MATCH
|
|
226
|
-
|
|
227
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
type operation =
|
|
231
|
-
:IS_ONE_OF
|
|
232
|
-
| :IS_NOT_ONE_OF
|
|
233
|
-
| :MATCHES
|
|
234
|
-
| :DOES_NOT_MATCH
|
|
235
|
-
| :IS_EQUAL_TO
|
|
236
|
-
| :IS_NOT_EQUAL_TO
|
|
237
|
-
| :IS_GREATER_THAN
|
|
238
|
-
| :IS_GREATER_THAN_OR_EQUAL_TO
|
|
239
|
-
| :IS_LESS_THAN
|
|
240
|
-
| :IS_LESS_THAN_OR_EQUAL_TO
|
|
241
|
-
|
|
242
|
-
module Operation
|
|
243
|
-
extend Lithic::Internal::Type::Enum
|
|
244
|
-
|
|
245
|
-
IS_ONE_OF: :IS_ONE_OF
|
|
246
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
|
247
|
-
MATCHES: :MATCHES
|
|
248
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
|
249
|
-
IS_EQUAL_TO: :IS_EQUAL_TO
|
|
250
|
-
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
|
251
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
|
252
|
-
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
|
253
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
|
254
|
-
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
|
255
|
-
|
|
256
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
type value = String | Integer | ::Array[String]
|
|
260
|
-
|
|
261
|
-
module Value
|
|
262
|
-
extend Lithic::Internal::Type::Union
|
|
263
|
-
|
|
264
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
|
|
265
|
-
|
|
266
|
-
StringArray: Lithic::Internal::Type::Converter
|
|
267
|
-
end
|
|
268
|
-
end
|
|
269
|
-
end
|
|
270
|
-
|
|
271
115
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::parameters]
|
|
272
116
|
end
|
|
273
117
|
end
|
|
@@ -298,180 +142,32 @@ module Lithic
|
|
|
298
142
|
| Lithic::AuthRules::VelocityLimitParams
|
|
299
143
|
| Lithic::AuthRules::MerchantLockParameters
|
|
300
144
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
301
|
-
| Lithic::
|
|
145
|
+
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
146
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
147
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
302
148
|
|
|
303
149
|
module Parameters
|
|
304
150
|
extend Lithic::Internal::Type::Union
|
|
305
151
|
|
|
306
|
-
type conditional_authorization_action_parameters =
|
|
307
|
-
{
|
|
308
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
309
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
313
|
-
attr_accessor action: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action
|
|
314
|
-
|
|
315
|
-
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
316
|
-
|
|
317
|
-
def initialize: (
|
|
318
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
319
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
320
|
-
) -> void
|
|
321
|
-
|
|
322
|
-
def to_hash: -> {
|
|
323
|
-
action: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
|
324
|
-
conditions: ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
type action = :DECLINE | :CHALLENGE
|
|
328
|
-
|
|
329
|
-
module Action
|
|
330
|
-
extend Lithic::Internal::Type::Enum
|
|
331
|
-
|
|
332
|
-
DECLINE: :DECLINE
|
|
333
|
-
CHALLENGE: :CHALLENGE
|
|
334
|
-
|
|
335
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action]
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
type condition =
|
|
339
|
-
{
|
|
340
|
-
attribute: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
341
|
-
operation: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
342
|
-
value: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
class Condition < Lithic::Internal::Type::BaseModel
|
|
346
|
-
attr_reader attribute: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
|
|
347
|
-
|
|
348
|
-
def attribute=: (
|
|
349
|
-
Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
|
350
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
|
351
|
-
|
|
352
|
-
attr_reader operation: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
|
|
353
|
-
|
|
354
|
-
def operation=: (
|
|
355
|
-
Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
|
356
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
|
357
|
-
|
|
358
|
-
attr_reader value: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
|
|
359
|
-
|
|
360
|
-
def value=: (
|
|
361
|
-
Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
362
|
-
) -> Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
363
|
-
|
|
364
|
-
def initialize: (
|
|
365
|
-
?attribute: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
366
|
-
?operation: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
367
|
-
?value: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
368
|
-
) -> void
|
|
369
|
-
|
|
370
|
-
def to_hash: -> {
|
|
371
|
-
attribute: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
|
372
|
-
operation: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
|
373
|
-
value: Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
type attribute =
|
|
377
|
-
:MCC
|
|
378
|
-
| :COUNTRY
|
|
379
|
-
| :CURRENCY
|
|
380
|
-
| :MERCHANT_ID
|
|
381
|
-
| :DESCRIPTOR
|
|
382
|
-
| :LIABILITY_SHIFT
|
|
383
|
-
| :PAN_ENTRY_MODE
|
|
384
|
-
| :TRANSACTION_AMOUNT
|
|
385
|
-
| :CASH_AMOUNT
|
|
386
|
-
| :RISK_SCORE
|
|
387
|
-
| :CARD_TRANSACTION_COUNT_15M
|
|
388
|
-
| :CARD_TRANSACTION_COUNT_1H
|
|
389
|
-
| :CARD_TRANSACTION_COUNT_24H
|
|
390
|
-
| :CARD_STATE
|
|
391
|
-
| :PIN_ENTERED
|
|
392
|
-
| :PIN_STATUS
|
|
393
|
-
| :WALLET_TYPE
|
|
394
|
-
| :TRANSACTION_INITIATOR
|
|
395
|
-
| :ADDRESS_MATCH
|
|
396
|
-
|
|
397
|
-
module Attribute
|
|
398
|
-
extend Lithic::Internal::Type::Enum
|
|
399
|
-
|
|
400
|
-
MCC: :MCC
|
|
401
|
-
COUNTRY: :COUNTRY
|
|
402
|
-
CURRENCY: :CURRENCY
|
|
403
|
-
MERCHANT_ID: :MERCHANT_ID
|
|
404
|
-
DESCRIPTOR: :DESCRIPTOR
|
|
405
|
-
LIABILITY_SHIFT: :LIABILITY_SHIFT
|
|
406
|
-
PAN_ENTRY_MODE: :PAN_ENTRY_MODE
|
|
407
|
-
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
|
408
|
-
CASH_AMOUNT: :CASH_AMOUNT
|
|
409
|
-
RISK_SCORE: :RISK_SCORE
|
|
410
|
-
CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
|
|
411
|
-
CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
|
|
412
|
-
CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
|
|
413
|
-
CARD_STATE: :CARD_STATE
|
|
414
|
-
PIN_ENTERED: :PIN_ENTERED
|
|
415
|
-
PIN_STATUS: :PIN_STATUS
|
|
416
|
-
WALLET_TYPE: :WALLET_TYPE
|
|
417
|
-
TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
|
|
418
|
-
ADDRESS_MATCH: :ADDRESS_MATCH
|
|
419
|
-
|
|
420
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
|
|
421
|
-
end
|
|
422
|
-
|
|
423
|
-
type operation =
|
|
424
|
-
:IS_ONE_OF
|
|
425
|
-
| :IS_NOT_ONE_OF
|
|
426
|
-
| :MATCHES
|
|
427
|
-
| :DOES_NOT_MATCH
|
|
428
|
-
| :IS_EQUAL_TO
|
|
429
|
-
| :IS_NOT_EQUAL_TO
|
|
430
|
-
| :IS_GREATER_THAN
|
|
431
|
-
| :IS_GREATER_THAN_OR_EQUAL_TO
|
|
432
|
-
| :IS_LESS_THAN
|
|
433
|
-
| :IS_LESS_THAN_OR_EQUAL_TO
|
|
434
|
-
|
|
435
|
-
module Operation
|
|
436
|
-
extend Lithic::Internal::Type::Enum
|
|
437
|
-
|
|
438
|
-
IS_ONE_OF: :IS_ONE_OF
|
|
439
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
|
440
|
-
MATCHES: :MATCHES
|
|
441
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
|
442
|
-
IS_EQUAL_TO: :IS_EQUAL_TO
|
|
443
|
-
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
|
444
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
|
445
|
-
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
|
446
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
|
447
|
-
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
|
448
|
-
|
|
449
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
|
|
450
|
-
end
|
|
451
|
-
|
|
452
|
-
type value = String | Integer | ::Array[String]
|
|
453
|
-
|
|
454
|
-
module Value
|
|
455
|
-
extend Lithic::Internal::Type::Union
|
|
456
|
-
|
|
457
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
|
|
458
|
-
|
|
459
|
-
StringArray: Lithic::Internal::Type::Converter
|
|
460
|
-
end
|
|
461
|
-
end
|
|
462
|
-
end
|
|
463
|
-
|
|
464
152
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::parameters]
|
|
465
153
|
end
|
|
466
154
|
end
|
|
467
155
|
|
|
468
|
-
type event_stream =
|
|
156
|
+
type event_stream =
|
|
157
|
+
:AUTHORIZATION
|
|
158
|
+
| :THREE_DS_AUTHENTICATION
|
|
159
|
+
| :TOKENIZATION
|
|
160
|
+
| :ACH_CREDIT_RECEIPT
|
|
161
|
+
| :ACH_DEBIT_RECEIPT
|
|
469
162
|
|
|
470
163
|
module EventStream
|
|
471
164
|
extend Lithic::Internal::Type::Enum
|
|
472
165
|
|
|
473
166
|
AUTHORIZATION: :AUTHORIZATION
|
|
474
167
|
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
168
|
+
TOKENIZATION: :TOKENIZATION
|
|
169
|
+
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
170
|
+
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
475
171
|
|
|
476
172
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2PromoteResponse::event_stream]
|
|
477
173
|
end
|
|
@@ -25,7 +25,7 @@ module Lithic
|
|
|
25
25
|
type feature =
|
|
26
26
|
{
|
|
27
27
|
filters: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Filters,
|
|
28
|
-
period: Lithic::Models::AuthRules::
|
|
28
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
29
29
|
scope: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::scope,
|
|
30
30
|
value: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Value
|
|
31
31
|
}
|
|
@@ -33,7 +33,7 @@ module Lithic
|
|
|
33
33
|
class Feature < Lithic::Internal::Type::BaseModel
|
|
34
34
|
attr_accessor filters: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Filters
|
|
35
35
|
|
|
36
|
-
attr_accessor period: Lithic::Models::AuthRules::
|
|
36
|
+
attr_accessor period: Lithic::Models::AuthRules::velocity_limit_period
|
|
37
37
|
|
|
38
38
|
attr_accessor scope: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::scope
|
|
39
39
|
|
|
@@ -41,14 +41,14 @@ module Lithic
|
|
|
41
41
|
|
|
42
42
|
def initialize: (
|
|
43
43
|
filters: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Filters,
|
|
44
|
-
period: Lithic::Models::AuthRules::
|
|
44
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
45
45
|
scope: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::scope,
|
|
46
46
|
value: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Value
|
|
47
47
|
) -> void
|
|
48
48
|
|
|
49
49
|
def to_hash: -> {
|
|
50
50
|
filters: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Filters,
|
|
51
|
-
period: Lithic::Models::AuthRules::
|
|
51
|
+
period: Lithic::Models::AuthRules::velocity_limit_period,
|
|
52
52
|
scope: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::scope,
|
|
53
53
|
value: Lithic::Models::AuthRules::V2RetrieveFeaturesResponse::Feature::Value
|
|
54
54
|
}
|