lithic 0.1.0.pre.alpha.52 → 0.1.0.pre.alpha.53

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 (126) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/pooled_net_requester.rb +30 -24
  5. data/lib/lithic/internal/type/union.rb +15 -3
  6. data/lib/lithic/models/account_activity_list_response.rb +47 -1141
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +47 -1151
  8. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +3 -0
  9. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +7 -0
  10. data/lib/lithic/models/auth_rules/conditional_attribute.rb +4 -0
  11. data/lib/lithic/models/auth_rules/v2_apply_response.rb +14 -0
  12. data/lib/lithic/models/auth_rules/v2_create_params.rb +7 -0
  13. data/lib/lithic/models/auth_rules/v2_create_response.rb +14 -0
  14. data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -0
  15. data/lib/lithic/models/auth_rules/v2_draft_response.rb +14 -0
  16. data/lib/lithic/models/auth_rules/v2_list_response.rb +14 -0
  17. data/lib/lithic/models/auth_rules/v2_promote_response.rb +14 -0
  18. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +14 -0
  19. data/lib/lithic/models/auth_rules/v2_update_response.rb +14 -0
  20. data/lib/lithic/models/book_transfer_response.rb +51 -48
  21. data/lib/lithic/models/card_provision_response.rb +25 -3
  22. data/lib/lithic/models/event.rb +0 -1
  23. data/lib/lithic/models/event_list_params.rb +0 -1
  24. data/lib/lithic/models/event_subscription.rb +0 -1
  25. data/lib/lithic/models/events/subscription_create_params.rb +0 -1
  26. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +0 -1
  27. data/lib/lithic/models/events/subscription_update_params.rb +0 -1
  28. data/lib/lithic/models/external_bank_account_create_params.rb +1 -8
  29. data/lib/lithic/models/external_payment.rb +21 -23
  30. data/lib/lithic/models/financial_account.rb +48 -39
  31. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +32 -23
  32. data/lib/lithic/models/management_operation_transaction.rb +21 -23
  33. data/lib/lithic/models/payment.rb +249 -131
  34. data/lib/lithic/models/payment_create_response.rb +2 -0
  35. data/lib/lithic/models/payment_retry_response.rb +2 -0
  36. data/lib/lithic/models/provision_response.rb +30 -0
  37. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +32 -1
  38. data/lib/lithic/models/tokenization.rb +1 -0
  39. data/lib/lithic/models/transaction.rb +4 -0
  40. data/lib/lithic/models/verification_method.rb +0 -1
  41. data/lib/lithic/models.rb +2 -0
  42. data/lib/lithic/resources/account_activity.rb +2 -2
  43. data/lib/lithic/resources/auth_rules/v2.rb +0 -72
  44. data/lib/lithic/resources/external_bank_accounts.rb +1 -3
  45. data/lib/lithic/version.rb +1 -1
  46. data/lib/lithic.rb +1 -2
  47. data/rbi/lithic/models/account_activity_list_response.rbi +153 -2629
  48. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +153 -2629
  49. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +6 -0
  50. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +14 -0
  51. data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +8 -0
  52. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +28 -0
  53. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +14 -0
  54. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +28 -0
  55. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -0
  56. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +28 -0
  57. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +28 -0
  58. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +28 -0
  59. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +28 -0
  60. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +28 -0
  61. data/rbi/lithic/models/book_transfer_response.rbi +67 -68
  62. data/rbi/lithic/models/card_provision_response.rbi +50 -5
  63. data/rbi/lithic/models/event.rbi +0 -5
  64. data/rbi/lithic/models/event_list_params.rbi +0 -5
  65. data/rbi/lithic/models/event_subscription.rbi +0 -5
  66. data/rbi/lithic/models/events/subscription_create_params.rbi +0 -5
  67. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +0 -5
  68. data/rbi/lithic/models/events/subscription_update_params.rbi +0 -5
  69. data/rbi/lithic/models/external_bank_account_create_params.rbi +0 -6
  70. data/rbi/lithic/models/external_payment.rbi +34 -39
  71. data/rbi/lithic/models/financial_account.rbi +74 -73
  72. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +46 -33
  73. data/rbi/lithic/models/management_operation_transaction.rbi +49 -60
  74. data/rbi/lithic/models/payment.rbi +384 -168
  75. data/rbi/lithic/models/payment_create_response.rbi +1 -0
  76. data/rbi/lithic/models/payment_retry_response.rbi +1 -0
  77. data/rbi/lithic/models/provision_response.rbi +58 -0
  78. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +83 -0
  79. data/rbi/lithic/models/tokenization.rbi +5 -0
  80. data/rbi/lithic/models/transaction.rbi +20 -0
  81. data/rbi/lithic/models/verification_method.rbi +0 -1
  82. data/rbi/lithic/models.rbi +2 -0
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +0 -64
  84. data/rbi/lithic/resources/external_bank_accounts.rbi +0 -2
  85. data/sig/lithic/models/account_activity_list_response.rbs +48 -1036
  86. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +48 -1036
  87. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +2 -0
  88. data/sig/lithic/models/auth_rules/conditional_attribute.rbs +2 -0
  89. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -0
  90. data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -0
  91. data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -0
  92. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
  93. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -0
  94. data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -0
  95. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -0
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -0
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -0
  98. data/sig/lithic/models/book_transfer_response.rbs +26 -19
  99. data/sig/lithic/models/card_provision_response.rbs +22 -5
  100. data/sig/lithic/models/event.rbs +0 -2
  101. data/sig/lithic/models/event_list_params.rbs +0 -2
  102. data/sig/lithic/models/event_subscription.rbs +0 -2
  103. data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
  104. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +0 -2
  105. data/sig/lithic/models/events/subscription_update_params.rbs +0 -2
  106. data/sig/lithic/models/external_bank_account_create_params.rbs +1 -6
  107. data/sig/lithic/models/external_payment.rbs +19 -26
  108. data/sig/lithic/models/financial_account.rbs +28 -30
  109. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +21 -15
  110. data/sig/lithic/models/management_operation_transaction.rbs +19 -26
  111. data/sig/lithic/models/payment.rbs +191 -74
  112. data/sig/lithic/models/provision_response.rbs +36 -0
  113. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +28 -0
  114. data/sig/lithic/models/tokenization.rbs +2 -0
  115. data/sig/lithic/models/transaction.rbs +8 -0
  116. data/sig/lithic/models/verification_method.rbs +1 -7
  117. data/sig/lithic/models.rbs +2 -0
  118. data/sig/lithic/resources/auth_rules/v2.rbs +0 -5
  119. data/sig/lithic/resources/external_bank_accounts.rbs +0 -1
  120. metadata +5 -8
  121. data/lib/lithic/models/auth_rules/v2_report_params.rb +0 -16
  122. data/lib/lithic/models/auth_rules/v2_report_response.rb +0 -18
  123. data/rbi/lithic/models/auth_rules/v2_report_params.rbi +0 -29
  124. data/rbi/lithic/models/auth_rules/v2_report_response.rbi +0 -31
  125. data/sig/lithic/models/auth_rules/v2_report_params.rbs +0 -16
  126. data/sig/lithic/models/auth_rules/v2_report_response.rbs +0 -17
