lithic 0.2.0 → 0.4.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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +78 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +5 -10
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
  6. data/lib/lithic/internal/util.rb +7 -2
  7. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
  8. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +21 -21
  9. data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
  10. data/lib/lithic/models/{asa_request_webhook_event.rb → card_authorization_approval_request_webhook_event.rb} +151 -129
  11. data/lib/lithic/models/card_create_params.rb +12 -5
  12. data/lib/lithic/models/card_updated_webhook_event.rb +40 -0
  13. data/lib/lithic/models/card_web_provision_response.rb +5 -5
  14. data/lib/lithic/models/event.rb +3 -0
  15. data/lib/lithic/models/event_list_params.rb +2 -0
  16. data/lib/lithic/models/event_subscription.rb +2 -0
  17. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  18. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
  19. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  20. data/lib/lithic/models/external_payment_create_params.rb +15 -1
  21. data/lib/lithic/models/financial_account.rb +33 -25
  22. data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
  23. data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
  24. data/lib/lithic/models/financial_transaction.rb +4 -2
  25. data/lib/lithic/models/management_operation_create_params.rb +6 -1
  26. data/lib/lithic/models/non_pci_card.rb +8 -10
  27. data/lib/lithic/models/parsed_webhook_event.rb +5 -4
  28. data/lib/lithic/models/payment.rb +10 -1
  29. data/lib/lithic/models/payment_create_params.rb +1 -1
  30. data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
  31. data/lib/lithic/models/transaction.rb +12 -1
  32. data/lib/lithic/models/transaction_simulate_authorization_params.rb +25 -1
  33. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +25 -1
  34. data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
  35. data/lib/lithic/models/transfer_limits_response.rb +274 -0
  36. data/lib/lithic/models.rb +14 -6
  37. data/lib/lithic/resources/book_transfers.rb +27 -0
  38. data/lib/lithic/resources/cards.rb +33 -27
  39. data/lib/lithic/resources/external_payments.rb +13 -1
  40. data/lib/lithic/resources/financial_accounts.rb +8 -6
  41. data/lib/lithic/resources/management_operations.rb +4 -1
  42. data/lib/lithic/resources/transactions.rb +14 -2
  43. data/lib/lithic/resources/transfer_limits.rb +37 -0
  44. data/lib/lithic/resources/webhooks.rb +3 -2
  45. data/lib/lithic/version.rb +1 -1
  46. data/lib/lithic.rb +7 -7
  47. data/rbi/lithic/client.rbi +3 -3
  48. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
  49. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +47 -45
  50. data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
  51. data/rbi/lithic/models/{asa_request_webhook_event.rbi → card_authorization_approval_request_webhook_event.rbi} +394 -256
  52. data/rbi/lithic/models/card_create_params.rbi +15 -6
  53. data/rbi/lithic/models/card_updated_webhook_event.rbi +61 -0
  54. data/rbi/lithic/models/card_web_provision_response.rbi +5 -10
  55. data/rbi/lithic/models/event.rbi +5 -0
  56. data/rbi/lithic/models/event_list_params.rbi +6 -0
  57. data/rbi/lithic/models/event_subscription.rbi +6 -0
  58. data/rbi/lithic/models/events/subscription_create_params.rbi +6 -0
  59. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
  60. data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
  61. data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
  62. data/rbi/lithic/models/financial_account.rbi +62 -54
  63. data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
  64. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
  65. data/rbi/lithic/models/financial_transaction.rbi +8 -4
  66. data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
  67. data/rbi/lithic/models/non_pci_card.rbi +12 -15
  68. data/rbi/lithic/models/parsed_webhook_event.rbi +3 -2
  69. data/rbi/lithic/models/payment.rbi +16 -3
  70. data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
  71. data/rbi/lithic/models/transaction.rbi +20 -0
  72. data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +33 -0
  73. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +33 -0
  74. data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
  75. data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
  76. data/rbi/lithic/models.rbi +14 -6
  77. data/rbi/lithic/resources/book_transfers.rbi +18 -0
  78. data/rbi/lithic/resources/cards.rbi +52 -49
  79. data/rbi/lithic/resources/external_payments.rbi +2 -0
  80. data/rbi/lithic/resources/financial_accounts.rbi +8 -5
  81. data/rbi/lithic/resources/management_operations.rbi +2 -0
  82. data/rbi/lithic/resources/transactions.rbi +18 -0
  83. data/rbi/lithic/resources/transfer_limits.rbi +28 -0
  84. data/rbi/lithic/resources/webhooks.rbi +4 -65
  85. data/sig/lithic/client.rbs +2 -2
  86. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
  87. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +20 -16
  88. data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
  89. data/sig/lithic/models/{asa_request_webhook_event.rbs → card_authorization_approval_request_webhook_event.rbs} +161 -156
  90. data/sig/lithic/models/card_create_params.rbs +8 -1
  91. data/sig/lithic/models/card_updated_webhook_event.rbs +35 -0
  92. data/sig/lithic/models/card_web_provision_response.rbs +4 -10
  93. data/sig/lithic/models/event.rbs +2 -0
  94. data/sig/lithic/models/event_list_params.rbs +2 -0
  95. data/sig/lithic/models/event_subscription.rbs +2 -0
  96. data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
  97. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
  98. data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
  99. data/sig/lithic/models/financial_account.rbs +32 -27
  100. data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
  101. data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
  102. data/sig/lithic/models/parsed_webhook_event.rbs +3 -2
  103. data/sig/lithic/models/payment.rbs +10 -3
  104. data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
  105. data/sig/lithic/models/transaction.rbs +9 -0
  106. data/sig/lithic/models/transaction_simulate_authorization_params.rbs +21 -0
  107. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +22 -1
  108. data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
  109. data/sig/lithic/models/transfer_limits_response.rbs +232 -0
  110. data/sig/lithic/models.rbs +12 -6
  111. data/sig/lithic/resources/book_transfers.rbs +6 -0
  112. data/sig/lithic/resources/cards.rbs +1 -2
  113. data/sig/lithic/resources/financial_accounts.rbs +1 -0
  114. data/sig/lithic/resources/transactions.rbs +6 -0
  115. data/sig/lithic/resources/transfer_limits.rbs +12 -0
  116. data/sig/lithic/resources/webhooks.rbs +4 -61
  117. metadata +37 -23
  118. data/lib/lithic/models/aggregate_balance.rb +0 -113
  119. data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
  120. data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
  121. data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
  122. data/lib/lithic/resources/aggregate_balances.rb +0 -38
  123. data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
  124. data/rbi/lithic/models/aggregate_balance.rbi +0 -164
  125. data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
  126. data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
  127. data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
  128. data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
  129. data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
  130. data/sig/lithic/models/aggregate_balance.rbs +0 -78
  131. data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
  132. data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
  133. data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
  134. data/sig/lithic/resources/aggregate_balances.rbs +0 -12
  135. data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
