lithic 0.21.0 → 0.23.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 +50 -0
- data/README.md +1 -10
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -24
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_authorization.rb +12 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
- data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
- data/lib/lithic/models/financial_account_balance.rb +6 -6
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +71 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
- data/lib/lithic/models/financial_event.rb +4 -0
- data/lib/lithic/models/funding_event_list_params.rb +28 -1
- data/lib/lithic/models/hold.rb +24 -28
- data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
- data/lib/lithic/models/ip_range_retrieve_response.rb +25 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/transaction.rb +11 -4
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +27 -3
- data/lib/lithic/models/transfer_limits_response.rb +9 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/cards/financial_transactions.rb +5 -3
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/resources/funding_events.rb +8 -2
- data/lib/lithic/resources/ip_ranges.rb +36 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +20 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +11 -1
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +5 -0
- data/rbi/lithic/models/card_authorization.rbi +14 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
- data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
- data/rbi/lithic/models/financial_account_balance.rbi +6 -6
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +143 -3
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
- data/rbi/lithic/models/financial_event.rbi +17 -0
- data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
- data/rbi/lithic/models/hold.rbi +28 -29
- data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +5 -2
- data/rbi/lithic/models/transaction.rbi +15 -6
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +25 -5
- data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/cards/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
- data/rbi/lithic/resources/funding_events.rbi +12 -0
- data/rbi/lithic/resources/ip_ranges.rbi +25 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +3 -32
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +2 -0
- data/sig/lithic/models/card_authorization.rbs +13 -1
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
- data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
- data/sig/lithic/models/financial_account_balance.rbs +8 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +12 -18
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +55 -3
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
- data/sig/lithic/models/financial_event.rbs +8 -0
- data/sig/lithic/models/funding_event_list_params.rbs +26 -1
- data/sig/lithic/models/hold.rbs +22 -30
- data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
- data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +12 -5
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +13 -3
- data/sig/lithic/models/transfer_limits_response.rbs +5 -0
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
- data/sig/lithic/resources/funding_events.rbs +3 -0
- data/sig/lithic/resources/ip_ranges.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +36 -10
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -113,6 +113,7 @@ module Lithic
|
|
|
113
113
|
amount: Integer,
|
|
114
114
|
descriptor: String,
|
|
115
115
|
pan: String,
|
|
116
|
+
billing_currency: String,
|
|
116
117
|
mcc: String,
|
|
117
118
|
merchant_acceptor_city: String,
|
|
118
119
|
merchant_acceptor_country: String,
|
|
@@ -122,6 +123,7 @@ module Lithic
|
|
|
122
123
|
merchant_currency: String,
|
|
123
124
|
partial_approval_capable: T::Boolean,
|
|
124
125
|
pin: String,
|
|
126
|
+
settlement_currency: String,
|
|
125
127
|
status:
|
|
126
128
|
Lithic::TransactionSimulateAuthorizationParams::Status::OrSymbol,
|
|
127
129
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -138,6 +140,10 @@ module Lithic
|
|
|
138
140
|
descriptor:,
|
|
139
141
|
# Sixteen digit card number.
|
|
140
142
|
pan:,
|
|
143
|
+
# 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
|
|
144
|
+
# Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
|
|
145
|
+
# a 422. Defaults to USD
|
|
146
|
+
billing_currency: nil,
|
|
141
147
|
# Merchant category code for the transaction to be simulated. A four-digit number
|
|
142
148
|
# listed in ISO 18245. Supported merchant category codes can be found
|
|
143
149
|
# [here](https://docs.lithic.com/docs/transactions#merchant-category-codes-mccs).
|
|
@@ -153,8 +159,10 @@ module Lithic
|
|
|
153
159
|
# Amount of the transaction to be simulated in currency specified in
|
|
154
160
|
# merchant_currency, including any acquirer fees.
|
|
155
161
|
merchant_amount: nil,
|
|
156
|
-
# 3-character alphabetic ISO 4217 currency code
|
|
157
|
-
#
|
|
162
|
+
# 3-character alphabetic ISO 4217 currency code for the merchant amount. Only used
|
|
163
|
+
# when merchant_amount is set, and defaults to GBP in that case. Without
|
|
164
|
+
# merchant_amount, the merchant amount uses the billing currency. Permitted values
|
|
165
|
+
# are USD, GBP, EUR and CAD, and any other ISO 4217 code returns a 422
|
|
158
166
|
merchant_currency: nil,
|
|
159
167
|
# Set to true if the terminal is capable of partial approval otherwise false.
|
|
160
168
|
# Partial approval is when part of a transaction is approved and another payment
|
|
@@ -162,6 +170,12 @@ module Lithic
|
|
|
162
170
|
partial_approval_capable: nil,
|
|
163
171
|
# Simulate entering a PIN. If omitted, PIN check will not be performed.
|
|
164
172
|
pin: nil,
|
|
173
|
+
# 3-character alphabetic ISO 4217 currency code for the settlement amount.
|
|
174
|
+
# Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
|
|
175
|
+
# a 422. Defaults to the value of billing_currency. Only single message
|
|
176
|
+
# (financial) authorizations carry a settlement amount, and the value is ignored
|
|
177
|
+
# for dual message authorizations
|
|
178
|
+
settlement_currency: nil,
|
|
165
179
|
# Type of event to simulate.
|
|
166
180
|
#
|
|
167
181
|
# - `AUTHORIZATION` is a dual message purchase authorization, meaning a subsequent
|
|
@@ -244,6 +258,7 @@ module Lithic
|
|
|
244
258
|
amount: Integer,
|
|
245
259
|
descriptor: String,
|
|
246
260
|
pan: String,
|
|
261
|
+
billing_currency: String,
|
|
247
262
|
mcc: String,
|
|
248
263
|
merchant_acceptor_city: String,
|
|
249
264
|
merchant_acceptor_country: String,
|
|
@@ -263,6 +278,10 @@ module Lithic
|
|
|
263
278
|
descriptor:,
|
|
264
279
|
# Sixteen digit card number.
|
|
265
280
|
pan:,
|
|
281
|
+
# 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
|
|
282
|
+
# Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
|
|
283
|
+
# a 422. Defaults to USD
|
|
284
|
+
billing_currency: nil,
|
|
266
285
|
# Merchant category code for the transaction to be simulated. A four-digit number
|
|
267
286
|
# listed in ISO 18245. Supported merchant category codes can be found
|
|
268
287
|
# [here](https://docs.lithic.com/docs/transactions#merchant-category-codes-mccs).
|
|
@@ -287,6 +306,8 @@ module Lithic
|
|
|
287
306
|
amount: Integer,
|
|
288
307
|
descriptor: String,
|
|
289
308
|
pan: String,
|
|
309
|
+
billing_currency: String,
|
|
310
|
+
settlement_currency: String,
|
|
290
311
|
request_options: Lithic::RequestOptions::OrHash
|
|
291
312
|
).returns(Lithic::Models::TransactionSimulateReturnResponse)
|
|
292
313
|
end
|
|
@@ -297,6 +318,14 @@ module Lithic
|
|
|
297
318
|
descriptor:,
|
|
298
319
|
# Sixteen digit card number.
|
|
299
320
|
pan:,
|
|
321
|
+
# 3-character alphabetic ISO 4217 currency code for the cardholder billing amount.
|
|
322
|
+
# Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
|
|
323
|
+
# a 422. Defaults to USD
|
|
324
|
+
billing_currency: nil,
|
|
325
|
+
# 3-character alphabetic ISO 4217 currency code for the settlement amount.
|
|
326
|
+
# Permitted values are USD, GBP, EUR and CAD, and any other ISO 4217 code returns
|
|
327
|
+
# a 422. Defaults to the value of billing_currency
|
|
328
|
+
settlement_currency: nil,
|
|
300
329
|
request_options: {}
|
|
301
330
|
)
|
|
302
331
|
end
|
data/sig/lithic/client.rbs
CHANGED
|
@@ -53,6 +53,8 @@ module Lithic
|
|
|
53
53
|
|
|
54
54
|
attr_reader responder_endpoints: Lithic::Resources::ResponderEndpoints
|
|
55
55
|
|
|
56
|
+
attr_reader ip_ranges: Lithic::Resources::IPRanges
|
|
57
|
+
|
|
56
58
|
attr_reader external_bank_accounts: Lithic::Resources::ExternalBankAccounts
|
|
57
59
|
|
|
58
60
|
attr_reader blockchain_recipients: Lithic::Resources::BlockchainRecipients
|
|
@@ -104,6 +104,7 @@ module Lithic
|
|
|
104
104
|
:ACH
|
|
105
105
|
| :WIRE
|
|
106
106
|
| :STABLECOIN
|
|
107
|
+
| :INTRA_BANK
|
|
107
108
|
| :BALANCE_OR_FUNDING
|
|
108
109
|
| :FEE
|
|
109
110
|
| :REWARD
|
|
@@ -133,6 +134,7 @@ module Lithic
|
|
|
133
134
|
ACH: :ACH
|
|
134
135
|
WIRE: :WIRE
|
|
135
136
|
STABLECOIN: :STABLECOIN
|
|
137
|
+
INTRA_BANK: :INTRA_BANK
|
|
136
138
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
137
139
|
FEE: :FEE
|
|
138
140
|
REWARD: :REWARD
|
|
@@ -92,6 +92,7 @@ module Lithic
|
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
94
|
| :STABLECOIN
|
|
95
|
+
| :INTRA_BANK
|
|
95
96
|
| :BALANCE_OR_FUNDING
|
|
96
97
|
| :FEE
|
|
97
98
|
| :REWARD
|
|
@@ -121,6 +122,7 @@ module Lithic
|
|
|
121
122
|
ACH: :ACH
|
|
122
123
|
WIRE: :WIRE
|
|
123
124
|
STABLECOIN: :STABLECOIN
|
|
125
|
+
INTRA_BANK: :INTRA_BANK
|
|
124
126
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
125
127
|
FEE: :FEE
|
|
126
128
|
REWARD: :REWARD
|
|
@@ -175,14 +177,7 @@ module Lithic
|
|
|
175
177
|
end
|
|
176
178
|
end
|
|
177
179
|
|
|
178
|
-
type card =
|
|
179
|
-
{
|
|
180
|
-
token: String,
|
|
181
|
-
created: Time,
|
|
182
|
-
family: :CARD,
|
|
183
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
184
|
-
updated: Time
|
|
185
|
-
}
|
|
180
|
+
type card = { token: String, created: Time, family: :CARD, updated: Time }
|
|
186
181
|
|
|
187
182
|
class Card < Lithic::Models::Transaction
|
|
188
183
|
def token: -> String
|
|
@@ -197,12 +192,6 @@ module Lithic
|
|
|
197
192
|
|
|
198
193
|
def family=: (:CARD _) -> :CARD
|
|
199
194
|
|
|
200
|
-
def status: -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
201
|
-
|
|
202
|
-
def status=: (
|
|
203
|
-
Lithic::Models::AccountActivityListResponse::Card::status _
|
|
204
|
-
) -> Lithic::Models::AccountActivityListResponse::Card::status
|
|
205
|
-
|
|
206
195
|
def updated: -> Time
|
|
207
196
|
|
|
208
197
|
def updated=: (Time _) -> Time
|
|
@@ -210,7 +199,6 @@ module Lithic
|
|
|
210
199
|
def initialize: (
|
|
211
200
|
token: String,
|
|
212
201
|
created: Time,
|
|
213
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
214
202
|
updated: Time,
|
|
215
203
|
?family: :CARD
|
|
216
204
|
) -> void
|
|
@@ -219,25 +207,8 @@ module Lithic
|
|
|
219
207
|
token: String,
|
|
220
208
|
created: Time,
|
|
221
209
|
family: :CARD,
|
|
222
|
-
status: Lithic::Models::AccountActivityListResponse::Card::status,
|
|
223
210
|
updated: Time
|
|
224
211
|
}
|
|
225
|
-
|
|
226
|
-
type status =
|
|
227
|
-
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
228
|
-
|
|
229
|
-
module Status
|
|
230
|
-
extend Lithic::Internal::Type::Enum
|
|
231
|
-
|
|
232
|
-
PENDING: :PENDING
|
|
233
|
-
SETTLED: :SETTLED
|
|
234
|
-
DECLINED: :DECLINED
|
|
235
|
-
REVERSED: :REVERSED
|
|
236
|
-
CANCELED: :CANCELED
|
|
237
|
-
RETURNED: :RETURNED
|
|
238
|
-
|
|
239
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::Card::status]
|
|
240
|
-
end
|
|
241
212
|
end
|
|
242
213
|
|
|
243
214
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_list_response]
|
|
@@ -92,6 +92,7 @@ module Lithic
|
|
|
92
92
|
:ACH
|
|
93
93
|
| :WIRE
|
|
94
94
|
| :STABLECOIN
|
|
95
|
+
| :INTRA_BANK
|
|
95
96
|
| :BALANCE_OR_FUNDING
|
|
96
97
|
| :FEE
|
|
97
98
|
| :REWARD
|
|
@@ -121,6 +122,7 @@ module Lithic
|
|
|
121
122
|
ACH: :ACH
|
|
122
123
|
WIRE: :WIRE
|
|
123
124
|
STABLECOIN: :STABLECOIN
|
|
125
|
+
INTRA_BANK: :INTRA_BANK
|
|
124
126
|
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
|
125
127
|
FEE: :FEE
|
|
126
128
|
REWARD: :REWARD
|
|
@@ -175,14 +177,7 @@ module Lithic
|
|
|
175
177
|
end
|
|
176
178
|
end
|
|
177
179
|
|
|
178
|
-
type card =
|
|
179
|
-
{
|
|
180
|
-
token: String,
|
|
181
|
-
created: Time,
|
|
182
|
-
family: :CARD,
|
|
183
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
184
|
-
updated: Time
|
|
185
|
-
}
|
|
180
|
+
type card = { token: String, created: Time, family: :CARD, updated: Time }
|
|
186
181
|
|
|
187
182
|
class Card < Lithic::Models::Transaction
|
|
188
183
|
def token: -> String
|
|
@@ -197,12 +192,6 @@ module Lithic
|
|
|
197
192
|
|
|
198
193
|
def family=: (:CARD _) -> :CARD
|
|
199
194
|
|
|
200
|
-
def status: -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
201
|
-
|
|
202
|
-
def status=: (
|
|
203
|
-
Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status _
|
|
204
|
-
) -> Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status
|
|
205
|
-
|
|
206
195
|
def updated: -> Time
|
|
207
196
|
|
|
208
197
|
def updated=: (Time _) -> Time
|
|
@@ -210,7 +199,6 @@ module Lithic
|
|
|
210
199
|
def initialize: (
|
|
211
200
|
token: String,
|
|
212
201
|
created: Time,
|
|
213
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
214
202
|
updated: Time,
|
|
215
203
|
?family: :CARD
|
|
216
204
|
) -> void
|
|
@@ -219,25 +207,8 @@ module Lithic
|
|
|
219
207
|
token: String,
|
|
220
208
|
created: Time,
|
|
221
209
|
family: :CARD,
|
|
222
|
-
status: Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status,
|
|
223
210
|
updated: Time
|
|
224
211
|
}
|
|
225
|
-
|
|
226
|
-
type status =
|
|
227
|
-
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
228
|
-
|
|
229
|
-
module Status
|
|
230
|
-
extend Lithic::Internal::Type::Enum
|
|
231
|
-
|
|
232
|
-
PENDING: :PENDING
|
|
233
|
-
SETTLED: :SETTLED
|
|
234
|
-
DECLINED: :DECLINED
|
|
235
|
-
REVERSED: :REVERSED
|
|
236
|
-
CANCELED: :CANCELED
|
|
237
|
-
RETURNED: :RETURNED
|
|
238
|
-
|
|
239
|
-
def self?.values: -> ::Array[Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::status]
|
|
240
|
-
end
|
|
241
212
|
end
|
|
242
213
|
|
|
243
214
|
def self?.variants: -> ::Array[Lithic::Models::account_activity_retrieve_transaction_response]
|
|
@@ -223,9 +223,9 @@ module Lithic
|
|
|
223
223
|
:address1 => String,
|
|
224
224
|
city: String,
|
|
225
225
|
country: String,
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
:
|
|
226
|
+
:address2 => String,
|
|
227
|
+
postal_code: String?,
|
|
228
|
+
state: String?
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -235,30 +235,30 @@ module Lithic
|
|
|
235
235
|
|
|
236
236
|
attr_accessor country: String
|
|
237
237
|
|
|
238
|
-
attr_accessor postal_code: String
|
|
239
|
-
|
|
240
|
-
attr_accessor state: String
|
|
241
|
-
|
|
242
238
|
attr_reader address2: String?
|
|
243
239
|
|
|
244
240
|
def address2=: (String) -> String
|
|
245
241
|
|
|
242
|
+
attr_accessor postal_code: String?
|
|
243
|
+
|
|
244
|
+
attr_accessor state: String?
|
|
245
|
+
|
|
246
246
|
def initialize: (
|
|
247
247
|
address1: String,
|
|
248
248
|
city: String,
|
|
249
249
|
country: String,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
?
|
|
250
|
+
?address2: String,
|
|
251
|
+
?postal_code: String?,
|
|
252
|
+
?state: String?
|
|
253
253
|
) -> void
|
|
254
254
|
|
|
255
255
|
def to_hash: -> {
|
|
256
256
|
:address1 => String,
|
|
257
257
|
city: String,
|
|
258
258
|
country: String,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
:
|
|
259
|
+
:address2 => String,
|
|
260
|
+
postal_code: String?,
|
|
261
|
+
state: String?
|
|
262
262
|
}
|
|
263
263
|
end
|
|
264
264
|
end
|
|
@@ -325,9 +325,9 @@ module Lithic
|
|
|
325
325
|
:address1 => String,
|
|
326
326
|
city: String,
|
|
327
327
|
country: String,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
:
|
|
328
|
+
:address2 => String,
|
|
329
|
+
postal_code: String?,
|
|
330
|
+
state: String?
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -337,30 +337,30 @@ module Lithic
|
|
|
337
337
|
|
|
338
338
|
attr_accessor country: String
|
|
339
339
|
|
|
340
|
-
attr_accessor postal_code: String
|
|
341
|
-
|
|
342
|
-
attr_accessor state: String
|
|
343
|
-
|
|
344
340
|
attr_reader address2: String?
|
|
345
341
|
|
|
346
342
|
def address2=: (String) -> String
|
|
347
343
|
|
|
344
|
+
attr_accessor postal_code: String?
|
|
345
|
+
|
|
346
|
+
attr_accessor state: String?
|
|
347
|
+
|
|
348
348
|
def initialize: (
|
|
349
349
|
address1: String,
|
|
350
350
|
city: String,
|
|
351
351
|
country: String,
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
?
|
|
352
|
+
?address2: String,
|
|
353
|
+
?postal_code: String?,
|
|
354
|
+
?state: String?
|
|
355
355
|
) -> void
|
|
356
356
|
|
|
357
357
|
def to_hash: -> {
|
|
358
358
|
:address1 => String,
|
|
359
359
|
city: String,
|
|
360
360
|
country: String,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
:
|
|
361
|
+
:address2 => String,
|
|
362
|
+
postal_code: String?,
|
|
363
|
+
state: String?
|
|
364
364
|
}
|
|
365
365
|
end
|
|
366
366
|
end
|
|
@@ -438,9 +438,9 @@ module Lithic
|
|
|
438
438
|
:address1 => String,
|
|
439
439
|
city: String,
|
|
440
440
|
country: String,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
:
|
|
441
|
+
:address2 => String,
|
|
442
|
+
postal_code: String?,
|
|
443
|
+
state: String?
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -450,30 +450,30 @@ module Lithic
|
|
|
450
450
|
|
|
451
451
|
attr_accessor country: String
|
|
452
452
|
|
|
453
|
-
attr_accessor postal_code: String
|
|
454
|
-
|
|
455
|
-
attr_accessor state: String
|
|
456
|
-
|
|
457
453
|
attr_reader address2: String?
|
|
458
454
|
|
|
459
455
|
def address2=: (String) -> String
|
|
460
456
|
|
|
457
|
+
attr_accessor postal_code: String?
|
|
458
|
+
|
|
459
|
+
attr_accessor state: String?
|
|
460
|
+
|
|
461
461
|
def initialize: (
|
|
462
462
|
address1: String,
|
|
463
463
|
city: String,
|
|
464
464
|
country: String,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
?
|
|
465
|
+
?address2: String,
|
|
466
|
+
?postal_code: String?,
|
|
467
|
+
?state: String?
|
|
468
468
|
) -> void
|
|
469
469
|
|
|
470
470
|
def to_hash: -> {
|
|
471
471
|
:address1 => String,
|
|
472
472
|
city: String,
|
|
473
473
|
country: String,
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
:
|
|
474
|
+
:address2 => String,
|
|
475
|
+
postal_code: String?,
|
|
476
|
+
state: String?
|
|
477
477
|
}
|
|
478
478
|
end
|
|
479
479
|
end
|
|
@@ -238,9 +238,9 @@ module Lithic
|
|
|
238
238
|
:address1 => String,
|
|
239
239
|
city: String,
|
|
240
240
|
country: String,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
:
|
|
241
|
+
:address2 => String,
|
|
242
|
+
postal_code: String?,
|
|
243
|
+
state: String?
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -250,30 +250,30 @@ module Lithic
|
|
|
250
250
|
|
|
251
251
|
attr_accessor country: String
|
|
252
252
|
|
|
253
|
-
attr_accessor postal_code: String
|
|
254
|
-
|
|
255
|
-
attr_accessor state: String
|
|
256
|
-
|
|
257
253
|
attr_reader address2: String?
|
|
258
254
|
|
|
259
255
|
def address2=: (String) -> String
|
|
260
256
|
|
|
257
|
+
attr_accessor postal_code: String?
|
|
258
|
+
|
|
259
|
+
attr_accessor state: String?
|
|
260
|
+
|
|
261
261
|
def initialize: (
|
|
262
262
|
address1: String,
|
|
263
263
|
city: String,
|
|
264
264
|
country: String,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
?
|
|
265
|
+
?address2: String,
|
|
266
|
+
?postal_code: String?,
|
|
267
|
+
?state: String?
|
|
268
268
|
) -> void
|
|
269
269
|
|
|
270
270
|
def to_hash: -> {
|
|
271
271
|
:address1 => String,
|
|
272
272
|
city: String,
|
|
273
273
|
country: String,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
:
|
|
274
|
+
:address2 => String,
|
|
275
|
+
postal_code: String?,
|
|
276
|
+
state: String?
|
|
277
277
|
}
|
|
278
278
|
end
|
|
279
279
|
end
|
|
@@ -340,9 +340,9 @@ module Lithic
|
|
|
340
340
|
:address1 => String,
|
|
341
341
|
city: String,
|
|
342
342
|
country: String,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
:
|
|
343
|
+
:address2 => String,
|
|
344
|
+
postal_code: String?,
|
|
345
|
+
state: String?
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -352,30 +352,30 @@ module Lithic
|
|
|
352
352
|
|
|
353
353
|
attr_accessor country: String
|
|
354
354
|
|
|
355
|
-
attr_accessor postal_code: String
|
|
356
|
-
|
|
357
|
-
attr_accessor state: String
|
|
358
|
-
|
|
359
355
|
attr_reader address2: String?
|
|
360
356
|
|
|
361
357
|
def address2=: (String) -> String
|
|
362
358
|
|
|
359
|
+
attr_accessor postal_code: String?
|
|
360
|
+
|
|
361
|
+
attr_accessor state: String?
|
|
362
|
+
|
|
363
363
|
def initialize: (
|
|
364
364
|
address1: String,
|
|
365
365
|
city: String,
|
|
366
366
|
country: String,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
?
|
|
367
|
+
?address2: String,
|
|
368
|
+
?postal_code: String?,
|
|
369
|
+
?state: String?
|
|
370
370
|
) -> void
|
|
371
371
|
|
|
372
372
|
def to_hash: -> {
|
|
373
373
|
:address1 => String,
|
|
374
374
|
city: String,
|
|
375
375
|
country: String,
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
:
|
|
376
|
+
:address2 => String,
|
|
377
|
+
postal_code: String?,
|
|
378
|
+
state: String?
|
|
379
379
|
}
|
|
380
380
|
end
|
|
381
381
|
end
|
|
@@ -453,9 +453,9 @@ module Lithic
|
|
|
453
453
|
:address1 => String,
|
|
454
454
|
city: String,
|
|
455
455
|
country: String,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
:
|
|
456
|
+
:address2 => String,
|
|
457
|
+
postal_code: String?,
|
|
458
|
+
state: String?
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -465,30 +465,30 @@ module Lithic
|
|
|
465
465
|
|
|
466
466
|
attr_accessor country: String
|
|
467
467
|
|
|
468
|
-
attr_accessor postal_code: String
|
|
469
|
-
|
|
470
|
-
attr_accessor state: String
|
|
471
|
-
|
|
472
468
|
attr_reader address2: String?
|
|
473
469
|
|
|
474
470
|
def address2=: (String) -> String
|
|
475
471
|
|
|
472
|
+
attr_accessor postal_code: String?
|
|
473
|
+
|
|
474
|
+
attr_accessor state: String?
|
|
475
|
+
|
|
476
476
|
def initialize: (
|
|
477
477
|
address1: String,
|
|
478
478
|
city: String,
|
|
479
479
|
country: String,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
?
|
|
480
|
+
?address2: String,
|
|
481
|
+
?postal_code: String?,
|
|
482
|
+
?state: String?
|
|
483
483
|
) -> void
|
|
484
484
|
|
|
485
485
|
def to_hash: -> {
|
|
486
486
|
:address1 => String,
|
|
487
487
|
city: String,
|
|
488
488
|
country: String,
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
:
|
|
489
|
+
:address2 => String,
|
|
490
|
+
postal_code: String?,
|
|
491
|
+
state: String?
|
|
492
492
|
}
|
|
493
493
|
end
|
|
494
494
|
end
|
|
@@ -758,9 +758,9 @@ module Lithic
|
|
|
758
758
|
:address1 => String,
|
|
759
759
|
city: String,
|
|
760
760
|
country: String,
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
:
|
|
761
|
+
:address2 => String,
|
|
762
|
+
postal_code: String?,
|
|
763
|
+
state: String?
|
|
764
764
|
}
|
|
765
765
|
|
|
766
766
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -770,30 +770,30 @@ module Lithic
|
|
|
770
770
|
|
|
771
771
|
attr_accessor country: String
|
|
772
772
|
|
|
773
|
-
attr_accessor postal_code: String
|
|
774
|
-
|
|
775
|
-
attr_accessor state: String
|
|
776
|
-
|
|
777
773
|
attr_reader address2: String?
|
|
778
774
|
|
|
779
775
|
def address2=: (String) -> String
|
|
780
776
|
|
|
777
|
+
attr_accessor postal_code: String?
|
|
778
|
+
|
|
779
|
+
attr_accessor state: String?
|
|
780
|
+
|
|
781
781
|
def initialize: (
|
|
782
782
|
address1: String,
|
|
783
783
|
city: String,
|
|
784
784
|
country: String,
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
?
|
|
785
|
+
?address2: String,
|
|
786
|
+
?postal_code: String?,
|
|
787
|
+
?state: String?
|
|
788
788
|
) -> void
|
|
789
789
|
|
|
790
790
|
def to_hash: -> {
|
|
791
791
|
:address1 => String,
|
|
792
792
|
city: String,
|
|
793
793
|
country: String,
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
:
|
|
794
|
+
:address2 => String,
|
|
795
|
+
postal_code: String?,
|
|
796
|
+
state: String?
|
|
797
797
|
}
|
|
798
798
|
end
|
|
799
799
|
end
|