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
@@ -217,8 +217,8 @@ module Lithic
217
217
  T.any(
218
218
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
219
219
  Lithic::AuthRules::VelocityLimitParams::OrHash,
220
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters::OrHash,
221
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::OrHash
220
+ Lithic::AuthRules::MerchantLockParameters::OrHash,
221
+ Lithic::AuthRules::Conditional3DSActionParameters::OrHash
222
222
  ),
223
223
  version: Integer
224
224
  ).returns(T.attached_class)
@@ -253,535 +253,11 @@ module Lithic
253
253
  T.any(
254
254
  Lithic::AuthRules::ConditionalBlockParameters,
255
255
  Lithic::AuthRules::VelocityLimitParams,
256
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters,
257
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters
256
+ Lithic::AuthRules::MerchantLockParameters,
257
+ Lithic::AuthRules::Conditional3DSActionParameters
258
258
  )
259
259
  end
260
260
 
261
- class MerchantLockParameters < Lithic::Internal::Type::BaseModel
262
- OrHash =
263
- T.type_alias do
264
- T.any(
265
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters,
266
- Lithic::Internal::AnyHash
267
- )
268
- end
269
-
270
- # A list of merchant locks defining specific merchants or groups of merchants
271
- # (based on descriptors or IDs) that the lock applies to.
272
- sig do
273
- returns(
274
- T::Array[
275
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant
276
- ]
277
- )
278
- end
279
- attr_accessor :merchants
280
-
281
- sig do
282
- params(
283
- merchants:
284
- T::Array[
285
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant::OrHash
286
- ]
287
- ).returns(T.attached_class)
288
- end
289
- def self.new(
290
- # A list of merchant locks defining specific merchants or groups of merchants
291
- # (based on descriptors or IDs) that the lock applies to.
292
- merchants:
293
- )
294
- end
295
-
296
- sig do
297
- override.returns(
298
- {
299
- merchants:
300
- T::Array[
301
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant
302
- ]
303
- }
304
- )
305
- end
306
- def to_hash
307
- end
308
-
309
- class Merchant < Lithic::Internal::Type::BaseModel
310
- OrHash =
311
- T.type_alias do
312
- T.any(
313
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant,
314
- Lithic::Internal::AnyHash
315
- )
316
- end
317
-
318
- # A comment or explanation about the merchant, used internally for rule management
319
- # purposes.
320
- sig { returns(T.nilable(String)) }
321
- attr_reader :comment
322
-
323
- sig { params(comment: String).void }
324
- attr_writer :comment
325
-
326
- # Short description of the merchant, often used to provide more human-readable
327
- # context about the transaction merchant. This is typically the name or label
328
- # shown on transaction summaries.
329
- sig { returns(T.nilable(String)) }
330
- attr_reader :descriptor
331
-
332
- sig { params(descriptor: String).void }
333
- attr_writer :descriptor
334
-
335
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
336
- # attribute specifies the merchant entity that will be locked or referenced for
337
- # authorization rules.
338
- sig { returns(T.nilable(String)) }
339
- attr_reader :merchant_id
340
-
341
- sig { params(merchant_id: String).void }
342
- attr_writer :merchant_id
343
-
344
- # Represents a specific merchant lock based on their ID or descriptor. Each
345
- # merchant object allows transaction rules to work at a granular level and
346
- # requires at least one of merchant_id or descriptor.
347
- sig do
348
- params(
349
- comment: String,
350
- descriptor: String,
351
- merchant_id: String
352
- ).returns(T.attached_class)
353
- end
354
- def self.new(
355
- # A comment or explanation about the merchant, used internally for rule management
356
- # purposes.
357
- comment: nil,
358
- # Short description of the merchant, often used to provide more human-readable
359
- # context about the transaction merchant. This is typically the name or label
360
- # shown on transaction summaries.
361
- descriptor: nil,
362
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
363
- # attribute specifies the merchant entity that will be locked or referenced for
364
- # authorization rules.
365
- merchant_id: nil
366
- )
367
- end
368
-
369
- sig do
370
- override.returns(
371
- { comment: String, descriptor: String, merchant_id: String }
372
- )
373
- end
374
- def to_hash
375
- end
376
- end
377
- end
378
-
379
- class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
380
- OrHash =
381
- T.type_alias do
382
- T.any(
383
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters,
384
- Lithic::Internal::AnyHash
385
- )
386
- end
387
-
388
- # The action to take if the conditions are met.
389
- sig do
390
- returns(
391
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
392
- )
393
- end
394
- attr_accessor :action
395
-
396
- sig do
397
- returns(
398
- T::Array[
399
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition
400
- ]
401
- )
402
- end
403
- attr_accessor :conditions
404
-
405
- sig do
406
- params(
407
- action:
408
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
409
- conditions:
410
- T::Array[
411
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::OrHash
412
- ]
413
- ).returns(T.attached_class)
414
- end
415
- def self.new(
416
- # The action to take if the conditions are met.
417
- action:,
418
- conditions:
419
- )
420
- end
421
-
422
- sig do
423
- override.returns(
424
- {
425
- action:
426
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol,
427
- conditions:
428
- T::Array[
429
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition
430
- ]
431
- }
432
- )
433
- end
434
- def to_hash
435
- end
436
-
437
- # The action to take if the conditions are met.
438
- module Action
439
- extend Lithic::Internal::Type::Enum
440
-
441
- TaggedSymbol =
442
- T.type_alias do
443
- T.all(
444
- Symbol,
445
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action
446
- )
447
- end
448
- OrSymbol = T.type_alias { T.any(Symbol, String) }
449
-
450
- DECLINE =
451
- T.let(
452
- :DECLINE,
453
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
454
- )
455
- CHALLENGE =
456
- T.let(
457
- :CHALLENGE,
458
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
459
- )
460
-
461
- sig do
462
- override.returns(
463
- T::Array[
464
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
465
- ]
466
- )
467
- end
468
- def self.values
469
- end
470
- end
471
-
472
- class Condition < Lithic::Internal::Type::BaseModel
473
- OrHash =
474
- T.type_alias do
475
- T.any(
476
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition,
477
- Lithic::Internal::AnyHash
478
- )
479
- end
480
-
481
- # The attribute to target.
482
- #
483
- # The following attributes may be targeted:
484
- #
485
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
486
- # business by the types of goods or services it provides.
487
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
488
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
489
- # Netherlands Antilles.
490
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
491
- # the transaction.
492
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
493
- # (merchant).
494
- # - `DESCRIPTOR`: Short description of card acceptor.
495
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
496
- # fee field in the settlement/cardholder billing currency. This is the amount
497
- # the issuer should authorize against unless the issuer is paying the acquirer
498
- # fee on behalf of the cardholder.
499
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
500
- # given authentication. Scores are on a range of 0-999, with 0 representing the
501
- # lowest risk and 999 representing the highest risk. For Visa transactions,
502
- # where the raw score has a range of 0-99, Lithic will normalize the score by
503
- # multiplying the raw score by 10x.
504
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
505
- sig do
506
- returns(
507
- T.nilable(
508
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
509
- )
510
- )
511
- end
512
- attr_reader :attribute
513
-
514
- sig do
515
- params(
516
- attribute:
517
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
518
- ).void
519
- end
520
- attr_writer :attribute
521
-
522
- # The operation to apply to the attribute
523
- sig do
524
- returns(
525
- T.nilable(
526
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
527
- )
528
- )
529
- end
530
- attr_reader :operation
531
-
532
- sig do
533
- params(
534
- operation:
535
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
536
- ).void
537
- end
538
- attr_writer :operation
539
-
540
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
541
- sig do
542
- returns(
543
- T.nilable(
544
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
545
- )
546
- )
547
- end
548
- attr_reader :value
549
-
550
- sig do
551
- params(
552
- value:
553
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
554
- ).void
555
- end
556
- attr_writer :value
557
-
558
- sig do
559
- params(
560
- attribute:
561
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
562
- operation:
563
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
564
- value:
565
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
566
- ).returns(T.attached_class)
567
- end
568
- def self.new(
569
- # The attribute to target.
570
- #
571
- # The following attributes may be targeted:
572
- #
573
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
574
- # business by the types of goods or services it provides.
575
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
576
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
577
- # Netherlands Antilles.
578
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
579
- # the transaction.
580
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
581
- # (merchant).
582
- # - `DESCRIPTOR`: Short description of card acceptor.
583
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
584
- # fee field in the settlement/cardholder billing currency. This is the amount
585
- # the issuer should authorize against unless the issuer is paying the acquirer
586
- # fee on behalf of the cardholder.
587
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
588
- # given authentication. Scores are on a range of 0-999, with 0 representing the
589
- # lowest risk and 999 representing the highest risk. For Visa transactions,
590
- # where the raw score has a range of 0-99, Lithic will normalize the score by
591
- # multiplying the raw score by 10x.
592
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
593
- attribute: nil,
594
- # The operation to apply to the attribute
595
- operation: nil,
596
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
597
- value: nil
598
- )
599
- end
600
-
601
- sig do
602
- override.returns(
603
- {
604
- attribute:
605
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol,
606
- operation:
607
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol,
608
- value:
609
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
610
- }
611
- )
612
- end
613
- def to_hash
614
- end
615
-
616
- # The attribute to target.
617
- #
618
- # The following attributes may be targeted:
619
- #
620
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
621
- # business by the types of goods or services it provides.
622
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
623
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
624
- # Netherlands Antilles.
625
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
626
- # the transaction.
627
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
628
- # (merchant).
629
- # - `DESCRIPTOR`: Short description of card acceptor.
630
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
631
- # fee field in the settlement/cardholder billing currency. This is the amount
632
- # the issuer should authorize against unless the issuer is paying the acquirer
633
- # fee on behalf of the cardholder.
634
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
635
- # given authentication. Scores are on a range of 0-999, with 0 representing the
636
- # lowest risk and 999 representing the highest risk. For Visa transactions,
637
- # where the raw score has a range of 0-99, Lithic will normalize the score by
638
- # multiplying the raw score by 10x.
639
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
640
- module Attribute
641
- extend Lithic::Internal::Type::Enum
642
-
643
- TaggedSymbol =
644
- T.type_alias do
645
- T.all(
646
- Symbol,
647
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute
648
- )
649
- end
650
- OrSymbol = T.type_alias { T.any(Symbol, String) }
651
-
652
- MCC =
653
- T.let(
654
- :MCC,
655
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
656
- )
657
- COUNTRY =
658
- T.let(
659
- :COUNTRY,
660
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
661
- )
662
- CURRENCY =
663
- T.let(
664
- :CURRENCY,
665
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
666
- )
667
- MERCHANT_ID =
668
- T.let(
669
- :MERCHANT_ID,
670
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
671
- )
672
- DESCRIPTOR =
673
- T.let(
674
- :DESCRIPTOR,
675
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
676
- )
677
- TRANSACTION_AMOUNT =
678
- T.let(
679
- :TRANSACTION_AMOUNT,
680
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
681
- )
682
- RISK_SCORE =
683
- T.let(
684
- :RISK_SCORE,
685
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
686
- )
687
- MESSAGE_CATEGORY =
688
- T.let(
689
- :MESSAGE_CATEGORY,
690
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
691
- )
692
-
693
- sig do
694
- override.returns(
695
- T::Array[
696
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
697
- ]
698
- )
699
- end
700
- def self.values
701
- end
702
- end
703
-
704
- # The operation to apply to the attribute
705
- module Operation
706
- extend Lithic::Internal::Type::Enum
707
-
708
- TaggedSymbol =
709
- T.type_alias do
710
- T.all(
711
- Symbol,
712
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation
713
- )
714
- end
715
- OrSymbol = T.type_alias { T.any(Symbol, String) }
716
-
717
- IS_ONE_OF =
718
- T.let(
719
- :IS_ONE_OF,
720
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
721
- )
722
- IS_NOT_ONE_OF =
723
- T.let(
724
- :IS_NOT_ONE_OF,
725
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
726
- )
727
- MATCHES =
728
- T.let(
729
- :MATCHES,
730
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
731
- )
732
- DOES_NOT_MATCH =
733
- T.let(
734
- :DOES_NOT_MATCH,
735
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
736
- )
737
- IS_GREATER_THAN =
738
- T.let(
739
- :IS_GREATER_THAN,
740
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
741
- )
742
- IS_LESS_THAN =
743
- T.let(
744
- :IS_LESS_THAN,
745
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
746
- )
747
-
748
- sig do
749
- override.returns(
750
- T::Array[
751
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
752
- ]
753
- )
754
- end
755
- def self.values
756
- end
757
- end
758
-
759
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
760
- module Value
761
- extend Lithic::Internal::Type::Union
762
-
763
- Variants =
764
- T.type_alias { T.any(String, Integer, T::Array[String]) }
765
-
766
- sig do
767
- override.returns(
768
- T::Array[
769
- Lithic::Models::AuthRules::V2PromoteResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
770
- ]
771
- )
772
- end
773
- def self.variants
774
- end
775
-
776
- StringArray =
777
- T.let(
778
- Lithic::Internal::Type::ArrayOf[String],
779
- Lithic::Internal::Type::Converter
780
- )
781
- end
782
- end
783
- end
784
-
785
261
  sig do
