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.
Files changed (229) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account_activity_list_response.rb +60 -148
  6. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
  7. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  8. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  9. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
  10. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
  11. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
  12. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
  13. data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
  14. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
  15. data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
  16. data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
  17. data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
  18. data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
  19. data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
  20. data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
  21. data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
  22. data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
  23. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  24. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
  25. data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
  26. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  27. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  28. data/lib/lithic/models/book_transfer_response.rb +6 -5
  29. data/lib/lithic/models/category_details.rb +27 -0
  30. data/lib/lithic/models/dispute_v2.rb +555 -0
  31. data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
  32. data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
  33. data/lib/lithic/models/event.rb +213 -69
  34. data/lib/lithic/models/event_list_params.rb +112 -6
  35. data/lib/lithic/models/event_subscription.rb +112 -6
  36. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  37. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  38. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  39. data/lib/lithic/models/external_bank_account_address.rb +2 -2
  40. data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
  41. data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
  42. data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
  43. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
  44. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
  45. data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
  46. data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
  47. data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
  48. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
  49. data/lib/lithic/models/external_payment.rb +3 -2
  50. data/lib/lithic/models/external_payment_list_params.rb +1 -0
  51. data/lib/lithic/models/financial_account.rb +5 -68
  52. data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
  53. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  54. data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
  55. data/lib/lithic/models/financial_accounts/statement.rb +73 -211
  56. data/lib/lithic/models/financial_event.rb +148 -0
  57. data/lib/lithic/models/financial_transaction.rb +3 -146
  58. data/lib/lithic/models/management_operation_list_params.rb +1 -0
  59. data/lib/lithic/models/management_operation_transaction.rb +5 -4
  60. data/lib/lithic/models/merchant.rb +70 -0
  61. data/lib/lithic/models/payment.rb +16 -14
  62. data/lib/lithic/models/payment_return_params.rb +62 -0
  63. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  64. data/lib/lithic/models/statement_totals.rb +100 -0
  65. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
  66. data/lib/lithic/models/tokenization.rb +189 -23
  67. data/lib/lithic/models/transaction.rb +15 -185
  68. data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
  69. data/lib/lithic/models/transfer.rb +3 -146
  70. data/lib/lithic/models.rb +18 -0
  71. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  72. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  73. data/lib/lithic/resources/disputes_v2.rb +74 -0
  74. data/lib/lithic/resources/external_bank_accounts.rb +19 -0
  75. data/lib/lithic/resources/payments.rb +53 -1
  76. data/lib/lithic/version.rb +1 -1
  77. data/lib/lithic.rb +18 -3
  78. data/rbi/lithic/client.rbi +3 -0
  79. data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
  80. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
  81. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  82. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  83. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
  84. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
  85. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
  86. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
  87. data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
  88. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
  89. data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
  90. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
  91. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
  92. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
  93. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
  94. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
  95. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
  96. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
  97. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  98. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
  99. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
  100. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  101. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  102. data/rbi/lithic/models/book_transfer_response.rbi +16 -11
  103. data/rbi/lithic/models/category_details.rbi +43 -0
  104. data/rbi/lithic/models/dispute_v2.rbi +965 -0
  105. data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
  106. data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
  107. data/rbi/lithic/models/event.rbi +348 -111
  108. data/rbi/lithic/models/event_list_params.rbi +155 -25
  109. data/rbi/lithic/models/event_subscription.rbi +155 -25
  110. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  111. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  112. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  113. data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
  114. data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
  115. data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
  116. data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
  117. data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
  118. data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
  119. data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
  120. data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
  121. data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
  122. data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
  123. data/rbi/lithic/models/external_payment.rbi +5 -6
  124. data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
  125. data/rbi/lithic/models/financial_account.rbi +15 -136
  126. data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
  127. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  128. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
  129. data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
  130. data/rbi/lithic/models/financial_event.rbi +409 -0
  131. data/rbi/lithic/models/financial_transaction.rbi +3 -509
  132. data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
  133. data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
  134. data/rbi/lithic/models/merchant.rbi +89 -0
  135. data/rbi/lithic/models/payment.rbi +27 -21
  136. data/rbi/lithic/models/payment_return_params.rbi +85 -0
  137. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  138. data/rbi/lithic/models/statement_totals.rbi +128 -0
  139. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
  140. data/rbi/lithic/models/tokenization.rbi +429 -34
  141. data/rbi/lithic/models/transaction.rbi +26 -336
  142. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
  143. data/rbi/lithic/models/transfer.rbi +4 -436
  144. data/rbi/lithic/models.rbi +19 -0
  145. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  146. data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
  147. data/rbi/lithic/resources/disputes_v2.rbi +64 -0
  148. data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
  149. data/rbi/lithic/resources/payments.rbi +52 -0
  150. data/sig/lithic/client.rbs +2 -0
  151. data/sig/lithic/models/account_activity_list_response.rbs +67 -221
  152. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
  153. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  154. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  155. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
  156. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
  157. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
  158. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
  159. data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
  160. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
  161. data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
  162. data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
  163. data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
  164. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
  165. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
  166. data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
  167. data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
  168. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
  169. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  170. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
  171. data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
  172. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  173. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  174. data/sig/lithic/models/book_transfer_response.rbs +10 -8
  175. data/sig/lithic/models/category_details.rbs +26 -0
  176. data/sig/lithic/models/dispute_v2.rbs +438 -0
  177. data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
  178. data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
  179. data/sig/lithic/models/event.rbs +25 -13
  180. data/sig/lithic/models/event_list_params.rbs +25 -13
  181. data/sig/lithic/models/event_subscription.rbs +25 -13
  182. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  183. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  184. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  185. data/sig/lithic/models/external_bank_account_address.rbs +4 -6
  186. data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
  187. data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
  188. data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
  189. data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
  190. data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
  191. data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
  192. data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
  193. data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
  194. data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
  195. data/sig/lithic/models/external_payment.rbs +7 -7
  196. data/sig/lithic/models/external_payment_list_params.rbs +3 -1
  197. data/sig/lithic/models/financial_account.rbs +7 -49
  198. data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
  199. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  200. data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
  201. data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
  202. data/sig/lithic/models/financial_event.rbs +216 -0
  203. data/sig/lithic/models/financial_transaction.rbs +4 -217
  204. data/sig/lithic/models/management_operation_list_params.rbs +3 -1
  205. data/sig/lithic/models/management_operation_transaction.rbs +11 -13
  206. data/sig/lithic/models/merchant.rbs +50 -0
  207. data/sig/lithic/models/payment.rbs +17 -15
  208. data/sig/lithic/models/payment_return_params.rbs +46 -0
  209. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  210. data/sig/lithic/models/statement_totals.rbs +76 -0
  211. data/sig/lithic/models/tokenization.rbs +160 -13
  212. data/sig/lithic/models/transaction.rbs +17 -145
  213. data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
  214. data/sig/lithic/models/transfer.rbs +6 -219
  215. data/sig/lithic/models.rbs +18 -0
  216. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  217. data/sig/lithic/resources/disputes_v2.rbs +24 -0
  218. data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
  219. data/sig/lithic/resources/payments.rbs +12 -0
  220. metadata +56 -11
  221. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  222. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  223. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  224. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  225. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  226. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  227. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  228. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  229. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -99,7 +99,8 @@ module Lithic