@@ -6,7 +6,10 @@ module Lithic
6
6
  descriptor: String,
7
7
  pan: String,
8
8
  mcc: String,
9
- merchant_acceptor_id: String
9
+ merchant_acceptor_city: String,
10
+ merchant_acceptor_country: String,
11
+ merchant_acceptor_id: String,
12
+ merchant_acceptor_state: String
10
13
  }
11
14
  & Lithic::Internal::Type::request_parameters
12
15
 
@@ -24,16 +27,31 @@ module Lithic
24
27
 
25
28
  def mcc=: (String) -> String
26
29
 
30
+ attr_reader merchant_acceptor_city: String?
31
+
32
+ def merchant_acceptor_city=: (String) -> String
33
+
34
+ attr_reader merchant_acceptor_country: String?
35
+
36
+ def merchant_acceptor_country=: (String) -> String
37
+
27
38
  attr_reader merchant_acceptor_id: String?
28
39
 
29
40
  def merchant_acceptor_id=: (String) -> String
30
41
 
42
+ attr_reader merchant_acceptor_state: String?
43
+
44
+ def merchant_acceptor_state=: (String) -> String
45
+
31
46
  def initialize: (
32
47
  amount: Integer,
33
48
  descriptor: String,
34
49
  pan: String,
35
50
  ?mcc: String,
51
+ ?merchant_acceptor_city: String,
52
+ ?merchant_acceptor_country: String,
36
53
  ?merchant_acceptor_id: String,
54
+ ?merchant_acceptor_state: String,
37
55
  ?request_options: Lithic::request_opts
38
56
  ) -> void
