lithic 0.18.1 → 0.20.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 (174) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +66 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account_activity_list_params.rb +2 -0
  6. data/lib/lithic/models/account_activity_list_response.rb +2 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
  8. data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +1 -0
  9. data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
  10. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -0
  11. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +2 -0
  12. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
  13. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +1 -1
  14. data/lib/lithic/models/blockchain_recipient.rb +148 -0
  15. data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
  16. data/lib/lithic/models/book_transfer_create_params.rb +4 -0
  17. data/lib/lithic/models/book_transfer_list_params.rb +1 -0
  18. data/lib/lithic/models/book_transfer_response.rb +4 -0
  19. data/lib/lithic/models/card.rb +2 -2
  20. data/lib/lithic/models/card_provision_params.rb +10 -8
  21. data/lib/lithic/models/card_reassign_account_params.rb +29 -0
  22. data/lib/lithic/models/dispute_v2.rb +178 -130
  23. data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
  24. data/lib/lithic/models/embed_session_generated_webhook_event.rb +83 -0
  25. data/lib/lithic/models/embed_viewed_webhook_event.rb +85 -0
  26. data/lib/lithic/models/event.rb +44 -12
  27. data/lib/lithic/models/event_list_params.rb +23 -6
  28. data/lib/lithic/models/event_subscription.rb +23 -6
  29. data/lib/lithic/models/events/subscription_create_params.rb +23 -6
  30. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  31. data/lib/lithic/models/events/subscription_update_params.rb +23 -6
  32. data/lib/lithic/models/external_payment_list_params.rb +3 -3
  33. data/lib/lithic/models/financial_account.rb +14 -1
  34. data/lib/lithic/models/financial_accounts/balance_list_params.rb +4 -3
  35. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
  36. data/lib/lithic/models/financial_event.rb +8 -0
  37. data/lib/lithic/models/fraud/transaction_report_response.rb +8 -8
  38. data/lib/lithic/models/fraud/transaction_retrieve_response.rb +10 -8
  39. data/lib/lithic/models/parsed_webhook_event.rb +5 -1
  40. data/lib/lithic/models/payment.rb +91 -6
  41. data/lib/lithic/models/payment_list_params.rb +1 -0
  42. data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
  43. data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
  44. data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
  45. data/lib/lithic/models/transaction_monitoring/case_update_params.rb +5 -11
  46. data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +5 -11
  47. data/lib/lithic/models/transaction_monitoring/queue.rb +10 -1
  48. data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +14 -1
  49. data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +15 -1
  50. data/lib/lithic/models/transaction_simulate_clearing_params.rb +4 -3
  51. data/lib/lithic/models.rb +10 -0
  52. data/lib/lithic/resources/blockchain_recipients.rb +57 -0
  53. data/lib/lithic/resources/card_authorizations.rb +1 -1
  54. data/lib/lithic/resources/cards.rb +34 -2
  55. data/lib/lithic/resources/disputes_v2.rb +3 -1
  56. data/lib/lithic/resources/external_payments.rb +1 -1
  57. data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
  58. data/lib/lithic/resources/tokenizations.rb +1 -1
  59. data/lib/lithic/resources/transaction_monitoring/cases.rb +2 -2
  60. data/lib/lithic/resources/transaction_monitoring/queues.rb +12 -2
  61. data/lib/lithic/resources/transactions.rb +4 -3
  62. data/lib/lithic/resources/webhooks.rb +1 -1
  63. data/lib/lithic/version.rb +1 -1
  64. data/lib/lithic.rb +6 -1
  65. data/rbi/lithic/client.rbi +3 -0
  66. data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
  67. data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
  68. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
  69. data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +5 -0
  70. data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
  71. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +8 -0
  72. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +10 -0
  73. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
  74. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +2 -2
  75. data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
  76. data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
  77. data/rbi/lithic/models/book_transfer_create_params.rbi +20 -0
  78. data/rbi/lithic/models/book_transfer_list_params.rbi +5 -0
  79. data/rbi/lithic/models/book_transfer_response.rbi +20 -0
  80. data/rbi/lithic/models/card.rbi +2 -2
  81. data/rbi/lithic/models/card_provision_params.rbi +16 -12
  82. data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
  83. data/rbi/lithic/models/dispute_v2.rbi +285 -181
  84. data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -0
  85. data/rbi/lithic/models/embed_session_generated_webhook_event.rbi +157 -0
  86. data/rbi/lithic/models/embed_viewed_webhook_event.rbi +146 -0
  87. data/rbi/lithic/models/event.rbi +70 -18
  88. data/rbi/lithic/models/event_list_params.rbi +31 -6
  89. data/rbi/lithic/models/event_subscription.rbi +31 -6
  90. data/rbi/lithic/models/events/subscription_create_params.rbi +31 -6
  91. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  92. data/rbi/lithic/models/events/subscription_update_params.rbi +31 -6
  93. data/rbi/lithic/models/external_payment_list_params.rbi +3 -3
  94. data/rbi/lithic/models/financial_account.rbi +12 -0
  95. data/rbi/lithic/models/financial_accounts/balance_list_params.rbi +8 -6
  96. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
  97. data/rbi/lithic/models/financial_event.rbi +34 -0
  98. data/rbi/lithic/models/fraud/transaction_report_response.rbi +16 -29
  99. data/rbi/lithic/models/fraud/transaction_retrieve_response.rbi +16 -29
  100. data/rbi/lithic/models/parsed_webhook_event.rbi +2 -0
  101. data/rbi/lithic/models/payment.rbi +147 -4
  102. data/rbi/lithic/models/payment_list_params.rbi +2 -0
  103. data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
  104. data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
  105. data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
  106. data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +8 -33
  107. data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +7 -31
  108. data/rbi/lithic/models/transaction_monitoring/queue.rbi +10 -0
  109. data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +12 -0
  110. data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +14 -0
  111. data/rbi/lithic/models/transaction_simulate_clearing_params.rbi +8 -6
  112. data/rbi/lithic/models.rbi +12 -0
  113. data/rbi/lithic/resources/blockchain_recipients.rbi +51 -0
  114. data/rbi/lithic/resources/card_authorizations.rbi +1 -1
  115. data/rbi/lithic/resources/cards.rbi +30 -6
  116. data/rbi/lithic/resources/disputes_v2.rbi +4 -0
  117. data/rbi/lithic/resources/external_payments.rbi +1 -1
  118. data/rbi/lithic/resources/financial_accounts/balances.rbi +4 -3
  119. data/rbi/lithic/resources/three_ds/decisioning.rbi +1 -1
  120. data/rbi/lithic/resources/tokenizations.rbi +1 -1
  121. data/rbi/lithic/resources/transaction_monitoring/cases.rbi +6 -11
  122. data/rbi/lithic/resources/transaction_monitoring/queues.rbi +11 -0
  123. data/rbi/lithic/resources/transactions.rbi +8 -6
  124. data/rbi/lithic/resources/webhooks.rbi +2 -0
  125. data/sig/lithic/client.rbs +2 -0
  126. data/sig/lithic/models/account_activity_list_params.rbs +4 -0
  127. data/sig/lithic/models/account_activity_list_response.rbs +4 -0
  128. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
  129. data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +2 -1
  130. data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
  131. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +2 -0
  132. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +4 -2
  133. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
  134. data/sig/lithic/models/blockchain_recipient.rbs +106 -0
  135. data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -0
  136. data/sig/lithic/models/book_transfer_create_params.rbs +8 -0
  137. data/sig/lithic/models/book_transfer_list_params.rbs +2 -0
  138. data/sig/lithic/models/book_transfer_response.rbs +8 -0
  139. data/sig/lithic/models/card_reassign_account_params.rbs +28 -0
  140. data/sig/lithic/models/dispute_v2.rbs +145 -101
  141. data/sig/lithic/models/disputes_v2_list_params.rbs +7 -0
  142. data/sig/lithic/models/embed_session_generated_webhook_event.rbs +66 -0
  143. data/sig/lithic/models/embed_viewed_webhook_event.rbs +68 -0
  144. data/sig/lithic/models/event.rbs +4 -0
  145. data/sig/lithic/models/event_list_params.rbs +4 -0
  146. data/sig/lithic/models/event_subscription.rbs +4 -0
  147. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  148. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  149. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  150. data/sig/lithic/models/financial_account.rbs +5 -0
  151. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
  152. data/sig/lithic/models/financial_event.rbs +16 -0
  153. data/sig/lithic/models/fraud/transaction_report_response.rbs +16 -26
  154. data/sig/lithic/models/fraud/transaction_retrieve_response.rbs +16 -26
  155. data/sig/lithic/models/parsed_webhook_event.rbs +2 -0
  156. data/sig/lithic/models/payment.rbs +46 -1
  157. data/sig/lithic/models/payment_list_params.rbs +2 -1
  158. data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
  159. data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +5 -7
  160. data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +4 -4
  161. data/sig/lithic/models/transaction_monitoring/queue.rbs +5 -0
  162. data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +9 -1
  163. data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +10 -1
  164. data/sig/lithic/models.rbs +10 -0
  165. data/sig/lithic/resources/blockchain_recipients.rbs +18 -0
  166. data/sig/lithic/resources/cards.rbs +6 -0
  167. data/sig/lithic/resources/disputes_v2.rbs +1 -0
  168. data/sig/lithic/resources/transaction_monitoring/cases.rbs +1 -1
  169. data/sig/lithic/resources/transaction_monitoring/queues.rbs +2 -0
  170. data/sig/lithic/resources/webhooks.rbs +2 -0
  171. metadata +20 -5
  172. data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +0 -28
  173. data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +0 -61
  174. data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +0 -24
