lithic 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -0
  3. data/README.md +10 -1
  4. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
  5. data/lib/lithic/internal/util.rb +1 -1
  6. data/lib/lithic/models/account_holder.rb +14 -5
  7. data/lib/lithic/models/account_holder_create_params.rb +10 -1
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -0
  9. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +14 -5
  10. data/lib/lithic/models/account_holder_update_params.rb +10 -1
  11. data/lib/lithic/models/account_holder_update_response.rb +14 -5
  12. data/lib/lithic/models/account_holder_updated_webhook_event.rb +10 -1
  13. data/lib/lithic/models/account_holders/account_holder_entity.rb +183 -0
  14. data/lib/lithic/models/account_holders/entity_create_params.rb +159 -0
  15. data/lib/lithic/models/account_holders/entity_create_response.rb +113 -0
  16. data/lib/lithic/models/account_holders/entity_delete_params.rb +22 -0
  17. data/lib/lithic/models/auth_rules/auth_rule.rb +6 -2
  18. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -3
  19. data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +3 -0
  20. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +47 -21
  21. data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -2
  22. data/lib/lithic/models/auth_rules/v2_draft_params.rb +1 -0
  23. data/lib/lithic/models/auth_rules/v2_list_results_params.rb +70 -0
  24. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +740 -0
  25. data/lib/lithic/models/book_transfer_create_params.rb +9 -1
  26. data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +178 -25
  27. data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +9 -9
  28. data/lib/lithic/models/financial_account.rb +1 -0
  29. data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
  30. data/lib/lithic/models/financial_accounts/category_tier.rb +28 -0
  31. data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +50 -0
  32. data/lib/lithic/models/financial_accounts/interest_tier_schedule_create_params.rb +16 -0
  33. data/lib/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rb +22 -0
  34. data/lib/lithic/models/financial_accounts/interest_tier_schedule_list_params.rb +40 -0
  35. data/lib/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rb +22 -0
  36. data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +44 -0
  37. data/lib/lithic/models/financial_accounts/loan_tape.rb +1 -0
  38. data/lib/lithic/models/financial_accounts/loan_tape_configuration.rb +63 -0
  39. data/lib/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rb +16 -0
  40. data/lib/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rb +36 -0
  41. data/lib/lithic/models/financial_accounts/statement.rb +1 -0
  42. data/lib/lithic/models/kyb.rb +10 -1
  43. data/lib/lithic/models/parsed_webhook_event.rb +10 -1
  44. data/lib/lithic/models/{digital_wallet_token_metadata.rb → token_metadata.rb} +18 -19
  45. data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +9 -9
  46. data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +9 -9
  47. data/lib/lithic/models.rb +4 -2
  48. data/lib/lithic/resources/account_holders/entities.rb +89 -0
  49. data/lib/lithic/resources/account_holders.rb +10 -2
  50. data/lib/lithic/resources/auth_rules/v2.rb +42 -0
  51. data/lib/lithic/resources/book_transfers.rb +3 -1
  52. data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +205 -0
  53. data/lib/lithic/resources/financial_accounts/loan_tape_configuration.rb +36 -0
  54. data/lib/lithic/resources/financial_accounts.rb +9 -0
  55. data/lib/lithic/version.rb +1 -1
  56. data/lib/lithic.rb +20 -1
  57. data/rbi/lithic/internal/util.rbi +1 -1
  58. data/rbi/lithic/models/account_holder.rbi +19 -6
  59. data/rbi/lithic/models/account_holder_create_params.rbi +13 -0
  60. data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -0
  61. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +19 -6
  62. data/rbi/lithic/models/account_holder_update_params.rbi +13 -0
  63. data/rbi/lithic/models/account_holder_update_response.rbi +19 -6
  64. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +13 -0
  65. data/rbi/lithic/models/account_holders/account_holder_entity.rbi +296 -0
  66. data/rbi/lithic/models/account_holders/entity_create_params.rbi +242 -0
  67. data/rbi/lithic/models/account_holders/entity_create_response.rbi +292 -0
  68. data/rbi/lithic/models/account_holders/entity_delete_params.rbi +43 -0
  69. data/rbi/lithic/models/auth_rules/auth_rule.rbi +6 -3
  70. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
  71. data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +1 -0
  72. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +69 -30
  73. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +6 -3
  74. data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +112 -0
  75. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +1826 -0
  76. data/rbi/lithic/models/book_transfer_create_params.rbi +11 -0
  77. data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +337 -36
  78. data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +15 -17
  79. data/rbi/lithic/models/financial_account.rbi +5 -0
  80. data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
  81. data/rbi/lithic/models/financial_accounts/category_tier.rbi +45 -0
  82. data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +75 -0
  83. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbi +32 -0
  84. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbi +43 -0
  85. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbi +73 -0
  86. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbi +43 -0
  87. data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +70 -0
  88. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +5 -0
  89. data/rbi/lithic/models/financial_accounts/loan_tape_configuration.rbi +99 -0
  90. data/rbi/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbi +32 -0
  91. data/rbi/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbi +65 -0
  92. data/rbi/lithic/models/financial_accounts/statement.rbi +5 -0
  93. data/rbi/lithic/models/kyb.rbi +13 -0
  94. data/rbi/lithic/models/parsed_webhook_event.rbi +13 -0
  95. data/rbi/lithic/models/{digital_wallet_token_metadata.rbi → token_metadata.rbi} +34 -41
  96. data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +11 -17
  97. data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +15 -17
  98. data/rbi/lithic/models.rbi +4 -2
  99. data/rbi/lithic/resources/account_holders/entities.rbi +80 -0
  100. data/rbi/lithic/resources/account_holders.rbi +11 -0
  101. data/rbi/lithic/resources/auth_rules/v2.rbi +44 -1
  102. data/rbi/lithic/resources/book_transfers.rbi +3 -0
  103. data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +156 -0
  104. data/rbi/lithic/resources/financial_accounts/loan_tape_configuration.rbi +30 -0
  105. data/rbi/lithic/resources/financial_accounts.rbi +10 -0
  106. data/sig/lithic/models/account_holder.rbs +7 -0
  107. data/sig/lithic/models/account_holder_create_params.rbs +7 -0
  108. data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +2 -1
  109. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +7 -0
  110. data/sig/lithic/models/account_holder_update_params.rbs +7 -0
  111. data/sig/lithic/models/account_holder_update_response.rbs +7 -0
  112. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +7 -0
  113. data/sig/lithic/models/account_holders/account_holder_entity.rbs +137 -0
  114. data/sig/lithic/models/account_holders/entity_create_params.rbs +118 -0
  115. data/sig/lithic/models/account_holders/entity_create_response.rbs +117 -0
  116. data/sig/lithic/models/account_holders/entity_delete_params.rbs +26 -0
  117. data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +65 -0
  118. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +752 -0
  119. data/sig/lithic/models/book_transfer_create_params.rbs +7 -0
  120. data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +96 -0
  121. data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +5 -9
  122. data/sig/lithic/models/financial_account.rbs +2 -0
  123. data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
  124. data/sig/lithic/models/financial_accounts/category_tier.rbs +21 -0
  125. data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +41 -0
  126. data/sig/lithic/models/financial_accounts/interest_tier_schedule_create_params.rbs +17 -0
  127. data/sig/lithic/models/financial_accounts/interest_tier_schedule_delete_params.rbs +26 -0
  128. data/sig/lithic/models/financial_accounts/interest_tier_schedule_list_params.rbs +40 -0
  129. data/sig/lithic/models/financial_accounts/interest_tier_schedule_retrieve_params.rbs +26 -0
  130. data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +38 -0
  131. data/sig/lithic/models/financial_accounts/loan_tape.rbs +2 -0
  132. data/sig/lithic/models/financial_accounts/loan_tape_configuration.rbs +60 -0
  133. data/sig/lithic/models/financial_accounts/loan_tape_configuration_retrieve_params.rbs +17 -0
  134. data/sig/lithic/models/financial_accounts/loan_tape_rebuild_configuration.rbs +32 -0
  135. data/sig/lithic/models/financial_accounts/statement.rbs +2 -0
  136. data/sig/lithic/models/kyb.rbs +7 -0
  137. data/sig/lithic/models/parsed_webhook_event.rbs +7 -0
  138. data/sig/lithic/models/{digital_wallet_token_metadata.rbs → token_metadata.rbs} +19 -17
  139. data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +5 -9
  140. data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +5 -9
  141. data/sig/lithic/models.rbs +4 -2
  142. data/sig/lithic/resources/account_holders/entities.rbs +28 -0
  143. data/sig/lithic/resources/account_holders.rbs +4 -0
  144. data/sig/lithic/resources/auth_rules/v2.rbs +10 -0
  145. data/sig/lithic/resources/book_transfers.rbs +1 -0
  146. data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +46 -0
  147. data/sig/lithic/resources/financial_accounts/loan_tape_configuration.rbs +14 -0
  148. data/sig/lithic/resources/financial_accounts.rbs +4 -0
  149. metadata +62 -5
