lithic 0.1.0.pre.alpha.37 → 0.1.0.pre.alpha.39

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +182 -0
  5. data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +62 -0
  6. data/lib/lithic/models/auth_rules/v2_apply_response.rb +12 -476
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +5 -245
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +12 -476
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -245
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +12 -476
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +12 -476
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +12 -476
  13. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +12 -480
  14. data/lib/lithic/models/auth_rules/v2_update_response.rb +12 -476
  15. data/lib/lithic/models/event.rb +2 -0
  16. data/lib/lithic/models/event_list_params.rb +2 -0
  17. data/lib/lithic/models/event_subscription.rb +2 -0
  18. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  19. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  20. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  21. data/lib/lithic/models/reports/settlement/network_total_list_response.rb +16 -6
  22. data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +16 -6
  23. data/lib/lithic/resources/auth_rules/v2.rb +2 -2
  24. data/lib/lithic/version.rb +1 -1
  25. data/lib/lithic.rb +2 -0
  26. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +412 -0
  27. data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +119 -0
  28. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +8 -1056
  29. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +10 -534
  30. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +8 -1056
  31. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -532
  32. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +8 -1056
  33. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +8 -1056
  34. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +8 -1056
  35. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +8 -1056
  36. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +8 -1056
  37. data/rbi/lithic/models/event.rbi +10 -0
  38. data/rbi/lithic/models/event_list_params.rbi +10 -0
  39. data/rbi/lithic/models/event_subscription.rbi +10 -0
  40. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  41. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  42. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  43. data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +21 -6
  44. data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +21 -6
  45. data/rbi/lithic/resources/auth_rules/v2.rbi +4 -4
  46. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +133 -0
  47. data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +51 -0
  48. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -352
  49. data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -176
  50. data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -352
  51. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -176
  52. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -352
  53. data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -352
  54. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -352
  55. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -352
  56. data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -352
  57. data/sig/lithic/models/event.rbs +4 -0
  58. data/sig/lithic/models/event_list_params.rbs +4 -0
  59. data/sig/lithic/models/event_subscription.rbs +4 -0
  60. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  61. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  62. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  63. data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +7 -1
  64. data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +7 -1
  65. metadata +8 -2
@@ -27,8 +27,8 @@ module Lithic
27
27
  T.any(
28
28
  Lithic::AuthRules::ConditionalBlockParameters,
29
29
  Lithic::AuthRules::VelocityLimitParams,
30
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters,
31
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters
30
+ Lithic::AuthRules::MerchantLockParameters,
31
+ Lithic::AuthRules::Conditional3DSActionParameters
32
32
  )
33
33
  )
34
34
  )
@@ -41,8 +41,8 @@ module Lithic
41
41
  T.any(
42
42
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
43
43
  Lithic::AuthRules::VelocityLimitParams::OrHash,
44
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::OrHash,
45
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::OrHash
44
+ Lithic::AuthRules::MerchantLockParameters::OrHash,
45
+ Lithic::AuthRules::Conditional3DSActionParameters::OrHash
46
46
  )
47
47
  ).void
48
48
  end
@@ -90,8 +90,8 @@ module Lithic
90
90
  T.any(
91
91
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
92
92
  Lithic::AuthRules::VelocityLimitParams::OrHash,
93
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::OrHash,
94
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::OrHash
93
+ Lithic::AuthRules::MerchantLockParameters::OrHash,
94
+ Lithic::AuthRules::Conditional3DSActionParameters::OrHash
95
95
  ),
96
96
  type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
97
97
  excluded_card_tokens: T::Array[String],
@@ -132,8 +132,8 @@ module Lithic
132
132
  T.any(
133
133
  Lithic::AuthRules::ConditionalBlockParameters,
134
134
  Lithic::AuthRules::VelocityLimitParams,
135
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters,
136
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters
135
+ Lithic::AuthRules::MerchantLockParameters,
136
+ Lithic::AuthRules::Conditional3DSActionParameters
137
137
  ),
138
138
  type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
139
139
  card_tokens: T::Array[String],
@@ -155,535 +155,11 @@ module Lithic
155
155
  T.any(
156
156
  Lithic::AuthRules::ConditionalBlockParameters,
157
157
  Lithic::AuthRules::VelocityLimitParams,
158
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters,
159
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters
158
+ Lithic::AuthRules::MerchantLockParameters,
159
+ Lithic::AuthRules::Conditional3DSActionParameters
160
160
  )