@@ -84,6 +84,8 @@ module Lithic
84
84
  | :"dispute_transaction.created"
85
85
  | :"dispute_transaction.updated"
86
86
  | :"dispute.updated"
87
+ | :"embed.session_generated"
88
+ | :"embed.viewed"
87
89
  | :"external_bank_account.created"
88
90
  | :"external_bank_account.updated"
89
91
  | :"external_payment.created"
@@ -147,6 +149,8 @@ module Lithic
147
149
  DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
148
150
  DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
149
151
  DISPUTE_UPDATED: :"dispute.updated"
152
+ EMBED_SESSION_GENERATED: :"embed.session_generated"
153
+ EMBED_VIEWED: :"embed.viewed"
150
154
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
151
155
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
152
156
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -14,6 +14,7 @@ module Lithic
14
14
  updated: Time,
15
15
  user_defined_status: String?,
16
16
  account_number: String?,
17
+ blockchain_addresses: ::Hash[Symbol, String]?,
17
18
  routing_number: String?
18
19
  }
19
20
 
@@ -42,6 +43,8 @@ module Lithic
42
43
 
43
44
  attr_accessor account_number: String?
44
45
 
46
+ attr_accessor blockchain_addresses: ::Hash[Symbol, String]?
47
+
45
48
  attr_accessor routing_number: String?
