lithic 0.1.0.pre.alpha.26 → 0.1.0.pre.alpha.27
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 +20 -0
- data/README.md +94 -54
- data/lib/lithic/internal/type/array_of.rb +8 -0
- data/lib/lithic/internal/type/base_model.rb +15 -0
- data/lib/lithic/internal/type/boolean.rb +8 -0
- data/lib/lithic/internal/type/enum.rb +12 -0
- data/lib/lithic/internal/type/file_input.rb +7 -0
- data/lib/lithic/internal/type/hash_of.rb +8 -0
- data/lib/lithic/internal/type/union.rb +12 -0
- data/lib/lithic/internal/type/unknown.rb +8 -0
- data/lib/lithic/internal/util.rb +45 -0
- data/lib/lithic/internal.rb +3 -0
- data/lib/lithic/models/account_holder_update_response.rb +0 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +0 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_create_params.rb +0 -10
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +0 -10
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -20
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -20
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +0 -4
- data/lib/lithic/models.rb +30 -19
- data/lib/lithic/version.rb +1 -1
- data/rbi/lithic/internal/type/array_of.rbi +6 -0
- data/rbi/lithic/internal/type/base_model.rbi +5 -0
- data/rbi/lithic/internal/type/boolean.rbi +6 -0
- data/rbi/lithic/internal/type/enum.rbi +5 -0
- data/rbi/lithic/internal/type/file_input.rbi +5 -0
- data/rbi/lithic/internal/type/hash_of.rbi +6 -0
- data/rbi/lithic/internal/type/union.rbi +5 -0
- data/rbi/lithic/internal/type/unknown.rbi +6 -0
- data/rbi/lithic/internal/util.rbi +31 -0
- data/rbi/lithic/internal.rbi +3 -0
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -20
- data/rbi/lithic/resources/account_holders.rbi +1 -6
- data/sig/lithic/internal/type/array_of.rbs +3 -0
- data/sig/lithic/internal/type/base_model.rbs +2 -0
- data/sig/lithic/internal/type/boolean.rbs +3 -0
- data/sig/lithic/internal/type/enum.rbs +2 -0
- data/sig/lithic/internal/type/file_input.rbs +2 -0
- data/sig/lithic/internal/type/hash_of.rbs +3 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/internal/type/unknown.rbs +3 -0
- data/sig/lithic/internal/util.rbs +12 -0
- data/sig/lithic/internal.rbs +2 -0
- metadata +2 -2
@@ -180,16 +180,6 @@ module Lithic
|
|
180
180
|
|
181
181
|
# @!method self.variants
|
182
182
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
183
|
-
|
184
|
-
define_sorbet_constant!(:Variants) do
|
185
|
-
T.type_alias do
|
186
|
-
T.any(
|
187
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
188
|
-
Lithic::AuthRules::VelocityLimitParams,
|
189
|
-
Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::MerchantLockParameters
|
190
|
-
)
|
191
|
-
end
|
192
|
-
end
|
193
183
|
end
|
194
184
|
end
|
195
185
|
|
@@ -289,16 +279,6 @@ module Lithic
|
|
289
279
|
|
290
280
|
# @!method self.variants
|
291
281
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
292
|
-
|
293
|
-
define_sorbet_constant!(:Variants) do
|
294
|
-
T.type_alias do
|
295
|
-
T.any(
|
296
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
297
|
-
Lithic::AuthRules::VelocityLimitParams,
|
298
|
-
Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::MerchantLockParameters
|
299
|
-
)
|
300
|
-
end
|
301
|
-
end
|
302
282
|
end
|
303
283
|
end
|
304
284
|
|
@@ -180,16 +180,6 @@ module Lithic
|
|
180
180
|
|
181
181
|
# @!method self.variants
|
182
182
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
183
|
-
|
184
|
-
define_sorbet_constant!(:Variants) do
|
185
|
-
T.type_alias do
|
186
|
-
T.any(
|
187
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
188
|
-
Lithic::AuthRules::VelocityLimitParams,
|
189
|
-
Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters
|
190
|
-
)
|
191
|
-
end
|
192
|
-
end
|
193
183
|
end
|
194
184
|
end
|
195
185
|
|
@@ -289,16 +279,6 @@ module Lithic
|
|
289
279
|
|
290
280
|
# @!method self.variants
|
291
281
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
292
|
-
|
293
|
-
define_sorbet_constant!(:Variants) do
|
294
|
-
T.type_alias do
|
295
|
-
T.any(
|
296
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
297
|
-
Lithic::AuthRules::VelocityLimitParams,
|
298
|
-
Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters
|
299
|
-
)
|
300
|
-
end
|
301
|
-
end
|
302
282
|
end
|
303
283
|
end
|
304
284
|
|
@@ -181,16 +181,6 @@ module Lithic
|
|
181
181
|
|
182
182
|
# @!method self.variants
|
183
183
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
184
|
-
|
185
|
-
define_sorbet_constant!(:Variants) do
|
186
|
-
T.type_alias do
|
187
|
-
T.any(
|
188
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
189
|
-
Lithic::AuthRules::VelocityLimitParams,
|
190
|
-
Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters
|
191
|
-
)
|
192
|
-
end
|
193
|
-
end
|
194
184
|
end
|
195
185
|
end
|
196
186
|
|
@@ -290,16 +280,6 @@ module Lithic
|
|
290
280
|
|
291
281
|
# @!method self.variants
|
292
282
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
293
|
-
|
294
|
-
define_sorbet_constant!(:Variants) do
|
295
|
-
T.type_alias do
|
296
|
-
T.any(
|
297
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
298
|
-
Lithic::AuthRules::VelocityLimitParams,
|
299
|
-
Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters
|
300
|
-
)
|
301
|
-
end
|
302
|
-
end
|
303
283
|
end
|
304
284
|
end
|
305
285
|
|
@@ -188,16 +188,6 @@ module Lithic
|
|
188
188
|
|
189
189
|
# @!method self.variants
|
190
190
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
191
|
-
|
192
|
-
define_sorbet_constant!(:Variants) do
|
193
|
-
T.type_alias do
|
194
|
-
T.any(
|
195
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
196
|
-
Lithic::AuthRules::VelocityLimitParams,
|
197
|
-
Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::MerchantLockParameters
|
198
|
-
)
|
199
|
-
end
|
200
|
-
end
|
201
191
|
end
|
202
192
|
end
|
203
193
|
|
@@ -298,16 +288,6 @@ module Lithic
|
|
298
288
|
|
299
289
|
# @!method self.variants
|
300
290
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
301
|
-
|
302
|
-
define_sorbet_constant!(:Variants) do
|
303
|
-
T.type_alias do
|
304
|
-
T.any(
|
305
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
306
|
-
Lithic::AuthRules::VelocityLimitParams,
|
307
|
-
Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::MerchantLockParameters
|
308
|
-
)
|
309
|
-
end
|
310
|
-
end
|
311
291
|
end
|
312
292
|
end
|
313
293
|
|
@@ -181,16 +181,6 @@ module Lithic
|
|
181
181
|
|
182
182
|
# @!method self.variants
|
183
183
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
184
|
-
|
185
|
-
define_sorbet_constant!(:Variants) do
|
186
|
-
T.type_alias do
|
187
|
-
T.any(
|
188
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
189
|
-
Lithic::AuthRules::VelocityLimitParams,
|
190
|
-
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
191
|
-
)
|
192
|
-
end
|
193
|
-
end
|
194
184
|
end
|
195
185
|
end
|
196
186
|
|
@@ -290,16 +280,6 @@ module Lithic
|
|
290
280
|
|
291
281
|
# @!method self.variants
|
292
282
|
# @return [Array(Lithic::AuthRules::ConditionalBlockParameters, Lithic::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
293
|
-
|
294
|
-
define_sorbet_constant!(:Variants) do
|
295
|
-
T.type_alias do
|
296
|
-
T.any(
|
297
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
298
|
-
Lithic::AuthRules::VelocityLimitParams,
|
299
|
-
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters
|
300
|
-
)
|
301
|
-
end
|
302
|
-
end
|
303
283
|
end
|
304
284
|
end
|
305
285
|
|
@@ -117,10 +117,6 @@ module Lithic
|
|
117
117
|
|
118
118
|
# @!method self.variants
|
119
119
|
# @return [Array(Integer, Symbol, Lithic::AuthRules::VelocityLimitParamsPeriodWindow)]
|
120
|
-
|
121
|
-
define_sorbet_constant!(:Variants) do
|
122
|
-
T.type_alias { T.any(Integer, Lithic::AuthRules::VelocityLimitParamsPeriodWindow::TaggedSymbol) }
|
123
|
-
end
|
124
120
|
end
|
125
121
|
|
126
122
|
# @see Lithic::AuthRules::VelocityLimitParams#scope
|
data/lib/lithic/models.rb
CHANGED
@@ -5,29 +5,40 @@ module Lithic
|
|
5
5
|
cls.define_sorbet_constant!(:OrHash) { T.type_alias { T.any(cls, Lithic::Internal::AnyHash) } }
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
8
|
+
Lithic::Internal::Util.walk_namespaces(Lithic::Models).each do |mod|
|
9
|
+
case mod
|
10
|
+
in Lithic::Internal::Type::Enum | Lithic::Internal::Type::Union
|
11
|
+
mod.constants.each do |name|
|
12
|
+
case mod.const_get(name)
|
13
|
+
in true | false
|
14
|
+
mod.define_sorbet_constant!(:TaggedBoolean) { T.type_alias { T.all(T::Boolean, mod) } }
|
15
|
+
mod.define_sorbet_constant!(:OrBoolean) { T.type_alias { T::Boolean } }
|
16
|
+
in Integer
|
17
|
+
mod.define_sorbet_constant!(:TaggedInteger) { T.type_alias { T.all(Integer, mod) } }
|
18
|
+
mod.define_sorbet_constant!(:OrInteger) { T.type_alias { Integer } }
|
19
|
+
in Float
|
20
|
+
mod.define_sorbet_constant!(:TaggedFloat) { T.type_alias { T.all(Float, mod) } }
|
21
|
+
mod.define_sorbet_constant!(:OrFloat) { T.type_alias { Float } }
|
22
|
+
in Symbol
|
23
|
+
mod.define_sorbet_constant!(:TaggedSymbol) { T.type_alias { T.all(Symbol, mod) } }
|
24
|
+
mod.define_sorbet_constant!(:OrSymbol) { T.type_alias { T.any(Symbol, String) } }
|
25
|
+
else
|
26
|
+
end
|
27
27
|
end
|
28
|
+
else
|
28
29
|
end
|
29
30
|
end
|
30
31
|
|
32
|
+
Lithic::Internal::Util.walk_namespaces(Lithic::Models)
|
33
|
+
.lazy
|
34
|
+
.grep(Lithic::Internal::Type::Union)
|
35
|
+
.each do |mod|
|
36
|
+
const = :Variants
|
37
|
+
next if mod.sorbet_constant_defined?(const)
|
38
|
+
|
39
|
+
mod.define_sorbet_constant!(const) { T.type_alias { mod.to_sorbet_type } }
|
40
|
+
end
|
41
|
+
|
31
42
|
Account = Lithic::Models::Account
|
32
43
|
|
33
44
|
AccountFinancialAccountType = Lithic::Models::AccountFinancialAccountType
|
data/lib/lithic/version.rb
CHANGED
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Array of items of a given type.
|
9
9
|
class ArrayOf
|
10
10
|
include Lithic::Internal::Type::Converter
|
11
|
+
include Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -63,6 +64,11 @@ module Lithic
|
|
63
64
|
def dump(value, state:)
|
64
65
|
end
|
65
66
|
|
67
|
+
# @api private
|
68
|
+
sig { returns(T.anything) }
|
69
|
+
def to_sorbet_type
|
70
|
+
end
|
71
|
+
|
66
72
|
# @api private
|
67
73
|
sig { returns(Elem) }
|
68
74
|
protected def item_type
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Ruby has no Boolean class; this is something for models to refer to.
|
9
9
|
class Boolean
|
10
10
|
extend Lithic::Internal::Type::Converter
|
11
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -43,6 +44,11 @@ module Lithic
|
|
43
44
|
end
|
44
45
|
def dump(value, state:)
|
45
46
|
end
|
47
|
+
|
48
|
+
# @api private
|
49
|
+
sig { returns(T.anything) }
|
50
|
+
def to_sorbet_type
|
51
|
+
end
|
46
52
|
end
|
47
53
|
end
|
48
54
|
end
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Hash of items of a given type.
|
9
9
|
class HashOf
|
10
10
|
include Lithic::Internal::Type::Converter
|
11
|
+
include Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -63,6 +64,11 @@ module Lithic
|
|
63
64
|
def dump(value, state:)
|
64
65
|
end
|
65
66
|
|
67
|
+
# @api private
|
68
|
+
sig { returns(T.anything) }
|
69
|
+
def to_sorbet_type
|
70
|
+
end
|
71
|
+
|
66
72
|
# @api private
|
67
73
|
sig { returns(Elem) }
|
68
74
|
protected def item_type
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# When we don't know what to expect for the value.
|
9
9
|
class Unknown
|
10
10
|
extend Lithic::Internal::Type::Converter
|
11
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -43,6 +44,11 @@ module Lithic
|
|
43
44
|
end
|
44
45
|
def dump(value, state:)
|
45
46
|
end
|
47
|
+
|
48
|
+
# @api private
|
49
|
+
sig { returns(T.anything) }
|
50
|
+
def to_sorbet_type
|
51
|
+
end
|
46
52
|
end
|
47
53
|
end
|
48
54
|
end
|
@@ -11,6 +11,15 @@ module Lithic
|
|
11
11
|
def self.monotonic_secs
|
12
12
|
end
|
13
13
|
|
14
|
+
# @api private
|
15
|
+
sig do
|
16
|
+
params(ns: T.any(Module, T::Class[T.anything])).returns(
|
17
|
+
T::Enumerable[T.any(Module, T::Class[T.anything])]
|
18
|
+
)
|
19
|
+
end
|
20
|
+
def self.walk_namespaces(ns)
|
21
|
+
end
|
22
|
+
|
14
23
|
class << self
|
15
24
|
# @api private
|
16
25
|
sig { returns(String) }
|
@@ -441,10 +450,32 @@ module Lithic
|
|
441
450
|
def const_missing(name)
|
442
451
|
end
|
443
452
|
|
453
|
+
# @api private
|
454
|
+
sig { params(name: Symbol).returns(T::Boolean) }
|
455
|
+
def sorbet_constant_defined?(name)
|
456
|
+
end
|
457
|
+
|
444
458
|
# @api private
|
445
459
|
sig { params(name: Symbol, blk: T.proc.returns(T.anything)).void }
|
446
460
|
def define_sorbet_constant!(name, &blk)
|
447
461
|
end
|
462
|
+
|
463
|
+
# @api private
|
464
|
+
sig { returns(T.anything) }
|
465
|
+
def to_sorbet_type
|
466
|
+
end
|
467
|
+
|
468
|
+
class << self
|
469
|
+
# @api private
|
470
|
+
sig do
|
471
|
+
params(
|
472
|
+
type:
|
473
|
+
T.any(Lithic::Internal::Util::SorbetRuntimeSupport, T.anything)
|
474
|
+
).returns(T.anything)
|
475
|
+
end
|
476
|
+
def to_sorbet_type(type)
|
477
|
+
end
|
478
|
+
end
|
448
479
|
end
|
449
480
|
end
|
450
481
|
end
|
data/rbi/lithic/internal.rbi
CHANGED
@@ -8,6 +8,9 @@ module Lithic
|
|
8
8
|
# this alias might be refined in the future.
|
9
9
|
AnyHash = T.type_alias { T::Hash[Symbol, T.anything] }
|
10
10
|
|
11
|
+
FileInput =
|
12
|
+
T.type_alias { T.any(Pathname, StringIO, IO, String, Lithic::FilePart) }
|
13
|
+
|
11
14
|
OMIT = T.let(Object.new.freeze, T.anything)
|
12
15
|
end
|
13
16
|
end
|
@@ -89,10 +89,18 @@ module Lithic
|
|
89
89
|
attr_writer :operation
|
90
90
|
|
91
91
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
92
|
-
sig
|
92
|
+
sig do
|
93
|
+
returns(
|
94
|
+
T.nilable(Lithic::AuthRules::AuthRuleCondition::Value::Variants)
|
95
|
+
)
|
96
|
+
end
|
93
97
|
attr_reader :value
|
94
98
|
|
95
|
-
sig
|
99
|
+
sig do
|
100
|
+
params(
|
101
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
102
|
+
).void
|
103
|
+
end
|
96
104
|
attr_writer :value
|
97
105
|
|
98
106
|
sig do
|
@@ -100,7 +108,7 @@ module Lithic
|
|
100
108
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
101
109
|
operation:
|
102
110
|
Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol,
|
103
|
-
value:
|
111
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
104
112
|
).returns(T.attached_class)
|
105
113
|
end
|
106
114
|
def self.new(
|
@@ -165,7 +173,7 @@ module Lithic
|
|
165
173
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
166
174
|
operation:
|
167
175
|
Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol,
|
168
|
-
value:
|
176
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
169
177
|
}
|
170
178
|
)
|
171
179
|
end
|
@@ -172,11 +172,7 @@ module Lithic
|
|
172
172
|
# Parameters for the Auth Rule
|
173
173
|
sig do
|
174
174
|
returns(
|
175
|
-
|
176
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
177
|
-
Lithic::AuthRules::VelocityLimitParams,
|
178
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters
|
179
|
-
)
|
175
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Variants
|
180
176
|
)
|
181
177
|
end
|
182
178
|
attr_accessor :parameters
|
@@ -210,11 +206,7 @@ module Lithic
|
|
210
206
|
override.returns(
|
211
207
|
{
|
212
208
|
parameters:
|
213
|
-
|
214
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
215
|
-
Lithic::AuthRules::VelocityLimitParams,
|
216
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters
|
217
|
-
),
|
209
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Variants,
|
218
210
|
version: Integer
|
219
211
|
}
|
220
212
|
)
|
@@ -377,11 +369,7 @@ module Lithic
|
|
377
369
|
# Parameters for the Auth Rule
|
378
370
|
sig do
|
379
371
|
returns(
|
380
|
-
|
381
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
382
|
-
Lithic::AuthRules::VelocityLimitParams,
|
383
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters
|
384
|
-
)
|
372
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Variants
|
385
373
|
)
|
386
374
|
end
|
387
375
|
attr_accessor :parameters
|
@@ -415,11 +403,7 @@ module Lithic
|
|
415
403
|
override.returns(
|
416
404
|
{
|
417
405
|
parameters:
|
418
|
-
|
419
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
420
|
-
Lithic::AuthRules::VelocityLimitParams,
|
421
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters
|
422
|
-
),
|
406
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Variants,
|
423
407
|
version: Integer
|
424
408
|
}
|
425
409
|
)
|
@@ -172,11 +172,7 @@ module Lithic
|
|
172
172
|
# Parameters for the Auth Rule
|
173
173
|
sig do
|
174
174
|
returns(
|
175
|
-
|
176
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
177
|
-
Lithic::AuthRules::VelocityLimitParams,
|
178
|
-
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
179
|
-
)
|
175
|
+
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::Variants
|
180
176
|
)
|
181
177
|
end
|
182
178
|
attr_accessor :parameters
|
@@ -210,11 +206,7 @@ module Lithic
|
|
210
206
|
override.returns(
|
211
207
|
{
|
212
208
|
parameters:
|
213
|
-
|
214
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
215
|
-
Lithic::AuthRules::VelocityLimitParams,
|
216
|
-
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
217
|
-
),
|
209
|
+
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::Variants,
|
218
210
|
version: Integer
|
219
211
|
}
|
220
212
|
)
|
@@ -377,11 +369,7 @@ module Lithic
|
|
377
369
|
# Parameters for the Auth Rule
|
378
370
|
sig do
|
379
371
|
returns(
|
380
|
-
|
381
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
382
|
-
Lithic::AuthRules::VelocityLimitParams,
|
383
|
-
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters
|
384
|
-
)
|
372
|
+
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::Variants
|
385
373
|
)
|
386
374
|
end
|
387
375
|
attr_accessor :parameters
|
@@ -415,11 +403,7 @@ module Lithic
|
|
415
403
|
override.returns(
|
416
404
|
{
|
417
405
|
parameters:
|
418
|
-
|
419
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
420
|
-
Lithic::AuthRules::VelocityLimitParams,
|
421
|
-
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters
|
422
|
-
),
|
406
|
+
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::Variants,
|
423
407
|
version: Integer
|
424
408
|
}
|
425
409
|
)
|
@@ -172,11 +172,7 @@ module Lithic
|
|
172
172
|
# Parameters for the Auth Rule
|
173
173
|
sig do
|
174
174
|
returns(
|
175
|
-
|
176
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
177
|
-
Lithic::AuthRules::VelocityLimitParams,
|
178
|
-
Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::MerchantLockParameters
|
179
|
-
)
|
175
|
+
Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::Variants
|
180
176
|
)
|
181
177
|
end
|
182
178
|
attr_accessor :parameters
|
@@ -210,11 +206,7 @@ module Lithic
|
|
210
206
|
override.returns(
|
211
207
|
{
|
212
208
|
parameters:
|
213
|
-
|
214
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
215
|
-
Lithic::AuthRules::VelocityLimitParams,
|
216
|
-
Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::MerchantLockParameters
|
217
|
-
),
|
209
|
+
Lithic::Models::AuthRules::V2DraftResponse::CurrentVersion::Parameters::Variants,
|
218
210
|
version: Integer
|
219
211
|
}
|
220
212
|
)
|
@@ -377,11 +369,7 @@ module Lithic
|
|
377
369
|
# Parameters for the Auth Rule
|
378
370
|
sig do
|
379
371
|
returns(
|
380
|
-
|
381
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
382
|
-
Lithic::AuthRules::VelocityLimitParams,
|
383
|
-
Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::MerchantLockParameters
|
384
|
-
)
|
372
|
+
Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::Variants
|
385
373
|
)
|
386
374
|
end
|
387
375
|
attr_accessor :parameters
|
@@ -415,11 +403,7 @@ module Lithic
|
|
415
403
|
override.returns(
|
416
404
|
{
|
417
405
|
parameters:
|
418
|
-
|
419
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
420
|
-
Lithic::AuthRules::VelocityLimitParams,
|
421
|
-
Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::MerchantLockParameters
|
422
|
-
),
|
406
|
+
Lithic::Models::AuthRules::V2DraftResponse::DraftVersion::Parameters::Variants,
|
423
407
|
version: Integer
|
424
408
|
}
|
425
409
|
)
|