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
@@ -46,20 +46,125 @@ module Lithic
46
46
  #
47
47
  # @param event_types [Array<Symbol, Lithic::Models::EventSubscription::EventType>, nil]
48
48
 
49
+ # The type of event that occurred. Possible values:
50
+ #
51
+ # - account_holder_document.updated: Occurs when an account holder's document
52
+ # upload status has been updated
53
+ # - account_holder.created: Occurs when a new account_holder is created.
54
+ # - account_holder.updated: Occurs when an account_holder is updated.
55
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
56
+ # verification is completed.
57
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
58
+ # - balance.updated: Financial Account Balance Update
59
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
60
+ # created.
61
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
62
+ # updated.
63
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
64
+ # data is processed for a transaction event.
65
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
66
+ # data is reprocessed for a transaction event.
67
+ # - card_transaction.updated: Occurs when a card transaction happens.
68
+ # - card.converted: Occurs when a card is converted from virtual to physical
69
+ # cards.
70
+ # - card.created: Occurs when a new card is created.
71
+ # - card.reissued: Occurs when a card is reissued.
72
+ # - card.renewed: Occurs when a card is renewed.
73
+ # - card.shipped: Occurs when a card is shipped.
74
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
75
+ # approval request is made. This event will be deprecated in the future. We
76
+ # recommend using `tokenization.approval_request` instead.
77
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
78
+ # succeeded or failed.
79
+ #
80
+ # This event will be deprecated in the future. We recommend using
81
+ # `tokenization.result` instead.
82
+ #
83
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
84
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
85
+ # delivery.
86
+ #
87
+ # This event will be deprecated in the future. We recommend using
88
+ # `tokenization.two_factor_authentication_code` instead.
89
+ #
90
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
91
+ # tokenization request 2FA code is sent to our downstream messaging providers
92
+ # for delivery.
93
+ #
94
+ # This event will be deprecated in the future. We recommend using
95
+ # `tokenization.two_factor_authentication_code_sent` instead.
96
+ #
97
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
98
+ # changed.
99
+ #
100
+ # This event will be deprecated in the future. We recommend using
101
+ # `tokenization.updated` instead.
102
+ #
103
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
104
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
105
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
106
+ # - dispute.updated: Occurs when a dispute is updated.
107
+ # - external_bank_account.created: Occurs when an external bank account is
108
+ # created.
109
+ # - external_bank_account.updated: Occurs when an external bank account is
110
+ # updated.
111
+ # - external_payment.created: Occurs when an external payment is created.
112
+ # - external_payment.updated: Occurs when an external payment is updated.
113
+ # - financial_account.created: Occurs when a financial account is created.
114
+ # - financial_account.updated: Occurs when a financial account is updated.
115
+ # - funding_event.created: Occurs when a funding event is created.
116
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
117
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
118
+ # - loan_tape.created: Occurs when a loan tape is created.
119
+ # - loan_tape.updated: Occurs when a loan tape is updated.
120
+ # - management_operation.created: Occurs when an management operation is created.
121
+ # - management_operation.updated: Occurs when an management operation is updated.
122
+ # - network_total.created: Occurs when a network total is created.
123
+ # - network_total.updated: Occurs when a network total is updated.
124
+ # - payment_transaction.created: Occurs when a payment transaction is created.
125
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
126
+ # - settlement_report.updated: Occurs when a settlement report is created or
127
+ # updated.
128
+ # - statements.created: Occurs when a statement has been created
129
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
130
+ # event. Upon receiving this request, the Card Program should issue its own
131
+ # challenge to the cardholder. After a cardholder challenge is successfully
132
+ # completed, the Card Program needs to respond back to Lithic by call to
133
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
134
+ # Then the cardholder must navigate back to the merchant checkout flow to
135
+ # complete the transaction. Some merchants will include an `app_requestor_url`
136
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
137
+ # after the cardholder completes an app-based challenge.
138
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
139
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
140
+ # (eg. challenge is completed).
141
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
142
+ # made.
143
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
144
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
145
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
146
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
147
+ # request 2FA code is sent to our downstream messaging providers for delivery.
148
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
49
149
  module EventType
50
150
  extend Lithic::Internal::Type::Enum
51
151
 
152
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
52
153
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
53
154
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
54
155
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
156
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
55
157
  BALANCE_UPDATED = :"balance.updated"
56
158
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
159
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
160
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
161
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
162
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
163
+ CARD_CONVERTED = :"card.converted"
57
164
  CARD_CREATED = :"card.created"
58
- CARD_RENEWED = :"card.renewed"
59
165
  CARD_REISSUED = :"card.reissued"
60
- CARD_CONVERTED = :"card.converted"
166
+ CARD_RENEWED = :"card.renewed"
61
167
  CARD_SHIPPED = :"card.shipped"