46
49
 
47
50
  def initialize: (
@@ -57,6 +60,7 @@ module Lithic
57
60
  updated: Time,
58
61
  user_defined_status: String?,
59
62
  ?account_number: String?,
63
+ ?blockchain_addresses: ::Hash[Symbol, String]?,
60
64
  ?routing_number: String?
61
65
  ) -> void
62
66
 
@@ -73,6 +77,7 @@ module Lithic
73
77
  updated: Time,
74
78
  user_defined_status: String?,
75
79
  account_number: String?,
80
+ blockchain_addresses: ::Hash[Symbol, String]?,
76
81
  routing_number: String?
77
82
  }
78
83
 
@@ -111,6 +111,7 @@ module Lithic
111
111
  type category =
112
112
  :ACH
113
113
  | :WIRE
114
+ | :STABLECOIN
114
115
  | :BALANCE_OR_FUNDING
115
116
  | :FEE
116
117
  | :REWARD
@@ -131,12 +132,14 @@ module Lithic
131
132
  | :MANAGEMENT_DISBURSEMENT
132
133
  | :HOLD
133
134
  | :PROGRAM_FUNDING
135
+ | :PROGRAM_TRANSFER
134
136
 
135
137
  module Category
136
138
  extend Lithic::Internal::Type::Enum
137
139
 
138
140
  ACH: :ACH
139
141
  WIRE: :WIRE
142
+ STABLECOIN: :STABLECOIN
140
143
  BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
141
144
  FEE: :FEE
142
145
  REWARD: :REWARD
@@ -157,6 +160,7 @@ module Lithic
157
160
  MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
158
161
  HOLD: :HOLD
159
162
  PROGRAM_FUNDING: :PROGRAM_FUNDING
163
+ PROGRAM_TRANSFER: :PROGRAM_TRANSFER
160
164
 
161
165
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::category]
162
166
  end
@@ -243,6 +247,8 @@ module Lithic
243
247
  | :RETURNED_PAYMENT
244
248
  | :RETURNED_PAYMENT_REVERSAL
245
249
  | :LITHIC_NETWORK_PAYMENT
250
+ | :LITHIC_PROGRAM_TRANSFER
251
+ | :BANK_PROGRAM_TRANSFER
246
252
  | :ANNUAL
247
253
  | :ANNUAL_REVERSAL
248
254
  | :QUARTERLY
@@ -250,6 +256,12 @@ module Lithic
250
256
  | :MONTHLY
251
257
  | :MONTHLY_REVERSAL
252
258
  | :ACCOUNT_TO_ACCOUNT
259
+ | :STABLECOIN_RECEIVED
260
+ | :STABLECOIN_INITIATED
261
+ | :STABLECOIN_REVIEWED
262
+ | :STABLECOIN_SENT
263
+ | :STABLECOIN_SETTLED
264
+ | :STABLECOIN_REJECTED
253
265
 
254
266
  module EventType
255
267
  extend Lithic::Internal::Type::Enum
@@ -335,6 +347,8 @@ module Lithic
335
347
  RETURNED_PAYMENT: :RETURNED_PAYMENT
336
348
  RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
337
349
  LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
350
+ LITHIC_PROGRAM_TRANSFER: :LITHIC_PROGRAM_TRANSFER
351
+ BANK_PROGRAM_TRANSFER: :BANK_PROGRAM_TRANSFER
338
352
  ANNUAL: :ANNUAL
339
353
  ANNUAL_REVERSAL: :ANNUAL_REVERSAL
340
354
  QUARTERLY: :QUARTERLY
@@ -342,6 +356,12 @@ module Lithic
342
356
  MONTHLY: :MONTHLY
343
357
  MONTHLY_REVERSAL: :MONTHLY_REVERSAL
344
358
  ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
