lithic 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/README.md +1 -10
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -24
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -24
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_authorization.rb +12 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/claim_created_webhook_event.rb +15 -1
- data/lib/lithic/models/claim_updated_webhook_event.rb +15 -1
- data/lib/lithic/models/financial_account_balance.rb +6 -6
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +9 -2
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +9 -1
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/models/financial_accounts/interest_tier_schedule_update_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +71 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +5 -0
- data/lib/lithic/models/financial_event.rb +4 -0
- data/lib/lithic/models/funding_event_list_params.rb +28 -1
- data/lib/lithic/models/hold.rb +24 -28
- data/lib/lithic/models/ip_range_retrieve_params.rb +14 -0
- data/lib/lithic/models/ip_range_retrieve_response.rb +25 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/transaction.rb +11 -4
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +27 -3
- data/lib/lithic/models/transfer_limits_response.rb +9 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/cards/financial_transactions.rb +5 -3
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +9 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -3
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/financial_accounts/interest_tier_schedule.rb +6 -6
- data/lib/lithic/resources/funding_events.rb +8 -2
- data/lib/lithic/resources/ip_ranges.rb +36 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +20 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +11 -1
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +6 -75
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +6 -75
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/book_transfer_create_params.rbi +5 -0
- data/rbi/lithic/models/book_transfer_response.rbi +5 -0
- data/rbi/lithic/models/card_authorization.rbi +14 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/claim_created_webhook_event.rbi +14 -0
- data/rbi/lithic/models/claim_updated_webhook_event.rbi +14 -0
- data/rbi/lithic/models/financial_account_balance.rbi +6 -6
- data/rbi/lithic/models/financial_accounts/credit_configuration_update_params.rbi +8 -2
- data/rbi/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbi +9 -18
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +143 -3
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +25 -0
- data/rbi/lithic/models/financial_event.rbi +17 -0
- data/rbi/lithic/models/funding_event_list_params.rbi +39 -0
- data/rbi/lithic/models/hold.rbi +28 -29
- data/rbi/lithic/models/ip_range_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/ip_range_retrieve_response.rbi +40 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +5 -2
- data/rbi/lithic/models/transaction.rbi +15 -6
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +25 -5
- data/rbi/lithic/models/transfer_limits_response.rbi +8 -0
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/cards/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/credit_configuration.rbi +8 -2
- data/rbi/lithic/resources/financial_accounts/financial_transactions.rbi +4 -1
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/financial_accounts/interest_tier_schedule.rbi +6 -6
- data/rbi/lithic/resources/funding_events.rbi +12 -0
- data/rbi/lithic/resources/ip_ranges.rbi +25 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +3 -32
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +3 -32
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_response.rbs +2 -0
- data/sig/lithic/models/card_authorization.rbs +13 -1
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/claim_created_webhook_event.rbs +5 -0
- data/sig/lithic/models/claim_updated_webhook_event.rbs +5 -0
- data/sig/lithic/models/financial_account_balance.rbs +8 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +7 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/interest_tier_schedule.rbs +12 -18
- data/sig/lithic/models/financial_accounts/interest_tier_schedule_update_params.rbs +12 -18
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +55 -3
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +10 -0
- data/sig/lithic/models/financial_event.rbs +8 -0
- data/sig/lithic/models/funding_event_list_params.rbs +26 -1
- data/sig/lithic/models/hold.rbs +22 -30
- data/sig/lithic/models/ip_range_retrieve_params.rbs +15 -0
- data/sig/lithic/models/ip_range_retrieve_response.rbs +16 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +12 -5
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +13 -3
- data/sig/lithic/models/transfer_limits_response.rbs +5 -0
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/financial_transactions.rbs +2 -1
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/interest_tier_schedule.rbs +6 -6
- data/sig/lithic/resources/funding_events.rbs +3 -0
- data/sig/lithic/resources/ip_ranges.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +36 -10
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -19,7 +19,8 @@ module Lithic
|
|
|
19
19
|
attr_accessor :account_holder_token
|
|
20
20
|
|
|
21
21
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
22
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
22
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
23
|
+
# and KYC workflows.
|
|
23
24
|
sig { returns(Lithic::AccountHolders::EntityCreateParams::Address) }
|
|
24
25
|
attr_reader :address
|
|
25
26
|
|
|
@@ -80,7 +81,8 @@ module Lithic
|
|
|
80
81
|
def self.new(
|
|
81
82
|
account_holder_token:,
|
|
82
83
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
83
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
84
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
85
|
+
# and KYC workflows.
|
|
84
86
|
address:,
|
|
85
87
|
# Individual's date of birth, as an RFC 3339 date.
|
|
86
88
|
dob:,
|
|
@@ -140,21 +142,12 @@ module Lithic
|
|
|
140
142
|
sig { returns(String) }
|
|
141
143
|
attr_accessor :city
|
|
142
144
|
|
|
143
|
-
# Valid country code
|
|
144
|
-
#
|
|
145
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
146
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
147
|
+
# account holder.
|
|
145
148
|
sig { returns(String) }
|
|
146
149
|
attr_accessor :country
|
|
147
150
|
|
|
148
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
149
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
150
|
-
sig { returns(String) }
|
|
151
|
-
attr_accessor :postal_code
|
|
152
|
-
|
|
153
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
154
|
-
# uppercase ISO 3166-2 two-character format.
|
|
155
|
-
sig { returns(String) }
|
|
156
|
-
attr_accessor :state
|
|
157
|
-
|
|
158
151
|
# Unit or apartment number (if applicable).
|
|
159
152
|
sig { returns(T.nilable(String)) }
|
|
160
153
|
attr_reader :address2
|
|
@@ -162,16 +155,42 @@ module Lithic
|
|
|
162
155
|
sig { params(address2: String).void }
|
|
163
156
|
attr_writer :address2
|
|
164
157
|
|
|
158
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
159
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
160
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
161
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
162
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
163
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
164
|
+
sig { returns(T.nilable(String)) }
|
|
165
|
+
attr_accessor :postal_code
|
|
166
|
+
|
|
167
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
168
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
169
|
+
# California. Optional unless the address is in one of the following countries,
|
|
170
|
+
# where it is required:
|
|
171
|
+
#
|
|
172
|
+
# - `USA`
|
|
173
|
+
# - `CAN`
|
|
174
|
+
# - `AUS`
|
|
175
|
+
# - `CHN`
|
|
176
|
+
# - `KOR`
|
|
177
|
+
# - `MEX`
|
|
178
|
+
# - `MYS`
|
|
179
|
+
# - `NZL`
|
|
180
|
+
sig { returns(T.nilable(String)) }
|
|
181
|
+
attr_accessor :state
|
|
182
|
+
|
|
165
183
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
166
|
-
# acceptable; APO/FPO are acceptable. Only USA addresses are
|
|
184
|
+
# acceptable; APO/FPO are acceptable. Only USA addresses are supported for the KYB
|
|
185
|
+
# and KYC workflows.
|
|
167
186
|
sig do
|
|
168
187
|
params(
|
|
169
188
|
address1: String,
|
|
170
189
|
city: String,
|
|
171
190
|
country: String,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
191
|
+
address2: String,
|
|
192
|
+
postal_code: T.nilable(String),
|
|
193
|
+
state: T.nilable(String)
|
|
175
194
|
).returns(T.attached_class)
|
|
176
195
|
end
|
|
177
196
|
def self.new(
|
|
@@ -179,17 +198,33 @@ module Lithic
|
|
|
179
198
|
address1:,
|
|
180
199
|
# Name of city.
|
|
181
200
|
city:,
|
|
182
|
-
# Valid country code
|
|
183
|
-
#
|
|
201
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
202
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
203
|
+
# account holder.
|
|
184
204
|
country:,
|
|
185
|
-
# Valid postal code. Only USA ZIP codes are currently supported, entered as a
|
|
186
|
-
# five-digit ZIP or nine-digit ZIP+4.
|
|
187
|
-
postal_code:,
|
|
188
|
-
# Valid state code. Only USA state codes are currently supported, entered in
|
|
189
|
-
# uppercase ISO 3166-2 two-character format.
|
|
190
|
-
state:,
|
|
191
205
|
# Unit or apartment number (if applicable).
|
|
192
|
-
address2: nil
|
|
206
|
+
address2: nil,
|
|
207
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
208
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
209
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
210
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
211
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
212
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
213
|
+
postal_code: nil,
|
|
214
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
215
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
216
|
+
# California. Optional unless the address is in one of the following countries,
|
|
217
|
+
# where it is required:
|
|
218
|
+
#
|
|
219
|
+
# - `USA`
|
|
220
|
+
# - `CAN`
|
|
221
|
+
# - `AUS`
|
|
222
|
+
# - `CHN`
|
|
223
|
+
# - `KOR`
|
|
224
|
+
# - `MEX`
|
|
225
|
+
# - `MYS`
|
|
226
|
+
# - `NZL`
|
|
227
|
+
state: nil
|
|
193
228
|
)
|
|
194
229
|
end
|
|
195
230
|
|
|
@@ -199,9 +234,9 @@ module Lithic
|
|
|
199
234
|
address1: String,
|
|
200
235
|
city: String,
|
|
201
236
|
country: String,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
237
|
+
address2: String,
|
|
238
|
+
postal_code: T.nilable(String),
|
|
239
|
+
state: T.nilable(String)
|
|
205
240
|
}
|
|
206
241
|
)
|
|
207
242
|
end
|
|
@@ -15,22 +15,11 @@ module Lithic
|
|
|
15
15
|
attr_accessor :city
|
|
16
16
|
|
|
17
17
|
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
18
|
-
# format.
|
|
19
|
-
#
|
|
18
|
+
# format. The KYB_DELEGATED and KYC_EXEMPT workflows support all countries except
|
|
19
|
+
# BLR, CUB, IRN, PRK, RUS, SDN, SYR, and UKR. Other workflows support USA only.
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :country
|
|
22
22
|
|
|
23
|
-
# Valid postal code. USA postal codes (ZIP codes) are supported, entered as a
|
|
24
|
-
# five-digit postal code or nine-digit postal code (ZIP+4) using the format
|
|
25
|
-
# 12345-1234. KYC_EXEMPT supports Canadian postal codes.
|
|
26
|
-
sig { returns(String) }
|
|
27
|
-
attr_accessor :postal_code
|
|
28
|
-
|
|
29
|
-
# Valid state code. USA state codes are supported, entered in uppercase ISO 3166-2
|
|
30
|
-
# two-character format. KYC_EXEMPT supports Canadian province codes.
|
|
31
|
-
sig { returns(String) }
|
|
32
|
-
attr_accessor :state
|
|
33
|
-
|
|
34
23
|
# Unit or apartment number (if applicable).
|
|
35
24
|
sig { returns(T.nilable(String)) }
|
|
36
25
|
attr_reader :address2
|
|
@@ -38,14 +27,39 @@ module Lithic
|
|
|
38
27
|
sig { params(address2: String).void }
|
|
39
28
|
attr_writer :address2
|
|
40
29
|
|
|
30
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
31
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
32
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
33
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
34
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
35
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_accessor :postal_code
|
|
38
|
+
|
|
39
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
40
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
41
|
+
# California. Optional unless the address is in one of the following countries,
|
|
42
|
+
# where it is required:
|
|
43
|
+
#
|
|
44
|
+
# - `USA`
|
|
45
|
+
# - `CAN`
|
|
46
|
+
# - `AUS`
|
|
47
|
+
# - `CHN`
|
|
48
|
+
# - `KOR`
|
|
49
|
+
# - `MEX`
|
|
50
|
+
# - `MYS`
|
|
51
|
+
# - `NZL`
|
|
52
|
+
sig { returns(T.nilable(String)) }
|
|
53
|
+
attr_accessor :state
|
|
54
|
+
|
|
41
55
|
sig do
|
|
42
56
|
params(
|
|
43
57
|
address1: String,
|
|
44
58
|
city: String,
|
|
45
59
|
country: String,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
address2: String,
|
|
61
|
+
postal_code: T.nilable(String),
|
|
62
|
+
state: T.nilable(String)
|
|
49
63
|
).returns(T.attached_class)
|
|
50
64
|
end
|
|
51
65
|
def self.new(
|
|
@@ -54,18 +68,32 @@ module Lithic
|
|
|
54
68
|
# Name of city.
|
|
55
69
|
city:,
|
|
56
70
|
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
57
|
-
# format.
|
|
58
|
-
#
|
|
71
|
+
# format. The KYB_DELEGATED and KYC_EXEMPT workflows support all countries except
|
|
72
|
+
# BLR, CUB, IRN, PRK, RUS, SDN, SYR, and UKR. Other workflows support USA only.
|
|
59
73
|
country:,
|
|
60
|
-
# Valid postal code. USA postal codes (ZIP codes) are supported, entered as a
|
|
61
|
-
# five-digit postal code or nine-digit postal code (ZIP+4) using the format
|
|
62
|
-
# 12345-1234. KYC_EXEMPT supports Canadian postal codes.
|
|
63
|
-
postal_code:,
|
|
64
|
-
# Valid state code. USA state codes are supported, entered in uppercase ISO 3166-2
|
|
65
|
-
# two-character format. KYC_EXEMPT supports Canadian province codes.
|
|
66
|
-
state:,
|
|
67
74
|
# Unit or apartment number (if applicable).
|
|
68
|
-
address2: nil
|
|
75
|
+
address2: nil,
|
|
76
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
77
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
78
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
79
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
80
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
81
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
82
|
+
postal_code: nil,
|
|
83
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
84
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
85
|
+
# California. Optional unless the address is in one of the following countries,
|
|
86
|
+
# where it is required:
|
|
87
|
+
#
|
|
88
|
+
# - `USA`
|
|
89
|
+
# - `CAN`
|
|
90
|
+
# - `AUS`
|
|
91
|
+
# - `CHN`
|
|
92
|
+
# - `KOR`
|
|
93
|
+
# - `MEX`
|
|
94
|
+
# - `MYS`
|
|
95
|
+
# - `NZL`
|
|
96
|
+
state: nil
|
|
69
97
|
)
|
|
70
98
|
end
|
|
71
99
|
|
|
@@ -75,9 +103,9 @@ module Lithic
|
|
|
75
103
|
address1: String,
|
|
76
104
|
city: String,
|
|
77
105
|
country: String,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
106
|
+
address2: String,
|
|
107
|
+
postal_code: T.nilable(String),
|
|
108
|
+
state: T.nilable(String)
|
|
81
109
|
}
|
|
82
110
|
)
|
|
83
111
|
end
|
|
@@ -27,29 +27,39 @@ module Lithic
|
|
|
27
27
|
sig { params(city: String).void }
|
|
28
28
|
attr_writer :city
|
|
29
29
|
|
|
30
|
-
# Valid country code
|
|
31
|
-
#
|
|
30
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
31
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
32
|
+
# account holder.
|
|
32
33
|
sig { returns(T.nilable(String)) }
|
|
33
34
|
attr_reader :country
|
|
34
35
|
|
|
35
36
|
sig { params(country: String).void }
|
|
36
37
|
attr_writer :country
|
|
37
38
|
|
|
38
|
-
# Valid postal code.
|
|
39
|
-
#
|
|
39
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
40
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
41
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
42
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
43
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
44
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
40
45
|
sig { returns(T.nilable(String)) }
|
|
41
|
-
|
|
46
|
+
attr_accessor :postal_code
|
|
42
47
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
49
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
50
|
+
# California. Optional unless the address is in one of the following countries,
|
|
51
|
+
# where it is required:
|
|
52
|
+
#
|
|
53
|
+
# - `USA`
|
|
54
|
+
# - `CAN`
|
|
55
|
+
# - `AUS`
|
|
56
|
+
# - `CHN`
|
|
57
|
+
# - `KOR`
|
|
58
|
+
# - `MEX`
|
|
59
|
+
# - `MYS`
|
|
60
|
+
# - `NZL`
|
|
48
61
|
sig { returns(T.nilable(String)) }
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
sig { params(state: String).void }
|
|
52
|
-
attr_writer :state
|
|
62
|
+
attr_accessor :state
|
|
53
63
|
|
|
54
64
|
sig do
|
|
55
65
|
params(
|
|
@@ -57,8 +67,8 @@ module Lithic
|
|
|
57
67
|
address2: String,
|
|
58
68
|
city: String,
|
|
59
69
|
country: String,
|
|
60
|
-
postal_code: String,
|
|
61
|
-
state: String
|
|
70
|
+
postal_code: T.nilable(String),
|
|
71
|
+
state: T.nilable(String)
|
|
62
72
|
).returns(T.attached_class)
|
|
63
73
|
end
|
|
64
74
|
def self.new(
|
|
@@ -68,14 +78,30 @@ module Lithic
|
|
|
68
78
|
address2: nil,
|
|
69
79
|
# Name of city.
|
|
70
80
|
city: nil,
|
|
71
|
-
# Valid country code
|
|
72
|
-
#
|
|
81
|
+
# Valid country code, entered in uppercase ISO 3166-1 alpha-3 three-character
|
|
82
|
+
# format. Supported countries depend on the onboarding workflow used for the
|
|
83
|
+
# account holder.
|
|
73
84
|
country: nil,
|
|
74
|
-
# Valid postal code.
|
|
75
|
-
#
|
|
85
|
+
# Valid postal code. For USA addresses, enter either a five-digit postal code or a
|
|
86
|
+
# nine-digit postal code (ZIP+4) using the format 12345-1234. Required for all
|
|
87
|
+
# countries except the following, which do not use postal codes: ABW, AGO, ARE,
|
|
88
|
+
# ATG, BDI, BEN, BFA, BHS, BLZ, BOL, BWA, CIV, CMR, COD, COG, COK, COM, DJI, DMA,
|
|
89
|
+
# ERI, FJI, GAB, GMB, GNQ, GRD, GUY, HKG, KIR, MAC, MLI, MRT, NIU, NRU, QAT, RWA,
|
|
90
|
+
# SLB, SLE, SSD, SUR, SXM, SYC, TGO, TKL, TLS, TON, TUV, UGA, VUT, YEM, ZWE
|
|
76
91
|
postal_code: nil,
|
|
77
|
-
# Valid state
|
|
78
|
-
#
|
|
92
|
+
# Valid state, province, or subdivision code, entered as the uppercase ISO 3166-2
|
|
93
|
+
# code for the country without the country prefix. For example, `CA` for
|
|
94
|
+
# California. Optional unless the address is in one of the following countries,
|
|
95
|
+
# where it is required:
|
|
96
|
+
#
|
|
97
|
+
# - `USA`
|
|
98
|
+
# - `CAN`
|
|
99
|
+
# - `AUS`
|
|
100
|
+
# - `CHN`
|
|
101
|
+
# - `KOR`
|
|
102
|
+
# - `MEX`
|
|
103
|
+
# - `MYS`
|
|
104
|
+
# - `NZL`
|
|
79
105
|
state: nil
|
|
80
106
|
)
|
|
81
107
|
end
|
|
@@ -87,8 +113,8 @@ module Lithic
|
|
|
87
113
|
address2: String,
|
|
88
114
|
city: String,
|
|
89
115
|
country: String,
|
|
90
|
-
postal_code: String,
|
|
91
|
-
state: String
|
|
116
|
+
postal_code: T.nilable(String),
|
|
117
|
+
state: T.nilable(String)
|
|
92
118
|
}
|
|
93
119
|
)
|
|
94
120
|
end
|
|
@@ -15,15 +15,22 @@ module Lithic
|
|
|
15
15
|
sig { returns(String) }
|
|
16
16
|
attr_accessor :token
|
|
17
17
|
|
|
18
|
+
# Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
|
|
19
|
+
#
|
|
18
20
|
# Account tokens to which the Auth Rule applies.
|
|
19
21
|
sig { returns(T::Array[String]) }
|
|
20
22
|
attr_accessor :account_tokens
|
|
21
23
|
|
|
24
|
+
# Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
|
|
25
|
+
#
|
|
22
26
|
# Business Account tokens to which the Auth Rule applies.
|
|
23
27
|
sig { returns(T::Array[String]) }
|
|
24
28
|
attr_accessor :business_account_tokens
|
|
25
29
|
|
|
26
|
-
#
|
|
30
|
+
# Deprecated: Use `entities.include` with `CARD` entities instead.
|
|
31
|
+
#
|
|
32
|
+
# Card tokens to which the Auth Rule applies. Cards the rule applies to through a
|
|
33
|
+
# `CARD_TAG` entity are not listed.
|
|
27
34
|
sig { returns(T::Array[String]) }
|
|
28
35
|
attr_accessor :card_tokens
|
|
29
36
|
|
|
@@ -49,6 +56,18 @@ module Lithic
|
|
|
49
56
|
end
|
|
50
57
|
attr_writer :draft_version
|
|
51
58
|
|
|
59
|
+
# The entities the Auth Rule applies to (`include`) and does not apply to
|
|
60
|
+
# (`exclude`). An exclusion overrides an inclusion.
|
|
61
|
+
sig { returns(Lithic::AuthRules::AuthRuleEntitiesResponse) }
|
|
62
|
+
attr_reader :entities
|
|
63
|
+
|
|
64
|
+
sig do
|
|
65
|
+
params(
|
|
66
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse::OrHash
|
|
67
|
+
).void
|
|
68
|
+
end
|
|
69
|
+
attr_writer :entities
|
|
70
|
+
|
|
52
71
|
# The event stream during which the rule will be evaluated.
|
|
53
72
|
sig { returns(Lithic::AuthRules::EventStream::TaggedSymbol) }
|
|
54
73
|
attr_accessor :event_stream
|
|
@@ -62,6 +81,8 @@ module Lithic
|
|
|
62
81
|
sig { returns(T.nilable(String)) }
|
|
63
82
|
attr_accessor :name
|
|
64
83
|
|
|
84
|
+
# Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
|
|
85
|
+
#
|
|
65
86
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
66
87
|
sig { returns(T::Boolean) }
|
|
67
88
|
attr_accessor :program_level
|
|
@@ -75,8 +96,6 @@ module Lithic
|
|
|
75
96
|
# several event streams, the effective one is defined by the separate
|
|
76
97
|
# `event_stream` field.
|
|
77
98
|
#
|
|
78
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
79
|
-
# AUTHORIZATION event stream.
|
|
80
99
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
81
100
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
82
101
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -90,6 +109,8 @@ module Lithic
|
|
|
90
109
|
sig { returns(Lithic::AuthRules::AuthRule::Type::TaggedSymbol) }
|
|
91
110
|
attr_accessor :type
|
|
92
111
|
|
|
112
|
+
# Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
|
|
113
|
+
#
|
|
93
114
|
# Account tokens to which the Auth Rule does not apply.
|
|
94
115
|
sig { returns(T.nilable(T::Array[String])) }
|
|
95
116
|
attr_reader :excluded_account_tokens
|
|
@@ -97,6 +118,8 @@ module Lithic
|
|
|
97
118
|
sig { params(excluded_account_tokens: T::Array[String]).void }
|
|
98
119
|
attr_writer :excluded_account_tokens
|
|
99
120
|
|
|
121
|
+
# Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
|
|
122
|
+
#
|
|
100
123
|
# Business account tokens to which the Auth Rule does not apply.
|
|
101
124
|
sig { returns(T.nilable(T::Array[String])) }
|
|
102
125
|
attr_reader :excluded_business_account_tokens
|
|
@@ -104,7 +127,10 @@ module Lithic
|
|
|
104
127
|
sig { params(excluded_business_account_tokens: T::Array[String]).void }
|
|
105
128
|
attr_writer :excluded_business_account_tokens
|
|
106
129
|
|
|
107
|
-
#
|
|
130
|
+
# Deprecated: Use `entities.exclude` with `CARD` entities instead.
|
|
131
|
+
#
|
|
132
|
+
# Card tokens to which the Auth Rule does not apply. Cards excluded through a
|
|
133
|
+
# `CARD_TAG` entity are not listed.
|
|
108
134
|
sig { returns(T.nilable(T::Array[String])) }
|
|
109
135
|
attr_reader :excluded_card_tokens
|
|
110
136
|
|
|
@@ -121,6 +147,7 @@ module Lithic
|
|
|
121
147
|
T.nilable(Lithic::AuthRules::AuthRule::CurrentVersion::OrHash),
|
|
122
148
|
draft_version:
|
|
123
149
|
T.nilable(Lithic::AuthRules::AuthRule::DraftVersion::OrHash),
|
|
150
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse::OrHash,
|
|
124
151
|
event_stream: Lithic::AuthRules::EventStream::OrSymbol,
|
|
125
152
|
lithic_managed: T::Boolean,
|
|
126
153
|
name: T.nilable(String),
|
|
@@ -135,14 +162,24 @@ module Lithic
|
|
|
135
162
|
def self.new(
|
|
136
163
|
# Auth Rule Token
|
|
137
164
|
token:,
|
|
165
|
+
# Deprecated: Use `entities.include` with `ACCOUNT` entities instead.
|
|
166
|
+
#
|
|
138
167
|
# Account tokens to which the Auth Rule applies.
|
|
139
168
|
account_tokens:,
|
|
169
|
+
# Deprecated: Use `entities.include` with `BUSINESS_ACCOUNT` entities instead.
|
|
170
|
+
#
|
|
140
171
|
# Business Account tokens to which the Auth Rule applies.
|
|
141
172
|
business_account_tokens:,
|
|
142
|
-
#
|
|
173
|
+
# Deprecated: Use `entities.include` with `CARD` entities instead.
|
|
174
|
+
#
|
|
175
|
+
# Card tokens to which the Auth Rule applies. Cards the rule applies to through a
|
|
176
|
+
# `CARD_TAG` entity are not listed.
|
|
143
177
|
card_tokens:,
|
|
144
178
|
current_version:,
|
|
145
179
|
draft_version:,
|
|
180
|
+
# The entities the Auth Rule applies to (`include`) and does not apply to
|
|
181
|
+
# (`exclude`). An exclusion overrides an inclusion.
|
|
182
|
+
entities:,
|
|
146
183
|
# The event stream during which the rule will be evaluated.
|
|
147
184
|
event_stream:,
|
|
148
185
|
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
|
@@ -150,6 +187,8 @@ module Lithic
|
|
|
150
187
|
lithic_managed:,
|
|
151
188
|
# Auth Rule Name
|
|
152
189
|
name:,
|
|
190
|
+
# Deprecated: Use `entities.include` with a `PROGRAM` entity instead.
|
|
191
|
+
#
|
|
153
192
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
|
154
193
|
program_level:,
|
|
155
194
|
# The state of the Auth Rule
|
|
@@ -159,8 +198,6 @@ module Lithic
|
|
|
159
198
|
# several event streams, the effective one is defined by the separate
|
|
160
199
|
# `event_stream` field.
|
|
161
200
|
#
|
|
162
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
163
|
-
# AUTHORIZATION event stream.
|
|
164
201
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
165
202
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
166
203
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -172,11 +209,18 @@ module Lithic
|
|
|
172
209
|
# - `OTHER`: A rule whose type is not exposed through this API. Rules of this type
|
|
173
210
|
# are read-only; `OTHER` cannot be used when creating a rule.
|
|
174
211
|
type:,
|
|
212
|
+
# Deprecated: Use `entities.exclude` with `ACCOUNT` entities instead.
|
|
213
|
+
#
|
|
175
214
|
# Account tokens to which the Auth Rule does not apply.
|
|
176
215
|
excluded_account_tokens: nil,
|
|
216
|
+
# Deprecated: Use `entities.exclude` with `BUSINESS_ACCOUNT` entities instead.
|
|
217
|
+
#
|
|
177
218
|
# Business account tokens to which the Auth Rule does not apply.
|
|
178
219
|
excluded_business_account_tokens: nil,
|
|
179
|
-
#
|
|
220
|
+
# Deprecated: Use `entities.exclude` with `CARD` entities instead.
|
|
221
|
+
#
|
|
222
|
+
# Card tokens to which the Auth Rule does not apply. Cards excluded through a
|
|
223
|
+
# `CARD_TAG` entity are not listed.
|
|
180
224
|
excluded_card_tokens: nil
|
|
181
225
|
)
|
|
182
226
|
end
|
|
@@ -192,6 +236,7 @@ module Lithic
|
|
|
192
236
|
T.nilable(Lithic::AuthRules::AuthRule::CurrentVersion),
|
|
193
237
|
draft_version:
|
|
194
238
|
T.nilable(Lithic::AuthRules::AuthRule::DraftVersion),
|
|
239
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse,
|
|
195
240
|
event_stream: Lithic::AuthRules::EventStream::TaggedSymbol,
|
|
196
241
|
lithic_managed: T::Boolean,
|
|
197
242
|
name: T.nilable(String),
|
|
@@ -233,7 +278,6 @@ module Lithic
|
|
|
233
278
|
params(
|
|
234
279
|
parameters:
|
|
235
280
|
T.any(
|
|
236
|
-
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
|
237
281
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
238
282
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
239
283
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
@@ -276,7 +320,6 @@ module Lithic
|
|
|
276
320
|
Variants =
|
|
277
321
|
T.type_alias do
|
|
278
322
|
T.any(
|
|
279
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
|
280
323
|
Lithic::AuthRules::VelocityLimitParams,
|
|
281
324
|
Lithic::AuthRules::MerchantLockParameters,
|
|
282
325
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
@@ -351,7 +394,6 @@ module Lithic
|
|
|
351
394
|
error: T.nilable(String),
|
|
352
395
|
parameters:
|
|
353
396
|
T.any(
|
|
354
|
-
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
|
355
397
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
|
356
398
|
Lithic::AuthRules::MerchantLockParameters::OrHash,
|
|
357
399
|
Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
|
|
@@ -412,7 +454,6 @@ module Lithic
|
|
|
412
454
|
Variants =
|
|
413
455
|
T.type_alias do
|
|
414
456
|
T.any(
|
|
415
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
|
416
457
|
Lithic::AuthRules::VelocityLimitParams,
|
|
417
458
|
Lithic::AuthRules::MerchantLockParameters,
|
|
418
459
|
Lithic::AuthRules::Conditional3DSActionParameters,
|
|
@@ -511,8 +552,6 @@ module Lithic
|
|
|
511
552
|
# several event streams, the effective one is defined by the separate
|
|
512
553
|
# `event_stream` field.
|
|
513
554
|
#
|
|
514
|
-
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
|
|
515
|
-
# AUTHORIZATION event stream.
|
|
516
555
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
517
556
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
518
557
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
@@ -530,11 +569,6 @@ module Lithic
|
|
|
530
569
|
T.type_alias { T.all(Symbol, Lithic::AuthRules::AuthRule::Type) }
|
|
531
570
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
532
571
|
|
|
533
|
-
CONDITIONAL_BLOCK =
|
|
534
|
-
T.let(
|
|
535
|
-
:CONDITIONAL_BLOCK,
|
|
536
|
-
Lithic::AuthRules::AuthRule::Type::TaggedSymbol
|
|
537
|
-
)
|
|
538
572
|
VELOCITY_LIMIT =
|
|
539
573
|
T.let(
|
|
540
574
|
:VELOCITY_LIMIT,
|