39
57
 
@@ -42,7 +60,10 @@ module Lithic
42
60
  descriptor: String,
43
61
  pan: String,
44
62
  mcc: String,
63
+ merchant_acceptor_city: String,
64
+ merchant_acceptor_country: String,
45
65
  merchant_acceptor_id: String,
66
+ merchant_acceptor_state: String,
46
67
  request_options: Lithic::RequestOptions
47
68
  }
48
69
  end
@@ -0,0 +1,22 @@
1
+ module Lithic
2
+ module Models
3
+ type transfer_limit_list_params =
4
+ { date: Date } & Lithic::Internal::Type::request_parameters
5
+
6
+ class TransferLimitListParams < Lithic::Internal::Type::BaseModel
7
+ extend Lithic::Internal::Type::RequestParameters::Converter
8
+ include Lithic::Internal::Type::RequestParameters
9
+
10
+ attr_reader date: Date?
11
+
12
+ def date=: (Date) -> Date
13
+
14
+ def initialize: (
15
+ ?date: Date,
16
+ ?request_options: Lithic::request_opts
17
+ ) -> void
18
+
19
+ def to_hash: -> { date: Date, request_options: Lithic::RequestOptions }
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,232 @@
1
+ module Lithic
2
+ module Models
3
+ type transfer_limits_response =
4
+ { data: ::Array[Lithic::TransferLimitsResponse::Data], has_more: bool }
5
+
6
+ class TransferLimitsResponse < Lithic::Internal::Type::BaseModel
7
+ attr_accessor data: ::Array[Lithic::TransferLimitsResponse::Data]
8
+
9
+ attr_accessor has_more: bool
10
+
11
+ def initialize: (
12
+ data: ::Array[Lithic::TransferLimitsResponse::Data],
13
+ has_more: bool
14
+ ) -> void
15
+
16
+ def to_hash: -> {
17
+ data: ::Array[Lithic::TransferLimitsResponse::Data],
18
+ has_more: bool
19
+ }
20
+
21
+ type data =
22
+ {
23
+ company_id: String,
24
+ daily_limit: Lithic::TransferLimitsResponse::Data::DailyLimit,
25
+ date: Date,
26
+ is_fbo: bool,
27
+ monthly_limit: Lithic::TransferLimitsResponse::Data::MonthlyLimit,
28
+ program_limit_per_transaction: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction
29
+ }
30
+
31
+ class Data < Lithic::Internal::Type::BaseModel
32
+ attr_accessor company_id: String
33
+
34
+ attr_accessor daily_limit: Lithic::TransferLimitsResponse::Data::DailyLimit
35
+
36
+ attr_accessor date: Date
37
+
38
+ attr_accessor is_fbo: bool
39
+
40
+ attr_accessor monthly_limit: Lithic::TransferLimitsResponse::Data::MonthlyLimit
41
+
42
+ attr_accessor program_limit_per_transaction: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction
43
+
44
+ def initialize: (
45
+ company_id: String,
46
+ daily_limit: Lithic::TransferLimitsResponse::Data::DailyLimit,
47
+ date: Date,
48
+ is_fbo: bool,
49
+ monthly_limit: Lithic::TransferLimitsResponse::Data::MonthlyLimit,
50
+ program_limit_per_transaction: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction
51
+ ) -> void
52
+
53
+ def to_hash: -> {
54
+ company_id: String,
55
+ daily_limit: Lithic::TransferLimitsResponse::Data::DailyLimit,
56
+ date: Date,
57
+ is_fbo: bool,
58
+ monthly_limit: Lithic::TransferLimitsResponse::Data::MonthlyLimit,
59
+ program_limit_per_transaction: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction
60
+ }
61
+
62
+ type daily_limit =
63
+ {
64
+ credit: Lithic::TransferLimitsResponse::Data::DailyLimit::Credit,
65
+ debit: Lithic::TransferLimitsResponse::Data::DailyLimit::Debit
66
+ }
67
+
68
+ class DailyLimit < Lithic::Internal::Type::BaseModel
69
+ attr_accessor credit: Lithic::TransferLimitsResponse::Data::DailyLimit::Credit
70
+
71
+ attr_accessor debit: Lithic::TransferLimitsResponse::Data::DailyLimit::Debit
72
+
73
+ def initialize: (
74
+ credit: Lithic::TransferLimitsResponse::Data::DailyLimit::Credit,
75
+ debit: Lithic::TransferLimitsResponse::Data::DailyLimit::Debit
76
+ ) -> void
77
+
78
+ def to_hash: -> {
79
+ credit: Lithic::TransferLimitsResponse::Data::DailyLimit::Credit,
80
+ debit: Lithic::TransferLimitsResponse::Data::DailyLimit::Debit
81
+ }
82
+
83
+ type credit = { limit: Integer, amount_originated: Integer }
84
+
85
+ class Credit < Lithic::Internal::Type::BaseModel
86
+ attr_accessor limit: Integer
87
+
88
+ attr_reader amount_originated: Integer?
89
+
90
+ def amount_originated=: (Integer) -> Integer
91
+
92
+ def initialize: (
93
+ limit: Integer,
94
+ ?amount_originated: Integer
95
+ ) -> void
96
+
97
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
98
+ end
99
+
100
+ type debit = { limit: Integer, amount_originated: Integer }
101
+
102
+ class Debit < Lithic::Internal::Type::BaseModel
103
+ attr_accessor limit: Integer
104
+
105
+ attr_reader amount_originated: Integer?
106
+
107
+ def amount_originated=: (Integer) -> Integer
108
+
109
+ def initialize: (
110
+ limit: Integer,
111
+ ?amount_originated: Integer
112
+ ) -> void
113
+
114
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
115
+ end
116
+ end
117
+
118
+ type monthly_limit =
119
+ {
120
+ credit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Credit,
121
+ debit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Debit
122
+ }
123
+
124
+ class MonthlyLimit < Lithic::Internal::Type::BaseModel
125
+ attr_accessor credit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Credit
126
+
127
+ attr_accessor debit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Debit
128
+
129
+ def initialize: (
130
+ credit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Credit,
131
+ debit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Debit
132
+ ) -> void
133
+
134
+ def to_hash: -> {
135
+ credit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Credit,
136
+ debit: Lithic::TransferLimitsResponse::Data::MonthlyLimit::Debit
137
+ }
138
+
139
+ type credit = { limit: Integer, amount_originated: Integer }
140
+
141
+ class Credit < Lithic::Internal::Type::BaseModel
142
+ attr_accessor limit: Integer
143
+
144
+ attr_reader amount_originated: Integer?
145
+
146
+ def amount_originated=: (Integer) -> Integer
147
+
148
+ def initialize: (
149
+ limit: Integer,
150
+ ?amount_originated: Integer
151
+ ) -> void
152
+
153
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
154
+ end
155
+
156
+ type debit = { limit: Integer, amount_originated: Integer }
157
+
158
+ class Debit < Lithic::Internal::Type::BaseModel
159
+ attr_accessor limit: Integer
160
+
161
+ attr_reader amount_originated: Integer?
162
+
163
+ def amount_originated=: (Integer) -> Integer
164
+
165
+ def initialize: (
166
+ limit: Integer,
167
+ ?amount_originated: Integer
168
+ ) -> void
169
+
170
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
171
+ end
172
+ end
173
+
174
+ type program_limit_per_transaction =
175
+ {
176
+ credit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Credit,
177
+ debit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Debit
178
+ }
179
+
180
+ class ProgramLimitPerTransaction < Lithic::Internal::Type::BaseModel
181
+ attr_accessor credit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Credit
182
+
183
+ attr_accessor debit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Debit
184
+
185
+ def initialize: (
186
+ credit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Credit,
187
+ debit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Debit
188
+ ) -> void
189
+
190
+ def to_hash: -> {
191
+ credit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Credit,
192
+ debit: Lithic::TransferLimitsResponse::Data::ProgramLimitPerTransaction::Debit
193
+ }
194
+
195
+ type credit = { limit: Integer, amount_originated: Integer }
196
+
197
+ class Credit < Lithic::Internal::Type::BaseModel
198
+ attr_accessor limit: Integer
199
+
200
+ attr_reader amount_originated: Integer?
201
+
202
+ def amount_originated=: (Integer) -> Integer
203
+
204
+ def initialize: (
205
+ limit: Integer,
206
+ ?amount_originated: Integer
207
+ ) -> void
208
+
209
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
210
+ end
211
+
212
+ type debit = { limit: Integer, amount_originated: Integer }
213
+
214
+ class Debit < Lithic::Internal::Type::BaseModel
215
+ attr_accessor limit: Integer
216
+
217
+ attr_reader amount_originated: Integer?
218
+
219
+ def amount_originated=: (Integer) -> Integer
220
+
221
+ def initialize: (
222
+ limit: Integer,
223
+ ?amount_originated: Integer
224
+ ) -> void
225
+
226
+ def to_hash: -> { limit: Integer, amount_originated: Integer }
227
+ end
228
+ end
229
+ end
230
+ end
231
+ end
232
+ end
@@ -49,14 +49,8 @@ module Lithic
49
49
 