@@ -5,14 +5,13 @@ module Lithic
5
5
  token: String,
6
6
  category: Lithic::Models::Payment::category,
7
7
  created: Time,
8
- currency: String,
9
8
  descriptor: String,
10
9
  direction: Lithic::Models::Payment::direction,
11
10
  events: ::Array[Lithic::Payment::Event],
12
- external_bank_account_token: String?,
11
+ family: :PAYMENT,
13
12
  financial_account_token: String,
14
13
  method_: Lithic::Models::Payment::method_,
15
- method_attributes: Lithic::Payment::MethodAttributes,
14
+ method_attributes: Lithic::Models::Payment::method_attributes,
16
15
  pending_amount: Integer,
17
16
  related_account_tokens: Lithic::Payment::RelatedAccountTokens,
18
17
  result: Lithic::Models::Payment::result,
@@ -20,9 +19,11 @@ module Lithic
20
19
  source: Lithic::Models::Payment::source,
21
20
  status: Lithic::Models::Payment::status,
22
21
  updated: Time,
23
- user_defined_id: String?,
24
- expected_release_date: Date,
25
- type: Lithic::Models::Payment::type_
22
+ currency: String,
23
+ expected_release_date: Date?,
24
+ external_bank_account_token: String?,
25
+ type: Lithic::Models::Payment::type_,
26
+ user_defined_id: String?
26
27
  }
27
28
 
28
29
  class Payment < Lithic::Internal::Type::BaseModel
@@ -32,21 +33,19 @@ module Lithic
32
33
 
33
34
  attr_accessor created: Time
34
35
 
35
- attr_accessor currency: String
36
-
37
36
  attr_accessor descriptor: String
38
37
 
39
38
  attr_accessor direction: Lithic::Models::Payment::direction
40
39
 
41
40
  attr_accessor events: ::Array[Lithic::Payment::Event]
42
41
 
43
- attr_accessor external_bank_account_token: String?
42
+ attr_accessor family: :PAYMENT
44
43
 