@@ -10,6 +10,7 @@ module Lithic
10
10
  type: Lithic::Models::BookTransferCreateParams::type_,
11
11
  token: String,
12
12
  external_id: String,
13
+ hold_token: String,
13
14
  memo: String,
14
15
  on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account
15
16
  }
@@ -39,6 +40,10 @@ module Lithic
39
40
 
40
41
  def external_id=: (String) -> String
41
42
 
43
+ attr_reader hold_token: String?
44
+
45
+ def hold_token=: (String) -> String
46
+
42
47
  attr_reader memo: String?
43
48
 
44
49
  def memo=: (String) -> String
@@ -58,6 +63,7 @@ module Lithic
58
63
  type: Lithic::Models::BookTransferCreateParams::type_,
59
64
  ?token: String,
60
65
  ?external_id: String,
66
+ ?hold_token: String,
61
67
  ?memo: String,
62
68
  ?on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
63
69
  ?request_options: Lithic::request_opts
@@ -72,6 +78,7 @@ module Lithic
72
78
  type: Lithic::Models::BookTransferCreateParams::type_,
73
79
  token: String,
74
80
  external_id: String,
81
+ hold_token: String,
75
82
  memo: String,
76
83
  on_closed_account: Lithic::Models::BookTransferCreateParams::on_closed_account,
