lithic 0.16.0 → 0.17.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 +9 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/ach_payment_update_action.rb +108 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +18 -14
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rb +142 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +1 -0
- data/lib/lithic/models/auth_rules/rule_feature.rb +26 -4
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +39 -33
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +426 -1
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/ach_payment_update_action.rbi +237 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +16 -12
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +2 -0
- data/rbi/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rbi +298 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +5 -0
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +38 -3
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +3 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +48 -36
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -0
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +826 -1
- data/rbi/lithic/resources/auth_rules/v2.rbi +1 -0
- data/sig/lithic/models/auth_rules/ach_payment_update_action.rbs +99 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_ach_payment_update_action_parameters.rbs +81 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +2 -0
- data/sig/lithic/models/auth_rules/rule_feature.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +355 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6422fc49a66116c5ba0ad2a2cf0a1ac7dccaa6c8c4790d37a3867bbaed2753d0
|
|
4
|
+
data.tar.gz: 2e22b02922477bc98f07bd78b891b699974f715cd8b7e351ac6dbf8a26129f48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 107f3c8df2824b8f4ffdc719cdf455abee3ebc7ecde125e0a1c8a1b4c83c527da7625c7fdfaa0528b9fb274c6371659fd64cb746ac71cf963e17a487d38e729f
|
|
7
|
+
data.tar.gz: 9607fc762f7962dd12e4e43d592251ac01a6092146695f38ecf96d737ddf0ce1a9acab75ab9bb3535995be202231667335687e3d11aeea4fc8c9ba024c855779
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.0 (2026-06-22)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.16.0...v0.17.0](https://github.com/lithic-com/lithic-ruby/compare/v0.16.0...v0.17.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add ach payment update actions/results, card transaction results to auth_rules ([a761a6f](https://github.com/lithic-com/lithic-ruby/commit/a761a6f5fccb557d7fa03d81043b28d685aaec82))
|
|
10
|
+
* **api:** add ACH_EVENT_TYPE to auth rules conditional ACH payment conditions ([7a83081](https://github.com/lithic-com/lithic-ruby/commit/7a83081818121cbf3cfdb51c1285cfdcf297bb4c))
|
|
11
|
+
|
|
3
12
|
## 0.16.0 (2026-06-16)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v0.15.0...v0.16.0](https://github.com/lithic-com/lithic-ruby/compare/v0.15.0...v0.16.0)
|
data/README.md
CHANGED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
module ACHPaymentUpdateAction
|
|
7
|
+
extend Lithic::Internal::Type::Union
|
|
8
|
+
|
|
9
|
+
variant -> { Lithic::AuthRules::ACHPaymentUpdateAction::TagAction }
|
|
10
|
+
|
|
11
|
+
variant -> { Lithic::AuthRules::ACHPaymentUpdateAction::CreateCaseAction }
|
|
12
|
+
|
|
13
|
+
class TagAction < Lithic::Internal::Type::BaseModel
|
|
14
|
+
# @!attribute key
|
|
15
|
+
# The key of the tag to apply to the payment
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
required :key, String
|
|
19
|
+
|
|
20
|
+
# @!attribute type
|
|
21
|
+
# Tag the payment with key-value metadata
|
|
22
|
+
#
|
|
23
|
+
# @return [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction::Type]
|
|
24
|
+
required :type, enum: -> { Lithic::AuthRules::ACHPaymentUpdateAction::TagAction::Type }
|
|
25
|
+
|
|
26
|
+
# @!attribute value
|
|
27
|
+
# The value of the tag to apply to the payment
|
|
28
|
+
#
|
|
29
|
+
# @return [String]
|
|
30
|
+
required :value, String
|
|
31
|
+
|
|
32
|
+
# @!method initialize(key:, type:, value:)
|
|
33
|
+
# @param key [String] The key of the tag to apply to the payment
|
|
34
|
+
#
|
|
35
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction::Type] Tag the payment with key-value metadata
|
|
36
|
+
#
|
|
37
|
+
# @param value [String] The value of the tag to apply to the payment
|
|
38
|
+
|
|
39
|
+
# Tag the payment with key-value metadata
|
|
40
|
+
#
|
|
41
|
+
# @see Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction#type
|
|
42
|
+
module Type
|
|
43
|
+
extend Lithic::Internal::Type::Enum
|
|
44
|
+
|
|
45
|
+
TAG = :TAG
|
|
46
|
+
|
|
47
|
+
# @!method self.values
|
|
48
|
+
# @return [Array<Symbol>]
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
class CreateCaseAction < Lithic::Internal::Type::BaseModel
|
|
53
|
+
# @!attribute queue_token
|
|
54
|
+
# The token of the queue to create the case in
|
|
55
|
+
#
|
|
56
|
+
# @return [String]
|
|
57
|
+
required :queue_token, String
|
|
58
|
+
|
|
59
|
+
# @!attribute scope
|
|
60
|
+
# The scope of the case to create
|
|
61
|
+
#
|
|
62
|
+
# @return [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Scope]
|
|
63
|
+
required :scope, enum: -> { Lithic::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Scope }
|
|
64
|
+
|
|
65
|
+
# @!attribute type
|
|
66
|
+
# Create a case for the payment
|
|
67
|
+
#
|
|
68
|
+
# @return [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Type]
|
|
69
|
+
required :type, enum: -> { Lithic::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Type }
|
|
70
|
+
|
|
71
|
+
# @!method initialize(queue_token:, scope:, type:)
|
|
72
|
+
# @param queue_token [String] The token of the queue to create the case in
|
|
73
|
+
#
|
|
74
|
+
# @param scope [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Scope] The scope of the case to create
|
|
75
|
+
#
|
|
76
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction::Type] Create a case for the payment
|
|
77
|
+
|
|
78
|
+
# The scope of the case to create
|
|
79
|
+
#
|
|
80
|
+
# @see Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction#scope
|
|
81
|
+
module Scope
|
|
82
|
+
extend Lithic::Internal::Type::Enum
|
|
83
|
+
|
|
84
|
+
FINANCIAL_ACCOUNT = :FINANCIAL_ACCOUNT
|
|
85
|
+
|
|
86
|
+
# @!method self.values
|
|
87
|
+
# @return [Array<Symbol>]
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Create a case for the payment
|
|
91
|
+
#
|
|
92
|
+
# @see Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction#type
|
|
93
|
+
module Type
|
|
94
|
+
extend Lithic::Internal::Type::Enum
|
|
95
|
+
|
|
96
|
+
CREATE_CASE = :CREATE_CASE
|
|
97
|
+
|
|
98
|
+
# @!method self.values
|
|
99
|
+
# @return [Array<Symbol>]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# @!method self.variants
|
|
104
|
+
# @return [Array(Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction)]
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
@@ -81,11 +81,11 @@ module Lithic
|
|
|
81
81
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
82
82
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
83
83
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
84
|
-
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT,
|
|
85
|
-
# stream.
|
|
84
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
85
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
86
86
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
87
|
-
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT,
|
|
88
|
-
# stream.
|
|
87
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
88
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
89
89
|
#
|
|
90
90
|
# @return [Symbol, Lithic::Models::AuthRules::AuthRule::Type]
|
|
91
91
|
required :type, enum: -> { Lithic::AuthRules::AuthRule::Type }
|
|
@@ -147,7 +147,7 @@ module Lithic
|
|
|
147
147
|
# @!attribute parameters
|
|
148
148
|
# Parameters for the Auth Rule
|
|
149
149
|
#
|
|
150
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
150
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
151
151
|
required :parameters, union: -> { Lithic::AuthRules::AuthRule::CurrentVersion::Parameters }
|
|
152
152
|
|
|
153
153
|
response_only do
|
|
@@ -163,7 +163,7 @@ module Lithic
|
|
|
163
163
|
# Some parameter documentations has been truncated, see
|
|
164
164
|
# {Lithic::Models::AuthRules::AuthRule::CurrentVersion} for more details.
|
|
165
165
|
#
|
|
166
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
166
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
167
167
|
#
|
|
168
168
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
|
169
169
|
|
|
@@ -190,13 +190,15 @@ module Lithic
|
|
|
190
190
|
|
|
191
191
|
variant -> { Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters }
|
|
192
192
|
|
|
193
|
+
variant -> { Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters }
|
|
194
|
+
|
|
193
195
|
# Parameters for defining a TypeScript code rule
|
|
194
196
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
195
197
|
|
|
196
198
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
197
199
|
|
|
198
200
|
# @!method self.variants
|
|
199
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
201
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
200
202
|
end
|
|
201
203
|
end
|
|
202
204
|
|
|
@@ -212,7 +214,7 @@ module Lithic
|
|
|
212
214
|
# @!attribute parameters
|
|
213
215
|
# Parameters for the Auth Rule
|
|
214
216
|
#
|
|
215
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
217
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
216
218
|
required :parameters, union: -> { Lithic::AuthRules::AuthRule::DraftVersion::Parameters }
|
|
217
219
|
|
|
218
220
|
# @!attribute state
|
|
@@ -245,7 +247,7 @@ module Lithic
|
|
|
245
247
|
#
|
|
246
248
|
# @param error [String, nil] An error message if the draft version failed compilation. Populated when `state`
|
|
247
249
|
#
|
|
248
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
250
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
249
251
|
#
|
|
250
252
|
# @param state [Symbol, Lithic::Models::AuthRules::AuthRule::DraftVersion::State] The state of the draft version. Most rules are created synchronously and the sta
|
|
251
253
|
#
|
|
@@ -274,13 +276,15 @@ module Lithic
|
|
|
274
276
|
|
|
275
277
|
variant -> { Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters }
|
|
276
278
|
|
|
279
|
+
variant -> { Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters }
|
|
280
|
+
|
|
277
281
|
# Parameters for defining a TypeScript code rule
|
|
278
282
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
279
283
|
|
|
280
284
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
281
285
|
|
|
282
286
|
# @!method self.variants
|
|
283
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
287
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
284
288
|
end
|
|
285
289
|
|
|
286
290
|
# The state of the draft version. Most rules are created synchronously and the
|
|
@@ -330,11 +334,11 @@ module Lithic
|
|
|
330
334
|
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
|
|
331
335
|
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
|
|
332
336
|
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
333
|
-
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT,
|
|
334
|
-
# stream.
|
|
337
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
338
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
335
339
|
# - `TYPESCRIPT_CODE`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
|
|
336
|
-
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT,
|
|
337
|
-
# stream.
|
|
340
|
+
# ACH_CREDIT_RECEIPT, ACH_DEBIT_RECEIPT, CARD_TRANSACTION_UPDATE, or
|
|
341
|
+
# ACH_PAYMENT_UPDATE event stream.
|
|
338
342
|
#
|
|
339
343
|
# @see Lithic::Models::AuthRules::AuthRule#type
|
|
340
344
|
module Type
|
|
@@ -13,7 +13,7 @@ module Lithic
|
|
|
13
13
|
# @!attribute parameters
|
|
14
14
|
# Parameters for the Auth Rule
|
|
15
15
|
#
|
|
16
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
16
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters]
|
|
17
17
|
required :parameters, union: -> { Lithic::AuthRules::AuthRuleVersion::Parameters }
|
|
18
18
|
|
|
19
19
|
# @!attribute state
|
|
@@ -37,7 +37,7 @@ module Lithic
|
|
|
37
37
|
#
|
|
38
38
|
# @param created [Time] Timestamp of when this version was created.
|
|
39
39
|
#
|
|
40
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
40
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters] Parameters for the Auth Rule
|
|
41
41
|
#
|
|
42
42
|
# @param state [Symbol, Lithic::Models::AuthRules::AuthRuleVersion::State] The current state of this version.
|
|
43
43
|
#
|
|
@@ -66,13 +66,15 @@ module Lithic
|
|
|
66
66
|
|
|
67
67
|
variant -> { Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters }
|
|
68
68
|
|
|
69
|
+
variant -> { Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters }
|
|
70
|
+
|
|
69
71
|
# Parameters for defining a TypeScript code rule
|
|
70
72
|
variant -> { Lithic::AuthRules::TypescriptCodeParameters }
|
|
71
73
|
|
|
72
74
|
variant -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters }
|
|
73
75
|
|
|
74
76
|
# @!method self.variants
|
|
75
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
77
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters)]
|
|
76
78
|
end
|
|
77
79
|
|
|
78
80
|
# The current state of this version.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ConditionalACHPaymentUpdateActionParameters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute action
|
|
8
|
+
# The action to take if the conditions are met.
|
|
9
|
+
#
|
|
10
|
+
# @return [Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction]
|
|
11
|
+
required :action, union: -> { Lithic::AuthRules::ACHPaymentUpdateAction }
|
|
12
|
+
|
|
13
|
+
# @!attribute conditions
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition>]
|
|
16
|
+
required :conditions,
|
|
17
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition] }
|
|
18
|
+
|
|
19
|
+
# @!method initialize(action:, conditions:)
|
|
20
|
+
# @param action [Lithic::Models::AuthRules::ACHPaymentUpdateAction::TagAction, Lithic::Models::AuthRules::ACHPaymentUpdateAction::CreateCaseAction] The action to take if the conditions are met.
|
|
21
|
+
#
|
|
22
|
+
# @param conditions [Array<Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition>]
|
|
23
|
+
|
|
24
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
25
|
+
# @!attribute attribute
|
|
26
|
+
# The attribute to target.
|
|
27
|
+
#
|
|
28
|
+
# The following attributes may be targeted:
|
|
29
|
+
#
|
|
30
|
+
# - `TRANSACTION_AMOUNT`: The total amount of the ACH payment in minor units
|
|
31
|
+
# (cents), calculated as the sum of the settled and pending amounts. Use an
|
|
32
|
+
# integer value.
|
|
33
|
+
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
34
|
+
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
35
|
+
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
36
|
+
# (Telephone-Initiated Entry), and others.
|
|
37
|
+
# - `RETURN_REASON_CODE`: NACHA return reason code associated with the payment
|
|
38
|
+
# (for example, `R01`).
|
|
39
|
+
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the payment.
|
|
40
|
+
# Use an integer value. For programs where Lithic does not manage or retain
|
|
41
|
+
# account holder data, this attribute does not evaluate.
|
|
42
|
+
# - `EXTERNAL_BANK_ACCOUNT_AGE`: The age of the external bank account in seconds
|
|
43
|
+
# at the time of the payment. Use an integer value.
|
|
44
|
+
# - `EXTERNAL_BANK_ACCOUNT_VERIFICATION_METHOD`: The method used to verify the
|
|
45
|
+
# external bank account. Valid values are `MANUAL`, `MICRO_DEPOSIT`, `PRENOTE`,
|
|
46
|
+
# `EXTERNALLY_VERIFIED`, or `UNVERIFIED`.
|
|
47
|
+
# - `EXTERNAL_BANK_ACCOUNT_VERIFICATION_STATE`: The verification state of the
|
|
48
|
+
# external bank account. Valid values are `PENDING`, `ENABLED`,
|
|
49
|
+
# `FAILED_VERIFICATION`, or `INSUFFICIENT_FUNDS`.
|
|
50
|
+
# - `EXTERNAL_BANK_ACCOUNT_OWNER_TYPE`: The owner type of the external bank
|
|
51
|
+
# account. Valid values are `INDIVIDUAL` or `BUSINESS`.
|
|
52
|
+
# - `ACH_EVENT_TYPE`: The type of ACH payment event being evaluated. Valid values
|
|
53
|
+
# include `ACH_ORIGINATION_INITIATED`, `ACH_ORIGINATION_REVIEWED`,
|
|
54
|
+
# `ACH_ORIGINATION_CANCELLED`, `ACH_ORIGINATION_PROCESSED`,
|
|
55
|
+
# `ACH_ORIGINATION_SETTLED`, `ACH_ORIGINATION_RELEASED`,
|
|
56
|
+
# `ACH_ORIGINATION_REJECTED`, `ACH_RECEIPT_PROCESSED`, `ACH_RECEIPT_SETTLED`,
|
|
57
|
+
# `ACH_RECEIPT_RELEASED`, `ACH_RECEIPT_RELEASED_EARLY`, `ACH_RETURN_INITIATED`,
|
|
58
|
+
# `ACH_RETURN_PROCESSED`, `ACH_RETURN_SETTLED`, and `ACH_RETURN_REJECTED`.
|
|
59
|
+
#
|
|
60
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition::Attribute]
|
|
61
|
+
required :attribute,
|
|
62
|
+
enum: -> { Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition::Attribute }
|
|
63
|
+
|
|
64
|
+
# @!attribute operation
|
|
65
|
+
# The operation to apply to the attribute
|
|
66
|
+
#
|
|
67
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
68
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
69
|
+
|
|
70
|
+
# @!attribute value
|
|
71
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
72
|
+
#
|
|
73
|
+
# @return [String, Integer, Float, Array<String>, Time]
|
|
74
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
75
|
+
|
|
76
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
77
|
+
# Some parameter documentations has been truncated, see
|
|
78
|
+
# {Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition}
|
|
79
|
+
# for more details.
|
|
80
|
+
#
|
|
81
|
+
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition::Attribute] The attribute to target.
|
|
82
|
+
#
|
|
83
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
84
|
+
#
|
|
85
|
+
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
86
|
+
|
|
87
|
+
# The attribute to target.
|
|
88
|
+
#
|
|
89
|
+
# The following attributes may be targeted:
|
|
90
|
+
#
|
|
91
|
+
# - `TRANSACTION_AMOUNT`: The total amount of the ACH payment in minor units
|
|
92
|
+
# (cents), calculated as the sum of the settled and pending amounts. Use an
|
|
93
|
+
# integer value.
|
|
94
|
+
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
95
|
+
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
96
|
+
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
97
|
+
# (Telephone-Initiated Entry), and others.
|
|
98
|
+
# - `RETURN_REASON_CODE`: NACHA return reason code associated with the payment
|
|
99
|
+
# (for example, `R01`).
|
|
100
|
+
# - `ACCOUNT_AGE`: The age of the account in seconds at the time of the payment.
|
|
101
|
+
# Use an integer value. For programs where Lithic does not manage or retain
|
|
102
|
+
# account holder data, this attribute does not evaluate.
|
|
103
|
+
# - `EXTERNAL_BANK_ACCOUNT_AGE`: The age of the external bank account in seconds
|
|
104
|
+
# at the time of the payment. Use an integer value.
|
|
105
|
+
# - `EXTERNAL_BANK_ACCOUNT_VERIFICATION_METHOD`: The method used to verify the
|
|
106
|
+
# external bank account. Valid values are `MANUAL`, `MICRO_DEPOSIT`, `PRENOTE`,
|
|
107
|
+
# `EXTERNALLY_VERIFIED`, or `UNVERIFIED`.
|
|
108
|
+
# - `EXTERNAL_BANK_ACCOUNT_VERIFICATION_STATE`: The verification state of the
|
|
109
|
+
# external bank account. Valid values are `PENDING`, `ENABLED`,
|
|
110
|
+
# `FAILED_VERIFICATION`, or `INSUFFICIENT_FUNDS`.
|
|
111
|
+
# - `EXTERNAL_BANK_ACCOUNT_OWNER_TYPE`: The owner type of the external bank
|
|
112
|
+
# account. Valid values are `INDIVIDUAL` or `BUSINESS`.
|
|
113
|
+
# - `ACH_EVENT_TYPE`: The type of ACH payment event being evaluated. Valid values
|
|
114
|
+
# include `ACH_ORIGINATION_INITIATED`, `ACH_ORIGINATION_REVIEWED`,
|
|
115
|
+
# `ACH_ORIGINATION_CANCELLED`, `ACH_ORIGINATION_PROCESSED`,
|
|
116
|
+
# `ACH_ORIGINATION_SETTLED`, `ACH_ORIGINATION_RELEASED`,
|
|
117
|
+
# `ACH_ORIGINATION_REJECTED`, `ACH_RECEIPT_PROCESSED`, `ACH_RECEIPT_SETTLED`,
|
|
118
|
+
# `ACH_RECEIPT_RELEASED`, `ACH_RECEIPT_RELEASED_EARLY`, `ACH_RETURN_INITIATED`,
|
|
119
|
+
# `ACH_RETURN_PROCESSED`, `ACH_RETURN_SETTLED`, and `ACH_RETURN_REJECTED`.
|
|
120
|
+
#
|
|
121
|
+
# @see Lithic::Models::AuthRules::ConditionalACHPaymentUpdateActionParameters::Condition#attribute
|
|
122
|
+
module Attribute
|
|
123
|
+
extend Lithic::Internal::Type::Enum
|
|
124
|
+
|
|
125
|
+
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
|
126
|
+
SEC_CODE = :SEC_CODE
|
|
127
|
+
RETURN_REASON_CODE = :RETURN_REASON_CODE
|
|
128
|
+
ACCOUNT_AGE = :ACCOUNT_AGE
|
|
129
|
+
EXTERNAL_BANK_ACCOUNT_AGE = :EXTERNAL_BANK_ACCOUNT_AGE
|
|
130
|
+
EXTERNAL_BANK_ACCOUNT_VERIFICATION_METHOD = :EXTERNAL_BANK_ACCOUNT_VERIFICATION_METHOD
|
|
131
|
+
EXTERNAL_BANK_ACCOUNT_VERIFICATION_STATE = :EXTERNAL_BANK_ACCOUNT_VERIFICATION_STATE
|
|
132
|
+
EXTERNAL_BANK_ACCOUNT_OWNER_TYPE = :EXTERNAL_BANK_ACCOUNT_OWNER_TYPE
|
|
133
|
+
ACH_EVENT_TYPE = :ACH_EVENT_TYPE
|
|
134
|
+
|
|
135
|
+
# @!method self.values
|
|
136
|
+
# @return [Array<Symbol>]
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
@@ -17,11 +17,13 @@ module Lithic
|
|
|
17
17
|
# ACH_CREDIT_RECEIPT and ACH_DEBIT_RECEIPT event stream rules.
|
|
18
18
|
# - `CARD_TRANSACTION`: The card transaction being evaluated. Only available for
|
|
19
19
|
# CARD_TRANSACTION_UPDATE event stream rules.
|
|
20
|
+
# - `ACH_PAYMENT`: The ACH payment being evaluated. Only available for
|
|
21
|
+
# ACH_PAYMENT_UPDATE event stream rules.
|
|
20
22
|
# - `CARD`: The card associated with the event. Available for AUTHORIZATION,
|
|
21
23
|
# THREE_DS_AUTHENTICATION, and CARD_TRANSACTION_UPDATE event stream rules.
|
|
22
|
-
# - `ACCOUNT_HOLDER`: The account holder associated with the
|
|
23
|
-
# AUTHORIZATION, THREE_DS_AUTHENTICATION,
|
|
24
|
-
# stream rules.
|
|
24
|
+
# - `ACCOUNT_HOLDER`: The account holder associated with the event. Available for
|
|
25
|
+
# AUTHORIZATION, THREE_DS_AUTHENTICATION, CARD_TRANSACTION_UPDATE, and
|
|
26
|
+
# ACH_PAYMENT_UPDATE event stream rules.
|
|
25
27
|
# - `IP_METADATA`: IP address metadata for the request. Available for
|
|
26
28
|
# THREE_DS_AUTHENTICATION event stream rules.
|
|
27
29
|
# - `SPEND_VELOCITY`: Spend velocity data for the card or account. Requires
|
|
@@ -44,6 +46,8 @@ module Lithic
|
|
|
44
46
|
|
|
45
47
|
variant -> { Lithic::AuthRules::RuleFeature::CardTransactionFeature }
|
|
46
48
|
|
|
49
|
+
variant -> { Lithic::AuthRules::RuleFeature::ACHPaymentFeature }
|
|
50
|
+
|
|
47
51
|
variant -> { Lithic::AuthRules::RuleFeature::CardFeature }
|
|
48
52
|
|
|
49
53
|
variant -> { Lithic::AuthRules::RuleFeature::AccountHolderFeature }
|
|
@@ -144,6 +148,24 @@ module Lithic
|
|
|
144
148
|
# @param type [Symbol, :CARD_TRANSACTION]
|
|
145
149
|
end
|
|
146
150
|
|
|
151
|
+
class ACHPaymentFeature < Lithic::Internal::Type::BaseModel
|
|
152
|
+
# @!attribute type
|
|
153
|
+
#
|
|
154
|
+
# @return [Symbol, :ACH_PAYMENT]
|
|
155
|
+
required :type, const: :ACH_PAYMENT
|
|
156
|
+
|
|
157
|
+
# @!attribute name
|
|
158
|
+
# The variable name for this feature in the rule function signature
|
|
159
|
+
#
|
|
160
|
+
# @return [String, nil]
|
|
161
|
+
optional :name, String
|
|
162
|
+
|
|
163
|
+
# @!method initialize(name: nil, type: :ACH_PAYMENT)
|
|
164
|
+
# @param name [String] The variable name for this feature in the rule function signature
|
|
165
|
+
#
|
|
166
|
+
# @param type [Symbol, :ACH_PAYMENT]
|
|
167
|
+
end
|
|
168
|
+
|
|
147
169
|
class CardFeature < Lithic::Internal::Type::BaseModel
|
|
148
170
|
# @!attribute type
|
|
149
171
|
#
|
|
@@ -293,7 +315,7 @@ module Lithic
|
|
|
293
315
|
end
|
|
294
316
|
|
|
295
317
|
# @!method self.variants
|
|
296
|
-
# @return [Array(Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature)]
|
|
318
|
+
# @return [Array(Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::ACHPaymentFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature)]
|
|
297
319
|
end
|
|
298
320
|
end
|
|
299
321
|
end
|
|
@@ -15,7 +15,7 @@ module Lithic
|
|
|
15
15
|
# @!attribute features
|
|
16
16
|
# Features available to the TypeScript code at evaluation time
|
|
17
17
|
#
|
|
18
|
-
# @return [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>]
|
|
18
|
+
# @return [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::ACHPaymentFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>]
|
|
19
19
|
required :features, -> { Lithic::Internal::Type::ArrayOf[union: Lithic::AuthRules::RuleFeature] }
|
|
20
20
|
|
|
21
21
|
# @!method initialize(code:, features:)
|
|
@@ -26,7 +26,7 @@ module Lithic
|
|
|
26
26
|
#
|
|
27
27
|
# @param code [String] The TypeScript source code of the rule. Must define a `rule()` function that acc
|
|
28
28
|
#
|
|
29
|
-
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>] Features available to the TypeScript code at evaluation time
|
|
29
|
+
# @param features [Array<Lithic::Models::AuthRules::RuleFeature::AuthorizationFeature, Lithic::Models::AuthRules::RuleFeature::AuthenticationFeature, Lithic::Models::AuthRules::RuleFeature::TokenizationFeature, Lithic::Models::AuthRules::RuleFeature::ACHReceiptFeature, Lithic::Models::AuthRules::RuleFeature::CardTransactionFeature, Lithic::Models::AuthRules::RuleFeature::ACHPaymentFeature, Lithic::Models::AuthRules::RuleFeature::CardFeature, Lithic::Models::AuthRules::RuleFeature::AccountHolderFeature, Lithic::Models::AuthRules::RuleFeature::IPMetadataFeature, Lithic::Models::AuthRules::RuleFeature::SpendVelocityFeature, Lithic::Models::AuthRules::RuleFeature::TransactionHistorySignalsFeature>] Features available to the TypeScript code at evaluation time
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|