45
44
  attr_accessor financial_account_token: String
46
45
 
47
46
  attr_accessor method_: Lithic::Models::Payment::method_
48
47
 
49
- attr_accessor method_attributes: Lithic::Payment::MethodAttributes
48
+ attr_accessor method_attributes: Lithic::Models::Payment::method_attributes
50
49
 
51
50
  attr_accessor pending_amount: Integer
52
51
 
@@ -62,11 +61,13 @@ module Lithic
62
61
 
63
62
  attr_accessor updated: Time
64
63
 
65
- attr_accessor user_defined_id: String?
64
+ attr_reader currency: String?
66
65
 
67
- attr_reader expected_release_date: Date?
66
+ def currency=: (String) -> String
68
67
 
69
- def expected_release_date=: (Date) -> Date
68
+ attr_accessor expected_release_date: Date?
69
+
70
+ attr_accessor external_bank_account_token: String?
70
71
 
71
72
  attr_reader type: Lithic::Models::Payment::type_?
72
73
 
@@ -74,18 +75,18 @@ module Lithic
74
75
  Lithic::Models::Payment::type_
75
76
  ) -> Lithic::Models::Payment::type_
76
77
 
78
+ attr_accessor user_defined_id: String?
79
+
77
80
  def initialize: (
78
81
  token: String,
79
82
  category: Lithic::Models::Payment::category,
80
83
  created: Time,
81
- currency: String,
82
84
  descriptor: String,
83
85
  direction: Lithic::Models::Payment::direction,
84
86
  events: ::Array[Lithic::Payment::Event],
85
- external_bank_account_token: String?,
86
87
  financial_account_token: String,
87
88
  method_: Lithic::Models::Payment::method_,
88
- method_attributes: Lithic::Payment::MethodAttributes,
89
+ method_attributes: Lithic::Models::Payment::method_attributes,
89
90
  pending_amount: Integer,
90
91
  related_account_tokens: Lithic::Payment::RelatedAccountTokens,
91
92
  result: Lithic::Models::Payment::result,
@@ -93,23 +94,25 @@ module Lithic
93
94
  source: Lithic::Models::Payment::source,
94
95
  status: Lithic::Models::Payment::status,
95
96
  updated: Time,
96
- user_defined_id: String?,
97
- ?expected_release_date: Date,
98
- ?type: Lithic::Models::Payment::type_
97
+ ?currency: String,
98
+ ?expected_release_date: Date?,
99
+ ?external_bank_account_token: String?,
100
+ ?type: Lithic::Models::Payment::type_,
101
+ ?user_defined_id: String?,
102
+ ?family: :PAYMENT
99
103
  ) -> void
100
104
 
101
105
  def to_hash: -> {
102
106
  token: String,
103
107
  category: Lithic::Models::Payment::category,
104
108
  created: Time,
105
- currency: String,
106
109
  descriptor: String,
107
110
  direction: Lithic::Models::Payment::direction,
108
111
  events: ::Array[Lithic::Payment::Event],
109
- external_bank_account_token: String?,
112
+ family: :PAYMENT,
110
113
  financial_account_token: String,
111
114
  method_: Lithic::Models::Payment::method_,
112
- method_attributes: Lithic::Payment::MethodAttributes,
115
+ method_attributes: Lithic::Models::Payment::method_attributes,
113
116
  pending_amount: Integer,
114
117
  related_account_tokens: Lithic::Payment::RelatedAccountTokens,
115
118
  result: Lithic::Models::Payment::result,
@@ -117,17 +120,54 @@ module Lithic
117
120
  source: Lithic::Models::Payment::source,
118
121
  status: Lithic::Models::Payment::status,
119
122
  updated: Time,
120
- user_defined_id: String?,
121
- expected_release_date: Date,
122
- type: Lithic::Models::Payment::type_
123
+ currency: String,
124
+ expected_release_date: Date?,
125
+ external_bank_account_token: String?,
126
+ type: Lithic::Models::Payment::type_,
127
+ user_defined_id: String?
123
128
  }
124
129
 
125
- type category = :ACH
130
+ type category =
131
+ :ACH
132
+ | :BALANCE_OR_FUNDING
133
+ | :FEE
134
+ | :REWARD
135
+ | :ADJUSTMENT
136
+ | :DERECOGNITION
137
+ | :DISPUTE
138
+ | :CARD
139
+ | :EXTERNAL_ACH
140
+ | :EXTERNAL_CHECK
141
+ | :EXTERNAL_TRANSFER
142
+ | :EXTERNAL_WIRE
143
+ | :MANAGEMENT_ADJUSTMENT
144
+ | :MANAGEMENT_DISPUTE
145
+ | :MANAGEMENT_FEE
146
+ | :MANAGEMENT_REWARD
147
+ | :MANAGEMENT_DISBURSEMENT
148
+ | :PROGRAM_FUNDING
126
149
 