77
84
  request_options: Lithic::RequestOptions
@@ -5,6 +5,7 @@ module Lithic
5
5
  token: String,
6
6
  acquirer_fee: Integer,
7
7
  amount: Integer,
8
+ amounts: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts,
8
9
  authorization_amount: Integer,
9
10
  avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
10
11
  card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
@@ -40,6 +41,8 @@ module Lithic
40
41
 
41
42
  attr_accessor amount: Integer
42
43
 
44
+ attr_accessor amounts: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts
45
+
43
46
  attr_accessor authorization_amount: Integer
44
47
 
45
48
  attr_accessor avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs
@@ -124,6 +127,7 @@ module Lithic
124
127
  token: String,
125
128
  acquirer_fee: Integer,
126
129
  amount: Integer,
130
+ amounts: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts,
127
131
  authorization_amount: Integer,
128
132
  avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
129
133
  card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
@@ -156,6 +160,7 @@ module Lithic
156
160
  token: String,
157
161
  acquirer_fee: Integer,
158
162
  amount: Integer,
163
+ amounts: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts,
159
164
  authorization_amount: Integer,
160
165
  avs: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Avs,
161
166
  card: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Card,
@@ -184,6 +189,97 @@ module Lithic
184
189
  ttl: Time
185
190
  }
186
191
 
192
+ type amounts =
193
+ {
194
+ cardholder: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder,
195
+ hold: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold?,
196
+ merchant: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant,
197
+ settlement: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement?
198
+ }
199
+
200
+ class Amounts < Lithic::Internal::Type::BaseModel
201
+ attr_accessor cardholder: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder
202
+
203
+ attr_accessor hold: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold?
204
+
205
+ attr_accessor merchant: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant
206
+
207
+ attr_accessor settlement: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement?
208
+
209
+ def initialize: (
210
+ cardholder: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder,
211
+ hold: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold?,
212
+ merchant: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant,
213
+ settlement: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement?
214
+ ) -> void
215
+
216
+ def to_hash: -> {
217
+ cardholder: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Cardholder,
218
+ hold: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Hold?,
219
+ merchant: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Merchant,
220
+ settlement: Lithic::CardAuthorizationApprovalRequestWebhookEvent::Amounts::Settlement?
221
+ }
222
+
223
+ type cardholder =
224
+ { amount: Integer, conversion_rate: String, currency: String }
225
+
226
+ class Cardholder < Lithic::Internal::Type::BaseModel
227
+ attr_accessor amount: Integer
228
+
229
+ attr_accessor conversion_rate: String
230
+
231
+ attr_accessor currency: String
232
+
233
+ def initialize: (
234
+ amount: Integer,
235
+ conversion_rate: String,
236
+ currency: String
237
+ ) -> void
238
+
239
+ def to_hash: -> {
240
+ amount: Integer,
241
+ conversion_rate: String,
242
+ currency: String
243
+ }
244
+ end
245
+
246
+ type hold = { amount: Integer, currency: String }
247
+
248
+ class Hold < Lithic::Internal::Type::BaseModel
249
+ attr_accessor amount: Integer
250
+
251
+ attr_accessor currency: String
252
+
253
+ def initialize: (amount: Integer, currency: String) -> void
254
+
255
+ def to_hash: -> { amount: Integer, currency: String }
256
+ end
257
+
258
+ type merchant = { amount: Integer, currency: String }
259
+
260
+ class Merchant < Lithic::Internal::Type::BaseModel
261
+ attr_accessor amount: Integer
262
+
263
+ attr_accessor currency: String
264
+
265
+ def initialize: (amount: Integer, currency: String) -> void
266
+
267
+ def to_hash: -> { amount: Integer, currency: String }
268
+ end
269
+
270
+ type settlement = { amount: Integer, currency: String }
271
+
272
+ class Settlement < Lithic::Internal::Type::BaseModel
273
+ attr_accessor amount: Integer
274
+
275
+ attr_accessor currency: String
276
+
277
+ def initialize: (amount: Integer, currency: String) -> void
278
+
279
+ def to_hash: -> { amount: Integer, currency: String }
280
+ end
281
+ end
282
+
187
283
  type avs =
188
284
  {
189
285
  address: String,
@@ -6,13 +6,13 @@ module Lithic
6
6
  card_token: String,
7
7
  created: Time,
8
8
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
9
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
9
10
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
10
11
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
11
12
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_channel,
12
13
  tokenization_token: String,
13
14
  wallet_decisioning_info: Lithic::WalletDecisioningInfo,
14
15
  device: Lithic::Device,
15
- digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
16
16
  rule_results: ::Array[Lithic::TokenizationRuleResult],
17
17
  tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
18
18
  tokenization_source: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -28,6 +28,8 @@ module Lithic
28
28
 
29
29
  attr_accessor customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?
30
30
 
31
+ attr_accessor digital_wallet_token_metadata: Lithic::TokenMetadata
32
+
31
33
  attr_accessor event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type
32
34
 
33
35
  attr_accessor issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision
@@ -42,12 +44,6 @@ module Lithic
42
44
 
43
45
  def device=: (Lithic::Device) -> Lithic::Device
44
46
 
45
- attr_reader digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata?
46
-
47
- def digital_wallet_token_metadata=: (
48
- Lithic::DigitalWalletTokenMetadata
49
- ) -> Lithic::DigitalWalletTokenMetadata
50
-
51
47
  attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
52
48
 
53
49
  def rule_results=: (
@@ -77,13 +73,13 @@ module Lithic
77
73
  card_token: String,
78
74
  created: Time,
79
75
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
76
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
80
77
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
81
78
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
82
79
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_channel,
83
80
  tokenization_token: String,
84
81
  wallet_decisioning_info: Lithic::WalletDecisioningInfo,
85
82
  ?device: Lithic::Device,
86
- ?digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
87
83
  ?rule_results: ::Array[Lithic::TokenizationRuleResult],
88
84
  ?tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
89
85
  ?tokenization_source: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -95,13 +91,13 @@ module Lithic
95
91
  card_token: String,
96
92
  created: Time,
97
93
  customer_tokenization_decision: Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent::CustomerTokenizationDecision?,
94
+ digital_wallet_token_metadata: Lithic::TokenMetadata,
98
95
  event_type: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::event_type,
99
96
  issuer_decision: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::issuer_decision,
100
97
  tokenization_channel: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_channel,
101
98
  tokenization_token: String,
102
99
  wallet_decisioning_info: Lithic::WalletDecisioningInfo,
103
100
  device: Lithic::Device,
104
- digital_wallet_token_metadata: Lithic::DigitalWalletTokenMetadata,
105
101
  rule_results: ::Array[Lithic::TokenizationRuleResult],
106
102
  tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
107
103
  tokenization_source: Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent::tokenization_source,
@@ -142,6 +142,7 @@ module Lithic
142
142
  | :END_USER_REQUEST
143
143
  | :BANK_REQUEST
144
144
  | :DELINQUENT
145
+ | :INTEREST_AND_FEES_PAUSED
145
146
 
146
147
  module Substatus
147
148
  extend Lithic::Internal::Type::Enum
@@ -151,6 +152,7 @@ module Lithic
151
152
  END_USER_REQUEST: :END_USER_REQUEST
152
153
  BANK_REQUEST: :BANK_REQUEST
153
154
  DELINQUENT: :DELINQUENT
155
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
154
156
 
155
157
  def self?.values: -> ::Array[Lithic::Models::FinancialAccount::substatus]
156
158
  end
@@ -52,6 +52,7 @@ module Lithic
52
52
  | :END_USER_REQUEST
53
53
  | :BANK_REQUEST
54
54
  | :CHARGED_OFF_DELINQUENT
55
+ | :INTEREST_AND_FEES_PAUSED
55
56
 
56
57
  module Substatus
57
58
  extend Lithic::Internal::Type::Enum
@@ -60,6 +61,7 @@ module Lithic
60
61
  END_USER_REQUEST: :END_USER_REQUEST
61
62
  BANK_REQUEST: :BANK_REQUEST
62
63
  CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
64
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
63
65
 
64
66
  def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::substatus]
65
67
  end
@@ -0,0 +1,21 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type category_tier = { cap_rate: String, rate: String }
5
+
6
+ class CategoryTier < Lithic::Internal::Type::BaseModel
7
+ attr_reader cap_rate: String?
8
+
9
+ def cap_rate=: (String) -> String
10
+
11
+ attr_reader rate: String?
12
+
13
+ def rate=: (String) -> String
14
+
15
+ def initialize: (?cap_rate: String, ?rate: String) -> void
16
+
17
+ def to_hash: -> { cap_rate: String, rate: String }
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,41 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type financial_accounts_interest_tier_schedule =
5
+ {
6
+ credit_product_token: String,
7
+ effective_date: Date,
8
+ tier_name: String,
9
+ tier_rates: top
10
+ }
11
+
12
+ class FinancialAccountsInterestTierSchedule < Lithic::Internal::Type::BaseModel
13
+ attr_accessor credit_product_token: String
14
+
15
+ attr_accessor effective_date: Date
16
+
17
+ attr_reader tier_name: String?
18
+
19
+ def tier_name=: (String) -> String
20
+
21
+ attr_reader tier_rates: top?
22
+
23
+ def tier_rates=: (top) -> top
24
+
25
+ def initialize: (
26
+ credit_product_token: String,
27
+ effective_date: Date,
28
+ ?tier_name: String,
29
+ ?tier_rates: top
30
+ ) -> void
31
+
32
+ def to_hash: -> {
33
+ credit_product_token: String,
34
+ effective_date: Date,
35
+ tier_name: String,
36
+ tier_rates: top
37
+ }
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,17 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_create_params =
5
+ { } & Lithic::Internal::Type::request_parameters
6
+
7
+ class InterestTierScheduleCreateParams < Lithic::Models::FinancialAccounts::FinancialAccountsInterestTierSchedule
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ def initialize: (?request_options: Lithic::request_opts) -> void
12
+
13
+ def to_hash: -> { request_options: Lithic::RequestOptions }
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,26 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_delete_params =
5
+ { financial_account_token: String }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleDeleteParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ def initialize: (
15
+ financial_account_token: String,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ financial_account_token: String,
21
+ request_options: Lithic::RequestOptions
22
+ }
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,40 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_list_params =
5
+ { after_date: Date, before_date: Date, for_date: Date }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleListParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_reader after_date: Date?
13
+
14
+ def after_date=: (Date) -> Date
15
+
16
+ attr_reader before_date: Date?
17
+
18
+ def before_date=: (Date) -> Date
19
+
20
+ attr_reader for_date: Date?
21
+
22
+ def for_date=: (Date) -> Date
23
+
24
+ def initialize: (
25
+ ?after_date: Date,
26
+ ?before_date: Date,
27
+ ?for_date: Date,
28
+ ?request_options: Lithic::request_opts
29
+ ) -> void
30
+
31
+ def to_hash: -> {
32
+ after_date: Date,
33
+ before_date: Date,
34
+ for_date: Date,
35
+ request_options: Lithic::RequestOptions
36
+ }
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,26 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_retrieve_params =
5
+ { financial_account_token: String }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleRetrieveParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ def initialize: (
15
+ financial_account_token: String,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> {
20
+ financial_account_token: String,
21
+ request_options: Lithic::RequestOptions
22
+ }
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,38 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type interest_tier_schedule_update_params =
5
+ { financial_account_token: String, tier_name: String, tier_rates: top }
6
+ & Lithic::Internal::Type::request_parameters
7
+
8
+ class InterestTierScheduleUpdateParams < Lithic::Internal::Type::BaseModel
9
+ extend Lithic::Internal::Type::RequestParameters::Converter
10
+ include Lithic::Internal::Type::RequestParameters
11
+
12
+ attr_accessor financial_account_token: String
13
+
14
+ attr_reader tier_name: String?
15
+
16
+ def tier_name=: (String) -> String
17
+
18
+ attr_reader tier_rates: top?
19
+
20
+ def tier_rates=: (top) -> top
21
+
22
+ def initialize: (
23
+ financial_account_token: String,
24
+ ?tier_name: String,
25
+ ?tier_rates: top,
26
+ ?request_options: Lithic::request_opts
27
+ ) -> void
28
+
29
+ def to_hash: -> {
30
+ financial_account_token: String,
31
+ tier_name: String,
32
+ tier_rates: top,
33
+ request_options: Lithic::RequestOptions
34
+ }
35
+ end
36
+ end
37
+ end
38
+ end
@@ -213,6 +213,7 @@ module Lithic
213
213
  | :END_USER_REQUEST
214
214
  | :BANK_REQUEST
215
215
  | :DELINQUENT
216
+ | :INTEREST_AND_FEES_PAUSED
216
217
 
217
218
  module Substatus
218
219
  extend Lithic::Internal::Type::Enum
@@ -222,6 +223,7 @@ module Lithic
222
223
  END_USER_REQUEST: :END_USER_REQUEST
223
224
  BANK_REQUEST: :BANK_REQUEST
224
225
  DELINQUENT: :DELINQUENT
226
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
225
227
 
226
228
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus]
227
229
  end
@@ -0,0 +1,60 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type financial_accounts_loan_tape_configuration =
5
+ {
6
+ created_at: Time,
7
+ financial_account_token: String,
8
+ instance_token: String,
9
+ updated_at: Time,
10
+ credit_product_token: String,
11
+ loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
12
+ tier_schedule_changed_at: Time
13
+ }
14
+
15
+ class FinancialAccountsLoanTapeConfiguration < Lithic::Internal::Type::BaseModel
16
+ attr_accessor created_at: Time
17
+
18
+ attr_accessor financial_account_token: String
19
+
20
+ attr_accessor instance_token: String
21
+
22
+ attr_accessor updated_at: Time
23
+
24
+ attr_reader credit_product_token: String?
25
+
26
+ def credit_product_token=: (String) -> String
27
+
28
+ attr_reader loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration?
29
+
30
+ def loan_tape_rebuild_configuration=: (
31
+ Lithic::FinancialAccounts::LoanTapeRebuildConfiguration
32
+ ) -> Lithic::FinancialAccounts::LoanTapeRebuildConfiguration
33
+
34
+ attr_reader tier_schedule_changed_at: Time?
35
+
36
+ def tier_schedule_changed_at=: (Time) -> Time
37
+
38
+ def initialize: (
39
+ created_at: Time,
40
+ financial_account_token: String,
41
+ instance_token: String,
42
+ updated_at: Time,
43
+ ?credit_product_token: String,
44
+ ?loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
45
+ ?tier_schedule_changed_at: Time
46
+ ) -> void
47
+
48
+ def to_hash: -> {
49
+ created_at: Time,
50
+ financial_account_token: String,
51
+ instance_token: String,
52
+ updated_at: Time,
53
+ credit_product_token: String,
54
+ loan_tape_rebuild_configuration: Lithic::FinancialAccounts::LoanTapeRebuildConfiguration,
55
+ tier_schedule_changed_at: Time
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,17 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type loan_tape_configuration_retrieve_params =
5
+ { } & Lithic::Internal::Type::request_parameters
6
+
7
+ class LoanTapeConfigurationRetrieveParams < Lithic::Internal::Type::BaseModel
8
+ extend Lithic::Internal::Type::RequestParameters::Converter
9
+ include Lithic::Internal::Type::RequestParameters
10
+
11
+ def initialize: (?request_options: Lithic::request_opts) -> void
12
+
13
+ def to_hash: -> { request_options: Lithic::RequestOptions }
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,32 @@
1
+ module Lithic
2
+ module Models
3
+ module FinancialAccounts
4
+ type loan_tape_rebuild_configuration =
5
+ { rebuild_needed: bool, last_rebuild: Date, rebuild_from: Date }
6
+
7
+ class LoanTapeRebuildConfiguration < Lithic::Internal::Type::BaseModel
8
+ attr_accessor rebuild_needed: bool
9
+
10
+ attr_reader last_rebuild: Date?
11
+
12
+ def last_rebuild=: (Date) -> Date
13
+
14
+ attr_reader rebuild_from: Date?
15
+
16
+ def rebuild_from=: (Date) -> Date
17
+
18
+ def initialize: (
19
+ rebuild_needed: bool,
20
+ ?last_rebuild: Date,
21
+ ?rebuild_from: Date
22
+ ) -> void
23
+
24
+ def to_hash: -> {
25
+ rebuild_needed: bool,
26
+ last_rebuild: Date,
27
+ rebuild_from: Date
28
+ }
29
+ end
30
+ end
31
+ end
32
+ end
@@ -217,6 +217,7 @@ module Lithic
217
217
  | :END_USER_REQUEST
218
218
  | :BANK_REQUEST
219
219
  | :DELINQUENT
220
+ | :INTEREST_AND_FEES_PAUSED
220
221
 
221
222
  module Substatus
222
223
  extend Lithic::Internal::Type::Enum
@@ -226,6 +227,7 @@ module Lithic
226
227
  END_USER_REQUEST: :END_USER_REQUEST
227
228
  BANK_REQUEST: :BANK_REQUEST
228
229
  DELINQUENT: :DELINQUENT
230
+ INTEREST_AND_FEES_PAUSED: :INTEREST_AND_FEES_PAUSED
229
231
 
230
232
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::substatus]
231
233
  end
@@ -11,6 +11,7 @@ module Lithic
11
11
  beneficial_owner_entities: ::Array[Lithic::KYB::BeneficialOwnerEntity],
12
12
  external_id: String,
13
13
  kyb_passed_timestamp: String,
14
+ naics_code: String,
14
15
  website_url: String
15
16
  }
16
17
 
@@ -41,6 +42,10 @@ module Lithic
41
42
 
42
43
  def kyb_passed_timestamp=: (String) -> String
43
44
 
45
+ attr_reader naics_code: String?
46
+
47
+ def naics_code=: (String) -> String
48
+
44
49
  attr_reader website_url: String?
45
50
 
46
51
  def website_url=: (String) -> String
@@ -55,6 +60,7 @@ module Lithic
55
60
  ?beneficial_owner_entities: ::Array[Lithic::KYB::BeneficialOwnerEntity],
56
61
  ?external_id: String,
57
62
  ?kyb_passed_timestamp: String,
63
+ ?naics_code: String,
58
64
  ?website_url: String
59
65
  ) -> void
60
66
 
@@ -68,6 +74,7 @@ module Lithic
68
74
  beneficial_owner_entities: ::Array[Lithic::KYB::BeneficialOwnerEntity],
69
75
  external_id: String,
70
76
  kyb_passed_timestamp: String,
77
+ naics_code: String,
71
78
  website_url: String
72
79
  }
73
80