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