127
150
  module Category
128
151
  extend Lithic::Internal::Type::Enum
129
152
 
130
153
  ACH: :ACH
154
+ BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
155
+ FEE: :FEE
156
+ REWARD: :REWARD
157
+ ADJUSTMENT: :ADJUSTMENT
158
+ DERECOGNITION: :DERECOGNITION
159
+ DISPUTE: :DISPUTE
160
+ CARD: :CARD
161
+ EXTERNAL_ACH: :EXTERNAL_ACH
162
+ EXTERNAL_CHECK: :EXTERNAL_CHECK
163
+ EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
164
+ EXTERNAL_WIRE: :EXTERNAL_WIRE
165
+ MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
166
+ MANAGEMENT_DISPUTE: :MANAGEMENT_DISPUTE
167
+ MANAGEMENT_FEE: :MANAGEMENT_FEE
168
+ MANAGEMENT_REWARD: :MANAGEMENT_REWARD
169
+ MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
170
+ PROGRAM_FUNDING: :PROGRAM_FUNDING
131
171
 
132
172
  def self?.values: -> ::Array[Lithic::Models::Payment::category]
133
173
  end
@@ -252,74 +292,149 @@ module Lithic
252
292
  end
253
293
  end
254
294
 
255
- type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY
295
+ type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY | :WIRE
256
296
 
257
297
  module Method
258
298
  extend Lithic::Internal::Type::Enum
259
299
 
260
300
  ACH_NEXT_DAY: :ACH_NEXT_DAY
261
301
  ACH_SAME_DAY: :ACH_SAME_DAY
302
+ WIRE: :WIRE
262
303
 
263
304
  def self?.values: -> ::Array[Lithic::Models::Payment::method_]
264
305
  end
265
306
 
266
307
  type method_attributes =
267
- {
268
- company_id: String?,
269
- receipt_routing_number: String?,
270
- retries: Integer?,
271
- return_reason_code: String?,
272
- sec_code: Lithic::Models::Payment::MethodAttributes::sec_code,
273
- trace_numbers: ::Array[String?],
274
- addenda: String?
275
- }
308
+ Lithic::Payment::MethodAttributes::ACHMethodAttributes
309
+ | Lithic::Payment::MethodAttributes::WireMethodAttributes
310
+
311
+ module MethodAttributes
312
+ extend Lithic::Internal::Type::Union
313
+
314
+ type ach_method_attributes =
315
+ {
316
+ sec_code: Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::sec_code,
317
+ addenda: String?,
318
+ company_id: String?,
319
+ receipt_routing_number: String?,
320
+ retries: Integer?,
321
+ return_reason_code: String?,
322
+ trace_numbers: ::Array[String]
323
+ }
324
+
325
+ class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
326
+ attr_accessor sec_code: Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::sec_code
327
+
328
+ attr_accessor addenda: String?
329
+
330
+ attr_accessor company_id: String?
331
+
332
+ attr_accessor receipt_routing_number: String?
333
+
334
+ attr_accessor retries: Integer?
335
+
336
+ attr_accessor return_reason_code: String?
337
+
338
+ attr_reader trace_numbers: ::Array[String]?
339
+
340
+ def trace_numbers=: (::Array[String]) -> ::Array[String]
341
+
342
+ def initialize: (
343
+ sec_code: Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::sec_code,
344
+ ?addenda: String?,
345
+ ?company_id: String?,
346
+ ?receipt_routing_number: String?,
347
+ ?retries: Integer?,
348
+ ?return_reason_code: String?,
349
+ ?trace_numbers: ::Array[String]
350
+ ) -> void
351
+
352
+ def to_hash: -> {
353
+ sec_code: Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::sec_code,
354
+ addenda: String?,
355
+ company_id: String?,
356
+ receipt_routing_number: String?,
357
+ retries: Integer?,
358
+ return_reason_code: String?,
359
+ trace_numbers: ::Array[String]
360
+ }
361
+
362
+ type sec_code = :CCD | :PPD | :WEB | :TEL | :CIE | :CTX
363
+
364
+ module SecCode
365
+ extend Lithic::Internal::Type::Enum
366
+
367
+ CCD: :CCD
368
+ PPD: :PPD
369
+ WEB: :WEB
370
+ TEL: :TEL
371
+ CIE: :CIE
372
+ CTX: :CTX
373
+
374
+ def self?.values: -> ::Array[Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes::sec_code]
375
+ end
376
+ end
276
377
 
