lithic 0.19.0 → 0.21.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -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 +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +5 -0
- data/lib/lithic/models/auth_rules/card_transaction_update_action.rb +1 -0
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -0
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +3 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +24 -1
- data/lib/lithic/models/blockchain_recipient.rb +148 -0
- data/lib/lithic/models/blockchain_recipient_create_params.rb +74 -0
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/card_provision_params.rb +10 -8
- data/lib/lithic/models/card_reassign_account_params.rb +29 -0
- data/lib/lithic/models/dispute_v2.rb +178 -130
- data/lib/lithic/models/disputes_v2_list_params.rb +10 -1
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +14 -1
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +13 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +12 -0
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment.rb +68 -9
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +2 -2
- data/lib/lithic/models/transaction.rb +2 -0
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +13 -4
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +4 -2
- data/lib/lithic/models.rb +12 -0
- data/lib/lithic/resources/blockchain_recipients.rb +80 -0
- data/lib/lithic/resources/cards.rb +33 -4
- data/lib/lithic/resources/disputes_v2.rb +3 -1
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +82 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transaction_monitoring/cases.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +17 -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 +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +7 -0
- data/rbi/lithic/models/auth_rules/card_transaction_update_action.rbi +5 -0
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +15 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +30 -0
- data/rbi/lithic/models/blockchain_recipient.rbi +209 -0
- data/rbi/lithic/models/blockchain_recipient_create_params.rbi +102 -0
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card.rbi +2 -2
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/card_provision_params.rbi +16 -12
- data/rbi/lithic/models/card_reassign_account_params.rbi +49 -0
- data/rbi/lithic/models/dispute_v2.rbi +285 -181
- data/rbi/lithic/models/disputes_v2_list_params.rbi +13 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +65 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +47 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment.rbi +108 -10
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/tokenization_simulate_params.rbi +2 -2
- data/rbi/lithic/models/transaction.rbi +10 -0
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +27 -5
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +6 -2
- data/rbi/lithic/models.rbi +14 -0
- data/rbi/lithic/resources/blockchain_recipients.rbi +65 -0
- data/rbi/lithic/resources/cards.rbi +31 -8
- data/rbi/lithic/resources/disputes_v2.rbi +4 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +66 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +3 -1
- data/rbi/lithic/resources/webhooks.rbi +1 -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 +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/card_transaction_update_action.rbs +2 -1
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +6 -2
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +10 -0
- data/sig/lithic/models/blockchain_recipient.rbs +106 -0
- data/sig/lithic/models/blockchain_recipient_create_params.rbs +60 -0
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/card_reassign_account_params.rbs +28 -0
- data/sig/lithic/models/dispute_v2.rbs +145 -101
- data/sig/lithic/models/disputes_v2_list_params.rbs +7 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_account.rbs +5 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +26 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +24 -0
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment.rbs +33 -1
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +7 -5
- data/sig/lithic/models.rbs +12 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +23 -0
- data/sig/lithic/resources/cards.rbs +6 -0
- data/sig/lithic/resources/disputes_v2.rbs +1 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +24 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +53 -2
|
@@ -131,6 +131,7 @@ module Lithic
|
|
|
131
131
|
| :EXTERNAL_CHECK
|
|
132
132
|
| :EXTERNAL_FEDNOW
|
|
133
133
|
| :EXTERNAL_RTP
|
|
134
|
+
| :EXTERNAL_STABLECOIN
|
|
134
135
|
| :EXTERNAL_TRANSFER
|
|
135
136
|
|
|
136
137
|
module Category
|
|
@@ -141,6 +142,7 @@ module Lithic
|
|
|
141
142
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
142
143
|
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
143
144
|
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
145
|
+
EXTERNAL_STABLECOIN: :EXTERNAL_STABLECOIN
|
|
144
146
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
145
147
|
|
|
146
148
|
def self?.values: -> ::Array[Lithic::Models::ExternalPayment::category]
|
|
@@ -250,6 +252,11 @@ module Lithic
|
|
|
250
252
|
| :EXTERNAL_RTP_SETTLED
|
|
251
253
|
| :EXTERNAL_RTP_REVERSED
|
|
252
254
|
| :EXTERNAL_RTP_RELEASED
|
|
255
|
+
| :EXTERNAL_STABLECOIN_INITIATED
|
|
256
|
+
| :EXTERNAL_STABLECOIN_CANCELED
|
|
257
|
+
| :EXTERNAL_STABLECOIN_SETTLED
|
|
258
|
+
| :EXTERNAL_STABLECOIN_REVERSED
|
|
259
|
+
| :EXTERNAL_STABLECOIN_RELEASED
|
|
253
260
|
|
|
254
261
|
module Type
|
|
255
262
|
extend Lithic::Internal::Type::Enum
|
|
@@ -284,6 +291,11 @@ module Lithic
|
|
|
284
291
|
EXTERNAL_RTP_SETTLED: :EXTERNAL_RTP_SETTLED
|
|
285
292
|
EXTERNAL_RTP_REVERSED: :EXTERNAL_RTP_REVERSED
|
|
286
293
|
EXTERNAL_RTP_RELEASED: :EXTERNAL_RTP_RELEASED
|
|
294
|
+
EXTERNAL_STABLECOIN_INITIATED: :EXTERNAL_STABLECOIN_INITIATED
|
|
295
|
+
EXTERNAL_STABLECOIN_CANCELED: :EXTERNAL_STABLECOIN_CANCELED
|
|
296
|
+
EXTERNAL_STABLECOIN_SETTLED: :EXTERNAL_STABLECOIN_SETTLED
|
|
297
|
+
EXTERNAL_STABLECOIN_REVERSED: :EXTERNAL_STABLECOIN_REVERSED
|
|
298
|
+
EXTERNAL_STABLECOIN_RELEASED: :EXTERNAL_STABLECOIN_RELEASED
|
|
287
299
|
|
|
288
300
|
def self?.values: -> ::Array[Lithic::Models::ExternalPayment::Event::type_]
|
|
289
301
|
end
|
|
@@ -78,6 +78,7 @@ module Lithic
|
|
|
78
78
|
| :EXTERNAL_CHECK
|
|
79
79
|
| :EXTERNAL_FEDNOW
|
|
80
80
|
| :EXTERNAL_RTP
|
|
81
|
+
| :EXTERNAL_STABLECOIN
|
|
81
82
|
| :EXTERNAL_TRANSFER
|
|
82
83
|
|
|
83
84
|
module Category
|
|
@@ -88,6 +89,7 @@ module Lithic
|
|
|
88
89
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
89
90
|
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
90
91
|
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
92
|
+
EXTERNAL_STABLECOIN: :EXTERNAL_STABLECOIN
|
|
91
93
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
92
94
|
|
|
93
95
|
def self?.values: -> ::Array[Lithic::Models::ExternalPaymentCreateParams::category]
|
|
@@ -99,6 +99,7 @@ module Lithic
|
|
|
99
99
|
| :EXTERNAL_CHECK
|
|
100
100
|
| :EXTERNAL_FEDNOW
|
|
101
101
|
| :EXTERNAL_RTP
|
|
102
|
+
| :EXTERNAL_STABLECOIN
|
|
102
103
|
| :EXTERNAL_TRANSFER
|
|
103
104
|
|
|
104
105
|
module Category
|
|
@@ -109,6 +110,7 @@ module Lithic
|
|
|
109
110
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
110
111
|
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
111
112
|
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
113
|
+
EXTERNAL_STABLECOIN: :EXTERNAL_STABLECOIN
|
|
112
114
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
113
115
|
|
|
114
116
|
def self?.values: -> ::Array[Lithic::Models::ExternalPaymentListParams::category]
|
|
@@ -14,6 +14,7 @@ module Lithic
|
|
|
14
14
|
updated: Time,
|
|
15
15
|
user_defined_status: String?,
|
|
16
16
|
account_number: String?,
|
|
17
|
+
blockchain_addresses: ::Hash[Symbol, String]?,
|
|
17
18
|
routing_number: String?
|
|
18
19
|
}
|
|
19
20
|
|
|
@@ -42,6 +43,8 @@ module Lithic
|
|
|
42
43
|
|
|
43
44
|
attr_accessor account_number: String?
|
|
44
45
|
|
|
46
|
+
attr_accessor blockchain_addresses: ::Hash[Symbol, String]?
|
|
47
|
+
|
|
45
48
|
attr_accessor routing_number: String?
|
|
46
49
|
|
|
47
50
|
def initialize: (
|
|
@@ -57,6 +60,7 @@ module Lithic
|
|
|
57
60
|
updated: Time,
|
|
58
61
|
user_defined_status: String?,
|
|
59
62
|
?account_number: String?,
|
|
63
|
+
?blockchain_addresses: ::Hash[Symbol, String]?,
|
|
60
64
|
?routing_number: String?
|
|
61
65
|
) -> void
|
|
62
66
|
|
|
@@ -73,6 +77,7 @@ module Lithic
|
|
|
73
77
|
updated: Time,
|
|
74
78
|
user_defined_status: String?,
|
|
75
79
|
account_number: String?,
|
|
80
|
+
blockchain_addresses: ::Hash[Symbol, String]?,
|
|
76
81
|
routing_number: String?
|
|
77
82
|
}
|
|
78
83
|
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type installment_plan =
|
|
5
|
+
{
|
|
6
|
+
token: String,
|
|
7
|
+
closed_at: Date?,
|
|
8
|
+
created: Time,
|
|
9
|
+
fee_amount: Integer,
|
|
10
|
+
financial_account_token: String,
|
|
11
|
+
installment_plan_total: Integer,
|
|
12
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment],
|
|
13
|
+
installments_outstanding: Integer,
|
|
14
|
+
installments_paid: Integer,
|
|
15
|
+
num_installments: Integer,
|
|
16
|
+
principal_amount: Integer,
|
|
17
|
+
source_amounts: Lithic::FinancialAccounts::TransactionCategoryBalances?,
|
|
18
|
+
source_id: String,
|
|
19
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlan::source_type,
|
|
20
|
+
start_date: Date,
|
|
21
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlan::state,
|
|
22
|
+
total_paid: Integer,
|
|
23
|
+
updated: Time
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
class InstallmentPlan < Lithic::Internal::Type::BaseModel
|
|
27
|
+
attr_accessor token: String
|
|
28
|
+
|
|
29
|
+
attr_accessor closed_at: Date?
|
|
30
|
+
|
|
31
|
+
attr_accessor created: Time
|
|
32
|
+
|
|
33
|
+
attr_accessor fee_amount: Integer
|
|
34
|
+
|
|
35
|
+
attr_accessor financial_account_token: String
|
|
36
|
+
|
|
37
|
+
attr_accessor installment_plan_total: Integer
|
|
38
|
+
|
|
39
|
+
attr_accessor installments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment]
|
|
40
|
+
|
|
41
|
+
attr_accessor installments_outstanding: Integer
|
|
42
|
+
|
|
43
|
+
attr_accessor installments_paid: Integer
|
|
44
|
+
|
|
45
|
+
attr_accessor num_installments: Integer
|
|
46
|
+
|
|
47
|
+
attr_accessor principal_amount: Integer
|
|
48
|
+
|
|
49
|
+
attr_accessor source_amounts: Lithic::FinancialAccounts::TransactionCategoryBalances?
|
|
50
|
+
|
|
51
|
+
attr_accessor source_id: String
|
|
52
|
+
|
|
53
|
+
attr_accessor source_type: Lithic::Models::FinancialAccounts::InstallmentPlan::source_type
|
|
54
|
+
|
|
55
|
+
attr_accessor start_date: Date
|
|
56
|
+
|
|
57
|
+
attr_accessor state: Lithic::Models::FinancialAccounts::InstallmentPlan::state
|
|
58
|
+
|
|
59
|
+
attr_accessor total_paid: Integer
|
|
60
|
+
|
|
61
|
+
attr_accessor updated: Time
|
|
62
|
+
|
|
63
|
+
def initialize: (
|
|
64
|
+
token: String,
|
|
65
|
+
closed_at: Date?,
|
|
66
|
+
created: Time,
|
|
67
|
+
fee_amount: Integer,
|
|
68
|
+
financial_account_token: String,
|
|
69
|
+
installment_plan_total: Integer,
|
|
70
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment],
|
|
71
|
+
installments_outstanding: Integer,
|
|
72
|
+
installments_paid: Integer,
|
|
73
|
+
num_installments: Integer,
|
|
74
|
+
principal_amount: Integer,
|
|
75
|
+
source_amounts: Lithic::FinancialAccounts::TransactionCategoryBalances?,
|
|
76
|
+
source_id: String,
|
|
77
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlan::source_type,
|
|
78
|
+
start_date: Date,
|
|
79
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlan::state,
|
|
80
|
+
total_paid: Integer,
|
|
81
|
+
updated: Time
|
|
82
|
+
) -> void
|
|
83
|
+
|
|
84
|
+
def to_hash: -> {
|
|
85
|
+
token: String,
|
|
86
|
+
closed_at: Date?,
|
|
87
|
+
created: Time,
|
|
88
|
+
fee_amount: Integer,
|
|
89
|
+
financial_account_token: String,
|
|
90
|
+
installment_plan_total: Integer,
|
|
91
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment],
|
|
92
|
+
installments_outstanding: Integer,
|
|
93
|
+
installments_paid: Integer,
|
|
94
|
+
num_installments: Integer,
|
|
95
|
+
principal_amount: Integer,
|
|
96
|
+
source_amounts: Lithic::FinancialAccounts::TransactionCategoryBalances?,
|
|
97
|
+
source_id: String,
|
|
98
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlan::source_type,
|
|
99
|
+
start_date: Date,
|
|
100
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlan::state,
|
|
101
|
+
total_paid: Integer,
|
|
102
|
+
updated: Time
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
type installment =
|
|
106
|
+
{
|
|
107
|
+
amount_due: Integer,
|
|
108
|
+
amount_due_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
109
|
+
amount_outstanding: Integer,
|
|
110
|
+
amount_outstanding_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
111
|
+
amount_paid: Integer,
|
|
112
|
+
amount_paid_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
113
|
+
date_assessed: Date?,
|
|
114
|
+
due_date: Date,
|
|
115
|
+
installment_num: Integer,
|
|
116
|
+
payment_due_date: Date,
|
|
117
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment]
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class Installment < Lithic::Internal::Type::BaseModel
|
|
121
|
+
attr_accessor amount_due: Integer
|
|
122
|
+
|
|
123
|
+
attr_accessor amount_due_details: Lithic::FinancialAccounts::TransactionCategoryBalances
|
|
124
|
+
|
|
125
|
+
attr_accessor amount_outstanding: Integer
|
|
126
|
+
|
|
127
|
+
attr_accessor amount_outstanding_details: Lithic::FinancialAccounts::TransactionCategoryBalances
|
|
128
|
+
|
|
129
|
+
attr_accessor amount_paid: Integer
|
|
130
|
+
|
|
131
|
+
attr_accessor amount_paid_details: Lithic::FinancialAccounts::TransactionCategoryBalances
|
|
132
|
+
|
|
133
|
+
attr_accessor date_assessed: Date?
|
|
134
|
+
|
|
135
|
+
attr_accessor due_date: Date
|
|
136
|
+
|
|
137
|
+
attr_accessor installment_num: Integer
|
|
138
|
+
|
|
139
|
+
attr_accessor payment_due_date: Date
|
|
140
|
+
|
|
141
|
+
attr_accessor payments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment]
|
|
142
|
+
|
|
143
|
+
def initialize: (
|
|
144
|
+
amount_due: Integer,
|
|
145
|
+
amount_due_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
146
|
+
amount_outstanding: Integer,
|
|
147
|
+
amount_outstanding_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
148
|
+
amount_paid: Integer,
|
|
149
|
+
amount_paid_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
150
|
+
date_assessed: Date?,
|
|
151
|
+
due_date: Date,
|
|
152
|
+
installment_num: Integer,
|
|
153
|
+
payment_due_date: Date,
|
|
154
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment]
|
|
155
|
+
) -> void
|
|
156
|
+
|
|
157
|
+
def to_hash: -> {
|
|
158
|
+
amount_due: Integer,
|
|
159
|
+
amount_due_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
160
|
+
amount_outstanding: Integer,
|
|
161
|
+
amount_outstanding_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
162
|
+
amount_paid: Integer,
|
|
163
|
+
amount_paid_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
164
|
+
date_assessed: Date?,
|
|
165
|
+
due_date: Date,
|
|
166
|
+
installment_num: Integer,
|
|
167
|
+
payment_due_date: Date,
|
|
168
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlan::Installment::Payment]
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
type payment =
|
|
172
|
+
{
|
|
173
|
+
amount: Integer,
|
|
174
|
+
amount_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
175
|
+
date: Date
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
class Payment < Lithic::Internal::Type::BaseModel
|
|
179
|
+
attr_accessor amount: Integer
|
|
180
|
+
|
|
181
|
+
attr_accessor amount_details: Lithic::FinancialAccounts::TransactionCategoryBalances
|
|
182
|
+
|
|
183
|
+
attr_accessor date: Date
|
|
184
|
+
|
|
185
|
+
def initialize: (
|
|
186
|
+
amount: Integer,
|
|
187
|
+
amount_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
188
|
+
date: Date
|
|
189
|
+
) -> void
|
|
190
|
+
|
|
191
|
+
def to_hash: -> {
|
|
192
|
+
amount: Integer,
|
|
193
|
+
amount_details: Lithic::FinancialAccounts::TransactionCategoryBalances,
|
|
194
|
+
date: Date
|
|
195
|
+
}
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
type source_type = :UNPAID_BALANCE | :TRANSACTION
|
|
200
|
+
|
|
201
|
+
module SourceType
|
|
202
|
+
extend Lithic::Internal::Type::Enum
|
|
203
|
+
|
|
204
|
+
UNPAID_BALANCE: :UNPAID_BALANCE
|
|
205
|
+
TRANSACTION: :TRANSACTION
|
|
206
|
+
|
|
207
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlan::source_type]
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
type state =
|
|
211
|
+
:PENDING | :ACTIVE | :REBUILD_IN_PROGRESS | :FULLY_PAID | :CANCELLED
|
|
212
|
+
|
|
213
|
+
module State
|
|
214
|
+
extend Lithic::Internal::Type::Enum
|
|
215
|
+
|
|
216
|
+
PENDING: :PENDING
|
|
217
|
+
ACTIVE: :ACTIVE
|
|
218
|
+
REBUILD_IN_PROGRESS: :REBUILD_IN_PROGRESS
|
|
219
|
+
FULLY_PAID: :FULLY_PAID
|
|
220
|
+
CANCELLED: :CANCELLED
|
|
221
|
+
|
|
222
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlan::state]
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
end
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type installment_plan_list_params =
|
|
5
|
+
{
|
|
6
|
+
financial_account_token: String,
|
|
7
|
+
ending_before: String,
|
|
8
|
+
page_size: Integer,
|
|
9
|
+
starting_after: String,
|
|
10
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlanListParams::state?
|
|
11
|
+
}
|
|
12
|
+
& Lithic::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class InstallmentPlanListParams < Lithic::Internal::Type::BaseModel
|
|
15
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Lithic::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor financial_account_token: String
|
|
19
|
+
|
|
20
|
+
attr_reader ending_before: String?
|
|
21
|
+
|
|
22
|
+
def ending_before=: (String) -> String
|
|
23
|
+
|
|
24
|
+
attr_reader page_size: Integer?
|
|
25
|
+
|
|
26
|
+
def page_size=: (Integer) -> Integer
|
|
27
|
+
|
|
28
|
+
attr_reader starting_after: String?
|
|
29
|
+
|
|
30
|
+
def starting_after=: (String) -> String
|
|
31
|
+
|
|
32
|
+
attr_accessor state: Lithic::Models::FinancialAccounts::InstallmentPlanListParams::state?
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
financial_account_token: String,
|
|
36
|
+
?ending_before: String,
|
|
37
|
+
?page_size: Integer,
|
|
38
|
+
?starting_after: String,
|
|
39
|
+
?state: Lithic::Models::FinancialAccounts::InstallmentPlanListParams::state?,
|
|
40
|
+
?request_options: Lithic::request_opts
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
financial_account_token: String,
|
|
45
|
+
ending_before: String,
|
|
46
|
+
page_size: Integer,
|
|
47
|
+
starting_after: String,
|
|
48
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlanListParams::state?,
|
|
49
|
+
request_options: Lithic::RequestOptions
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type state =
|
|
53
|
+
:PENDING | :ACTIVE | :REBUILD_IN_PROGRESS | :FULLY_PAID | :CANCELLED
|
|
54
|
+
|
|
55
|
+
module State
|
|
56
|
+
extend Lithic::Internal::Type::Enum
|
|
57
|
+
|
|
58
|
+
PENDING: :PENDING
|
|
59
|
+
ACTIVE: :ACTIVE
|
|
60
|
+
REBUILD_IN_PROGRESS: :REBUILD_IN_PROGRESS
|
|
61
|
+
FULLY_PAID: :FULLY_PAID
|
|
62
|
+
CANCELLED: :CANCELLED
|
|
63
|
+
|
|
64
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlanListParams::state]
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type installment_plan_retrieve_params =
|
|
5
|
+
{ financial_account_token: String, installment_plan_token: String }
|
|
6
|
+
& Lithic::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class InstallmentPlanRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor financial_account_token: String
|
|
13
|
+
|
|
14
|
+
attr_accessor installment_plan_token: String
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
financial_account_token: String,
|
|
18
|
+
installment_plan_token: String,
|
|
19
|
+
?request_options: Lithic::request_opts
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
financial_account_token: String,
|
|
24
|
+
installment_plan_token: String,
|
|
25
|
+
request_options: Lithic::RequestOptions
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type financial_accounts_open_to_buy =
|
|
5
|
+
{
|
|
6
|
+
open_to_buy: Integer,
|
|
7
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class FinancialAccountsOpenToBuy < Lithic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor open_to_buy: Integer
|
|
12
|
+
|
|
13
|
+
attr_accessor summary: Lithic::FinancialAccounts::OpenToBuySummary
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
open_to_buy: Integer,
|
|
17
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
open_to_buy: Integer,
|
|
22
|
+
summary: Lithic::FinancialAccounts::OpenToBuySummary
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type open_to_buy_retrieve_params =
|
|
5
|
+
{ financial_account_token: String }
|
|
6
|
+
& Lithic::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class OpenToBuyRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor financial_account_token: String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
financial_account_token: String,
|
|
16
|
+
?request_options: Lithic::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
financial_account_token: String,
|
|
21
|
+
request_options: Lithic::RequestOptions
|
|
22
|
+
}
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type open_to_buy_summary =
|
|
5
|
+
{
|
|
6
|
+
security: Integer,
|
|
7
|
+
settled_funds: Integer?,
|
|
8
|
+
total_outstanding_spend: Integer
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class OpenToBuySummary < Lithic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor security: Integer
|
|
13
|
+
|
|
14
|
+
attr_accessor settled_funds: Integer?
|
|
15
|
+
|
|
16
|
+
attr_accessor total_outstanding_spend: Integer
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
security: Integer,
|
|
20
|
+
settled_funds: Integer?,
|
|
21
|
+
total_outstanding_spend: Integer
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
security: Integer,
|
|
26
|
+
settled_funds: Integer?,
|
|
27
|
+
total_outstanding_spend: Integer
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -123,6 +123,7 @@ module Lithic
|
|
|
123
123
|
| :EXTERNAL_CHECK
|
|
124
124
|
| :EXTERNAL_FEDNOW
|
|
125
125
|
| :EXTERNAL_RTP
|
|
126
|
+
| :EXTERNAL_STABLECOIN
|
|
126
127
|
| :EXTERNAL_TRANSFER
|
|
127
128
|
| :EXTERNAL_WIRE
|
|
128
129
|
| :MANAGEMENT_ADJUSTMENT
|
|
@@ -151,6 +152,7 @@ module Lithic
|
|
|
151
152
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
152
153
|
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
153
154
|
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
155
|
+
EXTERNAL_STABLECOIN: :EXTERNAL_STABLECOIN
|
|
154
156
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
155
157
|
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
|
156
158
|
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|
|
@@ -219,6 +221,11 @@ module Lithic
|
|
|
219
221
|
| :EXTERNAL_RTP_RELEASED
|
|
220
222
|
| :EXTERNAL_RTP_REVERSED
|
|
221
223
|
| :EXTERNAL_RTP_SETTLED
|
|
224
|
+
| :EXTERNAL_STABLECOIN_CANCELED
|
|
225
|
+
| :EXTERNAL_STABLECOIN_INITIATED
|
|
226
|
+
| :EXTERNAL_STABLECOIN_RELEASED
|
|
227
|
+
| :EXTERNAL_STABLECOIN_REVERSED
|
|
228
|
+
| :EXTERNAL_STABLECOIN_SETTLED
|
|
222
229
|
| :EXTERNAL_TRANSFER_CANCELED
|
|
223
230
|
| :EXTERNAL_TRANSFER_INITIATED
|
|
224
231
|
| :EXTERNAL_TRANSFER_RELEASED
|
|
@@ -229,8 +236,12 @@ module Lithic
|
|
|
229
236
|
| :EXTERNAL_WIRE_RELEASED
|
|
230
237
|
| :EXTERNAL_WIRE_REVERSED
|
|
231
238
|
| :EXTERNAL_WIRE_SETTLED
|
|
239
|
+
| :FEE
|
|
240
|
+
| :FEE_REVERSAL
|
|
232
241
|
| :FINANCIAL_AUTHORIZATION
|
|
233
242
|
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
243
|
+
| :INSTALLMENT_FEE
|
|
244
|
+
| :INSTALLMENT_FEE_REVERSAL
|
|
234
245
|
| :INTEREST
|
|
235
246
|
| :INTEREST_REVERSAL
|
|
236
247
|
| :INTERNAL_ADJUSTMENT
|
|
@@ -257,8 +268,11 @@ module Lithic
|
|
|
257
268
|
| :MONTHLY_REVERSAL
|
|
258
269
|
| :ACCOUNT_TO_ACCOUNT
|
|
259
270
|
| :STABLECOIN_RECEIVED
|
|
271
|
+
| :STABLECOIN_INITIATED
|
|
260
272
|
| :STABLECOIN_REVIEWED
|
|
273
|
+
| :STABLECOIN_SENT
|
|
261
274
|
| :STABLECOIN_SETTLED
|
|
275
|
+
| :STABLECOIN_REJECTED
|
|
262
276
|
|
|
263
277
|
module EventType
|
|
264
278
|
extend Lithic::Internal::Type::Enum
|
|
@@ -316,6 +330,11 @@ module Lithic
|
|
|
316
330
|
EXTERNAL_RTP_RELEASED: :EXTERNAL_RTP_RELEASED
|
|
317
331
|
EXTERNAL_RTP_REVERSED: :EXTERNAL_RTP_REVERSED
|
|
318
332
|
EXTERNAL_RTP_SETTLED: :EXTERNAL_RTP_SETTLED
|
|
333
|
+
EXTERNAL_STABLECOIN_CANCELED: :EXTERNAL_STABLECOIN_CANCELED
|
|
334
|
+
EXTERNAL_STABLECOIN_INITIATED: :EXTERNAL_STABLECOIN_INITIATED
|
|
335
|
+
EXTERNAL_STABLECOIN_RELEASED: :EXTERNAL_STABLECOIN_RELEASED
|
|
336
|
+
EXTERNAL_STABLECOIN_REVERSED: :EXTERNAL_STABLECOIN_REVERSED
|
|
337
|
+
EXTERNAL_STABLECOIN_SETTLED: :EXTERNAL_STABLECOIN_SETTLED
|
|
319
338
|
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
|
320
339
|
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
|
321
340
|
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
|
@@ -326,8 +345,12 @@ module Lithic
|
|
|
326
345
|
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
|
327
346
|
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
|
328
347
|
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
|
348
|
+
FEE: :FEE
|
|
349
|
+
FEE_REVERSAL: :FEE_REVERSAL
|
|
329
350
|
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
330
351
|
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
352
|
+
INSTALLMENT_FEE: :INSTALLMENT_FEE
|
|
353
|
+
INSTALLMENT_FEE_REVERSAL: :INSTALLMENT_FEE_REVERSAL
|
|
331
354
|
INTEREST: :INTEREST
|
|
332
355
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
333
356
|
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
@@ -354,8 +377,11 @@ module Lithic
|
|
|
354
377
|
MONTHLY_REVERSAL: :MONTHLY_REVERSAL
|
|
355
378
|
ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
|
|
356
379
|
STABLECOIN_RECEIVED: :STABLECOIN_RECEIVED
|
|
380
|
+
STABLECOIN_INITIATED: :STABLECOIN_INITIATED
|
|
357
381
|
STABLECOIN_REVIEWED: :STABLECOIN_REVIEWED
|
|
382
|
+
STABLECOIN_SENT: :STABLECOIN_SENT
|
|
358
383
|
STABLECOIN_SETTLED: :STABLECOIN_SETTLED
|
|
384
|
+
STABLECOIN_REJECTED: :STABLECOIN_REJECTED
|
|
359
385
|
|
|
360
386
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::event_type]
|
|
361
387
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type transaction_category_balances =
|
|
5
|
+
{
|
|
6
|
+
balance_transfers: Lithic::FinancialAccounts::CategoryBalances,
|
|
7
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances,
|
|
8
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class TransactionCategoryBalances < Lithic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor balance_transfers: Lithic::FinancialAccounts::CategoryBalances
|
|
13
|
+
|
|
14
|
+
attr_accessor cash_advances: Lithic::FinancialAccounts::CategoryBalances
|
|
15
|
+
|
|
16
|
+
attr_accessor purchases: Lithic::FinancialAccounts::CategoryBalances
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
balance_transfers: Lithic::FinancialAccounts::CategoryBalances,
|
|
20
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances,
|
|
21
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
balance_transfers: Lithic::FinancialAccounts::CategoryBalances,
|
|
26
|
+
cash_advances: Lithic::FinancialAccounts::CategoryBalances,
|
|
27
|
+
purchases: Lithic::FinancialAccounts::CategoryBalances
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|