50
50
  class AddressUpdate = Lithic::Models::AddressUpdate
51
51
 
52
- class AggregateBalance = Lithic::Models::AggregateBalance
53
-
54
- class AggregateBalanceListParams = Lithic::Models::AggregateBalanceListParams
55
-
56
52
  class APIStatus = Lithic::Models::APIStatus
57
53
 
58
- class AsaRequestWebhookEvent = Lithic::Models::AsaRequestWebhookEvent
59
-
60
54
  module AuthRules = Lithic::Models::AuthRules
61
55
 
62
56
  class AuthRulesBacktestReportCreatedWebhookEvent = Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent
@@ -81,6 +75,8 @@ module Lithic
81
75
 
82
76
  class BookTransferRetrieveParams = Lithic::Models::BookTransferRetrieveParams
83
77
 
78
+ class BookTransferRetryParams = Lithic::Models::BookTransferRetryParams
79
+
84
80
  class BookTransferReverseParams = Lithic::Models::BookTransferReverseParams
85
81
 
86
82
  class BookTransferTransactionCreatedWebhookEvent = Lithic::Models::BookTransferTransactionCreatedWebhookEvent
@@ -89,6 +85,8 @@ module Lithic
89
85
 
90
86
  class Card = Lithic::Models::Card
91
87
 