277
- class MethodAttributes < Lithic::Internal::Type::BaseModel
278
- attr_accessor company_id: String?
378
+ type wire_method_attributes =
379
+ {
380
+ wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
381
+ creditor: Lithic::WirePartyDetails,
382
+ debtor: Lithic::WirePartyDetails,
383
+ message_id: String?,
384
+ remittance_information: String?,
385
+ wire_message_type: String
386
+ }
279
387
 
280
- attr_accessor receipt_routing_number: String?
388
+ class WireMethodAttributes < Lithic::Internal::Type::BaseModel
389
+ attr_accessor wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network
281
390
 
282
- attr_accessor retries: Integer?
391
+ attr_reader creditor: Lithic::WirePartyDetails?
283
392
 
284
- attr_accessor return_reason_code: String?
393
+ def creditor=: (Lithic::WirePartyDetails) -> Lithic::WirePartyDetails
285
394
 
286
- attr_accessor sec_code: Lithic::Models::Payment::MethodAttributes::sec_code
395
+ attr_reader debtor: Lithic::WirePartyDetails?
287
396
 
288
- attr_accessor trace_numbers: ::Array[String?]
397
+ def debtor=: (Lithic::WirePartyDetails) -> Lithic::WirePartyDetails
289
398
 
290
- attr_accessor addenda: String?
399
+ attr_accessor message_id: String?
291
400
 
292
- def initialize: (
293
- company_id: String?,
294
- receipt_routing_number: String?,
295
- retries: Integer?,
296
- return_reason_code: String?,
297
- sec_code: Lithic::Models::Payment::MethodAttributes::sec_code,
298
- trace_numbers: ::Array[String?],
299
- ?addenda: String?
300
- ) -> void
401
+ attr_accessor remittance_information: String?
301
402
 
302
- def to_hash: -> {
303
- company_id: String?,
304
- receipt_routing_number: String?,
305
- retries: Integer?,
306
- return_reason_code: String?,
307
- sec_code: Lithic::Models::Payment::MethodAttributes::sec_code,
308
- trace_numbers: ::Array[String?],
309
- addenda: String?
310
- }
403
+ attr_reader wire_message_type: String?
311
404
 
312
- type sec_code = :CCD | :PPD | :WEB
405
+ def wire_message_type=: (String) -> String
313
406
 
314
- module SecCode
315
- extend Lithic::Internal::Type::Enum
407
+ def initialize: (
408
+ wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
409
+ ?creditor: Lithic::WirePartyDetails,
410
+ ?debtor: Lithic::WirePartyDetails,
411
+ ?message_id: String?,
412
+ ?remittance_information: String?,
413
+ ?wire_message_type: String
414
+ ) -> void
316
415
 
317
- CCD: :CCD
318
- PPD: :PPD
319
- WEB: :WEB
416
+ def to_hash: -> {
417
+ wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
418
+ creditor: Lithic::WirePartyDetails,
419
+ debtor: Lithic::WirePartyDetails,
420
+ message_id: String?,
421
+ remittance_information: String?,
422
+ wire_message_type: String
423
+ }
320
424
 
321
- def self?.values: -> ::Array[Lithic::Models::Payment::MethodAttributes::sec_code]
425
+ type wire_network = :FEDWIRE | :SWIFT
426
+
427
+ module WireNetwork
428
+ extend Lithic::Internal::Type::Enum
429
+
430
+ FEDWIRE: :FEDWIRE
431
+ SWIFT: :SWIFT
432
+
433
+ def self?.values: -> ::Array[Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network]
434
+ end
322
435
  end
436
+
437
+ def self?.variants: -> ::Array[Lithic::Models::Payment::method_attributes]
323
438
  end
324
439
 
325
440
  type related_account_tokens =
@@ -352,26 +467,28 @@ module Lithic
352
467
  def self?.values: -> ::Array[Lithic::Models::Payment::result]
353
468
  end
354
469
 
355
- type source = :CUSTOMER | :LITHIC
470
+ type source = :LITHIC | :EXTERNAL | :CUSTOMER
356
471
 
357
472
  module Source
358
473
  extend Lithic::Internal::Type::Enum
359
474
 
360
- CUSTOMER: :CUSTOMER
361
475
  LITHIC: :LITHIC
476
+ EXTERNAL: :EXTERNAL
477
+ CUSTOMER: :CUSTOMER
362
478
 
363
479
  def self?.values: -> ::Array[Lithic::Models::Payment::source]
364
480
  end
365
481
 
366
- type status = :DECLINED | :PENDING | :RETURNED | :SETTLED
482
+ type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
367
483
 
