lithic 0.13.0 → 0.15.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 +35 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +2 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/account_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +10 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +119 -44
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +533 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +18 -14
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
- data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -9
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/balance.rb +8 -6
- data/lib/lithic/models/card_authorization.rb +1266 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
- data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
- data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/card_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/event.rb +13 -4
- data/lib/lithic/models/event_list_params.rb +7 -2
- data/lib/lithic/models/event_subscription.rb +7 -2
- data/lib/lithic/models/events/subscription_create_params.rb +7 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +7 -2
- data/lib/lithic/models/external_bank_account.rb +1 -1
- data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/statement.rb +4 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_event.rb +1 -0
- data/lib/lithic/models/kyb_business_entity.rb +2 -2
- data/lib/lithic/models/parsed_webhook_event.rb +4 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- data/lib/lithic/models/signals_response.rb +306 -0
- data/lib/lithic/models/statement_totals.rb +6 -6
- data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
- data/lib/lithic/models/transaction.rb +2 -2
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +14 -0
- data/lib/lithic/resources/accounts.rb +27 -0
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/resources/card_authorizations.rb +45 -0
- data/lib/lithic/resources/cards.rb +25 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +9 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/account_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +8 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +214 -63
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +24 -18
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +24 -12
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
- data/rbi/lithic/models/balance.rbi +12 -6
- data/rbi/lithic/models/card_authorization.rbi +2540 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
- data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
- data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
- data/rbi/lithic/models/card_program.rbi +3 -6
- data/rbi/lithic/models/card_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/event.rbi +23 -6
- data/rbi/lithic/models/event_list_params.rbi +11 -2
- data/rbi/lithic/models/event_subscription.rbi +11 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
- data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
- data/rbi/lithic/models/financial_event.rbi +2 -0
- data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- data/rbi/lithic/models/signals_response.rbi +352 -0
- data/rbi/lithic/models/statement_totals.rbi +9 -18
- data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
- data/rbi/lithic/models/transaction.rbi +3 -3
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/accounts.rbi +21 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
- data/rbi/lithic/resources/card_authorizations.rbi +35 -0
- data/rbi/lithic/resources/cards.rbi +19 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/account_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +29 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/balance.rbs +17 -9
- data/sig/lithic/models/card_authorization.rbs +1038 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
- data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
- data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
- data/sig/lithic/models/card_program.rbs +4 -6
- data/sig/lithic/models/card_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
- data/sig/lithic/models/financial_event.rbs +2 -0
- data/sig/lithic/models/kyb_business_entity.rbs +4 -6
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- data/sig/lithic/models/signals_response.rbs +170 -0
- data/sig/lithic/models/statement_totals.rbs +12 -18
- data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +4 -8
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +14 -0
- data/sig/lithic/resources/accounts.rbs +5 -0
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +29 -2
|
@@ -96,12 +96,12 @@ module Lithic
|
|
|
96
96
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
97
97
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
98
98
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
99
|
-
# fee on behalf of the cardholder.
|
|
99
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
100
100
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
101
101
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
102
102
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
103
103
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
104
|
-
# multiplying the raw score by 10x.
|
|
104
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
105
105
|
# - `TRANSACTION_STATUS`: The status of the transaction. Valid values are
|
|
106
106
|
# `PENDING`, `VOIDED`, `SETTLING`, `SETTLED`, `BOUNCED`, `RETURNED`, `DECLINED`,
|
|
107
107
|
# `EXPIRED`.
|
|
@@ -122,15 +122,17 @@ module Lithic
|
|
|
122
122
|
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
123
123
|
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
124
124
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
125
|
-
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction.
|
|
125
|
+
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
|
|
126
|
+
# an integer value.
|
|
126
127
|
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
|
|
127
|
-
# transaction.
|
|
128
|
+
# transaction. Use an integer value. For programs where Lithic does not manage
|
|
129
|
+
# or retain account holder data, this attribute does not evaluate.
|
|
128
130
|
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
|
|
129
131
|
# filters within the given period. Requires `parameters` with `scope`, `period`,
|
|
130
|
-
# and optional `filters`.
|
|
132
|
+
# and optional `filters`. Use an integer value.
|
|
131
133
|
# - `SPEND_VELOCITY_AMOUNT`: The total spend amount (in cents) of transactions
|
|
132
134
|
# matching the specified filters within the given period. Requires `parameters`
|
|
133
|
-
# with `scope`, `period`, and optional `filters`.
|
|
135
|
+
# with `scope`, `period`, and optional `filters`. Use an integer value.
|
|
134
136
|
sig do
|
|
135
137
|
returns(
|
|
136
138
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::Condition::Attribute::OrSymbol
|
|
@@ -194,12 +196,12 @@ module Lithic
|
|
|
194
196
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
195
197
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
196
198
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
197
|
-
# fee on behalf of the cardholder.
|
|
199
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
198
200
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
199
201
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
200
202
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
201
203
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
202
|
-
# multiplying the raw score by 10x.
|
|
204
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
203
205
|
# - `TRANSACTION_STATUS`: The status of the transaction. Valid values are
|
|
204
206
|
# `PENDING`, `VOIDED`, `SETTLING`, `SETTLED`, `BOUNCED`, `RETURNED`, `DECLINED`,
|
|
205
207
|
# `EXPIRED`.
|
|
@@ -220,15 +222,17 @@ module Lithic
|
|
|
220
222
|
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
221
223
|
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
222
224
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
223
|
-
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction.
|
|
225
|
+
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
|
|
226
|
+
# an integer value.
|
|
224
227
|
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
|
|
225
|
-
# transaction.
|
|
228
|
+
# transaction. Use an integer value. For programs where Lithic does not manage
|
|
229
|
+
# or retain account holder data, this attribute does not evaluate.
|
|
226
230
|
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
|
|
227
231
|
# filters within the given period. Requires `parameters` with `scope`, `period`,
|
|
228
|
-
# and optional `filters`.
|
|
232
|
+
# and optional `filters`. Use an integer value.
|
|
229
233
|
# - `SPEND_VELOCITY_AMOUNT`: The total spend amount (in cents) of transactions
|
|
230
234
|
# matching the specified filters within the given period. Requires `parameters`
|
|
231
|
-
# with `scope`, `period`, and optional `filters`.
|
|
235
|
+
# with `scope`, `period`, and optional `filters`. Use an integer value.
|
|
232
236
|
attribute:,
|
|
233
237
|
# The operation to apply to the attribute
|
|
234
238
|
operation:,
|
|
@@ -273,12 +277,12 @@ module Lithic
|
|
|
273
277
|
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
|
274
278
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
|
275
279
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
|
276
|
-
# fee on behalf of the cardholder.
|
|
280
|
+
# fee on behalf of the cardholder. Use an integer value.
|
|
277
281
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
|
278
282
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
|
279
283
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
|
280
284
|
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
|
281
|
-
# multiplying the raw score by 10x.
|
|
285
|
+
# multiplying the raw score by 10x. Use an integer value.
|
|
282
286
|
# - `TRANSACTION_STATUS`: The status of the transaction. Valid values are
|
|
283
287
|
# `PENDING`, `VOIDED`, `SETTLING`, `SETTLED`, `BOUNCED`, `RETURNED`, `DECLINED`,
|
|
284
288
|
# `EXPIRED`.
|
|
@@ -299,15 +303,17 @@ module Lithic
|
|
|
299
303
|
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
|
300
304
|
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
|
301
305
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
302
|
-
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction.
|
|
306
|
+
# - `CARD_AGE`: The age of the card in seconds at the time of the transaction. Use
|
|
307
|
+
# an integer value.
|
|
303
308
|
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the
|
|
304
|
-
# transaction.
|
|
309
|
+
# transaction. Use an integer value. For programs where Lithic does not manage
|
|
310
|
+
# or retain account holder data, this attribute does not evaluate.
|
|
305
311
|
# - `SPEND_VELOCITY_COUNT`: The number of transactions matching the specified
|
|
306
312
|
# filters within the given period. Requires `parameters` with `scope`, `period`,
|
|
307
|
-
# and optional `filters`.
|
|
313
|
+
# and optional `filters`. Use an integer value.
|
|
308
314
|
# - `SPEND_VELOCITY_AMOUNT`: The total spend amount (in cents) of transactions
|
|
309
315
|
# matching the specified filters within the given period. Requires `parameters`
|
|
310
|
-
# with `scope`, `period`, and optional `filters`.
|
|
316
|
+
# with `scope`, `period`, and optional `filters`. Use an integer value.
|
|
311
317
|
module Attribute
|
|
312
318
|
extend Lithic::Internal::Type::Enum
|
|
313
319
|
|
|
@@ -499,10 +499,10 @@ module Lithic
|
|
|
499
499
|
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
500
500
|
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
501
501
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
502
|
-
# = medium risk).
|
|
502
|
+
# = medium risk). Use an integer value.
|
|
503
503
|
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
504
504
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
505
|
-
# = medium risk).
|
|
505
|
+
# = medium risk). Use an integer value.
|
|
506
506
|
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
507
507
|
# provider. Valid values include APPROVE, DECLINE,
|
|
508
508
|
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
@@ -570,10 +570,10 @@ module Lithic
|
|
|
570
570
|
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
571
571
|
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
572
572
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
573
|
-
# = medium risk).
|
|
573
|
+
# = medium risk). Use an integer value.
|
|
574
574
|
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
575
575
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
576
|
-
# = medium risk).
|
|
576
|
+
# = medium risk). Use an integer value.
|
|
577
577
|
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
578
578
|
# provider. Valid values include APPROVE, DECLINE,
|
|
579
579
|
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
@@ -638,10 +638,10 @@ module Lithic
|
|
|
638
638
|
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
639
639
|
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
640
640
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
641
|
-
# = medium risk).
|
|
641
|
+
# = medium risk). Use an integer value.
|
|
642
642
|
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
643
643
|
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
644
|
-
# = medium risk).
|
|
644
|
+
# = medium risk). Use an integer value.
|
|
645
645
|
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
646
646
|
# provider. Valid values include APPROVE, DECLINE,
|
|
647
647
|
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
@@ -86,7 +86,8 @@ module Lithic
|
|
|
86
86
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
87
87
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
88
88
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
89
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
89
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
90
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
90
91
|
)
|
|
91
92
|
)
|
|
92
93
|
end
|
|
@@ -154,7 +155,8 @@ module Lithic
|
|
|
154
155
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
155
156
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
156
157
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
157
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
158
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash,
|
|
159
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
158
160
|
),
|
|
159
161
|
type:
|
|
160
162
|
Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type::OrSymbol,
|
|
@@ -206,7 +208,8 @@ module Lithic
|
|
|
206
208
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
207
209
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
208
210
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
209
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
211
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
212
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
210
213
|
),
|
|
211
214
|
type:
|
|
212
215
|
Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule::Type::OrSymbol,
|
|
@@ -235,7 +238,8 @@ module Lithic
|
|
|
235
238
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
236
239
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
237
240
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
238
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
241
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
242
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
239
243
|
)
|
|
240
244
|
end
|
|
241
245
|
|
|
@@ -339,7 +343,8 @@ module Lithic
|
|
|
339
343
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
340
344
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
341
345
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
342
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
346
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
347
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
343
348
|
)
|
|
344
349
|
)
|
|
345
350
|
end
|
|
@@ -394,7 +399,8 @@ module Lithic
|
|
|
394
399
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
395
400
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
396
401
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
397
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
402
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash,
|
|
403
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
398
404
|
),
|
|
399
405
|
type:
|
|
400
406
|
Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type::OrSymbol,
|
|
@@ -443,7 +449,8 @@ module Lithic
|
|
|
443
449
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
444
450
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
445
451
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
446
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
452
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
453
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
447
454
|
),
|
|
448
455
|
type:
|
|
449
456
|
Lithic::AuthRules::V2CreateParams::Body::CardLevelRule::Type::OrSymbol,
|
|
@@ -470,7 +477,8 @@ module Lithic
|
|
|
470
477
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
471
478
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
472
479
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
473
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
480
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
481
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
474
482
|
)
|
|
475
483
|
end
|
|
476
484
|
|
|
@@ -570,7 +578,8 @@ module Lithic
|
|
|
570
578
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
571
579
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
572
580
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
573
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
581
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
582
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
574
583
|
)
|
|
575
584
|
)
|
|
576
585
|
end
|
|
@@ -651,7 +660,8 @@ module Lithic
|
|
|
651
660
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
652
661
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
653
662
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
654
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
663
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash,
|
|
664
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
655
665
|
),
|
|
656
666
|
program_level: T::Boolean,
|
|
657
667
|
type:
|
|
@@ -709,7 +719,8 @@ module Lithic
|
|
|
709
719
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
710
720
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
711
721
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
712
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
722
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
723
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
713
724
|
),
|
|
714
725
|
program_level: T::Boolean,
|
|
715
726
|
type:
|
|
@@ -740,7 +751,8 @@ module Lithic
|
|
|
740
751
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
741
752
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
742
753
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
743
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
754
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
755
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
744
756
|
)
|
|
745
757
|
end
|
|
746
758
|
|
|
@@ -28,7 +28,8 @@ module Lithic
|
|
|
28
28
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
29
29
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
30
30
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
31
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
31
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
32
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
32
33
|
)
|
|
33
34
|
)
|
|
34
35
|
)
|
|
@@ -49,7 +50,8 @@ module Lithic
|
|
|
49
50
|
Lithic::AuthRules::ConditionalACHActionParameters::OrHash,
|
|
50
51
|
Lithic::AuthRules::ConditionalTokenizationActionParameters::OrHash,
|
|
51
52
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters::OrHash,
|
|
52
|
-
Lithic::AuthRules::TypescriptCodeParameters::OrHash
|
|
53
|
+
Lithic::AuthRules::TypescriptCodeParameters::OrHash,
|
|
54
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::OrHash
|
|
53
55
|
)
|
|
54
56
|
),
|
|
55
57
|
request_options: Lithic::RequestOptions::OrHash
|
|
@@ -78,7 +80,8 @@ module Lithic
|
|
|
78
80
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
79
81
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
80
82
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
81
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
83
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
84
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
82
85
|
)
|
|
83
86
|
),
|
|
84
87
|
request_options: Lithic::RequestOptions
|
|
@@ -103,7 +106,8 @@ module Lithic
|
|
|
103
106
|
Lithic::AuthRules::ConditionalACHActionParameters,
|
|
104
107
|
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
105
108
|
Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters,
|
|
106
|
-
Lithic::AuthRules::TypescriptCodeParameters
|
|
109
|
+
Lithic::AuthRules::TypescriptCodeParameters,
|
|
110
|
+
Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
107
111
|
)
|
|
108
112
|
end
|
|
109
113
|
|
|
@@ -28,12 +28,12 @@ module Lithic
|
|
|
28
28
|
|
|
29
29
|
# Globally unique identifier for the last financial transaction event that
|
|
30
30
|
# impacted this balance.
|
|
31
|
-
sig { returns(String) }
|
|
31
|
+
sig { returns(T.nilable(String)) }
|
|
32
32
|
attr_accessor :last_transaction_event_token
|
|
33
33
|
|
|
34
34
|
# Globally unique identifier for the last financial transaction that impacted this
|
|
35
35
|
# balance.
|
|
36
|
-
sig { returns(String) }
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
37
|
attr_accessor :last_transaction_token
|
|
38
38
|
|
|
39
39
|
# Funds not available for spend due to card authorizations or pending ACH release.
|
|
@@ -59,8 +59,8 @@ module Lithic
|
|
|
59
59
|
financial_account_token: String,
|
|
60
60
|
financial_account_type:
|
|
61
61
|
Lithic::Balance::FinancialAccountType::OrSymbol,
|
|
62
|
-
last_transaction_event_token: String,
|
|
63
|
-
last_transaction_token: String,
|
|
62
|
+
last_transaction_event_token: T.nilable(String),
|
|
63
|
+
last_transaction_token: T.nilable(String),
|
|
64
64
|
pending_amount: Integer,
|
|
65
65
|
total_amount: Integer,
|
|
66
66
|
updated: Time
|
|
@@ -103,8 +103,8 @@ module Lithic
|
|
|
103
103
|
financial_account_token: String,
|
|
104
104
|
financial_account_type:
|
|
105
105
|
Lithic::Balance::FinancialAccountType::TaggedSymbol,
|
|
106
|
-
last_transaction_event_token: String,
|
|
107
|
-
last_transaction_token: String,
|
|
106
|
+
last_transaction_event_token: T.nilable(String),
|
|
107
|
+
last_transaction_token: T.nilable(String),
|
|
108
108
|
pending_amount: Integer,
|
|
109
109
|
total_amount: Integer,
|
|
110
110
|
updated: Time
|
|
@@ -122,10 +122,16 @@ module Lithic
|
|
|
122
122
|
T.type_alias { T.all(Symbol, Lithic::Balance::FinancialAccountType) }
|
|
123
123
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
124
124
|
|
|
125
|
+
CARD = T.let(:CARD, Lithic::Balance::FinancialAccountType::TaggedSymbol)
|
|
125
126
|
ISSUING =
|
|
126
127
|
T.let(:ISSUING, Lithic::Balance::FinancialAccountType::TaggedSymbol)
|
|
127
128
|
OPERATING =
|
|
128
129
|
T.let(:OPERATING, Lithic::Balance::FinancialAccountType::TaggedSymbol)
|
|
130
|
+
PROGRAM_RECEIVABLES =
|
|
131
|
+
T.let(
|
|
132
|
+
:PROGRAM_RECEIVABLES,
|
|
133
|
+
Lithic::Balance::FinancialAccountType::TaggedSymbol
|
|
134
|
+
)
|
|
129
135
|
RESERVE =
|
|
130
136
|
T.let(:RESERVE, Lithic::Balance::FinancialAccountType::TaggedSymbol)
|
|
131
137
|
SECURITY =
|