lithic 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/util.rb +31 -0
  5. data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +7 -1
  6. data/lib/lithic/models/account_holder.rb +1 -79
  7. data/lib/lithic/models/account_holder_create_params.rb +338 -549
  8. data/lib/lithic/models/account_holder_list_documents_params.rb +7 -1
  9. data/lib/lithic/models/account_holder_retrieve_document_params.rb +7 -1
  10. data/lib/lithic/models/account_holder_retrieve_params.rb +7 -1
  11. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +1 -9
  12. data/lib/lithic/models/account_holder_update_params.rb +501 -509
  13. data/lib/lithic/models/account_holder_update_response.rb +1 -9
  14. data/lib/lithic/models/account_holder_updated_webhook_event.rb +1 -11
  15. data/lib/lithic/models/account_holder_upload_document_params.rb +8 -1
  16. data/lib/lithic/models/account_holders/entity_create_params.rb +8 -1
  17. data/lib/lithic/models/account_holders/entity_delete_params.rb +7 -1
  18. data/lib/lithic/models/account_retrieve_params.rb +7 -1
  19. data/lib/lithic/models/account_retrieve_spend_limits_params.rb +7 -1
  20. data/lib/lithic/models/account_update_params.rb +8 -1
  21. data/lib/lithic/models/auth_rules/{rule_stats.rb → backtest_stats.rb} +16 -24
  22. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +9 -9
  23. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +13 -13
  24. data/lib/lithic/models/auth_rules/report_stats.rb +552 -0
  25. data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +8 -1
  26. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +6 -6
  27. data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +7 -1
  28. data/lib/lithic/models/auth_rules/v2_create_params.rb +338 -113
  29. data/lib/lithic/models/auth_rules/v2_delete_params.rb +7 -1
  30. data/lib/lithic/models/auth_rules/v2_draft_params.rb +8 -1
  31. data/lib/lithic/models/auth_rules/v2_list_results_params.rb +19 -1
  32. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +163 -47
  33. data/lib/lithic/models/auth_rules/v2_promote_params.rb +7 -1
  34. data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +7 -1
  35. data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +7 -1
  36. data/lib/lithic/models/auth_rules/v2_retrieve_report_params.rb +8 -1
  37. data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +6 -6
  38. data/lib/lithic/models/auth_rules/v2_update_params.rb +183 -66
  39. data/lib/lithic/models/book_transfer_retrieve_params.rb +7 -1
  40. data/lib/lithic/models/book_transfer_retry_params.rb +8 -1
  41. data/lib/lithic/models/book_transfer_reverse_params.rb +8 -1
  42. data/lib/lithic/models/card_bulk_order_retrieve_params.rb +7 -1
  43. data/lib/lithic/models/card_bulk_order_update_params.rb +8 -1
  44. data/lib/lithic/models/card_convert_physical_params.rb +8 -1
  45. data/lib/lithic/models/card_program_retrieve_params.rb +7 -1
  46. data/lib/lithic/models/card_provision_params.rb +8 -1
  47. data/lib/lithic/models/card_reissue_params.rb +8 -1
  48. data/lib/lithic/models/card_renew_params.rb +8 -1
  49. data/lib/lithic/models/card_retrieve_params.rb +7 -1
  50. data/lib/lithic/models/card_retrieve_spend_limits_params.rb +7 -1
  51. data/lib/lithic/models/card_update_params.rb +8 -1
  52. data/lib/lithic/models/card_web_provision_params.rb +8 -1
  53. data/lib/lithic/models/cards/balance_list_params.rb +8 -1
  54. data/lib/lithic/models/cards/financial_transaction_list_params.rb +8 -1
  55. data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +7 -1
  56. data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +7 -1
  57. data/lib/lithic/models/credit_products/prime_rate_create_params.rb +9 -1
  58. data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +9 -1
  59. data/lib/lithic/models/digital_card_art_retrieve_params.rb +7 -1
  60. data/lib/lithic/models/dispute_delete_evidence_params.rb +7 -1
  61. data/lib/lithic/models/dispute_delete_params.rb +7 -1
  62. data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +8 -1
  63. data/lib/lithic/models/dispute_list_evidences_params.rb +8 -1
  64. data/lib/lithic/models/dispute_retrieve_evidence_params.rb +7 -1
  65. data/lib/lithic/models/dispute_retrieve_params.rb +7 -1
  66. data/lib/lithic/models/dispute_update_params.rb +8 -1
  67. data/lib/lithic/models/disputes_v2_retrieve_params.rb +7 -1
  68. data/lib/lithic/models/event_list_attempts_params.rb +8 -1
  69. data/lib/lithic/models/event_retrieve_params.rb +7 -1
  70. data/lib/lithic/models/events/event_subscription_resend_params.rb +7 -1
  71. data/lib/lithic/models/events/subscription_delete_params.rb +7 -1
  72. data/lib/lithic/models/events/subscription_list_attempts_params.rb +8 -1
  73. data/lib/lithic/models/events/subscription_recover_params.rb +8 -1
  74. data/lib/lithic/models/events/subscription_replay_missing_params.rb +8 -1
  75. data/lib/lithic/models/events/subscription_retrieve_params.rb +7 -1
  76. data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +7 -1
  77. data/lib/lithic/models/events/subscription_rotate_secret_params.rb +7 -1
  78. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +8 -1
  79. data/lib/lithic/models/events/subscription_update_params.rb +8 -1
  80. data/lib/lithic/models/external_bank_account_create_params.rb +446 -140
  81. data/lib/lithic/models/external_bank_account_retrieve_params.rb +7 -1
  82. data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +7 -1
  83. data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +7 -1
  84. data/lib/lithic/models/external_bank_account_unpause_params.rb +7 -1
  85. data/lib/lithic/models/external_bank_account_update_params.rb +8 -1
  86. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +7 -1
  87. data/lib/lithic/models/external_payment_cancel_params.rb +7 -1
  88. data/lib/lithic/models/external_payment_release_params.rb +7 -1
  89. data/lib/lithic/models/external_payment_retrieve_params.rb +7 -1
  90. data/lib/lithic/models/external_payment_reverse_params.rb +7 -1
  91. data/lib/lithic/models/external_payment_settle_params.rb +7 -1
  92. data/lib/lithic/models/financial_account_register_account_number_params.rb +7 -1
  93. data/lib/lithic/models/financial_account_retrieve_params.rb +7 -1
  94. data/lib/lithic/models/financial_account_update_params.rb +7 -1
  95. data/lib/lithic/models/financial_account_update_status_params.rb +8 -1
  96. data/lib/lithic/models/financial_accounts/balance_list_params.rb +8 -1
  97. data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +7 -1
  98. data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +8 -1
  99. data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +8 -1
  100. data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +7 -1
  101. data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +7 -1
  102. data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +7 -1
  103. data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +8 -1
  104. data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +7 -1
  105. data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +8 -1
  106. data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +9 -1
  107. data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +9 -1
  108. data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +9 -1
  109. data/lib/lithic/models/financial_accounts/statement_list_params.rb +9 -1
  110. data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +9 -1
  111. data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +9 -1
  112. data/lib/lithic/models/fraud/transaction_report_params.rb +8 -1
  113. data/lib/lithic/models/fraud/transaction_retrieve_params.rb +7 -1
  114. data/lib/lithic/models/funding_event_retrieve_details_params.rb +7 -1
  115. data/lib/lithic/models/funding_event_retrieve_params.rb +7 -1
  116. data/lib/lithic/models/kyb.rb +1 -71
  117. data/lib/lithic/models/management_operation_retrieve_params.rb +7 -1
  118. data/lib/lithic/models/management_operation_reverse_params.rb +7 -1
  119. data/lib/lithic/models/network_program_retrieve_params.rb +7 -1
  120. data/lib/lithic/models/parsed_webhook_event.rb +1 -11
  121. data/lib/lithic/models/payment_create_params.rb +22 -1
  122. data/lib/lithic/models/payment_retrieve_params.rb +7 -1
  123. data/lib/lithic/models/payment_retry_params.rb +7 -1
  124. data/lib/lithic/models/payment_return_params.rb +8 -1
  125. data/lib/lithic/models/payment_simulate_action_params.rb +8 -1
  126. data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +7 -1
  127. data/lib/lithic/models/reports/settlement_list_details_params.rb +8 -1
  128. data/lib/lithic/models/reports/settlement_summary_params.rb +7 -1
  129. data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +7 -1
  130. data/lib/lithic/models/tokenization_activate_params.rb +7 -1
  131. data/lib/lithic/models/tokenization_deactivate_params.rb +7 -1
  132. data/lib/lithic/models/tokenization_pause_params.rb +7 -1
  133. data/lib/lithic/models/tokenization_resend_activation_code_params.rb +8 -1
  134. data/lib/lithic/models/tokenization_retrieve_params.rb +7 -1
  135. data/lib/lithic/models/tokenization_unpause_params.rb +7 -1
  136. data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +8 -1
  137. data/lib/lithic/models/transaction_expire_authorization_params.rb +7 -1
  138. data/lib/lithic/models/transaction_retrieve_params.rb +7 -1
  139. data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +7 -1
  140. data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +7 -1
  141. data/lib/lithic/resources/account_activity.rb +2 -1
  142. data/lib/lithic/resources/account_holders/entities.rb +4 -4
  143. data/lib/lithic/resources/account_holders.rb +9 -83
  144. data/lib/lithic/resources/accounts.rb +2 -1
  145. data/lib/lithic/resources/auth_rules/v2.rb +20 -49
  146. data/lib/lithic/resources/balances.rb +2 -1
  147. data/lib/lithic/resources/book_transfers.rb +2 -1
  148. data/lib/lithic/resources/card_bulk_orders.rb +2 -1
  149. data/lib/lithic/resources/card_programs.rb +2 -1
  150. data/lib/lithic/resources/cards/balances.rb +2 -1
  151. data/lib/lithic/resources/cards/financial_transactions.rb +2 -1
  152. data/lib/lithic/resources/cards.rb +4 -2
  153. data/lib/lithic/resources/credit_products/prime_rates.rb +2 -1
  154. data/lib/lithic/resources/digital_card_art.rb +2 -1
  155. data/lib/lithic/resources/disputes.rb +4 -2
  156. data/lib/lithic/resources/disputes_v2.rb +2 -1
  157. data/lib/lithic/resources/events/subscriptions.rb +8 -4
  158. data/lib/lithic/resources/events.rb +4 -2
  159. data/lib/lithic/resources/external_bank_accounts.rb +5 -40
  160. data/lib/lithic/resources/external_payments.rb +2 -1
  161. data/lib/lithic/resources/financial_accounts/balances.rb +2 -1
  162. data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -1
  163. data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +2 -1
  164. data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -1
  165. data/lib/lithic/resources/financial_accounts/statements/line_items.rb +2 -1
  166. data/lib/lithic/resources/financial_accounts/statements.rb +2 -1
  167. data/lib/lithic/resources/financial_accounts.rb +2 -1
  168. data/lib/lithic/resources/funding_events.rb +2 -1
  169. data/lib/lithic/resources/management_operations.rb +2 -1
  170. data/lib/lithic/resources/network_programs.rb +2 -1
  171. data/lib/lithic/resources/payments.rb +5 -2
  172. data/lib/lithic/resources/reports/settlement/network_totals.rb +2 -1
  173. data/lib/lithic/resources/reports/settlement.rb +2 -1
  174. data/lib/lithic/resources/responder_endpoints.rb +4 -2
  175. data/lib/lithic/resources/tokenizations.rb +2 -1
  176. data/lib/lithic/resources/transactions.rb +2 -1
  177. data/lib/lithic/resources/transfer_limits.rb +2 -1
  178. data/lib/lithic/version.rb +1 -1
  179. data/lib/lithic.rb +2 -1
  180. data/rbi/lithic/internal/util.rbi +20 -0
  181. data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +13 -5
  182. data/rbi/lithic/models/account_holder.rbi +0 -121
  183. data/rbi/lithic/models/account_holder_create_params.rbi +567 -837
  184. data/rbi/lithic/models/account_holder_list_documents_params.rbi +16 -5
  185. data/rbi/lithic/models/account_holder_retrieve_document_params.rbi +6 -1
  186. data/rbi/lithic/models/account_holder_retrieve_params.rbi +16 -5
  187. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +0 -16
  188. data/rbi/lithic/models/account_holder_update_params.rbi +860 -831
  189. data/rbi/lithic/models/account_holder_update_response.rbi +0 -17
  190. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +0 -17
  191. data/rbi/lithic/models/account_holder_upload_document_params.rbi +6 -0
  192. data/rbi/lithic/models/account_holders/entity_create_params.rbi +6 -0
  193. data/rbi/lithic/models/account_holders/entity_delete_params.rbi +6 -1
  194. data/rbi/lithic/models/account_retrieve_params.rbi +13 -5
  195. data/rbi/lithic/models/account_retrieve_spend_limits_params.rbi +13 -5
  196. data/rbi/lithic/models/account_update_params.rbi +6 -0
  197. data/rbi/lithic/models/auth_rules/{rule_stats.rbi → backtest_stats.rbi} +29 -33
  198. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +12 -12
  199. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +31 -31
  200. data/rbi/lithic/models/auth_rules/report_stats.rbi +1754 -0
  201. data/rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi +6 -0
  202. data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +11 -8
  203. data/rbi/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +10 -1
  204. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +675 -181
  205. data/rbi/lithic/models/auth_rules/v2_delete_params.rbi +13 -5
  206. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +6 -0
  207. data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +26 -0
  208. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +520 -97
  209. data/rbi/lithic/models/auth_rules/v2_promote_params.rbi +13 -5
  210. data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +11 -1
  211. data/rbi/lithic/models/auth_rules/v2_retrieve_params.rbi +13 -5
  212. data/rbi/lithic/models/auth_rules/v2_retrieve_report_params.rbi +6 -0
  213. data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +8 -8
  214. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +391 -101
  215. data/rbi/lithic/models/book_transfer_retrieve_params.rbi +16 -5
  216. data/rbi/lithic/models/book_transfer_retry_params.rbi +10 -1
  217. data/rbi/lithic/models/book_transfer_reverse_params.rbi +10 -1
  218. data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +13 -5
  219. data/rbi/lithic/models/card_bulk_order_update_params.rbi +6 -0
  220. data/rbi/lithic/models/card_convert_physical_params.rbi +6 -0
  221. data/rbi/lithic/models/card_program_retrieve_params.rbi +16 -5
  222. data/rbi/lithic/models/card_provision_params.rbi +6 -0
  223. data/rbi/lithic/models/card_reissue_params.rbi +6 -0
  224. data/rbi/lithic/models/card_renew_params.rbi +6 -0
  225. data/rbi/lithic/models/card_retrieve_params.rbi +13 -5
  226. data/rbi/lithic/models/card_retrieve_spend_limits_params.rbi +13 -5
  227. data/rbi/lithic/models/card_update_params.rbi +6 -0
  228. data/rbi/lithic/models/card_web_provision_params.rbi +6 -0
  229. data/rbi/lithic/models/cards/balance_list_params.rbi +6 -0
  230. data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +6 -0
  231. data/rbi/lithic/models/cards/financial_transaction_retrieve_params.rbi +14 -2
  232. data/rbi/lithic/models/credit_products/extended_credit_retrieve_params.rbi +16 -5
  233. data/rbi/lithic/models/credit_products/prime_rate_create_params.rbi +8 -0
  234. data/rbi/lithic/models/credit_products/prime_rate_retrieve_params.rbi +8 -0
  235. data/rbi/lithic/models/digital_card_art_retrieve_params.rbi +16 -5
  236. data/rbi/lithic/models/dispute_delete_evidence_params.rbi +10 -2
  237. data/rbi/lithic/models/dispute_delete_params.rbi +13 -5
  238. data/rbi/lithic/models/dispute_initiate_evidence_upload_params.rbi +10 -1
  239. data/rbi/lithic/models/dispute_list_evidences_params.rbi +6 -0
  240. data/rbi/lithic/models/dispute_retrieve_evidence_params.rbi +10 -2
  241. data/rbi/lithic/models/dispute_retrieve_params.rbi +13 -5
  242. data/rbi/lithic/models/dispute_update_params.rbi +6 -0
  243. data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +13 -5
  244. data/rbi/lithic/models/event_list_attempts_params.rbi +6 -0
  245. data/rbi/lithic/models/event_retrieve_params.rbi +13 -5
  246. data/rbi/lithic/models/events/event_subscription_resend_params.rbi +14 -2
  247. data/rbi/lithic/models/events/subscription_delete_params.rbi +16 -5
  248. data/rbi/lithic/models/events/subscription_list_attempts_params.rbi +6 -0
  249. data/rbi/lithic/models/events/subscription_recover_params.rbi +6 -0
  250. data/rbi/lithic/models/events/subscription_replay_missing_params.rbi +6 -0
  251. data/rbi/lithic/models/events/subscription_retrieve_params.rbi +16 -5
  252. data/rbi/lithic/models/events/subscription_retrieve_secret_params.rbi +16 -5
  253. data/rbi/lithic/models/events/subscription_rotate_secret_params.rbi +16 -5
  254. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +6 -0
  255. data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
  256. data/rbi/lithic/models/external_bank_account_create_params.rbi +693 -211
  257. data/rbi/lithic/models/external_bank_account_retrieve_params.rbi +16 -5
  258. data/rbi/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +10 -1
  259. data/rbi/lithic/models/external_bank_account_retry_prenote_params.rbi +10 -1
  260. data/rbi/lithic/models/external_bank_account_unpause_params.rbi +16 -5
  261. data/rbi/lithic/models/external_bank_account_update_params.rbi +6 -0
  262. data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +10 -1
  263. data/rbi/lithic/models/external_payment_cancel_params.rbi +11 -1
  264. data/rbi/lithic/models/external_payment_release_params.rbi +11 -1
  265. data/rbi/lithic/models/external_payment_retrieve_params.rbi +16 -5
  266. data/rbi/lithic/models/external_payment_reverse_params.rbi +11 -1
  267. data/rbi/lithic/models/external_payment_settle_params.rbi +6 -0
  268. data/rbi/lithic/models/financial_account_register_account_number_params.rbi +14 -2
  269. data/rbi/lithic/models/financial_account_retrieve_params.rbi +16 -5
  270. data/rbi/lithic/models/financial_account_update_params.rbi +10 -2
  271. data/rbi/lithic/models/financial_account_update_status_params.rbi +6 -0
  272. data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +6 -0
  273. data/rbi/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +16 -5
  274. data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +6 -0
  275. data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +6 -0
  276. data/rbi/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +10 -1
  277. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +16 -5
  278. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +10 -1
  279. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +6 -0
  280. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +10 -1
  281. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +6 -0
  282. data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +21 -5
  283. data/rbi/lithic/models/financial_accounts/loan_tape_list_params.rbi +8 -0
  284. data/rbi/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +8 -0
  285. data/rbi/lithic/models/financial_accounts/statement_list_params.rbi +8 -0
  286. data/rbi/lithic/models/financial_accounts/statement_retrieve_params.rbi +8 -0
  287. data/rbi/lithic/models/financial_accounts/statements/line_item_list_params.rbi +8 -0
  288. data/rbi/lithic/models/fraud/transaction_report_params.rbi +6 -0
  289. data/rbi/lithic/models/fraud/transaction_retrieve_params.rbi +16 -5
  290. data/rbi/lithic/models/funding_event_retrieve_details_params.rbi +16 -5
  291. data/rbi/lithic/models/funding_event_retrieve_params.rbi +16 -5
  292. data/rbi/lithic/models/kyb.rbi +0 -109
  293. data/rbi/lithic/models/management_operation_retrieve_params.rbi +16 -5
  294. data/rbi/lithic/models/management_operation_reverse_params.rbi +11 -1
  295. data/rbi/lithic/models/network_program_retrieve_params.rbi +16 -5
  296. data/rbi/lithic/models/parsed_webhook_event.rbi +0 -17
  297. data/rbi/lithic/models/payment_create_params.rbi +34 -0
  298. data/rbi/lithic/models/payment_retrieve_params.rbi +13 -5
  299. data/rbi/lithic/models/payment_retry_params.rbi +13 -5
  300. data/rbi/lithic/models/payment_return_params.rbi +6 -0
  301. data/rbi/lithic/models/payment_simulate_action_params.rbi +6 -0
  302. data/rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi +13 -5
  303. data/rbi/lithic/models/reports/settlement_list_details_params.rbi +6 -0
  304. data/rbi/lithic/models/reports/settlement_summary_params.rbi +13 -5
  305. data/rbi/lithic/models/three_ds/authentication_retrieve_params.rbi +16 -5
  306. data/rbi/lithic/models/tokenization_activate_params.rbi +16 -5
  307. data/rbi/lithic/models/tokenization_deactivate_params.rbi +16 -5
  308. data/rbi/lithic/models/tokenization_pause_params.rbi +16 -5
  309. data/rbi/lithic/models/tokenization_resend_activation_code_params.rbi +6 -0
  310. data/rbi/lithic/models/tokenization_retrieve_params.rbi +16 -5
  311. data/rbi/lithic/models/tokenization_unpause_params.rbi +16 -5
  312. data/rbi/lithic/models/tokenization_update_digital_card_art_params.rbi +6 -0
  313. data/rbi/lithic/models/transaction_expire_authorization_params.rbi +13 -5
  314. data/rbi/lithic/models/transaction_retrieve_params.rbi +13 -5
  315. data/rbi/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +16 -5
  316. data/rbi/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +13 -5
  317. data/rbi/lithic/resources/account_holders/entities.rbi +4 -4
  318. data/rbi/lithic/resources/account_holders.rbi +16 -177
  319. data/rbi/lithic/resources/auth_rules/v2.rbi +20 -76
  320. data/rbi/lithic/resources/external_bank_accounts.rbi +7 -58
  321. data/rbi/lithic/resources/payments.rbi +3 -0
  322. data/sig/lithic/internal/util.rbs +10 -0
  323. data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +11 -3
  324. data/sig/lithic/models/account_holder.rbs +0 -58
  325. data/sig/lithic/models/account_holder_create_params.rbs +217 -353
  326. data/sig/lithic/models/account_holder_list_documents_params.rbs +12 -3
  327. data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -1
  328. data/sig/lithic/models/account_holder_retrieve_params.rbs +12 -3
  329. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +0 -9
  330. data/sig/lithic/models/account_holder_update_params.rbs +326 -330
  331. data/sig/lithic/models/account_holder_update_response.rbs +0 -9
  332. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +0 -9
  333. data/sig/lithic/models/account_holder_upload_document_params.rbs +5 -0
  334. data/sig/lithic/models/account_holders/entity_create_params.rbs +5 -0
  335. data/sig/lithic/models/account_holders/entity_delete_params.rbs +5 -1
  336. data/sig/lithic/models/account_retrieve_params.rbs +11 -3
  337. data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +11 -3
  338. data/sig/lithic/models/account_update_params.rbs +5 -0
  339. data/sig/lithic/models/auth_rules/{rule_stats.rbs → backtest_stats.rbs} +15 -22
  340. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +8 -8
  341. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +15 -15
  342. data/sig/lithic/models/auth_rules/report_stats.rbs +696 -0
  343. data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +5 -1
  344. data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +8 -8
  345. data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -1
  346. data/sig/lithic/models/auth_rules/v2_create_params.rbs +236 -74
  347. data/sig/lithic/models/auth_rules/v2_delete_params.rbs +12 -3
  348. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +8 -1
  349. data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +14 -0
  350. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +220 -49
  351. data/sig/lithic/models/auth_rules/v2_promote_params.rbs +12 -3
  352. data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +5 -1
  353. data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +11 -3
  354. data/sig/lithic/models/auth_rules/v2_retrieve_report_params.rbs +5 -1
  355. data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +8 -8
  356. data/sig/lithic/models/auth_rules/v2_update_params.rbs +152 -47
  357. data/sig/lithic/models/book_transfer_retrieve_params.rbs +12 -3
  358. data/sig/lithic/models/book_transfer_retry_params.rbs +6 -1
  359. data/sig/lithic/models/book_transfer_reverse_params.rbs +10 -2
  360. data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +11 -3
  361. data/sig/lithic/models/card_bulk_order_update_params.rbs +8 -1
  362. data/sig/lithic/models/card_convert_physical_params.rbs +5 -0
  363. data/sig/lithic/models/card_program_retrieve_params.rbs +12 -3
  364. data/sig/lithic/models/card_provision_params.rbs +5 -0
  365. data/sig/lithic/models/card_reissue_params.rbs +5 -0
  366. data/sig/lithic/models/card_renew_params.rbs +5 -0
  367. data/sig/lithic/models/card_retrieve_params.rbs +11 -3
  368. data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +11 -3
  369. data/sig/lithic/models/card_update_params.rbs +5 -0
  370. data/sig/lithic/models/card_web_provision_params.rbs +5 -0
  371. data/sig/lithic/models/cards/balance_list_params.rbs +9 -1
  372. data/sig/lithic/models/cards/financial_transaction_list_params.rbs +5 -0
  373. data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +6 -1
  374. data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +12 -3
  375. data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +5 -1
  376. data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +9 -1
  377. data/sig/lithic/models/digital_card_art_retrieve_params.rbs +12 -3
  378. data/sig/lithic/models/dispute_delete_evidence_params.rbs +6 -1
  379. data/sig/lithic/models/dispute_delete_params.rbs +11 -3
  380. data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +6 -1
  381. data/sig/lithic/models/dispute_list_evidences_params.rbs +5 -0
  382. data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +6 -1
  383. data/sig/lithic/models/dispute_retrieve_params.rbs +11 -3
  384. data/sig/lithic/models/dispute_update_params.rbs +5 -0
  385. data/sig/lithic/models/disputes_v2_retrieve_params.rbs +11 -3
  386. data/sig/lithic/models/event_list_attempts_params.rbs +5 -0
  387. data/sig/lithic/models/event_retrieve_params.rbs +11 -3
  388. data/sig/lithic/models/events/event_subscription_resend_params.rbs +6 -1
  389. data/sig/lithic/models/events/subscription_delete_params.rbs +12 -3
  390. data/sig/lithic/models/events/subscription_list_attempts_params.rbs +5 -0
  391. data/sig/lithic/models/events/subscription_recover_params.rbs +5 -1
  392. data/sig/lithic/models/events/subscription_replay_missing_params.rbs +5 -1
  393. data/sig/lithic/models/events/subscription_retrieve_params.rbs +12 -3
  394. data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +12 -3
  395. data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +12 -3
  396. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -0
  397. data/sig/lithic/models/events/subscription_update_params.rbs +5 -0
  398. data/sig/lithic/models/external_bank_account_create_params.rbs +342 -98
  399. data/sig/lithic/models/external_bank_account_retrieve_params.rbs +12 -3
  400. data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -1
  401. data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -1
  402. data/sig/lithic/models/external_bank_account_unpause_params.rbs +12 -3
  403. data/sig/lithic/models/external_bank_account_update_params.rbs +5 -0
  404. data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +8 -1
  405. data/sig/lithic/models/external_payment_cancel_params.rbs +5 -1
  406. data/sig/lithic/models/external_payment_release_params.rbs +5 -1
  407. data/sig/lithic/models/external_payment_retrieve_params.rbs +12 -3
  408. data/sig/lithic/models/external_payment_reverse_params.rbs +5 -1
  409. data/sig/lithic/models/external_payment_settle_params.rbs +5 -0
  410. data/sig/lithic/models/financial_account_register_account_number_params.rbs +6 -1
  411. data/sig/lithic/models/financial_account_retrieve_params.rbs +12 -3
  412. data/sig/lithic/models/financial_account_update_params.rbs +6 -1
  413. data/sig/lithic/models/financial_account_update_status_params.rbs +5 -0
  414. data/sig/lithic/models/financial_accounts/balance_list_params.rbs +9 -1
  415. data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +12 -3
  416. data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +5 -0
  417. data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +5 -0
  418. data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -1
  419. data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +14 -3
  420. data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +5 -1
  421. data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +10 -1
  422. data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +5 -1
  423. data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +10 -1
  424. data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +12 -3
  425. data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +5 -0
  426. data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -1
  427. data/sig/lithic/models/financial_accounts/statement_list_params.rbs +5 -0
  428. data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -1
  429. data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +5 -0
  430. data/sig/lithic/models/fraud/transaction_report_params.rbs +5 -0
  431. data/sig/lithic/models/fraud/transaction_retrieve_params.rbs +12 -3
  432. data/sig/lithic/models/funding_event_retrieve_details_params.rbs +12 -3
  433. data/sig/lithic/models/funding_event_retrieve_params.rbs +12 -3
  434. data/sig/lithic/models/kyb.rbs +0 -55
  435. data/sig/lithic/models/management_operation_retrieve_params.rbs +12 -3
  436. data/sig/lithic/models/management_operation_reverse_params.rbs +5 -1
  437. data/sig/lithic/models/network_program_retrieve_params.rbs +12 -3
  438. data/sig/lithic/models/parsed_webhook_event.rbs +0 -9
  439. data/sig/lithic/models/payment_create_params.rbs +19 -0
  440. data/sig/lithic/models/payment_retrieve_params.rbs +11 -3
  441. data/sig/lithic/models/payment_retry_params.rbs +11 -3
  442. data/sig/lithic/models/payment_return_params.rbs +5 -0
  443. data/sig/lithic/models/payment_simulate_action_params.rbs +5 -0
  444. data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +11 -3
  445. data/sig/lithic/models/reports/settlement_list_details_params.rbs +10 -1
  446. data/sig/lithic/models/reports/settlement_summary_params.rbs +11 -3
  447. data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +12 -3
  448. data/sig/lithic/models/tokenization_activate_params.rbs +12 -3
  449. data/sig/lithic/models/tokenization_deactivate_params.rbs +12 -3
  450. data/sig/lithic/models/tokenization_pause_params.rbs +12 -3
  451. data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
  452. data/sig/lithic/models/tokenization_retrieve_params.rbs +12 -3
  453. data/sig/lithic/models/tokenization_unpause_params.rbs +12 -3
  454. data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -1
  455. data/sig/lithic/models/transaction_expire_authorization_params.rbs +11 -3
  456. data/sig/lithic/models/transaction_retrieve_params.rbs +11 -3
  457. data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +12 -3
  458. data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +11 -3
  459. data/sig/lithic/resources/account_holders.rbs +2 -36
  460. data/sig/lithic/resources/auth_rules/v2.rbs +4 -16
  461. data/sig/lithic/resources/external_bank_accounts.rbs +1 -17
  462. data/sig/lithic/resources/payments.rbs +1 -0
  463. metadata +8 -5
