lithic 0.1.0.pre.alpha.39 → 0.1.0.pre.alpha.41
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 +24 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -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.rb +88 -1
- data/lib/lithic/models/account_activity_list_params.rb +156 -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/account_update_params.rb +86 -1
- data/lib/lithic/models/aggregate_balance.rb +1 -0
- data/lib/lithic/models/aggregate_balance_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +12 -22
- data/lib/lithic/models/auth_rules/v2_list_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +3 -25
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +226 -16
- data/lib/lithic/models/balance.rb +1 -0
- data/lib/lithic/models/balance_list_params.rb +1 -0
- 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/card_create_params.rb +90 -1
- data/lib/lithic/models/card_program.rb +10 -1
- data/lib/lithic/models/card_update_params.rb +98 -1
- data/lib/lithic/models/cards/balance_list_response.rb +1 -0
- data/lib/lithic/models/document.rb +1 -3
- data/lib/lithic/models/events/subscription_create_params.rb +1 -3
- data/lib/lithic/models/events/subscription_update_params.rb +1 -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/external_resource.rb +34 -0
- data/lib/lithic/models/external_resource_type.rb +18 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/balance_list_response.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_create_params.rb +30 -1
- data/lib/lithic/models/management_operation_transaction.rb +100 -52
- data/lib/lithic/models/network_program.rb +41 -0
- data/lib/lithic/models/network_program_list_params.rb +43 -0
- data/lib/lithic/models/network_program_retrieve_params.rb +14 -0
- data/lib/lithic/models/non_pci_card.rb +88 -1
- data/lib/lithic/models/payment.rb +60 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- 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 +145 -12
- 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 +31 -20
- 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 +16 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/accounts.rb +5 -1
- data/lib/lithic/resources/book_transfers.rb +7 -3
- data/lib/lithic/resources/cards.rb +12 -2
- data/lib/lithic/resources/management_operations.rb +13 -1
- data/lib/lithic/resources/network_programs.rb +64 -0
- 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 +13 -2
- data/rbi/lithic/client.rbi +6 -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.rbi +131 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +359 -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/account_update_params.rbi +159 -0
- data/rbi/lithic/models/aggregate_balance.rbi +5 -0
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +5 -0
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +26 -15
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +2 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +18 -25
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +527 -31
- data/rbi/lithic/models/balance.rbi +2 -0
- data/rbi/lithic/models/balance_list_params.rbi +5 -0
- 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/card_create_params.rbi +190 -0
- data/rbi/lithic/models/card_program.rbi +13 -0
- data/rbi/lithic/models/card_update_params.rbi +168 -0
- data/rbi/lithic/models/cards/balance_list_response.rbi +5 -0
- data/rbi/lithic/models/external_payment.rbi +147 -60
- data/rbi/lithic/models/external_resource.rbi +57 -0
- data/rbi/lithic/models/external_resource_type.rbi +26 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/balance_list_response.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_create_params.rbi +59 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +230 -84
- data/rbi/lithic/models/network_program.rbi +61 -0
- data/rbi/lithic/models/network_program_list_params.rbi +72 -0
- data/rbi/lithic/models/network_program_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/non_pci_card.rbi +133 -3
- data/rbi/lithic/models/payment.rbi +103 -3
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- 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 +222 -19
- data/rbi/lithic/models/transaction.rbi +23 -31
- data/rbi/lithic/models/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/accounts.rbi +32 -0
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- data/rbi/lithic/resources/cards.rbi +70 -0
- data/rbi/lithic/resources/management_operations.rbi +4 -0
- data/rbi/lithic/resources/network_programs.rbi +48 -0
- data/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +4 -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.rbs +41 -0
- 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/account_update_params.rbs +41 -0
- data/sig/lithic/models/aggregate_balance.rbs +2 -1
- data/sig/lithic/models/aggregate_balance_list_params.rbs +2 -1
- 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_list_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -14
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +212 -7
- data/sig/lithic/models/balance.rbs +2 -1
- data/sig/lithic/models/balance_list_params.rbs +2 -1
- 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/card_create_params.rbs +47 -0
- data/sig/lithic/models/card_program.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +55 -1
- data/sig/lithic/models/cards/balance_list_response.rbs +2 -1
- data/sig/lithic/models/external_payment.rbs +91 -40
- data/sig/lithic/models/external_resource.rbs +32 -0
- data/sig/lithic/models/external_resource_type.rbs +16 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_list_params.rbs +2 -1
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +2 -1
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_create_params.rbs +20 -0
- data/sig/lithic/models/management_operation_transaction.rbs +98 -42
- data/sig/lithic/models/network_program.rbs +35 -0
- data/sig/lithic/models/network_program_list_params.rbs +38 -0
- data/sig/lithic/models/network_program_retrieve_params.rbs +15 -0
- data/sig/lithic/models/non_pci_card.rbs +55 -3
- data/sig/lithic/models/payment.rbs +61 -3
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/settlement_detail.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +90 -3
- data/sig/lithic/models/transaction.rbs +2 -6
- data/sig/lithic/models/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +16 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/accounts.rbs +2 -0
- data/sig/lithic/resources/book_transfers.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/management_operations.rbs +1 -0
- data/sig/lithic/resources/network_programs.rbs +19 -0
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +38 -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
@@ -11,6 +11,13 @@ module Lithic
|
|
11
11
|
T.any(Lithic::AccountUpdateParams, Lithic::Internal::AnyHash)
|
12
12
|
end
|
13
13
|
|
14
|
+
# Additional context or information related to the account.
|
15
|
+
sig { returns(T.nilable(String)) }
|
16
|
+
attr_reader :comment
|
17
|
+
|
18
|
+
sig { params(comment: String).void }
|
19
|
+
attr_writer :comment
|
20
|
+
|
14
21
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
15
22
|
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
16
23
|
sig { returns(T.nilable(Integer)) }
|
@@ -47,6 +54,43 @@ module Lithic
|
|
47
54
|
sig { params(state: Lithic::AccountUpdateParams::State::OrSymbol).void }
|
48
55
|
attr_writer :state
|
49
56
|
|
57
|
+
# Account state substatus values:
|
58
|
+
#
|
59
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
60
|
+
# with stolen or fabricated identity information, encompassing both true
|
61
|
+
# identity theft and synthetic identities.
|
62
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
63
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
64
|
+
# investigation.
|
65
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
66
|
+
# legitimate account holder. Examples include disputing valid transactions
|
67
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
68
|
+
# intentional bust-out schemes to exploit account services.
|
69
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
70
|
+
# of the account for personal reasons. This encompasses situations such as
|
71
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
72
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
73
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
74
|
+
# concerns, or violations of terms and conditions.
|
75
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
76
|
+
# within a specified period. This status applies to accounts that are paused or
|
77
|
+
# closed due to inactivity.
|
78
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
79
|
+
# review. In future implementations, this status may prevent clients from
|
80
|
+
# activating the account via APIs until the review is completed.
|
81
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
82
|
+
# of the above categories. A comment should be provided to specify the
|
83
|
+
# particular reason.
|
84
|
+
sig do
|
85
|
+
returns(T.nilable(Lithic::AccountUpdateParams::Substatus::OrSymbol))
|
86
|
+
end
|
87
|
+
attr_reader :substatus
|
88
|
+
|
89
|
+
sig do
|
90
|
+
params(substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol).void
|
91
|
+
end
|
92
|
+
attr_writer :substatus
|
93
|
+
|
50
94
|
# Address used during Address Verification Service (AVS) checks during
|
51
95
|
# transactions if enabled via Auth Rules. This field is deprecated as AVS checks
|
52
96
|
# are no longer supported by Auth Rules. The field will be removed from the schema
|
@@ -66,16 +110,20 @@ module Lithic
|
|
66
110
|
|
67
111
|
sig do
|
68
112
|
params(
|
113
|
+
comment: String,
|
69
114
|
daily_spend_limit: Integer,
|
70
115
|
lifetime_spend_limit: Integer,
|
71
116
|
monthly_spend_limit: Integer,
|
72
117
|
state: Lithic::AccountUpdateParams::State::OrSymbol,
|
118
|
+
substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
|
73
119
|
verification_address:
|
74
120
|
Lithic::AccountUpdateParams::VerificationAddress::OrHash,
|
75
121
|
request_options: Lithic::RequestOptions::OrHash
|
76
122
|
).returns(T.attached_class)
|
77
123
|
end
|
78
124
|
def self.new(
|
125
|
+
# Additional context or information related to the account.
|
126
|
+
comment: nil,
|
79
127
|
# Amount (in cents) for the account's daily spend limit (e.g. 100000 would be a
|
80
128
|
# $1,000 limit). By default the daily spend limit is set to $1,250.
|
81
129
|
daily_spend_limit: nil,
|
@@ -92,6 +140,34 @@ module Lithic
|
|
92
140
|
monthly_spend_limit: nil,
|
93
141
|
# Account states.
|
94
142
|
state: nil,
|
143
|
+
# Account state substatus values:
|
144
|
+
#
|
145
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
146
|
+
# with stolen or fabricated identity information, encompassing both true
|
147
|
+
# identity theft and synthetic identities.
|
148
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
149
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
150
|
+
# investigation.
|
151
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
152
|
+
# legitimate account holder. Examples include disputing valid transactions
|
153
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
154
|
+
# intentional bust-out schemes to exploit account services.
|
155
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
156
|
+
# of the account for personal reasons. This encompasses situations such as
|
157
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
158
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
159
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
160
|
+
# concerns, or violations of terms and conditions.
|
161
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
162
|
+
# within a specified period. This status applies to accounts that are paused or
|
163
|
+
# closed due to inactivity.
|
164
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
165
|
+
# review. In future implementations, this status may prevent clients from
|
166
|
+
# activating the account via APIs until the review is completed.
|
167
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
168
|
+
# of the above categories. A comment should be provided to specify the
|
169
|
+
# particular reason.
|
170
|
+
substatus: nil,
|
95
171
|
# Address used during Address Verification Service (AVS) checks during
|
96
172
|
# transactions if enabled via Auth Rules. This field is deprecated as AVS checks
|
97
173
|
# are no longer supported by Auth Rules. The field will be removed from the schema
|
@@ -104,10 +180,12 @@ module Lithic
|
|
104
180
|
sig do
|
105
181
|
override.returns(
|
106
182
|
{
|
183
|
+
comment: String,
|
107
184
|
daily_spend_limit: Integer,
|
108
185
|
lifetime_spend_limit: Integer,
|
109
186
|
monthly_spend_limit: Integer,
|
110
187
|
state: Lithic::AccountUpdateParams::State::OrSymbol,
|
188
|
+
substatus: Lithic::AccountUpdateParams::Substatus::OrSymbol,
|
111
189
|
verification_address:
|
112
190
|
Lithic::AccountUpdateParams::VerificationAddress,
|
113
191
|
request_options: Lithic::RequestOptions
|
@@ -141,6 +219,87 @@ module Lithic
|
|
141
219
|
end
|
142
220
|
end
|
143
221
|
|
222
|
+
# Account state substatus values:
|
223
|
+
#
|
224
|
+
# - `FRAUD_IDENTIFIED` - The account has been recognized as being created or used
|
225
|
+
# with stolen or fabricated identity information, encompassing both true
|
226
|
+
# identity theft and synthetic identities.
|
227
|
+
# - `SUSPICIOUS_ACTIVITY` - The account has exhibited suspicious behavior, such as
|
228
|
+
# unauthorized access or fraudulent transactions, necessitating further
|
229
|
+
# investigation.
|
230
|
+
# - `RISK_VIOLATION` - The account has been involved in deliberate misuse by the
|
231
|
+
# legitimate account holder. Examples include disputing valid transactions
|
232
|
+
# without cause, falsely claiming non-receipt of goods, or engaging in
|
233
|
+
# intentional bust-out schemes to exploit account services.
|
234
|
+
# - `END_USER_REQUEST` - The account holder has voluntarily requested the closure
|
235
|
+
# of the account for personal reasons. This encompasses situations such as
|
236
|
+
# bankruptcy, other financial considerations, or the account holder's death.
|
237
|
+
# - `ISSUER_REQUEST` - The issuer has initiated the closure of the account due to
|
238
|
+
# business strategy, risk management, inactivity, product changes, regulatory
|
239
|
+
# concerns, or violations of terms and conditions.
|
240
|
+
# - `NOT_ACTIVE` - The account has not had any transactions or payment activity
|
241
|
+
# within a specified period. This status applies to accounts that are paused or
|
242
|
+
# closed due to inactivity.
|
243
|
+
# - `INTERNAL_REVIEW` - The account is temporarily paused pending further internal
|
244
|
+
# review. In future implementations, this status may prevent clients from
|
245
|
+
# activating the account via APIs until the review is completed.
|
246
|
+
# - `OTHER` - The reason for the account's current status does not fall into any
|
247
|
+
# of the above categories. A comment should be provided to specify the
|
248
|
+
# particular reason.
|
249
|
+
module Substatus
|
250
|
+
extend Lithic::Internal::Type::Enum
|
251
|
+
|
252
|
+
TaggedSymbol =
|
253
|
+
T.type_alias { T.all(Symbol, Lithic::AccountUpdateParams::Substatus) }
|
254
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
255
|
+
|
256
|
+
FRAUD_IDENTIFIED =
|
257
|
+
T.let(
|
258
|
+
:FRAUD_IDENTIFIED,
|
259
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
260
|
+
)
|
261
|
+
SUSPICIOUS_ACTIVITY =
|
262
|
+
T.let(
|
263
|
+
:SUSPICIOUS_ACTIVITY,
|
264
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
265
|
+
)
|
266
|
+
RISK_VIOLATION =
|
267
|
+
T.let(
|
268
|
+
:RISK_VIOLATION,
|
269
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
270
|
+
)
|
271
|
+
END_USER_REQUEST =
|
272
|
+
T.let(
|
273
|
+
:END_USER_REQUEST,
|
274
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
275
|
+
)
|
276
|
+
ISSUER_REQUEST =
|
277
|
+
T.let(
|
278
|
+
:ISSUER_REQUEST,
|
279
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
280
|
+
)
|
281
|
+
NOT_ACTIVE =
|
282
|
+
T.let(
|
283
|
+
:NOT_ACTIVE,
|
284
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
285
|
+
)
|
286
|
+
INTERNAL_REVIEW =
|
287
|
+
T.let(
|
288
|
+
:INTERNAL_REVIEW,
|
289
|
+
Lithic::AccountUpdateParams::Substatus::TaggedSymbol
|
290
|
+
)
|
291
|
+
OTHER =
|
292
|
+
T.let(:OTHER, Lithic::AccountUpdateParams::Substatus::TaggedSymbol)
|
293
|
+
|
294
|
+
sig do
|
295
|
+
override.returns(
|
296
|
+
T::Array[Lithic::AccountUpdateParams::Substatus::TaggedSymbol]
|
297
|
+
)
|
298
|
+
end
|
299
|
+
def self.values
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
144
303
|
class VerificationAddress < Lithic::Internal::Type::BaseModel
|
145
304
|
OrHash =
|
146
305
|
T.type_alias do
|
@@ -143,6 +143,11 @@ module Lithic
|
|
143
143
|
:RESERVE,
|
144
144
|
Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
|
145
145
|
)
|
146
|
+
SECURITY =
|
147
|
+
T.let(
|
148
|
+
:SECURITY,
|
149
|
+
Lithic::AggregateBalance::FinancialAccountType::TaggedSymbol
|
150
|
+
)
|
146
151
|
|
147
152
|
sig do
|
148
153
|
override.returns(
|
@@ -83,6 +83,11 @@ module Lithic
|
|
83
83
|
:RESERVE,
|
84
84
|
Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
|
85
85
|
)
|
86
|
+
SECURITY =
|
87
|
+
T.let(
|
88
|
+
:SECURITY,
|
89
|
+
Lithic::AggregateBalanceListParams::FinancialAccountType::TaggedSymbol
|
90
|
+
)
|
86
91
|
|
87
92
|
sig do
|
88
93
|
override.returns(
|
@@ -210,16 +210,36 @@ module Lithic
|
|
210
210
|
:DOES_NOT_MATCH,
|
211
211
|
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
212
212
|
)
|
213
|
+
IS_EQUAL_TO =
|
214
|
+
T.let(
|
215
|
+
:IS_EQUAL_TO,
|
216
|
+
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
217
|
+
)
|
218
|
+
IS_NOT_EQUAL_TO =
|
219
|
+
T.let(
|
220
|
+
:IS_NOT_EQUAL_TO,
|
221
|
+
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
222
|
+
)
|
213
223
|
IS_GREATER_THAN =
|
214
224
|
T.let(
|
215
225
|
:IS_GREATER_THAN,
|
216
226
|
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
217
227
|
)
|
228
|
+
IS_GREATER_THAN_OR_EQUAL_TO =
|
229
|
+
T.let(
|
230
|
+
:IS_GREATER_THAN_OR_EQUAL_TO,
|
231
|
+
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
232
|
+
)
|
218
233
|
IS_LESS_THAN =
|
219
234
|
T.let(
|
220
235
|
:IS_LESS_THAN,
|
221
236
|
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
222
237
|
)
|
238
|
+
IS_LESS_THAN_OR_EQUAL_TO =
|
239
|
+
T.let(
|
240
|
+
:IS_LESS_THAN_OR_EQUAL_TO,
|
241
|
+
Lithic::AuthRules::AuthRuleCondition::Operation::TaggedSymbol
|
242
|
+
)
|
223
243
|
|
224
244
|
sig do
|
225
245
|
override.returns(
|
@@ -123,11 +123,8 @@ module Lithic
|
|
123
123
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
124
124
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
125
125
|
# fee on behalf of the cardholder.
|
126
|
-
# - `RISK_SCORE`:
|
127
|
-
#
|
128
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
129
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
130
|
-
# multiplying the raw score by 10x.
|
126
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
127
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
131
128
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
132
129
|
sig do
|
133
130
|
returns(
|
@@ -211,11 +208,8 @@ module Lithic
|
|
211
208
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
212
209
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
213
210
|
# fee on behalf of the cardholder.
|
214
|
-
# - `RISK_SCORE`:
|
215
|
-
#
|
216
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
217
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
218
|
-
# multiplying the raw score by 10x.
|
211
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
212
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
219
213
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
220
214
|
attribute: nil,
|
221
215
|
# The operation to apply to the attribute
|
@@ -258,11 +252,8 @@ module Lithic
|
|
258
252
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
259
253
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
260
254
|
# fee on behalf of the cardholder.
|
261
|
-
# - `RISK_SCORE`:
|
262
|
-
#
|
263
|
-
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
264
|
-
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
265
|
-
# multiplying the raw score by 10x.
|
255
|
+
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
|
256
|
+
# risk level, with a higher value indicating a higher amount of risk.
|
266
257
|
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
267
258
|
module Attribute
|
268
259
|
extend Lithic::Internal::Type::Enum
|
@@ -361,16 +352,36 @@ module Lithic
|
|
361
352
|
:DOES_NOT_MATCH,
|
362
353
|
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
363
354
|
)
|
355
|
+
IS_EQUAL_TO =
|
356
|
+
T.let(
|
357
|
+
:IS_EQUAL_TO,
|
358
|
+
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
359
|
+
)
|
360
|
+
IS_NOT_EQUAL_TO =
|
361
|
+
T.let(
|
362
|
+
:IS_NOT_EQUAL_TO,
|
363
|
+
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
364
|
+
)
|
364
365
|
IS_GREATER_THAN =
|
365
366
|
T.let(
|
366
367
|
:IS_GREATER_THAN,
|
367
368
|
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
368
369
|
)
|
370
|
+
IS_GREATER_THAN_OR_EQUAL_TO =
|
371
|
+
T.let(
|
372
|
+
:IS_GREATER_THAN_OR_EQUAL_TO,
|
373
|
+
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
374
|
+
)
|
369
375
|
IS_LESS_THAN =
|
370
376
|
T.let(
|
371
377
|
:IS_LESS_THAN,
|
372
378
|
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
373
379
|
)
|
380
|
+
IS_LESS_THAN_OR_EQUAL_TO =
|
381
|
+
T.let(
|
382
|
+
:IS_LESS_THAN_OR_EQUAL_TO,
|
383
|
+
Lithic::AuthRules::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
384
|
+
)
|
374
385
|
|
375
386
|
sig do
|
376
387
|
override.returns(
|
@@ -28,7 +28,12 @@ module Lithic
|
|
28
28
|
returns(
|
29
29
|
T.any(
|
30
30
|
Integer,
|
31
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
31
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
32
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
|
33
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
|
34
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
|
35
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
|
36
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
32
37
|
)
|
33
38
|
)
|
34
39
|
end
|
@@ -57,7 +62,12 @@ module Lithic
|
|
57
62
|
period:
|
58
63
|
T.any(
|
59
64
|
Integer,
|
60
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
65
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
66
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject::OrHash,
|
67
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay::OrHash,
|
68
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek::OrHash,
|
69
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth::OrHash,
|
70
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear::OrHash
|
61
71
|
),
|
62
72
|
scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
|
63
73
|
limit_amount: T.nilable(Integer),
|
@@ -90,7 +100,12 @@ module Lithic
|
|
90
100
|
period:
|
91
101
|
T.any(
|
92
102
|
Integer,
|
93
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::OrSymbol
|
103
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindow::OrSymbol,
|
104
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TrailingWindowObject,
|
105
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowDay,
|
106
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowWeek,
|
107
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowMonth,
|
108
|
+
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::FixedWindowYear
|
94
109
|
),
|
95
110
|
scope: Lithic::AuthRules::VelocityLimitParams::Scope::OrSymbol,
|
96
111
|
limit_amount: T.nilable(Integer),
|
@@ -172,28 +187,6 @@ module Lithic
|
|
172
187
|
end
|
173
188
|
end
|
174
189
|
|
175
|
-
# The size of the trailing window to calculate Spend Velocity over in seconds. The
|
176
|
-
# minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
|
177
|
-
module Period
|
178
|
-
extend Lithic::Internal::Type::Union
|
179
|
-
|
180
|
-
Variants =
|
181
|
-
T.type_alias do
|
182
|
-
T.any(
|
183
|
-
Integer,
|
184
|
-
Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol
|
185
|
-
)
|
186
|
-
end
|
187
|
-
|
188
|
-
sig do
|
189
|
-
override.returns(
|
190
|
-
T::Array[Lithic::AuthRules::VelocityLimitParams::Period::Variants]
|
191
|
-
)
|
192
|
-
end
|
193
|
-
def self.variants
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
190
|
module Scope
|
198
191
|
extend Lithic::Internal::Type::Enum
|
199
192
|
|