786
262
  override.returns(
787
263
  T::Array[
@@ -822,8 +298,8 @@ module Lithic
822
298
  T.any(
823
299
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
824
300
  Lithic::AuthRules::VelocityLimitParams::OrHash,
825
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters::OrHash,
826
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::OrHash
301
+ Lithic::AuthRules::MerchantLockParameters::OrHash,
302
+ Lithic::AuthRules::Conditional3DSActionParameters::OrHash
827
303
  ),
828
304
  version: Integer
829
305
  ).returns(T.attached_class)
@@ -858,535 +334,11 @@ module Lithic
858
334
  T.any(
859
335
  Lithic::AuthRules::ConditionalBlockParameters,
860
336
  Lithic::AuthRules::VelocityLimitParams,
861
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters,
862
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters
337
+ Lithic::AuthRules::MerchantLockParameters,
338
+ Lithic::AuthRules::Conditional3DSActionParameters
863
339
  )
864
340
  end
865
341
 
866
- class MerchantLockParameters < Lithic::Internal::Type::BaseModel
867
- OrHash =
868
- T.type_alias do
869
- T.any(
870
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters,
871
- Lithic::Internal::AnyHash
872
- )
873
- end
874
-
875
- # A list of merchant locks defining specific merchants or groups of merchants
876
- # (based on descriptors or IDs) that the lock applies to.
877
- sig do
878
- returns(
879
- T::Array[
880
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant
881
- ]
882
- )
883
- end
884
- attr_accessor :merchants
885
-
886
- sig do
887
- params(
888
- merchants:
889
- T::Array[
890
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant::OrHash
891
- ]
892
- ).returns(T.attached_class)
893
- end
894
- def self.new(
895
- # A list of merchant locks defining specific merchants or groups of merchants
896
- # (based on descriptors or IDs) that the lock applies to.
897
- merchants:
898
- )
899
- end
900
-
901
- sig do
902
- override.returns(
903
- {
904
- merchants:
905
- T::Array[
906
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant
907
- ]
908
- }
909
- )
910
- end
911
- def to_hash
912
- end
913
-
914
- class Merchant < Lithic::Internal::Type::BaseModel
915
- OrHash =
916
- T.type_alias do
917
- T.any(
918
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant,
919
- Lithic::Internal::AnyHash
920
- )
921
- end
922
-
923
- # A comment or explanation about the merchant, used internally for rule management
924
- # purposes.
925
- sig { returns(T.nilable(String)) }
926
- attr_reader :comment
927
-
928
- sig { params(comment: String).void }
929
- attr_writer :comment
930
-
931
- # Short description of the merchant, often used to provide more human-readable
932
- # context about the transaction merchant. This is typically the name or label
933
- # shown on transaction summaries.
934
- sig { returns(T.nilable(String)) }
935
- attr_reader :descriptor
936
-
937
- sig { params(descriptor: String).void }
938
- attr_writer :descriptor
939
-
940
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
941
- # attribute specifies the merchant entity that will be locked or referenced for
942
- # authorization rules.
943
- sig { returns(T.nilable(String)) }
944
- attr_reader :merchant_id
945
-
946
- sig { params(merchant_id: String).void }
947
- attr_writer :merchant_id
948
-
949
- # Represents a specific merchant lock based on their ID or descriptor. Each
950
- # merchant object allows transaction rules to work at a granular level and
951
- # requires at least one of merchant_id or descriptor.
952
- sig do
953
- params(
954
- comment: String,
955
- descriptor: String,
956
- merchant_id: String
957
- ).returns(T.attached_class)
958
- end
959
- def self.new(
960
- # A comment or explanation about the merchant, used internally for rule management
961
- # purposes.
962
- comment: nil,
963
- # Short description of the merchant, often used to provide more human-readable
964
- # context about the transaction merchant. This is typically the name or label
965
- # shown on transaction summaries.
966
- descriptor: nil,
967
- # Unique alphanumeric identifier for the payment card acceptor (merchant). This
968
- # attribute specifies the merchant entity that will be locked or referenced for
969
- # authorization rules.
970
- merchant_id: nil
971
- )
972
- end
973
-
974
- sig do
975
- override.returns(
976
- { comment: String, descriptor: String, merchant_id: String }
977
- )
978
- end
979
- def to_hash
980
- end
981
- end
982
- end
983
-
984
- class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
985
- OrHash =
986
- T.type_alias do
987
- T.any(
988
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters,
989
- Lithic::Internal::AnyHash
990
- )
991
- end
992
-
993
- # The action to take if the conditions are met.
994
- sig do
995
- returns(
996
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
997
- )
998
- end
999
- attr_accessor :action
1000
-
1001
- sig do
1002
- returns(
1003
- T::Array[
1004
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition
1005
- ]
1006
- )
1007
- end
1008
- attr_accessor :conditions
1009
-
1010
- sig do
1011
- params(
1012
- action:
1013
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
1014
- conditions:
1015
- T::Array[
1016
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::OrHash
1017
- ]
1018
- ).returns(T.attached_class)
1019
- end
1020
- def self.new(
1021
- # The action to take if the conditions are met.
1022
- action:,
1023
- conditions:
1024
- )
1025
- end
1026
-
1027
- sig do
1028
- override.returns(
1029
- {
1030
- action:
1031
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol,
1032
- conditions:
1033
- T::Array[
1034
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition
1035
- ]
1036
- }
1037
- )
1038
- end
1039
- def to_hash
1040
- end
1041
-
1042
- # The action to take if the conditions are met.
1043
- module Action
1044
- extend Lithic::Internal::Type::Enum
1045
-
1046
- TaggedSymbol =
1047
- T.type_alias do
1048
- T.all(
1049
- Symbol,
1050
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action
1051
- )
1052
- end
1053
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1054
-
1055
- DECLINE =
1056
- T.let(
1057
- :DECLINE,
1058
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1059
- )
1060
- CHALLENGE =
1061
- T.let(
1062
- :CHALLENGE,
1063
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1064
- )
1065
-
1066
- sig do
1067
- override.returns(
1068
- T::Array[
1069
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1070
- ]
1071
- )
1072
- end
1073
- def self.values
1074
- end
1075
- end
1076
-
1077
- class Condition < Lithic::Internal::Type::BaseModel
1078
- OrHash =
1079
- T.type_alias do
1080
- T.any(
1081
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition,
1082
- Lithic::Internal::AnyHash
1083
- )
1084
- end
1085
-
1086
- # The attribute to target.
1087
- #
1088
- # The following attributes may be targeted:
1089
- #
1090
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1091
- # business by the types of goods or services it provides.
1092
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1093
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1094
- # Netherlands Antilles.
1095
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1096
- # the transaction.
1097
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1098
- # (merchant).
1099
- # - `DESCRIPTOR`: Short description of card acceptor.
1100
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1101
- # fee field in the settlement/cardholder billing currency. This is the amount
1102
- # the issuer should authorize against unless the issuer is paying the acquirer
1103
- # fee on behalf of the cardholder.
1104
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1105
- # given authentication. Scores are on a range of 0-999, with 0 representing the
1106
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1107
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1108
- # multiplying the raw score by 10x.
1109
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1110
- sig do
1111
- returns(
1112
- T.nilable(
1113
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1114
- )
1115
- )
1116
- end
1117
- attr_reader :attribute
1118
-
1119
- sig do
1120
- params(
1121
- attribute:
1122
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
1123
- ).void
1124
- end
1125
- attr_writer :attribute
1126
-
1127
- # The operation to apply to the attribute
1128
- sig do
1129
- returns(
1130
- T.nilable(
1131
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1132
- )
1133
- )
1134
- end
1135
- attr_reader :operation
1136
-
1137
- sig do
1138
- params(
1139
- operation:
1140
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
1141
- ).void
1142
- end
1143
- attr_writer :operation
1144
-
1145
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1146
- sig do
1147
- returns(
1148
- T.nilable(
1149
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1150
- )
1151
- )
1152
- end
1153
- attr_reader :value
1154
-
1155
- sig do
1156
- params(
1157
- value:
1158
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1159
- ).void
1160
- end
1161
- attr_writer :value
1162
-
1163
- sig do
1164
- params(
1165
- attribute:
1166
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
1167
- operation:
1168
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
1169
- value:
1170
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1171
- ).returns(T.attached_class)
1172
- end
1173
- def self.new(
1174
- # The attribute to target.
1175
- #
1176
- # The following attributes may be targeted:
1177
- #
1178
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1179
- # business by the types of goods or services it provides.
1180
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1181
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1182
- # Netherlands Antilles.
1183
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1184
- # the transaction.
1185
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1186
- # (merchant).
1187
- # - `DESCRIPTOR`: Short description of card acceptor.
1188
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1189
- # fee field in the settlement/cardholder billing currency. This is the amount
1190
- # the issuer should authorize against unless the issuer is paying the acquirer
1191
- # fee on behalf of the cardholder.
1192
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1193
- # given authentication. Scores are on a range of 0-999, with 0 representing the
1194
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1195
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1196
- # multiplying the raw score by 10x.
1197
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1198
- attribute: nil,
1199
- # The operation to apply to the attribute
1200
- operation: nil,
1201
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1202
- value: nil
1203
- )
1204
- end
1205
-
1206
- sig do
1207
- override.returns(
1208
- {
1209
- attribute:
1210
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol,
1211
- operation:
1212
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol,
1213
- value:
1214
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1215
- }
1216
- )
1217
- end
1218
- def to_hash
1219
- end
1220
-
1221
- # The attribute to target.
1222
- #
1223
- # The following attributes may be targeted:
1224
- #
1225
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1226
- # business by the types of goods or services it provides.
1227
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1228
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1229
- # Netherlands Antilles.
1230
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1231
- # the transaction.
1232
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1233
- # (merchant).
1234
- # - `DESCRIPTOR`: Short description of card acceptor.
1235
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1236
- # fee field in the settlement/cardholder billing currency. This is the amount
1237
- # the issuer should authorize against unless the issuer is paying the acquirer
1238
- # fee on behalf of the cardholder.
1239
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1240
- # given authentication. Scores are on a range of 0-999, with 0 representing the
1241
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1242
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1243
- # multiplying the raw score by 10x.
1244
- # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1245
- module Attribute
1246
- extend Lithic::Internal::Type::Enum
1247
-
1248
- TaggedSymbol =
1249
- T.type_alias do
1250
- T.all(
1251
- Symbol,
1252
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute
1253
- )
1254
- end
1255
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1256
-
1257
- MCC =
1258
- T.let(
1259
- :MCC,
1260
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1261
- )
1262
- COUNTRY =
1263
- T.let(
1264
- :COUNTRY,
1265
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1266
- )
1267
- CURRENCY =
1268
- T.let(
1269
- :CURRENCY,
1270
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1271
- )
1272
- MERCHANT_ID =
1273
- T.let(
1274
- :MERCHANT_ID,
1275
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1276
- )
1277
- DESCRIPTOR =
1278
- T.let(
1279
- :DESCRIPTOR,
1280
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1281
- )
1282
- TRANSACTION_AMOUNT =
1283
- T.let(
1284
- :TRANSACTION_AMOUNT,
1285
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1286
- )
1287
- RISK_SCORE =
1288
- T.let(
1289
- :RISK_SCORE,
1290
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1291
- )
1292
- MESSAGE_CATEGORY =
1293
- T.let(
1294
- :MESSAGE_CATEGORY,
1295
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1296
- )
1297
-
1298
- sig do
1299
- override.returns(
1300
- T::Array[
1301
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1302
- ]
1303
- )
1304
- end
1305
- def self.values
1306
- end
1307
- end
1308
-
1309
- # The operation to apply to the attribute
1310
- module Operation
1311
- extend Lithic::Internal::Type::Enum
1312
-
1313
- TaggedSymbol =
1314
- T.type_alias do
1315
- T.all(
1316
- Symbol,
1317
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation
1318
- )
1319
- end
1320
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1321
-
1322
- IS_ONE_OF =
1323
- T.let(
1324
- :IS_ONE_OF,
1325
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1326
- )
1327
- IS_NOT_ONE_OF =
1328
- T.let(
1329
- :IS_NOT_ONE_OF,
1330
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1331
- )
1332
- MATCHES =
1333
- T.let(
1334
- :MATCHES,
1335
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1336
- )
1337
- DOES_NOT_MATCH =
1338
- T.let(
1339
- :DOES_NOT_MATCH,
1340
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1341
- )
1342
- IS_GREATER_THAN =
1343
- T.let(
1344
- :IS_GREATER_THAN,
1345
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1346
- )
1347
- IS_LESS_THAN =
1348
- T.let(
1349
- :IS_LESS_THAN,
1350
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1351
- )
1352
-
1353
- sig do
1354
- override.returns(
1355
- T::Array[
1356
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1357
- ]
1358
- )
1359
- end
1360
- def self.values
1361
- end
1362
- end
1363
-
1364
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1365
- module Value
1366
- extend Lithic::Internal::Type::Union
1367
-
1368
- Variants =
1369
- T.type_alias { T.any(String, Integer, T::Array[String]) }
1370
-
1371
- sig do
1372
- override.returns(
1373
- T::Array[
1374
- Lithic::Models::AuthRules::V2PromoteResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1375
- ]
1376
- )
1377
- end
1378
- def self.variants
1379
- end
1380
-
1381
- StringArray =
1382
- T.let(
1383
- Lithic::Internal::Type::ArrayOf[String],
1384
- Lithic::Internal::Type::Converter
1385
- )
1386
- end
1387
- end
1388
- end
1389
-
1390
342
  sig do
1391
343
  override.returns(
1392
344
  T::Array[