lithic 0.1.0.pre.alpha.47 → 0.1.0.pre.alpha.48
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 +8 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_features_params.rb +28 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +188 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +20 -1
- data/lib/lithic/models/auth_rules/v2_update_response.rb +20 -1
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +44 -3
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +10 -0
- data/lib/lithic/resources/auth_rules/v2.rb +34 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +11 -0
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +11 -0
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_params.rbi +54 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +443 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +32 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +137 -3
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +4 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +26 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_features_params.rbs +34 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +158 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +9 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +47 -3
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -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: '0338f8712fdaa94ae5110998423c936b0e773ecdbdd8fb1998115c42f057e13c'
|
4
|
+
data.tar.gz: c75534f2baeb5bf04cd5d95bfa0e4d0d03f00cedf15fd48128e481ee54f365e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410742e55f7e5c46622889263a39eaddc2df1fdc1ed0ef962b34c583a2923e6334bb12a9ee13f4813075ccd29b15ad286296ed20a84bd562eb21347d18bc9270
|
7
|
+
data.tar.gz: '06394c4a1741fb2a530b9f153e902763e367bd67d6ef3d45ba577f1f55d015da57e99186f9369c300d369001a14b29f7f35431af50d88b6500eb0f1bb8e5d9c6'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.48 (2025-09-30)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.47...v0.1.0-alpha.48](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.47...v0.1.0-alpha.48)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** adds support for Auth Rule features ([f12343f](https://github.com/lithic-com/lithic-ruby/commit/f12343f949c28e3545a7e7add90238e8133d5916))
|
10
|
+
|
3
11
|
## 0.1.0-alpha.47 (2025-09-29)
|
4
12
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.46...v0.1.0-alpha.47](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.46...v0.1.0-alpha.47)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.48"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
@@ -45,6 +45,13 @@ module Lithic
|
|
45
45
|
# @return [Symbol, Lithic::Models::AuthRules::V2ApplyResponse::EventStream]
|
46
46
|
required :event_stream, enum: -> { Lithic::Models::AuthRules::V2ApplyResponse::EventStream }
|
47
47
|
|
48
|
+
# @!attribute lithic_managed
|
49
|
+
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
50
|
+
# be modified or deleted by the user
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
required :lithic_managed, Lithic::Internal::Type::Boolean
|
54
|
+
|
48
55
|
# @!attribute name
|
49
56
|
# Auth Rule Name
|
50
57
|
#
|
@@ -83,7 +90,7 @@ module Lithic
|
|
83
90
|
# @return [Array<String>, nil]
|
84
91
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
85
92
|
|
86
|
-
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
93
|
+
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, lithic_managed:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
87
94
|
# Some parameter documentations has been truncated, see
|
88
95
|
# {Lithic::Models::AuthRules::V2ApplyResponse} for more details.
|
89
96
|
#
|
@@ -101,6 +108,8 @@ module Lithic
|
|
101
108
|
#
|
102
109
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::V2ApplyResponse::EventStream] The event stream during which the rule will be evaluated.
|
103
110
|
#
|
111
|
+
# @param lithic_managed [Boolean] Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
112
|
+
#
|
104
113
|
# @param name [String, nil] Auth Rule Name
|
105
114
|
#
|
106
115
|
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
@@ -216,6 +225,8 @@ module Lithic
|
|
216
225
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
217
226
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
218
227
|
# fee on behalf of the cardholder.
|
228
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
229
|
+
# represents the amount of cash being withdrawn or advanced.
|
219
230
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
220
231
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
221
232
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -295,6 +306,8 @@ module Lithic
|
|
295
306
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
296
307
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
297
308
|
# fee on behalf of the cardholder.
|
309
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
310
|
+
# represents the amount of cash being withdrawn or advanced.
|
298
311
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
299
312
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
300
313
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -331,6 +344,7 @@ module Lithic
|
|
331
344
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
332
345
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
333
346
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
347
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
334
348
|
RISK_SCORE = :RISK_SCORE
|
335
349
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
336
350
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -500,6 +514,8 @@ module Lithic
|
|
500
514
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
501
515
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
502
516
|
# fee on behalf of the cardholder.
|
517
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
518
|
+
# represents the amount of cash being withdrawn or advanced.
|
503
519
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
504
520
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
505
521
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -579,6 +595,8 @@ module Lithic
|
|
579
595
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
580
596
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
581
597
|
# fee on behalf of the cardholder.
|
598
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
599
|
+
# represents the amount of cash being withdrawn or advanced.
|
582
600
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
583
601
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
584
602
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -615,6 +633,7 @@ module Lithic
|
|
615
633
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
616
634
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
617
635
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
636
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
618
637
|
RISK_SCORE = :RISK_SCORE
|
619
638
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
620
639
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -179,6 +179,8 @@ module Lithic
|
|
179
179
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
180
180
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
181
181
|
# fee on behalf of the cardholder.
|
182
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
183
|
+
# represents the amount of cash being withdrawn or advanced.
|
182
184
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
183
185
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
184
186
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -258,6 +260,8 @@ module Lithic
|
|
258
260
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
259
261
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
260
262
|
# fee on behalf of the cardholder.
|
263
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
264
|
+
# represents the amount of cash being withdrawn or advanced.
|
261
265
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
262
266
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
263
267
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -294,6 +298,7 @@ module Lithic
|
|
294
298
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
295
299
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
296
300
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
301
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
297
302
|
RISK_SCORE = :RISK_SCORE
|
298
303
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
299
304
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -45,6 +45,13 @@ module Lithic
|
|
45
45
|
# @return [Symbol, Lithic::Models::AuthRules::V2CreateResponse::EventStream]
|
46
46
|
required :event_stream, enum: -> { Lithic::Models::AuthRules::V2CreateResponse::EventStream }
|
47
47
|
|
48
|
+
# @!attribute lithic_managed
|
49
|
+
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
50
|
+
# be modified or deleted by the user
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
required :lithic_managed, Lithic::Internal::Type::Boolean
|
54
|
+
|
48
55
|
# @!attribute name
|
49
56
|
# Auth Rule Name
|
50
57
|
#
|
@@ -83,7 +90,7 @@ module Lithic
|
|
83
90
|
# @return [Array<String>, nil]
|
84
91
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
85
92
|
|
86
|
-
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
93
|
+
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, lithic_managed:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
87
94
|
# Some parameter documentations has been truncated, see
|
88
95
|
# {Lithic::Models::AuthRules::V2CreateResponse} for more details.
|
89
96
|
#
|
@@ -101,6 +108,8 @@ module Lithic
|
|
101
108
|
#
|
102
109
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::V2CreateResponse::EventStream] The event stream during which the rule will be evaluated.
|
103
110
|
#
|
111
|
+
# @param lithic_managed [Boolean] Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
112
|
+
#
|
104
113
|
# @param name [String, nil] Auth Rule Name
|
105
114
|
#
|
106
115
|
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
@@ -217,6 +226,8 @@ module Lithic
|
|
217
226
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
218
227
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
219
228
|
# fee on behalf of the cardholder.
|
229
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
230
|
+
# represents the amount of cash being withdrawn or advanced.
|
220
231
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
221
232
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
222
233
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -296,6 +307,8 @@ module Lithic
|
|
296
307
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
297
308
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
298
309
|
# fee on behalf of the cardholder.
|
310
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
311
|
+
# represents the amount of cash being withdrawn or advanced.
|
299
312
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
300
313
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
301
314
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -332,6 +345,7 @@ module Lithic
|
|
332
345
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
333
346
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
334
347
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
348
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
335
349
|
RISK_SCORE = :RISK_SCORE
|
336
350
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
337
351
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -501,6 +515,8 @@ module Lithic
|
|
501
515
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
502
516
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
503
517
|
# fee on behalf of the cardholder.
|
518
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
519
|
+
# represents the amount of cash being withdrawn or advanced.
|
504
520
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
505
521
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
506
522
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -580,6 +596,8 @@ module Lithic
|
|
580
596
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
581
597
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
582
598
|
# fee on behalf of the cardholder.
|
599
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
600
|
+
# represents the amount of cash being withdrawn or advanced.
|
583
601
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
584
602
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
585
603
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -616,6 +634,7 @@ module Lithic
|
|
616
634
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
617
635
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
618
636
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
637
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
619
638
|
RISK_SCORE = :RISK_SCORE
|
620
639
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
621
640
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -93,6 +93,8 @@ module Lithic
|
|
93
93
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
94
94
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
95
95
|
# fee on behalf of the cardholder.
|
96
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
97
|
+
# represents the amount of cash being withdrawn or advanced.
|
96
98
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
97
99
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
98
100
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -172,6 +174,8 @@ module Lithic
|
|
172
174
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
173
175
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
174
176
|
# fee on behalf of the cardholder.
|
177
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
178
|
+
# represents the amount of cash being withdrawn or advanced.
|
175
179
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
176
180
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
177
181
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -208,6 +212,7 @@ module Lithic
|
|
208
212
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
209
213
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
210
214
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
215
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
211
216
|
RISK_SCORE = :RISK_SCORE
|
212
217
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
213
218
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -45,6 +45,13 @@ module Lithic
|
|
45
45
|
# @return [Symbol, Lithic::Models::AuthRules::V2DraftResponse::EventStream]
|
46
46
|
required :event_stream, enum: -> { Lithic::Models::AuthRules::V2DraftResponse::EventStream }
|
47
47
|
|
48
|
+
# @!attribute lithic_managed
|
49
|
+
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
50
|
+
# be modified or deleted by the user
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
required :lithic_managed, Lithic::Internal::Type::Boolean
|
54
|
+
|
48
55
|
# @!attribute name
|
49
56
|
# Auth Rule Name
|
50
57
|
#
|
@@ -83,7 +90,7 @@ module Lithic
|
|
83
90
|
# @return [Array<String>, nil]
|
84
91
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
85
92
|
|
86
|
-
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
93
|
+
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, lithic_managed:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
87
94
|
# Some parameter documentations has been truncated, see
|
88
95
|
# {Lithic::Models::AuthRules::V2DraftResponse} for more details.
|
89
96
|
#
|
@@ -101,6 +108,8 @@ module Lithic
|
|
101
108
|
#
|
102
109
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::V2DraftResponse::EventStream] The event stream during which the rule will be evaluated.
|
103
110
|
#
|
111
|
+
# @param lithic_managed [Boolean] Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
112
|
+
#
|
104
113
|
# @param name [String, nil] Auth Rule Name
|
105
114
|
#
|
106
115
|
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
@@ -216,6 +225,8 @@ module Lithic
|
|
216
225
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
217
226
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
218
227
|
# fee on behalf of the cardholder.
|
228
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
229
|
+
# represents the amount of cash being withdrawn or advanced.
|
219
230
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
220
231
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
221
232
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -295,6 +306,8 @@ module Lithic
|
|
295
306
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
296
307
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
297
308
|
# fee on behalf of the cardholder.
|
309
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
310
|
+
# represents the amount of cash being withdrawn or advanced.
|
298
311
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
299
312
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
300
313
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -331,6 +344,7 @@ module Lithic
|
|
331
344
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
332
345
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
333
346
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
347
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
334
348
|
RISK_SCORE = :RISK_SCORE
|
335
349
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
336
350
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -500,6 +514,8 @@ module Lithic
|
|
500
514
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
501
515
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
502
516
|
# fee on behalf of the cardholder.
|
517
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
518
|
+
# represents the amount of cash being withdrawn or advanced.
|
503
519
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
504
520
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
505
521
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -579,6 +595,8 @@ module Lithic
|
|
579
595
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
580
596
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
581
597
|
# fee on behalf of the cardholder.
|
598
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
599
|
+
# represents the amount of cash being withdrawn or advanced.
|
582
600
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
583
601
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
584
602
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -615,6 +633,7 @@ module Lithic
|
|
615
633
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
616
634
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
617
635
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
636
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
618
637
|
RISK_SCORE = :RISK_SCORE
|
619
638
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
620
639
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -45,6 +45,13 @@ module Lithic
|
|
45
45
|
# @return [Symbol, Lithic::Models::AuthRules::V2ListResponse::EventStream]
|
46
46
|
required :event_stream, enum: -> { Lithic::Models::AuthRules::V2ListResponse::EventStream }
|
47
47
|
|
48
|
+
# @!attribute lithic_managed
|
49
|
+
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
50
|
+
# be modified or deleted by the user
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
required :lithic_managed, Lithic::Internal::Type::Boolean
|
54
|
+
|
48
55
|
# @!attribute name
|
49
56
|
# Auth Rule Name
|
50
57
|
#
|
@@ -83,7 +90,7 @@ module Lithic
|
|
83
90
|
# @return [Array<String>, nil]
|
84
91
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
85
92
|
|
86
|
-
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
93
|
+
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, lithic_managed:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
87
94
|
# Some parameter documentations has been truncated, see
|
88
95
|
# {Lithic::Models::AuthRules::V2ListResponse} for more details.
|
89
96
|
#
|
@@ -101,6 +108,8 @@ module Lithic
|
|
101
108
|
#
|
102
109
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::V2ListResponse::EventStream] The event stream during which the rule will be evaluated.
|
103
110
|
#
|
111
|
+
# @param lithic_managed [Boolean] Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
112
|
+
#
|
104
113
|
# @param name [String, nil] Auth Rule Name
|
105
114
|
#
|
106
115
|
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
@@ -216,6 +225,8 @@ module Lithic
|
|
216
225
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
217
226
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
218
227
|
# fee on behalf of the cardholder.
|
228
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
229
|
+
# represents the amount of cash being withdrawn or advanced.
|
219
230
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
220
231
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
221
232
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -295,6 +306,8 @@ module Lithic
|
|
295
306
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
296
307
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
297
308
|
# fee on behalf of the cardholder.
|
309
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
310
|
+
# represents the amount of cash being withdrawn or advanced.
|
298
311
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
299
312
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
300
313
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -331,6 +344,7 @@ module Lithic
|
|
331
344
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
332
345
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
333
346
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
347
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
334
348
|
RISK_SCORE = :RISK_SCORE
|
335
349
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
336
350
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -500,6 +514,8 @@ module Lithic
|
|
500
514
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
501
515
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
502
516
|
# fee on behalf of the cardholder.
|
517
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
518
|
+
# represents the amount of cash being withdrawn or advanced.
|
503
519
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
504
520
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
505
521
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -579,6 +595,8 @@ module Lithic
|
|
579
595
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
580
596
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
581
597
|
# fee on behalf of the cardholder.
|
598
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
599
|
+
# represents the amount of cash being withdrawn or advanced.
|
582
600
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
583
601
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
584
602
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -615,6 +633,7 @@ module Lithic
|
|
615
633
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
616
634
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
617
635
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
636
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
618
637
|
RISK_SCORE = :RISK_SCORE
|
619
638
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
620
639
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -45,6 +45,13 @@ module Lithic
|
|
45
45
|
# @return [Symbol, Lithic::Models::AuthRules::V2PromoteResponse::EventStream]
|
46
46
|
required :event_stream, enum: -> { Lithic::Models::AuthRules::V2PromoteResponse::EventStream }
|
47
47
|
|
48
|
+
# @!attribute lithic_managed
|
49
|
+
# Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
50
|
+
# be modified or deleted by the user
|
51
|
+
#
|
52
|
+
# @return [Boolean]
|
53
|
+
required :lithic_managed, Lithic::Internal::Type::Boolean
|
54
|
+
|
48
55
|
# @!attribute name
|
49
56
|
# Auth Rule Name
|
50
57
|
#
|
@@ -83,7 +90,7 @@ module Lithic
|
|
83
90
|
# @return [Array<String>, nil]
|
84
91
|
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
|
85
92
|
|
86
|
-
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
93
|
+
# @!method initialize(token:, account_tokens:, business_account_tokens:, card_tokens:, current_version:, draft_version:, event_stream:, lithic_managed:, name:, program_level:, state:, type:, excluded_card_tokens: nil)
|
87
94
|
# Some parameter documentations has been truncated, see
|
88
95
|
# {Lithic::Models::AuthRules::V2PromoteResponse} for more details.
|
89
96
|
#
|
@@ -101,6 +108,8 @@ module Lithic
|
|
101
108
|
#
|
102
109
|
# @param event_stream [Symbol, Lithic::Models::AuthRules::V2PromoteResponse::EventStream] The event stream during which the rule will be evaluated.
|
103
110
|
#
|
111
|
+
# @param lithic_managed [Boolean] Indicates whether this auth rule is managed by Lithic. If true, the rule cannot
|
112
|
+
#
|
104
113
|
# @param name [String, nil] Auth Rule Name
|
105
114
|
#
|
106
115
|
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
|
@@ -217,6 +226,8 @@ module Lithic
|
|
217
226
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
218
227
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
219
228
|
# fee on behalf of the cardholder.
|
229
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
230
|
+
# represents the amount of cash being withdrawn or advanced.
|
220
231
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
221
232
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
222
233
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -296,6 +307,8 @@ module Lithic
|
|
296
307
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
297
308
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
298
309
|
# fee on behalf of the cardholder.
|
310
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
311
|
+
# represents the amount of cash being withdrawn or advanced.
|
299
312
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
300
313
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
301
314
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -332,6 +345,7 @@ module Lithic
|
|
332
345
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
333
346
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
334
347
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
348
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
335
349
|
RISK_SCORE = :RISK_SCORE
|
336
350
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
337
351
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -501,6 +515,8 @@ module Lithic
|
|
501
515
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
502
516
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
503
517
|
# fee on behalf of the cardholder.
|
518
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
519
|
+
# represents the amount of cash being withdrawn or advanced.
|
504
520
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
505
521
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
506
522
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -580,6 +596,8 @@ module Lithic
|
|
580
596
|
# fee field in the settlement/cardholder billing currency. This is the amount
|
581
597
|
# the issuer should authorize against unless the issuer is paying the acquirer
|
582
598
|
# fee on behalf of the cardholder.
|
599
|
+
# - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
|
600
|
+
# represents the amount of cash being withdrawn or advanced.
|
583
601
|
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
584
602
|
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
585
603
|
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
@@ -616,6 +634,7 @@ module Lithic
|
|
616
634
|
LIABILITY_SHIFT = :LIABILITY_SHIFT
|
617
635
|
PAN_ENTRY_MODE = :PAN_ENTRY_MODE
|
618
636
|
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
637
|
+
CASH_AMOUNT = :CASH_AMOUNT
|
619
638
|
RISK_SCORE = :RISK_SCORE
|
620
639
|
CARD_TRANSACTION_COUNT_15_M = :CARD_TRANSACTION_COUNT_15M
|
621
640
|
CARD_TRANSACTION_COUNT_1_H = :CARD_TRANSACTION_COUNT_1H
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Lithic
|
4
|
+
module Models
|
5
|
+
module AuthRules
|
6
|
+
# @see Lithic::Resources::AuthRules::V2#retrieve_features
|
7
|
+
class V2RetrieveFeaturesParams < Lithic::Internal::Type::BaseModel
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
10
|
+
|
11
|
+
# @!attribute account_token
|
12
|
+
#
|
13
|
+
# @return [String, nil]
|
14
|
+
optional :account_token, String
|
15
|
+
|
16
|
+
# @!attribute card_token
|
17
|
+
#
|
18
|
+
# @return [String, nil]
|
19
|
+
optional :card_token, String
|
20
|
+
|
21
|
+
# @!method initialize(account_token: nil, card_token: nil, request_options: {})
|
22
|
+
# @param account_token [String]
|
23
|
+
# @param card_token [String]
|
24
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|