161
161
  end
162
162
 
163
- class MerchantLockParameters < Lithic::Internal::Type::BaseModel
164
- OrHash =
165
- T.type_alias do
166
- T.any(
167
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters,
168
- Lithic::Internal::AnyHash
169
- )
170
- end
171
-
172
- # A list of merchant locks defining specific merchants or groups of merchants
173
- # (based on descriptors or IDs) that the lock applies to.
174
- sig do
175
- returns(
176
- T::Array[
177
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant
178
- ]
179
- )
180
- end
181
- attr_accessor :merchants
182
-
183
- sig do
184
- params(
185
- merchants:
186
- T::Array[
187
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant::OrHash
188
- ]
189
- ).returns(T.attached_class)
190
- end
191
- def self.new(
192
- # A list of merchant locks defining specific merchants or groups of merchants
193
- # (based on descriptors or IDs) that the lock applies to.
194
- merchants:
195
- )
196
- end
197
-
198
- sig do
199
- override.returns(
200
- {
201
- merchants:
202
- T::Array[
203
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant
204
- ]
205
- }
206
- )
207
- end
208
- def to_hash
209
- end
210
-
211
- class Merchant < Lithic::Internal::Type::BaseModel
212
- OrHash =
213
- T.type_alias do
214
- T.any(
215
- Lithic::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant,
216
- Lithic::Internal::AnyHash
217
- )
218
- end
219
-
220
- # A comment or explanation about the merchant, used internally for rule management
221
- # purposes.
222
- sig { returns(T.nilable(String)) }
223
- attr_reader :comment
224
-
225
- sig { params(comment: String).void }
226
- attr_writer :comment
227
-
228
- # Short description of the merchant, often used to provide more human-readable
229
- # context about the transaction merchant. This is typically the name or label
230
- # shown on transaction summaries.
231
- sig { returns(T.nilable(String)) }
232
- attr_reader :descriptor
233
-
234
- sig { params(descriptor: String).void }
235
- attr_writer :descriptor
236
-
237
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
238
- # attribute specifies the merchant entity that will be locked or referenced for
239
- # authorization rules.
240
- sig { returns(T.nilable(String)) }
241
- attr_reader :merchant_id
242
-
243
- sig { params(merchant_id: String).void }
244
- attr_writer :merchant_id
245
-
246
- # Represents a specific merchant lock based on their ID or descriptor. Each
247
- # merchant object allows transaction rules to work at a granular level and
248
- # requires at least one of merchant_id or descriptor.
249
- sig do
250
- params(
251
- comment: String,
252
- descriptor: String,
253
- merchant_id: String
254
- ).returns(T.attached_class)
255
- end
256
- def self.new(
257
- # A comment or explanation about the merchant, used internally for rule management
258
- # purposes.
259
- comment: nil,
260
- # Short description of the merchant, often used to provide more human-readable
261
- # context about the transaction merchant. This is typically the name or label
262
- # shown on transaction summaries.
263
- descriptor: nil,
264
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
265
- # attribute specifies the merchant entity that will be locked or referenced for
266
- # authorization rules.
267
- merchant_id: nil
268
- )
269
- end
270
-
271
- sig do
272
- override.returns(
273
- { comment: String, descriptor: String, merchant_id: String }
274
- )
275
- end
276
- def to_hash
277
- end
278
- end
279
- end
280
-
281
- class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
282
- OrHash =
283
- T.type_alias do
284
- T.any(
285
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters,
286
- Lithic::Internal::AnyHash
287
- )
288
- end
289
-
290
- # The action to take if the conditions are met.
291
- sig do
292
- returns(
293
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol
294
- )
295
- end
296
- attr_accessor :action
297
-
298
- sig do
299
- returns(
300
- T::Array[
301
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition
302
- ]
303
- )
304
- end
305
- attr_accessor :conditions
306
-
307
- sig do
308
- params(
309
- action:
310
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
311
- conditions:
312
- T::Array[
313
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::OrHash
314
- ]
315
- ).returns(T.attached_class)
316
- end
317
- def self.new(
318
- # The action to take if the conditions are met.
319
- action:,
320
- conditions:
321
- )
322
- end
323
-
324
- sig do
325
- override.returns(
326
- {
327
- action:
328
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
329
- conditions:
330
- T::Array[
331
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition
332
- ]
333
- }
334
- )
335
- end
336
- def to_hash
337
- end
338
-
339
- # The action to take if the conditions are met.
340
- module Action
341
- extend Lithic::Internal::Type::Enum
342
-
343
- TaggedSymbol =
344
- T.type_alias do
345
- T.all(
346
- Symbol,
347
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action
348
- )
349
- end
350
- OrSymbol = T.type_alias { T.any(Symbol, String) }
351
-
352
- DECLINE =
353
- T.let(
354
- :DECLINE,
355
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
356
- )
357
- CHALLENGE =
358
- T.let(
359
- :CHALLENGE,
360
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
361
- )
362
-
363
- sig do
364
- override.returns(
365
- T::Array[
366
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
367
- ]
368
- )
369
- end
370
- def self.values
371
- end
372
- end
373
-
374
- class Condition < Lithic::Internal::Type::BaseModel
375
- OrHash =
376
- T.type_alias do
377
- T.any(
378
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition,
379
- Lithic::Internal::AnyHash
380
- )
381
- end
382
-
383
- # The attribute to target.
384
- #
385
- # The following attributes may be targeted:
386
- #
387
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
388
- # business by the types of goods or services it provides.
389
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
390
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
391
- # Netherlands Antilles.
392
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
393
- # the transaction.
394
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
395
- # (merchant).
396
- # - `DESCRIPTOR`: Short description of card acceptor.
397
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
398
- # fee field in the settlement/cardholder billing currency. This is the amount
399
- # the issuer should authorize against unless the issuer is paying the acquirer
400
- # fee on behalf of the cardholder.
401
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
402
- # given authentication. Scores are on a range of 0-999, with 0 representing the
403
- # lowest risk and 999 representing the highest risk. For Visa transactions,
404
- # where the raw score has a range of 0-99, Lithic will normalize the score by
405
- # multiplying the raw score by 10x.
406
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
407
- sig do
408
- returns(
409
- T.nilable(
410
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
411
- )
412
- )
413
- end
414
- attr_reader :attribute
415
-
416
- sig do
417
- params(
418
- attribute:
419
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
420
- ).void
421
- end
422
- attr_writer :attribute
423
-
424
- # The operation to apply to the attribute
425
- sig do
426
- returns(
427
- T.nilable(
428
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
429
- )
430
- )
431
- end
432
- attr_reader :operation
433
-
434
- sig do
435
- params(
436
- operation:
437
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
438
- ).void
439
- end
440
- attr_writer :operation
441
-
442
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
443
- sig do
444
- returns(
445
- T.nilable(
446
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
447
- )
448
- )
449
- end
450
- attr_reader :value
451
-
452
- sig do
453
- params(
454
- value:
455
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
456
- ).void
457
- end
458
- attr_writer :value
459
-
460
- sig do
461
- params(
462
- attribute:
463
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
464
- operation:
465
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
466
- value:
467
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
468
- ).returns(T.attached_class)
469
- end
470
- def self.new(
471
- # The attribute to target.
472
- #
473
- # The following attributes may be targeted:
474
- #
475
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
476
- # business by the types of goods or services it provides.
477
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
478
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
479
- # Netherlands Antilles.
480
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
481
- # the transaction.
482
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
483
- # (merchant).
484
- # - `DESCRIPTOR`: Short description of card acceptor.
485
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
486
- # fee field in the settlement/cardholder billing currency. This is the amount
487
- # the issuer should authorize against unless the issuer is paying the acquirer
488
- # fee on behalf of the cardholder.
489
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
490
- # given authentication. Scores are on a range of 0-999, with 0 representing the
491
- # lowest risk and 999 representing the highest risk. For Visa transactions,
492
- # where the raw score has a range of 0-99, Lithic will normalize the score by
493
- # multiplying the raw score by 10x.
494
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
495
- attribute: nil,
496
- # The operation to apply to the attribute
497
- operation: nil,
498
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
499
- value: nil
500
- )
501
- end
502
-
503
- sig do
504
- override.returns(
505
- {
506
- attribute:
507
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
508
- operation:
509
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
510
- value:
511
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
512
- }
513
- )
514
- end
515
- def to_hash
516
- end
517
-
518
- # The attribute to target.
519
- #
520
- # The following attributes may be targeted:
521
- #
522
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
523
- # business by the types of goods or services it provides.
524
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
525
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
526
- # Netherlands Antilles.
527
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
528
- # the transaction.
529
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
530
- # (merchant).
531
- # - `DESCRIPTOR`: Short description of card acceptor.
532
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
533
- # fee field in the settlement/cardholder billing currency. This is the amount
534
- # the issuer should authorize against unless the issuer is paying the acquirer
535
- # fee on behalf of the cardholder.
536
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
537
- # given authentication. Scores are on a range of 0-999, with 0 representing the
538
- # lowest risk and 999 representing the highest risk. For Visa transactions,
539
- # where the raw score has a range of 0-99, Lithic will normalize the score by
540
- # multiplying the raw score by 10x.
541
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
542
- module Attribute
543
- extend Lithic::Internal::Type::Enum
544
-
545
- TaggedSymbol =
546
- T.type_alias do
547
- T.all(
548
- Symbol,
549
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute
550
- )
551
- end
552
- OrSymbol = T.type_alias { T.any(Symbol, String) }
553
-
554
- MCC =
555
- T.let(
556
- :MCC,
557
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
558
- )
559
- COUNTRY =
560
- T.let(
561
- :COUNTRY,
562
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
563
- )
564
- CURRENCY =
565
- T.let(
566
- :CURRENCY,
567
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
568
- )
569
- MERCHANT_ID =
570
- T.let(
571
- :MERCHANT_ID,
572
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
573
- )
574
- DESCRIPTOR =
575
- T.let(
576
- :DESCRIPTOR,
577
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
578
- )
579
- TRANSACTION_AMOUNT =
580
- T.let(
581
- :TRANSACTION_AMOUNT,
582
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
583
- )
584
- RISK_SCORE =
585
- T.let(
586
- :RISK_SCORE,
587
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
588
- )
589
- MESSAGE_CATEGORY =
590
- T.let(
591
- :MESSAGE_CATEGORY,
592
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
593
- )
594
-
595
- sig do
596
- override.returns(
597
- T::Array[
598
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
599
- ]
600
- )
601
- end
602
- def self.values
603
- end
604
- end
605
-
606
- # The operation to apply to the attribute
607
- module Operation
608
- extend Lithic::Internal::Type::Enum
609
-
610
- TaggedSymbol =
611
- T.type_alias do
612
- T.all(
613
- Symbol,
614
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation
615
- )
616
- end
617
- OrSymbol = T.type_alias { T.any(Symbol, String) }
618
-
619
- IS_ONE_OF =
620
- T.let(
621
- :IS_ONE_OF,
622
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
623
- )
624
- IS_NOT_ONE_OF =
625
- T.let(
626
- :IS_NOT_ONE_OF,
627
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
628
- )
629
- MATCHES =
630
- T.let(
631
- :MATCHES,
632
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
633
- )
634
- DOES_NOT_MATCH =
635
- T.let(
636
- :DOES_NOT_MATCH,
637
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
638
- )
639
- IS_GREATER_THAN =
640
- T.let(
641
- :IS_GREATER_THAN,
642
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
643
- )
644
- IS_LESS_THAN =
645
- T.let(
646
- :IS_LESS_THAN,
647
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
648
- )
649
-
650
- sig do
651
- override.returns(
652
- T::Array[
653
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
654
- ]
655
- )
656
- end
657
- def self.values
658
- end
659
- end
660
-
661
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
662
- module Value
663
- extend Lithic::Internal::Type::Union
664
-
665
- Variants =
666
- T.type_alias { T.any(String, Integer, T::Array[String]) }
667
-
668
- sig do
669
- override.returns(
670
- T::Array[
671
- Lithic::AuthRules::V2CreateParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
672
- ]
673
- )
674
- end
675
- def self.variants
676
- end
677
-
678
- StringArray =
679
- T.let(
680
- Lithic::Internal::Type::ArrayOf[String],
681
- Lithic::Internal::Type::Converter
682
- )
683
- end
684
- end
685
- end
686
-
687
163
  sig do
688
164
  override.returns(
689
165
  T::Array[Lithic::AuthRules::V2CreateParams::Parameters::Variants]