@@ -0,0 +1,1754 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ class ReportStats < Lithic::Internal::Type::BaseModel
7
+ OrHash =
8
+ T.type_alias do
9
+ T.any(Lithic::AuthRules::ReportStats, Lithic::Internal::AnyHash)
10
+ end
11
+
12
+ # A mapping of action types to the number of times that action was returned by
13
+ # this rule during the relevant period. Actions are the possible outcomes of a
14
+ # rule evaluation, such as DECLINE, CHALLENGE, REQUIRE_TFA, etc. In case rule
15
+ # didn't trigger any action, it's counted under NO_ACTION key.
16
+ sig { returns(T.nilable(T::Hash[Symbol, Integer])) }
17
+ attr_reader :action_counts
18
+
19
+ sig { params(action_counts: T::Hash[Symbol, Integer]).void }
20
+ attr_writer :action_counts
21
+
22
+ # The total number of historical transactions approved by this rule during the
23
+ # relevant period, or the number of transactions that would have been approved if
24
+ # the rule was evaluated in shadow mode.
25
+ sig { returns(T.nilable(Integer)) }
26
+ attr_reader :approved
27
+
28
+ sig { params(approved: Integer).void }
29
+ attr_writer :approved
30
+
31
+ # The total number of historical transactions challenged by this rule during the
32
+ # relevant period, or the number of transactions that would have been challenged
33
+ # if the rule was evaluated in shadow mode. Currently applicable only for 3DS Auth
34
+ # Rules.
35
+ sig { returns(T.nilable(Integer)) }
36
+ attr_reader :challenged
37
+
38
+ sig { params(challenged: Integer).void }
39
+ attr_writer :challenged
40
+
41
+ # The total number of historical transactions declined by this rule during the
42
+ # relevant period, or the number of transactions that would have been declined if
43
+ # the rule was evaluated in shadow mode.
44
+ sig { returns(T.nilable(Integer)) }
45
+ attr_reader :declined
46
+
47
+ sig { params(declined: Integer).void }
48
+ attr_writer :declined
49
+
50
+ # Example events and their outcomes.
51
+ sig do
52
+ returns(T.nilable(T::Array[Lithic::AuthRules::ReportStats::Example]))
53
+ end
54
+ attr_reader :examples
55
+
56
+ sig do
57
+ params(
58
+ examples: T::Array[Lithic::AuthRules::ReportStats::Example::OrHash]
59
+ ).void
60
+ end
61
+ attr_writer :examples
62
+
63
+ sig do
64
+ params(
65
+ action_counts: T::Hash[Symbol, Integer],
66
+ approved: Integer,
67
+ challenged: Integer,
68
+ declined: Integer,
69
+ examples: T::Array[Lithic::AuthRules::ReportStats::Example::OrHash]
70
+ ).returns(T.attached_class)
71
+ end
72
+ def self.new(
73
+ # A mapping of action types to the number of times that action was returned by
74
+ # this rule during the relevant period. Actions are the possible outcomes of a
75
+ # rule evaluation, such as DECLINE, CHALLENGE, REQUIRE_TFA, etc. In case rule
76
+ # didn't trigger any action, it's counted under NO_ACTION key.
77
+ action_counts: nil,
78
+ # The total number of historical transactions approved by this rule during the
79
+ # relevant period, or the number of transactions that would have been approved if
80
+ # the rule was evaluated in shadow mode.
81
+ approved: nil,
82
+ # The total number of historical transactions challenged by this rule during the
83
+ # relevant period, or the number of transactions that would have been challenged
84
+ # if the rule was evaluated in shadow mode. Currently applicable only for 3DS Auth
85
+ # Rules.
86
+ challenged: nil,
87
+ # The total number of historical transactions declined by this rule during the
88
+ # relevant period, or the number of transactions that would have been declined if
89
+ # the rule was evaluated in shadow mode.
90
+ declined: nil,
91
+ # Example events and their outcomes.
92
+ examples: nil
93
+ )
94
+ end
95
+
96
+ sig do
97
+ override.returns(
98
+ {
99
+ action_counts: T::Hash[Symbol, Integer],
100
+ approved: Integer,
101
+ challenged: Integer,
102
+ declined: Integer,
103
+ examples: T::Array[Lithic::AuthRules::ReportStats::Example]
104
+ }
105
+ )
106
+ end
107
+ def to_hash
108
+ end
109
+
110
+ class Example < Lithic::Internal::Type::BaseModel
111
+ OrHash =
112
+ T.type_alias do
113
+ T.any(
114
+ Lithic::AuthRules::ReportStats::Example,
115
+ Lithic::Internal::AnyHash
116
+ )
117
+ end
118
+
119
+ # The actions taken by the rule for this event.
120
+ sig do
121
+ returns(
122
+ T.nilable(
123
+ T::Array[
124
+ Lithic::AuthRules::ReportStats::Example::Action::Variants
125
+ ]
126
+ )
127
+ )
128
+ end
129
+ attr_reader :actions
130
+
131
+ sig do
132
+ params(
133
+ actions:
134
+ T::Array[
135
+ T.any(
136
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::OrHash,
137
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::OrHash,
138
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::OrHash,
139
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::OrHash,
140
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::OrHash,
141
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::OrHash,
142
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::OrHash
143
+ )
144
+ ]
145
+ ).void
146
+ end
147
+ attr_writer :actions
148
+
149
+ # Whether the rule would have approved the request.
150
+ sig { returns(T.nilable(T::Boolean)) }
151
+ attr_reader :approved
152
+
153
+ sig { params(approved: T::Boolean).void }
154
+ attr_writer :approved
155
+
156
+ # The decision made by the rule for this event.
157
+ sig do
158
+ returns(
159
+ T.nilable(
160
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol
161
+ )
162
+ )
163
+ end
164
+ attr_reader :decision
165
+
166
+ sig do
167
+ params(
168
+ decision:
169
+ Lithic::AuthRules::ReportStats::Example::Decision::OrSymbol
170
+ ).void
171
+ end
172
+ attr_writer :decision
173
+
174
+ # The event token.
175
+ sig { returns(T.nilable(String)) }
176
+ attr_reader :event_token
177
+
178
+ sig { params(event_token: String).void }
179
+ attr_writer :event_token
180
+
181
+ # The timestamp of the event.
182
+ sig { returns(T.nilable(Time)) }
183
+ attr_reader :timestamp
184
+
185
+ sig { params(timestamp: Time).void }
186
+ attr_writer :timestamp
187
+
188
+ sig do
189
+ params(
190
+ actions:
191
+ T::Array[
192
+ T.any(
193
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::OrHash,
194
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::OrHash,
195
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::OrHash,
196
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::OrHash,
197
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::OrHash,
198
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::OrHash,
199
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::OrHash
200
+ )
201
+ ],
202
+ approved: T::Boolean,
203
+ decision:
204
+ Lithic::AuthRules::ReportStats::Example::Decision::OrSymbol,
205
+ event_token: String,
206
+ timestamp: Time
207
+ ).returns(T.attached_class)
208
+ end
209
+ def self.new(
210
+ # The actions taken by the rule for this event.
211
+ actions: nil,
212
+ # Whether the rule would have approved the request.
213
+ approved: nil,
214
+ # The decision made by the rule for this event.
215
+ decision: nil,
216
+ # The event token.
217
+ event_token: nil,
218
+ # The timestamp of the event.
219
+ timestamp: nil
220
+ )
221
+ end
222
+
223
+ sig do
224
+ override.returns(
225
+ {
226
+ actions:
227
+ T::Array[
228
+ Lithic::AuthRules::ReportStats::Example::Action::Variants
229
+ ],
230
+ approved: T::Boolean,
231
+ decision:
232
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol,
233
+ event_token: String,
234
+ timestamp: Time
235
+ }
236
+ )
237
+ end
238
+ def to_hash
239
+ end
240
+
241
+ module Action
242
+ extend Lithic::Internal::Type::Union
243
+
244
+ Variants =
245
+ T.type_alias do
246
+ T.any(
247
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization,
248
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization,
249
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction,
250
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization,
251
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction,
252
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH,
253
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction
254
+ )
255
+ end
256
+
257
+ class DeclineActionAuthorization < Lithic::Internal::Type::BaseModel
258
+ OrHash =
259
+ T.type_alias do
260
+ T.any(
261
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization,
262
+ Lithic::Internal::AnyHash
263
+ )
264
+ end
265
+
266
+ # The detailed result code explaining the specific reason for the decline
267
+ sig do
268
+ returns(
269
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
270
+ )
271
+ end
272
+ attr_accessor :code
273
+
274
+ sig do
275
+ returns(
276
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type::TaggedSymbol
277
+ )
278
+ end
279
+ attr_accessor :type
280
+
281
+ sig do
282
+ params(
283
+ code:
284
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::OrSymbol,
285
+ type:
286
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type::OrSymbol
287
+ ).returns(T.attached_class)
288
+ end
289
+ def self.new(
290
+ # The detailed result code explaining the specific reason for the decline
291
+ code:,
292
+ type:
293
+ )
294
+ end
295
+
296
+ sig do
297
+ override.returns(
298
+ {
299
+ code:
300
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol,
301
+ type:
302
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type::TaggedSymbol
303
+ }
304
+ )
305
+ end
306
+ def to_hash
307
+ end
308
+
309
+ # The detailed result code explaining the specific reason for the decline
310
+ module Code
311
+ extend Lithic::Internal::Type::Enum
312
+
313
+ TaggedSymbol =
314
+ T.type_alias do
315
+ T.all(
316
+ Symbol,
317
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code
318
+ )
319
+ end
320
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
321
+
322
+ ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED =
323
+ T.let(
324
+ :ACCOUNT_DAILY_SPEND_LIMIT_EXCEEDED,
325
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
326
+ )
327
+ ACCOUNT_DELINQUENT =
328
+ T.let(
329
+ :ACCOUNT_DELINQUENT,
330
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
331
+ )
332
+ ACCOUNT_INACTIVE =
333
+ T.let(
334
+ :ACCOUNT_INACTIVE,
335
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
336
+ )
337
+ ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED =
338
+ T.let(
339
+ :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED,
340
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
341
+ )
342
+ ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED =
343
+ T.let(
344
+ :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED,
345
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
346
+ )
347
+ ACCOUNT_PAUSED =
348
+ T.let(
349
+ :ACCOUNT_PAUSED,
350
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
351
+ )
352
+ ACCOUNT_UNDER_REVIEW =
353
+ T.let(
354
+ :ACCOUNT_UNDER_REVIEW,
355
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
356
+ )
357
+ ADDRESS_INCORRECT =
358
+ T.let(
359
+ :ADDRESS_INCORRECT,
360
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
361
+ )
362
+ APPROVED =
363
+ T.let(
364
+ :APPROVED,
365
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
366
+ )
367
+ AUTH_RULE_ALLOWED_COUNTRY =
368
+ T.let(
369
+ :AUTH_RULE_ALLOWED_COUNTRY,
370
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
371
+ )
372
+ AUTH_RULE_ALLOWED_MCC =
373
+ T.let(
374
+ :AUTH_RULE_ALLOWED_MCC,
375
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
376
+ )
377
+ AUTH_RULE_BLOCKED_COUNTRY =
378
+ T.let(
379
+ :AUTH_RULE_BLOCKED_COUNTRY,
380
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
381
+ )
382
+ AUTH_RULE_BLOCKED_MCC =
383
+ T.let(
384
+ :AUTH_RULE_BLOCKED_MCC,
385
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
386
+ )
387
+ AUTH_RULE =
388
+ T.let(
389
+ :AUTH_RULE,
390
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
391
+ )
392
+ CARD_CLOSED =
393
+ T.let(
394
+ :CARD_CLOSED,
395
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
396
+ )
397
+ CARD_CRYPTOGRAM_VALIDATION_FAILURE =
398
+ T.let(
399
+ :CARD_CRYPTOGRAM_VALIDATION_FAILURE,
400
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
401
+ )
402
+ CARD_EXPIRED =
403
+ T.let(
404
+ :CARD_EXPIRED,
405
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
406
+ )
407
+ CARD_EXPIRY_DATE_INCORRECT =
408
+ T.let(
409
+ :CARD_EXPIRY_DATE_INCORRECT,
410
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
411
+ )
412
+ CARD_INVALID =
413
+ T.let(
414
+ :CARD_INVALID,
415
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
416
+ )
417
+ CARD_NOT_ACTIVATED =
418
+ T.let(
419
+ :CARD_NOT_ACTIVATED,
420
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
421
+ )
422
+ CARD_PAUSED =
423
+ T.let(
424
+ :CARD_PAUSED,
425
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
426
+ )
427
+ CARD_PIN_INCORRECT =
428
+ T.let(
429
+ :CARD_PIN_INCORRECT,
430
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
431
+ )
432
+ CARD_RESTRICTED =
433
+ T.let(
434
+ :CARD_RESTRICTED,
435
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
436
+ )
437
+ CARD_SECURITY_CODE_INCORRECT =
438
+ T.let(
439
+ :CARD_SECURITY_CODE_INCORRECT,
440
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
441
+ )
442
+ CARD_SPEND_LIMIT_EXCEEDED =
443
+ T.let(
444
+ :CARD_SPEND_LIMIT_EXCEEDED,
445
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
446
+ )
447
+ CONTACT_CARD_ISSUER =
448
+ T.let(
449
+ :CONTACT_CARD_ISSUER,
450
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
451
+ )
452
+ CUSTOMER_ASA_TIMEOUT =
453
+ T.let(
454
+ :CUSTOMER_ASA_TIMEOUT,
455
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
456
+ )
457
+ CUSTOM_ASA_RESULT =
458
+ T.let(
459
+ :CUSTOM_ASA_RESULT,
460
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
461
+ )
462
+ DECLINED =
463
+ T.let(
464
+ :DECLINED,
465
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
466
+ )
467
+ DO_NOT_HONOR =
468
+ T.let(
469
+ :DO_NOT_HONOR,
470
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
471
+ )
472
+ DRIVER_NUMBER_INVALID =
473
+ T.let(
474
+ :DRIVER_NUMBER_INVALID,
475
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
476
+ )
477
+ FORMAT_ERROR =
478
+ T.let(
479
+ :FORMAT_ERROR,
480
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
481
+ )
482
+ INSUFFICIENT_FUNDING_SOURCE_BALANCE =
483
+ T.let(
484
+ :INSUFFICIENT_FUNDING_SOURCE_BALANCE,
485
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
486
+ )
487
+ INSUFFICIENT_FUNDS =
488
+ T.let(
489
+ :INSUFFICIENT_FUNDS,
490
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
491
+ )
492
+ LITHIC_SYSTEM_ERROR =
493
+ T.let(
494
+ :LITHIC_SYSTEM_ERROR,
495
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
496
+ )
497
+ LITHIC_SYSTEM_RATE_LIMIT =
498
+ T.let(
499
+ :LITHIC_SYSTEM_RATE_LIMIT,
500
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
501
+ )
502
+ MALFORMED_ASA_RESPONSE =
503
+ T.let(
504
+ :MALFORMED_ASA_RESPONSE,
505
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
506
+ )
507
+ MERCHANT_INVALID =
508
+ T.let(
509
+ :MERCHANT_INVALID,
510
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
511
+ )
512
+ MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE =
513
+ T.let(
514
+ :MERCHANT_LOCKED_CARD_ATTEMPTED_ELSEWHERE,
515
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
516
+ )
517
+ MERCHANT_NOT_PERMITTED =
518
+ T.let(
519
+ :MERCHANT_NOT_PERMITTED,
520
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
521
+ )
522
+ OVER_REVERSAL_ATTEMPTED =
523
+ T.let(
524
+ :OVER_REVERSAL_ATTEMPTED,
525
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
526
+ )
527
+ PIN_BLOCKED =
528
+ T.let(
529
+ :PIN_BLOCKED,
530
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
531
+ )
532
+ PROGRAM_CARD_SPEND_LIMIT_EXCEEDED =
533
+ T.let(
534
+ :PROGRAM_CARD_SPEND_LIMIT_EXCEEDED,
535
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
536
+ )
537
+ PROGRAM_SUSPENDED =
538
+ T.let(
539
+ :PROGRAM_SUSPENDED,
540
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
541
+ )
542
+ PROGRAM_USAGE_RESTRICTION =
543
+ T.let(
544
+ :PROGRAM_USAGE_RESTRICTION,
545
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
546
+ )
547
+ REVERSAL_UNMATCHED =
548
+ T.let(
549
+ :REVERSAL_UNMATCHED,
550
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
551
+ )
552
+ SECURITY_VIOLATION =
553
+ T.let(
554
+ :SECURITY_VIOLATION,
555
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
556
+ )
557
+ SINGLE_USE_CARD_REATTEMPTED =
558
+ T.let(
559
+ :SINGLE_USE_CARD_REATTEMPTED,
560
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
561
+ )
562
+ SUSPECTED_FRAUD =
563
+ T.let(
564
+ :SUSPECTED_FRAUD,
565
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
566
+ )
567
+ TRANSACTION_INVALID =
568
+ T.let(
569
+ :TRANSACTION_INVALID,
570
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
571
+ )
572
+ TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL =
573
+ T.let(
574
+ :TRANSACTION_NOT_PERMITTED_TO_ACQUIRER_OR_TERMINAL,
575
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
576
+ )
577
+ TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER =
578
+ T.let(
579
+ :TRANSACTION_NOT_PERMITTED_TO_ISSUER_OR_CARDHOLDER,
580
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
581
+ )
582
+ TRANSACTION_PREVIOUSLY_COMPLETED =
583
+ T.let(
584
+ :TRANSACTION_PREVIOUSLY_COMPLETED,
585
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
586
+ )
587
+ UNAUTHORIZED_MERCHANT =
588
+ T.let(
589
+ :UNAUTHORIZED_MERCHANT,
590
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
591
+ )
592
+ VEHICLE_NUMBER_INVALID =
593
+ T.let(
594
+ :VEHICLE_NUMBER_INVALID,
595
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
596
+ )
597
+ CARDHOLDER_CHALLENGED =
598
+ T.let(
599
+ :CARDHOLDER_CHALLENGED,
600
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
601
+ )
602
+ CARDHOLDER_CHALLENGE_FAILED =
603
+ T.let(
604
+ :CARDHOLDER_CHALLENGE_FAILED,
605
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
606
+ )
607
+
608
+ sig do
609
+ override.returns(
610
+ T::Array[
611
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Code::TaggedSymbol
612
+ ]
613
+ )
614
+ end
615
+ def self.values
616
+ end
617
+ end
618
+
619
+ module Type
620
+ extend Lithic::Internal::Type::Enum
621
+
622
+ TaggedSymbol =
623
+ T.type_alias do
624
+ T.all(
625
+ Symbol,
626
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type
627
+ )
628
+ end
629
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
630
+
631
+ DECLINE =
632
+ T.let(
633
+ :DECLINE,
634
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type::TaggedSymbol
635
+ )
636
+
637
+ sig do
638
+ override.returns(
639
+ T::Array[
640
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionAuthorization::Type::TaggedSymbol
641
+ ]
642
+ )
643
+ end
644
+ def self.values
645
+ end
646
+ end
647
+ end
648
+
649
+ class ChallengeActionAuthorization < Lithic::Internal::Type::BaseModel
650
+ OrHash =
651
+ T.type_alias do
652
+ T.any(
653
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization,
654
+ Lithic::Internal::AnyHash
655
+ )
656
+ end
657
+
658
+ sig do
659
+ returns(
660
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type::TaggedSymbol
661
+ )
662
+ end
663
+ attr_accessor :type
664
+
665
+ sig do
666
+ params(
667
+ type:
668
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type::OrSymbol
669
+ ).returns(T.attached_class)
670
+ end
671
+ def self.new(type:)
672
+ end
673
+
674
+ sig do
675
+ override.returns(
676
+ {
677
+ type:
678
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type::TaggedSymbol
679
+ }
680
+ )
681
+ end
682
+ def to_hash
683
+ end
684
+
685
+ module Type
686
+ extend Lithic::Internal::Type::Enum
687
+
688
+ TaggedSymbol =
689
+ T.type_alias do
690
+ T.all(
691
+ Symbol,
692
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type
693
+ )
694
+ end
695
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
696
+
697
+ CHALLENGE =
698
+ T.let(
699
+ :CHALLENGE,
700
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type::TaggedSymbol
701
+ )
702
+
703
+ sig do
704
+ override.returns(
705
+ T::Array[
706
+ Lithic::AuthRules::ReportStats::Example::Action::ChallengeActionAuthorization::Type::TaggedSymbol
707
+ ]
708
+ )
709
+ end
710
+ def self.values
711
+ end
712
+ end
713
+ end
714
+
715
+ class ResultAuthentication3DSAction < Lithic::Internal::Type::BaseModel
716
+ OrHash =
717
+ T.type_alias do
718
+ T.any(
719
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction,
720
+ Lithic::Internal::AnyHash
721
+ )
722
+ end
723
+
724
+ sig do
725
+ returns(
726
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::TaggedSymbol
727
+ )
728
+ end
729
+ attr_accessor :type
730
+
731
+ sig do
732
+ params(
733
+ type:
734
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::OrSymbol
735
+ ).returns(T.attached_class)
736
+ end
737
+ def self.new(type:)
738
+ end
739
+
740
+ sig do
741
+ override.returns(
742
+ {
743
+ type:
744
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::TaggedSymbol
745
+ }
746
+ )
747
+ end
748
+ def to_hash
749
+ end
750
+
751
+ module Type
752
+ extend Lithic::Internal::Type::Enum
753
+
754
+ TaggedSymbol =
755
+ T.type_alias do
756
+ T.all(
757
+ Symbol,
758
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type
759
+ )
760
+ end
761
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
762
+
763
+ DECLINE =
764
+ T.let(
765
+ :DECLINE,
766
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::TaggedSymbol
767
+ )
768
+ CHALLENGE =
769
+ T.let(
770
+ :CHALLENGE,
771
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::TaggedSymbol
772
+ )
773
+
774
+ sig do
775
+ override.returns(
776
+ T::Array[
777
+ Lithic::AuthRules::ReportStats::Example::Action::ResultAuthentication3DSAction::Type::TaggedSymbol
778
+ ]
779
+ )
780
+ end
781
+ def self.values
782
+ end
783
+ end
784
+ end
785
+
786
+ class DeclineActionTokenization < Lithic::Internal::Type::BaseModel
787
+ OrHash =
788
+ T.type_alias do
789
+ T.any(
790
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization,
791
+ Lithic::Internal::AnyHash
792
+ )
793
+ end
794
+
795
+ # Decline the tokenization request
796
+ sig do
797
+ returns(
798
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type::TaggedSymbol
799
+ )
800
+ end
801
+ attr_accessor :type
802
+
803
+ # Reason code for declining the tokenization request
804
+ sig do
805
+ returns(
806
+ T.nilable(
807
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
808
+ )
809
+ )
810
+ end
811
+ attr_reader :reason
812
+
813
+ sig do
814
+ params(
815
+ reason:
816
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::OrSymbol
817
+ ).void
818
+ end
819
+ attr_writer :reason
820
+
821
+ sig do
822
+ params(
823
+ type:
824
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type::OrSymbol,
825
+ reason:
826
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::OrSymbol
827
+ ).returns(T.attached_class)
828
+ end
829
+ def self.new(
830
+ # Decline the tokenization request
831
+ type:,
832
+ # Reason code for declining the tokenization request
833
+ reason: nil
834
+ )
835
+ end
836
+
837
+ sig do
838
+ override.returns(
839
+ {
840
+ type:
841
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type::TaggedSymbol,
842
+ reason:
843
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
844
+ }
845
+ )
846
+ end
847
+ def to_hash
848
+ end
849
+
850
+ # Decline the tokenization request
851
+ module Type
852
+ extend Lithic::Internal::Type::Enum
853
+
854
+ TaggedSymbol =
855
+ T.type_alias do
856
+ T.all(
857
+ Symbol,
858
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type
859
+ )
860
+ end
861
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
862
+
863
+ DECLINE =
864
+ T.let(
865
+ :DECLINE,
866
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type::TaggedSymbol
867
+ )
868
+
869
+ sig do
870
+ override.returns(
871
+ T::Array[
872
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Type::TaggedSymbol
873
+ ]
874
+ )
875
+ end
876
+ def self.values
877
+ end
878
+ end
879
+
880
+ # Reason code for declining the tokenization request
881
+ module Reason
882
+ extend Lithic::Internal::Type::Enum
883
+
884
+ TaggedSymbol =
885
+ T.type_alias do
886
+ T.all(
887
+ Symbol,
888
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason
889
+ )
890
+ end
891
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
892
+
893
+ ACCOUNT_SCORE_1 =
894
+ T.let(
895
+ :ACCOUNT_SCORE_1,
896
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
897
+ )
898
+ DEVICE_SCORE_1 =
899
+ T.let(
900
+ :DEVICE_SCORE_1,
901
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
902
+ )
903
+ ALL_WALLET_DECLINE_REASONS_PRESENT =
904
+ T.let(
905
+ :ALL_WALLET_DECLINE_REASONS_PRESENT,
906
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
907
+ )
908
+ WALLET_RECOMMENDED_DECISION_RED =
909
+ T.let(
910
+ :WALLET_RECOMMENDED_DECISION_RED,
911
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
912
+ )
913
+ CVC_MISMATCH =
914
+ T.let(
915
+ :CVC_MISMATCH,
916
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
917
+ )
918
+ CARD_EXPIRY_MONTH_MISMATCH =
919
+ T.let(
920
+ :CARD_EXPIRY_MONTH_MISMATCH,
921
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
922
+ )
923
+ CARD_EXPIRY_YEAR_MISMATCH =
924
+ T.let(
925
+ :CARD_EXPIRY_YEAR_MISMATCH,
926
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
927
+ )
928
+ CARD_INVALID_STATE =
929
+ T.let(
930
+ :CARD_INVALID_STATE,
931
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
932
+ )
933
+ CUSTOMER_RED_PATH =
934
+ T.let(
935
+ :CUSTOMER_RED_PATH,
936
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
937
+ )
938
+ INVALID_CUSTOMER_RESPONSE =
939
+ T.let(
940
+ :INVALID_CUSTOMER_RESPONSE,
941
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
942
+ )
943
+ NETWORK_FAILURE =
944
+ T.let(
945
+ :NETWORK_FAILURE,
946
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
947
+ )
948
+ GENERIC_DECLINE =
949
+ T.let(
950
+ :GENERIC_DECLINE,
951
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
952
+ )
953
+ DIGITAL_CARD_ART_REQUIRED =
954
+ T.let(
955
+ :DIGITAL_CARD_ART_REQUIRED,
956
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
957
+ )
958
+
959
+ sig do
960
+ override.returns(
961
+ T::Array[
962
+ Lithic::AuthRules::ReportStats::Example::Action::DeclineActionTokenization::Reason::TaggedSymbol
963
+ ]
964
+ )
965
+ end
966
+ def self.values
967
+ end
968
+ end
969
+ end
970
+
971
+ class RequireTfaAction < Lithic::Internal::Type::BaseModel
972
+ OrHash =
973
+ T.type_alias do
974
+ T.any(
975
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction,
976
+ Lithic::Internal::AnyHash
977
+ )
978
+ end
979
+
980
+ # Require two-factor authentication for the tokenization request
981
+ sig do
982
+ returns(
983
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type::TaggedSymbol
984
+ )
985
+ end
986
+ attr_accessor :type
987
+
988
+ # Reason code for requiring two-factor authentication
989
+ sig do
990
+ returns(
991
+ T.nilable(
992
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
993
+ )
994
+ )
995
+ end
996
+ attr_reader :reason
997
+
998
+ sig do
999
+ params(
1000
+ reason:
1001
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::OrSymbol
1002
+ ).void
1003
+ end
1004
+ attr_writer :reason
1005
+
1006
+ sig do
1007
+ params(
1008
+ type:
1009
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type::OrSymbol,
1010
+ reason:
1011
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::OrSymbol
1012
+ ).returns(T.attached_class)
1013
+ end
1014
+ def self.new(
1015
+ # Require two-factor authentication for the tokenization request
1016
+ type:,
1017
+ # Reason code for requiring two-factor authentication
1018
+ reason: nil
1019
+ )
1020
+ end
1021
+
1022
+ sig do
1023
+ override.returns(
1024
+ {
1025
+ type:
1026
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type::TaggedSymbol,
1027
+ reason:
1028
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1029
+ }
1030
+ )
1031
+ end
1032
+ def to_hash
1033
+ end
1034
+
1035
+ # Require two-factor authentication for the tokenization request
1036
+ module Type
1037
+ extend Lithic::Internal::Type::Enum
1038
+
1039
+ TaggedSymbol =
1040
+ T.type_alias do
1041
+ T.all(
1042
+ Symbol,
1043
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type
1044
+ )
1045
+ end
1046
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1047
+
1048
+ REQUIRE_TFA =
1049
+ T.let(
1050
+ :REQUIRE_TFA,
1051
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type::TaggedSymbol
1052
+ )
1053
+
1054
+ sig do
1055
+ override.returns(
1056
+ T::Array[
1057
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Type::TaggedSymbol
1058
+ ]
1059
+ )
1060
+ end
1061
+ def self.values
1062
+ end
1063
+ end
1064
+
1065
+ # Reason code for requiring two-factor authentication
1066
+ module Reason
1067
+ extend Lithic::Internal::Type::Enum
1068
+
1069
+ TaggedSymbol =
1070
+ T.type_alias do
1071
+ T.all(
1072
+ Symbol,
1073
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason
1074
+ )
1075
+ end
1076
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1077
+
1078
+ WALLET_RECOMMENDED_TFA =
1079
+ T.let(
1080
+ :WALLET_RECOMMENDED_TFA,
1081
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1082
+ )
1083
+ SUSPICIOUS_ACTIVITY =
1084
+ T.let(
1085
+ :SUSPICIOUS_ACTIVITY,
1086
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1087
+ )
1088
+ DEVICE_RECENTLY_LOST =
1089
+ T.let(
1090
+ :DEVICE_RECENTLY_LOST,
1091
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1092
+ )
1093
+ TOO_MANY_RECENT_ATTEMPTS =
1094
+ T.let(
1095
+ :TOO_MANY_RECENT_ATTEMPTS,
1096
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1097
+ )
1098
+ TOO_MANY_RECENT_TOKENS =
1099
+ T.let(
1100
+ :TOO_MANY_RECENT_TOKENS,
1101
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1102
+ )
1103
+ TOO_MANY_DIFFERENT_CARDHOLDERS =
1104
+ T.let(
1105
+ :TOO_MANY_DIFFERENT_CARDHOLDERS,
1106
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1107
+ )
1108
+ OUTSIDE_HOME_TERRITORY =
1109
+ T.let(
1110
+ :OUTSIDE_HOME_TERRITORY,
1111
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1112
+ )
1113
+ HAS_SUSPENDED_TOKENS =
1114
+ T.let(
1115
+ :HAS_SUSPENDED_TOKENS,
1116
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1117
+ )
1118
+ HIGH_RISK =
1119
+ T.let(
1120
+ :HIGH_RISK,
1121
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1122
+ )
1123
+ ACCOUNT_SCORE_LOW =
1124
+ T.let(
1125
+ :ACCOUNT_SCORE_LOW,
1126
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1127
+ )
1128
+ DEVICE_SCORE_LOW =
1129
+ T.let(
1130
+ :DEVICE_SCORE_LOW,
1131
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1132
+ )
1133
+ CARD_STATE_TFA =
1134
+ T.let(
1135
+ :CARD_STATE_TFA,
1136
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1137
+ )
1138
+ HARDCODED_TFA =
1139
+ T.let(
1140
+ :HARDCODED_TFA,
1141
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1142
+ )
1143
+ CUSTOMER_RULE_TFA =
1144
+ T.let(
1145
+ :CUSTOMER_RULE_TFA,
1146
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1147
+ )
1148
+ DEVICE_HOST_CARD_EMULATION =
1149
+ T.let(
1150
+ :DEVICE_HOST_CARD_EMULATION,
1151
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1152
+ )
1153
+
1154
+ sig do
1155
+ override.returns(
1156
+ T::Array[
1157
+ Lithic::AuthRules::ReportStats::Example::Action::RequireTfaAction::Reason::TaggedSymbol
1158
+ ]
1159
+ )
1160
+ end
1161
+ def self.values
1162
+ end
1163
+ end
1164
+ end
1165
+
1166
+ class ApproveActionACH < Lithic::Internal::Type::BaseModel
1167
+ OrHash =
1168
+ T.type_alias do
1169
+ T.any(
1170
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH,
1171
+ Lithic::Internal::AnyHash
1172
+ )
1173
+ end
1174
+
1175
+ # Approve the ACH transaction
1176
+ sig do
1177
+ returns(
1178
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type::TaggedSymbol
1179
+ )
1180
+ end
1181
+ attr_accessor :type
1182
+
1183
+ sig do
1184
+ params(
1185
+ type:
1186
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type::OrSymbol
1187
+ ).returns(T.attached_class)
1188
+ end
1189
+ def self.new(
1190
+ # Approve the ACH transaction
1191
+ type:
1192
+ )
1193
+ end
1194
+
1195
+ sig do
1196
+ override.returns(
1197
+ {
1198
+ type:
1199
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type::TaggedSymbol
1200
+ }
1201
+ )
1202
+ end
1203
+ def to_hash
1204
+ end
1205
+
1206
+ # Approve the ACH transaction
1207
+ module Type
1208
+ extend Lithic::Internal::Type::Enum
1209
+
1210
+ TaggedSymbol =
1211
+ T.type_alias do
1212
+ T.all(
1213
+ Symbol,
1214
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type
1215
+ )
1216
+ end
1217
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1218
+
1219
+ APPROVE =
1220
+ T.let(
1221
+ :APPROVE,
1222
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type::TaggedSymbol
1223
+ )
1224
+
1225
+ sig do
1226
+ override.returns(
1227
+ T::Array[
1228
+ Lithic::AuthRules::ReportStats::Example::Action::ApproveActionACH::Type::TaggedSymbol
1229
+ ]
1230
+ )
1231
+ end
1232
+ def self.values
1233
+ end
1234
+ end
1235
+ end
1236
+
1237
+ class ReturnAction < Lithic::Internal::Type::BaseModel
1238
+ OrHash =
1239
+ T.type_alias do
1240
+ T.any(
1241
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction,
1242
+ Lithic::Internal::AnyHash
1243
+ )
1244
+ end
1245
+
1246
+ # NACHA return code to use when returning the transaction. Note that the list of
1247
+ # available return codes is subject to an allowlist configured at the program
1248
+ # level
1249
+ sig do
1250
+ returns(
1251
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1252
+ )
1253
+ end
1254
+ attr_accessor :code
1255
+
1256
+ # Return the ACH transaction
1257
+ sig do
1258
+ returns(
1259
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type::TaggedSymbol
1260
+ )
1261
+ end
1262
+ attr_accessor :type
1263
+
1264
+ sig do
1265
+ params(
1266
+ code:
1267
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::OrSymbol,
1268
+ type:
1269
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type::OrSymbol
1270
+ ).returns(T.attached_class)
1271
+ end
1272
+ def self.new(
1273
+ # NACHA return code to use when returning the transaction. Note that the list of
1274
+ # available return codes is subject to an allowlist configured at the program
1275
+ # level
1276
+ code:,
1277
+ # Return the ACH transaction
1278
+ type:
1279
+ )
1280
+ end
1281
+
1282
+ sig do
1283
+ override.returns(
1284
+ {
1285
+ code:
1286
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol,
1287
+ type:
1288
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type::TaggedSymbol
1289
+ }
1290
+ )
1291
+ end
1292
+ def to_hash
1293
+ end
1294
+
1295
+ # NACHA return code to use when returning the transaction. Note that the list of
1296
+ # available return codes is subject to an allowlist configured at the program
1297
+ # level
1298
+ module Code
1299
+ extend Lithic::Internal::Type::Enum
1300
+
1301
+ TaggedSymbol =
1302
+ T.type_alias do
1303
+ T.all(
1304
+ Symbol,
1305
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code
1306
+ )
1307
+ end
1308
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1309
+
1310
+ R01 =
1311
+ T.let(
1312
+ :R01,
1313
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1314
+ )
1315
+ R02 =
1316
+ T.let(
1317
+ :R02,
1318
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1319
+ )
1320
+ R03 =
1321
+ T.let(
1322
+ :R03,
1323
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1324
+ )
1325
+ R04 =
1326
+ T.let(
1327
+ :R04,
1328
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1329
+ )
1330
+ R05 =
1331
+ T.let(
1332
+ :R05,
1333
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1334
+ )
1335
+ R06 =
1336
+ T.let(
1337
+ :R06,
1338
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1339
+ )
1340
+ R07 =
1341
+ T.let(
1342
+ :R07,
1343
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1344
+ )
1345
+ R08 =
1346
+ T.let(
1347
+ :R08,
1348
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1349
+ )
1350
+ R09 =
1351
+ T.let(
1352
+ :R09,
1353
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1354
+ )
1355
+ R10 =
1356
+ T.let(
1357
+ :R10,
1358
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1359
+ )
1360
+ R11 =
1361
+ T.let(
1362
+ :R11,
1363
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1364
+ )
1365
+ R12 =
1366
+ T.let(
1367
+ :R12,
1368
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1369
+ )
1370
+ R13 =
1371
+ T.let(
1372
+ :R13,
1373
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1374
+ )
1375
+ R14 =
1376
+ T.let(
1377
+ :R14,
1378
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1379
+ )
1380
+ R15 =
1381
+ T.let(
1382
+ :R15,
1383
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1384
+ )
1385
+ R16 =
1386
+ T.let(
1387
+ :R16,
1388
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1389
+ )
1390
+ R17 =
1391
+ T.let(
1392
+ :R17,
1393
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1394
+ )
1395
+ R18 =
1396
+ T.let(
1397
+ :R18,
1398
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1399
+ )
1400
+ R19 =
1401
+ T.let(
1402
+ :R19,
1403
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1404
+ )
1405
+ R20 =
1406
+ T.let(
1407
+ :R20,
1408
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1409
+ )
1410
+ R21 =
1411
+ T.let(
1412
+ :R21,
1413
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1414
+ )
1415
+ R22 =
1416
+ T.let(
1417
+ :R22,
1418
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1419
+ )
1420
+ R23 =
1421
+ T.let(
1422
+ :R23,
1423
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1424
+ )
1425
+ R24 =
1426
+ T.let(
1427
+ :R24,
1428
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1429
+ )
1430
+ R25 =
1431
+ T.let(
1432
+ :R25,
1433
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1434
+ )
1435
+ R26 =
1436
+ T.let(
1437
+ :R26,
1438
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1439
+ )
1440
+ R27 =
1441
+ T.let(
1442
+ :R27,
1443
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1444
+ )
1445
+ R28 =
1446
+ T.let(
1447
+ :R28,
1448
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1449
+ )
1450
+ R29 =
1451
+ T.let(
1452
+ :R29,
1453
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1454
+ )
1455
+ R30 =
1456
+ T.let(
1457
+ :R30,
1458
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1459
+ )
1460
+ R31 =
1461
+ T.let(
1462
+ :R31,
1463
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1464
+ )
1465
+ R32 =
1466
+ T.let(
1467
+ :R32,
1468
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1469
+ )
1470
+ R33 =
1471
+ T.let(
1472
+ :R33,
1473
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1474
+ )
1475
+ R34 =
1476
+ T.let(
1477
+ :R34,
1478
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1479
+ )
1480
+ R35 =
1481
+ T.let(
1482
+ :R35,
1483
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1484
+ )
1485
+ R36 =
1486
+ T.let(
1487
+ :R36,
1488
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1489
+ )
1490
+ R37 =
1491
+ T.let(
1492
+ :R37,
1493
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1494
+ )
1495
+ R38 =
1496
+ T.let(
1497
+ :R38,
1498
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1499
+ )
1500
+ R39 =
1501
+ T.let(
1502
+ :R39,
1503
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1504
+ )
1505
+ R40 =
1506
+ T.let(
1507
+ :R40,
1508
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1509
+ )
1510
+ R41 =
1511
+ T.let(
1512
+ :R41,
1513
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1514
+ )
1515
+ R42 =
1516
+ T.let(
1517
+ :R42,
1518
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1519
+ )
1520
+ R43 =
1521
+ T.let(
1522
+ :R43,
1523
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1524
+ )
1525
+ R44 =
1526
+ T.let(
1527
+ :R44,
1528
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1529
+ )
1530
+ R45 =
1531
+ T.let(
1532
+ :R45,
1533
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1534
+ )
1535
+ R46 =
1536
+ T.let(
1537
+ :R46,
1538
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1539
+ )
1540
+ R47 =
1541
+ T.let(
1542
+ :R47,
1543
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1544
+ )
1545
+ R50 =
1546
+ T.let(
1547
+ :R50,
1548
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1549
+ )
1550
+ R51 =
1551
+ T.let(
1552
+ :R51,
1553
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1554
+ )
1555
+ R52 =
1556
+ T.let(
1557
+ :R52,
1558
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1559
+ )
1560
+ R53 =
1561
+ T.let(
1562
+ :R53,
1563
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1564
+ )
1565
+ R61 =
1566
+ T.let(
1567
+ :R61,
1568
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1569
+ )
1570
+ R62 =
1571
+ T.let(
1572
+ :R62,
1573
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1574
+ )
1575
+ R67 =
1576
+ T.let(
1577
+ :R67,
1578
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1579
+ )
1580
+ R68 =
1581
+ T.let(
1582
+ :R68,
1583
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1584
+ )
1585
+ R69 =
1586
+ T.let(
1587
+ :R69,
1588
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1589
+ )
1590
+ R70 =
1591
+ T.let(
1592
+ :R70,
1593
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1594
+ )
1595
+ R71 =
1596
+ T.let(
1597
+ :R71,
1598
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1599
+ )
1600
+ R72 =
1601
+ T.let(
1602
+ :R72,
1603
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1604
+ )
1605
+ R73 =
1606
+ T.let(
1607
+ :R73,
1608
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1609
+ )
1610
+ R74 =
1611
+ T.let(
1612
+ :R74,
1613
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1614
+ )
1615
+ R75 =
1616
+ T.let(
1617
+ :R75,
1618
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1619
+ )
1620
+ R76 =
1621
+ T.let(
1622
+ :R76,
1623
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1624
+ )
1625
+ R77 =
1626
+ T.let(
1627
+ :R77,
1628
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1629
+ )
1630
+ R80 =
1631
+ T.let(
1632
+ :R80,
1633
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1634
+ )
1635
+ R81 =
1636
+ T.let(
1637
+ :R81,
1638
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1639
+ )
1640
+ R82 =
1641
+ T.let(
1642
+ :R82,
1643
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1644
+ )
1645
+ R83 =
1646
+ T.let(
1647
+ :R83,
1648
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1649
+ )
1650
+ R84 =
1651
+ T.let(
1652
+ :R84,
1653
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1654
+ )
1655
+ R85 =
1656
+ T.let(
1657
+ :R85,
1658
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1659
+ )
1660
+
1661
+ sig do
1662
+ override.returns(
1663
+ T::Array[
1664
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Code::TaggedSymbol
1665
+ ]
1666
+ )
1667
+ end
1668
+ def self.values
1669
+ end
1670
+ end
1671
+
1672
+ # Return the ACH transaction
1673
+ module Type
1674
+ extend Lithic::Internal::Type::Enum
1675
+
1676
+ TaggedSymbol =
1677
+ T.type_alias do
1678
+ T.all(
1679
+ Symbol,
1680
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type
1681
+ )
1682
+ end
1683
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1684
+
1685
+ RETURN =
1686
+ T.let(
1687
+ :RETURN,
1688
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type::TaggedSymbol
1689
+ )
1690
+
1691
+ sig do
1692
+ override.returns(
1693
+ T::Array[
1694
+ Lithic::AuthRules::ReportStats::Example::Action::ReturnAction::Type::TaggedSymbol
1695
+ ]
1696
+ )
1697
+ end
1698
+ def self.values
1699
+ end
1700
+ end
1701
+ end
1702
+
1703
+ sig do
1704
+ override.returns(
1705
+ T::Array[
1706
+ Lithic::AuthRules::ReportStats::Example::Action::Variants
1707
+ ]
1708
+ )
1709
+ end
1710
+ def self.variants
1711
+ end
1712
+ end
1713
+
1714
+ # The decision made by the rule for this event.
1715
+ module Decision
1716
+ extend Lithic::Internal::Type::Enum
1717
+
1718
+ TaggedSymbol =
1719
+ T.type_alias do
1720
+ T.all(Symbol, Lithic::AuthRules::ReportStats::Example::Decision)
1721
+ end
1722
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1723
+
1724
+ APPROVED =
1725
+ T.let(
1726
+ :APPROVED,
1727
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol
1728
+ )
1729
+ DECLINED =
1730
+ T.let(
1731
+ :DECLINED,
1732
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol
1733
+ )
1734
+ CHALLENGED =
1735
+ T.let(
1736
+ :CHALLENGED,
1737
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol
1738
+ )
1739
+
1740
+ sig do
1741
+ override.returns(
1742
+ T::Array[
1743
+ Lithic::AuthRules::ReportStats::Example::Decision::TaggedSymbol
1744
+ ]
1745
+ )
1746
+ end
1747
+ def self.values
1748
+ end
1749
+ end
1750
+ end
1751
+ end
1752
+ end
1753
+ end
1754
+ end