88
+ class CardAuthorizationApprovalRequestWebhookEvent = Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
89
+
92
90
  class CardBulkOrder = Lithic::Models::CardBulkOrder
93
91
 
94
92
  class CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
@@ -147,6 +145,8 @@ module Lithic
147
145
 
148
146
  class CardTransactionUpdatedWebhookEvent = Lithic::Models::CardTransactionUpdatedWebhookEvent
149
147
 
148
+ class CardUpdatedWebhookEvent = Lithic::Models::CardUpdatedWebhookEvent
149
+
150
150
  class CardUpdateParams = Lithic::Models::CardUpdateParams
151
151
 
152
152
  class CardWebProvisionParams = Lithic::Models::CardWebProvisionParams
@@ -431,6 +431,8 @@ module Lithic
431
431
 
432
432
  class ThreeDSAuthentication = Lithic::Models::ThreeDSAuthentication
433
433
 
434
+ class ThreeDSAuthenticationApprovalRequestWebhookEvent = Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent
435
+
434
436
  class ThreeDSAuthenticationChallengeWebhookEvent = Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent
435
437
 
436
438
  class ThreeDSAuthenticationCreatedWebhookEvent = Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent
@@ -511,6 +513,10 @@ module Lithic
511
513
 
512
514
  class TransferCreateParams = Lithic::Models::TransferCreateParams
513
515
 
516
+ class TransferLimitListParams = Lithic::Models::TransferLimitListParams
517
+
518
+ class TransferLimitsResponse = Lithic::Models::TransferLimitsResponse
519
+
514
520
  module VerificationMethod = Lithic::Models::VerificationMethod
515
521
 
516
522
  class WalletDecisioningInfo = Lithic::Models::WalletDecisioningInfo
@@ -35,6 +35,12 @@ module Lithic
35
35
  ?request_options: Lithic::request_opts
36
36
  ) -> Lithic::Internal::CursorPage[Lithic::BookTransferResponse]
37
37
 