359
+ STABLECOIN_RECEIVED: :STABLECOIN_RECEIVED
360
+ STABLECOIN_INITIATED: :STABLECOIN_INITIATED
361
+ STABLECOIN_REVIEWED: :STABLECOIN_REVIEWED
362
+ STABLECOIN_SENT: :STABLECOIN_SENT
363
+ STABLECOIN_SETTLED: :STABLECOIN_SETTLED
364
+ STABLECOIN_REJECTED: :STABLECOIN_REJECTED
345
365
 
346
366
  def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::event_type]
347
367
  end
@@ -143,6 +143,8 @@ module Lithic
143
143
  | :RETURNED_PAYMENT
144
144
  | :RETURNED_PAYMENT_REVERSAL
145
145
  | :LITHIC_NETWORK_PAYMENT
146
+ | :LITHIC_PROGRAM_TRANSFER
147
+ | :BANK_PROGRAM_TRANSFER
146
148
  | :ANNUAL
147
149
  | :ANNUAL_REVERSAL
148
150
  | :QUARTERLY
@@ -150,6 +152,12 @@ module Lithic
150
152
  | :MONTHLY
151
153
  | :MONTHLY_REVERSAL
152
154
  | :ACCOUNT_TO_ACCOUNT
155
+ | :STABLECOIN_RECEIVED
156
+ | :STABLECOIN_INITIATED
157
+ | :STABLECOIN_REVIEWED
158
+ | :STABLECOIN_SENT
159
+ | :STABLECOIN_SETTLED
160
+ | :STABLECOIN_REJECTED
153
161
 
154
162
  module Type
155
163
  extend Lithic::Internal::Type::Enum
@@ -235,6 +243,8 @@ module Lithic
235
243
  RETURNED_PAYMENT: :RETURNED_PAYMENT
236
244
  RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
237
245
  LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
246
+ LITHIC_PROGRAM_TRANSFER: :LITHIC_PROGRAM_TRANSFER
247
+ BANK_PROGRAM_TRANSFER: :BANK_PROGRAM_TRANSFER
238
248
  ANNUAL: :ANNUAL
239
249
  ANNUAL_REVERSAL: :ANNUAL_REVERSAL
240
250
  QUARTERLY: :QUARTERLY
@@ -242,6 +252,12 @@ module Lithic
242
252
  MONTHLY: :MONTHLY
243
253
  MONTHLY_REVERSAL: :MONTHLY_REVERSAL
244
254
  ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
255
+ STABLECOIN_RECEIVED: :STABLECOIN_RECEIVED
256
+ STABLECOIN_INITIATED: :STABLECOIN_INITIATED
257
+ STABLECOIN_REVIEWED: :STABLECOIN_REVIEWED
258
+ STABLECOIN_SENT: :STABLECOIN_SENT
259
+ STABLECOIN_SETTLED: :STABLECOIN_SETTLED
260
+ STABLECOIN_REJECTED: :STABLECOIN_REJECTED
245
261
 
246
262
  def self?.values: -> ::Array[Lithic::Models::FinancialEvent::type_]
247
263
  end
@@ -5,10 +5,10 @@ module Lithic
5
5
  {
6
6
  fraud_status: Lithic::Models::Fraud::TransactionReportResponse::fraud_status,
7
7
  transaction_token: String,
8
- comment: String,
9
- created_at: Time,
10
- fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type,
11
- updated_at: Time
8
+ comment: String?,
9
+ created_at: Time?,
10
+ fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type?,
11
+ updated_at: Time?
12
12
  }
13
13
 
14
14
  class TransactionReportResponse < Lithic::Internal::Type::BaseModel
@@ -16,40 +16,30 @@ module Lithic
16
16
 
17
17
  attr_accessor transaction_token: String
18
18
 
19
- attr_reader comment: String?
19
+ attr_accessor comment: String?
20
20
 
21
- def comment=: (String) -> String
21
+ attr_accessor created_at: Time?
22
22
 
23
- attr_reader created_at: Time?
23
+ attr_accessor fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type?
24
24
 
25
- def created_at=: (Time) -> Time
26
-
27
- attr_reader fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type?
28
-
29
- def fraud_type=: (
30
- Lithic::Models::Fraud::TransactionReportResponse::fraud_type
31
- ) -> Lithic::Models::Fraud::TransactionReportResponse::fraud_type
32
-
33
- attr_reader updated_at: Time?
34
-
35
- def updated_at=: (Time) -> Time
25
+ attr_accessor updated_at: Time?
36
26
 
37
27
  def initialize: (
38
28
  fraud_status: Lithic::Models::Fraud::TransactionReportResponse::fraud_status,
39
29
  transaction_token: String,
40
- ?comment: String,
41
- ?created_at: Time,
42
- ?fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type,
43
- ?updated_at: Time
30
+ ?comment: String?,
31
+ ?created_at: Time?,
32
+ ?fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type?,
33
+ ?updated_at: Time?
44
34
  ) -> void
45
35
 
