lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55

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 (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/base_client.rb +7 -1
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  9. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  11. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  12. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  14. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  17. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  18. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  19. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  20. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  21. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  22. data/lib/lithic/models/book_transfer_response.rb +5 -5
  23. data/lib/lithic/models/dispute.rb +510 -242
  24. data/lib/lithic/models/dispute_create_response.rb +326 -0
  25. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  26. data/lib/lithic/models/dispute_list_response.rb +326 -0
  27. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  28. data/lib/lithic/models/dispute_update_response.rb +326 -0
  29. data/lib/lithic/models/event.rb +213 -69
  30. data/lib/lithic/models/event_list_params.rb +112 -6
  31. data/lib/lithic/models/event_subscription.rb +112 -6
  32. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  33. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  34. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  35. data/lib/lithic/models/financial_account.rb +1 -65
  36. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  37. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  38. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  39. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
  40. data/lib/lithic/models/financial_transaction.rb +1 -0
  41. data/lib/lithic/models/payment.rb +29 -18
  42. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  43. data/lib/lithic/models/tokenization.rb +189 -23
  44. data/lib/lithic/models/transaction.rb +12 -116
  45. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  46. data/lib/lithic/models/transfer.rb +1 -0
  47. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  48. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  49. data/lib/lithic/resources/disputes.rb +10 -10
  50. data/lib/lithic/resources/payments.rb +5 -1
  51. data/lib/lithic/version.rb +1 -1
  52. data/lib/lithic.rb +8 -3
  53. data/manifest.yaml +1 -0
  54. data/rbi/lithic/internal/transport/base_client.rbi +5 -0
  55. data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
  56. data/rbi/lithic/internal/type/base_model.rbi +8 -4
  57. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  58. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  59. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  60. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  61. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  62. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  63. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  64. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  65. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  66. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  67. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  68. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  69. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  70. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  71. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  72. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  73. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  74. data/rbi/lithic/models/dispute.rbi +942 -395
  75. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  76. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  77. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  78. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  79. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  80. data/rbi/lithic/models/event.rbi +348 -111
  81. data/rbi/lithic/models/event_list_params.rbi +155 -25
  82. data/rbi/lithic/models/event_subscription.rbi +155 -25
  83. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  84. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  85. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  86. data/rbi/lithic/models/financial_account.rbi +3 -132
  87. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  88. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  89. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  90. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
  91. data/rbi/lithic/models/financial_transaction.rbi +5 -0
  92. data/rbi/lithic/models/payment.rbi +52 -28
  93. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  94. data/rbi/lithic/models/tokenization.rbi +429 -34
  95. data/rbi/lithic/models/transaction.rbi +22 -246
  96. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  97. data/rbi/lithic/models/transfer.rbi +5 -0
  98. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  99. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  100. data/rbi/lithic/resources/disputes.rbi +7 -5
  101. data/rbi/lithic/resources/payments.rbi +6 -0
  102. data/sig/lithic/internal/transport/base_client.rbs +2 -0
  103. data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
  104. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  105. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  106. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  107. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  108. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  109. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  110. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  111. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  112. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  113. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  114. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  115. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  116. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  117. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  118. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  119. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  120. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  121. data/sig/lithic/models/dispute.rbs +417 -157
  122. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  123. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  124. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  125. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  126. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  127. data/sig/lithic/models/event.rbs +25 -13
  128. data/sig/lithic/models/event_list_params.rbs +25 -13
  129. data/sig/lithic/models/event_subscription.rbs +25 -13
  130. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  131. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  132. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  133. data/sig/lithic/models/financial_account.rbs +3 -45
  134. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  135. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  136. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  137. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  138. data/sig/lithic/models/financial_transaction.rbs +2 -0
  139. data/sig/lithic/models/payment.rbs +16 -12
  140. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  141. data/sig/lithic/models/tokenization.rbs +160 -13
  142. data/sig/lithic/models/transaction.rbs +13 -94
  143. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  144. data/sig/lithic/models/transfer.rbs +2 -0
  145. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  146. data/sig/lithic/resources/disputes.rbs +5 -5
  147. data/sig/lithic/resources/payments.rbs +2 -0
  148. metadata +23 -11
  149. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  150. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  151. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  152. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  153. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  154. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  155. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  156. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  157. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -19,37 +19,106 @@ module Lithic
19
19
  required :created, Time
20
20
 
21
21
  # @!attribute event_type
22
- # Event types:
23
- #
24
- # - `account_holder.created` - Notification that a new account holder has been
25
- # created and was not rejected.
26
- # - `account_holder.updated` - Notification that an account holder was updated.
27
- # - `account_holder.verification` - Notification than an account holder's identity
28
- # verification is complete.
29
- # - `card.created` - Notification that a card has been created.
30
- # - `card.renewed` - Notification that a card has been renewed.
31
- # - `card.reissued` - Notification that a card has been reissued.
32
- # - `card.shipped` - Physical card shipment notification. See
33
- # https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
34
- # - `card.converted` - Notification that a virtual card has been converted to a
35
- # physical card.
36
- # - `card_transaction.updated` - Transaction Lifecycle webhook. See
37
- # https://docs.lithic.com/docs/transaction-webhooks.
38
- # - `dispute.updated` - A dispute has been updated.
39
- # - `dispute_transaction.created` - A new dispute transaction has been created.
40
- # - `dispute_transaction.updated` - A dispute transaction has been updated.
41
- # - `digital_wallet.tokenization_approval_request` - Card network's request to
42
- # Lithic to activate a digital wallet token.
43
- # - `digital_wallet.tokenization_result` - Notification of the end result of a
44
- # tokenization, whether successful or failed.
45
- # - `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
46
- # passed to an end user to complete digital wallet authentication. See
47
- # https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
48
- # - `digital_wallet.tokenization_two_factor_authentication_code_sent` -
49
- # Notification that a two factor authentication code for activating a digital
50
- # wallet has been sent to the end user.
51
- # - `digital_wallet.tokenization_updated` - Notification that a digital wallet
52
- # tokenization's status has changed.
22
+ # The type of event that occurred. Possible values:
23
+ #
24
+ # - account_holder_document.updated: Occurs when an account holder's document
25
+ # upload status has been updated
26
+ # - account_holder.created: Occurs when a new account_holder is created.
27
+ # - account_holder.updated: Occurs when an account_holder is updated.
28
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
29
+ # verification is completed.
30
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
31
+ # - balance.updated: Financial Account Balance Update
32
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
33
+ # created.
34
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
35
+ # updated.
36
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
37
+ # data is processed for a transaction event.
38
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
39
+ # data is reprocessed for a transaction event.
40
+ # - card_transaction.updated: Occurs when a card transaction happens.
41
+ # - card.converted: Occurs when a card is converted from virtual to physical
42
+ # cards.
43
+ # - card.created: Occurs when a new card is created.
44
+ # - card.reissued: Occurs when a card is reissued.
45
+ # - card.renewed: Occurs when a card is renewed.
46
+ # - card.shipped: Occurs when a card is shipped.
47
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
48
+ # approval request is made. This event will be deprecated in the future. We
49
+ # recommend using `tokenization.approval_request` instead.
50
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
51
+ # succeeded or failed.
52
+ #
53
+ # This event will be deprecated in the future. We recommend using
54
+ # `tokenization.result` instead.
55
+ #
56
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
57
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
58
+ # delivery.
59
+ #
60
+ # This event will be deprecated in the future. We recommend using
61
+ # `tokenization.two_factor_authentication_code` instead.
62
+ #
63
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
64
+ # tokenization request 2FA code is sent to our downstream messaging providers
65
+ # for delivery.
66
+ #
67
+ # This event will be deprecated in the future. We recommend using
68
+ # `tokenization.two_factor_authentication_code_sent` instead.
69
+ #
70
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
71
+ # changed.
72
+ #
73
+ # This event will be deprecated in the future. We recommend using
74
+ # `tokenization.updated` instead.
75
+ #
76
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
77
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
78
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
79
+ # - dispute.updated: Occurs when a dispute is updated.
80
+ # - external_bank_account.created: Occurs when an external bank account is
81
+ # created.
82
+ # - external_bank_account.updated: Occurs when an external bank account is
83
+ # updated.
84
+ # - external_payment.created: Occurs when an external payment is created.
85
+ # - external_payment.updated: Occurs when an external payment is updated.
86
+ # - financial_account.created: Occurs when a financial account is created.
87
+ # - financial_account.updated: Occurs when a financial account is updated.
88
+ # - funding_event.created: Occurs when a funding event is created.
89
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
90
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
91
+ # - loan_tape.created: Occurs when a loan tape is created.
92
+ # - loan_tape.updated: Occurs when a loan tape is updated.
93
+ # - management_operation.created: Occurs when an management operation is created.
94
+ # - management_operation.updated: Occurs when an management operation is updated.
95
+ # - network_total.created: Occurs when a network total is created.
96
+ # - network_total.updated: Occurs when a network total is updated.
97
+ # - payment_transaction.created: Occurs when a payment transaction is created.
98
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
99
+ # - settlement_report.updated: Occurs when a settlement report is created or
100
+ # updated.
101
+ # - statements.created: Occurs when a statement has been created
102
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
103
+ # event. Upon receiving this request, the Card Program should issue its own
104
+ # challenge to the cardholder. After a cardholder challenge is successfully
105
+ # completed, the Card Program needs to respond back to Lithic by call to
106
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
107
+ # Then the cardholder must navigate back to the merchant checkout flow to
108
+ # complete the transaction. Some merchants will include an `app_requestor_url`
109
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
110
+ # after the cardholder completes an app-based challenge.
111
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
112
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
113
+ # (eg. challenge is completed).
114
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
115
+ # made.
116
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
117
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
118
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
119
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
120
+ # request 2FA code is sent to our downstream messaging providers for delivery.
121
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
53
122
  #
54
123
  # @return [Symbol, Lithic::Models::Event::EventType]
55
124
  required :event_type, enum: -> { Lithic::Event::EventType }
@@ -69,57 +138,131 @@ module Lithic
69
138
  #
70
139
  # @param created [Time] An RFC 3339 timestamp for when the event was created. UTC time zone.
71
140
  #
72
- # @param event_type [Symbol, Lithic::Models::Event::EventType] Event types:
141
+ # @param event_type [Symbol, Lithic::Models::Event::EventType] The type of event that occurred. Possible values:
73
142
  #
74
143
  # @param payload [Hash{Symbol=>Object}]
75
144
 
76
- # Event types:
77
- #
78
- # - `account_holder.created` - Notification that a new account holder has been
79
- # created and was not rejected.
80
- # - `account_holder.updated` - Notification that an account holder was updated.
81
- # - `account_holder.verification` - Notification than an account holder's identity
82
- # verification is complete.
83
- # - `card.created` - Notification that a card has been created.
84
- # - `card.renewed` - Notification that a card has been renewed.
85
- # - `card.reissued` - Notification that a card has been reissued.
86
- # - `card.shipped` - Physical card shipment notification. See
87
- # https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
88
- # - `card.converted` - Notification that a virtual card has been converted to a
89
- # physical card.
90
- # - `card_transaction.updated` - Transaction Lifecycle webhook. See
91
- # https://docs.lithic.com/docs/transaction-webhooks.
92
- # - `dispute.updated` - A dispute has been updated.
93
- # - `dispute_transaction.created` - A new dispute transaction has been created.
94
- # - `dispute_transaction.updated` - A dispute transaction has been updated.
95
- # - `digital_wallet.tokenization_approval_request` - Card network's request to
96
- # Lithic to activate a digital wallet token.
97
- # - `digital_wallet.tokenization_result` - Notification of the end result of a
98
- # tokenization, whether successful or failed.
99
- # - `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
100
- # passed to an end user to complete digital wallet authentication. See
101
- # https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
102
- # - `digital_wallet.tokenization_two_factor_authentication_code_sent` -
103
- # Notification that a two factor authentication code for activating a digital
104
- # wallet has been sent to the end user.
105
- # - `digital_wallet.tokenization_updated` - Notification that a digital wallet
106
- # tokenization's status has changed.
145
+ # The type of event that occurred. Possible values:
146
+ #
147
+ # - account_holder_document.updated: Occurs when an account holder's document
148
+ # upload status has been updated
149
+ # - account_holder.created: Occurs when a new account_holder is created.
150
+ # - account_holder.updated: Occurs when an account_holder is updated.
151
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
152
+ # verification is completed.
153
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
154
+ # - balance.updated: Financial Account Balance Update
155
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
156
+ # created.
157
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
158
+ # updated.
159
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
160
+ # data is processed for a transaction event.
161
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
162
+ # data is reprocessed for a transaction event.
163
+ # - card_transaction.updated: Occurs when a card transaction happens.
164
+ # - card.converted: Occurs when a card is converted from virtual to physical
165
+ # cards.
166
+ # - card.created: Occurs when a new card is created.
167
+ # - card.reissued: Occurs when a card is reissued.
168
+ # - card.renewed: Occurs when a card is renewed.
169
+ # - card.shipped: Occurs when a card is shipped.
170
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
171
+ # approval request is made. This event will be deprecated in the future. We
172
+ # recommend using `tokenization.approval_request` instead.
173
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
174
+ # succeeded or failed.
175
+ #
176
+ # This event will be deprecated in the future. We recommend using
177
+ # `tokenization.result` instead.
178
+ #
179
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
180
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
181
+ # delivery.
182
+ #
183
+ # This event will be deprecated in the future. We recommend using
184
+ # `tokenization.two_factor_authentication_code` instead.
185
+ #
186
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
187
+ # tokenization request 2FA code is sent to our downstream messaging providers
188
+ # for delivery.
189
+ #
190
+ # This event will be deprecated in the future. We recommend using
191
+ # `tokenization.two_factor_authentication_code_sent` instead.
192
+ #
193
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
194
+ # changed.
195
+ #
196
+ # This event will be deprecated in the future. We recommend using
197
+ # `tokenization.updated` instead.
198
+ #
199
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
200
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
201
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
202
+ # - dispute.updated: Occurs when a dispute is updated.
203
+ # - external_bank_account.created: Occurs when an external bank account is
204
+ # created.
205
+ # - external_bank_account.updated: Occurs when an external bank account is
206
+ # updated.
207
+ # - external_payment.created: Occurs when an external payment is created.
208
+ # - external_payment.updated: Occurs when an external payment is updated.
209
+ # - financial_account.created: Occurs when a financial account is created.
210
+ # - financial_account.updated: Occurs when a financial account is updated.
211
+ # - funding_event.created: Occurs when a funding event is created.
212
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
213
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
214
+ # - loan_tape.created: Occurs when a loan tape is created.
215
+ # - loan_tape.updated: Occurs when a loan tape is updated.
216
+ # - management_operation.created: Occurs when an management operation is created.
217
+ # - management_operation.updated: Occurs when an management operation is updated.
218
+ # - network_total.created: Occurs when a network total is created.
219
+ # - network_total.updated: Occurs when a network total is updated.
220
+ # - payment_transaction.created: Occurs when a payment transaction is created.
221
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
222
+ # - settlement_report.updated: Occurs when a settlement report is created or
223
+ # updated.
224
+ # - statements.created: Occurs when a statement has been created
225
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
226
+ # event. Upon receiving this request, the Card Program should issue its own
227
+ # challenge to the cardholder. After a cardholder challenge is successfully
228
+ # completed, the Card Program needs to respond back to Lithic by call to
229
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
230
+ # Then the cardholder must navigate back to the merchant checkout flow to
231
+ # complete the transaction. Some merchants will include an `app_requestor_url`
232
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
233
+ # after the cardholder completes an app-based challenge.
234
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
235
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
236
+ # (eg. challenge is completed).
237
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
238
+ # made.
239
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
240
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
241
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
242
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
243
+ # request 2FA code is sent to our downstream messaging providers for delivery.
244
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
107
245
  #
108
246
  # @see Lithic::Models::Event#event_type
109
247
  module EventType
110
248
  extend Lithic::Internal::Type::Enum
111
249
 
250
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
112
251
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
113
252
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
114
253
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
254
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
115
255
  BALANCE_UPDATED = :"balance.updated"
116
256
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
257
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
258
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
259
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
260
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
261
+ CARD_CONVERTED = :"card.converted"
117
262
  CARD_CREATED = :"card.created"
118
- CARD_RENEWED = :"card.renewed"
119
263
  CARD_REISSUED = :"card.reissued"
120
- CARD_CONVERTED = :"card.converted"
264
+ CARD_RENEWED = :"card.renewed"
121
265
  CARD_SHIPPED = :"card.shipped"
122
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
123
266
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
124
267
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
125
268
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -127,10 +270,10 @@ module Lithic
127
270
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
128
271
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
129
272
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
130
- DISPUTE_UPDATED = :"dispute.updated"
131
273
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
132
274
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
133
275
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
276
+ DISPUTE_UPDATED = :"dispute.updated"
134
277
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
135
278
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
136
279
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -138,6 +281,8 @@ module Lithic
138
281
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
139
282
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
140
283
  FUNDING_EVENT_CREATED = :"funding_event.created"
284
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
285
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
141
286
  LOAN_TAPE_CREATED = :"loan_tape.created"
142
287
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
143
288
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -146,10 +291,9 @@ module Lithic
146
291
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
147
292
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
148
293
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
149
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
150
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
151
294
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
152
295
  STATEMENTS_CREATED = :"statements.created"
296
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
153
297
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
154
298
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
155
299
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"
@@ -73,20 +73,125 @@ module Lithic
73
73
  #
74
74
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
75
75
 
76
+ # The type of event that occurred. Possible values:
77
+ #
78
+ # - account_holder_document.updated: Occurs when an account holder's document
79
+ # upload status has been updated
80
+ # - account_holder.created: Occurs when a new account_holder is created.
81
+ # - account_holder.updated: Occurs when an account_holder is updated.
82
+ # - account_holder.verification: Occurs when an asynchronous account_holder's
83
+ # verification is completed.
84
+ # - auth_rules.backtest_report.created: Auth Rules backtest report created.
85
+ # - balance.updated: Financial Account Balance Update
86
+ # - book_transfer_transaction.created: Occurs when a book transfer transaction is
87
+ # created.
88
+ # - book_transfer_transaction.updated: Occurs when a book transfer transaction is
89
+ # updated.
90
+ # - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
91
+ # data is processed for a transaction event.
92
+ # - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
93
+ # data is reprocessed for a transaction event.
94
+ # - card_transaction.updated: Occurs when a card transaction happens.
95
+ # - card.converted: Occurs when a card is converted from virtual to physical
96
+ # cards.
97
+ # - card.created: Occurs when a new card is created.
98
+ # - card.reissued: Occurs when a card is reissued.
99
+ # - card.renewed: Occurs when a card is renewed.
100
+ # - card.shipped: Occurs when a card is shipped.
101
+ # - digital_wallet.tokenization_approval_request: Occurs when a tokenization
102
+ # approval request is made. This event will be deprecated in the future. We
103
+ # recommend using `tokenization.approval_request` instead.
104
+ # - digital_wallet.tokenization_result: Occurs when a tokenization request
105
+ # succeeded or failed.
106
+ #
107
+ # This event will be deprecated in the future. We recommend using
108
+ # `tokenization.result` instead.
109
+ #
110
+ # - digital_wallet.tokenization_two_factor_authentication_code: Occurs when a
111
+ # tokenization request 2FA code is sent to the Lithic customer for self serve
112
+ # delivery.
113
+ #
114
+ # This event will be deprecated in the future. We recommend using
115
+ # `tokenization.two_factor_authentication_code` instead.
116
+ #
117
+ # - digital_wallet.tokenization_two_factor_authentication_code_sent: Occurs when a
118
+ # tokenization request 2FA code is sent to our downstream messaging providers
119
+ # for delivery.
120
+ #
121
+ # This event will be deprecated in the future. We recommend using
122
+ # `tokenization.two_factor_authentication_code_sent` instead.
123
+ #
124
+ # - digital_wallet.tokenization_updated: Occurs when a tokenization's status has
125
+ # changed.
126
+ #
127
+ # This event will be deprecated in the future. We recommend using
128
+ # `tokenization.updated` instead.
129
+ #
130
+ # - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
131
+ # - dispute_transaction.created: Occurs when a new dispute transaction is created
132
+ # - dispute_transaction.updated: Occurs when a dispute transaction is updated
133
+ # - dispute.updated: Occurs when a dispute is updated.
134
+ # - external_bank_account.created: Occurs when an external bank account is
135
+ # created.
136
+ # - external_bank_account.updated: Occurs when an external bank account is
137
+ # updated.
138
+ # - external_payment.created: Occurs when an external payment is created.
139
+ # - external_payment.updated: Occurs when an external payment is updated.
140
+ # - financial_account.created: Occurs when a financial account is created.
141
+ # - financial_account.updated: Occurs when a financial account is updated.
142
+ # - funding_event.created: Occurs when a funding event is created.
143
+ # - internal_transaction.created: Occurs when an internal adjustment is created.
144
+ # - internal_transaction.updated: Occurs when an internal adjustment is updated.
145
+ # - loan_tape.created: Occurs when a loan tape is created.
146
+ # - loan_tape.updated: Occurs when a loan tape is updated.
147
+ # - management_operation.created: Occurs when an management operation is created.
148
+ # - management_operation.updated: Occurs when an management operation is updated.
149
+ # - network_total.created: Occurs when a network total is created.
150
+ # - network_total.updated: Occurs when a network total is updated.
151
+ # - payment_transaction.created: Occurs when a payment transaction is created.
152
+ # - payment_transaction.updated: Occurs when a payment transaction is updated.
153
+ # - settlement_report.updated: Occurs when a settlement report is created or
154
+ # updated.
155
+ # - statements.created: Occurs when a statement has been created
156
+ # - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
157
+ # event. Upon receiving this request, the Card Program should issue its own
158
+ # challenge to the cardholder. After a cardholder challenge is successfully
159
+ # completed, the Card Program needs to respond back to Lithic by call to
160
+ # [/v1/three_ds_decisioning/challenge_response](https://docs.lithic.com/reference/post_v1-three-ds-decisioning-challenge-response).
161
+ # Then the cardholder must navigate back to the merchant checkout flow to
162
+ # complete the transaction. Some merchants will include an `app_requestor_url`
163
+ # for app-based purchases; Lithic recommends triggering a redirect to that URL
164
+ # after the cardholder completes an app-based challenge.
165
+ # - three_ds_authentication.created: Occurs when a 3DS authentication is created.
166
+ # - three_ds_authentication.updated: Occurs when a 3DS authentication is updated
167
+ # (eg. challenge is completed).
168
+ # - tokenization.approval_request: Occurs when a tokenization approval request is
169
+ # made.
170
+ # - tokenization.result: Occurs when a tokenization request succeeded or failed.
171
+ # - tokenization.two_factor_authentication_code: Occurs when a tokenization
172
+ # request 2FA code is sent to the Lithic customer for self serve delivery.
173
+ # - tokenization.two_factor_authentication_code_sent: Occurs when a tokenization
174
+ # request 2FA code is sent to our downstream messaging providers for delivery.
175
+ # - tokenization.updated: Occurs when a tokenization's status has changed.
76
176
  module EventType
77
177
  extend Lithic::Internal::Type::Enum
78
178
 
179
+ ACCOUNT_HOLDER_DOCUMENT_UPDATED = :"account_holder_document.updated"
79
180
  ACCOUNT_HOLDER_CREATED = :"account_holder.created"
80
181
  ACCOUNT_HOLDER_UPDATED = :"account_holder.updated"
81
182
  ACCOUNT_HOLDER_VERIFICATION = :"account_holder.verification"
183
+ AUTH_RULES_BACKTEST_REPORT_CREATED = :"auth_rules.backtest_report.created"
82
184
  BALANCE_UPDATED = :"balance.updated"
83
185
  BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
186
+ BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
187
+ CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
188
+ CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
189
+ CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
190
+ CARD_CONVERTED = :"card.converted"
84
191
  CARD_CREATED = :"card.created"
85
- CARD_RENEWED = :"card.renewed"
86
192
  CARD_REISSUED = :"card.reissued"
87
- CARD_CONVERTED = :"card.converted"
193
+ CARD_RENEWED = :"card.renewed"
88
194
  CARD_SHIPPED = :"card.shipped"
89
- CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
90
195
  DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
91
196
  DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
92
197
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
@@ -94,10 +199,10 @@ module Lithic
94
199
  DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT =
95
200
  :"digital_wallet.tokenization_two_factor_authentication_code_sent"
96
201
  DIGITAL_WALLET_TOKENIZATION_UPDATED = :"digital_wallet.tokenization_updated"
97
- DISPUTE_UPDATED = :"dispute.updated"
98
202
  DISPUTE_EVIDENCE_UPLOAD_FAILED = :"dispute_evidence.upload_failed"
99
203
  DISPUTE_TRANSACTION_CREATED = :"dispute_transaction.created"
100
204
  DISPUTE_TRANSACTION_UPDATED = :"dispute_transaction.updated"
205
+ DISPUTE_UPDATED = :"dispute.updated"
101
206
  EXTERNAL_BANK_ACCOUNT_CREATED = :"external_bank_account.created"
102
207
  EXTERNAL_BANK_ACCOUNT_UPDATED = :"external_bank_account.updated"
103
208
  EXTERNAL_PAYMENT_CREATED = :"external_payment.created"
@@ -105,6 +210,8 @@ module Lithic
105
210
  FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
106
211
  FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
107
212
  FUNDING_EVENT_CREATED = :"funding_event.created"
213
+ INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
214
+ INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
108
215
  LOAN_TAPE_CREATED = :"loan_tape.created"
109
216
  LOAN_TAPE_UPDATED = :"loan_tape.updated"
110
217
  MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
@@ -113,10 +220,9 @@ module Lithic
113
220
  NETWORK_TOTAL_UPDATED = :"network_total.updated"
114
221
  PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
115
222
  PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
116
- INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
117
- INTERNAL_TRANSACTION_UPDATED = :"internal_transaction.updated"
118
223
  SETTLEMENT_REPORT_UPDATED = :"settlement_report.updated"
119
224
  STATEMENTS_CREATED = :"statements.created"
225
+ THREE_DS_AUTHENTICATION_CHALLENGE = :"three_ds_authentication.challenge"
120
226
  THREE_DS_AUTHENTICATION_CREATED = :"three_ds_authentication.created"
121
227
  THREE_DS_AUTHENTICATION_UPDATED = :"three_ds_authentication.updated"
122
228
  TOKENIZATION_APPROVAL_REQUEST = :"tokenization.approval_request"