lithic 0.11.0 → 0.12.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 +10 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +143 -1
- data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_bank_account_set_verification_method_params.rb +55 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/external_bank_accounts.rb +31 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +337 -3
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
- data/rbi/lithic/models/event.rbi +11 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_bank_account_set_verification_method_params.rbi +111 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models.rbi +6 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +87 -3
- data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -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_set_verification_method_params.rbs +51 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +8 -2
|
@@ -176,6 +176,37 @@ module Lithic
|
|
|
176
176
|
)
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
+
# Some parameter documentations has been truncated, see
|
|
180
|
+
# {Lithic::Models::ExternalBankAccountSetVerificationMethodParams} for more
|
|
181
|
+
# details.
|
|
182
|
+
#
|
|
183
|
+
# Update the verification method for an external bank account. Verification method
|
|
184
|
+
# can only be updated if the `verification_state` is `PENDING`.
|
|
185
|
+
#
|
|
186
|
+
# @overload set_verification_method(external_bank_account_token, verification_method:, financial_account_token: nil, request_options: {})
|
|
187
|
+
#
|
|
188
|
+
# @param external_bank_account_token [String]
|
|
189
|
+
#
|
|
190
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod] The verification method to set for the external bank account
|
|
191
|
+
#
|
|
192
|
+
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits.
|
|
193
|
+
#
|
|
194
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
195
|
+
#
|
|
196
|
+
# @return [Lithic::Models::ExternalBankAccount]
|
|
197
|
+
#
|
|
198
|
+
# @see Lithic::Models::ExternalBankAccountSetVerificationMethodParams
|
|
199
|
+
def set_verification_method(external_bank_account_token, params)
|
|
200
|
+
parsed, options = Lithic::ExternalBankAccountSetVerificationMethodParams.dump_request(params)
|
|
201
|
+
@client.request(
|
|
202
|
+
method: :post,
|
|
203
|
+
path: ["v1/external_bank_accounts/%1$s/set_verification_method", external_bank_account_token],
|
|
204
|
+
body: parsed,
|
|
205
|
+
model: Lithic::ExternalBankAccount,
|
|
206
|
+
options: options
|
|
207
|
+
)
|
|
208
|
+
end
|
|
209
|
+
|
|
179
210
|
# Unpause an external bank account
|
|
180
211
|
#
|
|
181
212
|
# @overload unpause(external_bank_account_token, request_options: {})
|
|
@@ -9,7 +9,7 @@ module Lithic
|
|
|
9
9
|
# @param headers [Hash{String => String}] The webhook request headers
|
|
10
10
|
# @param secret [String, nil] The webhook secret. If not provided, reads from LITHIC_WEBHOOK_SECRET environment variable.
|
|
11
11
|
#
|
|
12
|
-
# @return [Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent] #
|
|
12
|
+
# @return [Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent] #
|
|
13
13
|
# @raise [ArgumentError] if secret is not provided and LITHIC_WEBHOOK_SECRET env var is not set
|
|
14
14
|
# @raise [Lithic::Errors::MissingDependencyError] if the standardwebhooks gem is not installed
|
|
15
15
|
# @raise [StandardWebhooks::WebhookVerificationError] if the signature is invalid
|
data/lib/lithic/version.rb
CHANGED
data/lib/lithic.rb
CHANGED
|
@@ -168,6 +168,7 @@ require_relative "lithic/models/book_transfer_transaction_created_webhook_event"
|
|
|
168
168
|
require_relative "lithic/models/book_transfer_transaction_updated_webhook_event"
|
|
169
169
|
require_relative "lithic/models/card"
|
|
170
170
|
require_relative "lithic/models/card_authorization_approval_request_webhook_event"
|
|
171
|
+
require_relative "lithic/models/card_authorization_challenge_response_webhook_event"
|
|
171
172
|
require_relative "lithic/models/card_bulk_order"
|
|
172
173
|
require_relative "lithic/models/card_bulk_order_create_params"
|
|
173
174
|
require_relative "lithic/models/card_bulk_order_list_params"
|
|
@@ -270,6 +271,7 @@ require_relative "lithic/models/external_bank_account_retry_micro_deposits_respo
|
|
|
270
271
|
require_relative "lithic/models/external_bank_account_retry_prenote_params"
|
|
271
272
|
require_relative "lithic/models/external_bank_accounts/micro_deposit_create_params"
|
|
272
273
|
require_relative "lithic/models/external_bank_accounts/micro_deposit_create_response"
|
|
274
|
+
require_relative "lithic/models/external_bank_account_set_verification_method_params"
|
|
273
275
|
require_relative "lithic/models/external_bank_account_unpause_params"
|
|
274
276
|
require_relative "lithic/models/external_bank_account_updated_webhook_event"
|
|
275
277
|
require_relative "lithic/models/external_bank_account_update_params"
|
|
@@ -176,6 +176,33 @@ module Lithic
|
|
|
176
176
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
177
177
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
178
178
|
# of the authorization.
|
|
179
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
180
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
181
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
182
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
183
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
184
|
+
# `parameters.interval`.
|
|
185
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
186
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
187
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
188
|
+
# and `parameters.interval`.
|
|
189
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
190
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
191
|
+
# Requires `parameters.scope`.
|
|
192
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
193
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
194
|
+
# `parameters.scope`.
|
|
195
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
196
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
197
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
198
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
199
|
+
# supported for `BUSINESS_ACCOUNT` scope.
|
|
200
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
201
|
+
# transaction for the entity. Requires `parameters.scope`.
|
|
202
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
203
|
+
# the entity's transaction history. Requires `parameters.scope`.
|
|
204
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
205
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
179
206
|
sig do
|
|
180
207
|
returns(
|
|
181
208
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
@@ -191,12 +218,36 @@ module Lithic
|
|
|
191
218
|
sig { returns(Lithic::AuthRules::ConditionalValue::Variants) }
|
|
192
219
|
attr_accessor :value
|
|
193
220
|
|
|
221
|
+
# Additional parameters required for transaction history signal attributes.
|
|
222
|
+
# Required when `attribute` is one of `AMOUNT_Z_SCORE`, `AVG_TRANSACTION_AMOUNT`,
|
|
223
|
+
# `STDEV_TRANSACTION_AMOUNT`, `IS_NEW_COUNTRY`, `IS_NEW_MCC`,
|
|
224
|
+
# `IS_FIRST_TRANSACTION`, `CONSECUTIVE_DECLINES`, `TIME_SINCE_LAST_TRANSACTION`,
|
|
225
|
+
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
|
|
226
|
+
sig do
|
|
227
|
+
returns(
|
|
228
|
+
T.nilable(
|
|
229
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters
|
|
230
|
+
)
|
|
231
|
+
)
|
|
232
|
+
end
|
|
233
|
+
attr_reader :parameters
|
|
234
|
+
|
|
235
|
+
sig do
|
|
236
|
+
params(
|
|
237
|
+
parameters:
|
|
238
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::OrHash
|
|
239
|
+
).void
|
|
240
|
+
end
|
|
241
|
+
attr_writer :parameters
|
|
242
|
+
|
|
194
243
|
sig do
|
|
195
244
|
params(
|
|
196
245
|
attribute:
|
|
197
246
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
198
247
|
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
199
|
-
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
248
|
+
value: Lithic::AuthRules::ConditionalValue::Variants,
|
|
249
|
+
parameters:
|
|
250
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::OrHash
|
|
200
251
|
).returns(T.attached_class)
|
|
201
252
|
end
|
|
202
253
|
def self.new(
|
|
@@ -271,11 +322,44 @@ module Lithic
|
|
|
271
322
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
272
323
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
273
324
|
# of the authorization.
|
|
325
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
326
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
327
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
328
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
329
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
330
|
+
# `parameters.interval`.
|
|
331
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
332
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
333
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
334
|
+
# and `parameters.interval`.
|
|
335
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
336
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
337
|
+
# Requires `parameters.scope`.
|
|
338
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
339
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
340
|
+
# `parameters.scope`.
|
|
341
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
342
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
343
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
344
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
345
|
+
# supported for `BUSINESS_ACCOUNT` scope.
|
|
346
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
347
|
+
# transaction for the entity. Requires `parameters.scope`.
|
|
348
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
349
|
+
# the entity's transaction history. Requires `parameters.scope`.
|
|
350
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
351
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
274
352
|
attribute:,
|
|
275
353
|
# The operation to apply to the attribute
|
|
276
354
|
operation:,
|
|
277
355
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
278
|
-
value
|
|
356
|
+
value:,
|
|
357
|
+
# Additional parameters required for transaction history signal attributes.
|
|
358
|
+
# Required when `attribute` is one of `AMOUNT_Z_SCORE`, `AVG_TRANSACTION_AMOUNT`,
|
|
359
|
+
# `STDEV_TRANSACTION_AMOUNT`, `IS_NEW_COUNTRY`, `IS_NEW_MCC`,
|
|
360
|
+
# `IS_FIRST_TRANSACTION`, `CONSECUTIVE_DECLINES`, `TIME_SINCE_LAST_TRANSACTION`,
|
|
361
|
+
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
|
|
362
|
+
parameters: nil
|
|
279
363
|
)
|
|
280
364
|
end
|
|
281
365
|
|
|
@@ -285,7 +369,9 @@ module Lithic
|
|
|
285
369
|
attribute:
|
|
286
370
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
287
371
|
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
288
|
-
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
372
|
+
value: Lithic::AuthRules::ConditionalValue::Variants,
|
|
373
|
+
parameters:
|
|
374
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters
|
|
289
375
|
}
|
|
290
376
|
)
|
|
291
377
|
end
|
|
@@ -363,6 +449,33 @@ module Lithic
|
|
|
363
449
|
# - `CARD_AGE`: The age of the card in seconds at the time of the authorization.
|
|
364
450
|
# - `ACCOUNT_AGE`: The age of the account holder's account in seconds at the time
|
|
365
451
|
# of the authorization.
|
|
452
|
+
# - `AMOUNT_Z_SCORE`: The z-score of the transaction amount relative to the
|
|
453
|
+
# entity's transaction history. Null if fewer than 30 approved transactions in
|
|
454
|
+
# the specified window. Requires `parameters.scope` and `parameters.interval`.
|
|
455
|
+
# - `AVG_TRANSACTION_AMOUNT`: The average approved transaction amount for the
|
|
456
|
+
# entity over the specified window, in cents. Requires `parameters.scope` and
|
|
457
|
+
# `parameters.interval`.
|
|
458
|
+
# - `STDEV_TRANSACTION_AMOUNT`: The standard deviation of approved transaction
|
|
459
|
+
# amounts for the entity over the specified window, in cents. Null if fewer than
|
|
460
|
+
# 30 approved transactions in the specified window. Requires `parameters.scope`
|
|
461
|
+
# and `parameters.interval`.
|
|
462
|
+
# - `IS_NEW_COUNTRY`: Whether the transaction's merchant country has not been seen
|
|
463
|
+
# in the entity's transaction history. Valid values are `TRUE`, `FALSE`.
|
|
464
|
+
# Requires `parameters.scope`.
|
|
465
|
+
# - `IS_NEW_MCC`: Whether the transaction's MCC has not been seen in the entity's
|
|
466
|
+
# transaction history. Valid values are `TRUE`, `FALSE`. Requires
|
|
467
|
+
# `parameters.scope`.
|
|
468
|
+
# - `IS_FIRST_TRANSACTION`: Whether this is the first transaction for the entity.
|
|
469
|
+
# Valid values are `TRUE`, `FALSE`. Requires `parameters.scope`.
|
|
470
|
+
# - `CONSECUTIVE_DECLINES`: The number of consecutive declined transactions for
|
|
471
|
+
# the entity over the last 30 days (rolling). Requires `parameters.scope`. Not
|
|
472
|
+
# supported for `BUSINESS_ACCOUNT` scope.
|
|
473
|
+
# - `TIME_SINCE_LAST_TRANSACTION`: The number of days since the last approved
|
|
474
|
+
# transaction for the entity. Requires `parameters.scope`.
|
|
475
|
+
# - `DISTINCT_COUNTRY_COUNT`: The number of distinct merchant countries seen in
|
|
476
|
+
# the entity's transaction history. Requires `parameters.scope`.
|
|
477
|
+
# - `THREE_DS_SUCCESS_RATE`: The 3DS authentication success rate for the card, as
|
|
478
|
+
# a percentage from 0.0 to 100.0. Card-scoped only; no `parameters` required.
|
|
366
479
|
module Attribute
|
|
367
480
|
extend Lithic::Internal::Type::Enum
|
|
368
481
|
|
|
@@ -505,6 +618,56 @@ module Lithic
|
|
|
505
618
|
:ACCOUNT_AGE,
|
|
506
619
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
507
620
|
)
|
|
621
|
+
AMOUNT_Z_SCORE =
|
|
622
|
+
T.let(
|
|
623
|
+
:AMOUNT_Z_SCORE,
|
|
624
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
625
|
+
)
|
|
626
|
+
AVG_TRANSACTION_AMOUNT =
|
|
627
|
+
T.let(
|
|
628
|
+
:AVG_TRANSACTION_AMOUNT,
|
|
629
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
630
|
+
)
|
|
631
|
+
STDEV_TRANSACTION_AMOUNT =
|
|
632
|
+
T.let(
|
|
633
|
+
:STDEV_TRANSACTION_AMOUNT,
|
|
634
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
635
|
+
)
|
|
636
|
+
IS_NEW_COUNTRY =
|
|
637
|
+
T.let(
|
|
638
|
+
:IS_NEW_COUNTRY,
|
|
639
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
640
|
+
)
|
|
641
|
+
IS_NEW_MCC =
|
|
642
|
+
T.let(
|
|
643
|
+
:IS_NEW_MCC,
|
|
644
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
645
|
+
)
|
|
646
|
+
IS_FIRST_TRANSACTION =
|
|
647
|
+
T.let(
|
|
648
|
+
:IS_FIRST_TRANSACTION,
|
|
649
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
650
|
+
)
|
|
651
|
+
CONSECUTIVE_DECLINES =
|
|
652
|
+
T.let(
|
|
653
|
+
:CONSECUTIVE_DECLINES,
|
|
654
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
655
|
+
)
|
|
656
|
+
TIME_SINCE_LAST_TRANSACTION =
|
|
657
|
+
T.let(
|
|
658
|
+
:TIME_SINCE_LAST_TRANSACTION,
|
|
659
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
660
|
+
)
|
|
661
|
+
DISTINCT_COUNTRY_COUNT =
|
|
662
|
+
T.let(
|
|
663
|
+
:DISTINCT_COUNTRY_COUNT,
|
|
664
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
665
|
+
)
|
|
666
|
+
THREE_DS_SUCCESS_RATE =
|
|
667
|
+
T.let(
|
|
668
|
+
:THREE_DS_SUCCESS_RATE,
|
|
669
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
670
|
+
)
|
|
508
671
|
|
|
509
672
|
sig do
|
|
510
673
|
override.returns(
|
|
@@ -516,6 +679,177 @@ module Lithic
|
|
|
516
679
|
def self.values
|
|
517
680
|
end
|
|
518
681
|
end
|
|
682
|
+
|
|
683
|
+
class Parameters < Lithic::Internal::Type::BaseModel
|
|
684
|
+
OrHash =
|
|
685
|
+
T.type_alias do
|
|
686
|
+
T.any(
|
|
687
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters,
|
|
688
|
+
Lithic::Internal::AnyHash
|
|
689
|
+
)
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
|
|
693
|
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
|
|
694
|
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
|
|
695
|
+
sig do
|
|
696
|
+
returns(
|
|
697
|
+
T.nilable(
|
|
698
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::OrSymbol
|
|
699
|
+
)
|
|
700
|
+
)
|
|
701
|
+
end
|
|
702
|
+
attr_reader :interval
|
|
703
|
+
|
|
704
|
+
sig do
|
|
705
|
+
params(
|
|
706
|
+
interval:
|
|
707
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::OrSymbol
|
|
708
|
+
).void
|
|
709
|
+
end
|
|
710
|
+
attr_writer :interval
|
|
711
|
+
|
|
712
|
+
# The entity scope to evaluate the attribute against.
|
|
713
|
+
sig do
|
|
714
|
+
returns(
|
|
715
|
+
T.nilable(
|
|
716
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::OrSymbol
|
|
717
|
+
)
|
|
718
|
+
)
|
|
719
|
+
end
|
|
720
|
+
attr_reader :scope
|
|
721
|
+
|
|
722
|
+
sig do
|
|
723
|
+
params(
|
|
724
|
+
scope:
|
|
725
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::OrSymbol
|
|
726
|
+
).void
|
|
727
|
+
end
|
|
728
|
+
attr_writer :scope
|
|
729
|
+
|
|
730
|
+
# Additional parameters required for transaction history signal attributes.
|
|
731
|
+
# Required when `attribute` is one of `AMOUNT_Z_SCORE`, `AVG_TRANSACTION_AMOUNT`,
|
|
732
|
+
# `STDEV_TRANSACTION_AMOUNT`, `IS_NEW_COUNTRY`, `IS_NEW_MCC`,
|
|
733
|
+
# `IS_FIRST_TRANSACTION`, `CONSECUTIVE_DECLINES`, `TIME_SINCE_LAST_TRANSACTION`,
|
|
734
|
+
# or `DISTINCT_COUNTRY_COUNT`. Not used for other attributes.
|
|
735
|
+
sig do
|
|
736
|
+
params(
|
|
737
|
+
interval:
|
|
738
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::OrSymbol,
|
|
739
|
+
scope:
|
|
740
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::OrSymbol
|
|
741
|
+
).returns(T.attached_class)
|
|
742
|
+
end
|
|
743
|
+
def self.new(
|
|
744
|
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
|
|
745
|
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
|
|
746
|
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
|
|
747
|
+
interval: nil,
|
|
748
|
+
# The entity scope to evaluate the attribute against.
|
|
749
|
+
scope: nil
|
|
750
|
+
)
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
sig do
|
|
754
|
+
override.returns(
|
|
755
|
+
{
|
|
756
|
+
interval:
|
|
757
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::OrSymbol,
|
|
758
|
+
scope:
|
|
759
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::OrSymbol
|
|
760
|
+
}
|
|
761
|
+
)
|
|
762
|
+
end
|
|
763
|
+
def to_hash
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# The time window for statistical attributes (`AMOUNT_Z_SCORE`,
|
|
767
|
+
# `AVG_TRANSACTION_AMOUNT`, `STDEV_TRANSACTION_AMOUNT`). Use `LIFETIME` for
|
|
768
|
+
# all-time history or a specific window (`7D`, `30D`, `90D`).
|
|
769
|
+
module Interval
|
|
770
|
+
extend Lithic::Internal::Type::Enum
|
|
771
|
+
|
|
772
|
+
TaggedSymbol =
|
|
773
|
+
T.type_alias do
|
|
774
|
+
T.all(
|
|
775
|
+
Symbol,
|
|
776
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval
|
|
777
|
+
)
|
|
778
|
+
end
|
|
779
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
780
|
+
|
|
781
|
+
LIFETIME =
|
|
782
|
+
T.let(
|
|
783
|
+
:LIFETIME,
|
|
784
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::TaggedSymbol
|
|
785
|
+
)
|
|
786
|
+
INTERVAL_7_D =
|
|
787
|
+
T.let(
|
|
788
|
+
:"7D",
|
|
789
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::TaggedSymbol
|
|
790
|
+
)
|
|
791
|
+
INTERVAL_30_D =
|
|
792
|
+
T.let(
|
|
793
|
+
:"30D",
|
|
794
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::TaggedSymbol
|
|
795
|
+
)
|
|
796
|
+
INTERVAL_90_D =
|
|
797
|
+
T.let(
|
|
798
|
+
:"90D",
|
|
799
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::TaggedSymbol
|
|
800
|
+
)
|
|
801
|
+
|
|
802
|
+
sig do
|
|
803
|
+
override.returns(
|
|
804
|
+
T::Array[
|
|
805
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Interval::TaggedSymbol
|
|
806
|
+
]
|
|
807
|
+
)
|
|
808
|
+
end
|
|
809
|
+
def self.values
|
|
810
|
+
end
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
# The entity scope to evaluate the attribute against.
|
|
814
|
+
module Scope
|
|
815
|
+
extend Lithic::Internal::Type::Enum
|
|
816
|
+
|
|
817
|
+
TaggedSymbol =
|
|
818
|
+
T.type_alias do
|
|
819
|
+
T.all(
|
|
820
|
+
Symbol,
|
|
821
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope
|
|
822
|
+
)
|
|
823
|
+
end
|
|
824
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
825
|
+
|
|
826
|
+
CARD =
|
|
827
|
+
T.let(
|
|
828
|
+
:CARD,
|
|
829
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::TaggedSymbol
|
|
830
|
+
)
|
|
831
|
+
ACCOUNT =
|
|
832
|
+
T.let(
|
|
833
|
+
:ACCOUNT,
|
|
834
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::TaggedSymbol
|
|
835
|
+
)
|
|
836
|
+
BUSINESS_ACCOUNT =
|
|
837
|
+
T.let(
|
|
838
|
+
:BUSINESS_ACCOUNT,
|
|
839
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::TaggedSymbol
|
|
840
|
+
)
|
|
841
|
+
|
|
842
|
+
sig do
|
|
843
|
+
override.returns(
|
|
844
|
+
T::Array[
|
|
845
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Parameters::Scope::TaggedSymbol
|
|
846
|
+
]
|
|
847
|
+
)
|
|
848
|
+
end
|
|
849
|
+
def self.values
|
|
850
|
+
end
|
|
851
|
+
end
|
|
852
|
+
end
|
|
519
853
|
end
|
|
520
854
|
end
|
|
521
855
|
end
|
|
@@ -24,6 +24,10 @@ module Lithic
|
|
|
24
24
|
# - `SPEND_VELOCITY`: Spend velocity data for the card or account. Requires
|
|
25
25
|
# `scope`, `period`, and optionally `filters` to configure the velocity
|
|
26
26
|
# calculation. Available for AUTHORIZATION event stream rules.
|
|
27
|
+
# - `TRANSACTION_HISTORY_SIGNALS`: Behavioral feature state derived from the
|
|
28
|
+
# entity's transaction history. Requires `scope` to specify whether to load
|
|
29
|
+
# card, account, or business account history. Available for AUTHORIZATION event
|
|
30
|
+
# stream rules.
|
|
27
31
|
module RuleFeature
|
|
28
32
|
extend Lithic::Internal::Type::Union
|
|
29
33
|
|
|
@@ -37,7 +41,8 @@ module Lithic
|
|
|
37
41
|
Lithic::AuthRules::RuleFeature::CardFeature,
|
|
38
42
|
Lithic::AuthRules::RuleFeature::AccountHolderFeature,
|
|
39
43
|
Lithic::AuthRules::RuleFeature::IPMetadataFeature,
|
|
40
|
-
Lithic::AuthRules::RuleFeature::SpendVelocityFeature
|
|
44
|
+
Lithic::AuthRules::RuleFeature::SpendVelocityFeature,
|
|
45
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature
|
|
41
46
|
)
|
|
42
47
|
end
|
|
43
48
|
|
|
@@ -403,6 +408,104 @@ module Lithic
|
|
|
403
408
|
end
|
|
404
409
|
end
|
|
405
410
|
|
|
411
|
+
class TransactionHistorySignalsFeature < Lithic::Internal::Type::BaseModel
|
|
412
|
+
OrHash =
|
|
413
|
+
T.type_alias do
|
|
414
|
+
T.any(
|
|
415
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature,
|
|
416
|
+
Lithic::Internal::AnyHash
|
|
417
|
+
)
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# The entity scope to load transaction history signals for.
|
|
421
|
+
sig do
|
|
422
|
+
returns(
|
|
423
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::OrSymbol
|
|
424
|
+
)
|
|
425
|
+
end
|
|
426
|
+
attr_accessor :scope
|
|
427
|
+
|
|
428
|
+
sig { returns(Symbol) }
|
|
429
|
+
attr_accessor :type
|
|
430
|
+
|
|
431
|
+
# The variable name for this feature in the rule function signature
|
|
432
|
+
sig { returns(T.nilable(String)) }
|
|
433
|
+
attr_reader :name
|
|
434
|
+
|
|
435
|
+
sig { params(name: String).void }
|
|
436
|
+
attr_writer :name
|
|
437
|
+
|
|
438
|
+
sig do
|
|
439
|
+
params(
|
|
440
|
+
scope:
|
|
441
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::OrSymbol,
|
|
442
|
+
name: String,
|
|
443
|
+
type: Symbol
|
|
444
|
+
).returns(T.attached_class)
|
|
445
|
+
end
|
|
446
|
+
def self.new(
|
|
447
|
+
# The entity scope to load transaction history signals for.
|
|
448
|
+
scope:,
|
|
449
|
+
# The variable name for this feature in the rule function signature
|
|
450
|
+
name: nil,
|
|
451
|
+
type: :TRANSACTION_HISTORY_SIGNALS
|
|
452
|
+
)
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
sig do
|
|
456
|
+
override.returns(
|
|
457
|
+
{
|
|
458
|
+
scope:
|
|
459
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::OrSymbol,
|
|
460
|
+
type: Symbol,
|
|
461
|
+
name: String
|
|
462
|
+
}
|
|
463
|
+
)
|
|
464
|
+
end
|
|
465
|
+
def to_hash
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# The entity scope to load transaction history signals for.
|
|
469
|
+
module Scope
|
|
470
|
+
extend Lithic::Internal::Type::Enum
|
|
471
|
+
|
|
472
|
+
TaggedSymbol =
|
|
473
|
+
T.type_alias do
|
|
474
|
+
T.all(
|
|
475
|
+
Symbol,
|
|
476
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope
|
|
477
|
+
)
|
|
478
|
+
end
|
|
479
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
480
|
+
|
|
481
|
+
CARD =
|
|
482
|
+
T.let(
|
|
483
|
+
:CARD,
|
|
484
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::TaggedSymbol
|
|
485
|
+
)
|
|
486
|
+
ACCOUNT =
|
|
487
|
+
T.let(
|
|
488
|
+
:ACCOUNT,
|
|
489
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::TaggedSymbol
|
|
490
|
+
)
|
|
491
|
+
BUSINESS_ACCOUNT =
|
|
492
|
+
T.let(
|
|
493
|
+
:BUSINESS_ACCOUNT,
|
|
494
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::TaggedSymbol
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
sig do
|
|
498
|
+
override.returns(
|
|
499
|
+
T::Array[
|
|
500
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::Scope::TaggedSymbol
|
|
501
|
+
]
|
|
502
|
+
)
|
|
503
|
+
end
|
|
504
|
+
def self.values
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
end
|
|
508
|
+
|
|
406
509
|
sig do
|
|
407
510
|
override.returns(T::Array[Lithic::AuthRules::RuleFeature::Variants])
|
|
408
511
|
end
|
|
@@ -30,7 +30,8 @@ module Lithic
|
|
|
30
30
|
Lithic::AuthRules::RuleFeature::CardFeature,
|
|
31
31
|
Lithic::AuthRules::RuleFeature::AccountHolderFeature,
|
|
32
32
|
Lithic::AuthRules::RuleFeature::IPMetadataFeature,
|
|
33
|
-
Lithic::AuthRules::RuleFeature::SpendVelocityFeature
|
|
33
|
+
Lithic::AuthRules::RuleFeature::SpendVelocityFeature,
|
|
34
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature
|
|
34
35
|
)
|
|
35
36
|
]
|
|
36
37
|
)
|
|
@@ -51,7 +52,8 @@ module Lithic
|
|
|
51
52
|
Lithic::AuthRules::RuleFeature::CardFeature::OrHash,
|
|
52
53
|
Lithic::AuthRules::RuleFeature::AccountHolderFeature::OrHash,
|
|
53
54
|
Lithic::AuthRules::RuleFeature::IPMetadataFeature::OrHash,
|
|
54
|
-
Lithic::AuthRules::RuleFeature::SpendVelocityFeature::OrHash
|
|
55
|
+
Lithic::AuthRules::RuleFeature::SpendVelocityFeature::OrHash,
|
|
56
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature::OrHash
|
|
55
57
|
)
|
|
56
58
|
]
|
|
57
59
|
).returns(T.attached_class)
|
|
@@ -80,7 +82,8 @@ module Lithic
|
|
|
80
82
|
Lithic::AuthRules::RuleFeature::CardFeature,
|
|
81
83
|
Lithic::AuthRules::RuleFeature::AccountHolderFeature,
|
|
82
84
|
Lithic::AuthRules::RuleFeature::IPMetadataFeature,
|
|
83
|
-
Lithic::AuthRules::RuleFeature::SpendVelocityFeature
|
|
85
|
+
Lithic::AuthRules::RuleFeature::SpendVelocityFeature,
|
|
86
|
+
Lithic::AuthRules::RuleFeature::TransactionHistorySignalsFeature
|
|
84
87
|
)
|
|
85
88
|
]
|
|
86
89
|
}
|