lithic 0.1.0.pre.alpha.54 → 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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. 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"
@@ -123,33 +123,7 @@ module Lithic
123
123
  # @return [String, nil]
124
124
  required :tier, String, nil?: true
125
125
 
126
- # @!attribute charged_off_reason
127
- # @deprecated
128
- #
129
- # Reason for the financial account being marked as Charged Off
130
- #
131
- # @return [Symbol, Lithic::Models::FinancialAccount::CreditConfiguration::ChargedOffReason, nil]
132
- optional :charged_off_reason,
133
- enum: -> { Lithic::FinancialAccount::CreditConfiguration::ChargedOffReason },
134
- nil?: true
135
-
136
- # @!attribute financial_account_state
137
- # @deprecated
138
- #
139
- # State of the financial account
140
- #
141
- # @return [Symbol, Lithic::Models::FinancialAccount::CreditConfiguration::FinancialAccountState, nil]
142
- optional :financial_account_state,
143
- enum: -> { Lithic::FinancialAccount::CreditConfiguration::FinancialAccountState },
144
- nil?: true
145
-
146
- # @!attribute is_spend_blocked
147
- # @deprecated
148
- #
149
- # @return [Boolean, nil]
150
- optional :is_spend_blocked, Lithic::Internal::Type::Boolean
151
-
152
- # @!method initialize(auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:, charged_off_reason: nil, financial_account_state: nil, is_spend_blocked: nil)
126
+ # @!method initialize(auto_collection_configuration:, credit_limit:, credit_product_token:, external_bank_account_token:, tier:)
153
127
  # @param auto_collection_configuration [Lithic::Models::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration]
154
128
  #
155
129
  # @param credit_limit [Integer, nil]
@@ -159,12 +133,6 @@ module Lithic
159
133
  # @param external_bank_account_token [String, nil]
160
134
  #
161
135
  # @param tier [String, nil] Tier assigned to the financial account
162
- #
163
- # @param charged_off_reason [Symbol, Lithic::Models::FinancialAccount::CreditConfiguration::ChargedOffReason, nil] Reason for the financial account being marked as Charged Off
164
- #
165
- # @param financial_account_state [Symbol, Lithic::Models::FinancialAccount::CreditConfiguration::FinancialAccountState, nil] State of the financial account
166
- #
167
- # @param is_spend_blocked [Boolean]
168
136
 
169
137
  # @see Lithic::Models::FinancialAccount::CreditConfiguration#auto_collection_configuration
170
138
  class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
@@ -177,38 +145,6 @@ module Lithic
177
145
  # @!method initialize(auto_collection_enabled:)
178
146
  # @param auto_collection_enabled [Boolean] If auto collection is enabled for this account
179
147
  end
180
-
181
- # @deprecated
182
- #
183
- # Reason for the financial account being marked as Charged Off
184
- #
185
- # @see Lithic::Models::FinancialAccount::CreditConfiguration#charged_off_reason
186
- module ChargedOffReason
187
- extend Lithic::Internal::Type::Enum
188
-
189
- DELINQUENT = :DELINQUENT
190
- FRAUD = :FRAUD
191
-
192
- # @!method self.values
193
- # @return [Array<Symbol>]
194
- end
195
-
196
- # @deprecated
197
- #
198
- # State of the financial account
199
- #
200
- # @see Lithic::Models::FinancialAccount::CreditConfiguration#financial_account_state
201
- module FinancialAccountState
202
- extend Lithic::Internal::Type::Enum
203
-
204
- PENDING = :PENDING
205
- CURRENT = :CURRENT
206
- DELINQUENT = :DELINQUENT
207
- CHARGED_OFF = :CHARGED_OFF
208
-
209
- # @!method self.values
210
- # @return [Array<Symbol>]
211
- end
212
148
  end
213
149
 
214
150
  # Status of the financial account