368
484
  module Status
369
485
  extend Lithic::Internal::Type::Enum
370
486
 
371
- DECLINED: :DECLINED
372
487
  PENDING: :PENDING
373
- RETURNED: :RETURNED
374
488
  SETTLED: :SETTLED
489
+ DECLINED: :DECLINED
490
+ REVERSED: :REVERSED
491
+ CANCELED: :CANCELED
375
492
 
376
493
  def self?.values: -> ::Array[Lithic::Models::Payment::status]
377
494
  end
@@ -0,0 +1,36 @@
1
+ module Lithic
2
+ module Models
3
+ type provision_response =
4
+ {
5
+ activation_data: String,
6
+ encrypted_data: String,
7
+ ephemeral_public_key: String
8
+ }
9
+
10
+ class ProvisionResponse < Lithic::Internal::Type::BaseModel
11
+ attr_reader activation_data: String?
12
+
13
+ def activation_data=: (String) -> String
14
+
15
+ attr_reader encrypted_data: String?
16
+
17
+ def encrypted_data=: (String) -> String
18
+
19
+ attr_reader ephemeral_public_key: String?
20
+
21
+ def ephemeral_public_key=: (String) -> String
22
+
23
+ def initialize: (
24
+ ?activation_data: String,
25
+ ?encrypted_data: String,
26
+ ?ephemeral_public_key: String
27
+ ) -> void
28
+
29
+ def to_hash: -> {
30
+ activation_data: String,
31
+ encrypted_data: String,
32
+ ephemeral_public_key: String
33
+ }
34
+ end
35
+ end
36
+ end
@@ -153,6 +153,7 @@ module Lithic
153
153
  type cardholder =
