lithic 0.1.0.pre.alpha.29 → 0.1.0.pre.alpha.31

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/type/enum.rb +6 -3
  5. data/lib/lithic/internal/type/union.rb +5 -2
  6. data/lib/lithic/internal/util.rb +8 -9
  7. data/lib/lithic/models/account_update_params.rb +4 -4
  8. data/lib/lithic/models/auth_rules/v2/backtest_results.rb +100 -28
  9. data/lib/lithic/models/auth_rules/v2_apply_response.rb +401 -10
  10. data/lib/lithic/models/auth_rules/v2_create_params.rb +205 -6
  11. data/lib/lithic/models/auth_rules/v2_create_response.rb +401 -10
  12. data/lib/lithic/models/auth_rules/v2_draft_params.rb +186 -3
  13. data/lib/lithic/models/auth_rules/v2_draft_response.rb +401 -10
  14. data/lib/lithic/models/auth_rules/v2_list_params.rb +27 -8
  15. data/lib/lithic/models/auth_rules/v2_list_response.rb +401 -10
  16. data/lib/lithic/models/auth_rules/v2_promote_response.rb +401 -10
  17. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +401 -10
  18. data/lib/lithic/models/auth_rules/v2_update_response.rb +401 -10
  19. data/lib/lithic/models/funding_event_list_response.rb +26 -22
  20. data/lib/lithic/models/funding_event_retrieve_response.rb +26 -22
  21. data/lib/lithic/models/payment.rb +2 -2
  22. data/lib/lithic/models/required_document.rb +2 -2
  23. data/lib/lithic/models/transaction.rb +2 -1
  24. data/lib/lithic/models.rb +4 -4
  25. data/lib/lithic/resources/auth_rules/v2/backtests.rb +12 -13
  26. data/lib/lithic/resources/auth_rules/v2.rb +45 -39
  27. data/lib/lithic/resources/transfers.rb +2 -0
  28. data/lib/lithic/version.rb +1 -1
  29. data/rbi/lithic/internal/util.rbi +2 -0
  30. data/rbi/lithic/models/account_update_params.rbi +6 -6
  31. data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +186 -24
  32. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +895 -7
  33. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +442 -8
  34. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +895 -7
  35. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +414 -4
  36. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +895 -7
  37. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +60 -7
  38. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +895 -7
  39. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +895 -7
  40. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +895 -7
  41. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +895 -7
  42. data/rbi/lithic/models/funding_event_list_response.rbi +35 -28
  43. data/rbi/lithic/models/funding_event_retrieve_response.rbi +35 -28
  44. data/rbi/lithic/models/payment.rbi +3 -3
  45. data/rbi/lithic/models/required_document.rbi +2 -2
  46. data/rbi/lithic/models/transaction.rbi +4 -2
  47. data/rbi/lithic/resources/accounts.rbi +2 -2
  48. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +12 -13
  49. data/rbi/lithic/resources/auth_rules/v2.rbi +49 -38
  50. data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +66 -2
  51. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +280 -1
  52. data/sig/lithic/models/auth_rules/v2_create_params.rbs +135 -1
  53. data/sig/lithic/models/auth_rules/v2_create_response.rbs +280 -1
  54. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +129 -0
  55. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +280 -1
  56. data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
  57. data/sig/lithic/models/auth_rules/v2_list_response.rbs +280 -1
  58. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +280 -1
  59. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +280 -1
  60. data/sig/lithic/models/auth_rules/v2_update_response.rbs +280 -1
  61. data/sig/lithic/models/funding_event_list_response.rbs +18 -11
  62. data/sig/lithic/models/funding_event_retrieve_response.rbs +18 -11
  63. data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
  64. metadata +2 -2
@@ -58,6 +58,14 @@ module Lithic
58
58
  end
59
59
  attr_writer :draft_version
60
60
 
61
+ # The type of event stream the Auth rule applies to.
62
+ sig do
63
+ returns(
64
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
65
+ )
66
+ end
67
+ attr_accessor :event_stream
68
+
61
69
  # Auth Rule Name
62
70
  sig { returns(T.nilable(String)) }
63
71
  attr_accessor :name
@@ -74,7 +82,13 @@ module Lithic
74
82
  end
75
83
  attr_accessor :state
76
84
 
