lithic 0.22.0 → 0.23.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -24
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_authorization.rb +1 -0
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
- data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
- data/lib/lithic/models/financial_account_balance.rb +6 -6
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +9 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
- data/lib/lithic/models/financial_event.rb +4 -0
- data/lib/lithic/models/funding_event_list_params.rb +28 -1
- data/lib/lithic/models/hold.rb +24 -28
- data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
- data/lib/lithic/models/ip_range_retrieve_response.rb +25 -0
- data/lib/lithic/models/payment.rb +1 -0
- data/lib/lithic/models/transaction.rb +9 -3
- data/lib/lithic/models/transactions/events/enhanced_data.rb +27 -3
- data/lib/lithic/models/transfer_limits_response.rb +9 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/cards/financial_transactions.rb +5 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/resources/funding_events.rb +8 -2
- data/lib/lithic/resources/ip_ranges.rb +36 -0
- data/lib/lithic/resources/webhooks.rb +2 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
- data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +5 -0
- data/rbi/lithic/models/card_authorization.rbi +2 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
- data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
- data/rbi/lithic/models/financial_account_balance.rbi +6 -6
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +24 -3
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
- data/rbi/lithic/models/financial_event.rbi +17 -0
- data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
- data/rbi/lithic/models/hold.rbi +28 -29
- data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -0
- data/rbi/lithic/models/payment.rbi +1 -0
- data/rbi/lithic/models/transaction.rbi +11 -4
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +25 -5
- data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/cards/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
- data/rbi/lithic/resources/funding_events.rbi +12 -0
- data/rbi/lithic/resources/ip_ranges.rbi +25 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +3 -32
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
- data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +2 -0
- data/sig/lithic/models/card_authorization.rbs +8 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
- data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
- data/sig/lithic/models/financial_account_balance.rbs +8 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +12 -18
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +8 -3
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
- data/sig/lithic/models/financial_event.rbs +8 -0
- data/sig/lithic/models/funding_event_list_params.rbs +26 -1
- data/sig/lithic/models/hold.rbs +22 -30
- data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
- data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +12 -5
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +13 -3
- data/sig/lithic/models/transfer_limits_response.rbs +5 -0
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
- data/sig/lithic/resources/funding_events.rbs +3 -0
- data/sig/lithic/resources/ip_ranges.rbs +11 -0
- metadata +12 -7
|
@@ -92,6 +92,7 @@ module Lithic
|
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
94
|
| :STABLECOIN
|
|
95
|
+
| :INTRA_BANK
|
|
95
96
|
| :BALANCE_OR_FUNDING
|
|
96
97
|
| :FEE
|
|
97
98
|
| :REWARD
|
|
@@ -121,6 +122,7 @@ module Lithic
|
|
|
121
122
|
ACH: :ACH
|
|
122
123
|
WIRE: :WIRE
|
|
123
124
|
STABLECOIN: :STABLECOIN
|
|
125
|
+
INTRA_BANK: :INTRA_BANK
|
|
124
126
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
125
127
|
FEE: :FEE
|
|
126
128
|
REWARD: :REWARD
|
|
@@ -175,14 +177,7 @@ module Lithic
|
|
|
175
177
|
end
|
|
176
178
|
end
|
|
177
179
|
|
|
178
|
-
type card =
|
|
179
|
-
{
|
|
180
|
-
token: String,
|
|
181
|
-
created: Time,
|
|
182
|
-
family: :CARD,
|
|
183
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
184
|
-
updated: Time
|
|
185
|
-
}
|
|
180
|
+
type card = { token: String, created: Time, family: :CARD, updated: Time }
|
|
186
181
|
|
|
187
182
|
class Card < Lithic::Models::Transaction
|
|
188
183
|
def token: -> String
|
|
@@ -197,12 +192,6 @@ module Lithic
|
|
|
197
192
|
|
|
198
193
|
def family=: (:CARD _) -> :CARD
|
|
199
194
|
|
|
200
|
-
def status: -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
201
|
-
|
|
202
|
-
def status=: (
|
|
203
|
-
Lithic::Models::AccountActivityListResponse::Card::status _
|
|
204
|
-
) -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
205
|
-
|
|
206
195
|
def updated: -> Time
|
|
207
196
|
|
|
208
197
|
def updated=: (Time _) -> Time
|
|
@@ -210,7 +199,6 @@ module Lithic
|
|
|
210
199
|
def initialize: (
|
|
211
200
|
token: String,
|
|
212
201
|
created: Time,
|
|
213
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
214
202
|
updated: Time,
|
|
215
203
|
?family: :CARD
|
|
216
204
|
) -> void
|
|
@@ -219,25 +207,8 @@ module Lithic
|
|
|
219
207
|
token: String,
|
|
220
208
|
created: Time,
|
|
221
209
|
family: :CARD,
|
|
222
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
223
210
|
updated: Time
|
|
224
211
|
}
|
|
225
|
-
|
|
226
|
-
type status =
|
|
227
|
-
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
228
|
-
|
|
229
|
-
module Status
|
|
230
|
-
extend Lithic::Internal::Type::Enum
|
|
231
|
-
|
|
232
|
-
PENDING: :PENDING
|
|
233
|
-
SETTLED: :SETTLED
|
|
234
|
-
DECLINED: :DECLINED
|
|
235
|
-
REVERSED: :REVERSED
|
|
236
|
-
CANCELED: :CANCELED
|
|
237
|
-
RETURNED: :RETURNED
|
|
238
|
-
|
|
239
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Card::status]
|
|
240
|
-
end
|
|
241
212
|
end
|
|
242
213
|
|
|
243
214
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_list_response]
|
|
@@ -92,6 +92,7 @@ module Lithic
|
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
94
|
| :STABLECOIN
|
|
95
|
+
| :INTRA_BANK
|
|
95
96
|
| :BALANCE_OR_FUNDING
|
|
96
97
|
| :FEE
|
|
97
98
|
| :REWARD
|
|
@@ -121,6 +122,7 @@ module Lithic
|
|
|
121
122
|
ACH: :ACH
|
|
122
123
|
WIRE: :WIRE
|
|
123
124
|
STABLECOIN: :STABLECOIN
|
|
125
|
+
INTRA_BANK: :INTRA_BANK
|
|
124
126
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
125
127
|
FEE: :FEE
|
|
126
128
|
REWARD: :REWARD
|
|
@@ -175,14 +177,7 @@ module Lithic
|
|
|
175
177
|
end
|
|
176
178
|
end
|
|
177
179
|
|
|
178
|
-
type card =
|
|
179
|
-
{
|
|
180
|
-
token: String,
|
|
181
|
-
created: Time,
|
|
182
|
-
family: :CARD,
|
|
183
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
184
|
-
updated: Time
|
|
185
|
-
}
|
|
180
|
+
type card = { token: String, created: Time, family: :CARD, updated: Time }
|
|
186
181
|
|
|
187
182
|
class Card < Lithic::Models::Transaction
|
|
188
183
|
def token: -> String
|
|
@@ -197,12 +192,6 @@ module Lithic
|
|
|
197
192
|
|
|
198
193
|
def family=: (:CARD _) -> :CARD
|
|
199
194
|
|
|
200
|
-
def status: -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
201
|
-
|
|
202
|
-
def status=: (
|
|
203
|
-
Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status _
|
|
204
|
-
) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
205
|
-
|
|
206
195
|
def updated: -> Time
|
|
207
196
|
|
|
208
197
|
def updated=: (Time _) -> Time
|
|
@@ -210,7 +199,6 @@ module Lithic
|
|
|
210
199
|
def initialize: (
|
|
211
200
|
token: String,
|
|
212
201
|
created: Time,
|
|
213
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
214
202
|
updated: Time,
|
|
215
203
|
?family: :CARD
|
|
216
204
|
) -> void
|
|
@@ -219,25 +207,8 @@ module Lithic
|
|
|
219
207
|
token: String,
|
|
220
208
|
created: Time,
|
|
221
209
|
family: :CARD,
|
|
222
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
223
210
|
updated: Time
|
|
224
211
|
}
|
|
225
|
-
|
|
226
|
-
type status =
|
|
227
|
-
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
228
|
-
|
|
229
|
-
module Status
|
|
230
|
-
extend Lithic::Internal::Type::Enum
|
|
231
|
-
|
|
232
|
-
PENDING: :PENDING
|
|
233
|
-
SETTLED: :SETTLED
|
|
234
|
-
DECLINED: :DECLINED
|
|
235
|
-
REVERSED: :REVERSED
|
|
236
|
-
CANCELED: :CANCELED
|
|
237
|
-
RETURNED: :RETURNED
|
|
238
|
-
|
|
239
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status]
|
|
240
|
-
end
|
|
241
212
|
end
|
|
242
213
|
|
|
243
214
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_retrieve_transaction_response]
|
|
@@ -152,6 +152,7 @@ module Lithic
|
|
|
152
152
|
| :COLLECTION
|
|
153
153
|
| :LITHIC_PROGRAM_TRANSFER
|
|
154
154
|
| :BANK_PROGRAM_TRANSFER
|
|
155
|
+
| :INSTANCE_TO_INSTANCE
|
|
155
156
|
|
|
156
157
|
module Type
|
|
157
158
|
extend Lithic::Internal::Type::Enum
|
|
@@ -194,6 +195,7 @@ module Lithic
|
|
|
194
195
|
COLLECTION: :COLLECTION
|
|
195
196
|
LITHIC_PROGRAM_TRANSFER: :LITHIC_PROGRAM_TRANSFER
|
|
196
197
|
BANK_PROGRAM_TRANSFER: :BANK_PROGRAM_TRANSFER
|
|
198
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
197
199
|
|
|
198
200
|
def self?.values: -> ::Array[Lithic::Models::BookTransferCreateParams::type_]
|
|
199
201
|
end
|
|
@@ -232,6 +232,7 @@ module Lithic
|
|
|
232
232
|
| :COLLECTION
|
|
233
233
|
| :LITHIC_PROGRAM_TRANSFER
|
|
234
234
|
| :BANK_PROGRAM_TRANSFER
|
|
235
|
+
| :INSTANCE_TO_INSTANCE
|
|
235
236
|
|
|
236
237
|
module Type
|
|
237
238
|
extend Lithic::Internal::Type::Enum
|
|
@@ -274,6 +275,7 @@ module Lithic
|
|
|
274
275
|
COLLECTION: :COLLECTION
|
|
275
276
|
LITHIC_PROGRAM_TRANSFER: :LITHIC_PROGRAM_TRANSFER
|
|
276
277
|
BANK_PROGRAM_TRANSFER: :BANK_PROGRAM_TRANSFER
|
|
278
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
277
279
|
|
|
278
280
|
def self?.values: -> ::Array[Lithic::Models::BookTransferResponse::Event::type_]
|
|
279
281
|
end
|
|
@@ -725,11 +725,18 @@ module Lithic
|
|
|
725
725
|
end
|
|
726
726
|
|
|
727
727
|
type network =
|
|
728
|
-
:
|
|
728
|
+
:ALLPOINT
|
|
729
|
+
| :AMEX
|
|
730
|
+
| :INTERLINK
|
|
731
|
+
| :MAESTRO
|
|
732
|
+
| :MASTERCARD
|
|
733
|
+
| :UNKNOWN
|
|
734
|
+
| :VISA
|
|
729
735
|
|
|
730
736
|
module Network
|
|
731
737
|
extend Lithic::Internal::Type::Enum
|
|
732
738
|
|
|
739
|
+
ALLPOINT: :ALLPOINT
|
|
733
740
|
AMEX: :AMEX
|
|
734
741
|
INTERLINK: :INTERLINK
|
|
735
742
|
MAESTRO: :MAESTRO
|
|
@@ -8,6 +8,7 @@ module Lithic
|
|
|
8
8
|
category: Lithic::Models::Cards::FinancialTransactionListParams::category,
|
|
9
9
|
end_: Time,
|
|
10
10
|
ending_before: String,
|
|
11
|
+
page_size: Integer,
|
|
11
12
|
result: Lithic::Models::Cards::FinancialTransactionListParams::result,
|
|
12
13
|
starting_after: String,
|
|
13
14
|
status: Lithic::Models::Cards::FinancialTransactionListParams::status
|
|
@@ -38,6 +39,10 @@ module Lithic
|
|
|
38
39
|
|
|
39
40
|
def ending_before=: (String) -> String
|
|
40
41
|
|
|
42
|
+
attr_reader page_size: Integer?
|
|
43
|
+
|
|
44
|
+
def page_size=: (Integer) -> Integer
|
|
45
|
+
|
|
41
46
|
attr_reader result: Lithic::Models::Cards::FinancialTransactionListParams::result?
|
|
42
47
|
|
|
43
48
|
def result=: (
|
|
@@ -60,6 +65,7 @@ module Lithic
|
|
|
60
65
|
?category: Lithic::Models::Cards::FinancialTransactionListParams::category,
|
|
61
66
|
?end_: Time,
|
|
62
67
|
?ending_before: String,
|
|
68
|
+
?page_size: Integer,
|
|
63
69
|
?result: Lithic::Models::Cards::FinancialTransactionListParams::result,
|
|
64
70
|
?starting_after: String,
|
|
65
71
|
?status: Lithic::Models::Cards::FinancialTransactionListParams::status,
|
|
@@ -72,6 +78,7 @@ module Lithic
|
|
|
72
78
|
category: Lithic::Models::Cards::FinancialTransactionListParams::category,
|
|
73
79
|
end_: Time,
|
|
74
80
|
ending_before: String,
|
|
81
|
+
page_size: Integer,
|
|
75
82
|
result: Lithic::Models::Cards::FinancialTransactionListParams::result,
|
|
76
83
|
starting_after: String,
|
|
77
84
|
status: Lithic::Models::Cards::FinancialTransactionListParams::status,
|
|
@@ -11,6 +11,7 @@ module Lithic
|
|
|
11
11
|
event_type: :"claim.created",
|
|
12
12
|
outstanding_requirements: ::Array[Lithic::Models::ClaimCreatedWebhookEvent::outstanding_requirement],
|
|
13
13
|
reason: Lithic::Models::ClaimCreatedWebhookEvent::reason,
|
|
14
|
+
reference_id: String?,
|
|
14
15
|
status: Lithic::Models::ClaimCreatedWebhookEvent::status,
|
|
15
16
|
submitted: Time?,
|
|
16
17
|
updated: Time
|
|
@@ -35,6 +36,8 @@ module Lithic
|
|
|
35
36
|
|
|
36
37
|
attr_accessor reason: Lithic::Models::ClaimCreatedWebhookEvent::reason
|
|
37
38
|
|
|
39
|
+
attr_accessor reference_id: String?
|
|
40
|
+
|
|
38
41
|
attr_accessor status: Lithic::Models::ClaimCreatedWebhookEvent::status
|
|
39
42
|
|
|
40
43
|
attr_accessor submitted: Time?
|
|
@@ -50,6 +53,7 @@ module Lithic
|
|
|
50
53
|
disputed_transactions: ::Array[Lithic::ClaimCreatedWebhookEvent::DisputedTransaction],
|
|
51
54
|
outstanding_requirements: ::Array[Lithic::Models::ClaimCreatedWebhookEvent::outstanding_requirement],
|
|
52
55
|
reason: Lithic::Models::ClaimCreatedWebhookEvent::reason,
|
|
56
|
+
reference_id: String?,
|
|
53
57
|
status: Lithic::Models::ClaimCreatedWebhookEvent::status,
|
|
54
58
|
submitted: Time?,
|
|
55
59
|
updated: Time,
|
|
@@ -66,6 +70,7 @@ module Lithic
|
|
|
66
70
|
event_type: :"claim.created",
|
|
67
71
|
outstanding_requirements: ::Array[Lithic::Models::ClaimCreatedWebhookEvent::outstanding_requirement],
|
|
68
72
|
reason: Lithic::Models::ClaimCreatedWebhookEvent::reason,
|
|
73
|
+
reference_id: String?,
|
|
69
74
|
status: Lithic::Models::ClaimCreatedWebhookEvent::status,
|
|
70
75
|
submitted: Time?,
|
|
71
76
|
updated: Time
|
|
@@ -11,6 +11,7 @@ module Lithic
|
|
|
11
11
|
event_type: :"claim.updated",
|
|
12
12
|
outstanding_requirements: ::Array[Lithic::Models::ClaimUpdatedWebhookEvent::outstanding_requirement],
|
|
13
13
|
reason: Lithic::Models::ClaimUpdatedWebhookEvent::reason,
|
|
14
|
+
reference_id: String?,
|
|
14
15
|
status: Lithic::Models::ClaimUpdatedWebhookEvent::status,
|
|
15
16
|
submitted: Time?,
|
|
16
17
|
updated: Time
|
|
@@ -35,6 +36,8 @@ module Lithic
|
|
|
35
36
|
|
|
36
37
|
attr_accessor reason: Lithic::Models::ClaimUpdatedWebhookEvent::reason
|
|
37
38
|
|
|
39
|
+
attr_accessor reference_id: String?
|
|
40
|
+
|
|
38
41
|
attr_accessor status: Lithic::Models::ClaimUpdatedWebhookEvent::status
|
|
39
42
|
|
|
40
43
|
attr_accessor submitted: Time?
|
|
@@ -50,6 +53,7 @@ module Lithic
|
|
|
50
53
|
disputed_transactions: ::Array[Lithic::ClaimUpdatedWebhookEvent::DisputedTransaction],
|
|
51
54
|
outstanding_requirements: ::Array[Lithic::Models::ClaimUpdatedWebhookEvent::outstanding_requirement],
|
|
52
55
|
reason: Lithic::Models::ClaimUpdatedWebhookEvent::reason,
|
|
56
|
+
reference_id: String?,
|
|
53
57
|
status: Lithic::Models::ClaimUpdatedWebhookEvent::status,
|
|
54
58
|
submitted: Time?,
|
|
55
59
|
updated: Time,
|
|
@@ -66,6 +70,7 @@ module Lithic
|
|
|
66
70
|
event_type: :"claim.updated",
|
|
67
71
|
outstanding_requirements: ::Array[Lithic::Models::ClaimUpdatedWebhookEvent::outstanding_requirement],
|
|
68
72
|
reason: Lithic::Models::ClaimUpdatedWebhookEvent::reason,
|
|
73
|
+
reference_id: String?,
|
|
69
74
|
status: Lithic::Models::ClaimUpdatedWebhookEvent::status,
|
|
70
75
|
submitted: Time?,
|
|
71
76
|
updated: Time
|
|
@@ -6,8 +6,8 @@ module Lithic
|
|
|
6
6
|
available_amount: Integer,
|
|
7
7
|
created: Time,
|
|
8
8
|
currency: String,
|
|
9
|
-
last_transaction_event_token: String
|
|
10
|
-
last_transaction_token: String
|
|
9
|
+
last_transaction_event_token: String?,
|
|
10
|
+
last_transaction_token: String?,
|
|
11
11
|
pending_amount: Integer,
|
|
12
12
|
total_amount: Integer,
|
|
13
13
|
type: Lithic::Models::FinancialAccountBalance::type_,
|
|
@@ -23,9 +23,9 @@ module Lithic
|
|
|
23
23
|
|
|
24
24
|
attr_accessor currency: String
|
|
25
25
|
|
|
26
|
-
attr_accessor last_transaction_event_token: String
|
|
26
|
+
attr_accessor last_transaction_event_token: String?
|
|
27
27
|
|
|
28
|
-
attr_accessor last_transaction_token: String
|
|
28
|
+
attr_accessor last_transaction_token: String?
|
|
29
29
|
|
|
30
30
|
attr_accessor pending_amount: Integer
|
|
31
31
|
|
|
@@ -40,8 +40,8 @@ module Lithic
|
|
|
40
40
|
available_amount: Integer,
|
|
41
41
|
created: Time,
|
|
42
42
|
currency: String,
|
|
43
|
-
last_transaction_event_token: String
|
|
44
|
-
last_transaction_token: String
|
|
43
|
+
last_transaction_event_token: String?,
|
|
44
|
+
last_transaction_token: String?,
|
|
45
45
|
pending_amount: Integer,
|
|
46
46
|
total_amount: Integer,
|
|
47
47
|
type: Lithic::Models::FinancialAccountBalance::type_,
|
|
@@ -53,8 +53,8 @@ module Lithic
|
|
|
53
53
|
available_amount: Integer,
|
|
54
54
|
created: Time,
|
|
55
55
|
currency: String,
|
|
56
|
-
last_transaction_event_token: String
|
|
57
|
-
last_transaction_token: String
|
|
56
|
+
last_transaction_event_token: String?,
|
|
57
|
+
last_transaction_token: String?,
|
|
58
58
|
pending_amount: Integer,
|
|
59
59
|
total_amount: Integer,
|
|
60
60
|
type: Lithic::Models::FinancialAccountBalance::type_,
|
|
@@ -8,6 +8,7 @@ module Lithic
|
|
|
8
8
|
category: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::category,
|
|
9
9
|
end_: Time,
|
|
10
10
|
ending_before: String,
|
|
11
|
+
page_size: Integer,
|
|
11
12
|
result: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::result,
|
|
12
13
|
starting_after: String,
|
|
13
14
|
status: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::status
|
|
@@ -38,6 +39,10 @@ module Lithic
|
|
|
38
39
|
|
|
39
40
|
def ending_before=: (String) -> String
|
|
40
41
|
|
|
42
|
+
attr_reader page_size: Integer?
|
|
43
|
+
|
|
44
|
+
def page_size=: (Integer) -> Integer
|
|
45
|
+
|
|
41
46
|
attr_reader result: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::result?
|
|
42
47
|
|
|
43
48
|
def result=: (
|
|
@@ -60,6 +65,7 @@ module Lithic
|
|
|
60
65
|
?category: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::category,
|
|
61
66
|
?end_: Time,
|
|
62
67
|
?ending_before: String,
|
|
68
|
+
?page_size: Integer,
|
|
63
69
|
?result: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::result,
|
|
64
70
|
?starting_after: String,
|
|
65
71
|
?status: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::status,
|
|
@@ -72,6 +78,7 @@ module Lithic
|
|
|
72
78
|
category: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::category,
|
|
73
79
|
end_: Time,
|
|
74
80
|
ending_before: String,
|
|
81
|
+
page_size: Integer,
|
|
75
82
|
result: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::result,
|
|
76
83
|
starting_after: String,
|
|
77
84
|
status: Lithic::Models::FinancialAccounts::FinancialTransactionListParams::status,
|
|
@@ -5,9 +5,9 @@ module Lithic
|
|
|
5
5
|
{
|
|
6
6
|
credit_product_token: String,
|
|
7
7
|
effective_date: Date,
|
|
8
|
-
penalty_rates: top
|
|
9
|
-
tier_name: String
|
|
10
|
-
tier_rates: top
|
|
8
|
+
penalty_rates: top?,
|
|
9
|
+
tier_name: String?,
|
|
10
|
+
tier_rates: top?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class FinancialAccountsInterestTierSchedule < Lithic::Internal::Type::BaseModel
|
|
@@ -15,32 +15,26 @@ module Lithic
|
|
|
15
15
|
|
|
16
16
|
attr_accessor effective_date: Date
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
attr_accessor penalty_rates: top?
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
attr_accessor tier_name: String?
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def tier_name=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_reader tier_rates: top?
|
|
27
|
-
|
|
28
|
-
def tier_rates=: (top) -> top
|
|
22
|
+
attr_accessor tier_rates: top?
|
|
29
23
|
|
|
30
24
|
def initialize: (
|
|
31
25
|
credit_product_token: String,
|
|
32
26
|
effective_date: Date,
|
|
33
|
-
?penalty_rates: top
|
|
34
|
-
?tier_name: String
|
|
35
|
-
?tier_rates: top
|
|
27
|
+
?penalty_rates: top?,
|
|
28
|
+
?tier_name: String?,
|
|
29
|
+
?tier_rates: top?
|
|
36
30
|
) -> void
|
|
37
31
|
|
|
38
32
|
def to_hash: -> {
|
|
39
33
|
credit_product_token: String,
|
|
40
34
|
effective_date: Date,
|
|
41
|
-
penalty_rates: top
|
|
42
|
-
tier_name: String
|
|
43
|
-
tier_rates: top
|
|
35
|
+
penalty_rates: top?,
|
|
36
|
+
tier_name: String?,
|
|
37
|
+
tier_rates: top?
|
|
44
38
|
}
|
|
45
39
|
end
|
|
46
40
|
end
|
|
@@ -5,9 +5,9 @@ module Lithic
|
|
|
5
5
|
{
|
|
6
6
|
financial_account_token: String,
|
|
7
7
|
effective_date: Date,
|
|
8
|
-
penalty_rates: top
|
|
9
|
-
tier_name: String
|
|
10
|
-
tier_rates: top
|
|
8
|
+
penalty_rates: top?,
|
|
9
|
+
tier_name: String?,
|
|
10
|
+
tier_rates: top?
|
|
11
11
|
}
|
|
12
12
|
& Lithic::Internal::Type::request_parameters
|
|
13
13
|
|
|
@@ -19,33 +19,27 @@ module Lithic
|
|
|
19
19
|
|
|
20
20
|
attr_accessor effective_date: Date
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
attr_accessor penalty_rates: top?
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
attr_accessor tier_name: String?
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
def tier_name=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_reader tier_rates: top?
|
|
31
|
-
|
|
32
|
-
def tier_rates=: (top) -> top
|
|
26
|
+
attr_accessor tier_rates: top?
|
|
33
27
|
|
|
34
28
|
def initialize: (
|
|
35
29
|
financial_account_token: String,
|
|
36
30
|
effective_date: Date,
|
|
37
|
-
?penalty_rates: top
|
|
38
|
-
?tier_name: String
|
|
39
|
-
?tier_rates: top
|
|
31
|
+
?penalty_rates: top?,
|
|
32
|
+
?tier_name: String?,
|
|
33
|
+
?tier_rates: top?,
|
|
40
34
|
?request_options: Lithic::request_opts
|
|
41
35
|
) -> void
|
|
42
36
|
|
|
43
37
|
def to_hash: -> {
|
|
44
38
|
financial_account_token: String,
|
|
45
39
|
effective_date: Date,
|
|
46
|
-
penalty_rates: top
|
|
47
|
-
tier_name: String
|
|
48
|
-
tier_rates: top
|
|
40
|
+
penalty_rates: top?,
|
|
41
|
+
tier_name: String?,
|
|
42
|
+
tier_rates: top?,
|
|
49
43
|
request_options: Lithic::RequestOptions
|
|
50
44
|
}
|
|
51
45
|
end
|
|
@@ -257,7 +257,8 @@ module Lithic
|
|
|
257
257
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
258
258
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
259
259
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
260
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
260
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
261
|
+
installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
class Balances < Lithic::Internal::Type::BaseModel
|
|
@@ -269,18 +270,22 @@ module Lithic
|
|
|
269
270
|
|
|
270
271
|
attr_accessor past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
271
272
|
|
|
273
|
+
attr_accessor installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
274
|
+
|
|
272
275
|
def initialize: (
|
|
273
276
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
274
277
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
275
278
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
276
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
279
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
280
|
+
?installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
277
281
|
) -> void
|
|
278
282
|
|
|
279
283
|
def to_hash: -> {
|
|
280
284
|
due: Lithic::FinancialAccounts::CategoryBalances,
|
|
281
285
|
next_statement_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
282
286
|
past_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
283
|
-
past_statements_due: Lithic::FinancialAccounts::CategoryBalances
|
|
287
|
+
past_statements_due: Lithic::FinancialAccounts::CategoryBalances,
|
|
288
|
+
installments: Lithic::FinancialAccounts::CategoryBalances?
|
|
284
289
|
}
|
|
285
290
|
end
|
|
286
291
|
|
|
@@ -112,6 +112,7 @@ module Lithic
|
|
|
112
112
|
:ACH
|
|
113
113
|
| :WIRE
|
|
114
114
|
| :STABLECOIN
|
|
115
|
+
| :INTRA_BANK
|
|
115
116
|
| :BALANCE_OR_FUNDING
|
|
116
117
|
| :FEE
|
|
117
118
|
| :REWARD
|
|
@@ -141,6 +142,7 @@ module Lithic
|
|
|
141
142
|
ACH: :ACH
|
|
142
143
|
WIRE: :WIRE
|
|
143
144
|
STABLECOIN: :STABLECOIN
|
|
145
|
+
INTRA_BANK: :INTRA_BANK
|
|
144
146
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
145
147
|
FEE: :FEE
|
|
146
148
|
REWARD: :REWARD
|
|
@@ -245,6 +247,9 @@ module Lithic
|
|
|
245
247
|
| :INTEREST
|
|
246
248
|
| :INTEREST_REVERSAL
|
|
247
249
|
| :INTERNAL_ADJUSTMENT
|
|
250
|
+
| :INTRA_BANK_CANCELED
|
|
251
|
+
| :INTRA_BANK_INITIATED
|
|
252
|
+
| :INTRA_BANK_SETTLED
|
|
248
253
|
| :LATE_PAYMENT
|
|
249
254
|
| :LATE_PAYMENT_REVERSAL
|
|
250
255
|
| :LOSS_WRITE_OFF
|
|
@@ -273,6 +278,7 @@ module Lithic
|
|
|
273
278
|
| :STABLECOIN_SENT
|
|
274
279
|
| :STABLECOIN_SETTLED
|
|
275
280
|
| :STABLECOIN_REJECTED
|
|
281
|
+
| :INSTANCE_TO_INSTANCE
|
|
276
282
|
|
|
277
283
|
module EventType
|
|
278
284
|
extend Lithic::Internal::Type::Enum
|
|
@@ -354,6 +360,9 @@ module Lithic
|
|
|
354
360
|
INTEREST: :INTEREST
|
|
355
361
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
356
362
|
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
363
|
+
INTRA_BANK_CANCELED: :INTRA_BANK_CANCELED
|
|
364
|
+
INTRA_BANK_INITIATED: :INTRA_BANK_INITIATED
|
|
365
|
+
INTRA_BANK_SETTLED: :INTRA_BANK_SETTLED
|
|
357
366
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
358
367
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
359
368
|
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
@@ -382,6 +391,7 @@ module Lithic
|
|
|
382
391
|
STABLECOIN_SENT: :STABLECOIN_SENT
|
|
383
392
|
STABLECOIN_SETTLED: :STABLECOIN_SETTLED
|
|
384
393
|
STABLECOIN_REJECTED: :STABLECOIN_REJECTED
|
|
394
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
385
395
|
|
|
386
396
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::event_type]
|
|
387
397
|
end
|
|
@@ -139,6 +139,9 @@ module Lithic
|
|
|
139
139
|
| :INTEREST
|
|
140
140
|
| :INTEREST_REVERSAL
|
|
141
141
|
| :INTERNAL_ADJUSTMENT
|
|
142
|
+
| :INTRA_BANK_CANCELED
|
|
143
|
+
| :INTRA_BANK_INITIATED
|
|
144
|
+
| :INTRA_BANK_SETTLED
|
|
142
145
|
| :LATE_PAYMENT
|
|
143
146
|
| :LATE_PAYMENT_REVERSAL
|
|
144
147
|
| :LOSS_WRITE_OFF
|
|
@@ -167,6 +170,7 @@ module Lithic
|
|
|
167
170
|
| :STABLECOIN_SENT
|
|
168
171
|
| :STABLECOIN_SETTLED
|
|
169
172
|
| :STABLECOIN_REJECTED
|
|
173
|
+
| :INSTANCE_TO_INSTANCE
|
|
170
174
|
|
|
171
175
|
module Type
|
|
172
176
|
extend Lithic::Internal::Type::Enum
|
|
@@ -248,6 +252,9 @@ module Lithic
|
|
|
248
252
|
INTEREST: :INTEREST
|
|
249
253
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
250
254
|
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
255
|
+
INTRA_BANK_CANCELED: :INTRA_BANK_CANCELED
|
|
256
|
+
INTRA_BANK_INITIATED: :INTRA_BANK_INITIATED
|
|
257
|
+
INTRA_BANK_SETTLED: :INTRA_BANK_SETTLED
|
|
251
258
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
252
259
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
253
260
|
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
@@ -276,6 +283,7 @@ module Lithic
|
|
|
276
283
|
STABLECOIN_SENT: :STABLECOIN_SENT
|
|
277
284
|
STABLECOIN_SETTLED: :STABLECOIN_SETTLED
|
|
278
285
|
STABLECOIN_REJECTED: :STABLECOIN_REJECTED
|
|
286
|
+
INSTANCE_TO_INSTANCE: :INSTANCE_TO_INSTANCE
|
|
279
287
|
|
|
280
288
|
def self?.values: -> ::Array[Lithic::Models::FinancialEvent::type_]
|
|
281
289
|
end
|
|
@@ -1,17 +1,36 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
3
|
type funding_event_list_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
begin_: Time,
|
|
6
|
+
end_: Time,
|
|
7
|
+
ending_before: String,
|
|
8
|
+
network_settlement_date: Date,
|
|
9
|
+
page_size: Integer,
|
|
10
|
+
starting_after: String
|
|
11
|
+
}
|
|
5
12
|
& Lithic::Internal::Type::request_parameters
|
|
6
13
|
|
|
7
14
|
class FundingEventListParams < Lithic::Internal::Type::BaseModel
|
|
8
15
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
16
|
include Lithic::Internal::Type::RequestParameters
|
|
10
17
|
|
|
18
|
+
attr_reader begin_: Time?
|
|
19
|
+
|
|
20
|
+
def begin_=: (Time) -> Time
|
|
21
|
+
|
|
22
|
+
attr_reader end_: Time?
|
|
23
|
+
|
|
24
|
+
def end_=: (Time) -> Time
|
|
25
|
+
|
|
11
26
|
attr_reader ending_before: String?
|
|
12
27
|
|
|
13
28
|
def ending_before=: (String) -> String
|
|
14
29
|
|
|
30
|
+
attr_reader network_settlement_date: Date?
|
|
31
|
+
|
|
32
|
+
def network_settlement_date=: (Date) -> Date
|
|
33
|
+
|
|
15
34
|
attr_reader page_size: Integer?
|
|
16
35
|
|
|
17
36
|
def page_size=: (Integer) -> Integer
|
|
@@ -21,14 +40,20 @@ module Lithic
|
|
|
21
40
|
def starting_after=: (String) -> String
|
|
22
41
|
|
|
23
42
|
def initialize: (
|
|
43
|
+
?begin_: Time,
|
|
44
|
+
?end_: Time,
|
|
24
45
|
?ending_before: String,
|
|
46
|
+
?network_settlement_date: Date,
|
|
25
47
|
?page_size: Integer,
|
|
26
48
|
?starting_after: String,
|
|
27
49
|
?request_options: Lithic::request_opts
|
|
28
50
|
) -> void
|
|
29
51
|
|
|
30
52
|
def to_hash: -> {
|
|
53
|
+
begin_: Time,
|
|
54
|
+
end_: Time,
|
|
31
55
|
ending_before: String,
|
|
56
|
+
network_settlement_date: Date,
|
|
32
57
|
page_size: Integer,
|
|
33
58
|
starting_after: String,
|
|
34
59
|
request_options: Lithic::RequestOptions
|