62
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
63
168
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
64
169
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
65
170
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -67,10 +172,10 @@ module Lithic
67
172
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
68
173
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
69
174
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
70
- DISPUTE_UPDATED = :"dispute.updated"
71
175
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
72
176
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
73
177
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
178
+ DISPUTE_UPDATED = :"dispute.updated"
74
179
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
75
180
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
76
181
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -78,6 +183,8 @@ module Lithic
78
183
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
79
184
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
80
185
  FUNDING_EVENT_CREATED = :"funding_event.created"
186
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
187
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
81
188
  LOAN_TAPE_CREATED = :"loan_tape.created"
82
189
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
83
190
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -86,10 +193,9 @@ module Lithic
86
193
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
87
194
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
88
195
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
89
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
90
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
91
196
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
92
197
  STATEMENTS_CREATED = :"statements.created"
198
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
93
199
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
94
200
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
95
201
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"
@@ -48,20 +48,125 @@ module Lithic
48
48
  #
49
49
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
50
50
 
51
+ # The type of event that occurred. Possible values:
52
+ #
53
+ # - account_holder_document.updated: Occurs when an account holder's document
54
+ # upload status has been updated
55
+ # - account_holder.created: Occurs when a new account_holder is created.
56
+ # - account_holder.updated: Occurs when an account_holder is updated.
57
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
58
+ # verification is completed.
59
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
60
+ # - balance.updated: Financial Account Balance Update
61
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
62
+ # created.
63
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
64
+ # updated.
65
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
66
+ # data is processed for a transaction event.
67
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
68
+ # data is reprocessed for a transaction event.
69
+ # - card_transaction.updated: Occurs when a card transaction happens.
70
+ # - card.converted: Occurs when a card is converted from virtual to physical
71
+ # cards.
72
+ # - card.created: Occurs when a new card is created.
73
+ # - card.reissued: Occurs when a card is reissued.
74
+ # - card.renewed: Occurs when a card is renewed.
75
+ # - card.shipped: Occurs when a card is shipped.
76
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
77
+ # approval request is made. This event will be deprecated in the future. We
78
+ # recommend using `tokenization.approval_request` instead.
79
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
80
+ # succeeded or failed.
81
+ #
82
+ # This event will be deprecated in the future. We recommend using
83
+ # `tokenization.result` instead.
84
+ #
85
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
86
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
87
+ # delivery.
88
+ #
89
+ # This event will be deprecated in the future. We recommend using
90
+ # `tokenization.two_factor_authentication_code` instead.
91
+ #
92
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
93
+ # tokenization request 2FA code is sent to our downstream messaging providers
94
+ # for delivery.
95
+ #
96
+ # This event will be deprecated in the future. We recommend using
97
+ # `tokenization.two_factor_authentication_code_sent` instead.
98
+ #
99
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
100
+ # changed.
101
+ #
102
+ # This event will be deprecated in the future. We recommend using
103
+ # `tokenization.updated` instead.
104
+ #
105
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
106
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
107
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
108
+ # - dispute.updated: Occurs when a dispute is updated.
109
+ # - external_bank_account.created: Occurs when an external bank account is
110
+ # created.
111
+ # - external_bank_account.updated: Occurs when an external bank account is
112
+ # updated.
113
+ # - external_payment.created: Occurs when an external payment is created.
114
+ # - external_payment.updated: Occurs when an external payment is updated.
115
+ # - financial_account.created: Occurs when a financial account is created.
116
+ # - financial_account.updated: Occurs when a financial account is updated.
117
+ # - funding_event.created: Occurs when a funding event is created.
118
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
119
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
120
+ # - loan_tape.created: Occurs when a loan tape is created.
121
+ # - loan_tape.updated: Occurs when a loan tape is updated.
122
+ # - management_operation.created: Occurs when an management operation is created.
123
+ # - management_operation.updated: Occurs when an management operation is updated.
124
+ # - network_total.created: Occurs when a network total is created.
125
+ # - network_total.updated: Occurs when a network total is updated.
126
+ # - payment_transaction.created: Occurs when a payment transaction is created.
127
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
128
+ # - settlement_report.updated: Occurs when a settlement report is created or
129
+ # updated.
130
+ # - statements.created: Occurs when a statement has been created
131
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
132
+ # event. Upon receiving this request, the Card Program should issue its own
133
+ # challenge to the cardholder. After a cardholder challenge is successfully
134
+ # completed, the Card Program needs to respond back to Lithic by call to
135
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
136
+ # Then the cardholder must navigate back to the merchant checkout flow to
137
+ # complete the transaction. Some merchants will include an `app_requestor_url`
138
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
139
+ # after the cardholder completes an app-based challenge.
140
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
141
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
142
+ # (eg. challenge is completed).
143
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
144
+ # made.
145
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
146
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
147
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
148
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
149
+ # request 2FA code is sent to our downstream messaging providers for delivery.
150
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
51
151
  module EventType
