lithic 0.4.0 → 0.5.0

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/README.md +10 -1
  4. data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
  5. data/lib/lithic/internal/util.rb +1 -1
  6. data/lib/lithic/models/account_holder.rb +14 -5
  7. data/lib/lithic/models/account_holder_create_params.rb +10 -1
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -0
  9. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +14 -5
  10. data/lib/lithic/models/account_holder_update_params.rb +10 -1
  11. data/lib/lithic/models/account_holder_update_response.rb +14 -5
  12. data/lib/lithic/models/account_holder_updated_webhook_event.rb +10 -1
  13. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +3 -3
  14. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +47 -21
  15. data/lib/lithic/models/auth_rules/v2_list_results_params.rb +70 -0
  16. data/lib/lithic/models/auth_rules/v2_list_results_response.rb +740 -0
  17. data/lib/lithic/models/book_transfer_create_params.rb +9 -1
  18. data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +178 -25
  19. data/lib/lithic/models/kyb.rb +10 -1
  20. data/lib/lithic/models/parsed_webhook_event.rb +10 -1
  21. data/lib/lithic/resources/account_holders.rb +6 -2
  22. data/lib/lithic/resources/auth_rules/v2.rb +42 -0
  23. data/lib/lithic/resources/book_transfers.rb +3 -1
  24. data/lib/lithic/version.rb +1 -1
  25. data/lib/lithic.rb +2 -0
  26. data/rbi/lithic/internal/util.rbi +1 -1
  27. data/rbi/lithic/models/account_holder.rbi +19 -6
  28. data/rbi/lithic/models/account_holder_create_params.rbi +13 -0
  29. data/rbi/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -0
  30. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +19 -6
  31. data/rbi/lithic/models/account_holder_update_params.rbi +13 -0
  32. data/rbi/lithic/models/account_holder_update_response.rbi +19 -6
  33. data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +13 -0
  34. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
  35. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +69 -30
  36. data/rbi/lithic/models/auth_rules/v2_list_results_params.rbi +112 -0
  37. data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +1826 -0
  38. data/rbi/lithic/models/book_transfer_create_params.rbi +11 -0
  39. data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +337 -36
  40. data/rbi/lithic/models/kyb.rbi +13 -0
  41. data/rbi/lithic/models/parsed_webhook_event.rbi +13 -0
  42. data/rbi/lithic/resources/account_holders.rbi +8 -0
  43. data/rbi/lithic/resources/auth_rules/v2.rbi +42 -0
  44. data/rbi/lithic/resources/book_transfers.rbi +3 -0
  45. data/sig/lithic/models/account_holder.rbs +7 -0
  46. data/sig/lithic/models/account_holder_create_params.rbs +7 -0
  47. data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +2 -1
  48. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +7 -0
  49. data/sig/lithic/models/account_holder_update_params.rbs +7 -0
  50. data/sig/lithic/models/account_holder_update_response.rbs +7 -0
  51. data/sig/lithic/models/account_holder_updated_webhook_event.rbs +7 -0
  52. data/sig/lithic/models/auth_rules/v2_list_results_params.rbs +65 -0
  53. data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +752 -0
  54. data/sig/lithic/models/book_transfer_create_params.rbs +7 -0
  55. data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +96 -0
  56. data/sig/lithic/models/kyb.rbs +7 -0
  57. data/sig/lithic/models/parsed_webhook_event.rbs +7 -0
  58. data/sig/lithic/resources/account_holders.rbs +2 -0
  59. data/sig/lithic/resources/auth_rules/v2.rbs +10 -0
  60. data/sig/lithic/resources/book_transfers.rbs +1 -0
  61. metadata +8 -2