99
99
  # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
100
100
  # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
101
101
  # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
102
- # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
102
+ # - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
103
+ # ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
103
104
  sig do
104
105
  returns(Lithic::Models::AuthRules::V2ListResponse::Type::TaggedSymbol)
105
106
  end
@@ -166,7 +167,8 @@ module Lithic
166
167
  # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
167
168
  # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
168
169
  # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
169
- # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
170
+ # - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
171
+ # ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
170
172
  type:,
171
173
  # Card tokens to which the Auth Rule does not apply.
172
174
  excluded_card_tokens: nil
@@ -234,7 +236,9 @@ module Lithic
234
236
  Lithic::AuthRules::VelocityLimitParams::OrHash,
235
237
  Lithic::AuthRules::MerchantLockParameters::OrHash,
236
238
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
237
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::OrHash
239
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
240
+ Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
241
+ Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
238
242
  ),
239
243
  version: Integer
240
244
  ).returns(T.attached_class)
@@ -271,581 +275,12 @@ module Lithic
271
275
  Lithic::AuthRules::VelocityLimitParams,
272
276
  Lithic::AuthRules::MerchantLockParameters,
273
277
  Lithic::AuthRules::Conditional3DSActionParameters,
274
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
278
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters,
279
+ Lithic::AuthRules::ConditionalACHActionParameters,
280
+ Lithic::AuthRules::ConditionalTokenizationActionParameters
275
281
  )
276
282
  end
277
283
 
