lithic 0.1.0.pre.alpha.54 → 0.1.0.pre.alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +207 -0
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +437 -0
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +52 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +112 -0
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -67,10 +67,7 @@ module Lithic
|
|
|
67
67
|
# users of businesses. Pass the account_token of the enrolled business associated
|
|
68
68
|
# with the AUTHORIZED_USER in this field.
|
|
69
69
|
sig { returns(T.nilable(String)) }
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
sig { params(business_account_token: String).void }
|
|
73
|
-
attr_writer :business_account_token
|
|
70
|
+
attr_accessor :business_account_token
|
|
74
71
|
|
|
75
72
|
# Only present when user_type == "BUSINESS". Information about the business for
|
|
76
73
|
# which the account is being opened and KYB is being run.
|
|
@@ -302,7 +299,7 @@ module Lithic
|
|
|
302
299
|
T::Array[
|
|
303
300
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual::OrHash
|
|
304
301
|
],
|
|
305
|
-
business_account_token: String,
|
|
302
|
+
business_account_token: T.nilable(String),
|
|
306
303
|
business_entity: Lithic::KYBBusinessEntity::OrHash,
|
|
307
304
|
control_person:
|
|
308
305
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson::OrHash,
|
|
@@ -420,7 +417,7 @@ module Lithic
|
|
|
420
417
|
T::Array[
|
|
421
418
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::BeneficialOwnerIndividual
|
|
422
419
|
],
|
|
423
|
-
business_account_token: String,
|
|
420
|
+
business_account_token: T.nilable(String),
|
|
424
421
|
business_entity: Lithic::KYBBusinessEntity,
|
|
425
422
|
control_person:
|
|
426
423
|
Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::ControlPerson,
|
|
@@ -79,10 +79,7 @@ module Lithic
|
|
|
79
79
|
# users of businesses. Pass the account_token of the enrolled business associated
|
|
80
80
|
# with the AUTHORIZED_USER in this field.
|
|
81
81
|
sig { returns(T.nilable(String)) }
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
sig { params(business_account_token: String).void }
|
|
85
|
-
attr_writer :business_account_token
|
|
82
|
+
attr_accessor :business_account_token
|
|
86
83
|
|
|
87
84
|
# Only present when user_type == "BUSINESS". Information about the business for
|
|
88
85
|
# which the account is being opened and KYB is being run.
|
|
@@ -314,7 +311,7 @@ module Lithic
|
|
|
314
311
|
T::Array[
|
|
315
312
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::OrHash
|
|
316
313
|
],
|
|
317
|
-
business_account_token: String,
|
|
314
|
+
business_account_token: T.nilable(String),
|
|
318
315
|
business_entity: Lithic::KYBBusinessEntity::OrHash,
|
|
319
316
|
control_person:
|
|
320
317
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson::OrHash,
|
|
@@ -432,7 +429,7 @@ module Lithic
|
|
|
432
429
|
T::Array[
|
|
433
430
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual
|
|
434
431
|
],
|
|
435
|
-
business_account_token: String,
|
|
432
|
+
business_account_token: T.nilable(String),
|
|
436
433
|
business_entity: Lithic::KYBBusinessEntity,
|
|
437
434
|
control_person:
|
|
438
435
|
Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::ControlPerson,
|
|
@@ -1664,10 +1661,7 @@ module Lithic
|
|
|
1664
1661
|
|
|
1665
1662
|
# The token for the business account that the account holder is associated with
|
|
1666
1663
|
sig { returns(T.nilable(String)) }
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
sig { params(business_account_token: String).void }
|
|
1670
|
-
attr_writer :business_account_token
|
|
1664
|
+
attr_accessor :business_account_token
|
|
1671
1665
|
|
|
1672
1666
|
# The email for the account holder
|
|
1673
1667
|
sig { returns(T.nilable(String)) }
|
|
@@ -1709,7 +1703,7 @@ module Lithic
|
|
|
1709
1703
|
token: String,
|
|
1710
1704
|
address:
|
|
1711
1705
|
Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address::OrHash,
|
|
1712
|
-
business_account_token: String,
|
|
1706
|
+
business_account_token: T.nilable(String),
|
|
1713
1707
|
email: String,
|
|
1714
1708
|
first_name: String,
|
|
1715
1709
|
last_name: String,
|
|
@@ -1743,7 +1737,7 @@ module Lithic
|
|
|
1743
1737
|
token: String,
|
|
1744
1738
|
address:
|
|
1745
1739
|
Lithic::Models::AccountHolderUpdateResponse::PatchResponse::Address,
|
|
1746
|
-
business_account_token: String,
|
|
1740
|
+
business_account_token: T.nilable(String),
|
|
1747
1741
|
email: String,
|
|
1748
1742
|
first_name: String,
|
|
1749
1743
|
last_name: String,
|
|
@@ -64,54 +64,22 @@ module Lithic
|
|
|
64
64
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
65
65
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
66
66
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
67
|
-
sig
|
|
68
|
-
|
|
69
|
-
end
|
|
70
|
-
attr_reader :attribute
|
|
71
|
-
|
|
72
|
-
sig do
|
|
73
|
-
params(
|
|
74
|
-
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol
|
|
75
|
-
).void
|
|
76
|
-
end
|
|
77
|
-
attr_writer :attribute
|
|
67
|
+
sig { returns(Lithic::AuthRules::ConditionalAttribute::OrSymbol) }
|
|
68
|
+
attr_accessor :attribute
|
|
78
69
|
|
|
79
70
|
# The operation to apply to the attribute
|
|
80
|
-
sig
|
|
81
|
-
|
|
82
|
-
T.nilable(Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol)
|
|
83
|
-
)
|
|
84
|
-
end
|
|
85
|
-
attr_reader :operation
|
|
86
|
-
|
|
87
|
-
sig do
|
|
88
|
-
params(
|
|
89
|
-
operation: Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol
|
|
90
|
-
).void
|
|
91
|
-
end
|
|
92
|
-
attr_writer :operation
|
|
71
|
+
sig { returns(Lithic::AuthRules::ConditionalOperation::OrSymbol) }
|
|
72
|
+
attr_accessor :operation
|
|
93
73
|
|
|
94
74
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
95
|
-
sig
|
|
96
|
-
|
|
97
|
-
T.nilable(Lithic::AuthRules::AuthRuleCondition::Value::Variants)
|
|
98
|
-
)
|
|
99
|
-
end
|
|
100
|
-
attr_reader :value
|
|
101
|
-
|
|
102
|
-
sig do
|
|
103
|
-
params(
|
|
104
|
-
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
|
105
|
-
).void
|
|
106
|
-
end
|
|
107
|
-
attr_writer :value
|
|
75
|
+
sig { returns(Lithic::AuthRules::ConditionalValue::Variants) }
|
|
76
|
+
attr_accessor :value
|
|
108
77
|
|
|
109
78
|
sig do
|
|
110
79
|
params(
|
|
111
80
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
|
112
|
-
operation:
|
|
113
|
-
|
|
114
|
-
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
|
81
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
82
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
115
83
|
).returns(T.attached_class)
|
|
116
84
|
end
|
|
117
85
|
def self.new(
|
|
@@ -165,11 +133,11 @@ module Lithic
|
|
|
165
133
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
166
134
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
167
135
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
168
|
-
attribute
|
|
136
|
+
attribute:,
|
|
169
137
|
# The operation to apply to the attribute
|
|
170
|
-
operation
|
|
138
|
+
operation:,
|
|
171
139
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
172
|
-
value:
|
|
140
|
+
value:
|
|
173
141
|
)
|
|
174
142
|
end
|
|
175
143
|
|
|
@@ -177,107 +145,13 @@ module Lithic
|
|
|
177
145
|
override.returns(
|
|
178
146
|
{
|
|
179
147
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
|
180
|
-
operation:
|
|
181
|
-
|
|
182
|
-
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
|
148
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
149
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
183
150
|
}
|
|
184
151
|
)
|
|
185
152
|
end
|
|
186
153
|
def to_hash
|
|
187
154
|
end
|
|
188
|
-
|
|
189
|
-
# The operation to apply to the attribute
|
|
190
|
-
module Operation
|
|
191
|
-
extend Lithic::Internal::Type::Enum
|
|
192
|
-
|
|
193
|
-
TaggedSymbol =
|
|
194
|
-
T.type_alias do
|
|
195
|
-
T.all(Symbol, Lithic::AuthRules::AuthRuleCondition::Operation)
|
|
196
|
-
end
|
|
197
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
198
|
-
|
|
199
|
-
IS_ONE_OF =
|
|
200
|
-
T.let(
|
|
201
|
-
:IS_ONE_OF,
|
|
202
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
203
|
-
)
|
|
204
|
-
IS_NOT_ONE_OF =
|
|
205
|
-
T.let(
|
|
206
|
-
:IS_NOT_ONE_OF,
|
|
207
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
208
|
-
)
|
|
209
|
-
MATCHES =
|
|
210
|
-
T.let(
|
|
211
|
-
:MATCHES,
|
|
212
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
213
|
-
)
|
|
214
|
-
DOES_NOT_MATCH =
|
|
215
|
-
T.let(
|
|
216
|
-
:DOES_NOT_MATCH,
|
|
217
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
218
|
-
)
|
|
219
|
-
IS_EQUAL_TO =
|
|
220
|
-
T.let(
|
|
221
|
-
:IS_EQUAL_TO,
|
|
222
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
223
|
-
)
|
|
224
|
-
IS_NOT_EQUAL_TO =
|
|
225
|
-
T.let(
|
|
226
|
-
:IS_NOT_EQUAL_TO,
|
|
227
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
228
|
-
)
|
|
229
|
-
IS_GREATER_THAN =
|
|
230
|
-
T.let(
|
|
231
|
-
:IS_GREATER_THAN,
|
|
232
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
233
|
-
)
|
|
234
|
-
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
235
|
-
T.let(
|
|
236
|
-
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
237
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
238
|
-
)
|
|
239
|
-
IS_LESS_THAN =
|
|
240
|
-
T.let(
|
|
241
|
-
:IS_LESS_THAN,
|
|
242
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
243
|
-
)
|
|
244
|
-
IS_LESS_THAN_OR_EQUAL_TO =
|
|
245
|
-
T.let(
|
|
246
|
-
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
247
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
248
|
-
)
|
|
249
|
-
|
|
250
|
-
sig do
|
|
251
|
-
override.returns(
|
|
252
|
-
T::Array[
|
|
253
|
-
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
|
254
|
-
]
|
|
255
|
-
)
|
|
256
|
-
end
|
|
257
|
-
def self.values
|
|
258
|
-
end
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
262
|
-
module Value
|
|
263
|
-
extend Lithic::Internal::Type::Union
|
|
264
|
-
|
|
265
|
-
Variants = T.type_alias { T.any(String, Integer, T::Array[String]) }
|
|
266
|
-
|
|
267
|
-
sig do
|
|
268
|
-
override.returns(
|
|
269
|
-
T::Array[Lithic::AuthRules::AuthRuleCondition::Value::Variants]
|
|
270
|
-
)
|
|
271
|
-
end
|
|
272
|
-
def self.variants
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
StringArray =
|
|
276
|
-
T.let(
|
|
277
|
-
Lithic::Internal::Type::ArrayOf[String],
|
|
278
|
-
Lithic::Internal::Type::Converter
|
|
279
|
-
)
|
|
280
|
-
end
|
|
281
155
|
end
|
|
282
156
|
end
|
|
283
157
|
end
|
|
@@ -131,65 +131,25 @@ module Lithic
|
|
|
131
131
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
132
132
|
sig do
|
|
133
133
|
returns(
|
|
134
|
-
|
|
135
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
|
|
136
|
-
)
|
|
134
|
+
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
|
|
137
135
|
)
|
|
138
136
|
end
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
sig do
|
|
142
|
-
params(
|
|
143
|
-
attribute:
|
|
144
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
|
|
145
|
-
).void
|
|
146
|
-
end
|
|
147
|
-
attr_writer :attribute
|
|
137
|
+
attr_accessor :attribute
|
|
148
138
|
|
|
149
139
|
# The operation to apply to the attribute
|
|
150
|
-
sig
|
|
151
|
-
|
|
152
|
-
T.nilable(
|
|
153
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::OrSymbol
|
|
154
|
-
)
|
|
155
|
-
)
|
|
156
|
-
end
|
|
157
|
-
attr_reader :operation
|
|
158
|
-
|
|
159
|
-
sig do
|
|
160
|
-
params(
|
|
161
|
-
operation:
|
|
162
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::OrSymbol
|
|
163
|
-
).void
|
|
164
|
-
end
|
|
165
|
-
attr_writer :operation
|
|
140
|
+
sig { returns(Lithic::AuthRules::ConditionalOperation::OrSymbol) }
|
|
141
|
+
attr_accessor :operation
|
|
166
142
|
|
|
167
143
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
168
|
-
sig
|
|
169
|
-
|
|
170
|
-
T.nilable(
|
|
171
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Value::Variants
|
|
172
|
-
)
|
|
173
|
-
)
|
|
174
|
-
end
|
|
175
|
-
attr_reader :value
|
|
176
|
-
|
|
177
|
-
sig do
|
|
178
|
-
params(
|
|
179
|
-
value:
|
|
180
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Value::Variants
|
|
181
|
-
).void
|
|
182
|
-
end
|
|
183
|
-
attr_writer :value
|
|
144
|
+
sig { returns(Lithic::AuthRules::ConditionalValue::Variants) }
|
|
145
|
+
attr_accessor :value
|
|
184
146
|
|
|
185
147
|
sig do
|
|
186
148
|
params(
|
|
187
149
|
attribute:
|
|
188
150
|
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
|
|
189
|
-
operation:
|
|
190
|
-
|
|
191
|
-
value:
|
|
192
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Value::Variants
|
|
151
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
152
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
193
153
|
).returns(T.attached_class)
|
|
194
154
|
end
|
|
195
155
|
def self.new(
|
|
@@ -217,11 +177,11 @@ module Lithic
|
|
|
217
177
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
218
178
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
219
179
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
220
|
-
attribute
|
|
180
|
+
attribute:,
|
|
221
181
|
# The operation to apply to the attribute
|
|
222
|
-
operation
|
|
182
|
+
operation:,
|
|
223
183
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
224
|
-
value:
|
|
184
|
+
value:
|
|
225
185
|
)
|
|
226
186
|
end
|
|
227
187
|
|
|
@@ -230,10 +190,8 @@ module Lithic
|
|
|
230
190
|
{
|
|
231
191
|
attribute:
|
|
232
192
|
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
|
|
233
|
-
operation:
|
|
234
|
-
|
|
235
|
-
value:
|
|
236
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Value::Variants
|
|
193
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
194
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
237
195
|
}
|
|
238
196
|
)
|
|
239
197
|
end
|
|
@@ -332,104 +290,6 @@ module Lithic
|
|
|
332
290
|
def self.values
|
|
333
291
|
end
|
|
334
292
|
end
|
|
335
|
-
|
|
336
|
-
# The operation to apply to the attribute
|
|
337
|
-
module Operation
|
|
338
|
-
extend Lithic::Internal::Type::Enum
|
|
339
|
-
|
|
340
|
-
TaggedSymbol =
|
|
341
|
-
T.type_alias do
|
|
342
|
-
T.all(
|
|
343
|
-
Symbol,
|
|
344
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation
|
|
345
|
-
)
|
|
346
|
-
end
|
|
347
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
348
|
-
|
|
349
|
-
IS_ONE_OF =
|
|
350
|
-
T.let(
|
|
351
|
-
:IS_ONE_OF,
|
|
352
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
353
|
-
)
|
|
354
|
-
IS_NOT_ONE_OF =
|
|
355
|
-
T.let(
|
|
356
|
-
:IS_NOT_ONE_OF,
|
|
357
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
358
|
-
)
|
|
359
|
-
MATCHES =
|
|
360
|
-
T.let(
|
|
361
|
-
:MATCHES,
|
|
362
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
363
|
-
)
|
|
364
|
-
DOES_NOT_MATCH =
|
|
365
|
-
T.let(
|
|
366
|
-
:DOES_NOT_MATCH,
|
|
367
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
368
|
-
)
|
|
369
|
-
IS_EQUAL_TO =
|
|
370
|
-
T.let(
|
|
371
|
-
:IS_EQUAL_TO,
|
|
372
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
373
|
-
)
|
|
374
|
-
IS_NOT_EQUAL_TO =
|
|
375
|
-
T.let(
|
|
376
|
-
:IS_NOT_EQUAL_TO,
|
|
377
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
378
|
-
)
|
|
379
|
-
IS_GREATER_THAN =
|
|
380
|
-
T.let(
|
|
381
|
-
:IS_GREATER_THAN,
|
|
382
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
383
|
-
)
|
|
384
|
-
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
385
|
-
T.let(
|
|
386
|
-
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
387
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
388
|
-
)
|
|
389
|
-
IS_LESS_THAN =
|
|
390
|
-
T.let(
|
|
391
|
-
:IS_LESS_THAN,
|
|
392
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
393
|
-
)
|
|
394
|
-
IS_LESS_THAN_OR_EQUAL_TO =
|
|
395
|
-
T.let(
|
|
396
|
-
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
397
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
398
|
-
)
|
|
399
|
-
|
|
400
|
-
sig do
|
|
401
|
-
override.returns(
|
|
402
|
-
T::Array[
|
|
403
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
|
404
|
-
]
|
|
405
|
-
)
|
|
406
|
-
end
|
|
407
|
-
def self.values
|
|
408
|
-
end
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
412
|
-
module Value
|
|
413
|
-
extend Lithic::Internal::Type::Union
|
|
414
|
-
|
|
415
|
-
Variants = T.type_alias { T.any(String, Integer, T::Array[String]) }
|
|
416
|
-
|
|
417
|
-
sig do
|
|
418
|
-
override.returns(
|
|
419
|
-
T::Array[
|
|
420
|
-
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Value::Variants
|
|
421
|
-
]
|
|
422
|
-
)
|
|
423
|
-
end
|
|
424
|
-
def self.variants
|
|
425
|
-
end
|
|
426
|
-
|
|
427
|
-
StringArray =
|
|
428
|
-
T.let(
|
|
429
|
-
Lithic::Internal::Type::ArrayOf[String],
|
|
430
|
-
Lithic::Internal::Type::Converter
|
|
431
|
-
)
|
|
432
|
-
end
|
|
433
293
|
end
|
|
434
294
|
end
|
|
435
295
|
end
|