77
- # The type of Auth Rule
85
+ # The type of Auth Rule. Effectively determines the event stream during which it
86
+ # will be evaluated.
87
+ #
88
+ # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
89
+ # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
90
+ # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
91
+ # - `CONDITIONAL_3DS_ACTION`: THREE_DS_AUTHENTICATION event stream.
78
92
  sig do
79
93
  returns(Lithic::Models::AuthRules::V2ListResponse::Type::TaggedSymbol)
80
94
  end
@@ -100,6 +114,8 @@ module Lithic
100
114
  T.nilable(
101
115
  Lithic::Models::AuthRules::V2ListResponse::DraftVersion::OrHash
102
116
  ),
117
+ event_stream:
118
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::OrSymbol,
103
119
  name: T.nilable(String),
104
120
  program_level: T::Boolean,
105
121
  state: Lithic::Models::AuthRules::V2ListResponse::State::OrSymbol,
@@ -116,13 +132,21 @@ module Lithic
116
132
  card_tokens:,
117
133
  current_version:,
118
134
  draft_version:,
135
+ # The type of event stream the Auth rule applies to.
136
+ event_stream:,
119
137
  # Auth Rule Name
120
138
  name:,
121
139
  # Whether the Auth Rule applies to all authorizations on the card program.
122
140
  program_level:,
123
141
  # The state of the Auth Rule
124
142
  state:,
125
- # The type of Auth Rule
143
+ # The type of Auth Rule. Effectively determines the event stream during which it
144
+ # will be evaluated.
145
+ #
146
+ # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
147
+ # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
148
+ # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
149
+ # - `CONDITIONAL_3DS_ACTION`: THREE_DS_AUTHENTICATION event stream.
126
150
  type:,
127
151
  # Card tokens to which the Auth Rule does not apply.
128
152
  excluded_card_tokens: nil
@@ -143,6 +167,8 @@ module Lithic
143
167
  T.nilable(
144
168
  Lithic::Models::AuthRules::V2ListResponse::DraftVersion
145
169
  ),
170
+ event_stream:
171
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol,
146
172
  name: T.nilable(String),
147
173
  program_level: T::Boolean,
148
174
  state:
@@ -184,7 +210,8 @@ module Lithic
184
210
  T.any(
185
211
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
186
212
  Lithic::AuthRules::VelocityLimitParams::OrHash,
187
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters::OrHash
213
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters::OrHash,
214
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::OrHash
188
215
  ),
189
216
  version: Integer
190
217
  ).returns(T.attached_class)
@@ -219,7 +246,8 @@ module Lithic
219
246
  T.any(
220
247
  Lithic::AuthRules::ConditionalBlockParameters,
221
248
  Lithic::AuthRules::VelocityLimitParams,
222
- Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters
249
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::MerchantLockParameters,
250
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters
223
251
  )
224
252
  end
225
253
 
@@ -341,6 +369,412 @@ module Lithic
341
369
  end
342
370
  end
343
371
 