278
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
279
- OrHash =
280
- T.type_alias do
281
- T.any(
282
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters,
283
- Lithic::Internal::AnyHash
284
- )
285
- end
286
-
287
- # The action to take if the conditions are met.
288
- sig do
289
- returns(
290
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
291
- )
292
- end
293
- attr_accessor :action
294
-
295
- sig do
296
- returns(
297
- T::Array[
298
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
299
- ]
300
- )
301
- end
302
- attr_accessor :conditions
303
-
304
- sig do
305
- params(
306
- action:
307
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
308
- conditions:
309
- T::Array[
310
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
311
- ]
312
- ).returns(T.attached_class)
313
- end
314
- def self.new(
315
- # The action to take if the conditions are met.
316
- action:,
317
- conditions:
318
- )
319
- end
320
-
321
- sig do
322
- override.returns(
323
- {
324
- action:
325
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
326
- conditions:
327
- T::Array[
328
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
329
- ]
330
- }
331
- )
332
- end
333
- def to_hash
334
- end
335
-
336
- # The action to take if the conditions are met.
337
- module Action
338
- extend Lithic::Internal::Type::Enum
339
-
340
- TaggedSymbol =
341
- T.type_alias do
342
- T.all(
343
- Symbol,
344
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action
345
- )
346
- end
347
- OrSymbol = T.type_alias { T.any(Symbol, String) }
348
-
349
- DECLINE =
350
- T.let(
351
- :DECLINE,
352
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
353
- )
354
- CHALLENGE =
355
- T.let(
356
- :CHALLENGE,
357
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
358
- )
359
-
360
- sig do
361
- override.returns(
362
- T::Array[
363
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
364
- ]
365
- )
366
- end
367
- def self.values
368
- end
369
- end
370
-
371
- class Condition < Lithic::Internal::Type::BaseModel
372
- OrHash =
373
- T.type_alias do
374
- T.any(
375
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
376
- Lithic::Internal::AnyHash
377
- )
378
- end
379
-
380
- # The attribute to target.
381
- #
382
- # The following attributes may be targeted:
383
- #
384
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
385
- # business by the types of goods or services it provides.
386
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
387
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
388
- # Netherlands Antilles.
389
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
390
- # the transaction.
391
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
392
- # (merchant).
393
- # - `DESCRIPTOR`: Short description of card acceptor.
394
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
395
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
396
- # `TOKEN_AUTHENTICATED`.
397
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
398
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
399
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
400
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
401
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
402
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
403
- # fee field in the settlement/cardholder billing currency. This is the amount
404
- # the issuer should authorize against unless the issuer is paying the acquirer
405
- # fee on behalf of the cardholder.
406
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
407
- # represents the amount of cash being withdrawn or advanced.
408
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
409
- # given authorization. Scores are on a range of 0-999, with 0 representing the
410
- # lowest risk and 999 representing the highest risk. For Visa transactions,
411
- # where the raw score has a range of 0-99, Lithic will normalize the score by
412
- # multiplying the raw score by 10x.
413
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
414
- # trailing 15 minutes before the authorization.
415
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
416
- # trailing hour up and until the authorization.
417
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
418
- # trailing 24 hours up and until the authorization.
419
- # - `CARD_STATE`: The current state of the card associated with the transaction.
420
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
421
- # `PENDING_FULFILLMENT`.
422
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
423
- # Valid values are `TRUE`, `FALSE`.
424
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
425
- # `OK`, `BLOCKED`.
426
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
427
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
428
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
429
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
430
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
431
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
432
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
433
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
434
- sig do
435
- returns(
436
- T.nilable(
437
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
438
- )
439
- )
440
- end
441
- attr_reader :attribute
442
-
443
- sig do
444
- params(
445
- attribute:
446
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
447
- ).void
448
- end
449
- attr_writer :attribute
450
-
451
- # The operation to apply to the attribute
452
- sig do
453
- returns(
454
- T.nilable(
455
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
456
- )
457
- )
458
- end
459
- attr_reader :operation
460
-
461
- sig do
462
- params(
463
- operation:
464
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
465
- ).void
466
- end
467
- attr_writer :operation
468
-
469
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
470
- sig do
471
- returns(
472
- T.nilable(
473
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
474
- )
475
- )
476
- end
477
- attr_reader :value
478
-
479
- sig do
480
- params(
481
- value:
482
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
483
- ).void
484
- end
485
- attr_writer :value
486
-
487
- sig do
488
- params(
489
- attribute:
490
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
491
- operation:
492
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
493
- value:
494
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
495
- ).returns(T.attached_class)
496
- end
497
- def self.new(
498
- # The attribute to target.
499
- #
500
- # The following attributes may be targeted:
501
- #
502
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
503
- # business by the types of goods or services it provides.
504
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
505
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
506
- # Netherlands Antilles.
507
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
508
- # the transaction.
509
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
510
- # (merchant).
511
- # - `DESCRIPTOR`: Short description of card acceptor.
512
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
513
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
514
- # `TOKEN_AUTHENTICATED`.
515
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
516
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
517
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
518
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
519
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
520
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
521
- # fee field in the settlement/cardholder billing currency. This is the amount
522
- # the issuer should authorize against unless the issuer is paying the acquirer
523
- # fee on behalf of the cardholder.
524
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
525
- # represents the amount of cash being withdrawn or advanced.
526
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
527
- # given authorization. Scores are on a range of 0-999, with 0 representing the
528
- # lowest risk and 999 representing the highest risk. For Visa transactions,
529
- # where the raw score has a range of 0-99, Lithic will normalize the score by
530
- # multiplying the raw score by 10x.
531
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
532
- # trailing 15 minutes before the authorization.
533
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
534
- # trailing hour up and until the authorization.
535
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
536
- # trailing 24 hours up and until the authorization.
537
- # - `CARD_STATE`: The current state of the card associated with the transaction.
538
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
539
- # `PENDING_FULFILLMENT`.
540
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
541
- # Valid values are `TRUE`, `FALSE`.
542
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
543
- # `OK`, `BLOCKED`.
544
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
545
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
546
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
547
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
548
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
549
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
550
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
551
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
552
- attribute: nil,
553
- # The operation to apply to the attribute
554
- operation: nil,
555
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
556
- value: nil
557
- )
558
- end
559
-
560
- sig do
561
- override.returns(
562
- {
563
- attribute:
564
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
565
- operation:
566
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
567
- value:
568
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
569
- }
570
- )
571
- end
572
- def to_hash
573
- end
574
-
575
- # The attribute to target.
576
- #
577
- # The following attributes may be targeted:
578
- #
579
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
580
- # business by the types of goods or services it provides.
581
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
582
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
583
- # Netherlands Antilles.
584
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
585
- # the transaction.
586
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
587
- # (merchant).
588
- # - `DESCRIPTOR`: Short description of card acceptor.
589
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
590
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
591
- # `TOKEN_AUTHENTICATED`.
592
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
593
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
594
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
595
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
596
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
597
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
598
- # fee field in the settlement/cardholder billing currency. This is the amount
599
- # the issuer should authorize against unless the issuer is paying the acquirer
600
- # fee on behalf of the cardholder.
601
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
602
- # represents the amount of cash being withdrawn or advanced.
603
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
604
- # given authorization. Scores are on a range of 0-999, with 0 representing the
605
- # lowest risk and 999 representing the highest risk. For Visa transactions,
606
- # where the raw score has a range of 0-99, Lithic will normalize the score by
607
- # multiplying the raw score by 10x.
608
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
609
- # trailing 15 minutes before the authorization.
610
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
611
- # trailing hour up and until the authorization.
612
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
613
- # trailing 24 hours up and until the authorization.
614
- # - `CARD_STATE`: The current state of the card associated with the transaction.
615
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
616
- # `PENDING_FULFILLMENT`.
617
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
618
- # Valid values are `TRUE`, `FALSE`.
619
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
620
- # `OK`, `BLOCKED`.
621
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
622
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
623
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
624
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
625
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
626
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
627
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
628
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
629
- module Attribute
630
- extend Lithic::Internal::Type::Enum
631
-
632
- TaggedSymbol =
633
- T.type_alias do
634
- T.all(
635
- Symbol,
636
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
637
- )
638
- end
639
- OrSymbol = T.type_alias { T.any(Symbol, String) }
640
-
641
- MCC =
642
- T.let(
643
- :MCC,
644
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
645
- )
646
- COUNTRY =
647
- T.let(
648
- :COUNTRY,
649
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
650
- )
651
- CURRENCY =
652
- T.let(
653
- :CURRENCY,
654
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
655
- )
656
- MERCHANT_ID =
657
- T.let(
658
- :MERCHANT_ID,
659
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
660
- )
661
- DESCRIPTOR =
662
- T.let(
663
- :DESCRIPTOR,
664
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
665
- )
666
- LIABILITY_SHIFT =
667
- T.let(
668
- :LIABILITY_SHIFT,
669
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
670
- )
671
- PAN_ENTRY_MODE =
672
- T.let(
673
- :PAN_ENTRY_MODE,
674
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
675
- )
676
- TRANSACTION_AMOUNT =
677
- T.let(
678
- :TRANSACTION_AMOUNT,
679
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
680
- )
681
- CASH_AMOUNT =
682
- T.let(
683
- :CASH_AMOUNT,
684
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
685
- )
686
- RISK_SCORE =
687
- T.let(
688
- :RISK_SCORE,
689
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
690
- )
691
- CARD_TRANSACTION_COUNT_15_M =
692
- T.let(
693
- :CARD_TRANSACTION_COUNT_15M,
694
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
695
- )
696
- CARD_TRANSACTION_COUNT_1_H =
697
- T.let(
698
- :CARD_TRANSACTION_COUNT_1H,
699
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
700
- )
701
- CARD_TRANSACTION_COUNT_24_H =
702
- T.let(
703
- :CARD_TRANSACTION_COUNT_24H,
704
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
705
- )
706
- CARD_STATE =
707
- T.let(
708
- :CARD_STATE,
709
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
710
- )
711
- PIN_ENTERED =
712
- T.let(
713
- :PIN_ENTERED,
714
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
715
- )
716
- PIN_STATUS =
717
- T.let(
718
- :PIN_STATUS,
719
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
720
- )
721
- WALLET_TYPE =
722
- T.let(
723
- :WALLET_TYPE,
724
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
725
- )
726
- TRANSACTION_INITIATOR =
727
- T.let(
728
- :TRANSACTION_INITIATOR,
729
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
730
- )
731
- ADDRESS_MATCH =
732
- T.let(
733
- :ADDRESS_MATCH,
734
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
735
- )
736
-
737
- sig do
738
- override.returns(
739
- T::Array[
740
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
741
- ]
742
- )
743
- end
744
- def self.values
745
- end
746
- end
747
-
748
- # The operation to apply to the attribute
749
- module Operation
750
- extend Lithic::Internal::Type::Enum
751
-
752
- TaggedSymbol =
753
- T.type_alias do
754
- T.all(
755
- Symbol,
756
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
757
- )
758
- end
759
- OrSymbol = T.type_alias { T.any(Symbol, String) }
760
-
761
- IS_ONE_OF =
762
- T.let(
763
- :IS_ONE_OF,
764
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
765
- )
766
- IS_NOT_ONE_OF =
767
- T.let(
768
- :IS_NOT_ONE_OF,
769
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
770
- )
771
- MATCHES =
772
- T.let(
773
- :MATCHES,
774
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
775
- )
776
- DOES_NOT_MATCH =
777
- T.let(
778
- :DOES_NOT_MATCH,
779
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
780
- )
781
- IS_EQUAL_TO =
782
- T.let(
783
- :IS_EQUAL_TO,
784
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
785
- )
786
- IS_NOT_EQUAL_TO =
787
- T.let(
788
- :IS_NOT_EQUAL_TO,
789
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
790
- )
791
- IS_GREATER_THAN =
792
- T.let(
793
- :IS_GREATER_THAN,
794
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
795
- )
796
- IS_GREATER_THAN_OR_EQUAL_TO =
797
- T.let(
798
- :IS_GREATER_THAN_OR_EQUAL_TO,
799
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
800
- )
801
- IS_LESS_THAN =
802
- T.let(
803
- :IS_LESS_THAN,
804
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
805
- )
806
- IS_LESS_THAN_OR_EQUAL_TO =
807
- T.let(
808
- :IS_LESS_THAN_OR_EQUAL_TO,
809
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
810
- )
811
-
812
- sig do
813
- override.returns(
814
- T::Array[
815
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
816
- ]
817
- )
818
- end
819
- def self.values
820
- end
821
- end
822
-
823
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
824
- module Value
825
- extend Lithic::Internal::Type::Union
826
-
827
- Variants =
828
- T.type_alias { T.any(String, Integer, T::Array[String]) }
829
-
830
- sig do
831
- override.returns(
832
- T::Array[
833
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
834
- ]
835
- )
836
- end
837
- def self.variants
838
- end
839
-
840
- StringArray =
841
- T.let(
842
- Lithic::Internal::Type::ArrayOf[String],
843
- Lithic::Internal::Type::Converter
844
- )
845
- end
846
- end
847
- end
848
-
849
284
  sig do
