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
|
@@ -166,9 +166,9 @@ module Lithic
|
|
|
166
166
|
:address1 => String,
|
|
167
167
|
city: String,
|
|
168
168
|
country: String,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
:
|
|
169
|
+
:address2 => String,
|
|
170
|
+
postal_code: String?,
|
|
171
|
+
state: String?
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -178,30 +178,30 @@ module Lithic
|
|
|
178
178
|
|
|
179
179
|
attr_accessor country: String
|
|
180
180
|
|
|
181
|
-
attr_accessor postal_code: String
|
|
182
|
-
|
|
183
|
-
attr_accessor state: String
|
|
184
|
-
|
|
185
181
|
attr_reader address2: String?
|
|
186
182
|
|
|
187
183
|
def address2=: (String) -> String
|
|
188
184
|
|
|
185
|
+
attr_accessor postal_code: String?
|
|
186
|
+
|
|
187
|
+
attr_accessor state: String?
|
|
188
|
+
|
|
189
189
|
def initialize: (
|
|
190
190
|
address1: String,
|
|
191
191
|
city: String,
|
|
192
192
|
country: String,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
?
|
|
193
|
+
?address2: String,
|
|
194
|
+
?postal_code: String?,
|
|
195
|
+
?state: String?
|
|
196
196
|
) -> void
|
|
197
197
|
|
|
198
198
|
def to_hash: -> {
|
|
199
199
|
:address1 => String,
|
|
200
200
|
city: String,
|
|
201
201
|
country: String,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
:
|
|
202
|
+
:address2 => String,
|
|
203
|
+
postal_code: String?,
|
|
204
|
+
state: String?
|
|
205
205
|
}
|
|
206
206
|
end
|
|
207
207
|
end
|
|
@@ -268,9 +268,9 @@ module Lithic
|
|
|
268
268
|
:address1 => String,
|
|
269
269
|
city: String,
|
|
270
270
|
country: String,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
:
|
|
271
|
+
:address2 => String,
|
|
272
|
+
postal_code: String?,
|
|
273
|
+
state: String?
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -280,30 +280,30 @@ module Lithic
|
|
|
280
280
|
|
|
281
281
|
attr_accessor country: String
|
|
282
282
|
|
|
283
|
-
attr_accessor postal_code: String
|
|
284
|
-
|
|
285
|
-
attr_accessor state: String
|
|
286
|
-
|
|
287
283
|
attr_reader address2: String?
|
|
288
284
|
|
|
289
285
|
def address2=: (String) -> String
|
|
290
286
|
|
|
287
|
+
attr_accessor postal_code: String?
|
|
288
|
+
|
|
289
|
+
attr_accessor state: String?
|
|
290
|
+
|
|
291
291
|
def initialize: (
|
|
292
292
|
address1: String,
|
|
293
293
|
city: String,
|
|
294
294
|
country: String,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
?
|
|
295
|
+
?address2: String,
|
|
296
|
+
?postal_code: String?,
|
|
297
|
+
?state: String?
|
|
298
298
|
) -> void
|
|
299
299
|
|
|
300
300
|
def to_hash: -> {
|
|
301
301
|
:address1 => String,
|
|
302
302
|
city: String,
|
|
303
303
|
country: String,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
:
|
|
304
|
+
:address2 => String,
|
|
305
|
+
postal_code: String?,
|
|
306
|
+
state: String?
|
|
307
307
|
}
|
|
308
308
|
end
|
|
309
309
|
end
|
|
@@ -439,9 +439,9 @@ module Lithic
|
|
|
439
439
|
:address1 => String,
|
|
440
440
|
city: String,
|
|
441
441
|
country: String,
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
:
|
|
442
|
+
:address2 => String,
|
|
443
|
+
postal_code: String?,
|
|
444
|
+
state: String?
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -451,30 +451,30 @@ module Lithic
|
|
|
451
451
|
|
|
452
452
|
attr_accessor country: String
|
|
453
453
|
|
|
454
|
-
attr_accessor postal_code: String
|
|
455
|
-
|
|
456
|
-
attr_accessor state: String
|
|
457
|
-
|
|
458
454
|
attr_reader address2: String?
|
|
459
455
|
|
|
460
456
|
def address2=: (String) -> String
|
|
461
457
|
|
|
458
|
+
attr_accessor postal_code: String?
|
|
459
|
+
|
|
460
|
+
attr_accessor state: String?
|
|
461
|
+
|
|
462
462
|
def initialize: (
|
|
463
463
|
address1: String,
|
|
464
464
|
city: String,
|
|
465
465
|
country: String,
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
?
|
|
466
|
+
?address2: String,
|
|
467
|
+
?postal_code: String?,
|
|
468
|
+
?state: String?
|
|
469
469
|
) -> void
|
|
470
470
|
|
|
471
471
|
def to_hash: -> {
|
|
472
472
|
:address1 => String,
|
|
473
473
|
city: String,
|
|
474
474
|
country: String,
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
:
|
|
475
|
+
:address2 => String,
|
|
476
|
+
postal_code: String?,
|
|
477
|
+
state: String?
|
|
478
478
|
}
|
|
479
479
|
end
|
|
480
480
|
end
|
|
@@ -69,9 +69,9 @@ module Lithic
|
|
|
69
69
|
:address1 => String,
|
|
70
70
|
city: String,
|
|
71
71
|
country: String,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
:
|
|
72
|
+
:address2 => String,
|
|
73
|
+
postal_code: String?,
|
|
74
|
+
state: String?
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -81,30 +81,30 @@ module Lithic
|
|
|
81
81
|
|
|
82
82
|
attr_accessor country: String
|
|
83
83
|
|
|
84
|
-
attr_accessor postal_code: String
|
|
85
|
-
|
|
86
|
-
attr_accessor state: String
|
|
87
|
-
|
|
88
84
|
attr_reader address2: String?
|
|
89
85
|
|
|
90
86
|
def address2=: (String) -> String
|
|
91
87
|
|
|
88
|
+
attr_accessor postal_code: String?
|
|
89
|
+
|
|
90
|
+
attr_accessor state: String?
|
|
91
|
+
|
|
92
92
|
def initialize: (
|
|
93
93
|
address1: String,
|
|
94
94
|
city: String,
|
|
95
95
|
country: String,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
?
|
|
96
|
+
?address2: String,
|
|
97
|
+
?postal_code: String?,
|
|
98
|
+
?state: String?
|
|
99
99
|
) -> void
|
|
100
100
|
|
|
101
101
|
def to_hash: -> {
|
|
102
102
|
:address1 => String,
|
|
103
103
|
city: String,
|
|
104
104
|
country: String,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
:
|
|
105
|
+
:address2 => String,
|
|
106
|
+
postal_code: String?,
|
|
107
|
+
state: String?
|
|
108
108
|
}
|
|
109
109
|
end
|
|
110
110
|
|
|
@@ -68,9 +68,9 @@ module Lithic
|
|
|
68
68
|
:address1 => String,
|
|
69
69
|
city: String,
|
|
70
70
|
country: String,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:
|
|
71
|
+
:address2 => String,
|
|
72
|
+
postal_code: String?,
|
|
73
|
+
state: String?
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -80,30 +80,30 @@ module Lithic
|
|
|
80
80
|
|
|
81
81
|
attr_accessor country: String
|
|
82
82
|
|
|
83
|
-
attr_accessor postal_code: String
|
|
84
|
-
|
|
85
|
-
attr_accessor state: String
|
|
86
|
-
|
|
87
83
|
attr_reader address2: String?
|
|
88
84
|
|
|
89
85
|
def address2=: (String) -> String
|
|
90
86
|
|
|
87
|
+
attr_accessor postal_code: String?
|
|
88
|
+
|
|
89
|
+
attr_accessor state: String?
|
|
90
|
+
|
|
91
91
|
def initialize: (
|
|
92
92
|
address1: String,
|
|
93
93
|
city: String,
|
|
94
94
|
country: String,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
?
|
|
95
|
+
?address2: String,
|
|
96
|
+
?postal_code: String?,
|
|
97
|
+
?state: String?
|
|
98
98
|
) -> void
|
|
99
99
|
|
|
100
100
|
def to_hash: -> {
|
|
101
101
|
:address1 => String,
|
|
102
102
|
city: String,
|
|
103
103
|
country: String,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
:
|
|
104
|
+
:address2 => String,
|
|
105
|
+
postal_code: String?,
|
|
106
|
+
state: String?
|
|
107
107
|
}
|
|
108
108
|
end
|
|
109
109
|
end
|
|
@@ -5,9 +5,9 @@ module Lithic
|
|
|
5
5
|
:address1 => String,
|
|
6
6
|
city: String,
|
|
7
7
|
country: String,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
:
|
|
8
|
+
:address2 => String,
|
|
9
|
+
postal_code: String?,
|
|
10
|
+
state: String?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -17,30 +17,30 @@ module Lithic
|
|
|
17
17
|
|
|
18
18
|
attr_accessor country: String
|
|
19
19
|
|
|
20
|
-
attr_accessor postal_code: String
|
|
21
|
-
|
|
22
|
-
attr_accessor state: String
|
|
23
|
-
|
|
24
20
|
attr_reader address2: String?
|
|
25
21
|
|
|
26
22
|
def address2=: (String) -> String
|
|
27
23
|
|
|
24
|
+
attr_accessor postal_code: String?
|
|
25
|
+
|
|
26
|
+
attr_accessor state: String?
|
|
27
|
+
|
|
28
28
|
def initialize: (
|
|
29
29
|
address1: String,
|
|
30
30
|
city: String,
|
|
31
31
|
country: String,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
?
|
|
32
|
+
?address2: String,
|
|
33
|
+
?postal_code: String?,
|
|
34
|
+
?state: String?
|
|
35
35
|
) -> void
|
|
36
36
|
|
|
37
37
|
def to_hash: -> {
|
|
38
38
|
:address1 => String,
|
|
39
39
|
city: String,
|
|
40
40
|
country: String,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
:
|
|
41
|
+
:address2 => String,
|
|
42
|
+
postal_code: String?,
|
|
43
|
+
state: String?
|
|
44
44
|
}
|
|
45
45
|
end
|
|
46
46
|
end
|
|
@@ -6,8 +6,8 @@ module Lithic
|
|
|
6
6
|
:address2 => String,
|
|
7
7
|
city: String,
|
|
8
8
|
country: String,
|
|
9
|
-
postal_code: String
|
|
10
|
-
state: String
|
|
9
|
+
postal_code: String?,
|
|
10
|
+
state: String?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class AddressUpdate < Lithic::Internal::Type::BaseModel
|
|
@@ -27,21 +27,17 @@ module Lithic
|
|
|
27
27
|
|
|
28
28
|
def country=: (String) -> String
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
attr_accessor postal_code: String?
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
attr_reader state: String?
|
|
35
|
-
|
|
36
|
-
def state=: (String) -> String
|
|
32
|
+
attr_accessor state: String?
|
|
37
33
|
|
|
38
34
|
def initialize: (
|
|
39
35
|
?address1: String,
|
|
40
36
|
?address2: String,
|
|
41
37
|
?city: String,
|
|
42
38
|
?country: String,
|
|
43
|
-
?postal_code: String
|
|
44
|
-
?state: String
|
|
39
|
+
?postal_code: String?,
|
|
40
|
+
?state: String?
|
|
45
41
|
) -> void
|
|
46
42
|
|
|
47
43
|
def to_hash: -> {
|
|
@@ -49,8 +45,8 @@ module Lithic
|
|
|
49
45
|
:address2 => String,
|
|
50
46
|
city: String,
|
|
51
47
|
country: String,
|
|
52
|
-
postal_code: String
|
|
53
|
-
state: String
|
|
48
|
+
postal_code: String?,
|
|
49
|
+
state: String?
|
|
54
50
|
}
|
|
55
51
|
end
|
|
56
52
|
end
|
|
@@ -11,6 +11,7 @@ module Lithic
|
|
|
11
11
|
card_tokens: ::Array[String],
|
|
12
12
|
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
13
13
|
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
14
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse,
|
|
14
15
|
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
15
16
|
lithic_managed: bool,
|
|
16
17
|
name: String?,
|
|
@@ -35,6 +36,8 @@ module Lithic
|
|
|
35
36
|
|
|
36
37
|
attr_accessor draft_version: Lithic::AuthRules::AuthRule::DraftVersion?
|
|
37
38
|
|
|
39
|
+
attr_accessor entities: Lithic::AuthRules::AuthRuleEntitiesResponse
|
|
40
|
+
|
|
38
41
|
attr_accessor event_stream: Lithic::Models::AuthRules::event_stream
|
|
39
42
|
|
|
40
43
|
attr_accessor lithic_managed: bool
|
|
@@ -68,6 +71,7 @@ module Lithic
|
|
|
68
71
|
card_tokens: ::Array[String],
|
|
69
72
|
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
70
73
|
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
74
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse,
|
|
71
75
|
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
72
76
|
lithic_managed: bool,
|
|
73
77
|
name: String?,
|
|
@@ -86,6 +90,7 @@ module Lithic
|
|
|
86
90
|
card_tokens: ::Array[String],
|
|
87
91
|
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
88
92
|
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
93
|
+
entities: Lithic::AuthRules::AuthRuleEntitiesResponse,
|
|
89
94
|
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
90
95
|
lithic_managed: bool,
|
|
91
96
|
name: String?,
|
|
@@ -119,8 +124,7 @@ module Lithic
|
|
|
119
124
|
}
|
|
120
125
|
|
|
121
126
|
type parameters =
|
|
122
|
-
Lithic::AuthRules::
|
|
123
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
127
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
124
128
|
| Lithic::AuthRules::MerchantLockParameters
|
|
125
129
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
126
130
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -170,8 +174,7 @@ module Lithic
|
|
|
170
174
|
}
|
|
171
175
|
|
|
172
176
|
type parameters =
|
|
173
|
-
Lithic::AuthRules::
|
|
174
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
177
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
175
178
|
| Lithic::AuthRules::MerchantLockParameters
|
|
176
179
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
177
180
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -213,8 +216,7 @@ module Lithic
|
|
|
213
216
|
end
|
|
214
217
|
|
|
215
218
|
type type_ =
|
|
216
|
-
:
|
|
217
|
-
| :VELOCITY_LIMIT
|
|
219
|
+
:VELOCITY_LIMIT
|
|
218
220
|
| :MERCHANT_LOCK
|
|
219
221
|
| :CONDITIONAL_ACTION
|
|
220
222
|
| :TYPESCRIPT_CODE
|
|
@@ -223,7 +225,6 @@ module Lithic
|
|
|
223
225
|
module Type
|
|
224
226
|
extend Lithic::Internal::Type::Enum
|
|
225
227
|
|
|
226
|
-
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
|
227
228
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
228
229
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
229
230
|
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
@@ -7,7 +7,8 @@ module Lithic
|
|
|
7
7
|
{
|
|
8
8
|
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
9
9
|
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
10
|
-
value: Lithic::Models::AuthRules::conditional_value
|
|
10
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
11
|
+
parameters: Lithic::AuthRules::AuthRuleCondition::Parameters
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
class AuthRuleCondition < Lithic::Internal::Type::BaseModel
|
|
@@ -17,17 +18,102 @@ module Lithic
|
|
|
17
18
|
|
|
18
19
|
attr_accessor value: Lithic::Models::AuthRules::conditional_value
|
|
19
20
|
|
|
21
|
+
attr_reader parameters: Lithic::AuthRules::AuthRuleCondition::Parameters?
|
|
22
|
+
|
|
23
|
+
def parameters=: (
|
|
24
|
+
Lithic::AuthRules::AuthRuleCondition::Parameters
|
|
25
|
+
) -> Lithic::AuthRules::AuthRuleCondition::Parameters
|
|
26
|
+
|
|
20
27
|
def initialize: (
|
|
21
28
|
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
22
29
|
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
23
|
-
value: Lithic::Models::AuthRules::conditional_value
|
|
30
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
31
|
+
?parameters: Lithic::AuthRules::AuthRuleCondition::Parameters
|
|
24
32
|
) -> void
|
|
25
33
|
|
|
26
34
|
def to_hash: -> {
|
|
27
35
|
attribute: Lithic::Models::AuthRules::conditional_attribute,
|
|
28
36
|
operation: Lithic::Models::AuthRules::conditional_operation,
|
|
29
|
-
value: Lithic::Models::AuthRules::conditional_value
|
|
37
|
+
value: Lithic::Models::AuthRules::conditional_value,
|
|
38
|
+
parameters: Lithic::AuthRules::AuthRuleCondition::Parameters
|
|
30
39
|
}
|
|
40
|
+
|
|
41
|
+
type parameters =
|
|
42
|
+
{
|
|
43
|
+
interval: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval,
|
|
44
|
+
scope: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope,
|
|
45
|
+
unit: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
class Parameters < Lithic::Internal::Type::BaseModel
|
|
49
|
+
attr_reader interval: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval?
|
|
50
|
+
|
|
51
|
+
def interval=: (
|
|
52
|
+
Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval
|
|
53
|
+
) -> Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval
|
|
54
|
+
|
|
55
|
+
attr_reader scope: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope?
|
|
56
|
+
|
|
57
|
+
def scope=: (
|
|
58
|
+
Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope
|
|
59
|
+
) -> Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope
|
|
60
|
+
|
|
61
|
+
attr_reader unit: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit?
|
|
62
|
+
|
|
63
|
+
def unit=: (
|
|
64
|
+
Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit
|
|
65
|
+
) -> Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit
|
|
66
|
+
|
|
67
|
+
def initialize: (
|
|
68
|
+
?interval: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval,
|
|
69
|
+
?scope: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope,
|
|
70
|
+
?unit: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit
|
|
71
|
+
) -> void
|
|
72
|
+
|
|
73
|
+
def to_hash: -> {
|
|
74
|
+
interval: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval,
|
|
75
|
+
scope: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope,
|
|
76
|
+
unit: Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type interval = :LIFETIME | :"7D" | :"30D" | :"90D"
|
|
80
|
+
|
|
81
|
+
module Interval
|
|
82
|
+
extend Lithic::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
LIFETIME: :LIFETIME
|
|
85
|
+
INTERVAL_7_D: :"7D"
|
|
86
|
+
INTERVAL_30_D: :"30D"
|
|
87
|
+
INTERVAL_90_D: :"90D"
|
|
88
|
+
|
|
89
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::Parameters::interval]
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
type scope = :CARD | :ACCOUNT | :BUSINESS_ACCOUNT
|
|
93
|
+
|
|
94
|
+
module Scope
|
|
95
|
+
extend Lithic::Internal::Type::Enum
|
|
96
|
+
|
|
97
|
+
CARD: :CARD
|
|
98
|
+
ACCOUNT: :ACCOUNT
|
|
99
|
+
BUSINESS_ACCOUNT: :BUSINESS_ACCOUNT
|
|
100
|
+
|
|
101
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::Parameters::scope]
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
type unit = :MPH | :KPH | :MILES | :KILOMETERS
|
|
105
|
+
|
|
106
|
+
module Unit
|
|
107
|
+
extend Lithic::Internal::Type::Enum
|
|
108
|
+
|
|
109
|
+
MPH: :MPH
|
|
110
|
+
KPH: :KPH
|
|
111
|
+
MILES: :MILES
|
|
112
|
+
KILOMETERS: :KILOMETERS
|
|
113
|
+
|
|
114
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::Parameters::unit]
|
|
115
|
+
end
|
|
116
|
+
end
|
|
31
117
|
end
|
|
32
118
|
end
|
|
33
119
|
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
class AuthRuleEntities = AuthRules::AuthRuleEntities
|
|
4
|
+
|
|
5
|
+
module AuthRules
|
|
6
|
+
type auth_rule_entities =
|
|
7
|
+
{
|
|
8
|
+
exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
9
|
+
include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class AuthRuleEntities < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_reader exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity]?
|
|
14
|
+
|
|
15
|
+
def exclude=: (
|
|
16
|
+
::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
17
|
+
) -> ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
18
|
+
|
|
19
|
+
attr_reader include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]?
|
|
20
|
+
|
|
21
|
+
def include=: (
|
|
22
|
+
::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
23
|
+
) -> ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
?exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
27
|
+
?include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
28
|
+
) -> void
|
|
29
|
+
|
|
30
|
+
def to_hash: -> {
|
|
31
|
+
exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
32
|
+
include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
class AuthRuleEntitiesResponse = AuthRules::AuthRuleEntitiesResponse
|
|
4
|
+
|
|
5
|
+
module AuthRules
|
|
6
|
+
type auth_rule_entities_response =
|
|
7
|
+
{
|
|
8
|
+
exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
9
|
+
include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class AuthRuleEntitiesResponse < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
14
|
+
|
|
15
|
+
attr_accessor include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
19
|
+
include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
exclude: ::Array[Lithic::Models::AuthRules::auth_rule_entity],
|
|
24
|
+
include: ::Array[Lithic::Models::AuthRules::auth_rule_entity]
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|