52
152
  extend Lithic::Internal::Type::Enum
53
153
 
154
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
54
155
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
55
156
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
56
157
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
158
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
57
159
  BALANCE_UPDATED = :"balance.updated"
58
160
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
161
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
162
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
163
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
164
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
165
+ CARD_CONVERTED = :"card.converted"
59
166
  CARD_CREATED = :"card.created"
60
- CARD_RENEWED = :"card.renewed"
61
167
  CARD_REISSUED = :"card.reissued"
62
- CARD_CONVERTED = :"card.converted"
168
+ CARD_RENEWED = :"card.renewed"
63
169
  CARD_SHIPPED = :"card.shipped"
64
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
65
170
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
66
171
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
67
172
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -69,10 +174,10 @@ module Lithic
69
174
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
70
175
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
71
176
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
72
- DISPUTE_UPDATED = :"dispute.updated"
73
177
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
74
178
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
75
179
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
180
+ DISPUTE_UPDATED = :"dispute.updated"
76
181
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
77
182
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
78
183
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -80,6 +185,8 @@ module Lithic
80
185
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
81
186
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
82
187
  FUNDING_EVENT_CREATED = :"funding_event.created"
188
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
189
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
83
190
  LOAN_TAPE_CREATED = :"loan_tape.created"
84
191
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
85
192
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -88,10 +195,9 @@ module Lithic
88
195
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
89
196
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
90
197
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
91
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
92
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
93
198
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
94
199
  STATEMENTS_CREATED = :"statements.created"
200
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
95
201
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
96
202
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
97
203
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"
@@ -23,17 +23,22 @@ module Lithic
23
23
  module EventType
24
24
  extend Lithic::Internal::Type::Enum
25
25
 
26
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
26
27
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
27
28
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
28
29
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
30
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
29
31
  BALANCE_UPDATED = :"balance.updated"
30
32
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
33
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
34
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
35
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
36
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
37
+ CARD_CONVERTED = :"card.converted"
31
38
  CARD_CREATED = :"card.created"
32
- CARD_RENEWED = :"card.renewed"
33
39
  CARD_REISSUED = :"card.reissued"
34
- CARD_CONVERTED = :"card.converted"
40
+ CARD_RENEWED = :"card.renewed"
35
41
  CARD_SHIPPED = :"card.shipped"
36
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
37
42
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
38
43
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
39
44
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -41,10 +46,10 @@ module Lithic
41
46
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
42
47
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
43
48
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
44
- DISPUTE_UPDATED = :"dispute.updated"
45
49
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
46
50
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
47
51
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
52
+ DISPUTE_UPDATED = :"dispute.updated"
48
53
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
49
54
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
50
55
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -52,6 +57,8 @@ module Lithic
52
57
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
53
58
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
54
59
  FUNDING_EVENT_CREATED = :"funding_event.created"
60
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
61
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
55
62
  LOAN_TAPE_CREATED = :"loan_tape.created"
56
63
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
57
64
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -60,10 +67,9 @@ module Lithic
60
67
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
61
68
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
62
69
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
63
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
64
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
65
70
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
66
71
  STATEMENTS_CREATED = :"statements.created"
72
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
67
73
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
68
74
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
69
75
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"
@@ -48,20 +48,125 @@ module Lithic
48
48
  #
49
49
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
50
50
 
