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
|
@@ -18,7 +18,7 @@ module Lithic
|
|
|
18
18
|
created: Time,
|
|
19
19
|
currency: String,
|
|
20
20
|
descriptor: String,
|
|
21
|
-
events: ::Array[Lithic::
|
|
21
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
22
22
|
family: :INTERNAL,
|
|
23
23
|
financial_account_token: String,
|
|
24
24
|
pending_amount: Integer,
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
|
39
39
|
|
|
40
40
|
attr_accessor descriptor: String
|
|
41
41
|
|
|
42
|
-
attr_accessor events: ::Array[Lithic::
|
|
42
|
+
attr_accessor events: ::Array[Lithic::FinancialEvent]
|
|
43
43
|
|
|
44
44
|
attr_accessor family: :INTERNAL
|
|
45
45
|
|
|
@@ -61,7 +61,7 @@ module Lithic
|
|
|
61
61
|
created: Time,
|
|
62
62
|
currency: String,
|
|
63
63
|
descriptor: String,
|
|
64
|
-
events: ::Array[Lithic::
|
|
64
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
65
65
|
financial_account_token: String,
|
|
66
66
|
pending_amount: Integer,
|
|
67
67
|
result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result,
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
created: Time,
|
|
78
78
|
currency: String,
|
|
79
79
|
descriptor: String,
|
|
80
|
-
events: ::Array[Lithic::
|
|
80
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
81
81
|
family: :INTERNAL,
|
|
82
82
|
financial_account_token: String,
|
|
83
83
|
pending_amount: Integer,
|
|
@@ -132,219 +132,6 @@ module Lithic
|
|
|
132
132
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::category]
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
type event =
|
|
136
|
-
{
|
|
137
|
-
token: String,
|
|
138
|
-
amount: Integer,
|
|
139
|
-
created: Time,
|
|
140
|
-
result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
|
|
141
|
-
type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
145
|
-
attr_reader token: String?
|
|
146
|
-
|
|
147
|
-
def token=: (String) -> String
|
|
148
|
-
|
|
149
|
-
attr_reader amount: Integer?
|
|
150
|
-
|
|
151
|
-
def amount=: (Integer) -> Integer
|
|
152
|
-
|
|
153
|
-
attr_reader created: Time?
|
|
154
|
-
|
|
155
|
-
def created=: (Time) -> Time
|
|
156
|
-
|
|
157
|
-
attr_reader result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result?
|
|
158
|
-
|
|
159
|
-
def result=: (
|
|
160
|
-
Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result
|
|
161
|
-
) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result
|
|
162
|
-
|
|
163
|
-
attr_reader type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_?
|
|
164
|
-
|
|
165
|
-
def type=: (
|
|
166
|
-
Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
|
|
167
|
-
) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
|
|
168
|
-
|
|
169
|
-
def initialize: (
|
|
170
|
-
?token: String,
|
|
171
|
-
?amount: Integer,
|
|
172
|
-
?created: Time,
|
|
173
|
-
?result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
|
|
174
|
-
?type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
|
|
175
|
-
) -> void
|
|
176
|
-
|
|
177
|
-
def to_hash: -> {
|
|
178
|
-
token: String,
|
|
179
|
-
amount: Integer,
|
|
180
|
-
created: Time,
|
|
181
|
-
result: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result,
|
|
182
|
-
type: Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
type result = :APPROVED | :DECLINED
|
|
186
|
-
|
|
187
|
-
module Result
|
|
188
|
-
extend Lithic::Internal::Type::Enum
|
|
189
|
-
|
|
190
|
-
APPROVED: :APPROVED
|
|
191
|
-
DECLINED: :DECLINED
|
|
192
|
-
|
|
193
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::result]
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
type type_ =
|
|
197
|
-
:ACH_ORIGINATION_CANCELLED
|
|
198
|
-
| :ACH_ORIGINATION_INITIATED
|
|
199
|
-
| :ACH_ORIGINATION_PROCESSED
|
|
200
|
-
| :ACH_ORIGINATION_RELEASED
|
|
201
|
-
| :ACH_ORIGINATION_REJECTED
|
|
202
|
-
| :ACH_ORIGINATION_REVIEWED
|
|
203
|
-
| :ACH_ORIGINATION_SETTLED
|
|
204
|
-
| :ACH_RECEIPT_PROCESSED
|
|
205
|
-
| :ACH_RECEIPT_RELEASED
|
|
206
|
-
| :ACH_RECEIPT_SETTLED
|
|
207
|
-
| :ACH_RETURN_INITIATED
|
|
208
|
-
| :ACH_RETURN_PROCESSED
|
|
209
|
-
| :ACH_RETURN_REJECTED
|
|
210
|
-
| :ACH_RETURN_SETTLED
|
|
211
|
-
| :AUTHORIZATION
|
|
212
|
-
| :AUTHORIZATION_ADVICE
|
|
213
|
-
| :AUTHORIZATION_EXPIRY
|
|
214
|
-
| :AUTHORIZATION_REVERSAL
|
|
215
|
-
| :BALANCE_INQUIRY
|
|
216
|
-
| :BILLING_ERROR
|
|
217
|
-
| :BILLING_ERROR_REVERSAL
|
|
218
|
-
| :CARD_TO_CARD
|
|
219
|
-
| :CASH_BACK
|
|
220
|
-
| :CASH_BACK_REVERSAL
|
|
221
|
-
| :CLEARING
|
|
222
|
-
| :COLLECTION
|
|
223
|
-
| :CORRECTION_CREDIT
|
|
224
|
-
| :CORRECTION_DEBIT
|
|
225
|
-
| :CREDIT_AUTHORIZATION
|
|
226
|
-
| :CREDIT_AUTHORIZATION_ADVICE
|
|
227
|
-
| :CURRENCY_CONVERSION
|
|
228
|
-
| :CURRENCY_CONVERSION_REVERSAL
|
|
229
|
-
| :DISPUTE_WON
|
|
230
|
-
| :EXTERNAL_ACH_CANCELED
|
|
231
|
-
| :EXTERNAL_ACH_INITIATED
|
|
232
|
-
| :EXTERNAL_ACH_RELEASED
|
|
233
|
-
| :EXTERNAL_ACH_REVERSED
|
|
234
|
-
| :EXTERNAL_ACH_SETTLED
|
|
235
|
-
| :EXTERNAL_CHECK_CANCELED
|
|
236
|
-
| :EXTERNAL_CHECK_INITIATED
|
|
237
|
-
| :EXTERNAL_CHECK_RELEASED
|
|
238
|
-
| :EXTERNAL_CHECK_REVERSED
|
|
239
|
-
| :EXTERNAL_CHECK_SETTLED
|
|
240
|
-
| :EXTERNAL_TRANSFER_CANCELED
|
|
241
|
-
| :EXTERNAL_TRANSFER_INITIATED
|
|
242
|
-
| :EXTERNAL_TRANSFER_RELEASED
|
|
243
|
-
| :EXTERNAL_TRANSFER_REVERSED
|
|
244
|
-
| :EXTERNAL_TRANSFER_SETTLED
|
|
245
|
-
| :EXTERNAL_WIRE_CANCELED
|
|
246
|
-
| :EXTERNAL_WIRE_INITIATED
|
|
247
|
-
| :EXTERNAL_WIRE_RELEASED
|
|
248
|
-
| :EXTERNAL_WIRE_REVERSED
|
|
249
|
-
| :EXTERNAL_WIRE_SETTLED
|
|
250
|
-
| :FINANCIAL_AUTHORIZATION
|
|
251
|
-
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
252
|
-
| :INTEREST
|
|
253
|
-
| :INTEREST_REVERSAL
|
|
254
|
-
| :INTERNAL_ADJUSTMENT
|
|
255
|
-
| :LATE_PAYMENT
|
|
256
|
-
| :LATE_PAYMENT_REVERSAL
|
|
257
|
-
| :LOSS_WRITE_OFF
|
|
258
|
-
| :PROVISIONAL_CREDIT
|
|
259
|
-
| :PROVISIONAL_CREDIT_REVERSAL
|
|
260
|
-
| :SERVICE
|
|
261
|
-
| :RETURN
|
|
262
|
-
| :RETURN_REVERSAL
|
|
263
|
-
| :TRANSFER
|
|
264
|
-
| :TRANSFER_INSUFFICIENT_FUNDS
|
|
265
|
-
| :RETURNED_PAYMENT
|
|
266
|
-
| :RETURNED_PAYMENT_REVERSAL
|
|
267
|
-
| :LITHIC_NETWORK_PAYMENT
|
|
268
|
-
|
|
269
|
-
module Type
|
|
270
|
-
extend Lithic::Internal::Type::Enum
|
|
271
|
-
|
|
272
|
-
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
|
273
|
-
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
|
274
|
-
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
|
275
|
-
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
|
276
|
-
ACH_ORIGINATION_REJECTED: :ACH_ORIGINATION_REJECTED
|
|
277
|
-
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
278
|
-
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
279
|
-
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
280
|
-
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
281
|
-
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
282
|
-
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
283
|
-
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
284
|
-
ACH_RETURN_REJECTED: :ACH_RETURN_REJECTED
|
|
285
|
-
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
|
286
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
287
|
-
AUTHORIZATION_ADVICE: :AUTHORIZATION_ADVICE
|
|
288
|
-
AUTHORIZATION_EXPIRY: :AUTHORIZATION_EXPIRY
|
|
289
|
-
AUTHORIZATION_REVERSAL: :AUTHORIZATION_REVERSAL
|
|
290
|
-
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
|
291
|
-
BILLING_ERROR: :BILLING_ERROR
|
|
292
|
-
BILLING_ERROR_REVERSAL: :BILLING_ERROR_REVERSAL
|
|
293
|
-
CARD_TO_CARD: :CARD_TO_CARD
|
|
294
|
-
CASH_BACK: :CASH_BACK
|
|
295
|
-
CASH_BACK_REVERSAL: :CASH_BACK_REVERSAL
|
|
296
|
-
CLEARING: :CLEARING
|
|
297
|
-
COLLECTION: :COLLECTION
|
|
298
|
-
CORRECTION_CREDIT: :CORRECTION_CREDIT
|
|
299
|
-
CORRECTION_DEBIT: :CORRECTION_DEBIT
|
|
300
|
-
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
|
301
|
-
CREDIT_AUTHORIZATION_ADVICE: :CREDIT_AUTHORIZATION_ADVICE
|
|
302
|
-
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
|
303
|
-
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
304
|
-
DISPUTE_WON: :DISPUTE_WON
|
|
305
|
-
EXTERNAL_ACH_CANCELED: :EXTERNAL_ACH_CANCELED
|
|
306
|
-
EXTERNAL_ACH_INITIATED: :EXTERNAL_ACH_INITIATED
|
|
307
|
-
EXTERNAL_ACH_RELEASED: :EXTERNAL_ACH_RELEASED
|
|
308
|
-
EXTERNAL_ACH_REVERSED: :EXTERNAL_ACH_REVERSED
|
|
309
|
-
EXTERNAL_ACH_SETTLED: :EXTERNAL_ACH_SETTLED
|
|
310
|
-
EXTERNAL_CHECK_CANCELED: :EXTERNAL_CHECK_CANCELED
|
|
311
|
-
EXTERNAL_CHECK_INITIATED: :EXTERNAL_CHECK_INITIATED
|
|
312
|
-
EXTERNAL_CHECK_RELEASED: :EXTERNAL_CHECK_RELEASED
|
|
313
|
-
EXTERNAL_CHECK_REVERSED: :EXTERNAL_CHECK_REVERSED
|
|
314
|
-
EXTERNAL_CHECK_SETTLED: :EXTERNAL_CHECK_SETTLED
|
|
315
|
-
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
|
316
|
-
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
|
317
|
-
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
|
318
|
-
EXTERNAL_TRANSFER_REVERSED: :EXTERNAL_TRANSFER_REVERSED
|
|
319
|
-
EXTERNAL_TRANSFER_SETTLED: :EXTERNAL_TRANSFER_SETTLED
|
|
320
|
-
EXTERNAL_WIRE_CANCELED: :EXTERNAL_WIRE_CANCELED
|
|
321
|
-
EXTERNAL_WIRE_INITIATED: :EXTERNAL_WIRE_INITIATED
|
|
322
|
-
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
|
323
|
-
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
|
324
|
-
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
|
325
|
-
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
326
|
-
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
327
|
-
INTEREST: :INTEREST
|
|
328
|
-
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
329
|
-
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
330
|
-
LATE_PAYMENT: :LATE_PAYMENT
|
|
331
|
-
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
332
|
-
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
333
|
-
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
|
334
|
-
PROVISIONAL_CREDIT_REVERSAL: :PROVISIONAL_CREDIT_REVERSAL
|
|
335
|
-
SERVICE: :SERVICE
|
|
336
|
-
RETURN: :RETURN
|
|
337
|
-
RETURN_REVERSAL: :RETURN_REVERSAL
|
|
338
|
-
TRANSFER: :TRANSFER
|
|
339
|
-
TRANSFER_INSUFFICIENT_FUNDS: :TRANSFER_INSUFFICIENT_FUNDS
|
|
340
|
-
RETURNED_PAYMENT: :RETURNED_PAYMENT
|
|
341
|
-
RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
|
|
342
|
-
LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
|
|
343
|
-
|
|
344
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::type_]
|
|
345
|
-
end
|
|
346
|
-
end
|
|
347
|
-
|
|
348
135
|
type result = :APPROVED | :DECLINED
|
|
349
136
|
|
|
350
137
|
module Result
|
|
@@ -356,7 +143,8 @@ module Lithic
|
|
|
356
143
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::result]
|
|
357
144
|
end
|
|
358
145
|
|
|
359
|
-
type status =
|
|
146
|
+
type status =
|
|
147
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
360
148
|
|
|
361
149
|
module Status
|
|
362
150
|
extend Lithic::Internal::Type::Enum
|
|
@@ -366,17 +154,75 @@ module Lithic
|
|
|
366
154
|
DECLINED: :DECLINED
|
|
367
155
|
REVERSED: :REVERSED
|
|
368
156
|
CANCELED: :CANCELED
|
|
157
|
+
RETURNED: :RETURNED
|
|
369
158
|
|
|
370
159
|
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::status]
|
|
371
160
|
end
|
|
372
161
|
end
|
|
373
162
|
|
|
374
|
-
type card =
|
|
163
|
+
type card =
|
|
164
|
+
{
|
|
165
|
+
token: String,
|
|
166
|
+
created: Time,
|
|
167
|
+
family: :CARD,
|
|
168
|
+
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
169
|
+
updated: Time
|
|
170
|
+
}
|
|
375
171
|
|
|
376
172
|
class Card < Lithic::Models::Transaction
|
|
377
|
-
def
|
|
173
|
+
def token: -> String
|
|
174
|
+
|
|
175
|
+
def token=: (String _) -> String
|
|
176
|
+
|
|
177
|
+
def created: -> Time
|
|
178
|
+
|
|
179
|
+
def created=: (Time _) -> Time
|
|
378
180
|
|
|
379
|
-
def
|
|
181
|
+
def family: -> :CARD
|
|
182
|
+
|
|
183
|
+
def family=: (:CARD _) -> :CARD
|
|
184
|
+
|
|
185
|
+
def status: -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
186
|
+
|
|
187
|
+
def status=: (
|
|
188
|
+
Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status _
|
|
189
|
+
) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
190
|
+
|
|
191
|
+
def updated: -> Time
|
|
192
|
+
|
|
193
|
+
def updated=: (Time _) -> Time
|
|
194
|
+
|
|
195
|
+
def initialize: (
|
|
196
|
+
token: String,
|
|
197
|
+
created: Time,
|
|
198
|
+
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
199
|
+
updated: Time,
|
|
200
|
+
?family: :CARD
|
|
201
|
+
) -> void
|
|
202
|
+
|
|
203
|
+
def to_hash: -> {
|
|
204
|
+
token: String,
|
|
205
|
+
created: Time,
|
|
206
|
+
family: :CARD,
|
|
207
|
+
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
208
|
+
updated: Time
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type status =
|
|
212
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
213
|
+
|
|
214
|
+
module Status
|
|
215
|
+
extend Lithic::Internal::Type::Enum
|
|
216
|
+
|
|
217
|
+
PENDING: :PENDING
|
|
218
|
+
SETTLED: :SETTLED
|
|
219
|
+
DECLINED: :DECLINED
|
|
220
|
+
REVERSED: :REVERSED
|
|
221
|
+
CANCELED: :CANCELED
|
|
222
|
+
RETURNED: :RETURNED
|
|
223
|
+
|
|
224
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status]
|
|
225
|
+
end
|
|
380
226
|
end
|
|
381
227
|
|
|
382
228
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_retrieve_transaction_response]
|
|
@@ -6,79 +6,28 @@ module Lithic
|
|
|
6
6
|
type auth_rule_condition =
|
|
7
7
|
{
|
|
8
8
|
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
9
|
-
operation: Lithic::Models::AuthRules::
|
|
10
|
-
value: Lithic::Models::AuthRules::
|
|
9
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
10
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class AuthRuleCondition < Lithic::Internal::Type::BaseModel
|
|
14
|
-
|
|
14
|
+
attr_accessor attribute: Lithic::Models::AuthRules::conditional_attribute
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
Lithic::Models::AuthRules::conditional_attribute
|
|
18
|
-
) -> Lithic::Models::AuthRules::conditional_attribute
|
|
16
|
+
attr_accessor operation: Lithic::Models::AuthRules::conditional_operation
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def operation=: (
|
|
23
|
-
Lithic::Models::AuthRules::AuthRuleCondition::operation
|
|
24
|
-
) -> Lithic::Models::AuthRules::AuthRuleCondition::operation
|
|
25
|
-
|
|
26
|
-
attr_reader value: Lithic::Models::AuthRules::AuthRuleCondition::value?
|
|
27
|
-
|
|
28
|
-
def value=: (
|
|
29
|
-
Lithic::Models::AuthRules::AuthRuleCondition::value
|
|
30
|
-
) -> Lithic::Models::AuthRules::AuthRuleCondition::value
|
|
18
|
+
attr_accessor value: Lithic::Models::AuthRules::conditional_value
|
|
31
19
|
|
|
32
20
|
def initialize: (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
22
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
23
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
36
24
|
) -> void
|
|
37
25
|
|
|
38
26
|
def to_hash: -> {
|
|
39
27
|
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
40
|
-
operation: Lithic::Models::AuthRules::
|
|
41
|
-
value: Lithic::Models::AuthRules::
|
|
28
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
29
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
42
30
|
}
|
|
43
|
-
|
|
44
|
-
type operation =
|
|
45
|
-
:IS_ONE_OF
|
|
46
|
-
| :IS_NOT_ONE_OF
|
|
47
|
-
| :MATCHES
|
|
48
|
-
| :DOES_NOT_MATCH
|
|
49
|
-
| :IS_EQUAL_TO
|
|
50
|
-
| :IS_NOT_EQUAL_TO
|
|
51
|
-
| :IS_GREATER_THAN
|
|
52
|
-
| :IS_GREATER_THAN_OR_EQUAL_TO
|
|
53
|
-
| :IS_LESS_THAN
|
|
54
|
-
| :IS_LESS_THAN_OR_EQUAL_TO
|
|
55
|
-
|
|
56
|
-
module Operation
|
|
57
|
-
extend Lithic::Internal::Type::Enum
|
|
58
|
-
|
|
59
|
-
IS_ONE_OF: :IS_ONE_OF
|
|
60
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
|
61
|
-
MATCHES: :MATCHES
|
|
62
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
|
63
|
-
IS_EQUAL_TO: :IS_EQUAL_TO
|
|
64
|
-
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
|
65
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
|
66
|
-
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
|
67
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
|
68
|
-
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
|
69
|
-
|
|
70
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::operation]
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
type value = String | Integer | ::Array[String]
|
|
74
|
-
|
|
75
|
-
module Value
|
|
76
|
-
extend Lithic::Internal::Type::Union
|
|
77
|
-
|
|
78
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::value]
|
|
79
|
-
|
|
80
|
-
StringArray: Lithic::Internal::Type::Converter
|
|
81
|
-
end
|
|
82
31
|
end
|
|
83
32
|
end
|
|
84
33
|
end
|
|
@@ -36,39 +36,27 @@ module Lithic
|
|
|
36
36
|
type condition =
|
|
37
37
|
{
|
|
38
38
|
attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
|
39
|
-
operation: Lithic::Models::AuthRules::
|
|
40
|
-
value: Lithic::Models::AuthRules::
|
|
39
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
40
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
class Condition < Lithic::Internal::Type::BaseModel
|
|
44
|
-
|
|
44
|
+
attr_accessor attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute
|
|
48
|
-
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute
|
|
46
|
+
attr_accessor operation: Lithic::Models::AuthRules::conditional_operation
|
|
49
47
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def operation=: (
|
|
53
|
-
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation
|
|
54
|
-
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation
|
|
55
|
-
|
|
56
|
-
attr_reader value: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value?
|
|
57
|
-
|
|
58
|
-
def value=: (
|
|
59
|
-
Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
|
60
|
-
) -> Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value
|
|
48
|
+
attr_accessor value: Lithic::Models::AuthRules::conditional_value
|
|
61
49
|
|
|
62
50
|
def initialize: (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
51
|
+
attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
|
52
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
53
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
66
54
|
) -> void
|
|
67
55
|
|
|
68
56
|
def to_hash: -> {
|
|
69
57
|
attribute: Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute,
|
|
70
|
-
operation: Lithic::Models::AuthRules::
|
|
71
|
-
value: Lithic::Models::AuthRules::
|
|
58
|
+
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
59
|
+
value: Lithic::Models::AuthRules::conditional_value
|
|
72
60
|
}
|
|
73
61
|
|
|
74
62
|
type attribute =
|
|
@@ -97,45 +85,6 @@ module Lithic
|
|
|
97
85
|
|
|
98
86
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::attribute]
|
|
99
87
|
end
|
|
100
|
-
|
|
101
|
-
type operation =
|
|
102
|
-
:IS_ONE_OF
|
|
103
|
-
| :IS_NOT_ONE_OF
|
|
104
|
-
| :MATCHES
|
|
105
|
-
| :DOES_NOT_MATCH
|
|
106
|
-
| :IS_EQUAL_TO
|
|
107
|
-
| :IS_NOT_EQUAL_TO
|
|
108
|
-
| :IS_GREATER_THAN
|
|
109
|
-
| :IS_GREATER_THAN_OR_EQUAL_TO
|
|
110
|
-
| :IS_LESS_THAN
|
|
111
|
-
| :IS_LESS_THAN_OR_EQUAL_TO
|
|
112
|
-
|
|
113
|
-
module Operation
|
|
114
|
-
extend Lithic::Internal::Type::Enum
|
|
115
|
-
|
|
116
|
-
IS_ONE_OF: :IS_ONE_OF
|
|
117
|
-
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
|
118
|
-
MATCHES: :MATCHES
|
|
119
|
-
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
|
120
|
-
IS_EQUAL_TO: :IS_EQUAL_TO
|
|
121
|
-
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
|
122
|
-
IS_GREATER_THAN: :IS_GREATER_THAN
|
|
123
|
-
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
|
124
|
-
IS_LESS_THAN: :IS_LESS_THAN
|
|
125
|
-
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
|
126
|
-
|
|
127
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation]
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
type value = String | Integer | ::Array[String]
|
|
131
|
-
|
|
132
|
-
module Value
|
|
133
|
-
extend Lithic::Internal::Type::Union
|
|
134
|
-
|
|
135
|
-
def self?.variants: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::value]
|
|
136
|
-
|
|
137
|
-
StringArray: Lithic::Internal::Type::Converter
|
|
138
|
-
end
|
|
139
88
|
end
|
|
140
89
|
end
|
|
141
90
|
end
|