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
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
card_tokens: ::Array[String],
|
9
9
|
current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
|
10
10
|
draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
|
11
|
+
event_stream: Lithic::Models::AuthRules::V2UpdateResponse::event_stream,
|
11
12
|
name: String?,
|
12
13
|
program_level: bool,
|
13
14
|
state: Lithic::Models::AuthRules::V2UpdateResponse::state,
|
@@ -26,6 +27,8 @@ module Lithic
|
|
26
27
|
|
27
28
|
attr_accessor draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?
|
28
29
|
|
30
|
+
attr_accessor event_stream: Lithic::Models::AuthRules::V2UpdateResponse::event_stream
|
31
|
+
|
29
32
|
attr_accessor name: String?
|
30
33
|
|
31
34
|
attr_accessor program_level: bool
|
@@ -44,6 +47,7 @@ module Lithic
|
|
44
47
|
card_tokens: ::Array[String],
|
45
48
|
current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
|
46
49
|
draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
|
50
|
+
event_stream: Lithic::Models::AuthRules::V2UpdateResponse::event_stream,
|
47
51
|
name: String?,
|
48
52
|
program_level: bool,
|
49
53
|
state: Lithic::Models::AuthRules::V2UpdateResponse::state,
|
@@ -57,6 +61,7 @@ module Lithic
|
|
57
61
|
card_tokens: ::Array[String],
|
58
62
|
current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
|
59
63
|
draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
|
64
|
+
event_stream: Lithic::Models::AuthRules::V2UpdateResponse::event_stream,
|
60
65
|
name: String?,
|
61
66
|
program_level: bool,
|
62
67
|
state: Lithic::Models::AuthRules::V2UpdateResponse::state,
|
@@ -89,6 +94,7 @@ module Lithic
|
|
89
94
|
Lithic::AuthRules::ConditionalBlockParameters
|
90
95
|
| Lithic::AuthRules::VelocityLimitParams
|
91
96
|
| Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
97
|
+
| Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters
|
92
98
|
|
93
99
|
module Parameters
|
94
100
|
extend Lithic::Internal::Type::Union
|
@@ -139,6 +145,134 @@ module Lithic
|
|
139
145
|
end
|
140
146
|
end
|
141
147
|
|
148
|
+
type conditional3_ds_action_parameters =
|
149
|
+
{
|
150
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
151
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
152
|
+
}
|
153
|
+
|
154
|
+
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
155
|
+
attr_accessor action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action
|
156
|
+
|
157
|
+
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
158
|
+
|
159
|
+
def initialize: (
|
160
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
161
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
162
|
+
) -> void
|
163
|
+
|
164
|
+
def to_hash: -> {
|
165
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action,
|
166
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition]
|
167
|
+
}
|
168
|
+
|
169
|
+
type action = :DECLINE | :CHALLENGE
|
170
|
+
|
171
|
+
module Action
|
172
|
+
extend Lithic::Internal::Type::Enum
|
173
|
+
|
174
|
+
DECLINE: :DECLINE
|
175
|
+
CHALLENGE: :CHALLENGE
|
176
|
+
|
177
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::action]
|
178
|
+
end
|
179
|
+
|
180
|
+
type condition =
|
181
|
+
{
|
182
|
+
attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
183
|
+
operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
184
|
+
value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
185
|
+
}
|
186
|
+
|
187
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
188
|
+
attr_reader attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute?
|
189
|
+
|
190
|
+
def attribute=: (
|
191
|
+
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
192
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
193
|
+
|
194
|
+
attr_reader operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation?
|
195
|
+
|
196
|
+
def operation=: (
|
197
|
+
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
198
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
199
|
+
|
200
|
+
attr_reader value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value?
|
201
|
+
|
202
|
+
def value=: (
|
203
|
+
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
204
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
205
|
+
|
206
|
+
def initialize: (
|
207
|
+
?attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
208
|
+
?operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
209
|
+
?value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
210
|
+
) -> void
|
211
|
+
|
212
|
+
def to_hash: -> {
|
213
|
+
attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
214
|
+
operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
215
|
+
value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
216
|
+
}
|
217
|
+
|
218
|
+
type attribute =
|
219
|
+
:MCC
|
220
|
+
| :COUNTRY
|
221
|
+
| :CURRENCY
|
222
|
+
| :MERCHANT_ID
|
223
|
+
| :DESCRIPTOR
|
224
|
+
| :TRANSACTION_AMOUNT
|
225
|
+
| :RISK_SCORE
|
226
|
+
| :MESSAGE_CATEGORY
|
227
|
+
|
228
|
+
module Attribute
|
229
|
+
extend Lithic::Internal::Type::Enum
|
230
|
+
|
231
|
+
MCC: :MCC
|
232
|
+
COUNTRY: :COUNTRY
|
233
|
+
CURRENCY: :CURRENCY
|
234
|
+
MERCHANT_ID: :MERCHANT_ID
|
235
|
+
DESCRIPTOR: :DESCRIPTOR
|
236
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
237
|
+
RISK_SCORE: :RISK_SCORE
|
238
|
+
MESSAGE_CATEGORY: :MESSAGE_CATEGORY
|
239
|
+
|
240
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::attribute]
|
241
|
+
end
|
242
|
+
|
243
|
+
type operation =
|
244
|
+
:IS_ONE_OF
|
245
|
+
| :IS_NOT_ONE_OF
|
246
|
+
| :MATCHES
|
247
|
+
| :DOES_NOT_MATCH
|
248
|
+
| :IS_GREATER_THAN
|
249
|
+
| :IS_LESS_THAN
|
250
|
+
|
251
|
+
module Operation
|
252
|
+
extend Lithic::Internal::Type::Enum
|
253
|
+
|
254
|
+
IS_ONE_OF: :IS_ONE_OF
|
255
|
+
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
256
|
+
MATCHES: :MATCHES
|
257
|
+
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
258
|
+
IS_GREATER_THAN: :IS_GREATER_THAN
|
259
|
+
IS_LESS_THAN: :IS_LESS_THAN
|
260
|
+
|
261
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::operation]
|
262
|
+
end
|
263
|
+
|
264
|
+
type value = String | Integer | ::Array[String]
|
265
|
+
|
266
|
+
module Value
|
267
|
+
extend Lithic::Internal::Type::Union
|
268
|
+
|
269
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::value]
|
270
|
+
|
271
|
+
StringArray: Lithic::Internal::Type::Converter
|
272
|
+
end
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
142
276
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::parameters]
|
143
277
|
end
|
144
278
|
end
|
@@ -168,6 +302,7 @@ module Lithic
|
|
168
302
|
Lithic::AuthRules::ConditionalBlockParameters
|
169
303
|
| Lithic::AuthRules::VelocityLimitParams
|
170
304
|
| Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters
|
305
|
+
| Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters
|
171
306
|
|
172
307
|
module Parameters
|
173
308
|
extend Lithic::Internal::Type::Union
|
@@ -218,10 +353,149 @@ module Lithic
|
|
218
353
|
end
|
219
354
|
end
|
220
355
|
|
356
|
+
type conditional3_ds_action_parameters =
|
357
|
+
{
|
358
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
359
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
360
|
+
}
|
361
|
+
|
362
|
+
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
363
|
+
attr_accessor action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action
|
364
|
+
|
365
|
+
attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
366
|
+
|
367
|
+
def initialize: (
|
368
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
369
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
370
|
+
) -> void
|
371
|
+
|
372
|
+
def to_hash: -> {
|
373
|
+
action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action,
|
374
|
+
conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition]
|
375
|
+
}
|
376
|
+
|
377
|
+
type action = :DECLINE | :CHALLENGE
|
378
|
+
|
379
|
+
module Action
|
380
|
+
extend Lithic::Internal::Type::Enum
|
381
|
+
|
382
|
+
DECLINE: :DECLINE
|
383
|
+
CHALLENGE: :CHALLENGE
|
384
|
+
|
385
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::action]
|
386
|
+
end
|
387
|
+
|
388
|
+
type condition =
|
389
|
+
{
|
390
|
+
attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
391
|
+
operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
392
|
+
value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
393
|
+
}
|
394
|
+
|
395
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
396
|
+
attr_reader attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute?
|
397
|
+
|
398
|
+
def attribute=: (
|
399
|
+
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
400
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute
|
401
|
+
|
402
|
+
attr_reader operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation?
|
403
|
+
|
404
|
+
def operation=: (
|
405
|
+
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
406
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation
|
407
|
+
|
408
|
+
attr_reader value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value?
|
409
|
+
|
410
|
+
def value=: (
|
411
|
+
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
412
|
+
) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
413
|
+
|
414
|
+
def initialize: (
|
415
|
+
?attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
416
|
+
?operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
417
|
+
?value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
418
|
+
) -> void
|
419
|
+
|
420
|
+
def to_hash: -> {
|
421
|
+
attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute,
|
422
|
+
operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation,
|
423
|
+
value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value
|
424
|
+
}
|
425
|
+
|
426
|
+
type attribute =
|
427
|
+
:MCC
|
428
|
+
| :COUNTRY
|
429
|
+
| :CURRENCY
|
430
|
+
| :MERCHANT_ID
|
431
|
+
| :DESCRIPTOR
|
432
|
+
| :TRANSACTION_AMOUNT
|
433
|
+
| :RISK_SCORE
|
434
|
+
| :MESSAGE_CATEGORY
|
435
|
+
|
436
|
+
module Attribute
|
437
|
+
extend Lithic::Internal::Type::Enum
|
438
|
+
|
439
|
+
MCC: :MCC
|
440
|
+
COUNTRY: :COUNTRY
|
441
|
+
CURRENCY: :CURRENCY
|
442
|
+
MERCHANT_ID: :MERCHANT_ID
|
443
|
+
DESCRIPTOR: :DESCRIPTOR
|
444
|
+
TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
|
445
|
+
RISK_SCORE: :RISK_SCORE
|
446
|
+
MESSAGE_CATEGORY: :MESSAGE_CATEGORY
|
447
|
+
|
448
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::attribute]
|
449
|
+
end
|
450
|
+
|
451
|
+
type operation =
|
452
|
+
:IS_ONE_OF
|
453
|
+
| :IS_NOT_ONE_OF
|
454
|
+
| :MATCHES
|
455
|
+
| :DOES_NOT_MATCH
|
456
|
+
| :IS_GREATER_THAN
|
457
|
+
| :IS_LESS_THAN
|
458
|
+
|
459
|
+
module Operation
|
460
|
+
extend Lithic::Internal::Type::Enum
|
461
|
+
|
462
|
+
IS_ONE_OF: :IS_ONE_OF
|
463
|
+
IS_NOT_ONE_OF: :IS_NOT_ONE_OF
|
464
|
+
MATCHES: :MATCHES
|
465
|
+
DOES_NOT_MATCH: :DOES_NOT_MATCH
|
466
|
+
IS_GREATER_THAN: :IS_GREATER_THAN
|
467
|
+
IS_LESS_THAN: :IS_LESS_THAN
|
468
|
+
|
469
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::operation]
|
470
|
+
end
|
471
|
+
|
472
|
+
type value = String | Integer | ::Array[String]
|
473
|
+
|
474
|
+
module Value
|
475
|
+
extend Lithic::Internal::Type::Union
|
476
|
+
|
477
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::value]
|
478
|
+
|
479
|
+
StringArray: Lithic::Internal::Type::Converter
|
480
|
+
end
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
221
484
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::parameters]
|
222
485
|
end
|
223
486
|
end
|
224
487
|
|
488
|
+
type event_stream = :AUTHORIZATION | :THREE_DS_AUTHENTICATION
|
489
|
+
|
490
|
+
module EventStream
|
491
|
+
extend Lithic::Internal::Type::Enum
|
492
|
+
|
493
|
+
AUTHORIZATION: :AUTHORIZATION
|
494
|
+
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
495
|
+
|
496
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::event_stream]
|
497
|
+
end
|
498
|
+
|
225
499
|
type state = :ACTIVE | :INACTIVE
|
226
500
|
|
227
501
|
module State
|
@@ -233,7 +507,11 @@ module Lithic
|
|
233
507
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::state]
|
234
508
|
end
|
235
509
|
|
236
|
-
type type_ =
|
510
|
+
type type_ =
|
511
|
+
:CONDITIONAL_BLOCK
|
512
|
+
| :VELOCITY_LIMIT
|
513
|
+
| :MERCHANT_LOCK
|
514
|
+
| :CONDITIONAL_3DS_ACTION
|
237
515
|
|
238
516
|
module Type
|
239
517
|
extend Lithic::Internal::Type::Enum
|
@@ -241,6 +519,7 @@ module Lithic
|
|
241
519
|
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
242
520
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
243
521
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
522
|
+
CONDITIONAL_3DS_ACTION: :CONDITIONAL_3DS_ACTION
|
244
523
|
|
245
524
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::type_]
|
246
525
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Lithic
|
2
2
|
module Models
|
3
3
|
module AuthRules
|
4
|
-
type velocity_limit_params_period_window = :DAY | :WEEK | :MONTH
|
4
|
+
type velocity_limit_params_period_window = :DAY | :WEEK | :MONTH | :YEAR
|
5
5
|
|
6
6
|
module VelocityLimitParamsPeriodWindow
|
7
7
|
extend Lithic::Internal::Type::Enum
|
@@ -9,6 +9,7 @@ module Lithic
|
|
9
9
|
DAY: :DAY
|
10
10
|
WEEK: :WEEK
|
11
11
|
MONTH: :MONTH
|
12
|
+
YEAR: :YEAR
|
12
13
|
|
13
14
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::velocity_limit_params_period_window]
|
14
15
|
end
|
@@ -165,6 +165,7 @@ module Lithic
|
|
165
165
|
| :CHARGED_OFF_PRINCIPAL
|
166
166
|
| :SECURITY
|
167
167
|
| :PROGRAM_RECEIVABLES
|
168
|
+
| :COLLECTION
|
168
169
|
|
169
170
|
module Type
|
170
171
|
extend Lithic::Internal::Type::Enum
|
@@ -177,6 +178,7 @@ module Lithic
|
|
177
178
|
CHARGED_OFF_PRINCIPAL: :CHARGED_OFF_PRINCIPAL
|
178
179
|
SECURITY: :SECURITY
|
179
180
|
PROGRAM_RECEIVABLES: :PROGRAM_RECEIVABLES
|
181
|
+
COLLECTION: :COLLECTION
|
180
182
|
|
181
183
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::type_]
|
182
184
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
type financial_account_register_account_number_params =
|
4
|
+
{ account_number: String } & Lithic::Internal::Type::request_parameters
|
5
|
+
|
6
|
+
class FinancialAccountRegisterAccountNumberParams < Lithic::Internal::Type::BaseModel
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
attr_accessor account_number: String
|
11
|
+
|
12
|
+
def initialize: (
|
13
|
+
account_number: String,
|
14
|
+
?request_options: Lithic::request_opts
|
15
|
+
) -> void
|
16
|
+
|
17
|
+
def to_hash: -> {
|
18
|
+
account_number: String,
|
19
|
+
request_options: Lithic::RequestOptions
|
20
|
+
}
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -7,8 +7,8 @@ module Lithic
|
|
7
7
|
collection_tokens: ::Array[String],
|
8
8
|
created: Time,
|
9
9
|
high_watermark: Time,
|
10
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary],
|
10
11
|
previous_high_watermark: Time,
|
11
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventListResponse::SettlementBreakdown],
|
12
12
|
updated: Time
|
13
13
|
}
|
14
14
|
|
@@ -23,9 +23,9 @@ module Lithic
|
|
23
23
|
|
24
24
|
attr_accessor high_watermark: Time
|
25
25
|
|
26
|
-
attr_accessor
|
26
|
+
attr_accessor network_settlement_summary: ::Array[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary]
|
27
27
|
|
28
|
-
attr_accessor
|
28
|
+
attr_accessor previous_high_watermark: Time
|
29
29
|
|
30
30
|
attr_accessor updated: Time
|
31
31
|
|
@@ -35,8 +35,8 @@ module Lithic
|
|
35
35
|
collection_tokens: ::Array[String],
|
36
36
|
created: Time,
|
37
37
|
high_watermark: Time,
|
38
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary],
|
38
39
|
previous_high_watermark: Time,
|
39
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventListResponse::SettlementBreakdown],
|
40
40
|
updated: Time
|
41
41
|
) -> void
|
42
42
|
|
@@ -46,8 +46,8 @@ module Lithic
|
|
46
46
|
collection_tokens: ::Array[String],
|
47
47
|
created: Time,
|
48
48
|
high_watermark: Time,
|
49
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventListResponse::NetworkSettlementSummary],
|
49
50
|
previous_high_watermark: Time,
|
50
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventListResponse::SettlementBreakdown],
|
51
51
|
updated: Time
|
52
52
|
}
|
53
53
|
|
@@ -62,16 +62,23 @@ module Lithic
|
|
62
62
|
def self?.values: -> ::Array[Lithic::Models::FundingEventListResponse::collection_resource_type]
|
63
63
|
end
|
64
64
|
|
65
|
-
type
|
65
|
+
type network_settlement_summary =
|
66
|
+
{ network_settlement_date: Date, settled_gross_amount: Integer }
|
66
67
|
|
67
|
-
class
|
68
|
-
attr_accessor
|
68
|
+
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
69
|
+
attr_accessor network_settlement_date: Date
|
69
70
|
|
70
|
-
attr_accessor
|
71
|
+
attr_accessor settled_gross_amount: Integer
|
71
72
|
|
72
|
-
def initialize: (
|
73
|
+
def initialize: (
|
74
|
+
network_settlement_date: Date,
|
75
|
+
settled_gross_amount: Integer
|
76
|
+
) -> void
|
73
77
|
|
74
|
-
def to_hash: -> {
|
78
|
+
def to_hash: -> {
|
79
|
+
network_settlement_date: Date,
|
80
|
+
settled_gross_amount: Integer
|
81
|
+
}
|
75
82
|
end
|
76
83
|
end
|
77
84
|
end
|
@@ -7,8 +7,8 @@ module Lithic
|
|
7
7
|
collection_tokens: ::Array[String],
|
8
8
|
created: Time,
|
9
9
|
high_watermark: Time,
|
10
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary],
|
10
11
|
previous_high_watermark: Time,
|
11
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown],
|
12
12
|
updated: Time
|
13
13
|
}
|
14
14
|
|
@@ -23,9 +23,9 @@ module Lithic
|
|
23
23
|
|
24
24
|
attr_accessor high_watermark: Time
|
25
25
|
|
26
|
-
attr_accessor
|
26
|
+
attr_accessor network_settlement_summary: ::Array[Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary]
|
27
27
|
|
28
|
-
attr_accessor
|
28
|
+
attr_accessor previous_high_watermark: Time
|
29
29
|
|
30
30
|
attr_accessor updated: Time
|
31
31
|
|
@@ -35,8 +35,8 @@ module Lithic
|
|
35
35
|
collection_tokens: ::Array[String],
|
36
36
|
created: Time,
|
37
37
|
high_watermark: Time,
|
38
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary],
|
38
39
|
previous_high_watermark: Time,
|
39
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown],
|
40
40
|
updated: Time
|
41
41
|
) -> void
|
42
42
|
|
@@ -46,8 +46,8 @@ module Lithic
|
|
46
46
|
collection_tokens: ::Array[String],
|
47
47
|
created: Time,
|
48
48
|
high_watermark: Time,
|
49
|
+
network_settlement_summary: ::Array[Lithic::Models::FundingEventRetrieveResponse::NetworkSettlementSummary],
|
49
50
|
previous_high_watermark: Time,
|
50
|
-
settlement_breakdowns: ::Array[Lithic::Models::FundingEventRetrieveResponse::SettlementBreakdown],
|
51
51
|
updated: Time
|
52
52
|
}
|
53
53
|
|
@@ -62,16 +62,23 @@ module Lithic
|
|
62
62
|
def self?.values: -> ::Array[Lithic::Models::FundingEventRetrieveResponse::collection_resource_type]
|
63
63
|
end
|
64
64
|
|
65
|
-
type
|
65
|
+
type network_settlement_summary =
|
66
|
+
{ network_settlement_date: Date, settled_gross_amount: Integer }
|
66
67
|
|
67
|
-
class
|
68
|
-
attr_accessor
|
68
|
+
class NetworkSettlementSummary < Lithic::Internal::Type::BaseModel
|
69
|
+
attr_accessor network_settlement_date: Date
|
69
70
|
|
70
|
-
attr_accessor
|
71
|
+
attr_accessor settled_gross_amount: Integer
|
71
72
|
|
72
|
-
def initialize: (
|
73
|
+
def initialize: (
|
74
|
+
network_settlement_date: Date,
|
75
|
+
settled_gross_amount: Integer
|
76
|
+
) -> void
|
73
77
|
|
74
|
-
def to_hash: -> {
|
78
|
+
def to_hash: -> {
|
79
|
+
network_settlement_date: Date,
|
80
|
+
settled_gross_amount: Integer
|
81
|
+
}
|
75
82
|
end
|
76
83
|
end
|
77
84
|
end
|
@@ -9,6 +9,7 @@ module Lithic
|
|
9
9
|
| :CHARGED_OFF_PRINCIPAL
|
10
10
|
| :SECURITY
|
11
11
|
| :PROGRAM_RECEIVABLES
|
12
|
+
| :COLLECTION
|
12
13
|
|
13
14
|
module InstanceFinancialAccountType
|
14
15
|
extend Lithic::Internal::Type::Enum
|
@@ -21,6 +22,7 @@ module Lithic
|
|
21
22
|
CHARGED_OFF_PRINCIPAL: :CHARGED_OFF_PRINCIPAL
|
22
23
|
SECURITY: :SECURITY
|
23
24
|
PROGRAM_RECEIVABLES: :PROGRAM_RECEIVABLES
|
25
|
+
COLLECTION: :COLLECTION
|
24
26
|
|
25
27
|
def self?.values: -> ::Array[Lithic::Models::instance_financial_account_type]
|
26
28
|
end
|
@@ -342,7 +342,8 @@ module Lithic
|
|
342
342
|
end
|
343
343
|
|
344
344
|
type decision_made_by =
|
345
|
-
:
|
345
|
+
:CUSTOMER_RULES
|
346
|
+
| :CUSTOMER_ENDPOINT
|
346
347
|
| :LITHIC_DEFAULT
|
347
348
|
| :LITHIC_RULES
|
348
349
|
| :NETWORK
|
@@ -351,6 +352,7 @@ module Lithic
|
|
351
352
|
module DecisionMadeBy
|
352
353
|
extend Lithic::Internal::Type::Enum
|
353
354
|
|
355
|
+
CUSTOMER_RULES: :CUSTOMER_RULES
|
354
356
|
CUSTOMER_ENDPOINT: :CUSTOMER_ENDPOINT
|
355
357
|
LITHIC_DEFAULT: :LITHIC_DEFAULT
|
356
358
|
LITHIC_RULES: :LITHIC_RULES
|
@@ -1,7 +1,12 @@
|
|
1
1
|
module Lithic
|
2
2
|
module Models
|
3
3
|
type verification_method =
|
4
|
-
:MANUAL
|
4
|
+
:MANUAL
|
5
|
+
| :MICRO_DEPOSIT
|
6
|
+
| :PLAID
|
7
|
+
| :PRENOTE
|
8
|
+
| :EXTERNALLY_VERIFIED
|
9
|
+
| :UNVERIFIED
|
5
10
|
|
6
11
|
module VerificationMethod
|
7
12
|
extend Lithic::Internal::Type::Enum
|
@@ -11,6 +16,7 @@ module Lithic
|
|
11
16
|
PLAID: :PLAID
|
12
17
|
PRENOTE: :PRENOTE
|
13
18
|
EXTERNALLY_VERIFIED: :EXTERNALLY_VERIFIED
|
19
|
+
UNVERIFIED: :UNVERIFIED
|
14
20
|
|
15
21
|
def self?.values: -> ::Array[Lithic::Models::verification_method]
|
16
22
|
end
|
data/sig/lithic/models.rbs
CHANGED
@@ -189,6 +189,8 @@ module Lithic
|
|
189
189
|
|
190
190
|
class FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
|
191
191
|
|
192
|
+
class FinancialAccountRegisterAccountNumberParams = Lithic::Models::FinancialAccountRegisterAccountNumberParams
|
193
|
+
|
192
194
|
class FinancialAccountRetrieveParams = Lithic::Models::FinancialAccountRetrieveParams
|
193
195
|
|
194
196
|
module FinancialAccounts = Lithic::Models::FinancialAccounts
|
@@ -35,6 +35,7 @@ module Lithic
|
|
35
35
|
?account_token: String,
|
36
36
|
?card_token: String,
|
37
37
|
?ending_before: String,
|
38
|
+
?event_stream: Lithic::Models::AuthRules::V2ListParams::event_stream,
|
38
39
|
?page_size: Integer,
|
39
40
|
?scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
40
41
|
?starting_after: String,
|
@@ -38,6 +38,12 @@ module Lithic
|
|
38
38
|
?request_options: Lithic::request_opts
|
39
39
|
) -> Lithic::Internal::SinglePage[Lithic::FinancialAccount]
|
40
40
|
|
41
|
+
def register_account_number: (
|
42
|
+
String financial_account_token,
|
43
|
+
account_number: String,
|
44
|
+
?request_options: Lithic::request_opts
|
45
|
+
) -> nil
|
46
|
+
|
41
47
|
def update_status: (
|
42
48
|
String financial_account_token,
|
43
49
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|