38
+ def retry_: (
39
+ String book_transfer_token,
40
+ retry_token: String,
41
+ ?request_options: Lithic::request_opts
42
+ ) -> Lithic::BookTransferResponse
43
+
38
44
  def reverse: (
39
45
  String book_transfer_token,
40
46
  ?memo: String,
@@ -1,8 +1,6 @@
1
1
  module Lithic
2
2
  module Resources
3
3
  class Cards
4
- attr_reader aggregate_balances: Lithic::Resources::Cards::AggregateBalances
5
-
6
4
  attr_reader balances: Lithic::Resources::Cards::Balances
7
5
 
8
6
  attr_reader financial_transactions: Lithic::Resources::Cards::FinancialTransactions
@@ -28,6 +26,7 @@ module Lithic
28
26
  ?spend_limit: Integer,
29
27
  ?spend_limit_duration: Lithic::Models::spend_limit_duration,
30
28
  ?state: Lithic::Models::CardCreateParams::state,
29
+ ?idempotency_key: String,
31
30
  ?request_options: Lithic::request_opts
32
31
  ) -> Lithic::Card
33
32
 
@@ -48,6 +48,7 @@ module Lithic
48
48
  String financial_account_token,
49
49
  status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
50
50
  substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
51
+ ?user_defined_status: String,
51
52
  ?request_options: Lithic::request_opts
52
53
  ) -> Lithic::FinancialAccount
53
54
 
@@ -33,7 +33,10 @@ module Lithic
33
33
  descriptor: String,
34
34
  pan: String,
35
35
  ?mcc: String,
36
+ ?merchant_acceptor_city: String,
37
+ ?merchant_acceptor_country: String,
36
38
  ?merchant_acceptor_id: String,
39
+ ?merchant_acceptor_state: String,
37
40
  ?merchant_amount: Integer,
38
41
  ?merchant_currency: String,
39
42
  ?partial_approval_capable: bool,
@@ -59,7 +62,10 @@ module Lithic
59
62
  descriptor: String,
60
63
  pan: String,
61
64
  ?mcc: String,
65
+ ?merchant_acceptor_city: String,
66
+ ?merchant_acceptor_country: String,
62
67
  ?merchant_acceptor_id: String,
68
+ ?merchant_acceptor_state: String,
63
69
  ?request_options: Lithic::request_opts
64
70
  ) -> Lithic::Models::TransactionSimulateCreditAuthorizationAdviceResponse
65
71
 
@@ -0,0 +1,12 @@
1
+ module Lithic
2
+ module Resources
3
+ class TransferLimits
4
+ def list: (
5
+ ?date: Date,
6
+ ?request_options: Lithic::request_opts
7
+ ) -> Lithic::Internal::SinglePage[Lithic::TransferLimitsResponse::Data]
8
+
9
+ def initialize: (client: Lithic::Client) -> void
10
+ end
11
+ end
12
+ end
@@ -11,7 +11,7 @@ module Lithic
11
11
  | Lithic::ParsedWebhookEvent::LegacyPayload
12
12
  | Lithic::AccountHolderVerificationWebhookEvent
13
13
  | Lithic::AccountHolderDocumentUpdatedWebhookEvent
14
- | Lithic::AsaRequestWebhookEvent
14
+ | Lithic::CardAuthorizationApprovalRequestWebhookEvent
15
15
  | Lithic::TokenizationDecisioningRequestWebhookEvent
16
16
  | Lithic::AuthRulesBacktestReportCreatedWebhookEvent
17
17
  | Lithic::BalanceUpdatedWebhookEvent
@@ -22,6 +22,7 @@ module Lithic
22
22
  | Lithic::CardRenewedWebhookEvent
23
23
  | Lithic::CardReissuedWebhookEvent
24
24
  | Lithic::CardShippedWebhookEvent
25
+ | Lithic::CardUpdatedWebhookEvent
25
26
  | Lithic::CardTransactionUpdatedWebhookEvent
26
27
  | Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
27
28
  | Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
@@ -59,69 +60,11 @@ module Lithic
59
60
  | Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
60
61
  | Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
61
62
  | Lithic::TokenizationUpdatedWebhookEvent
62
- | Lithic::ThreeDSAuthentication
63
+ | Lithic::ThreeDSAuthenticationApprovalRequestWebhookEvent
63
64
  | Lithic::DisputeTransactionCreatedWebhookEvent
64
65
  | Lithic::DisputeTransactionUpdatedWebhookEvent)