850
285
  override.returns(
851
286
  T::Array[
@@ -888,7 +323,9 @@ module Lithic
888
323
  Lithic::AuthRules::VelocityLimitParams::OrHash,
889
324
  Lithic::AuthRules::MerchantLockParameters::OrHash,
890
325
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
891
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::OrHash
326
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash,
327
+ Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
328
+ Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash
892
329
  ),
893
330
  version: Integer
894
331
  ).returns(T.attached_class)
@@ -925,580 +362,11 @@ module Lithic
925
362
  Lithic::AuthRules::VelocityLimitParams,
926
363
  Lithic::AuthRules::MerchantLockParameters,
927
364
  Lithic::AuthRules::Conditional3DSActionParameters,
928
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
929
- )
930
- end
931
-
932
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
933
- OrHash =
934
- T.type_alias do
935
- T.any(
936
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters,
937
- Lithic::Internal::AnyHash
938
- )
939
- end
940
-
941
- # The action to take if the conditions are met.
942
- sig do
943
- returns(
944
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
365
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters,
366
+ Lithic::AuthRules::ConditionalACHActionParameters,
367
+ Lithic::AuthRules::ConditionalTokenizationActionParameters
945
368
  )
946
369
  end
947
- attr_accessor :action
948
-
949
- sig do
950
- returns(
951
- T::Array[
952
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
953
- ]
954
- )
955
- end
956
- attr_accessor :conditions
957
-
958
- sig do
959
- params(
960
- action:
961
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
962
- conditions:
963
- T::Array[
964
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
965
- ]
966
- ).returns(T.attached_class)
967
- end
968
- def self.new(
969
- # The action to take if the conditions are met.
970
- action:,
971
- conditions:
972
- )
973
- end
974
-
975
- sig do
976
- override.returns(
977
- {
978
- action:
979
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
980
- conditions:
981
- T::Array[
982
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
983
- ]
984
- }
985
- )
986
- end
987
- def to_hash
988
- end
989
-
990
- # The action to take if the conditions are met.
991
- module Action
992
- extend Lithic::Internal::Type::Enum
993
-
994
- TaggedSymbol =
995
- T.type_alias do
996
- T.all(
997
- Symbol,
998
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action
999
- )
1000
- end
1001
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1002
-
1003
- DECLINE =
1004
- T.let(
1005
- :DECLINE,
1006
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1007
- )
1008
- CHALLENGE =
1009
- T.let(
1010
- :CHALLENGE,
1011
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1012
- )
1013
-
1014
- sig do
1015
- override.returns(
1016
- T::Array[
1017
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1018
- ]
1019
- )
1020
- end
1021
- def self.values
1022
- end
1023
- end
1024
-
1025
- class Condition < Lithic::Internal::Type::BaseModel
1026
- OrHash =
1027
- T.type_alias do
1028
- T.any(
1029
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
1030
- Lithic::Internal::AnyHash
1031
- )
1032
- end
1033
-
1034
- # The attribute to target.
1035
- #
1036
- # The following attributes may be targeted:
1037
- #
1038
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1039
- # business by the types of goods or services it provides.
1040
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1041
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1042
- # Netherlands Antilles.
1043
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1044
- # the transaction.
1045
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1046
- # (merchant).
1047
- # - `DESCRIPTOR`: Short description of card acceptor.
1048
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1049
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1050
- # `TOKEN_AUTHENTICATED`.
1051
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1052
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1053
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1054
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1055
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
1056
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1057
- # fee field in the settlement/cardholder billing currency. This is the amount
1058
- # the issuer should authorize against unless the issuer is paying the acquirer
1059
- # fee on behalf of the cardholder.
1060
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1061
- # represents the amount of cash being withdrawn or advanced.
1062
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1063
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1064
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1065
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1066
- # multiplying the raw score by 10x.
1067
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1068
- # trailing 15 minutes before the authorization.
1069
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1070
- # trailing hour up and until the authorization.
1071
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1072
- # trailing 24 hours up and until the authorization.
1073
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1074
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1075
- # `PENDING_FULFILLMENT`.
1076
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1077
- # Valid values are `TRUE`, `FALSE`.
1078
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1079
- # `OK`, `BLOCKED`.
1080
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1081
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1082
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1083
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1084
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1085
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1086
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1087
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1088
- sig do
1089
- returns(
1090
- T.nilable(
1091
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1092
- )
1093
- )
1094
- end
1095
- attr_reader :attribute
1096
-
1097
- sig do
1098
- params(
1099
- attribute:
1100
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
1101
- ).void
1102
- end
1103
- attr_writer :attribute
1104
-
1105
- # The operation to apply to the attribute
1106
- sig do
1107
- returns(
1108
- T.nilable(
1109
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1110
- )
1111
- )
1112
- end
1113
- attr_reader :operation
1114
-
1115
- sig do
1116
- params(
1117
- operation:
1118
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
1119
- ).void
1120
- end
1121
- attr_writer :operation
1122
-
1123
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1124
- sig do
1125
- returns(
1126
- T.nilable(
1127
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1128
- )
1129
- )
1130
- end
1131
- attr_reader :value
1132
-
1133
- sig do
1134
- params(
1135
- value:
1136
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1137
- ).void
1138
- end
1139
- attr_writer :value
1140
-
1141
- sig do
1142
- params(
1143
- attribute:
1144
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
1145
- operation:
1146
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
1147
- value:
1148
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1149
- ).returns(T.attached_class)
1150
- end
1151
- def self.new(
1152
- # The attribute to target.
1153
- #
1154
- # The following attributes may be targeted:
1155
- #
1156
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1157
- # business by the types of goods or services it provides.
1158
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1159
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1160
- # Netherlands Antilles.
1161
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1162
- # the transaction.
1163
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1164
- # (merchant).
1165
- # - `DESCRIPTOR`: Short description of card acceptor.
1166
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1167
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1168
- # `TOKEN_AUTHENTICATED`.
1169
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1170
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1171
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1172
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1173
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
1174
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1175
- # fee field in the settlement/cardholder billing currency. This is the amount
1176
- # the issuer should authorize against unless the issuer is paying the acquirer
1177
- # fee on behalf of the cardholder.
1178
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1179
- # represents the amount of cash being withdrawn or advanced.
1180
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1181
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1182
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1183
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1184
- # multiplying the raw score by 10x.
1185
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1186
- # trailing 15 minutes before the authorization.
1187
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1188
- # trailing hour up and until the authorization.
1189
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1190
- # trailing 24 hours up and until the authorization.
1191
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1192
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1193
- # `PENDING_FULFILLMENT`.
1194
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1195
- # Valid values are `TRUE`, `FALSE`.
1196
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1197
- # `OK`, `BLOCKED`.
1198
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1199
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1200
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1201
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1202
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1203
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1204
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1205
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1206
- attribute: nil,
1207
- # The operation to apply to the attribute
1208
- operation: nil,
1209
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1210
- value: nil
1211
- )
1212
- end
1213
-
1214
- sig do
1215
- override.returns(
1216
- {
1217
- attribute:
1218
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
1219
- operation:
1220
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
1221
- value:
1222
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1223
- }
1224
- )
1225
- end
1226
- def to_hash
1227
- end
1228
-
1229
- # The attribute to target.
1230
- #
1231
- # The following attributes may be targeted:
1232
- #
1233
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1234
- # business by the types of goods or services it provides.
1235
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1236
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1237
- # Netherlands Antilles.
1238
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1239
- # the transaction.
1240
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1241
- # (merchant).
1242
- # - `DESCRIPTOR`: Short description of card acceptor.
1243
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1244
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1245
- # `TOKEN_AUTHENTICATED`.
1246
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1247
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1248
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1249
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1250
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
1251
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1252
- # fee field in the settlement/cardholder billing currency. This is the amount
1253
- # the issuer should authorize against unless the issuer is paying the acquirer
1254
- # fee on behalf of the cardholder.
1255
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1256
- # represents the amount of cash being withdrawn or advanced.
1257
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1258
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1259
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1260
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1261
- # multiplying the raw score by 10x.
1262
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1263
- # trailing 15 minutes before the authorization.
1264
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1265
- # trailing hour up and until the authorization.
1266
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1267
- # trailing 24 hours up and until the authorization.
1268
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1269
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1270
- # `PENDING_FULFILLMENT`.
1271
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1272
- # Valid values are `TRUE`, `FALSE`.
1273
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1274
- # `OK`, `BLOCKED`.
1275
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1276
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1277
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1278
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1279
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1280
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1281
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1282
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1283
- module Attribute
1284
- extend Lithic::Internal::Type::Enum
1285
-
1286
- TaggedSymbol =
1287
- T.type_alias do
1288
- T.all(
1289
- Symbol,
1290
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
1291
- )
1292
- end
1293
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1294
-
1295
- MCC =
1296
- T.let(
1297
- :MCC,
1298
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1299
- )
1300
- COUNTRY =
1301
- T.let(
1302
- :COUNTRY,
1303
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1304
- )
1305
- CURRENCY =
1306
- T.let(
1307
- :CURRENCY,
1308
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1309
- )
1310
- MERCHANT_ID =
1311
- T.let(
1312
- :MERCHANT_ID,
1313
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1314
- )
1315
- DESCRIPTOR =
1316
- T.let(
1317
- :DESCRIPTOR,
1318
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1319
- )
1320
- LIABILITY_SHIFT =
1321
- T.let(
1322
- :LIABILITY_SHIFT,
1323
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1324
- )
1325
- PAN_ENTRY_MODE =
1326
- T.let(
1327
- :PAN_ENTRY_MODE,
1328
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1329
- )
1330
- TRANSACTION_AMOUNT =
1331
- T.let(
1332
- :TRANSACTION_AMOUNT,
1333
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1334
- )
1335
- CASH_AMOUNT =
1336
- T.let(
1337
- :CASH_AMOUNT,
1338
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1339
- )
1340
- RISK_SCORE =
1341
- T.let(
1342
- :RISK_SCORE,
1343
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1344
- )
1345
- CARD_TRANSACTION_COUNT_15_M =
1346
- T.let(
1347
- :CARD_TRANSACTION_COUNT_15M,
1348
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1349
- )
1350
- CARD_TRANSACTION_COUNT_1_H =
1351
- T.let(
1352
- :CARD_TRANSACTION_COUNT_1H,
1353
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1354
- )
1355
- CARD_TRANSACTION_COUNT_24_H =
1356
- T.let(
1357
- :CARD_TRANSACTION_COUNT_24H,
1358
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1359
- )
1360
- CARD_STATE =
1361
- T.let(
1362
- :CARD_STATE,
1363
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1364
- )
1365
- PIN_ENTERED =
1366
- T.let(
1367
- :PIN_ENTERED,
1368
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1369
- )
1370
- PIN_STATUS =
1371
- T.let(
1372
- :PIN_STATUS,
1373
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1374
- )
1375
- WALLET_TYPE =
1376
- T.let(
1377
- :WALLET_TYPE,
1378
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1379
- )
1380
- TRANSACTION_INITIATOR =
1381
- T.let(
1382
- :TRANSACTION_INITIATOR,
1383
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1384
- )
1385
- ADDRESS_MATCH =
1386
- T.let(
1387
- :ADDRESS_MATCH,
1388
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1389
- )
1390
-
1391
- sig do
1392
- override.returns(
1393
- T::Array[
1394
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1395
- ]
1396
- )
1397
- end
1398
- def self.values
1399
- end
1400
- end
1401
-
1402
- # The operation to apply to the attribute
1403
- module Operation
1404
- extend Lithic::Internal::Type::Enum
1405
-
1406
- TaggedSymbol =
1407
- T.type_alias do
1408
- T.all(
1409
- Symbol,
1410
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
1411
- )
1412
- end
1413
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1414
-
1415
- IS_ONE_OF =
1416
- T.let(
1417
- :IS_ONE_OF,
1418
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1419
- )
1420
- IS_NOT_ONE_OF =
1421
- T.let(
1422
- :IS_NOT_ONE_OF,
1423
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1424
- )
1425
- MATCHES =
1426
- T.let(
1427
- :MATCHES,
1428
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1429
- )
1430
- DOES_NOT_MATCH =
1431
- T.let(
1432
- :DOES_NOT_MATCH,
1433
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1434
- )
1435
- IS_EQUAL_TO =
1436
- T.let(
1437
- :IS_EQUAL_TO,
1438
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1439
- )
1440
- IS_NOT_EQUAL_TO =
1441
- T.let(
1442
- :IS_NOT_EQUAL_TO,
1443
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1444
- )
1445
- IS_GREATER_THAN =
1446
- T.let(
1447
- :IS_GREATER_THAN,
1448
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1449
- )
1450
- IS_GREATER_THAN_OR_EQUAL_TO =
1451
- T.let(
1452
- :IS_GREATER_THAN_OR_EQUAL_TO,
1453
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1454
- )
1455
- IS_LESS_THAN =
1456
- T.let(
1457
- :IS_LESS_THAN,
1458
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1459
- )
1460
- IS_LESS_THAN_OR_EQUAL_TO =
1461
- T.let(
1462
- :IS_LESS_THAN_OR_EQUAL_TO,
1463
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1464
- )
1465
-
1466
- sig do
1467
- override.returns(
1468
- T::Array[
1469
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1470
- ]
1471
- )
1472
- end
1473
- def self.values
1474
- end
1475
- end
1476
-
1477
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1478
- module Value
1479
- extend Lithic::Internal::Type::Union
1480
-
1481
- Variants =
1482
- T.type_alias { T.any(String, Integer, T::Array[String]) }
1483
-
1484
- sig do
1485
- override.returns(
1486
- T::Array[
1487
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1488
- ]
1489
- )
1490
- end
1491
- def self.variants
1492
- end
1493
-
1494
- StringArray =
1495
- T.let(
1496
- Lithic::Internal::Type::ArrayOf[String],
1497
- Lithic::Internal::Type::Converter
1498
- )
1499
- end
1500
- end
1501
- end
1502
370
 
1503
371
  sig do
1504
372
  override.returns(
@@ -1535,6 +403,21 @@ module Lithic
1535
403
  :THREE_DS_AUTHENTICATION,
1536
404
  Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
1537
405
  )
406
+ TOKENIZATION =
407
+ T.let(
408
+ :TOKENIZATION,
409
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
410
+ )
411
+ ACH_CREDIT_RECEIPT =
412
+ T.let(
413
+ :ACH_CREDIT_RECEIPT,
414
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
415
+ )
416
+ ACH_DEBIT_RECEIPT =
417
+ T.let(
418
+ :ACH_DEBIT_RECEIPT,
419
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
420
+ )
1538
421
 
1539
422
  sig do
1540
423
  override.returns(
@@ -1587,7 +470,8 @@ module Lithic
1587
470
  # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
1588
471
  # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
1589
472
  # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
1590
- # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
473
+ # - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
474
+ # ACH_CREDIT_RECEIPT, or ACH_DEBIT_RECEIPT event stream.
1591
475
  module Type
1592
476
  extend Lithic::Internal::Type::Enum
1593
477