lithic 0.1.0.pre.alpha.30 → 0.1.0.pre.alpha.32
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 +28 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +8 -9
- data/lib/lithic/models/account.rb +10 -10
- data/lib/lithic/models/account_update_params.rb +5 -4
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +100 -28
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_create_params.rb +205 -6
- data/lib/lithic/models/auth_rules/v2_create_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +186 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_list_params.rb +27 -8
- data/lib/lithic/models/auth_rules/v2_list_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_update_response.rb +401 -10
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +3 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +20 -0
- data/lib/lithic/models/funding_event_list_response.rb +26 -22
- data/lib/lithic/models/funding_event_retrieve_response.rb +26 -22
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/payment.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +4 -2
- data/lib/lithic/models/transaction.rb +3 -1
- data/lib/lithic/models/verification_method.rb +1 -0
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +12 -13
- data/lib/lithic/resources/auth_rules/v2.rb +43 -39
- data/lib/lithic/resources/financial_accounts.rb +24 -0
- data/lib/lithic/resources/three_ds/authentication.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lithic/internal/util.rbi +2 -0
- data/rbi/lithic/models/account.rbi +15 -15
- data/rbi/lithic/models/account_update_params.rbi +8 -6
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +186 -24
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +442 -8
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +414 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +60 -7
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +7 -0
- data/rbi/lithic/models/financial_account.rbi +2 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +38 -0
- data/rbi/lithic/models/funding_event_list_response.rbi +35 -28
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +35 -28
- data/rbi/lithic/models/instance_financial_account_type.rbi +2 -0
- data/rbi/lithic/models/payment.rbi +3 -3
- data/rbi/lithic/models/required_document.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +6 -2
- data/rbi/lithic/models/transaction.rbi +9 -2
- data/rbi/lithic/models/verification_method.rbi +1 -0
- data/rbi/lithic/models.rbi +3 -0
- data/rbi/lithic/resources/accounts.rbi +2 -2
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +12 -13
- data/rbi/lithic/resources/auth_rules/v2.rbi +49 -38
- data/rbi/lithic/resources/financial_accounts.rbi +16 -0
- data/rbi/lithic/resources/three_ds/authentication.rbi +3 -1
- data/sig/lithic/models/account_update_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +66 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +135 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +129 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +2 -1
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +23 -0
- data/sig/lithic/models/funding_event_list_response.rbs +18 -11
- data/sig/lithic/models/funding_event_retrieve_response.rbs +18 -11
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +3 -1
- data/sig/lithic/models/verification_method.rbs +7 -1
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
- data/sig/lithic/resources/financial_accounts.rbs +6 -0
- metadata +5 -2
@@ -12,14 +12,14 @@ module Lithic
|
|
12
12
|
T.any(Lithic::AuthRules::V2ListParams, Lithic::Internal::AnyHash)
|
13
13
|
end
|
14
14
|
|
15
|
-
# Only return
|
15
|
+
# Only return Auth Rules that are bound to the provided account token.
|
16
16
|
sig { returns(T.nilable(String)) }
|
17
17
|
attr_reader :account_token
|
18
18
|
|
19
19
|
sig { params(account_token: String).void }
|
20
20
|
attr_writer :account_token
|
21
21
|
|
22
|
-
# Only return
|
22
|
+
# Only return Auth Rules that are bound to the provided card token.
|
23
23
|
sig { returns(T.nilable(String)) }
|
24
24
|
attr_reader :card_token
|
25
25
|
|
@@ -34,6 +34,21 @@ module Lithic
|
|
34
34
|
sig { params(ending_before: String).void }
|
35
35
|
attr_writer :ending_before
|
36
36
|
|
37
|
+
# Only return Auth rules that are executed during the provided event stream.
|
38
|
+
sig do
|
39
|
+
returns(
|
40
|
+
T.nilable(Lithic::AuthRules::V2ListParams::EventStream::OrSymbol)
|
41
|
+
)
|
42
|
+
end
|
43
|
+
attr_reader :event_stream
|
44
|
+
|
45
|
+
sig do
|
46
|
+
params(
|
47
|
+
event_stream: Lithic::AuthRules::V2ListParams::EventStream::OrSymbol
|
48
|
+
).void
|
49
|
+
end
|
50
|
+
attr_writer :event_stream
|
51
|
+
|
37
52
|
# Page size (for pagination).
|
38
53
|
sig { returns(T.nilable(Integer)) }
|
39
54
|
attr_reader :page_size
|
@@ -41,7 +56,7 @@ module Lithic
|
|
41
56
|
sig { params(page_size: Integer).void }
|
42
57
|
attr_writer :page_size
|
43
58
|
|
44
|
-
# Only return
|
59
|
+
# Only return Auth Rules that are bound to the provided scope.
|
45
60
|
sig do
|
46
61
|
returns(T.nilable(Lithic::AuthRules::V2ListParams::Scope::OrSymbol))
|
47
62
|
end
|
@@ -65,6 +80,8 @@ module Lithic
|
|
65
80
|
account_token: String,
|
66
81
|
card_token: String,
|
67
82
|
ending_before: String,
|
83
|
+
event_stream:
|
84
|
+
Lithic::AuthRules::V2ListParams::EventStream::OrSymbol,
|
68
85
|
page_size: Integer,
|
69
86
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
70
87
|
starting_after: String,
|
@@ -72,16 +89,18 @@ module Lithic
|
|
72
89
|
).returns(T.attached_class)
|
73
90
|
end
|
74
91
|
def self.new(
|
75
|
-
# Only return
|
92
|
+
# Only return Auth Rules that are bound to the provided account token.
|
76
93
|
account_token: nil,
|
77
|
-
# Only return
|
94
|
+
# Only return Auth Rules that are bound to the provided card token.
|
78
95
|
card_token: nil,
|
79
96
|
# A cursor representing an item's token before which a page of results should end.
|
80
97
|
# Used to retrieve the previous page of results before this item.
|
81
98
|
ending_before: nil,
|
99
|
+
# Only return Auth rules that are executed during the provided event stream.
|
100
|
+
event_stream: nil,
|
82
101
|
# Page size (for pagination).
|
83
102
|
page_size: nil,
|
84
|
-
# Only return
|
103
|
+
# Only return Auth Rules that are bound to the provided scope.
|
85
104
|
scope: nil,
|
86
105
|
# A cursor representing an item's token after which a page of results should
|
87
106
|
# begin. Used to retrieve the next page of results after this item.
|
@@ -96,6 +115,8 @@ module Lithic
|
|
96
115
|
account_token: String,
|
97
116
|
card_token: String,
|
98
117
|
ending_before: String,
|
118
|
+
event_stream:
|
119
|
+
Lithic::AuthRules::V2ListParams::EventStream::OrSymbol,
|
99
120
|
page_size: Integer,
|
100
121
|
scope: Lithic::AuthRules::V2ListParams::Scope::OrSymbol,
|
101
122
|
starting_after: String,
|
@@ -106,7 +127,39 @@ module Lithic
|
|
106
127
|
def to_hash
|
107
128
|
end
|
108
129
|
|
109
|
-
# Only return
|
130
|
+
# Only return Auth rules that are executed during the provided event stream.
|
131
|
+
module EventStream
|
132
|
+
extend Lithic::Internal::Type::Enum
|
133
|
+
|
134
|
+
TaggedSymbol =
|
135
|
+
T.type_alias do
|
136
|
+
T.all(Symbol, Lithic::AuthRules::V2ListParams::EventStream)
|
137
|
+
end
|
138
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
139
|
+
|
140
|
+
AUTHORIZATION =
|
141
|
+
T.let(
|
142
|
+
:AUTHORIZATION,
|
143
|
+
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
144
|
+
)
|
145
|
+
THREE_DS_AUTHENTICATION =
|
146
|
+
T.let(
|
147
|
+
:THREE_DS_AUTHENTICATION,
|
148
|
+
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
149
|
+
)
|
150
|
+
|
151
|
+
sig do
|
152
|
+
override.returns(
|
153
|
+
T::Array[
|
154
|
+
Lithic::AuthRules::V2ListParams::EventStream::TaggedSymbol
|
155
|
+
]
|
156
|
+
)
|
157
|
+
end
|
158
|
+
def self.values
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# Only return Auth Rules that are bound to the provided scope.
|
110
163
|
module Scope
|
111
164
|
extend Lithic::Internal::Type::Enum
|
112
165
|
|