lithic 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.38
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 +23 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +10 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +182 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +62 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -245
- data/lib/lithic/models/auth_rules/v2_create_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -245
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_list_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +12 -476
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +12 -480
- data/lib/lithic/models/auth_rules/v2_update_response.rb +12 -476
- data/lib/lithic/models/transaction.rb +19 -1
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +412 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +119 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +10 -534
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -532
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +8 -1056
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +8 -1056
- data/rbi/lithic/models/transaction.rbi +47 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +4 -4
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +133 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +51 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -176
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -176
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -352
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -352
- data/sig/lithic/models/transaction.rbs +20 -0
- metadata +8 -2
@@ -93,186 +93,12 @@ module Lithic
|
|
93
93
|
type parameters =
|
94
94
|
Lithic::AuthRules::ConditionalBlockParameters
|
95
95
|
| Lithic::AuthRules::VelocityLimitParams
|
96
|
-
| Lithic::
|
97
|
-
| Lithic::
|
96
|
+
| Lithic::AuthRules::MerchantLockParameters
|
97
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
98
98
|
|
99
99
|
module Parameters
|
100
100
|
extend Lithic::Internal::Type::Union
|
101
101
|
|
102
|
-
type merchant_lock_parameters =
|
103
|
-
{
|
104
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
105
|
-
}
|
106
|
-
|
107
|
-
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
108
|
-
attr_accessor merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
109
|
-
|
110
|
-
def initialize: (
|
111
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
112
|
-
) -> void
|
113
|
-
|
114
|
-
def to_hash: -> {
|
115
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant]
|
116
|
-
}
|
117
|
-
|
118
|
-
type merchant =
|
119
|
-
{ comment: String, descriptor: String, merchant_id: String }
|
120
|
-
|
121
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
122
|
-
attr_reader comment: String?
|
123
|
-
|
124
|
-
def comment=: (String) -> String
|
125
|
-
|
126
|
-
attr_reader descriptor: String?
|
127
|
-
|
128
|
-
def descriptor=: (String) -> String
|
129
|
-
|
130
|
-
attr_reader merchant_id: String?
|
131
|
-
|
132
|
-
def merchant_id=: (String) -> String
|
133
|
-
|
134
|
-
def initialize: (
|
135
|
-
?comment: String,
|
136
|
-
?descriptor: String,
|
137
|
-
?merchant_id: String
|
138
|
-
) -> void
|
139
|
-
|
140
|
-
def to_hash: -> {
|
141
|
-
comment: String,
|
142
|
-
descriptor: String,
|
143
|
-
merchant_id: String
|
144
|
-
}
|
145
|
-
end
|
146
|
-
end
|
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
|
-
|
276
102
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::parameters]
|
277
103
|
end
|
278
104
|
end
|
@@ -301,186 +127,12 @@ module Lithic
|
|
301
127
|
type parameters =
|
302
128
|
Lithic::AuthRules::ConditionalBlockParameters
|
303
129
|
| Lithic::AuthRules::VelocityLimitParams
|
304
|
-
| Lithic::
|
305
|
-
| Lithic::
|
130
|
+
| Lithic::AuthRules::MerchantLockParameters
|
131
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
306
132
|
|
307
133
|
module Parameters
|
308
134
|
extend Lithic::Internal::Type::Union
|
309
135
|
|
310
|
-
type merchant_lock_parameters =
|
311
|
-
{
|
312
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
313
|
-
}
|
314
|
-
|
315
|
-
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
316
|
-
attr_accessor merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
317
|
-
|
318
|
-
def initialize: (
|
319
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
320
|
-
) -> void
|
321
|
-
|
322
|
-
def to_hash: -> {
|
323
|
-
merchants: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant]
|
324
|
-
}
|
325
|
-
|
326
|
-
type merchant =
|
327
|
-
{ comment: String, descriptor: String, merchant_id: String }
|
328
|
-
|
329
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
330
|
-
attr_reader comment: String?
|
331
|
-
|
332
|
-
def comment=: (String) -> String
|
333
|
-
|
334
|
-
attr_reader descriptor: String?
|
335
|
-
|
336
|
-
def descriptor=: (String) -> String
|
337
|
-
|
338
|
-
attr_reader merchant_id: String?
|
339
|
-
|
340
|
-
def merchant_id=: (String) -> String
|
341
|
-
|
342
|
-
def initialize: (
|
343
|
-
?comment: String,
|
344
|
-
?descriptor: String,
|
345
|
-
?merchant_id: String
|
346
|
-
) -> void
|
347
|
-
|
348
|
-
def to_hash: -> {
|
349
|
-
comment: String,
|
350
|
-
descriptor: String,
|
351
|
-
merchant_id: String
|
352
|
-
}
|
353
|
-
end
|
354
|
-
end
|
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
|
-
|
484
136
|
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::parameters]
|
485
137
|
end
|
486
138
|
end
|
@@ -876,6 +876,7 @@ module Lithic
|
|
876
876
|
result: Lithic::Models::Transaction::Event::result,
|
877
877
|
rule_results: ::Array[Lithic::Transaction::Event::RuleResult],
|
878
878
|
type: Lithic::Models::Transaction::Event::type_,
|
879
|
+
account_type: Lithic::Models::Transaction::Event::account_type,
|
879
880
|
network_specific_data: Lithic::Transaction::Event::NetworkSpecificData
|
880
881
|
}
|
881
882
|
|
@@ -900,6 +901,12 @@ module Lithic
|
|
900
901
|
|
901
902
|
attr_accessor type: Lithic::Models::Transaction::Event::type_
|
902
903
|
|
904
|
+
attr_reader account_type: Lithic::Models::Transaction::Event::account_type?
|
905
|
+
|
906
|
+
def account_type=: (
|
907
|
+
Lithic::Models::Transaction::Event::account_type
|
908
|
+
) -> Lithic::Models::Transaction::Event::account_type
|
909
|
+
|
903
910
|
attr_reader network_specific_data: Lithic::Transaction::Event::NetworkSpecificData?
|
904
911
|
|
905
912
|
def network_specific_data=: (
|
@@ -917,6 +924,7 @@ module Lithic
|
|
917
924
|
result: Lithic::Models::Transaction::Event::result,
|
918
925
|
rule_results: ::Array[Lithic::Transaction::Event::RuleResult],
|
919
926
|
type: Lithic::Models::Transaction::Event::type_,
|
927
|
+
?account_type: Lithic::Models::Transaction::Event::account_type,
|
920
928
|
?network_specific_data: Lithic::Transaction::Event::NetworkSpecificData
|
921
929
|
) -> void
|
922
930
|
|
@@ -931,6 +939,7 @@ module Lithic
|
|
931
939
|
result: Lithic::Models::Transaction::Event::result,
|
932
940
|
rule_results: ::Array[Lithic::Transaction::Event::RuleResult],
|
933
941
|
type: Lithic::Models::Transaction::Event::type_,
|
942
|
+
account_type: Lithic::Models::Transaction::Event::account_type,
|
934
943
|
network_specific_data: Lithic::Transaction::Event::NetworkSpecificData
|
935
944
|
}
|
936
945
|
|
@@ -1504,6 +1513,17 @@ module Lithic
|
|
1504
1513
|
def self?.values: -> ::Array[Lithic::Models::Transaction::Event::type_]
|
1505
1514
|
end
|
1506
1515
|
|
1516
|
+
type account_type = :CHECKING | :SAVINGS
|
1517
|
+
|
1518
|
+
module AccountType
|
1519
|
+
extend Lithic::Internal::Type::Enum
|
1520
|
+
|
1521
|
+
CHECKING: :CHECKING
|
1522
|
+
SAVINGS: :SAVINGS
|
1523
|
+
|
1524
|
+
def self?.values: -> ::Array[Lithic::Models::Transaction::Event::account_type]
|
1525
|
+
end
|
1526
|
+
|
1507
1527
|
type network_specific_data =
|
1508
1528
|
{
|
1509
1529
|
mastercard: Lithic::Transaction::Event::NetworkSpecificData::Mastercard,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lithic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.alpha.
|
4
|
+
version: 0.1.0.pre.alpha.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lithic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -85,8 +85,10 @@ files:
|
|
85
85
|
- lib/lithic/models/api_status.rb
|
86
86
|
- lib/lithic/models/auth_rules/auth_rule.rb
|
87
87
|
- lib/lithic/models/auth_rules/auth_rule_condition.rb
|
88
|
+
- lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb
|
88
89
|
- lib/lithic/models/auth_rules/conditional_attribute.rb
|
89
90
|
- lib/lithic/models/auth_rules/conditional_block_parameters.rb
|
91
|
+
- lib/lithic/models/auth_rules/merchant_lock_parameters.rb
|
90
92
|
- lib/lithic/models/auth_rules/rule_stats.rb
|
91
93
|
- lib/lithic/models/auth_rules/v2/backtest_create_params.rb
|
92
94
|
- lib/lithic/models/auth_rules/v2/backtest_create_response.rb
|
@@ -448,8 +450,10 @@ files:
|
|
448
450
|
- rbi/lithic/models/api_status.rbi
|
449
451
|
- rbi/lithic/models/auth_rules/auth_rule.rbi
|
450
452
|
- rbi/lithic/models/auth_rules/auth_rule_condition.rbi
|
453
|
+
- rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi
|
451
454
|
- rbi/lithic/models/auth_rules/conditional_attribute.rbi
|
452
455
|
- rbi/lithic/models/auth_rules/conditional_block_parameters.rbi
|
456
|
+
- rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi
|
453
457
|
- rbi/lithic/models/auth_rules/rule_stats.rbi
|
454
458
|
- rbi/lithic/models/auth_rules/v2/backtest_create_params.rbi
|
455
459
|
- rbi/lithic/models/auth_rules/v2/backtest_create_response.rbi
|
@@ -810,8 +814,10 @@ files:
|
|
810
814
|
- sig/lithic/models/api_status.rbs
|
811
815
|
- sig/lithic/models/auth_rules/auth_rule.rbs
|
812
816
|
- sig/lithic/models/auth_rules/auth_rule_condition.rbs
|
817
|
+
- sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs
|
813
818
|
- sig/lithic/models/auth_rules/conditional_attribute.rbs
|
814
819
|
- sig/lithic/models/auth_rules/conditional_block_parameters.rbs
|
820
|
+
- sig/lithic/models/auth_rules/merchant_lock_parameters.rbs
|
815
821
|
- sig/lithic/models/auth_rules/rule_stats.rbs
|
816
822
|
- sig/lithic/models/auth_rules/v2/backtest_create_params.rbs
|
817
823
|
- sig/lithic/models/auth_rules/v2/backtest_create_response.rbs
|