@@ -0,0 +1,1826 @@
1
+ # typed: strong
2
+
3
+ module Lithic
4
+ module Models
5
+ module AuthRules
6
+ # Result of an Auth Rule evaluation
7
+ module V2ListResultsResponse
8
+ extend Lithic::Internal::Type::Union
9
+
10
+ Variants =
11
+ T.type_alias do
12
+ T.any(
13
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult,
14
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult,
15
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult,
16
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult
17
+ )
18
+ end
19
+
20
+ class AuthorizationResult < Lithic::Internal::Type::BaseModel
21
+ OrHash =
22
+ T.type_alias do
23
+ T.any(
24
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult,
25
+ Lithic::Internal::AnyHash
26
+ )
27
+ end
28
+
29
+ # Globally unique identifier for the evaluation
30
+ sig { returns(String) }
31
+ attr_accessor :token
32
+
33
+ # Actions returned by the rule evaluation
34
+ sig do
35
+ returns(
36
+ T::Array[
37
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action
38
+ ]
39
+ )
40
+ end
41
+ attr_accessor :actions
42
+
43
+ # The Auth Rule token
44
+ sig { returns(String) }
45
+ attr_accessor :auth_rule_token
46
+
47
+ # Timestamp of the rule evaluation
48
+ sig { returns(Time) }
49
+ attr_accessor :evaluation_time
50
+
51
+ # The event stream during which the rule was evaluated
52
+ sig { returns(Symbol) }
53
+ attr_accessor :event_stream
54
+
55
+ # Token of the event that triggered the evaluation
56
+ sig { returns(String) }
57
+ attr_accessor :event_token
58
+
59
+ # The state of the Auth Rule
60
+ sig do
61
+ returns(
62
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::TaggedSymbol
63
+ )
64
+ end
65
+ attr_accessor :mode
66
+
67
+ # Version of the rule that was evaluated
68
+ sig { returns(Integer) }
69
+ attr_accessor :rule_version
70
+
71
+ sig do
72
+ params(
73
+ token: String,
74
+ actions:
75
+ T::Array[
76
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::OrHash
77
+ ],
78
+ auth_rule_token: String,
79
+ evaluation_time: Time,
80
+ event_token: String,
81
+ mode:
82
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::OrSymbol,
83
+ rule_version: Integer,
84
+ event_stream: Symbol
85
+ ).returns(T.attached_class)
86
+ end
87
+ def self.new(
88
+ # Globally unique identifier for the evaluation
89
+ token:,
90
+ # Actions returned by the rule evaluation
91
+ actions:,
92
+ # The Auth Rule token
93
+ auth_rule_token:,
94
+ # Timestamp of the rule evaluation
95
+ evaluation_time:,
96
+ # Token of the event that triggered the evaluation
97
+ event_token:,
98
+ # The state of the Auth Rule
99
+ mode:,
100
+ # Version of the rule that was evaluated
101
+ rule_version:,
102
+ # The event stream during which the rule was evaluated
103
+ event_stream: :AUTHORIZATION
104
+ )
105
+ end
106
+
107
+ sig do
108
+ override.returns(
109
+ {
110
+ token: String,
111
+ actions:
112
+ T::Array[
113
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action
114
+ ],
115
+ auth_rule_token: String,
116
+ evaluation_time: Time,
117
+ event_stream: Symbol,
118
+ event_token: String,
119
+ mode:
120
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::TaggedSymbol,
121
+ rule_version: Integer
122
+ }
123
+ )
124
+ end
125
+ def to_hash
126
+ end
127
+
128
+ class Action < Lithic::Internal::Type::BaseModel
129
+ OrHash =
130
+ T.type_alias do
131
+ T.any(
132
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action,
133
+ Lithic::Internal::AnyHash
134
+ )
135
+ end
136
+
137
+ sig do
138
+ returns(
139
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::TaggedSymbol
140
+ )
141
+ end
142
+ attr_accessor :type
143
+
144
+ # Optional explanation for why this action was taken
145
+ sig { returns(T.nilable(String)) }
146
+ attr_reader :explanation
147
+
148
+ sig { params(explanation: String).void }
149
+ attr_writer :explanation
150
+
151
+ sig do
152
+ params(
153
+ type:
154
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::OrSymbol,
155
+ explanation: String
156
+ ).returns(T.attached_class)
157
+ end
158
+ def self.new(
159
+ type:,
160
+ # Optional explanation for why this action was taken
161
+ explanation: nil
162
+ )
163
+ end
164
+
165
+ sig do
166
+ override.returns(
167
+ {
168
+ type:
169
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::TaggedSymbol,
170
+ explanation: String
171
+ }
172
+ )
173
+ end
174
+ def to_hash
175
+ end
176
+
177
+ module Type
178
+ extend Lithic::Internal::Type::Enum
179
+
180
+ TaggedSymbol =
181
+ T.type_alias do
182
+ T.all(
183
+ Symbol,
184
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type
185
+ )
186
+ end
187
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
188
+
189
+ DECLINE =
190
+ T.let(
191
+ :DECLINE,
192
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::TaggedSymbol
193
+ )
194
+ CHALLENGE =
195
+ T.let(
196
+ :CHALLENGE,
197
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::TaggedSymbol
198
+ )
199
+
200
+ sig do
201
+ override.returns(
202
+ T::Array[
203
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Action::Type::TaggedSymbol
204
+ ]
205
+ )
206
+ end
207
+ def self.values
208
+ end
209
+ end
210
+ end
211
+
212
+ # The state of the Auth Rule
213
+ module Mode
214
+ extend Lithic::Internal::Type::Enum
215
+
216
+ TaggedSymbol =
217
+ T.type_alias do
218
+ T.all(
219
+ Symbol,
220
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode
221
+ )
222
+ end
223
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
224
+
225
+ ACTIVE =
226
+ T.let(
227
+ :ACTIVE,
228
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::TaggedSymbol
229
+ )
230
+ INACTIVE =
231
+ T.let(
232
+ :INACTIVE,
233
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::TaggedSymbol
234
+ )
235
+
236
+ sig do
237
+ override.returns(
238
+ T::Array[
239
+ Lithic::Models::AuthRules::V2ListResultsResponse::AuthorizationResult::Mode::TaggedSymbol
240
+ ]
241
+ )
242
+ end
243
+ def self.values
244
+ end
245
+ end
246
+ end
247
+
248
+ class Authentication3DSResult < Lithic::Internal::Type::BaseModel
249
+ OrHash =
250
+ T.type_alias do
251
+ T.any(
252
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult,
253
+ Lithic::Internal::AnyHash
254
+ )
255
+ end
256
+
257
+ # Globally unique identifier for the evaluation
258
+ sig { returns(String) }
259
+ attr_accessor :token
260
+
261
+ # Actions returned by the rule evaluation
262
+ sig do
263
+ returns(
264
+ T::Array[
265
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action
266
+ ]
267
+ )
268
+ end
269
+ attr_accessor :actions
270
+
271
+ # The Auth Rule token
272
+ sig { returns(String) }
273
+ attr_accessor :auth_rule_token
274
+
275
+ # Timestamp of the rule evaluation
276
+ sig { returns(Time) }
277
+ attr_accessor :evaluation_time
278
+
279
+ # The event stream during which the rule was evaluated
280
+ sig { returns(Symbol) }
281
+ attr_accessor :event_stream
282
+
283
+ # Token of the event that triggered the evaluation
284
+ sig { returns(String) }
285
+ attr_accessor :event_token
286
+
287
+ # The state of the Auth Rule
288
+ sig do
289
+ returns(
290
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::TaggedSymbol
291
+ )
292
+ end
293
+ attr_accessor :mode
294
+
295
+ # Version of the rule that was evaluated
296
+ sig { returns(Integer) }
297
+ attr_accessor :rule_version
298
+
299
+ sig do
300
+ params(
301
+ token: String,
302
+ actions:
303
+ T::Array[
304
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::OrHash
305
+ ],
306
+ auth_rule_token: String,
307
+ evaluation_time: Time,
308
+ event_token: String,
309
+ mode:
310
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::OrSymbol,
311
+ rule_version: Integer,
312
+ event_stream: Symbol
313
+ ).returns(T.attached_class)
314
+ end
315
+ def self.new(
316
+ # Globally unique identifier for the evaluation
317
+ token:,
318
+ # Actions returned by the rule evaluation
319
+ actions:,
320
+ # The Auth Rule token
321
+ auth_rule_token:,
322
+ # Timestamp of the rule evaluation
323
+ evaluation_time:,
324
+ # Token of the event that triggered the evaluation
325
+ event_token:,
326
+ # The state of the Auth Rule
327
+ mode:,
328
+ # Version of the rule that was evaluated
329
+ rule_version:,
330
+ # The event stream during which the rule was evaluated
331
+ event_stream: :THREE_DS_AUTHENTICATION
332
+ )
333
+ end
334
+
335
+ sig do
336
+ override.returns(
337
+ {
338
+ token: String,
339
+ actions:
340
+ T::Array[
341
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action
342
+ ],
343
+ auth_rule_token: String,
344
+ evaluation_time: Time,
345
+ event_stream: Symbol,
346
+ event_token: String,
347
+ mode:
348
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::TaggedSymbol,
349
+ rule_version: Integer
350
+ }
351
+ )
352
+ end
353
+ def to_hash
354
+ end
355
+
356
+ class Action < Lithic::Internal::Type::BaseModel
357
+ OrHash =
358
+ T.type_alias do
359
+ T.any(
360
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action,
361
+ Lithic::Internal::AnyHash
362
+ )
363
+ end
364
+
365
+ sig do
366
+ returns(
367
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::TaggedSymbol
368
+ )
369
+ end
370
+ attr_accessor :type
371
+
372
+ # Optional explanation for why this action was taken
373
+ sig { returns(T.nilable(String)) }
374
+ attr_reader :explanation
375
+
376
+ sig { params(explanation: String).void }
377
+ attr_writer :explanation
378
+
379
+ sig do
380
+ params(
381
+ type:
382
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::OrSymbol,
383
+ explanation: String
384
+ ).returns(T.attached_class)
385
+ end
386
+ def self.new(
387
+ type:,
388
+ # Optional explanation for why this action was taken
389
+ explanation: nil
390
+ )
391
+ end
392
+
393
+ sig do
394
+ override.returns(
395
+ {
396
+ type:
397
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::TaggedSymbol,
398
+ explanation: String
399
+ }
400
+ )
401
+ end
402
+ def to_hash
403
+ end
404
+
405
+ module Type
406
+ extend Lithic::Internal::Type::Enum
407
+
408
+ TaggedSymbol =
409
+ T.type_alias do
410
+ T.all(
411
+ Symbol,
412
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type
413
+ )
414
+ end
415
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
416
+
417
+ DECLINE =
418
+ T.let(
419
+ :DECLINE,
420
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::TaggedSymbol
421
+ )
422
+ CHALLENGE =
423
+ T.let(
424
+ :CHALLENGE,
425
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::TaggedSymbol
426
+ )
427
+
428
+ sig do
429
+ override.returns(
430
+ T::Array[
431
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Action::Type::TaggedSymbol
432
+ ]
433
+ )
434
+ end
435
+ def self.values
436
+ end
437
+ end
438
+ end
439
+
440
+ # The state of the Auth Rule
441
+ module Mode
442
+ extend Lithic::Internal::Type::Enum
443
+
444
+ TaggedSymbol =
445
+ T.type_alias do
446
+ T.all(
447
+ Symbol,
448
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode
449
+ )
450
+ end
451
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
452
+
453
+ ACTIVE =
454
+ T.let(
455
+ :ACTIVE,
456
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::TaggedSymbol
457
+ )
458
+ INACTIVE =
459
+ T.let(
460
+ :INACTIVE,
461
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::TaggedSymbol
462
+ )
463
+
464
+ sig do
465
+ override.returns(
466
+ T::Array[
467
+ Lithic::Models::AuthRules::V2ListResultsResponse::Authentication3DSResult::Mode::TaggedSymbol
468
+ ]
469
+ )
470
+ end
471
+ def self.values
472
+ end
473
+ end
474
+ end
475
+
476
+ class TokenizationResult < Lithic::Internal::Type::BaseModel
477
+ OrHash =
478
+ T.type_alias do
479
+ T.any(
480
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult,
481
+ Lithic::Internal::AnyHash
482
+ )
483
+ end
484
+
485
+ # Globally unique identifier for the evaluation
486
+ sig { returns(String) }
487
+ attr_accessor :token
488
+
489
+ # Actions returned by the rule evaluation
490
+ sig do
491
+ returns(
492
+ T::Array[
493
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::Variants
494
+ ]
495
+ )
496
+ end
497
+ attr_accessor :actions
498
+
499
+ # The Auth Rule token
500
+ sig { returns(String) }
501
+ attr_accessor :auth_rule_token
502
+
503
+ # Timestamp of the rule evaluation
504
+ sig { returns(Time) }
505
+ attr_accessor :evaluation_time
506
+
507
+ # The event stream during which the rule was evaluated
508
+ sig { returns(Symbol) }
509
+ attr_accessor :event_stream
510
+
511
+ # Token of the event that triggered the evaluation
512
+ sig { returns(String) }
513
+ attr_accessor :event_token
514
+
515
+ # The state of the Auth Rule
516
+ sig do
517
+ returns(
518
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::TaggedSymbol
519
+ )
520
+ end
521
+ attr_accessor :mode
522
+
523
+ # Version of the rule that was evaluated
524
+ sig { returns(Integer) }
525
+ attr_accessor :rule_version
526
+
527
+ sig do
528
+ params(
529
+ token: String,
530
+ actions:
531
+ T::Array[
532
+ T.any(
533
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::OrHash,
534
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::OrHash
535
+ )
536
+ ],
537
+ auth_rule_token: String,
538
+ evaluation_time: Time,
539
+ event_token: String,
540
+ mode:
541
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::OrSymbol,
542
+ rule_version: Integer,
543
+ event_stream: Symbol
544
+ ).returns(T.attached_class)
545
+ end
546
+ def self.new(
547
+ # Globally unique identifier for the evaluation
548
+ token:,
549
+ # Actions returned by the rule evaluation
550
+ actions:,
551
+ # The Auth Rule token
552
+ auth_rule_token:,
553
+ # Timestamp of the rule evaluation
554
+ evaluation_time:,
555
+ # Token of the event that triggered the evaluation
556
+ event_token:,
557
+ # The state of the Auth Rule
558
+ mode:,
559
+ # Version of the rule that was evaluated
560
+ rule_version:,
561
+ # The event stream during which the rule was evaluated
562
+ event_stream: :TOKENIZATION
563
+ )
564
+ end
565
+
566
+ sig do
567
+ override.returns(
568
+ {
569
+ token: String,
570
+ actions:
571
+ T::Array[
572
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::Variants
573
+ ],
574
+ auth_rule_token: String,
575
+ evaluation_time: Time,
576
+ event_stream: Symbol,
577
+ event_token: String,
578
+ mode:
579
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::TaggedSymbol,
580
+ rule_version: Integer
581
+ }
582
+ )
583
+ end
584
+ def to_hash
585
+ end
586
+
587
+ module Action
588
+ extend Lithic::Internal::Type::Union
589
+
590
+ Variants =
591
+ T.type_alias do
592
+ T.any(
593
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction,
594
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction
595
+ )
596
+ end
597
+
598
+ class DeclineAction < Lithic::Internal::Type::BaseModel
599
+ OrHash =
600
+ T.type_alias do
601
+ T.any(
602
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction,
603
+ Lithic::Internal::AnyHash
604
+ )
605
+ end
606
+
607
+ # Decline the tokenization request
608
+ sig do
609
+ returns(
610
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type::TaggedSymbol
611
+ )
612
+ end
613
+ attr_accessor :type
614
+
615
+ # Optional explanation for why this action was taken
616
+ sig { returns(T.nilable(String)) }
617
+ attr_reader :explanation
618
+
619
+ sig { params(explanation: String).void }
620
+ attr_writer :explanation
621
+
622
+ # Reason code for declining the tokenization request
623
+ sig do
624
+ returns(
625
+ T.nilable(
626
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
627
+ )
628
+ )
629
+ end
630
+ attr_reader :reason
631
+
632
+ sig do
633
+ params(
634
+ reason:
635
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::OrSymbol
636
+ ).void
637
+ end
638
+ attr_writer :reason
639
+
640
+ sig do
641
+ params(
642
+ type:
643
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type::OrSymbol,
644
+ explanation: String,
645
+ reason:
646
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::OrSymbol
647
+ ).returns(T.attached_class)
648
+ end
649
+ def self.new(
650
+ # Decline the tokenization request
651
+ type:,
652
+ # Optional explanation for why this action was taken
653
+ explanation: nil,
654
+ # Reason code for declining the tokenization request
655
+ reason: nil
656
+ )
657
+ end
658
+
659
+ sig do
660
+ override.returns(
661
+ {
662
+ type:
663
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type::TaggedSymbol,
664
+ explanation: String,
665
+ reason:
666
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
667
+ }
668
+ )
669
+ end
670
+ def to_hash
671
+ end
672
+
673
+ # Decline the tokenization request
674
+ module Type
675
+ extend Lithic::Internal::Type::Enum
676
+
677
+ TaggedSymbol =
678
+ T.type_alias do
679
+ T.all(
680
+ Symbol,
681
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type
682
+ )
683
+ end
684
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
685
+
686
+ DECLINE =
687
+ T.let(
688
+ :DECLINE,
689
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type::TaggedSymbol
690
+ )
691
+
692
+ sig do
693
+ override.returns(
694
+ T::Array[
695
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Type::TaggedSymbol
696
+ ]
697
+ )
698
+ end
699
+ def self.values
700
+ end
701
+ end
702
+
703
+ # Reason code for declining the tokenization request
704
+ module Reason
705
+ extend Lithic::Internal::Type::Enum
706
+
707
+ TaggedSymbol =
708
+ T.type_alias do
709
+ T.all(
710
+ Symbol,
711
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason
712
+ )
713
+ end
714
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
715
+
716
+ ACCOUNT_SCORE_1 =
717
+ T.let(
718
+ :ACCOUNT_SCORE_1,
719
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
720
+ )
721
+ DEVICE_SCORE_1 =
722
+ T.let(
723
+ :DEVICE_SCORE_1,
724
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
725
+ )
726
+ ALL_WALLET_DECLINE_REASONS_PRESENT =
727
+ T.let(
728
+ :ALL_WALLET_DECLINE_REASONS_PRESENT,
729
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
730
+ )
731
+ WALLET_RECOMMENDED_DECISION_RED =
732
+ T.let(
733
+ :WALLET_RECOMMENDED_DECISION_RED,
734
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
735
+ )
736
+ CVC_MISMATCH =
737
+ T.let(
738
+ :CVC_MISMATCH,
739
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
740
+ )
741
+ CARD_EXPIRY_MONTH_MISMATCH =
742
+ T.let(
743
+ :CARD_EXPIRY_MONTH_MISMATCH,
744
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
745
+ )
746
+ CARD_EXPIRY_YEAR_MISMATCH =
747
+ T.let(
748
+ :CARD_EXPIRY_YEAR_MISMATCH,
749
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
750
+ )
751
+ CARD_INVALID_STATE =
752
+ T.let(
753
+ :CARD_INVALID_STATE,
754
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
755
+ )
756
+ CUSTOMER_RED_PATH =
757
+ T.let(
758
+ :CUSTOMER_RED_PATH,
759
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
760
+ )
761
+ INVALID_CUSTOMER_RESPONSE =
762
+ T.let(
763
+ :INVALID_CUSTOMER_RESPONSE,
764
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
765
+ )
766
+ NETWORK_FAILURE =
767
+ T.let(
768
+ :NETWORK_FAILURE,
769
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
770
+ )
771
+ GENERIC_DECLINE =
772
+ T.let(
773
+ :GENERIC_DECLINE,
774
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
775
+ )
776
+ DIGITAL_CARD_ART_REQUIRED =
777
+ T.let(
778
+ :DIGITAL_CARD_ART_REQUIRED,
779
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
780
+ )
781
+
782
+ sig do
783
+ override.returns(
784
+ T::Array[
785
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::DeclineAction::Reason::TaggedSymbol
786
+ ]
787
+ )
788
+ end
789
+ def self.values
790
+ end
791
+ end
792
+ end
793
+
794
+ class RequireTfaAction < Lithic::Internal::Type::BaseModel
795
+ OrHash =
796
+ T.type_alias do
797
+ T.any(
798
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction,
799
+ Lithic::Internal::AnyHash
800
+ )
801
+ end
802
+
803
+ # Require two-factor authentication for the tokenization request
804
+ sig do
805
+ returns(
806
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type::TaggedSymbol
807
+ )
808
+ end
809
+ attr_accessor :type
810
+
811
+ # Optional explanation for why this action was taken
812
+ sig { returns(T.nilable(String)) }
813
+ attr_reader :explanation
814
+
815
+ sig { params(explanation: String).void }
816
+ attr_writer :explanation
817
+
818
+ # Reason code for requiring two-factor authentication
819
+ sig do
820
+ returns(
821
+ T.nilable(
822
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
823
+ )
824
+ )
825
+ end
826
+ attr_reader :reason
827
+
828
+ sig do
829
+ params(
830
+ reason:
831
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::OrSymbol
832
+ ).void
833
+ end
834
+ attr_writer :reason
835
+
836
+ sig do
837
+ params(
838
+ type:
839
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type::OrSymbol,
840
+ explanation: String,
841
+ reason:
842
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::OrSymbol
843
+ ).returns(T.attached_class)
844
+ end
845
+ def self.new(
846
+ # Require two-factor authentication for the tokenization request
847
+ type:,
848
+ # Optional explanation for why this action was taken
849
+ explanation: nil,
850
+ # Reason code for requiring two-factor authentication
851
+ reason: nil
852
+ )
853
+ end
854
+
855
+ sig do
856
+ override.returns(
857
+ {
858
+ type:
859
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type::TaggedSymbol,
860
+ explanation: String,
861
+ reason:
862
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
863
+ }
864
+ )
865
+ end
866
+ def to_hash
867
+ end
868
+
869
+ # Require two-factor authentication for the tokenization request
870
+ module Type
871
+ extend Lithic::Internal::Type::Enum
872
+
873
+ TaggedSymbol =
874
+ T.type_alias do
875
+ T.all(
876
+ Symbol,
877
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type
878
+ )
879
+ end
880
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
881
+
882
+ REQUIRE_TFA =
883
+ T.let(
884
+ :REQUIRE_TFA,
885
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type::TaggedSymbol
886
+ )
887
+
888
+ sig do
889
+ override.returns(
890
+ T::Array[
891
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Type::TaggedSymbol
892
+ ]
893
+ )
894
+ end
895
+ def self.values
896
+ end
897
+ end
898
+
899
+ # Reason code for requiring two-factor authentication
900
+ module Reason
901
+ extend Lithic::Internal::Type::Enum
902
+
903
+ TaggedSymbol =
904
+ T.type_alias do
905
+ T.all(
906
+ Symbol,
907
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason
908
+ )
909
+ end
910
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
911
+
912
+ WALLET_RECOMMENDED_TFA =
913
+ T.let(
914
+ :WALLET_RECOMMENDED_TFA,
915
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
916
+ )
917
+ SUSPICIOUS_ACTIVITY =
918
+ T.let(
919
+ :SUSPICIOUS_ACTIVITY,
920
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
921
+ )
922
+ DEVICE_RECENTLY_LOST =
923
+ T.let(
924
+ :DEVICE_RECENTLY_LOST,
925
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
926
+ )
927
+ TOO_MANY_RECENT_ATTEMPTS =
928
+ T.let(
929
+ :TOO_MANY_RECENT_ATTEMPTS,
930
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
931
+ )
932
+ TOO_MANY_RECENT_TOKENS =
933
+ T.let(
934
+ :TOO_MANY_RECENT_TOKENS,
935
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
936
+ )
937
+ TOO_MANY_DIFFERENT_CARDHOLDERS =
938
+ T.let(
939
+ :TOO_MANY_DIFFERENT_CARDHOLDERS,
940
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
941
+ )
942
+ OUTSIDE_HOME_TERRITORY =
943
+ T.let(
944
+ :OUTSIDE_HOME_TERRITORY,
945
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
946
+ )
947
+ HAS_SUSPENDED_TOKENS =
948
+ T.let(
949
+ :HAS_SUSPENDED_TOKENS,
950
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
951
+ )
952
+ HIGH_RISK =
953
+ T.let(
954
+ :HIGH_RISK,
955
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
956
+ )
957
+ ACCOUNT_SCORE_LOW =
958
+ T.let(
959
+ :ACCOUNT_SCORE_LOW,
960
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
961
+ )
962
+ DEVICE_SCORE_LOW =
963
+ T.let(
964
+ :DEVICE_SCORE_LOW,
965
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
966
+ )
967
+ CARD_STATE_TFA =
968
+ T.let(
969
+ :CARD_STATE_TFA,
970
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
971
+ )
972
+ HARDCODED_TFA =
973
+ T.let(
974
+ :HARDCODED_TFA,
975
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
976
+ )
977
+ CUSTOMER_RULE_TFA =
978
+ T.let(
979
+ :CUSTOMER_RULE_TFA,
980
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
981
+ )
982
+ DEVICE_HOST_CARD_EMULATION =
983
+ T.let(
984
+ :DEVICE_HOST_CARD_EMULATION,
985
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
986
+ )
987
+
988
+ sig do
989
+ override.returns(
990
+ T::Array[
991
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::RequireTfaAction::Reason::TaggedSymbol
992
+ ]
993
+ )
994
+ end
995
+ def self.values
996
+ end
997
+ end
998
+ end
999
+
1000
+ sig do
1001
+ override.returns(
1002
+ T::Array[
1003
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Action::Variants
1004
+ ]
1005
+ )
1006
+ end
1007
+ def self.variants
1008
+ end
1009
+ end
1010
+
1011
+ # The state of the Auth Rule
1012
+ module Mode
1013
+ extend Lithic::Internal::Type::Enum
1014
+
1015
+ TaggedSymbol =
1016
+ T.type_alias do
1017
+ T.all(
1018
+ Symbol,
1019
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode
1020
+ )
1021
+ end
1022
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1023
+
1024
+ ACTIVE =
1025
+ T.let(
1026
+ :ACTIVE,
1027
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::TaggedSymbol
1028
+ )
1029
+ INACTIVE =
1030
+ T.let(
1031
+ :INACTIVE,
1032
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::TaggedSymbol
1033
+ )
1034
+
1035
+ sig do
1036
+ override.returns(
1037
+ T::Array[
1038
+ Lithic::Models::AuthRules::V2ListResultsResponse::TokenizationResult::Mode::TaggedSymbol
1039
+ ]
1040
+ )
1041
+ end
1042
+ def self.values
1043
+ end
1044
+ end
1045
+ end
1046
+
1047
+ class ACHResult < Lithic::Internal::Type::BaseModel
1048
+ OrHash =
1049
+ T.type_alias do
1050
+ T.any(
1051
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult,
1052
+ Lithic::Internal::AnyHash
1053
+ )
1054
+ end
1055
+
1056
+ # Globally unique identifier for the evaluation
1057
+ sig { returns(String) }
1058
+ attr_accessor :token
1059
+
1060
+ # Actions returned by the rule evaluation
1061
+ sig do
1062
+ returns(
1063
+ T::Array[
1064
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::Variants
1065
+ ]
1066
+ )
1067
+ end
1068
+ attr_accessor :actions
1069
+
1070
+ # The Auth Rule token
1071
+ sig { returns(String) }
1072
+ attr_accessor :auth_rule_token
1073
+
1074
+ # Timestamp of the rule evaluation
1075
+ sig { returns(Time) }
1076
+ attr_accessor :evaluation_time
1077
+
1078
+ # The event stream during which the rule was evaluated
1079
+ sig do
1080
+ returns(
1081
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::TaggedSymbol
1082
+ )
1083
+ end
1084
+ attr_accessor :event_stream
1085
+
1086
+ # Token of the event that triggered the evaluation
1087
+ sig { returns(String) }
1088
+ attr_accessor :event_token
1089
+
1090
+ # The state of the Auth Rule
1091
+ sig do
1092
+ returns(
1093
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::TaggedSymbol
1094
+ )
1095
+ end
1096
+ attr_accessor :mode
1097
+
1098
+ # Version of the rule that was evaluated
1099
+ sig { returns(Integer) }
1100
+ attr_accessor :rule_version
1101
+
1102
+ sig do
1103
+ params(
1104
+ token: String,
1105
+ actions:
1106
+ T::Array[
1107
+ T.any(
1108
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::OrHash,
1109
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::OrHash
1110
+ )
1111
+ ],
1112
+ auth_rule_token: String,
1113
+ evaluation_time: Time,
1114
+ event_stream:
1115
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::OrSymbol,
1116
+ event_token: String,
1117
+ mode:
1118
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::OrSymbol,
1119
+ rule_version: Integer
1120
+ ).returns(T.attached_class)
1121
+ end
1122
+ def self.new(
1123
+ # Globally unique identifier for the evaluation
1124
+ token:,
1125
+ # Actions returned by the rule evaluation
1126
+ actions:,
1127
+ # The Auth Rule token
1128
+ auth_rule_token:,
1129
+ # Timestamp of the rule evaluation
1130
+ evaluation_time:,
1131
+ # The event stream during which the rule was evaluated
1132
+ event_stream:,
1133
+ # Token of the event that triggered the evaluation
1134
+ event_token:,
1135
+ # The state of the Auth Rule
1136
+ mode:,
1137
+ # Version of the rule that was evaluated
1138
+ rule_version:
1139
+ )
1140
+ end
1141
+
1142
+ sig do
1143
+ override.returns(
1144
+ {
1145
+ token: String,
1146
+ actions:
1147
+ T::Array[
1148
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::Variants
1149
+ ],
1150
+ auth_rule_token: String,
1151
+ evaluation_time: Time,
1152
+ event_stream:
1153
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::TaggedSymbol,
1154
+ event_token: String,
1155
+ mode:
1156
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::TaggedSymbol,
1157
+ rule_version: Integer
1158
+ }
1159
+ )
1160
+ end
1161
+ def to_hash
1162
+ end
1163
+
1164
+ module Action
1165
+ extend Lithic::Internal::Type::Union
1166
+
1167
+ Variants =
1168
+ T.type_alias do
1169
+ T.any(
1170
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction,
1171
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction
1172
+ )
1173
+ end
1174
+
1175
+ class ApproveAction < Lithic::Internal::Type::BaseModel
1176
+ OrHash =
1177
+ T.type_alias do
1178
+ T.any(
1179
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction,
1180
+ Lithic::Internal::AnyHash
1181
+ )
1182
+ end
1183
+
1184
+ # Approve the ACH transaction
1185
+ sig do
1186
+ returns(
1187
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type::TaggedSymbol
1188
+ )
1189
+ end
1190
+ attr_accessor :type
1191
+
1192
+ # Optional explanation for why this action was taken
1193
+ sig { returns(T.nilable(String)) }
1194
+ attr_reader :explanation
1195
+
1196
+ sig { params(explanation: String).void }
1197
+ attr_writer :explanation
1198
+
1199
+ sig do
1200
+ params(
1201
+ type:
1202
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type::OrSymbol,
1203
+ explanation: String
1204
+ ).returns(T.attached_class)
1205
+ end
1206
+ def self.new(
1207
+ # Approve the ACH transaction
1208
+ type:,
1209
+ # Optional explanation for why this action was taken
1210
+ explanation: nil
1211
+ )
1212
+ end
1213
+
1214
+ sig do
1215
+ override.returns(
1216
+ {
1217
+ type:
1218
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type::TaggedSymbol,
1219
+ explanation: String
1220
+ }
1221
+ )
1222
+ end
1223
+ def to_hash
1224
+ end
1225
+
1226
+ # Approve the ACH transaction
1227
+ module Type
1228
+ extend Lithic::Internal::Type::Enum
1229
+
1230
+ TaggedSymbol =
1231
+ T.type_alias do
1232
+ T.all(
1233
+ Symbol,
1234
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type
1235
+ )
1236
+ end
1237
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1238
+
1239
+ APPROVE =
1240
+ T.let(
1241
+ :APPROVE,
1242
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type::TaggedSymbol
1243
+ )
1244
+
1245
+ sig do
1246
+ override.returns(
1247
+ T::Array[
1248
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ApproveAction::Type::TaggedSymbol
1249
+ ]
1250
+ )
1251
+ end
1252
+ def self.values
1253
+ end
1254
+ end
1255
+ end
1256
+
1257
+ class ReturnAction < Lithic::Internal::Type::BaseModel
1258
+ OrHash =
1259
+ T.type_alias do
1260
+ T.any(
1261
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction,
1262
+ Lithic::Internal::AnyHash
1263
+ )
1264
+ end
1265
+
1266
+ # NACHA return code to use when returning the transaction. Note that the list of
1267
+ # available return codes is subject to an allowlist configured at the program
1268
+ # level
1269
+ sig do
1270
+ returns(
1271
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1272
+ )
1273
+ end
1274
+ attr_accessor :code
1275
+
1276
+ # Return the ACH transaction
1277
+ sig do
1278
+ returns(
1279
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type::TaggedSymbol
1280
+ )
1281
+ end
1282
+ attr_accessor :type
1283
+
1284
+ # Optional explanation for why this action was taken
1285
+ sig { returns(T.nilable(String)) }
1286
+ attr_reader :explanation
1287
+
1288
+ sig { params(explanation: String).void }
1289
+ attr_writer :explanation
1290
+
1291
+ sig do
1292
+ params(
1293
+ code:
1294
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::OrSymbol,
1295
+ type:
1296
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type::OrSymbol,
1297
+ explanation: String
1298
+ ).returns(T.attached_class)
1299
+ end
1300
+ def self.new(
1301
+ # NACHA return code to use when returning the transaction. Note that the list of
1302
+ # available return codes is subject to an allowlist configured at the program
1303
+ # level
1304
+ code:,
1305
+ # Return the ACH transaction
1306
+ type:,
1307
+ # Optional explanation for why this action was taken
1308
+ explanation: nil
1309
+ )
1310
+ end
1311
+
1312
+ sig do
1313
+ override.returns(
1314
+ {
1315
+ code:
1316
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol,
1317
+ type:
1318
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type::TaggedSymbol,
1319
+ explanation: String
1320
+ }
1321
+ )
1322
+ end
1323
+ def to_hash
1324
+ end
1325
+
1326
+ # NACHA return code to use when returning the transaction. Note that the list of
1327
+ # available return codes is subject to an allowlist configured at the program
1328
+ # level
1329
+ module Code
1330
+ extend Lithic::Internal::Type::Enum
1331
+
1332
+ TaggedSymbol =
1333
+ T.type_alias do
1334
+ T.all(
1335
+ Symbol,
1336
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code
1337
+ )
1338
+ end
1339
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1340
+
1341
+ R01 =
1342
+ T.let(
1343
+ :R01,
1344
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1345
+ )
1346
+ R02 =
1347
+ T.let(
1348
+ :R02,
1349
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1350
+ )
1351
+ R03 =
1352
+ T.let(
1353
+ :R03,
1354
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1355
+ )
1356
+ R04 =
1357
+ T.let(
1358
+ :R04,
1359
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1360
+ )
1361
+ R05 =
1362
+ T.let(
1363
+ :R05,
1364
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1365
+ )
1366
+ R06 =
1367
+ T.let(
1368
+ :R06,
1369
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1370
+ )
1371
+ R07 =
1372
+ T.let(
1373
+ :R07,
1374
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1375
+ )
1376
+ R08 =
1377
+ T.let(
1378
+ :R08,
1379
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1380
+ )
1381
+ R09 =
1382
+ T.let(
1383
+ :R09,
1384
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1385
+ )
1386
+ R10 =
1387
+ T.let(
1388
+ :R10,
1389
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1390
+ )
1391
+ R11 =
1392
+ T.let(
1393
+ :R11,
1394
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1395
+ )
1396
+ R12 =
1397
+ T.let(
1398
+ :R12,
1399
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1400
+ )
1401
+ R13 =
1402
+ T.let(
1403
+ :R13,
1404
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1405
+ )
1406
+ R14 =
1407
+ T.let(
1408
+ :R14,
1409
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1410
+ )
1411
+ R15 =
1412
+ T.let(
1413
+ :R15,
1414
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1415
+ )
1416
+ R16 =
1417
+ T.let(
1418
+ :R16,
1419
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1420
+ )
1421
+ R17 =
1422
+ T.let(
1423
+ :R17,
1424
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1425
+ )
1426
+ R18 =
1427
+ T.let(
1428
+ :R18,
1429
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1430
+ )
1431
+ R19 =
1432
+ T.let(
1433
+ :R19,
1434
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1435
+ )
1436
+ R20 =
1437
+ T.let(
1438
+ :R20,
1439
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1440
+ )
1441
+ R21 =
1442
+ T.let(
1443
+ :R21,
1444
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1445
+ )
1446
+ R22 =
1447
+ T.let(
1448
+ :R22,
1449
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1450
+ )
1451
+ R23 =
1452
+ T.let(
1453
+ :R23,
1454
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1455
+ )
1456
+ R24 =
1457
+ T.let(
1458
+ :R24,
1459
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1460
+ )
1461
+ R25 =
1462
+ T.let(
1463
+ :R25,
1464
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1465
+ )
1466
+ R26 =
1467
+ T.let(
1468
+ :R26,
1469
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1470
+ )
1471
+ R27 =
1472
+ T.let(
1473
+ :R27,
1474
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1475
+ )
1476
+ R28 =
1477
+ T.let(
1478
+ :R28,
1479
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1480
+ )
1481
+ R29 =
1482
+ T.let(
1483
+ :R29,
1484
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1485
+ )
1486
+ R30 =
1487
+ T.let(
1488
+ :R30,
1489
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1490
+ )
1491
+ R31 =
1492
+ T.let(
1493
+ :R31,
1494
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1495
+ )
1496
+ R32 =
1497
+ T.let(
1498
+ :R32,
1499
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1500
+ )
1501
+ R33 =
1502
+ T.let(
1503
+ :R33,
1504
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1505
+ )
1506
+ R34 =
1507
+ T.let(
1508
+ :R34,
1509
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1510
+ )
1511
+ R35 =
1512
+ T.let(
1513
+ :R35,
1514
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1515
+ )
1516
+ R36 =
1517
+ T.let(
1518
+ :R36,
1519
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1520
+ )
1521
+ R37 =
1522
+ T.let(
1523
+ :R37,
1524
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1525
+ )
1526
+ R38 =
1527
+ T.let(
1528
+ :R38,
1529
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1530
+ )
1531
+ R39 =
1532
+ T.let(
1533
+ :R39,
1534
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1535
+ )
1536
+ R40 =
1537
+ T.let(
1538
+ :R40,
1539
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1540
+ )
1541
+ R41 =
1542
+ T.let(
1543
+ :R41,
1544
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1545
+ )
1546
+ R42 =
1547
+ T.let(
1548
+ :R42,
1549
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1550
+ )
1551
+ R43 =
1552
+ T.let(
1553
+ :R43,
1554
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1555
+ )
1556
+ R44 =
1557
+ T.let(
1558
+ :R44,
1559
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1560
+ )
1561
+ R45 =
1562
+ T.let(
1563
+ :R45,
1564
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1565
+ )
1566
+ R46 =
1567
+ T.let(
1568
+ :R46,
1569
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1570
+ )
1571
+ R47 =
1572
+ T.let(
1573
+ :R47,
1574
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1575
+ )
1576
+ R50 =
1577
+ T.let(
1578
+ :R50,
1579
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1580
+ )
1581
+ R51 =
1582
+ T.let(
1583
+ :R51,
1584
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1585
+ )
1586
+ R52 =
1587
+ T.let(
1588
+ :R52,
1589
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1590
+ )
1591
+ R53 =
1592
+ T.let(
1593
+ :R53,
1594
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1595
+ )
1596
+ R61 =
1597
+ T.let(
1598
+ :R61,
1599
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1600
+ )
1601
+ R62 =
1602
+ T.let(
1603
+ :R62,
1604
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1605
+ )
1606
+ R67 =
1607
+ T.let(
1608
+ :R67,
1609
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1610
+ )
1611
+ R68 =
1612
+ T.let(
1613
+ :R68,
1614
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1615
+ )
1616
+ R69 =
1617
+ T.let(
1618
+ :R69,
1619
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1620
+ )
1621
+ R70 =
1622
+ T.let(
1623
+ :R70,
1624
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1625
+ )
1626
+ R71 =
1627
+ T.let(
1628
+ :R71,
1629
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1630
+ )
1631
+ R72 =
1632
+ T.let(
1633
+ :R72,
1634
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1635
+ )
1636
+ R73 =
1637
+ T.let(
1638
+ :R73,
1639
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1640
+ )
1641
+ R74 =
1642
+ T.let(
1643
+ :R74,
1644
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1645
+ )
1646
+ R75 =
1647
+ T.let(
1648
+ :R75,
1649
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1650
+ )
1651
+ R76 =
1652
+ T.let(
1653
+ :R76,
1654
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1655
+ )
1656
+ R77 =
1657
+ T.let(
1658
+ :R77,
1659
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1660
+ )
1661
+ R80 =
1662
+ T.let(
1663
+ :R80,
1664
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1665
+ )
1666
+ R81 =
1667
+ T.let(
1668
+ :R81,
1669
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1670
+ )
1671
+ R82 =
1672
+ T.let(
1673
+ :R82,
1674
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1675
+ )
1676
+ R83 =
1677
+ T.let(
1678
+ :R83,
1679
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1680
+ )
1681
+ R84 =
1682
+ T.let(
1683
+ :R84,
1684
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1685
+ )
1686
+ R85 =
1687
+ T.let(
1688
+ :R85,
1689
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1690
+ )
1691
+
1692
+ sig do
1693
+ override.returns(
1694
+ T::Array[
1695
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Code::TaggedSymbol
1696
+ ]
1697
+ )
1698
+ end
1699
+ def self.values
1700
+ end
1701
+ end
1702
+
1703
+ # Return the ACH transaction
1704
+ module Type
1705
+ extend Lithic::Internal::Type::Enum
1706
+
1707
+ TaggedSymbol =
1708
+ T.type_alias do
1709
+ T.all(
1710
+ Symbol,
1711
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type
1712
+ )
1713
+ end
1714
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1715
+
1716
+ RETURN =
1717
+ T.let(
1718
+ :RETURN,
1719
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type::TaggedSymbol
1720
+ )
1721
+
1722
+ sig do
1723
+ override.returns(
1724
+ T::Array[
1725
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::ReturnAction::Type::TaggedSymbol
1726
+ ]
1727
+ )
1728
+ end
1729
+ def self.values
1730
+ end
1731
+ end
1732
+ end
1733
+
1734
+ sig do
1735
+ override.returns(
1736
+ T::Array[
1737
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Action::Variants
1738
+ ]
1739
+ )
1740
+ end
1741
+ def self.variants
1742
+ end
1743
+ end
1744
+
1745
+ # The event stream during which the rule was evaluated
1746
+ module EventStream
1747
+ extend Lithic::Internal::Type::Enum
1748
+
1749
+ TaggedSymbol =
1750
+ T.type_alias do
1751
+ T.all(
1752
+ Symbol,
1753
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream
1754
+ )
1755
+ end
1756
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1757
+
1758
+ ACH_CREDIT_RECEIPT =
1759
+ T.let(
1760
+ :ACH_CREDIT_RECEIPT,
1761
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::TaggedSymbol
1762
+ )
1763
+ ACH_DEBIT_RECEIPT =
1764
+ T.let(
1765
+ :ACH_DEBIT_RECEIPT,
1766
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::TaggedSymbol
1767
+ )
1768
+
1769
+ sig do
1770
+ override.returns(
1771
+ T::Array[
1772
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::EventStream::TaggedSymbol
1773
+ ]
1774
+ )
1775
+ end
1776
+ def self.values
1777
+ end
1778
+ end
1779
+
1780
+ # The state of the Auth Rule
1781
+ module Mode
1782
+ extend Lithic::Internal::Type::Enum
1783
+
1784
+ TaggedSymbol =
1785
+ T.type_alias do
1786
+ T.all(
1787
+ Symbol,
1788
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode
1789
+ )
1790
+ end
1791
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1792
+
1793
+ ACTIVE =
1794
+ T.let(
1795
+ :ACTIVE,
1796
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::TaggedSymbol
1797
+ )
1798
+ INACTIVE =
1799
+ T.let(
1800
+ :INACTIVE,
1801
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::TaggedSymbol
1802
+ )
1803
+
1804
+ sig do
1805
+ override.returns(
1806
+ T::Array[
1807
+ Lithic::Models::AuthRules::V2ListResultsResponse::ACHResult::Mode::TaggedSymbol
1808
+ ]
1809
+ )
1810
+ end
1811
+ def self.values
1812
+ end
1813
+ end
1814
+ end
1815
+
1816
+ sig do
1817
+ override.returns(
1818
+ T::Array[Lithic::Models::AuthRules::V2ListResultsResponse::Variants]
1819
+ )
1820
+ end
1821
+ def self.variants
1822
+ end
1823
+ end
1824
+ end
1825
+ end
1826
+ end