51
+ # The type of event that occurred. Possible values:
52
+ #
53
+ # - account_holder_document.updated: Occurs when an account holder's document
54
+ # upload status has been updated
55
+ # - account_holder.created: Occurs when a new account_holder is created.
56
+ # - account_holder.updated: Occurs when an account_holder is updated.
57
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
58
+ # verification is completed.
59
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
60
+ # - balance.updated: Financial Account Balance Update
61
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
62
+ # created.
63
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
64
+ # updated.
65
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
66
+ # data is processed for a transaction event.
67
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
68
+ # data is reprocessed for a transaction event.
69
+ # - card_transaction.updated: Occurs when a card transaction happens.
70
+ # - card.converted: Occurs when a card is converted from virtual to physical
71
+ # cards.
72
+ # - card.created: Occurs when a new card is created.
73
+ # - card.reissued: Occurs when a card is reissued.
74
+ # - card.renewed: Occurs when a card is renewed.
75
+ # - card.shipped: Occurs when a card is shipped.
76
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
77
+ # approval request is made. This event will be deprecated in the future. We
78
+ # recommend using `tokenization.approval_request` instead.
79
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
80
+ # succeeded or failed.
81
+ #
82
+ # This event will be deprecated in the future. We recommend using
83
+ # `tokenization.result` instead.
84
+ #
85
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
86
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
87
+ # delivery.
88
+ #
89
+ # This event will be deprecated in the future. We recommend using
90
+ # `tokenization.two_factor_authentication_code` instead.
91
+ #
92
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
93
+ # tokenization request 2FA code is sent to our downstream messaging providers
94
+ # for delivery.
95
+ #
96
+ # This event will be deprecated in the future. We recommend using
97
+ # `tokenization.two_factor_authentication_code_sent` instead.
98
+ #
99
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
100
+ # changed.
101
+ #
102
+ # This event will be deprecated in the future. We recommend using
103
+ # `tokenization.updated` instead.
104
+ #
105
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
106
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
107
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
108
+ # - dispute.updated: Occurs when a dispute is updated.
109
+ # - external_bank_account.created: Occurs when an external bank account is
110
+ # created.
111
+ # - external_bank_account.updated: Occurs when an external bank account is
112
+ # updated.
113
+ # - external_payment.created: Occurs when an external payment is created.
114
+ # - external_payment.updated: Occurs when an external payment is updated.
115
+ # - financial_account.created: Occurs when a financial account is created.
116
+ # - financial_account.updated: Occurs when a financial account is updated.
117
+ # - funding_event.created: Occurs when a funding event is created.
118
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
119
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
120
+ # - loan_tape.created: Occurs when a loan tape is created.
121
+ # - loan_tape.updated: Occurs when a loan tape is updated.
122
+ # - management_operation.created: Occurs when an management operation is created.
123
+ # - management_operation.updated: Occurs when an management operation is updated.
124
+ # - network_total.created: Occurs when a network total is created.
125
+ # - network_total.updated: Occurs when a network total is updated.
126
+ # - payment_transaction.created: Occurs when a payment transaction is created.
127
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
128
+ # - settlement_report.updated: Occurs when a settlement report is created or
129
+ # updated.
130
+ # - statements.created: Occurs when a statement has been created
131
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
132
+ # event. Upon receiving this request, the Card Program should issue its own
133
+ # challenge to the cardholder. After a cardholder challenge is successfully
134
+ # completed, the Card Program needs to respond back to Lithic by call to
135
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
136
+ # Then the cardholder must navigate back to the merchant checkout flow to
137
+ # complete the transaction. Some merchants will include an `app_requestor_url`
138
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
139
+ # after the cardholder completes an app-based challenge.
140
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
141
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
142
+ # (eg. challenge is completed).
143
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
144
+ # made.
145
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
146
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
147
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
148
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
149
+ # request 2FA code is sent to our downstream messaging providers for delivery.
150
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
51
151
  module EventType
52
152
  extend Lithic::Internal::Type::Enum
53
153
 
154
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
54
155
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
55
156
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
56
157
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
158
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
57
159
  BALANCE_UPDATED = :"balance.updated"
58
160
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
161
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
162
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
163
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
164
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
165
+ CARD_CONVERTED = :"card.converted"
59
166
  CARD_CREATED = :"card.created"
60
- CARD_RENEWED = :"card.renewed"
61
167
  CARD_REISSUED = :"card.reissued"
62
- CARD_CONVERTED = :"card.converted"
168
+ CARD_RENEWED = :"card.renewed"
63
169
  CARD_SHIPPED = :"card.shipped"
64
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
65
170
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
66
171
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
67
172
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -69,10 +174,10 @@ module Lithic
69
174
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
70
175
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
71
176
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
72
- DISPUTE_UPDATED = :"dispute.updated"
73
177
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
74
178
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
75
179
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
180
+ DISPUTE_UPDATED = :"dispute.updated"
76
181
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
77
182
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
78
183
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -80,6 +185,8 @@ module Lithic
80
185
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
81
186
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
82
187
  FUNDING_EVENT_CREATED = :"funding_event.created"
188
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
189
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
83
190
  LOAN_TAPE_CREATED = :"loan_tape.created"
84
191
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
85
192
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -88,10 +195,9 @@ module Lithic
88
195
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
89
196
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
90
197
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
91
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
92
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
93
198
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
94
199
  STATEMENTS_CREATED = :"statements.created"
200
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
95
201
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
96
202
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
97
203
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"
@@ -31,7 +31,7 @@ module Lithic
31
31
  # @!attribute address2
32
32
  #
33
33
  # @return [String, nil]
34
- optional :address2, String
34
+ optional :address2, String, nil?: true
35
35
 
36
36
  # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
37
37
  # @param address1 [String]
@@ -39,7 +39,7 @@ module Lithic
39
39
  # @param country [String]
40
40
  # @param postal_code [String]
41
41
  # @param state [String]
42
- # @param address2 [String]
42
+ # @param address2 [String, nil]
43
43
  end
44
44
  end
45
45
  end