372
+ class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
373
+ OrHash =
374
+ T.type_alias do
375
+ T.any(
376
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters,
377
+ Lithic::Internal::AnyHash
378
+ )
379
+ end
380
+
381
+ # The action to take if the conditions are met.
382
+ sig do
383
+ returns(
384
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
385
+ )
386
+ end
387
+ attr_accessor :action
388
+
389
+ sig do
390
+ returns(
391
+ T::Array[
392
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition
393
+ ]
394
+ )
395
+ end
396
+ attr_accessor :conditions
397
+
398
+ sig do
399
+ params(
400
+ action:
401
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
402
+ conditions:
403
+ T::Array[
404
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::OrHash
405
+ ]
406
+ ).returns(T.attached_class)
407
+ end
408
+ def self.new(
409
+ # The action to take if the conditions are met.
410
+ action:,
411
+ conditions:
412
+ )
413
+ end
414
+
415
+ sig do
416
+ override.returns(
417
+ {
418
+ action:
419
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol,
420
+ conditions:
421
+ T::Array[
422
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition
423
+ ]
424
+ }
425
+ )
426
+ end
427
+ def to_hash
428
+ end
429
+
430
+ # The action to take if the conditions are met.
431
+ module Action
432
+ extend Lithic::Internal::Type::Enum
433
+
434
+ TaggedSymbol =
435
+ T.type_alias do
436
+ T.all(
437
+ Symbol,
438
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action
439
+ )
440
+ end
441
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
442
+
443
+ DECLINE =
444
+ T.let(
445
+ :DECLINE,
446
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
447
+ )
448
+ CHALLENGE =
449
+ T.let(
450
+ :CHALLENGE,
451
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
452
+ )
453
+
454
+ sig do
455
+ override.returns(
456
+ T::Array[
457
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
458
+ ]
459
+ )
460
+ end
461
+ def self.values
462
+ end
463
+ end
464
+
465
+ class Condition < Lithic::Internal::Type::BaseModel
466
+ OrHash =
467
+ T.type_alias do
468
+ T.any(
469
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition,
470
+ Lithic::Internal::AnyHash
471
+ )
472
+ end
473
+
474
+ # The attribute to target.
475
+ #
476
+ # The following attributes may be targeted:
477
+ #
478
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
479
+ # business by the types of goods or services it provides.
480
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
481
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
482
+ # Netherlands Antilles.
483
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
484
+ # the transaction.
485
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
486
+ # (merchant).
487
+ # - `DESCRIPTOR`: Short description of card acceptor.
488
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
489
+ # fee field in the settlement/cardholder billing currency. This is the amount
490
+ # the issuer should authorize against unless the issuer is paying the acquirer
491
+ # fee on behalf of the cardholder.
492
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
493
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
494
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
495
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
496
+ # multiplying the raw score by 10x.
497
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
498
+ sig do
499
+ returns(
500
+ T.nilable(
501
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
502
+ )
503
+ )
504
+ end
505
+ attr_reader :attribute
506
+
507
+ sig do
508
+ params(
509
+ attribute:
510
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
511
+ ).void
512
+ end
513
+ attr_writer :attribute
514
+
515
+ # The operation to apply to the attribute
516
+ sig do
517
+ returns(
518
+ T.nilable(
519
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
520
+ )
521
+ )
522
+ end
523
+ attr_reader :operation
524
+
525
+ sig do
526
+ params(
527
+ operation:
528
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
529
+ ).void
530
+ end
531
+ attr_writer :operation
532
+
533
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
534
+ sig do
535
+ returns(
536
+ T.nilable(
537
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
538
+ )
539
+ )
540
+ end
541
+ attr_reader :value
542
+
543
+ sig do
544
+ params(
545
+ value:
546
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
547
+ ).void
548
+ end
549
+ attr_writer :value
550
+
551
+ sig do
552
+ params(
553
+ attribute:
554
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
555
+ operation:
556
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
557
+ value:
558
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
559
+ ).returns(T.attached_class)
560
+ end
561
+ def self.new(
562
+ # The attribute to target.
563
+ #
564
+ # The following attributes may be targeted:
565
+ #
566
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
567
+ # business by the types of goods or services it provides.
568
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
569
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
570
+ # Netherlands Antilles.
571
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
572
+ # the transaction.
573
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
574
+ # (merchant).
575
+ # - `DESCRIPTOR`: Short description of card acceptor.
576
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
577
+ # fee field in the settlement/cardholder billing currency. This is the amount
578
+ # the issuer should authorize against unless the issuer is paying the acquirer
579
+ # fee on behalf of the cardholder.
580
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
581
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
582
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
583
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
584
+ # multiplying the raw score by 10x.
585
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
586
+ attribute: nil,
587
+ # The operation to apply to the attribute
588
+ operation: nil,
589
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
590
+ value: nil
591
+ )
592
+ end
593
+
594
+ sig do
595
+ override.returns(
596
+ {
597
+ attribute:
598
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol,
599
+ operation:
600
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol,
601
+ value:
602
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
603
+ }
604
+ )
605
+ end
606
+ def to_hash
607
+ end
608
+
609
+ # The attribute to target.
610
+ #
611
+ # The following attributes may be targeted:
612
+ #
613
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
614
+ # business by the types of goods or services it provides.
615
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
616
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
617
+ # Netherlands Antilles.
618
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
619
+ # the transaction.
620
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
621
+ # (merchant).
622
+ # - `DESCRIPTOR`: Short description of card acceptor.
623
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
624
+ # fee field in the settlement/cardholder billing currency. This is the amount
625
+ # the issuer should authorize against unless the issuer is paying the acquirer
626
+ # fee on behalf of the cardholder.
627
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
628
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
629
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
630
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
631
+ # multiplying the raw score by 10x.
632
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
633
+ module Attribute
634
+ extend Lithic::Internal::Type::Enum
635
+
636
+ TaggedSymbol =
637
+ T.type_alias do
638
+ T.all(
639
+ Symbol,
640
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute
641
+ )
642
+ end
643
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
644
+
645
+ MCC =
646
+ T.let(
647
+ :MCC,
648
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
649
+ )
650
+ COUNTRY =
651
+ T.let(
652
+ :COUNTRY,
653
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
654
+ )
655
+ CURRENCY =
656
+ T.let(
657
+ :CURRENCY,
658
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
659
+ )
660
+ MERCHANT_ID =
661
+ T.let(
662
+ :MERCHANT_ID,
663
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
664
+ )
665
+ DESCRIPTOR =
666
+ T.let(
667
+ :DESCRIPTOR,
668
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
669
+ )
670
+ TRANSACTION_AMOUNT =
671
+ T.let(
672
+ :TRANSACTION_AMOUNT,
673
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
674
+ )
675
+ RISK_SCORE =
676
+ T.let(
677
+ :RISK_SCORE,
678
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
679
+ )
680
+ MESSAGE_CATEGORY =
681
+ T.let(
682
+ :MESSAGE_CATEGORY,
683
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
684
+ )
685
+
686
+ sig do
687
+ override.returns(
688
+ T::Array[
689
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
690
+ ]
691
+ )
692
+ end
693
+ def self.values
694
+ end
695
+ end
696
+
697
+ # The operation to apply to the attribute
698
+ module Operation
699
+ extend Lithic::Internal::Type::Enum
700
+
701
+ TaggedSymbol =
702
+ T.type_alias do
703
+ T.all(
704
+ Symbol,
705
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation
706
+ )
707
+ end
708
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
709
+
710
+ IS_ONE_OF =
711
+ T.let(
712
+ :IS_ONE_OF,
713
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
714
+ )
715
+ IS_NOT_ONE_OF =
716
+ T.let(
717
+ :IS_NOT_ONE_OF,
718
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
719
+ )
720
+ MATCHES =
721
+ T.let(
722
+ :MATCHES,
723
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
724
+ )
725
+ DOES_NOT_MATCH =
726
+ T.let(
727
+ :DOES_NOT_MATCH,
728
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
729
+ )
730
+ IS_GREATER_THAN =
731
+ T.let(
732
+ :IS_GREATER_THAN,
733
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
734
+ )
735
+ IS_LESS_THAN =
736
+ T.let(
737
+ :IS_LESS_THAN,
738
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
739
+ )
740
+
741
+ sig do
742
+ override.returns(
743
+ T::Array[
744
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
745
+ ]
746
+ )
747
+ end
748
+ def self.values
749
+ end
750
+ end
751
+
752
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
753
+ module Value
754
+ extend Lithic::Internal::Type::Union
755
+
756
+ Variants =
757
+ T.type_alias { T.any(String, Integer, T::Array[String]) }
758
+
759
+ sig do
760
+ override.returns(
761
+ T::Array[
762
+ Lithic::Models::AuthRules::V2ListResponse::CurrentVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
763
+ ]
764
+ )
765
+ end
766
+ def self.variants
767
+ end
768
+
769
+ StringArray =
770
+ T.let(
771
+ Lithic::Internal::Type::ArrayOf[String],
772
+ Lithic::Internal::Type::Converter
773
+ )
774
+ end
775
+ end
776
+ end
777
+
344
778
  sig do
345
779
  override.returns(
346
780
  T::Array[
@@ -381,7 +815,8 @@ module Lithic
381
815
  T.any(
382
816
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
383
817
  Lithic::AuthRules::VelocityLimitParams::OrHash,
384
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters::OrHash
818
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters::OrHash,
819
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::OrHash
385
820
  ),
386
821
  version: Integer
387
822
  ).returns(T.attached_class)
@@ -416,7 +851,8 @@ module Lithic
416
851
  T.any(
417
852
  Lithic::AuthRules::ConditionalBlockParameters,
418
853
  Lithic::AuthRules::VelocityLimitParams,
419
- Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters
854
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::MerchantLockParameters,
855
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters
420
856
  )
421
857
  end
422
858
 
@@ -538,6 +974,412 @@ module Lithic
538
974
  end
539
975
  end
540
976
 
977
+ class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
978
+ OrHash =
979
+ T.type_alias do
980
+ T.any(
981
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters,
982
+ Lithic::Internal::AnyHash
983
+ )
984
+ end
985
+
986
+ # The action to take if the conditions are met.
987
+ sig do
988
+ returns(
989
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
990
+ )
991
+ end
992
+ attr_accessor :action
993
+
994
+ sig do
995
+ returns(
996
+ T::Array[
997
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition
998
+ ]
999
+ )
1000
+ end
1001
+ attr_accessor :conditions
1002
+
1003
+ sig do
1004
+ params(
1005
+ action:
1006
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
1007
+ conditions:
1008
+ T::Array[
1009
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::OrHash
1010
+ ]
1011
+ ).returns(T.attached_class)
1012
+ end
1013
+ def self.new(
1014
+ # The action to take if the conditions are met.
1015
+ action:,
1016
+ conditions:
1017
+ )
1018
+ end
1019
+
1020
+ sig do
1021
+ override.returns(
1022
+ {
1023
+ action:
1024
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol,
1025
+ conditions:
1026
+ T::Array[
1027
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition
1028
+ ]
1029
+ }
1030
+ )
1031
+ end
1032
+ def to_hash
1033
+ end
1034
+
1035
+ # The action to take if the conditions are met.
1036
+ module Action
1037
+ extend Lithic::Internal::Type::Enum
1038
+
1039
+ TaggedSymbol =
1040
+ T.type_alias do
1041
+ T.all(
1042
+ Symbol,
1043
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action
1044
+ )
1045
+ end
1046
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1047
+
1048
+ DECLINE =
1049
+ T.let(
1050
+ :DECLINE,
1051
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1052
+ )
1053
+ CHALLENGE =
1054
+ T.let(
1055
+ :CHALLENGE,
1056
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1057
+ )
1058
+
1059
+ sig do
1060
+ override.returns(
1061
+ T::Array[
1062
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
1063
+ ]
1064
+ )
1065
+ end
1066
+ def self.values
1067
+ end
1068
+ end
1069
+
1070
+ class Condition < Lithic::Internal::Type::BaseModel
1071
+ OrHash =
1072
+ T.type_alias do
1073
+ T.any(
1074
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition,
1075
+ Lithic::Internal::AnyHash
1076
+ )
1077
+ end
1078
+
1079
+ # The attribute to target.
1080
+ #
1081
+ # The following attributes may be targeted:
1082
+ #
1083
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1084
+ # business by the types of goods or services it provides.
1085
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1086
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1087
+ # Netherlands Antilles.
1088
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1089
+ # the transaction.
1090
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1091
+ # (merchant).
1092
+ # - `DESCRIPTOR`: Short description of card acceptor.
1093
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1094
+ # fee field in the settlement/cardholder billing currency. This is the amount
1095
+ # the issuer should authorize against unless the issuer is paying the acquirer
1096
+ # fee on behalf of the cardholder.
1097
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1098
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
1099
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
1100
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
1101
+ # multiplying the raw score by 10x.
1102
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1103
+ sig do
1104
+ returns(
1105
+ T.nilable(
1106
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1107
+ )
1108
+ )
1109
+ end
1110
+ attr_reader :attribute
1111
+
1112
+ sig do
1113
+ params(
1114
+ attribute:
1115
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
1116
+ ).void
1117
+ end
1118
+ attr_writer :attribute
1119
+
1120
+ # The operation to apply to the attribute
1121
+ sig do
1122
+ returns(
1123
+ T.nilable(
1124
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1125
+ )
1126
+ )
1127
+ end
1128
+ attr_reader :operation
1129
+
1130
+ sig do
1131
+ params(
1132
+ operation:
1133
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
1134
+ ).void
1135
+ end
1136
+ attr_writer :operation
1137
+
1138
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1139
+ sig do
1140
+ returns(
1141
+ T.nilable(
1142
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1143
+ )
1144
+ )
1145
+ end
1146
+ attr_reader :value
1147
+
1148
+ sig do
1149
+ params(
1150
+ value:
1151
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1152
+ ).void
1153
+ end
1154
+ attr_writer :value
1155
+
1156
+ sig do
1157
+ params(
1158
+ attribute:
1159
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
1160
+ operation:
1161
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
1162
+ value:
1163
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1164
+ ).returns(T.attached_class)
1165
+ end
1166
+ def self.new(
1167
+ # The attribute to target.
1168
+ #
1169
+ # The following attributes may be targeted:
1170
+ #
1171
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1172
+ # business by the types of goods or services it provides.
1173
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1174
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1175
+ # Netherlands Antilles.
1176
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1177
+ # the transaction.
1178
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1179
+ # (merchant).
1180
+ # - `DESCRIPTOR`: Short description of card acceptor.
1181
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1182
+ # fee field in the settlement/cardholder billing currency. This is the amount
1183
+ # the issuer should authorize against unless the issuer is paying the acquirer
1184
+ # fee on behalf of the cardholder.
1185
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1186
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
1187
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
1188
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
1189
+ # multiplying the raw score by 10x.
1190
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1191
+ attribute: nil,
1192
+ # The operation to apply to the attribute
1193
+ operation: nil,
1194
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1195
+ value: nil
1196
+ )
1197
+ end
1198
+
1199
+ sig do
1200
+ override.returns(
1201
+ {
1202
+ attribute:
1203
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol,
1204
+ operation:
1205
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol,
1206
+ value:
1207
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1208
+ }
1209
+ )
1210
+ end
1211
+ def to_hash
1212
+ end
1213
+
1214
+ # The attribute to target.
1215
+ #
1216
+ # The following attributes may be targeted:
1217
+ #
1218
+ # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1219
+ # business by the types of goods or services it provides.
1220
+ # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1221
+ # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1222
+ # Netherlands Antilles.
1223
+ # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1224
+ # the transaction.
1225
+ # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1226
+ # (merchant).
1227
+ # - `DESCRIPTOR`: Short description of card acceptor.
1228
+ # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1229
+ # fee field in the settlement/cardholder billing currency. This is the amount
1230
+ # the issuer should authorize against unless the issuer is paying the acquirer
1231
+ # fee on behalf of the cardholder.
1232
+ # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1233
+ # given authentication. Scores are on a range of 0-999, with 0 representing the
1234
+ # lowest risk and 999 representing the highest risk. For Visa transactions,
1235
+ # where the raw score has a range of 0-99, Lithic will normalize the score by
1236
+ # multiplying the raw score by 10x.
1237
+ # - `MESSAGE_CATEGORY`: The category of the authentication being processed.
1238
+ module Attribute
1239
+ extend Lithic::Internal::Type::Enum
1240
+
1241
+ TaggedSymbol =
1242
+ T.type_alias do
1243
+ T.all(
1244
+ Symbol,
1245
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute
1246
+ )
1247
+ end
1248
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1249
+
1250
+ MCC =
1251
+ T.let(
1252
+ :MCC,
1253
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1254
+ )
1255
+ COUNTRY =
1256
+ T.let(
1257
+ :COUNTRY,
1258
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1259
+ )
1260
+ CURRENCY =
1261
+ T.let(
1262
+ :CURRENCY,
1263
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1264
+ )
1265
+ MERCHANT_ID =
1266
+ T.let(
1267
+ :MERCHANT_ID,
1268
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1269
+ )
1270
+ DESCRIPTOR =
1271
+ T.let(
1272
+ :DESCRIPTOR,
1273
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1274
+ )
1275
+ TRANSACTION_AMOUNT =
1276
+ T.let(
1277
+ :TRANSACTION_AMOUNT,
1278
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1279
+ )
1280
+ RISK_SCORE =
1281
+ T.let(
1282
+ :RISK_SCORE,
1283
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1284
+ )
1285
+ MESSAGE_CATEGORY =
1286
+ T.let(
1287
+ :MESSAGE_CATEGORY,
1288
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1289
+ )
1290
+
1291
+ sig do
1292
+ override.returns(
1293
+ T::Array[
1294
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
1295
+ ]
1296
+ )
1297
+ end
1298
+ def self.values
1299
+ end
1300
+ end
1301
+
1302
+ # The operation to apply to the attribute
1303
+ module Operation
1304
+ extend Lithic::Internal::Type::Enum
1305
+
1306
+ TaggedSymbol =
1307
+ T.type_alias do
1308
+ T.all(
1309
+ Symbol,
1310
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation
1311
+ )
1312
+ end
1313
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1314
+
1315
+ IS_ONE_OF =
1316
+ T.let(
1317
+ :IS_ONE_OF,
1318
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1319
+ )
1320
+ IS_NOT_ONE_OF =
1321
+ T.let(
1322
+ :IS_NOT_ONE_OF,
1323
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1324
+ )
1325
+ MATCHES =
1326
+ T.let(
1327
+ :MATCHES,
1328
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1329
+ )
1330
+ DOES_NOT_MATCH =
1331
+ T.let(
1332
+ :DOES_NOT_MATCH,
1333
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1334
+ )
1335
+ IS_GREATER_THAN =
1336
+ T.let(
1337
+ :IS_GREATER_THAN,
1338
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1339
+ )
1340
+ IS_LESS_THAN =
1341
+ T.let(
1342
+ :IS_LESS_THAN,
1343
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1344
+ )
1345
+
1346
+ sig do
1347
+ override.returns(
1348
+ T::Array[
1349
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
1350
+ ]
1351
+ )
1352
+ end
1353
+ def self.values
1354
+ end
1355
+ end
1356
+
1357
+ # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1358
+ module Value
1359
+ extend Lithic::Internal::Type::Union
1360
+
1361
+ Variants =
1362
+ T.type_alias { T.any(String, Integer, T::Array[String]) }
1363
+
1364
+ sig do
1365
+ override.returns(
1366
+ T::Array[
1367
+ Lithic::Models::AuthRules::V2ListResponse::DraftVersion::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
1368
+ ]
1369
+ )
1370
+ end
1371
+ def self.variants
1372
+ end
1373
+
1374
+ StringArray =
1375
+ T.let(
1376
+ Lithic::Internal::Type::ArrayOf[String],
1377
+ Lithic::Internal::Type::Converter
1378
+ )
1379
+ end
1380
+ end
1381
+ end
1382
+
541
1383
  sig do
542
1384
  override.returns(
543
1385
  T::Array[
@@ -550,6 +1392,41 @@ module Lithic
550
1392
  end
551
1393
  end
552
1394
 
1395
+ # The type of event stream the Auth rule applies to.
1396
+ module EventStream
1397
+ extend Lithic::Internal::Type::Enum
1398
+
1399
+ TaggedSymbol =
1400
+ T.type_alias do
1401
+ T.all(
1402
+ Symbol,
1403
+ Lithic::Models::AuthRules::V2ListResponse::EventStream
1404
+ )
1405
+ end
1406
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1407
+
1408
+ AUTHORIZATION =
1409
+ T.let(
1410
+ :AUTHORIZATION,
1411
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
1412
+ )
1413
+ THREE_DS_AUTHENTICATION =
1414
+ T.let(
1415
+ :THREE_DS_AUTHENTICATION,
1416
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
1417
+ )
1418
+
1419
+ sig do
1420
+ override.returns(
1421
+ T::Array[
1422
+ Lithic::Models::AuthRules::V2ListResponse::EventStream::TaggedSymbol
1423
+ ]
1424
+ )
1425
+ end
1426
+ def self.values
1427
+ end
1428
+ end
1429
+
553
1430
  # The state of the Auth Rule
554
1431
  module State
555
1432
  extend Lithic::Internal::Type::Enum
@@ -582,7 +1459,13 @@ module Lithic
582
1459
  end
583
1460
  end
584
1461
 
585
- # The type of Auth Rule
1462
+ # The type of Auth Rule. Effectively determines the event stream during which it
1463
+ # will be evaluated.
1464
+ #
1465
+ # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
1466
+ # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
1467
+ # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
1468
+ # - `CONDITIONAL_3DS_ACTION`: THREE_DS_AUTHENTICATION event stream.
586
1469
  module Type
587
1470
  extend Lithic::Internal::Type::Enum
588
1471
 
@@ -607,6 +1490,11 @@ module Lithic
607
1490
  :MERCHANT_LOCK,
608
1491
  Lithic::Models::AuthRules::V2ListResponse::Type::TaggedSymbol
609
1492
  )
1493
+ CONDITIONAL_3DS_ACTION =
1494
+ T.let(
1495
+ :CONDITIONAL_3DS_ACTION,
1496
+ Lithic::Models::AuthRules::V2ListResponse::Type::TaggedSymbol
1497
+ )
610
1498
 
611
1499
  sig do
612
1500
  override.returns(