46
36
  def to_hash: -> {
47
37
  fraud_status: Lithic::Models::Fraud::TransactionReportResponse::fraud_status,
48
38
  transaction_token: String,
49
- comment: String,
50
- created_at: Time,
51
- fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type,
52
- updated_at: Time
39
+ comment: String?,
40
+ created_at: Time?,
41
+ fraud_type: Lithic::Models::Fraud::TransactionReportResponse::fraud_type?,
42
+ updated_at: Time?
53
43
  }
54
44
 
55
45
  type fraud_status =
@@ -5,10 +5,10 @@ module Lithic
5
5
  {
6
6
  fraud_status: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_status,
7
7
  transaction_token: String,
8
- comment: String,
9
- created_at: Time,
10
- fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type,
11
- updated_at: Time
8
+ comment: String?,
9
+ created_at: Time?,
10
+ fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type?,
11
+ updated_at: Time?
12
12
  }
13
13
 
14
14
  class TransactionRetrieveResponse < Lithic::Internal::Type::BaseModel
@@ -16,40 +16,30 @@ module Lithic
16
16
 
17
17
  attr_accessor transaction_token: String
18
18
 
19
- attr_reader comment: String?
19
+ attr_accessor comment: String?
20
20
 
21
- def comment=: (String) -> String
21
+ attr_accessor created_at: Time?
22
22
 
23
- attr_reader created_at: Time?
23
+ attr_accessor fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type?
24
24
 
25
- def created_at=: (Time) -> Time
26
-
27
- attr_reader fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type?
28
-
29
- def fraud_type=: (
30
- Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type
31
- ) -> Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type
32
-
33
- attr_reader updated_at: Time?
34
-
35
- def updated_at=: (Time) -> Time
25
+ attr_accessor updated_at: Time?
36
26
 
37
27
  def initialize: (
38
28
  fraud_status: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_status,
39
29
  transaction_token: String,
40
- ?comment: String,
41
- ?created_at: Time,
42
- ?fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type,
43
- ?updated_at: Time
30
+ ?comment: String?,
31
+ ?created_at: Time?,
32
+ ?fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type?,
33
+ ?updated_at: Time?
44
34
  ) -> void
45
35
 
46
36
  def to_hash: -> {
47
37
  fraud_status: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_status,
48
38
  transaction_token: String,
49
- comment: String,
50
- created_at: Time,
51
- fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type,
52
- updated_at: Time
39
+ comment: String?,
40
+ created_at: Time?,
41
+ fraud_type: Lithic::Models::Fraud::TransactionRetrieveResponse::fraud_type?,
42
+ updated_at: Time?
53
43
  }
54
44
 
55
45
  type fraud_status =
@@ -35,6 +35,8 @@ module Lithic
35
35
  | Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
36
36
  | Lithic::DisputeUpdatedWebhookEvent
37
37
  | Lithic::DisputeEvidenceUploadFailedWebhookEvent
38
+ | Lithic::EmbedSessionGeneratedWebhookEvent
39
+ | Lithic::EmbedViewedWebhookEvent
38
40
  | Lithic::ExternalBankAccountCreatedWebhookEvent
39
41
  | Lithic::ExternalBankAccountUpdatedWebhookEvent
40
42
  | Lithic::ExternalPaymentCreatedWebhookEvent
@@ -19,6 +19,7 @@ module Lithic
19
19
  source: Lithic::Models::Payment::source,
20
20
  status: Lithic::Models::Payment::status,
21
21
  updated: Time,
22
+ blockchain_recipient_token: String?,
22
23
  currency: String,
23
24
  expected_release_date: Date?,
24
25
  external_bank_account_token: String?,
@@ -62,6 +63,8 @@ module Lithic
62
63
 
63
64
  attr_accessor updated: Time
64
65
 
66
+ attr_accessor blockchain_recipient_token: String?
67
+
65
68
  attr_reader currency: String?
66
69
 
67
70
  def currency=: (String) -> String
@@ -99,6 +102,7 @@ module Lithic
99
102
  source: Lithic::Models::Payment::source,
100
103
  status: Lithic::Models::Payment::status,
101
104
  updated: Time,
105
+ ?blockchain_recipient_token: String?,
102
106
  ?currency: String,
103
107
  ?expected_release_date: Date?,
104
108
  ?external_bank_account_token: String?,
@@ -126,6 +130,7 @@ module Lithic
126
130
  source: Lithic::Models::Payment::source,
127
131
  status: Lithic::Models::Payment::status,
128
132
  updated: Time,
133
+ blockchain_recipient_token: String?,
129
134
  currency: String,
130
135
  expected_release_date: Date?,
131
136
  external_bank_account_token: String?,
@@ -137,6 +142,7 @@ module Lithic
137
142
  type category =
138
143
  :ACH
139
144
  | :WIRE
145
+ | :STABLECOIN
140
146
  | :BALANCE_OR_FUNDING
141
147
  | :FEE
142
148
  | :REWARD
@@ -157,12 +163,14 @@ module Lithic
157
163
  | :MANAGEMENT_DISBURSEMENT
158
164
  | :HOLD
159
165
  | :PROGRAM_FUNDING
166
+ | :PROGRAM_TRANSFER
160
167
 
161
168
  module Category
162
169
  extend Lithic::Internal::Type::Enum
163
170
 
164
171
  ACH: :ACH
165
172
  WIRE: :WIRE
173
+ STABLECOIN: :STABLECOIN
166
174
  BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
167
175
  FEE: :FEE
168
176
  REWARD: :REWARD
@@ -183,6 +191,7 @@ module Lithic
183
191
  MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
184
192
  HOLD: :HOLD
185
193
  PROGRAM_FUNDING: :PROGRAM_FUNDING
194
+ PROGRAM_TRANSFER: :PROGRAM_TRANSFER
186
195
 
187
196
  def self?.values: -> ::Array[Lithic::Models::Payment::category]
188
197
  end
@@ -282,6 +291,12 @@ module Lithic
282
291
  | :WIRE_RETURN_OUTBOUND_SENT
283
292
  | :WIRE_RETURN_OUTBOUND_SETTLED
284
293
  | :WIRE_RETURN_OUTBOUND_REJECTED
294
+ | :STABLECOIN_RECEIVED
295
+ | :STABLECOIN_INITIATED
296
+ | :STABLECOIN_REVIEWED
297
+ | :STABLECOIN_SENT
298
+ | :STABLECOIN_SETTLED
299
+ | :STABLECOIN_REJECTED
285
300
 
286
301
  module Type
287
302
  extend Lithic::Internal::Type::Enum
@@ -308,6 +323,12 @@ module Lithic
308
323
  WIRE_RETURN_OUTBOUND_SENT: :WIRE_RETURN_OUTBOUND_SENT
309
324
  WIRE_RETURN_OUTBOUND_SETTLED: :WIRE_RETURN_OUTBOUND_SETTLED
310
325
  WIRE_RETURN_OUTBOUND_REJECTED: :WIRE_RETURN_OUTBOUND_REJECTED
326
+ STABLECOIN_RECEIVED: :STABLECOIN_RECEIVED
327
+ STABLECOIN_INITIATED: :STABLECOIN_INITIATED
328
+ STABLECOIN_REVIEWED: :STABLECOIN_REVIEWED
329
+ STABLECOIN_SENT: :STABLECOIN_SENT
330
+ STABLECOIN_SETTLED: :STABLECOIN_SETTLED
331
+ STABLECOIN_REJECTED: :STABLECOIN_REJECTED
311
332
 
312
333
  def self?.values: -> ::Array[Lithic::Models::Payment::Event::type_]
313
334
  end
@@ -336,7 +357,7 @@ module Lithic
336
357
  end
337
358
  end
338
359
 
339
- type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY | :WIRE
360
+ type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY | :WIRE | :STABLECOIN
340
361
 
341
362
  module Method
342
363
  extend Lithic::Internal::Type::Enum
@@ -344,6 +365,7 @@ module Lithic
344
365
  ACH_NEXT_DAY: :ACH_NEXT_DAY
345
366
  ACH_SAME_DAY: :ACH_SAME_DAY
346
367
  WIRE: :WIRE
368
+ STABLECOIN: :STABLECOIN
347
369
 
348
370
  def self?.values: -> ::Array[Lithic::Models::Payment::method_]
349
371
  end
@@ -351,6 +373,7 @@ module Lithic
351
373
  type method_attributes =
352
374
  Lithic::Payment::MethodAttributes::ACHMethodAttributes
353
375
  | Lithic::Payment::MethodAttributes::WireMethodAttributes
376
+ | Lithic::Payment::MethodAttributes::StablecoinMethodAttributes
354
377
 
355
378
  module MethodAttributes
356
379
  extend Lithic::Internal::Type::Union
@@ -363,6 +386,7 @@ module Lithic
363
386
  company_id: String?,
364
387
  override_company_name: String?,
365
388
  receipt_routing_number: String?,
389
+ recipient_name: String?,
366
390
  retries: Integer?,
367
391
  return_reason_code: String?,
368
392
  trace_numbers: ::Array[String]
@@ -381,6 +405,8 @@ module Lithic
381
405
 
382
406
  attr_accessor receipt_routing_number: String?
383
407
 
408
+ attr_accessor recipient_name: String?
409
+
384
410
  attr_accessor retries: Integer?
385
411
 
386
412
  attr_accessor return_reason_code: String?
@@ -396,6 +422,7 @@ module Lithic
396
422
  ?company_id: String?,
397
423
  ?override_company_name: String?,
398
424
  ?receipt_routing_number: String?,
425
+ ?recipient_name: String?,
399
426
  ?retries: Integer?,
400
427
  ?return_reason_code: String?,
401
428
  ?trace_numbers: ::Array[String]
@@ -408,6 +435,7 @@ module Lithic
408
435
  company_id: String?,
409
436
  override_company_name: String?,