154
154
  {
155
155
  address_match: bool?,
156
+ address_on_file_match: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match,
156
157
  billing_address: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress,
157
158
  email: String?,
158
159
  name: String?,
@@ -165,6 +166,12 @@ module Lithic
165
166
  class Cardholder < Lithic::Internal::Type::BaseModel
166
167
  attr_accessor address_match: bool?
167
168
 
169
+ attr_reader address_on_file_match: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match?
170
+
171
+ def address_on_file_match=: (
172
+ Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match
173
+ ) -> Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match
174
+
168
175
  attr_reader billing_address: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress?
169
176
 
170
177
  def billing_address=: (
@@ -189,6 +196,7 @@ module Lithic
189
196
 
190
197
  def initialize: (
191
198
  ?address_match: bool?,
199
+ ?address_on_file_match: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match,
192
200
  ?billing_address: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress,
193
201
  ?email: String?,
194
202
  ?name: String?,
@@ -200,6 +208,7 @@ module Lithic
200
208
 
201
209
  def to_hash: -> {
202
210
  address_match: bool?,
211
+ address_on_file_match: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match,
203
212
  billing_address: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::BillingAddress,
204
213
  email: String?,
205
214
  name: String?,
@@ -209,6 +218,25 @@ module Lithic
209
218
  shipping_address: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::ShippingAddress
210
219
  }
211
220
 
221
+ type address_on_file_match =
222
+ :MATCH
223
+ | :MATCH_ADDRESS_ONLY
224
+ | :MATCH_ZIP_ONLY
225
+ | :MISMATCH
226
+ | :NOT_PRESENT
227
+
228
+ module AddressOnFileMatch
229
+ extend Lithic::Internal::Type::Enum
230
+
231
+ MATCH: :MATCH
232
+ MATCH_ADDRESS_ONLY: :MATCH_ADDRESS_ONLY
233
+ MATCH_ZIP_ONLY: :MATCH_ZIP_ONLY
234
+ MISMATCH: :MISMATCH
235
+ NOT_PRESENT: :NOT_PRESENT
236
+
237
+ def self?.values: -> ::Array[Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Cardholder::address_on_file_match]
238
+ end
239
+
212
240
  type billing_address =
213
241
  {
214
242
  :address1 => String?,
@@ -203,6 +203,7 @@ module Lithic
203
203
  | :TOKEN_ACTIVATED
204
204
  | :TOKEN_CREATED
205
205
  | :TOKEN_DEACTIVATED
206
+ | :TOKEN_DELETED_FROM_CONSUMER_APP
206
207
  | :TOKEN_INACTIVE
207
208
  | :TOKEN_STATE_UNKNOWN
208
209
  | :TOKEN_SUSPENDED
@@ -218,6 +219,7 @@ module Lithic
218
219
  TOKEN_ACTIVATED: :TOKEN_ACTIVATED
219
220
  TOKEN_CREATED: :TOKEN_CREATED
220
221
  TOKEN_DEACTIVATED: :TOKEN_DEACTIVATED
222
+ TOKEN_DELETED_FROM_CONSUMER_APP: :TOKEN_DELETED_FROM_CONSUMER_APP
221
223
  TOKEN_INACTIVE: :TOKEN_INACTIVE
222
224
  TOKEN_STATE_UNKNOWN: :TOKEN_STATE_UNKNOWN
223
225
  TOKEN_SUSPENDED: :TOKEN_SUSPENDED
@@ -1088,6 +1088,8 @@ module Lithic
1088
1088
  | :TRANSACTION_PREVIOUSLY_COMPLETED
1089
1089
  | :UNAUTHORIZED_MERCHANT
1090
1090
  | :VEHICLE_NUMBER_INVALID
1091
+ | :CARDHOLDER_CHALLENGED
1092
+ | :CARDHOLDER_CHALLENGE_FAILED
1091
1093
 
1092
1094
  module DetailedResult
1093
1095
  extend Lithic::Internal::Type::Enum
@@ -1146,6 +1148,8 @@ module Lithic
1146
1148
  TRANSACTION_PREVIOUSLY_COMPLETED: :TRANSACTION_PREVIOUSLY_COMPLETED
1147
1149
  UNAUTHORIZED_MERCHANT: :UNAUTHORIZED_MERCHANT
1148
1150
  VEHICLE_NUMBER_INVALID: :VEHICLE_NUMBER_INVALID
1151
+ CARDHOLDER_CHALLENGED: :CARDHOLDER_CHALLENGED
1152
+ CARDHOLDER_CHALLENGE_FAILED: :CARDHOLDER_CHALLENGE_FAILED
1149
1153
 
1150
1154
  def self?.values: -> ::Array[Lithic::Models::Transaction::Event::detailed_result]
1151
1155
  end
@@ -1430,6 +1434,8 @@ module Lithic
1430
1434
  | :TRANSACTION_PREVIOUSLY_COMPLETED
1431
1435
  | :UNAUTHORIZED_MERCHANT
1432
1436
  | :VEHICLE_NUMBER_INVALID
1437
+ | :CARDHOLDER_CHALLENGED
1438
+ | :CARDHOLDER_CHALLENGE_FAILED
1433
1439
 
1434
1440
  module Result
1435
1441
  extend Lithic::Internal::Type::Enum
@@ -1488,6 +1494,8 @@ module Lithic
1488
1494
  TRANSACTION_PREVIOUSLY_COMPLETED: :TRANSACTION_PREVIOUSLY_COMPLETED
1489
1495
  UNAUTHORIZED_MERCHANT: :UNAUTHORIZED_MERCHANT
1490
1496
  VEHICLE_NUMBER_INVALID: :VEHICLE_NUMBER_INVALID
1497
+ CARDHOLDER_CHALLENGED: :CARDHOLDER_CHALLENGED
1498
+ CARDHOLDER_CHALLENGE_FAILED: :CARDHOLDER_CHALLENGE_FAILED
1491
1499
 
1492
1500
  def self?.values: -> ::Array[Lithic::Models::Transaction::Event::RuleResult::result]
1493
1501
  end
@@ -1,19 +1,13 @@
1
1
  module Lithic
2
2
  module Models
3
3
  type verification_method =
4
- :MANUAL
5
- | :MICRO_DEPOSIT
6
- | :PLAID
7
- | :PRENOTE
8
- | :EXTERNALLY_VERIFIED
9
- | :UNVERIFIED
4
+ :MANUAL | :MICRO_DEPOSIT | :PRENOTE | :EXTERNALLY_VERIFIED | :UNVERIFIED
10
5
 
11
6
  module VerificationMethod
12
7
  extend Lithic::Internal::Type::Enum
13
8
 
14
9
  MANUAL: :MANUAL
15
10
  MICRO_DEPOSIT: :MICRO_DEPOSIT
16
- PLAID: :PLAID
17
11
  PRENOTE: :PRENOTE
18
12
  EXTERNALLY_VERIFIED: :EXTERNALLY_VERIFIED
19
13
  UNVERIFIED: :UNVERIFIED
@@ -267,6 +267,8 @@ module Lithic
267
267
 
268
268
  class PaymentSimulateReturnParams = Lithic::Models::PaymentSimulateReturnParams
269
269
 
270
+ class ProvisionResponse = Lithic::Models::ProvisionResponse
271
+
270
272
  module Reports = Lithic::Models::Reports
271
273
 
272
274
  class RequiredDocument = Lithic::Models::RequiredDocument
@@ -72,11 +72,6 @@ module Lithic
72
72
  ?request_options: Lithic::request_opts
73
73
  ) -> Lithic::Models::AuthRules::V2PromoteResponse
74
74
 
75
- def report: (
76
- String auth_rule_token,
77
- ?request_options: Lithic::request_opts
78
- ) -> Lithic::Models::AuthRules::V2ReportResponse
79
-
80
75
  def retrieve_features: (
81
76
  String auth_rule_token,
82
77
  ?account_token: String,
@@ -13,7 +13,6 @@ module Lithic
13
13
  routing_number: String,
14
14
  type: Lithic::Models::ExternalBankAccountCreateParams::type_,
15
15
  verification_method: Lithic::Models::ExternalBankAccountCreateParams::verification_method,
16
- processor_token: String,
17
16
  ?account_token: String,
18
17
  ?address: Lithic::ExternalBankAccountAddress,
19
18
  ?company_id: String,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lithic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.52
4
+ version: 0.1.0.pre.alpha.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lithic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-15 00:00:00.000000000 Z
11
+ date: 2025-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -109,8 +109,6 @@ files:
109
109
  - lib/lithic/models/auth_rules/v2_list_response.rb
110
110
  - lib/lithic/models/auth_rules/v2_promote_params.rb
111
111
  - lib/lithic/models/auth_rules/v2_promote_response.rb
112
- - lib/lithic/models/auth_rules/v2_report_params.rb
113
- - lib/lithic/models/auth_rules/v2_report_response.rb
114
112
  - lib/lithic/models/auth_rules/v2_retrieve_features_params.rb
115
113
  - lib/lithic/models/auth_rules/v2_retrieve_features_response.rb
116
114
  - lib/lithic/models/auth_rules/v2_retrieve_params.rb
@@ -288,6 +286,7 @@ files:
288
286
  - lib/lithic/models/payment_simulate_release_response.rb
289
287
  - lib/lithic/models/payment_simulate_return_params.rb
290
288
  - lib/lithic/models/payment_simulate_return_response.rb
289
+ - lib/lithic/models/provision_response.rb
291
290
  - lib/lithic/models/reports/settlement/network_total_list_params.rb
292
291
  - lib/lithic/models/reports/settlement/network_total_list_response.rb
293
292
  - lib/lithic/models/reports/settlement/network_total_retrieve_params.rb
@@ -487,8 +486,6 @@ files:
487
486
  - rbi/lithic/models/auth_rules/v2_list_response.rbi
488
487
  - rbi/lithic/models/auth_rules/v2_promote_params.rbi
489
488
  - rbi/lithic/models/auth_rules/v2_promote_response.rbi
490
- - rbi/lithic/models/auth_rules/v2_report_params.rbi
491
- - rbi/lithic/models/auth_rules/v2_report_response.rbi
492
489
  - rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi
493
490
  - rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi
494
491
  - rbi/lithic/models/auth_rules/v2_retrieve_params.rbi
@@ -666,6 +663,7 @@ files:
666
663
  - rbi/lithic/models/payment_simulate_release_response.rbi
667
664
  - rbi/lithic/models/payment_simulate_return_params.rbi
668
665
  - rbi/lithic/models/payment_simulate_return_response.rbi
666
+ - rbi/lithic/models/provision_response.rbi
669
667
  - rbi/lithic/models/reports/settlement/network_total_list_params.rbi
670
668
  - rbi/lithic/models/reports/settlement/network_total_list_response.rbi
671
669
  - rbi/lithic/models/reports/settlement/network_total_retrieve_params.rbi
@@ -864,8 +862,6 @@ files:
864
862
  - sig/lithic/models/auth_rules/v2_list_response.rbs
865
863
  - sig/lithic/models/auth_rules/v2_promote_params.rbs
866
864
  - sig/lithic/models/auth_rules/v2_promote_response.rbs
867
- - sig/lithic/models/auth_rules/v2_report_params.rbs
868
- - sig/lithic/models/auth_rules/v2_report_response.rbs
869
865
  - sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs
870
866
  - sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs
871
867
  - sig/lithic/models/auth_rules/v2_retrieve_params.rbs
@@ -1043,6 +1039,7 @@ files:
1043
1039
  - sig/lithic/models/payment_simulate_release_response.rbs
1044
1040
  - sig/lithic/models/payment_simulate_return_params.rbs
1045
1041
  - sig/lithic/models/payment_simulate_return_response.rbs
1042
+ - sig/lithic/models/provision_response.rbs
1046
1043
  - sig/lithic/models/reports/settlement/network_total_list_params.rbs
1047
1044
  - sig/lithic/models/reports/settlement/network_total_list_response.rbs
1048
1045
  - sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs