lithic 0.1.0.pre.alpha.40 → 0.1.0.pre.alpha.42
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 +22 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/lithic/internal/type/array_of.rb +1 -0
- data/lib/lithic/internal/type/base_model.rb +3 -1
- data/lib/lithic/internal/type/converter.rb +27 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -0
- data/lib/lithic/internal/type/union.rb +9 -7
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account_activity_list_params.rb +158 -0
- data/lib/lithic/models/account_activity_list_response.rb +1435 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
- data/lib/lithic/models/account_holder.rb +16 -19
- data/lib/lithic/models/account_holder_create_params.rb +41 -47
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
- data/lib/lithic/models/account_holder_update_params.rb +2 -6
- data/lib/lithic/models/account_holder_update_response.rb +25 -20
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +13 -5
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_create_params.rb +283 -16
- data/lib/lithic/models/auth_rules/v2_create_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +239 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_list_params.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -9
- data/lib/lithic/models/auth_rules/v2_update_response.rb +510 -18
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +4 -16
- data/lib/lithic/models/book_transfer_create_params.rb +34 -6
- data/lib/lithic/models/book_transfer_response.rb +124 -28
- data/lib/lithic/models/document.rb +1 -3
- data/lib/lithic/models/event.rb +6 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -3
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -3
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
- data/lib/lithic/models/external_payment.rb +89 -48
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +5 -18
- data/lib/lithic/models/financial_accounts/statement.rb +3 -10
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
- data/lib/lithic/models/financial_transaction.rb +2 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +2 -2
- data/lib/lithic/models/management_operation_transaction.rb +90 -63
- data/lib/lithic/models/payment.rb +60 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +173 -38
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
- data/lib/lithic/models/tokenization.rb +1 -1
- data/lib/lithic/models/transaction.rb +4 -0
- data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
- data/lib/lithic/models/transfer.rb +2 -0
- data/lib/lithic/models/wire_party_details.rb +40 -0
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -3
- data/lib/lithic/resources/auth_rules/v2.rb +19 -13
- data/lib/lithic/resources/book_transfers.rb +7 -3
- data/lib/lithic/resources/reports/settlement.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +7 -2
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/errors.rbi +2 -2
- data/rbi/lithic/internal/transport/base_client.rbi +1 -1
- data/rbi/lithic/internal/type/converter.rbi +46 -0
- data/rbi/lithic/internal/type/union.rbi +7 -2
- data/rbi/lithic/models/account_activity_list_params.rbi +347 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
- data/rbi/lithic/models/account_holder.rbi +21 -23
- data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
- data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +20 -0
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +19 -5
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +646 -21
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +554 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +18 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +0 -11
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +1128 -18
- data/rbi/lithic/models/book_transfer_create_params.rbi +75 -5
- data/rbi/lithic/models/book_transfer_response.rbi +320 -38
- data/rbi/lithic/models/event.rbi +16 -0
- data/rbi/lithic/models/event_list_params.rbi +10 -0
- data/rbi/lithic/models/event_subscription.rbi +10 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
- data/rbi/lithic/models/external_payment.rbi +147 -60
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +1 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +2 -2
- data/rbi/lithic/models/management_operation_transaction.rbi +226 -95
- data/rbi/lithic/models/payment.rbi +103 -3
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +2 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +267 -60
- data/rbi/lithic/models/transaction.rbi +17 -0
- data/rbi/lithic/models/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +3 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +28 -14
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- data/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/internal/transport/base_client.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +17 -0
- data/sig/lithic/internal/type/union.rbs +2 -2
- data/sig/lithic/models/account_activity_list_params.rbs +173 -0
- data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
- data/sig/lithic/models/account_holder_create_params.rbs +33 -19
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
- data/sig/lithic/models/account_holder_update_response.rbs +10 -3
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +8 -0
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +11 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +188 -4
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +155 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +10 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -7
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +317 -2
- data/sig/lithic/models/book_transfer_create_params.rbs +30 -1
- data/sig/lithic/models/book_transfer_response.rbs +134 -15
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/external_payment.rbs +91 -40
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +95 -44
- data/sig/lithic/models/payment.rbs +61 -3
- data/sig/lithic/models/settlement_detail.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +110 -23
- data/sig/lithic/models/transaction.rbs +10 -2
- data/sig/lithic/models/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/auth_rules/v2.rbs +6 -3
- data/sig/lithic/resources/book_transfers.rbs +2 -0
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +20 -5
- data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
- data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -28,13 +28,23 @@ module Lithic
|
|
28
28
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
29
29
|
include Lithic::Internal::Type::RequestParameters
|
30
30
|
|
31
|
-
|
31
|
+
attr_reader beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]?
|
32
|
+
|
33
|
+
def beneficial_owner_individuals=: (
|
34
|
+
::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
35
|
+
) -> ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual]
|
32
36
|
|
33
37
|
attr_accessor business_entity: Lithic::AccountHolderCreateParams::BusinessEntity
|
34
38
|
|
35
|
-
|
39
|
+
attr_reader control_person: Lithic::AccountHolderCreateParams::ControlPerson?
|
40
|
+
|
41
|
+
def control_person=: (
|
42
|
+
Lithic::AccountHolderCreateParams::ControlPerson
|
43
|
+
) -> Lithic::AccountHolderCreateParams::ControlPerson
|
36
44
|
|
37
|
-
|
45
|
+
attr_reader nature_of_business: String?
|
46
|
+
|
47
|
+
def nature_of_business=: (String) -> String
|
38
48
|
|
39
49
|
attr_accessor tos_timestamp: String
|
40
50
|
|
@@ -81,10 +91,7 @@ module Lithic
|
|
81
91
|
def business_account_token=: (String) -> String
|
82
92
|
|
83
93
|
def initialize: (
|
84
|
-
beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
85
94
|
business_entity: Lithic::AccountHolderCreateParams::BusinessEntity,
|
86
|
-
control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
87
|
-
nature_of_business: String,
|
88
95
|
tos_timestamp: String,
|
89
96
|
workflow: Lithic::Models::AccountHolderCreateParams::workflow,
|
90
97
|
individual: Lithic::AccountHolderCreateParams::Individual,
|
@@ -94,6 +101,9 @@ module Lithic
|
|
94
101
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::kyc_exemption_type,
|
95
102
|
last_name: String,
|
96
103
|
phone_number: String,
|
104
|
+
?beneficial_owner_individuals: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
105
|
+
?control_person: Lithic::AccountHolderCreateParams::ControlPerson,
|
106
|
+
?nature_of_business: String,
|
97
107
|
?beneficial_owner_entities: ::Array[Lithic::AccountHolderCreateParams::BeneficialOwnerEntity],
|
98
108
|
?external_id: String,
|
99
109
|
?kyb_passed_timestamp: String,
|
@@ -178,46 +188,50 @@ module Lithic
|
|
178
188
|
type business_entity =
|
179
189
|
{
|
180
190
|
address: Lithic::Address,
|
181
|
-
government_id: String,
|
182
191
|
legal_business_name: String,
|
183
|
-
phone_numbers: ::Array[String],
|
184
192
|
dba_business_name: String,
|
185
|
-
|
193
|
+
government_id: String,
|
194
|
+
parent_company: String,
|
195
|
+
phone_numbers: ::Array[String]
|
186
196
|
}
|
187
197
|
|
188
198
|
class BusinessEntity < Lithic::Internal::Type::BaseModel
|
189
199
|
attr_accessor address: Lithic::Address
|
190
200
|
|
191
|
-
attr_accessor government_id: String
|
192
|
-
|
193
201
|
attr_accessor legal_business_name: String
|
194
202
|
|
195
|
-
attr_accessor phone_numbers: ::Array[String]
|
196
|
-
|
197
203
|
attr_reader dba_business_name: String?
|
198
204
|
|
199
205
|
def dba_business_name=: (String) -> String
|
200
206
|
|
207
|
+
attr_reader government_id: String?
|
208
|
+
|
209
|
+
def government_id=: (String) -> String
|
210
|
+
|
201
211
|
attr_reader parent_company: String?
|
202
212
|
|
203
213
|
def parent_company=: (String) -> String
|
204
214
|
|
215
|
+
attr_reader phone_numbers: ::Array[String]?
|
216
|
+
|
217
|
+
def phone_numbers=: (::Array[String]) -> ::Array[String]
|
218
|
+
|
205
219
|
def initialize: (
|
206
220
|
address: Lithic::Address,
|
207
|
-
government_id: String,
|
208
221
|
legal_business_name: String,
|
209
|
-
phone_numbers: ::Array[String],
|
210
222
|
?dba_business_name: String,
|
211
|
-
?
|
223
|
+
?government_id: String,
|
224
|
+
?parent_company: String,
|
225
|
+
?phone_numbers: ::Array[String]
|
212
226
|
) -> void
|
213
227
|
|
214
228
|
def to_hash: -> {
|
215
229
|
address: Lithic::Address,
|
216
|
-
government_id: String,
|
217
230
|
legal_business_name: String,
|
218
|
-
phone_numbers: ::Array[String],
|
219
231
|
dba_business_name: String,
|
220
|
-
|
232
|
+
government_id: String,
|
233
|
+
parent_company: String,
|
234
|
+
phone_numbers: ::Array[String]
|
221
235
|
}
|
222
236
|
end
|
223
237
|
|
@@ -577,7 +577,8 @@ module Lithic
|
|
577
577
|
created: Time,
|
578
578
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
579
579
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
580
|
-
updated: Time
|
580
|
+
updated: Time,
|
581
|
+
ky_passed_at: Time
|
581
582
|
}
|
582
583
|
|
583
584
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -589,18 +590,24 @@ module Lithic
|
|
589
590
|
|
590
591
|
attr_accessor updated: Time
|
591
592
|
|
593
|
+
attr_reader ky_passed_at: Time?
|
594
|
+
|
595
|
+
def ky_passed_at=: (Time) -> Time
|
596
|
+
|
592
597
|
def initialize: (
|
593
598
|
created: Time,
|
594
599
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
595
600
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
596
|
-
updated: Time
|
601
|
+
updated: Time,
|
602
|
+
?ky_passed_at: Time
|
597
603
|
) -> void
|
598
604
|
|
599
605
|
def to_hash: -> {
|
600
606
|
created: Time,
|
601
607
|
status: Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status,
|
602
608
|
status_reasons: ::Array[Lithic::Models::AccountHolderSimulateEnrollmentReviewResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
609
|
+
updated: Time,
|
610
|
+
ky_passed_at: Time
|
604
611
|
}
|
605
612
|
|
606
613
|
type status =
|
@@ -584,7 +584,8 @@ module Lithic
|
|
584
584
|
created: Time,
|
585
585
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
586
586
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
587
|
-
updated: Time
|
587
|
+
updated: Time,
|
588
|
+
ky_passed_at: Time
|
588
589
|
}
|
589
590
|
|
590
591
|
class VerificationApplication < Lithic::Internal::Type::BaseModel
|
@@ -596,18 +597,24 @@ module Lithic
|
|
596
597
|
|
597
598
|
attr_accessor updated: Time
|
598
599
|
|
600
|
+
attr_reader ky_passed_at: Time?
|
601
|
+
|
602
|
+
def ky_passed_at=: (Time) -> Time
|
603
|
+
|
599
604
|
def initialize: (
|
600
605
|
created: Time,
|
601
606
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
602
607
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
603
|
-
updated: Time
|
608
|
+
updated: Time,
|
609
|
+
?ky_passed_at: Time
|
604
610
|
) -> void
|
605
611
|
|
606
612
|
def to_hash: -> {
|
607
613
|
created: Time,
|
608
614
|
status: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status,
|
609
615
|
status_reasons: ::Array[Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::VerificationApplication::status_reason],
|
610
|
-
updated: Time
|
616
|
+
updated: Time,
|
617
|
+
ky_passed_at: Time
|
611
618
|
}
|
612
619
|
|
613
620
|
type status =
|
@@ -46,8 +46,12 @@ module Lithic
|
|
46
46
|
| :IS_NOT_ONE_OF
|
47
47
|
| :MATCHES
|
48
48
|
| :DOES_NOT_MATCH
|
49
|
+
| :IS_EQUAL_TO
|
50
|
+
| :IS_NOT_EQUAL_TO
|
49
51
|
| :IS_GREATER_THAN
|
52
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
50
53
|
| :IS_LESS_THAN
|
54
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
51
55
|
|
52
56
|
module Operation
|
53
57
|
extend Lithic::Internal::Type::Enum
|
@@ -56,8 +60,12 @@ module Lithic
|
|
56
60
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
57
61
|
MATCHES: :MATCHES
|
58
62
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
63
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
64
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
59
65
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
66
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
60
67
|
IS_LESS_THAN: :IS_LESS_THAN
|
68
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
61
69
|
|
62
70
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRuleCondition::operation]
|
63
71
|
end
|
@@ -101,8 +101,12 @@ module Lithic
|
|
101
101
|
| :IS_NOT_ONE_OF
|
102
102
|
| :MATCHES
|
103
103
|
| :DOES_NOT_MATCH
|
104
|
+
| :IS_EQUAL_TO
|
105
|
+
| :IS_NOT_EQUAL_TO
|
104
106
|
| :IS_GREATER_THAN
|
107
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
105
108
|
| :IS_LESS_THAN
|
109
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
106
110
|
|
107
111
|
module Operation
|
108
112
|
extend Lithic::Internal::Type::Enum
|
@@ -111,8 +115,12 @@ module Lithic
|
|
111
115
|
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
112
116
|
MATCHES: :MATCHES
|
113
117
|
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
118
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
119
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
114
120
|
IS_GREATER_THAN: :IS_GREATER_THAN
|
121
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
115
122
|
IS_LESS_THAN: :IS_LESS_THAN
|
123
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
116
124
|
|
117
125
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::Conditional3DSActionParameters::Condition::operation]
|
118
126
|
end
|
@@ -4,6 +4,7 @@ module Lithic
|
|
4
4
|
type v2_apply_params =
|
5
5
|
{
|
6
6
|
account_tokens: ::Array[String],
|
7
|
+
business_account_tokens: ::Array[String],
|
7
8
|
card_tokens: ::Array[String],
|
8
9
|
program_level: bool,
|
9
10
|
excluded_card_tokens: ::Array[String]
|
@@ -14,7 +15,13 @@ module Lithic
|
|
14
15
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
15
16
|
include Lithic::Internal::Type::RequestParameters
|
16
17
|
|
17
|
-
|
18
|
+
attr_reader account_tokens: ::Array[String]?
|
19
|
+
|
20
|
+
def account_tokens=: (::Array[String]) -> ::Array[String]
|
21
|
+
|
22
|
+
attr_reader business_account_tokens: ::Array[String]?
|
23
|
+
|
24
|
+
def business_account_tokens=: (::Array[String]) -> ::Array[String]
|
18
25
|
|
19
26
|
attr_accessor card_tokens: ::Array[String]
|
20
27
|
|
@@ -25,15 +32,17 @@ module Lithic
|
|
25
32
|
def excluded_card_tokens=: (::Array[String]) -> ::Array[String]
|
26
33
|
|
27
34
|
def initialize: (
|
28
|
-
account_tokens: ::Array[String],
|
29
35
|
card_tokens: ::Array[String],
|
30
36
|
program_level: bool,
|
37
|
+
?account_tokens: ::Array[String],
|
38
|
+
?business_account_tokens: ::Array[String],
|
31
39
|
?excluded_card_tokens: ::Array[String],
|
32
40
|
?request_options: Lithic::request_opts
|
33
41
|
) -> void
|
34
42
|
|
35
43
|
def to_hash: -> {
|
36
44
|
account_tokens: ::Array[String],
|
45
|
+
business_account_tokens: ::Array[String],
|
37
46
|
card_tokens: ::Array[String],
|
38
47
|
program_level: bool,
|
39
48
|
excluded_card_tokens: ::Array[String],
|
@@ -5,6 +5,7 @@ module Lithic
|
|
5
5
|
{
|
6
6
|
token: String,
|
7
7
|
account_tokens: ::Array[String],
|
8
|
+
business_account_tokens: ::Array[String],
|
8
9
|
card_tokens: ::Array[String],
|
9
10
|
current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
|
10
11
|
draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
|
@@ -21,6 +22,8 @@ module Lithic
|
|
21
22
|
|
22
23
|
attr_accessor account_tokens: ::Array[String]
|
23
24
|
|
25
|
+
attr_accessor business_account_tokens: ::Array[String]
|
26
|
+
|
24
27
|
attr_accessor card_tokens: ::Array[String]
|
25
28
|
|
26
29
|
attr_accessor current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?
|
@@ -44,6 +47,7 @@ module Lithic
|
|
44
47
|
def initialize: (
|
45
48
|
token: String,
|
46
49
|
account_tokens: ::Array[String],
|
50
|
+
business_account_tokens: ::Array[String],
|
47
51
|
card_tokens: ::Array[String],
|
48
52
|
current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
|
49
53
|
draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
|
@@ -58,6 +62,7 @@ module Lithic
|
|
58
62
|
def to_hash: -> {
|
59
63
|
token: String,
|
60
64
|
account_tokens: ::Array[String],
|
65
|
+
business_account_tokens: ::Array[String],
|
61
66
|
card_tokens: ::Array[String],
|
62
67
|
current_version: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion?,
|
63
68
|
draft_version: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion?,
|
@@ -95,10 +100,165 @@ module Lithic
|
|
95
100
|
| Lithic::AuthRules::VelocityLimitParams
|
96
101
|
| Lithic::AuthRules::MerchantLockParameters
|
97
102
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
103
|
+
| Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
|
98
104
|
|
99
105
|
module Parameters
|
100
106
|
extend Lithic::Internal::Type::Union
|
101
107
|
|
108
|
+
type conditional_authorization_action_parameters =
|
109
|
+
{
|
110
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
111
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
112
|
+
}
|
113
|
+
|
114
|
+
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
115
|
+
attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action
|
116
|
+
|
117
|
+
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
118
|
+
|
119
|
+
def initialize: (
|
120
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
121
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
122
|
+
) -> void
|
123
|
+
|
124
|
+
def to_hash: -> {
|
125
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
126
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
127
|
+
}
|
128
|
+
|
129
|
+
type action = :DECLINE | :CHALLENGE
|
130
|
+
|
131
|
+
module Action
|
132
|
+
extend Lithic::Internal::Type::Enum
|
133
|
+
|
134
|
+
DECLINE: :DECLINE
|
135
|
+
CHALLENGE: :CHALLENGE
|
136
|
+
|
137
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action]
|
138
|
+
end
|
139
|
+
|
140
|
+
type condition =
|
141
|
+
{
|
142
|
+
attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
143
|
+
operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
144
|
+
value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
145
|
+
}
|
146
|
+
|
147
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
148
|
+
attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
|
149
|
+
|
150
|
+
def attribute=: (
|
151
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
152
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
153
|
+
|
154
|
+
attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
|
155
|
+
|
156
|
+
def operation=: (
|
157
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
158
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
159
|
+
|
160
|
+
attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
|
161
|
+
|
162
|
+
def value=: (
|
163
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
164
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
165
|
+
|
166
|
+
def initialize: (
|
167
|
+
?attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
168
|
+
?operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
169
|
+
?value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
170
|
+
) -> void
|
171
|
+
|
172
|
+
def to_hash: -> {
|
173
|
+
attribute: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
174
|
+
operation: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
175
|
+
value: Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
176
|
+
}
|
177
|
+
|
178
|
+
type attribute =
|
179
|
+
:MCC
|
180
|
+
| :COUNTRY
|
181
|
+
| :CURRENCY
|
182
|
+
| :MERCHANT_ID
|
183
|
+
| :DESCRIPTOR
|
184
|
+
| :LIABILITY_SHIFT
|
185
|
+
| :PAN_ENTRY_MODE
|
186
|
+
| :TRANSACTION_AMOUNT
|
187
|
+
| :RISK_SCORE
|
188
|
+
| :CARD_TRANSACTION_COUNT_15M
|
189
|
+
| :CARD_TRANSACTION_COUNT_1H
|
190
|
+
| :CARD_TRANSACTION_COUNT_24H
|
191
|
+
| :CARD_STATE
|
192
|
+
| :PIN_ENTERED
|
193
|
+
| :PIN_STATUS
|
194
|
+
| :WALLET_TYPE
|
195
|
+
| :TRANSACTION_INITIATOR
|
196
|
+
|
197
|
+
module Attribute
|
198
|
+
extend Lithic::Internal::Type::Enum
|
199
|
+
|
200
|
+
MCC: :MCC
|
201
|
+
COUNTRY: :COUNTRY
|
202
|
+
CURRENCY: :CURRENCY
|
203
|
+
MERCHANT_ID: :MERCHANT_ID
|
204
|
+
DESCRIPTOR: :DESCRIPTOR
|
205
|
+
LIABILITY_SHIFT: :LIABILITY_SHIFT
|
206
|
+
PAN_ENTRY_MODE: :PAN_ENTRY_MODE
|
207
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
208
|
+
RISK_SCORE: :RISK_SCORE
|
209
|
+
CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
|
210
|
+
CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
|
211
|
+
CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
|
212
|
+
CARD_STATE: :CARD_STATE
|
213
|
+
PIN_ENTERED: :PIN_ENTERED
|
214
|
+
PIN_STATUS: :PIN_STATUS
|
215
|
+
WALLET_TYPE: :WALLET_TYPE
|
216
|
+
TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
|
217
|
+
|
218
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
|
219
|
+
end
|
220
|
+
|
221
|
+
type operation =
|
222
|
+
:IS_ONE_OF
|
223
|
+
| :IS_NOT_ONE_OF
|
224
|
+
| :MATCHES
|
225
|
+
| :DOES_NOT_MATCH
|
226
|
+
| :IS_EQUAL_TO
|
227
|
+
| :IS_NOT_EQUAL_TO
|
228
|
+
| :IS_GREATER_THAN
|
229
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
230
|
+
| :IS_LESS_THAN
|
231
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
232
|
+
|
233
|
+
module Operation
|
234
|
+
extend Lithic::Internal::Type::Enum
|
235
|
+
|
236
|
+
IS_ONE_OF: :IS_ONE_OF
|
237
|
+
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
238
|
+
MATCHES: :MATCHES
|
239
|
+
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
240
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
241
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
242
|
+
IS_GREATER_THAN: :IS_GREATER_THAN
|
243
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
244
|
+
IS_LESS_THAN: :IS_LESS_THAN
|
245
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
246
|
+
|
247
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
|
248
|
+
end
|
249
|
+
|
250
|
+
type value = String | Integer | ::Array[String]
|
251
|
+
|
252
|
+
module Value
|
253
|
+
extend Lithic::Internal::Type::Union
|
254
|
+
|
255
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
|
256
|
+
|
257
|
+
StringArray: Lithic::Internal::Type::Converter
|
258
|
+
end
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
102
262
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::parameters]
|
103
263
|
end
|
104
264
|
end
|
@@ -129,10 +289,165 @@ module Lithic
|
|
129
289
|
| Lithic::AuthRules::VelocityLimitParams
|
130
290
|
| Lithic::AuthRules::MerchantLockParameters
|
131
291
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
292
|
+
| Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
|
132
293
|
|
133
294
|
module Parameters
|
134
295
|
extend Lithic::Internal::Type::Union
|
135
296
|
|
297
|
+
type conditional_authorization_action_parameters =
|
298
|
+
{
|
299
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
300
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
301
|
+
}
|
302
|
+
|
303
|
+
class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
|
304
|
+
attr_accessor action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action
|
305
|
+
|
306
|
+
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
307
|
+
|
308
|
+
def initialize: (
|
309
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
310
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
311
|
+
) -> void
|
312
|
+
|
313
|
+
def to_hash: -> {
|
314
|
+
action: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
|
315
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
|
316
|
+
}
|
317
|
+
|
318
|
+
type action = :DECLINE | :CHALLENGE
|
319
|
+
|
320
|
+
module Action
|
321
|
+
extend Lithic::Internal::Type::Enum
|
322
|
+
|
323
|
+
DECLINE: :DECLINE
|
324
|
+
CHALLENGE: :CHALLENGE
|
325
|
+
|
326
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action]
|
327
|
+
end
|
328
|
+
|
329
|
+
type condition =
|
330
|
+
{
|
331
|
+
attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
332
|
+
operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
333
|
+
value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
334
|
+
}
|
335
|
+
|
336
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
337
|
+
attr_reader attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
|
338
|
+
|
339
|
+
def attribute=: (
|
340
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
341
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
|
342
|
+
|
343
|
+
attr_reader operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
|
344
|
+
|
345
|
+
def operation=: (
|
346
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
347
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
|
348
|
+
|
349
|
+
attr_reader value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
|
350
|
+
|
351
|
+
def value=: (
|
352
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
353
|
+
) -> Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
354
|
+
|
355
|
+
def initialize: (
|
356
|
+
?attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
357
|
+
?operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
358
|
+
?value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
359
|
+
) -> void
|
360
|
+
|
361
|
+
def to_hash: -> {
|
362
|
+
attribute: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
|
363
|
+
operation: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
|
364
|
+
value: Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
|
365
|
+
}
|
366
|
+
|
367
|
+
type attribute =
|
368
|
+
:MCC
|
369
|
+
| :COUNTRY
|
370
|
+
| :CURRENCY
|
371
|
+
| :MERCHANT_ID
|
372
|
+
| :DESCRIPTOR
|
373
|
+
| :LIABILITY_SHIFT
|
374
|
+
| :PAN_ENTRY_MODE
|
375
|
+
| :TRANSACTION_AMOUNT
|
376
|
+
| :RISK_SCORE
|
377
|
+
| :CARD_TRANSACTION_COUNT_15M
|
378
|
+
| :CARD_TRANSACTION_COUNT_1H
|
379
|
+
| :CARD_TRANSACTION_COUNT_24H
|
380
|
+
| :CARD_STATE
|
381
|
+
| :PIN_ENTERED
|
382
|
+
| :PIN_STATUS
|
383
|
+
| :WALLET_TYPE
|
384
|
+
| :TRANSACTION_INITIATOR
|
385
|
+
|
386
|
+
module Attribute
|
387
|
+
extend Lithic::Internal::Type::Enum
|
388
|
+
|
389
|
+
MCC: :MCC
|
390
|
+
COUNTRY: :COUNTRY
|
391
|
+
CURRENCY: :CURRENCY
|
392
|
+
MERCHANT_ID: :MERCHANT_ID
|
393
|
+
DESCRIPTOR: :DESCRIPTOR
|
394
|
+
LIABILITY_SHIFT: :LIABILITY_SHIFT
|
395
|
+
PAN_ENTRY_MODE: :PAN_ENTRY_MODE
|
396
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
397
|
+
RISK_SCORE: :RISK_SCORE
|
398
|
+
CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
|
399
|
+
CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
|
400
|
+
CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
|
401
|
+
CARD_STATE: :CARD_STATE
|
402
|
+
PIN_ENTERED: :PIN_ENTERED
|
403
|
+
PIN_STATUS: :PIN_STATUS
|
404
|
+
WALLET_TYPE: :WALLET_TYPE
|
405
|
+
TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
|
406
|
+
|
407
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
|
408
|
+
end
|
409
|
+
|
410
|
+
type operation =
|
411
|
+
:IS_ONE_OF
|
412
|
+
| :IS_NOT_ONE_OF
|
413
|
+
| :MATCHES
|
414
|
+
| :DOES_NOT_MATCH
|
415
|
+
| :IS_EQUAL_TO
|
416
|
+
| :IS_NOT_EQUAL_TO
|
417
|
+
| :IS_GREATER_THAN
|
418
|
+
| :IS_GREATER_THAN_OR_EQUAL_TO
|
419
|
+
| :IS_LESS_THAN
|
420
|
+
| :IS_LESS_THAN_OR_EQUAL_TO
|
421
|
+
|
422
|
+
module Operation
|
423
|
+
extend Lithic::Internal::Type::Enum
|
424
|
+
|
425
|
+
IS_ONE_OF: :IS_ONE_OF
|
426
|
+
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
427
|
+
MATCHES: :MATCHES
|
428
|
+
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
429
|
+
IS_EQUAL_TO: :IS_EQUAL_TO
|
430
|
+
IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
|
431
|
+
IS_GREATER_THAN: :IS_GREATER_THAN
|
432
|
+
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
433
|
+
IS_LESS_THAN: :IS_LESS_THAN
|
434
|
+
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
435
|
+
|
436
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
|
437
|
+
end
|
438
|
+
|
439
|
+
type value = String | Integer | ::Array[String]
|
440
|
+
|
441
|
+
module Value
|
442
|
+
extend Lithic::Internal::Type::Union
|
443
|
+
|
444
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
|
445
|
+
|
446
|
+
StringArray: Lithic::Internal::Type::Converter
|
447
|
+
end
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
136
451
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::parameters]
|
137
452
|
end
|
138
453
|
end
|
@@ -163,7 +478,7 @@ module Lithic
|
|
163
478
|
:CONDITIONAL_BLOCK
|
164
479
|
| :VELOCITY_LIMIT
|
165
480
|
| :MERCHANT_LOCK
|
166
|
-
| :
|
481
|
+
| :CONDITIONAL_ACTION
|
167
482
|
|
168
483
|
module Type
|
169
484
|
extend Lithic::Internal::Type::Enum
|
@@ -171,7 +486,7 @@ module Lithic
|
|
171
486
|
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
172
487
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
173
488
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
174
|
-
|
489
|
+
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
175
490
|
|
176
491
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ApplyResponse::type_]
|
177
492
|
end
|