65
66
 
66
- def parse_unsafe: (
67
- String payload
68
- ) -> (Lithic::AccountHolderCreatedWebhookEvent
69
- | Lithic::ParsedWebhookEvent::KYBPayload
70
- | Lithic::ParsedWebhookEvent::KYCPayload
71
- | Lithic::ParsedWebhookEvent::LegacyPayload
72
- | Lithic::AccountHolderVerificationWebhookEvent
73
- | Lithic::AccountHolderDocumentUpdatedWebhookEvent
74
- | Lithic::AsaRequestWebhookEvent
75
- | Lithic::TokenizationDecisioningRequestWebhookEvent
76
- | Lithic::AuthRulesBacktestReportCreatedWebhookEvent
77
- | Lithic::BalanceUpdatedWebhookEvent
78
- | Lithic::BookTransferTransactionCreatedWebhookEvent
79
- | Lithic::BookTransferTransactionUpdatedWebhookEvent
80
- | Lithic::CardCreatedWebhookEvent
81
- | Lithic::CardConvertedWebhookEvent
82
- | Lithic::CardRenewedWebhookEvent
83
- | Lithic::CardReissuedWebhookEvent
84
- | Lithic::CardShippedWebhookEvent
85
- | Lithic::CardTransactionUpdatedWebhookEvent
86
- | Lithic::CardTransactionEnhancedDataCreatedWebhookEvent
87
- | Lithic::CardTransactionEnhancedDataUpdatedWebhookEvent
88
- | Lithic::DigitalWalletTokenizationApprovalRequestWebhookEvent
89
- | Lithic::DigitalWalletTokenizationResultWebhookEvent
90
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent
91
- | Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent
92
- | Lithic::DigitalWalletTokenizationUpdatedWebhookEvent
93
- | Lithic::DisputeUpdatedWebhookEvent
94
- | Lithic::DisputeEvidenceUploadFailedWebhookEvent
95
- | Lithic::ExternalBankAccountCreatedWebhookEvent
96
- | Lithic::ExternalBankAccountUpdatedWebhookEvent
97
- | Lithic::ExternalPaymentCreatedWebhookEvent
98
- | Lithic::ExternalPaymentUpdatedWebhookEvent
99
- | Lithic::FinancialAccountCreatedWebhookEvent
100
- | Lithic::FinancialAccountUpdatedWebhookEvent
101
- | Lithic::FundingEventCreatedWebhookEvent
102
- | Lithic::LoanTapeCreatedWebhookEvent
103
- | Lithic::LoanTapeUpdatedWebhookEvent
104
- | Lithic::ManagementOperationCreatedWebhookEvent
105
- | Lithic::ManagementOperationUpdatedWebhookEvent
106
- | Lithic::InternalTransactionCreatedWebhookEvent
107
- | Lithic::InternalTransactionUpdatedWebhookEvent
108
- | Lithic::NetworkTotalCreatedWebhookEvent
109
- | Lithic::NetworkTotalUpdatedWebhookEvent
110
- | Lithic::PaymentTransactionCreatedWebhookEvent
111
- | Lithic::PaymentTransactionUpdatedWebhookEvent
112
- | Lithic::SettlementReportUpdatedWebhookEvent
113
- | Lithic::StatementsCreatedWebhookEvent
114
- | Lithic::ThreeDSAuthenticationCreatedWebhookEvent
115
- | Lithic::ThreeDSAuthenticationUpdatedWebhookEvent
116
- | Lithic::ThreeDSAuthenticationChallengeWebhookEvent
117
- | Lithic::TokenizationApprovalRequestWebhookEvent
118
- | Lithic::TokenizationResultWebhookEvent
119
- | Lithic::TokenizationTwoFactorAuthenticationCodeWebhookEvent
120
- | Lithic::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent
121
- | Lithic::TokenizationUpdatedWebhookEvent
122
- | Lithic::ThreeDSAuthentication
123
- | Lithic::DisputeTransactionCreatedWebhookEvent
124
- | Lithic::DisputeTransactionUpdatedWebhookEvent)
67
+ def parse_unsafe: (String payload) -> Lithic::Models::parsed_webhook_event
125
68
 
126
69
  def verify_signature: (
127
70
  payload: String,