lithic 0.1.0.pre.alpha.55 → 0.1.0.pre.alpha.56
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 +20 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account_unpause_response =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
country: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
currency: String,
|
|
9
|
+
last_four: String,
|
|
10
|
+
owner: String,
|
|
11
|
+
owner_type: Lithic::Models::owner_type,
|
|
12
|
+
routing_number: String,
|
|
13
|
+
state: Lithic::Models::ExternalBankAccountUnpauseResponse::state,
|
|
14
|
+
type: Lithic::Models::ExternalBankAccountUnpauseResponse::type_,
|
|
15
|
+
verification_attempts: Integer,
|
|
16
|
+
verification_method: Lithic::Models::verification_method,
|
|
17
|
+
verification_state: Lithic::Models::ExternalBankAccountUnpauseResponse::verification_state,
|
|
18
|
+
account_token: String?,
|
|
19
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
20
|
+
company_id: String?,
|
|
21
|
+
dob: Date?,
|
|
22
|
+
doing_business_as: String?,
|
|
23
|
+
financial_account_token: String?,
|
|
24
|
+
name: String?,
|
|
25
|
+
user_defined_id: String?,
|
|
26
|
+
verification_failed_reason: String?
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class ExternalBankAccountUnpauseResponse < Lithic::Internal::Type::BaseModel
|
|
30
|
+
attr_accessor token: String
|
|
31
|
+
|
|
32
|
+
attr_accessor country: String
|
|
33
|
+
|
|
34
|
+
attr_accessor created: Time
|
|
35
|
+
|
|
36
|
+
attr_accessor currency: String
|
|
37
|
+
|
|
38
|
+
attr_accessor last_four: String
|
|
39
|
+
|
|
40
|
+
attr_accessor owner: String
|
|
41
|
+
|
|
42
|
+
attr_accessor owner_type: Lithic::Models::owner_type
|
|
43
|
+
|
|
44
|
+
attr_accessor routing_number: String
|
|
45
|
+
|
|
46
|
+
attr_accessor state: Lithic::Models::ExternalBankAccountUnpauseResponse::state
|
|
47
|
+
|
|
48
|
+
attr_accessor type: Lithic::Models::ExternalBankAccountUnpauseResponse::type_
|
|
49
|
+
|
|
50
|
+
attr_accessor verification_attempts: Integer
|
|
51
|
+
|
|
52
|
+
attr_accessor verification_method: Lithic::Models::verification_method
|
|
53
|
+
|
|
54
|
+
attr_accessor verification_state: Lithic::Models::ExternalBankAccountUnpauseResponse::verification_state
|
|
55
|
+
|
|
56
|
+
attr_accessor account_token: String?
|
|
57
|
+
|
|
58
|
+
attr_accessor address: Lithic::ExternalBankAccountAddress?
|
|
59
|
+
|
|
60
|
+
attr_accessor company_id: String?
|
|
61
|
+
|
|
62
|
+
attr_accessor dob: Date?
|
|
63
|
+
|
|
64
|
+
attr_accessor doing_business_as: String?
|
|
65
|
+
|
|
66
|
+
attr_accessor financial_account_token: String?
|
|
67
|
+
|
|
68
|
+
attr_accessor name: String?
|
|
69
|
+
|
|
70
|
+
attr_accessor user_defined_id: String?
|
|
71
|
+
|
|
72
|
+
attr_accessor verification_failed_reason: String?
|
|
73
|
+
|
|
74
|
+
def initialize: (
|
|
75
|
+
token: String,
|
|
76
|
+
country: String,
|
|
77
|
+
created: Time,
|
|
78
|
+
currency: String,
|
|
79
|
+
last_four: String,
|
|
80
|
+
owner: String,
|
|
81
|
+
owner_type: Lithic::Models::owner_type,
|
|
82
|
+
routing_number: String,
|
|
83
|
+
state: Lithic::Models::ExternalBankAccountUnpauseResponse::state,
|
|
84
|
+
type: Lithic::Models::ExternalBankAccountUnpauseResponse::type_,
|
|
85
|
+
verification_attempts: Integer,
|
|
86
|
+
verification_method: Lithic::Models::verification_method,
|
|
87
|
+
verification_state: Lithic::Models::ExternalBankAccountUnpauseResponse::verification_state,
|
|
88
|
+
?account_token: String?,
|
|
89
|
+
?address: Lithic::ExternalBankAccountAddress?,
|
|
90
|
+
?company_id: String?,
|
|
91
|
+
?dob: Date?,
|
|
92
|
+
?doing_business_as: String?,
|
|
93
|
+
?financial_account_token: String?,
|
|
94
|
+
?name: String?,
|
|
95
|
+
?user_defined_id: String?,
|
|
96
|
+
?verification_failed_reason: String?
|
|
97
|
+
) -> void
|
|
98
|
+
|
|
99
|
+
def to_hash: -> {
|
|
100
|
+
token: String,
|
|
101
|
+
country: String,
|
|
102
|
+
created: Time,
|
|
103
|
+
currency: String,
|
|
104
|
+
last_four: String,
|
|
105
|
+
owner: String,
|
|
106
|
+
owner_type: Lithic::Models::owner_type,
|
|
107
|
+
routing_number: String,
|
|
108
|
+
state: Lithic::Models::ExternalBankAccountUnpauseResponse::state,
|
|
109
|
+
type: Lithic::Models::ExternalBankAccountUnpauseResponse::type_,
|
|
110
|
+
verification_attempts: Integer,
|
|
111
|
+
verification_method: Lithic::Models::verification_method,
|
|
112
|
+
verification_state: Lithic::Models::ExternalBankAccountUnpauseResponse::verification_state,
|
|
113
|
+
account_token: String?,
|
|
114
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
115
|
+
company_id: String?,
|
|
116
|
+
dob: Date?,
|
|
117
|
+
doing_business_as: String?,
|
|
118
|
+
financial_account_token: String?,
|
|
119
|
+
name: String?,
|
|
120
|
+
user_defined_id: String?,
|
|
121
|
+
verification_failed_reason: String?
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
type state = :ENABLED | :CLOSED | :PAUSED
|
|
125
|
+
|
|
126
|
+
module State
|
|
127
|
+
extend Lithic::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
ENABLED: :ENABLED
|
|
130
|
+
CLOSED: :CLOSED
|
|
131
|
+
PAUSED: :PAUSED
|
|
132
|
+
|
|
133
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccountUnpauseResponse::state]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
type type_ = :CHECKING | :SAVINGS
|
|
137
|
+
|
|
138
|
+
module Type
|
|
139
|
+
extend Lithic::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
CHECKING: :CHECKING
|
|
142
|
+
SAVINGS: :SAVINGS
|
|
143
|
+
|
|
144
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccountUnpauseResponse::type_]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
type verification_state =
|
|
148
|
+
:PENDING | :ENABLED | :FAILED_VERIFICATION | :INSUFFICIENT_FUNDS
|
|
149
|
+
|
|
150
|
+
module VerificationState
|
|
151
|
+
extend Lithic::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
PENDING: :PENDING
|
|
154
|
+
ENABLED: :ENABLED
|
|
155
|
+
FAILED_VERIFICATION: :FAILED_VERIFICATION
|
|
156
|
+
INSUFFICIENT_FUNDS: :INSUFFICIENT_FUNDS
|
|
157
|
+
|
|
158
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccountUnpauseResponse::verification_state]
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|
|
@@ -15,15 +15,15 @@ module Lithic
|
|
|
15
15
|
verification_attempts: Integer,
|
|
16
16
|
verification_method: Lithic::Models::ExternalBankAccountUpdateResponse::verification_method,
|
|
17
17
|
verification_state: Lithic::Models::ExternalBankAccountUpdateResponse::verification_state,
|
|
18
|
-
account_token: String
|
|
19
|
-
address: Lithic::ExternalBankAccountAddress
|
|
20
|
-
company_id: String
|
|
21
|
-
dob: Date
|
|
22
|
-
doing_business_as: String
|
|
23
|
-
financial_account_token: String
|
|
24
|
-
name: String
|
|
25
|
-
user_defined_id: String
|
|
26
|
-
verification_failed_reason: String
|
|
18
|
+
account_token: String?,
|
|
19
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
20
|
+
company_id: String?,
|
|
21
|
+
dob: Date?,
|
|
22
|
+
doing_business_as: String?,
|
|
23
|
+
financial_account_token: String?,
|
|
24
|
+
name: String?,
|
|
25
|
+
user_defined_id: String?,
|
|
26
|
+
verification_failed_reason: String?
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
class ExternalBankAccountUpdateResponse < Lithic::Internal::Type::BaseModel
|
|
@@ -53,43 +53,23 @@ module Lithic
|
|
|
53
53
|
|
|
54
54
|
attr_accessor verification_state: Lithic::Models::ExternalBankAccountUpdateResponse::verification_state
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
attr_accessor account_token: String?
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
attr_accessor address: Lithic::ExternalBankAccountAddress?
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
attr_accessor company_id: String?
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
Lithic::ExternalBankAccountAddress
|
|
64
|
-
) -> Lithic::ExternalBankAccountAddress
|
|
62
|
+
attr_accessor dob: Date?
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
attr_accessor doing_business_as: String?
|
|
67
65
|
|
|
68
|
-
|
|
66
|
+
attr_accessor financial_account_token: String?
|
|
69
67
|
|
|
70
|
-
|
|
68
|
+
attr_accessor name: String?
|
|
71
69
|
|
|
72
|
-
|
|
70
|
+
attr_accessor user_defined_id: String?
|
|
73
71
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
def doing_business_as=: (String) -> String
|
|
77
|
-
|
|
78
|
-
attr_reader financial_account_token: String?
|
|
79
|
-
|
|
80
|
-
def financial_account_token=: (String) -> String
|
|
81
|
-
|
|
82
|
-
attr_reader name: String?
|
|
83
|
-
|
|
84
|
-
def name=: (String) -> String
|
|
85
|
-
|
|
86
|
-
attr_reader user_defined_id: String?
|
|
87
|
-
|
|
88
|
-
def user_defined_id=: (String) -> String
|
|
89
|
-
|
|
90
|
-
attr_reader verification_failed_reason: String?
|
|
91
|
-
|
|
92
|
-
def verification_failed_reason=: (String) -> String
|
|
72
|
+
attr_accessor verification_failed_reason: String?
|
|
93
73
|
|
|
94
74
|
def initialize: (
|
|
95
75
|
token: String,
|
|
@@ -105,15 +85,15 @@ module Lithic
|
|
|
105
85
|
verification_attempts: Integer,
|
|
106
86
|
verification_method: Lithic::Models::ExternalBankAccountUpdateResponse::verification_method,
|
|
107
87
|
verification_state: Lithic::Models::ExternalBankAccountUpdateResponse::verification_state,
|
|
108
|
-
?account_token: String
|
|
109
|
-
?address: Lithic::ExternalBankAccountAddress
|
|
110
|
-
?company_id: String
|
|
111
|
-
?dob: Date
|
|
112
|
-
?doing_business_as: String
|
|
113
|
-
?financial_account_token: String
|
|
114
|
-
?name: String
|
|
115
|
-
?user_defined_id: String
|
|
116
|
-
?verification_failed_reason: String
|
|
88
|
+
?account_token: String?,
|
|
89
|
+
?address: Lithic::ExternalBankAccountAddress?,
|
|
90
|
+
?company_id: String?,
|
|
91
|
+
?dob: Date?,
|
|
92
|
+
?doing_business_as: String?,
|
|
93
|
+
?financial_account_token: String?,
|
|
94
|
+
?name: String?,
|
|
95
|
+
?user_defined_id: String?,
|
|
96
|
+
?verification_failed_reason: String?
|
|
117
97
|
) -> void
|
|
118
98
|
|
|
119
99
|
def to_hash: -> {
|
|
@@ -130,15 +110,15 @@ module Lithic
|
|
|
130
110
|
verification_attempts: Integer,
|
|
131
111
|
verification_method: Lithic::Models::ExternalBankAccountUpdateResponse::verification_method,
|
|
132
112
|
verification_state: Lithic::Models::ExternalBankAccountUpdateResponse::verification_state,
|
|
133
|
-
account_token: String
|
|
134
|
-
address: Lithic::ExternalBankAccountAddress
|
|
135
|
-
company_id: String
|
|
136
|
-
dob: Date
|
|
137
|
-
doing_business_as: String
|
|
138
|
-
financial_account_token: String
|
|
139
|
-
name: String
|
|
140
|
-
user_defined_id: String
|
|
141
|
-
verification_failed_reason: String
|
|
113
|
+
account_token: String?,
|
|
114
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
115
|
+
company_id: String?,
|
|
116
|
+
dob: Date?,
|
|
117
|
+
doing_business_as: String?,
|
|
118
|
+
financial_account_token: String?,
|
|
119
|
+
name: String?,
|
|
120
|
+
user_defined_id: String?,
|
|
121
|
+
verification_failed_reason: String?
|
|
142
122
|
}
|
|
143
123
|
|
|
144
124
|
type owner_type = :BUSINESS | :INDIVIDUAL
|
|
@@ -16,15 +16,15 @@ module Lithic
|
|
|
16
16
|
verification_attempts: Integer,
|
|
17
17
|
verification_method: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_method,
|
|
18
18
|
verification_state: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_state,
|
|
19
|
-
account_token: String
|
|
20
|
-
address: Lithic::ExternalBankAccountAddress
|
|
21
|
-
company_id: String
|
|
22
|
-
dob: Date
|
|
23
|
-
doing_business_as: String
|
|
24
|
-
financial_account_token: String
|
|
25
|
-
name: String
|
|
26
|
-
user_defined_id: String
|
|
27
|
-
verification_failed_reason: String
|
|
19
|
+
account_token: String?,
|
|
20
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
21
|
+
company_id: String?,
|
|
22
|
+
dob: Date?,
|
|
23
|
+
doing_business_as: String?,
|
|
24
|
+
financial_account_token: String?,
|
|
25
|
+
name: String?,
|
|
26
|
+
user_defined_id: String?,
|
|
27
|
+
verification_failed_reason: String?
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
class MicroDepositCreateResponse < Lithic::Internal::Type::BaseModel
|
|
@@ -54,43 +54,23 @@ module Lithic
|
|
|
54
54
|
|
|
55
55
|
attr_accessor verification_state: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_state
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
attr_accessor account_token: String?
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
attr_accessor address: Lithic::ExternalBankAccountAddress?
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
attr_accessor company_id: String?
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
Lithic::ExternalBankAccountAddress
|
|
65
|
-
) -> Lithic::ExternalBankAccountAddress
|
|
63
|
+
attr_accessor dob: Date?
|
|
66
64
|
|
|
67
|
-
|
|
65
|
+
attr_accessor doing_business_as: String?
|
|
68
66
|
|
|
69
|
-
|
|
67
|
+
attr_accessor financial_account_token: String?
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
attr_accessor name: String?
|
|
72
70
|
|
|
73
|
-
|
|
71
|
+
attr_accessor user_defined_id: String?
|
|
74
72
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
def doing_business_as=: (String) -> String
|
|
78
|
-
|
|
79
|
-
attr_reader financial_account_token: String?
|
|
80
|
-
|
|
81
|
-
def financial_account_token=: (String) -> String
|
|
82
|
-
|
|
83
|
-
attr_reader name: String?
|
|
84
|
-
|
|
85
|
-
def name=: (String) -> String
|
|
86
|
-
|
|
87
|
-
attr_reader user_defined_id: String?
|
|
88
|
-
|
|
89
|
-
def user_defined_id=: (String) -> String
|
|
90
|
-
|
|
91
|
-
attr_reader verification_failed_reason: String?
|
|
92
|
-
|
|
93
|
-
def verification_failed_reason=: (String) -> String
|
|
73
|
+
attr_accessor verification_failed_reason: String?
|
|
94
74
|
|
|
95
75
|
def initialize: (
|
|
96
76
|
token: String,
|
|
@@ -106,15 +86,15 @@ module Lithic
|
|
|
106
86
|
verification_attempts: Integer,
|
|
107
87
|
verification_method: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_method,
|
|
108
88
|
verification_state: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_state,
|
|
109
|
-
?account_token: String
|
|
110
|
-
?address: Lithic::ExternalBankAccountAddress
|
|
111
|
-
?company_id: String
|
|
112
|
-
?dob: Date
|
|
113
|
-
?doing_business_as: String
|
|
114
|
-
?financial_account_token: String
|
|
115
|
-
?name: String
|
|
116
|
-
?user_defined_id: String
|
|
117
|
-
?verification_failed_reason: String
|
|
89
|
+
?account_token: String?,
|
|
90
|
+
?address: Lithic::ExternalBankAccountAddress?,
|
|
91
|
+
?company_id: String?,
|
|
92
|
+
?dob: Date?,
|
|
93
|
+
?doing_business_as: String?,
|
|
94
|
+
?financial_account_token: String?,
|
|
95
|
+
?name: String?,
|
|
96
|
+
?user_defined_id: String?,
|
|
97
|
+
?verification_failed_reason: String?
|
|
118
98
|
) -> void
|
|
119
99
|
|
|
120
100
|
def to_hash: -> {
|
|
@@ -131,15 +111,15 @@ module Lithic
|
|
|
131
111
|
verification_attempts: Integer,
|
|
132
112
|
verification_method: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_method,
|
|
133
113
|
verification_state: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse::verification_state,
|
|
134
|
-
account_token: String
|
|
135
|
-
address: Lithic::ExternalBankAccountAddress
|
|
136
|
-
company_id: String
|
|
137
|
-
dob: Date
|
|
138
|
-
doing_business_as: String
|
|
139
|
-
financial_account_token: String
|
|
140
|
-
name: String
|
|
141
|
-
user_defined_id: String
|
|
142
|
-
verification_failed_reason: String
|
|
114
|
+
account_token: String?,
|
|
115
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
116
|
+
company_id: String?,
|
|
117
|
+
dob: Date?,
|
|
118
|
+
doing_business_as: String?,
|
|
119
|
+
financial_account_token: String?,
|
|
120
|
+
name: String?,
|
|
121
|
+
user_defined_id: String?,
|
|
122
|
+
verification_failed_reason: String?
|
|
143
123
|
}
|
|
144
124
|
|
|
145
125
|
type owner_type = :BUSINESS | :INDIVIDUAL
|
|
@@ -15,7 +15,7 @@ module Lithic
|
|
|
15
15
|
pending_amount: Integer,
|
|
16
16
|
result: Lithic::Models::ExternalPayment::result,
|
|
17
17
|
settled_amount: Integer,
|
|
18
|
-
user_defined_id: String
|
|
18
|
+
user_defined_id: String?
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
class ExternalPayment < Lithic::Internal::Type::BaseModel
|
|
@@ -73,9 +73,7 @@ module Lithic
|
|
|
73
73
|
|
|
74
74
|
def settled_amount=: (Integer) -> Integer
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def user_defined_id=: (String) -> String
|
|
76
|
+
attr_accessor user_defined_id: String?
|
|
79
77
|
|
|
80
78
|
def initialize: (
|
|
81
79
|
token: String,
|
|
@@ -91,7 +89,7 @@ module Lithic
|
|
|
91
89
|
?pending_amount: Integer,
|
|
92
90
|
?result: Lithic::Models::ExternalPayment::result,
|
|
93
91
|
?settled_amount: Integer,
|
|
94
|
-
?user_defined_id: String
|
|
92
|
+
?user_defined_id: String?
|
|
95
93
|
) -> void
|
|
96
94
|
|
|
97
95
|
def to_hash: -> {
|
|
@@ -108,10 +106,11 @@ module Lithic
|
|
|
108
106
|
pending_amount: Integer,
|
|
109
107
|
result: Lithic::Models::ExternalPayment::result,
|
|
110
108
|
settled_amount: Integer,
|
|
111
|
-
user_defined_id: String
|
|
109
|
+
user_defined_id: String?
|
|
112
110
|
}
|
|
113
111
|
|
|
114
|
-
type status =
|
|
112
|
+
type status =
|
|
113
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
115
114
|
|
|
116
115
|
module Status
|
|
117
116
|
extend Lithic::Internal::Type::Enum
|
|
@@ -121,6 +120,7 @@ module Lithic
|
|
|
121
120
|
DECLINED: :DECLINED
|
|
122
121
|
REVERSED: :REVERSED
|
|
123
122
|
CANCELED: :CANCELED
|
|
123
|
+
RETURNED: :RETURNED
|
|
124
124
|
|
|
125
125
|
def self?.values: -> ::Array[Lithic::Models::ExternalPayment::status]
|
|
126
126
|
end
|
|
@@ -118,7 +118,8 @@ module Lithic
|
|
|
118
118
|
def self?.values: -> ::Array[Lithic::Models::ExternalPaymentListParams::result]
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
type status =
|
|
121
|
+
type status =
|
|
122
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
122
123
|
|
|
123
124
|
module Status
|
|
124
125
|
extend Lithic::Internal::Type::Enum
|
|
@@ -128,6 +129,7 @@ module Lithic
|
|
|
128
129
|
DECLINED: :DECLINED
|
|
129
130
|
REVERSED: :REVERSED
|
|
130
131
|
CANCELED: :CANCELED
|
|
132
|
+
RETURNED: :RETURNED
|
|
131
133
|
|
|
132
134
|
def self?.values: -> ::Array[Lithic::Models::ExternalPaymentListParams::status]
|
|
133
135
|
end
|
|
@@ -73,7 +73,7 @@ module Lithic
|
|
|
73
73
|
|
|
74
74
|
type credit_configuration =
|
|
75
75
|
{
|
|
76
|
-
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
76
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration?,
|
|
77
77
|
credit_limit: Integer?,
|
|
78
78
|
credit_product_token: String?,
|
|
79
79
|
external_bank_account_token: String?,
|
|
@@ -81,7 +81,7 @@ module Lithic
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
84
|
-
attr_accessor auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
84
|
+
attr_accessor auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration?
|
|
85
85
|
|
|
86
86
|
attr_accessor credit_limit: Integer?
|
|
87
87
|
|
|
@@ -92,7 +92,7 @@ module Lithic
|
|
|
92
92
|
attr_accessor tier: String?
|
|
93
93
|
|
|
94
94
|
def initialize: (
|
|
95
|
-
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
95
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration?,
|
|
96
96
|
credit_limit: Integer?,
|
|
97
97
|
credit_product_token: String?,
|
|
98
98
|
external_bank_account_token: String?,
|
|
@@ -100,7 +100,7 @@ module Lithic
|
|
|
100
100
|
) -> void
|
|
101
101
|
|
|
102
102
|
def to_hash: -> {
|
|
103
|
-
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
103
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration?,
|
|
104
104
|
credit_limit: Integer?,
|
|
105
105
|
credit_product_token: String?,
|
|
106
106
|
external_bank_account_token: String?,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
type category_balances =
|
|
5
|
+
{ fees: Integer, interest: Integer, principal: Integer }
|
|
6
|
+
|
|
7
|
+
class CategoryBalances < Lithic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor fees: Integer
|
|
9
|
+
|
|
10
|
+
attr_accessor interest: Integer
|
|
11
|
+
|
|
12
|
+
attr_accessor principal: Integer
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
fees: Integer,
|
|
16
|
+
interest: Integer,
|
|
17
|
+
principal: Integer
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> { fees: Integer, interest: Integer, principal: Integer }
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|