410
437
  receipt_routing_number: String?,
438
+ recipient_name: String?,
411
439
  retries: Integer?,
412
440
  return_reason_code: String?,
413
441
  trace_numbers: ::Array[String]
@@ -486,6 +514,19 @@ module Lithic
486
514
  end
487
515
  end
488
516
 
517
+ type stablecoin_method_attributes =
518
+ { chain: String, transaction_hash: String? }
519
+
520
+ class StablecoinMethodAttributes < Lithic::Internal::Type::BaseModel
521
+ attr_accessor chain: String
522
+
523
+ attr_accessor transaction_hash: String?
524
+
525
+ def initialize: (chain: String, ?transaction_hash: String?) -> void
526
+
527
+ def to_hash: -> { chain: String, transaction_hash: String? }
528
+ end
529
+
489
530
  def self?.variants: -> ::Array[Lithic::Models::Payment::method_attributes]
490
531
  end
491
532
 
@@ -557,6 +598,8 @@ module Lithic
557
598
  | :WIRE_OUTBOUND_PAYMENT
558
599
  | :WIRE_OUTBOUND_ADMIN
559
600
  | :WIRE_INBOUND_DRAWDOWN_REQUEST
601
+ | :STABLECOIN_INBOUND
602
+ | :STABLECOIN_OUTBOUND
560
603
 
561
604
  module Type
562
605
  extend Lithic::Internal::Type::Enum
@@ -570,6 +613,8 @@ module Lithic
570
613
  WIRE_OUTBOUND_PAYMENT: :WIRE_OUTBOUND_PAYMENT
571
614
  WIRE_OUTBOUND_ADMIN: :WIRE_OUTBOUND_ADMIN
572
615
  WIRE_INBOUND_DRAWDOWN_REQUEST: :WIRE_INBOUND_DRAWDOWN_REQUEST
616
+ STABLECOIN_INBOUND: :STABLECOIN_INBOUND
617
+ STABLECOIN_OUTBOUND: :STABLECOIN_OUTBOUND
573
618
 
574
619
  def self?.values: -> ::Array[Lithic::Models::Payment::type_]
575
620
  end
@@ -121,7 +121,7 @@ module Lithic
121
121
  def self?.values: -> ::Array[Lithic::Models::PaymentListParams::result]
122
122
  end
123
123
 
124
- type status = :DECLINED | :PENDING | :RETURNED | :SETTLED
124
+ type status = :DECLINED | :PENDING | :RETURNED | :REVERSED | :SETTLED
125
125
 
126
126
  module Status
127
127
  extend Lithic::Internal::Type::Enum
@@ -129,6 +129,7 @@ module Lithic
129
129
  DECLINED: :DECLINED
130
130
  PENDING: :PENDING
131
131
  RETURNED: :RETURNED
132
+ REVERSED: :REVERSED
132
133
  SETTLED: :SETTLED
133
134
 
134
135
  def self?.values: -> ::Array[Lithic::Models::PaymentListParams::status]
@@ -3,32 +3,34 @@ module Lithic
3
3
  module TransactionMonitoring
4
4
  type case_entity =
5
5
  {
6
- entity_token: String,
6
+ entity_token: String?,
7
7
  entity_type: Lithic::Models::TransactionMonitoring::CaseEntity::entity_type
8
8
  }
9
9
 
10
10
  class CaseEntity < Lithic::Internal::Type::BaseModel
11
- attr_accessor entity_token: String
11
+ attr_accessor entity_token: String?
12
12
 
13
13
  attr_accessor entity_type: Lithic::Models::TransactionMonitoring::CaseEntity::entity_type
14
14
 
15
15
  def initialize: (
16
- entity_token: String,
16
+ entity_token: String?,
17
17
  entity_type: Lithic::Models::TransactionMonitoring::CaseEntity::entity_type
18
18
  ) -> void
19
19
 
20
20
  def to_hash: -> {
21
- entity_token: String,
21
+ entity_token: String?,
22
22
  entity_type: Lithic::Models::TransactionMonitoring::CaseEntity::entity_type
23
23
  }
24
24
 
25
- type entity_type = :CARD | :ACCOUNT
25
+ type entity_type = :CARD | :ACCOUNT | :FINANCIAL_ACCOUNT | :PROGRAM
26
26
 
27
27
  module EntityType
28
28
  extend Lithic::Internal::Type::Enum
29
29
 
30
30
  CARD: :CARD
31
31
  ACCOUNT: :ACCOUNT
32
+ FINANCIAL_ACCOUNT: :FINANCIAL_ACCOUNT
33
+ PROGRAM: :PROGRAM
32
34
 
33
35
  def self?.values: -> ::Array[Lithic::Models::TransactionMonitoring::CaseEntity::entity_type]
34
36
  end
@@ -7,7 +7,7 @@ module Lithic
7
7
  actor_token: String,
8
8
  assignee: String?,
9
9
  priority: Lithic::Models::TransactionMonitoring::case_priority,
10
- resolution: Lithic::Models::TransactionMonitoring::resolution_outcome,
10
+ resolution: String,
11
11
  resolution_notes: String,
12
12
  sla_deadline: Time?,
13
13
  status: Lithic::Models::TransactionMonitoring::case_status,
@@ -34,11 +34,9 @@ module Lithic
34
34
  Lithic::Models::TransactionMonitoring::case_priority
35
35
  ) -> Lithic::Models::TransactionMonitoring::case_priority
36
36
 
37
- attr_reader resolution: Lithic::Models::TransactionMonitoring::resolution_outcome?
37
+ attr_reader resolution: String?
38
38
 
39
- def resolution=: (
40
- Lithic::Models::TransactionMonitoring::resolution_outcome
41
- ) -> Lithic::Models::TransactionMonitoring::resolution_outcome
39
+ def resolution=: (String) -> String
42
40
 
43
41
  attr_reader resolution_notes: String?
44
42
 
@@ -63,7 +61,7 @@ module Lithic
63
61
  ?actor_token: String,
64
62
  ?assignee: String?,
65
63
  ?priority: Lithic::Models::TransactionMonitoring::case_priority,
66
- ?resolution: Lithic::Models::TransactionMonitoring::resolution_outcome,
64
+ ?resolution: String,
67
65
  ?resolution_notes: String,
68
66
  ?sla_deadline: Time?,
69
67
  ?status: Lithic::Models::TransactionMonitoring::case_status,
@@ -77,7 +75,7 @@ module Lithic
77
75
  actor_token: String,
78
76
  assignee: String?,
79
77
  priority: Lithic::Models::TransactionMonitoring::case_priority,
80
- resolution: Lithic::Models::TransactionMonitoring::resolution_outcome,
78
+ resolution: String,
81
79
  resolution_notes: String,
82
80
  sla_deadline: Time?,
83
81
  status: Lithic::Models::TransactionMonitoring::case_status,
@@ -11,7 +11,7 @@ module Lithic
11
11
  pending_transactions: bool,
12
12
  priority: Lithic::Models::TransactionMonitoring::case_priority,
13
13
  queue_token: String,
14
- resolution: Lithic::Models::TransactionMonitoring::resolution_outcome?,
14
+ resolution: String?,
15
15
  resolution_notes: String?,
16
16
  resolved: Time?,
17
17
  rule_token: String?,
@@ -39,7 +39,7 @@ module Lithic
39
39
 
40
40
  attr_accessor queue_token: String
41
41
 
42
- attr_accessor resolution: Lithic::Models::TransactionMonitoring::resolution_outcome?
42
+ attr_accessor resolution: String?
43
43
 
44
44
  attr_accessor resolution_notes: String?
45
45
 
@@ -66,7 +66,7 @@ module Lithic
66
66
  pending_transactions: bool,
67
67
  priority: Lithic::Models::TransactionMonitoring::case_priority,
68
68
  queue_token: String,
69
- resolution: Lithic::Models::TransactionMonitoring::resolution_outcome?,
69
+ resolution: String?,
70
70
  resolution_notes: String?,
71
71
  resolved: Time?,
72
72
  rule_token: String?,
@@ -86,7 +86,7 @@ module Lithic
86
86
  pending_transactions: bool,
87
87
  priority: Lithic::Models::TransactionMonitoring::case_priority,
88
88
  queue_token: String,
89
- resolution: Lithic::Models::TransactionMonitoring::resolution_outcome?,
89
+ resolution: String?,
90
90
  resolution_notes: String?,
91
91
  resolved: Time?,
92
92
  rule_token: String?,
@@ -4,6 +4,7 @@ module Lithic
4
4
  type queue =
5
5
  {
6
6
  token: String,
7
+ allowed_resolutions: ::Array[String],
7
8
  case_counts: Lithic::TransactionMonitoring::Queue::CaseCounts,
8
9
  created: Time,
9
10
  description: String?,
@@ -14,6 +15,8 @@ module Lithic
14
15
  class Queue < Lithic::Internal::Type::BaseModel
15
16
  attr_accessor token: String
16
17
 
18
+ attr_accessor allowed_resolutions: ::Array[String]
19
+
17
20
  attr_accessor case_counts: Lithic::TransactionMonitoring::Queue::CaseCounts
18
21
 
19
22
  attr_accessor created: Time
@@ -26,6 +29,7 @@ module Lithic
26
29
 
27
30
  def initialize: (
28
31
  token: String,
32
+ allowed_resolutions: ::Array[String],
29
33
  case_counts: Lithic::TransactionMonitoring::Queue::CaseCounts,
30
34
  created: Time,
31
35
  description: String?,
@@ -35,6 +39,7 @@ module Lithic
35
39
 
36
40
  def to_hash: -> {
37
41
  token: String,
42
+ allowed_resolutions: ::Array[String],
38
43
  case_counts: Lithic::TransactionMonitoring::Queue::CaseCounts,
39
44
  created: Time,
40
45
  description: String?,