lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55

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 (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/internal/transport/base_client.rb +7 -1
  5. data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
  6. data/lib/lithic/models/account_activity_list_response.rb +1 -0
  7. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
  8. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  9. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  11. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  12. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  14. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  17. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  18. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  19. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  20. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  21. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  22. data/lib/lithic/models/book_transfer_response.rb +5 -5
  23. data/lib/lithic/models/dispute.rb +510 -242
  24. data/lib/lithic/models/dispute_create_response.rb +326 -0
  25. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  26. data/lib/lithic/models/dispute_list_response.rb +326 -0
  27. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  28. data/lib/lithic/models/dispute_update_response.rb +326 -0
  29. data/lib/lithic/models/event.rb +213 -69
  30. data/lib/lithic/models/event_list_params.rb +112 -6
  31. data/lib/lithic/models/event_subscription.rb +112 -6
  32. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  33. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  34. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  35. data/lib/lithic/models/financial_account.rb +1 -65
  36. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  37. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  38. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  39. data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
  40. data/lib/lithic/models/financial_transaction.rb +1 -0
  41. data/lib/lithic/models/payment.rb +29 -18
  42. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  43. data/lib/lithic/models/tokenization.rb +189 -23
  44. data/lib/lithic/models/transaction.rb +12 -116
  45. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  46. data/lib/lithic/models/transfer.rb +1 -0
  47. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  48. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  49. data/lib/lithic/resources/disputes.rb +10 -10
  50. data/lib/lithic/resources/payments.rb +5 -1
  51. data/lib/lithic/version.rb +1 -1
  52. data/lib/lithic.rb +8 -3
  53. data/manifest.yaml +1 -0
  54. data/rbi/lithic/internal/transport/base_client.rbi +5 -0
  55. data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
  56. data/rbi/lithic/internal/type/base_model.rbi +8 -4
  57. data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
  58. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
  59. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  60. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  61. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  62. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  63. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  64. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  65. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  66. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  67. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  68. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  69. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  70. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  71. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  72. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  73. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  74. data/rbi/lithic/models/dispute.rbi +942 -395
  75. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  76. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  77. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  78. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  79. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  80. data/rbi/lithic/models/event.rbi +348 -111
  81. data/rbi/lithic/models/event_list_params.rbi +155 -25
  82. data/rbi/lithic/models/event_subscription.rbi +155 -25
  83. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  84. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  85. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  86. data/rbi/lithic/models/financial_account.rbi +3 -132
  87. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  88. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  89. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  90. data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
  91. data/rbi/lithic/models/financial_transaction.rbi +5 -0
  92. data/rbi/lithic/models/payment.rbi +52 -28
  93. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  94. data/rbi/lithic/models/tokenization.rbi +429 -34
  95. data/rbi/lithic/models/transaction.rbi +22 -246
  96. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  97. data/rbi/lithic/models/transfer.rbi +5 -0
  98. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  99. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  100. data/rbi/lithic/resources/disputes.rbi +7 -5
  101. data/rbi/lithic/resources/payments.rbi +6 -0
  102. data/sig/lithic/internal/transport/base_client.rbs +2 -0
  103. data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
  104. data/sig/lithic/models/account_activity_list_response.rbs +2 -0
  105. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
  106. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  107. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  108. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  109. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  110. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  111. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  112. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  113. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  114. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  115. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  116. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  117. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  118. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  119. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  120. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  121. data/sig/lithic/models/dispute.rbs +417 -157
  122. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  123. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  124. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  125. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  126. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  127. data/sig/lithic/models/event.rbs +25 -13
  128. data/sig/lithic/models/event_list_params.rbs +25 -13
  129. data/sig/lithic/models/event_subscription.rbs +25 -13
  130. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  131. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  132. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  133. data/sig/lithic/models/financial_account.rbs +3 -45
  134. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  135. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  136. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  137. data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
  138. data/sig/lithic/models/financial_transaction.rbs +2 -0
  139. data/sig/lithic/models/payment.rbs +16 -12
  140. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  141. data/sig/lithic/models/tokenization.rbs +160 -13
  142. data/sig/lithic/models/transaction.rbs +13 -94
  143. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  144. data/sig/lithic/models/transfer.rbs +2 -0
  145. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  146. data/sig/lithic/resources/disputes.rbs +5 -5
  147. data/sig/lithic/resources/payments.rbs +2 -0
  148. metadata +23 -11
  149. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  150. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  151. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  152. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  153. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  154. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  155. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  156. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  157. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -241,7 +241,7 @@ module Lithic
241
241
  Lithic::AuthRules::VelocityLimitParams::OrHash,
242
242
  Lithic::AuthRules::MerchantLockParameters::OrHash,
243
243
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
244
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::OrHash
244
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
245
245
  ),
246
246
  version: Integer
247
247
  ).returns(T.attached_class)
@@ -278,581 +278,10 @@ module Lithic
278
278
  Lithic::AuthRules::VelocityLimitParams,
279
279
  Lithic::AuthRules::MerchantLockParameters,
280
280
  Lithic::AuthRules::Conditional3DSActionParameters,
281
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
281
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters
282
282
  )
283
283
  end
284
284
 
285
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
286
- OrHash =
287
- T.type_alias do
288
- T.any(
289
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters,
290
- Lithic::Internal::AnyHash
291
- )
292
- end
293
-
294
- # The action to take if the conditions are met.
295
- sig do
296
- returns(
297
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
298
- )
299
- end
300
- attr_accessor :action
301
-
302
- sig do
303
- returns(
304
- T::Array[
305
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
306
- ]
307
- )
308
- end
309
- attr_accessor :conditions
310
-
311
- sig do
312
- params(
313
- action:
314
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
315
- conditions:
316
- T::Array[
317
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
318
- ]
319
- ).returns(T.attached_class)
320
- end
321
- def self.new(
322
- # The action to take if the conditions are met.
323
- action:,
324
- conditions:
325
- )
326
- end
327
-
328
- sig do
329
- override.returns(
330
- {
331
- action:
332
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
333
- conditions:
334
- T::Array[
335
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
336
- ]
337
- }
338
- )
339
- end
340
- def to_hash
341
- end
342
-
343
- # The action to take if the conditions are met.
344
- module Action
345
- extend Lithic::Internal::Type::Enum
346
-
347
- TaggedSymbol =
348
- T.type_alias do
349
- T.all(
350
- Symbol,
351
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action
352
- )
353
- end
354
- OrSymbol = T.type_alias { T.any(Symbol, String) }
355
-
356
- DECLINE =
357
- T.let(
358
- :DECLINE,
359
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
360
- )
361
- CHALLENGE =
362
- T.let(
363
- :CHALLENGE,
364
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
365
- )
366
-
367
- sig do
368
- override.returns(
369
- T::Array[
370
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
371
- ]
372
- )
373
- end
374
- def self.values
375
- end
376
- end
377
-
378
- class Condition < Lithic::Internal::Type::BaseModel
379
- OrHash =
380
- T.type_alias do
381
- T.any(
382
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
383
- Lithic::Internal::AnyHash
384
- )
385
- end
386
-
387
- # The attribute to target.
388
- #
389
- # The following attributes may be targeted:
390
- #
391
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
392
- # business by the types of goods or services it provides.
393
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
394
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
395
- # Netherlands Antilles.
396
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
397
- # the transaction.
398
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
399
- # (merchant).
400
- # - `DESCRIPTOR`: Short description of card acceptor.
401
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
402
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
403
- # `TOKEN_AUTHENTICATED`.
404
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
405
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
406
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
407
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
408
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
409
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
410
- # fee field in the settlement/cardholder billing currency. This is the amount
411
- # the issuer should authorize against unless the issuer is paying the acquirer
412
- # fee on behalf of the cardholder.
413
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
414
- # represents the amount of cash being withdrawn or advanced.
415
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
416
- # given authorization. Scores are on a range of 0-999, with 0 representing the
417
- # lowest risk and 999 representing the highest risk. For Visa transactions,
418
- # where the raw score has a range of 0-99, Lithic will normalize the score by
419
- # multiplying the raw score by 10x.
420
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
421
- # trailing 15 minutes before the authorization.
422
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
423
- # trailing hour up and until the authorization.
424
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
425
- # trailing 24 hours up and until the authorization.
426
- # - `CARD_STATE`: The current state of the card associated with the transaction.
427
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
428
- # `PENDING_FULFILLMENT`.
429
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
430
- # Valid values are `TRUE`, `FALSE`.
431
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
432
- # `OK`, `BLOCKED`.
433
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
434
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
435
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
436
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
437
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
438
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
439
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
440
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
441
- sig do
442
- returns(
443
- T.nilable(
444
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
445
- )
446
- )
447
- end
448
- attr_reader :attribute
449
-
450
- sig do
451
- params(
452
- attribute:
453
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
454
- ).void
455
- end
456
- attr_writer :attribute
457
-
458
- # The operation to apply to the attribute
459
- sig do
460
- returns(
461
- T.nilable(
462
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
463
- )
464
- )
465
- end
466
- attr_reader :operation
467
-
468
- sig do
469
- params(
470
- operation:
471
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
472
- ).void
473
- end
474
- attr_writer :operation
475
-
476
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
477
- sig do
478
- returns(
479
- T.nilable(
480
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
481
- )
482
- )
483
- end
484
- attr_reader :value
485
-
486
- sig do
487
- params(
488
- value:
489
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
490
- ).void
491
- end
492
- attr_writer :value
493
-
494
- sig do
495
- params(
496
- attribute:
497
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
498
- operation:
499
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
500
- value:
501
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
502
- ).returns(T.attached_class)
503
- end
504
- def self.new(
505
- # The attribute to target.
506
- #
507
- # The following attributes may be targeted:
508
- #
509
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
510
- # business by the types of goods or services it provides.
511
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
512
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
513
- # Netherlands Antilles.
514
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
515
- # the transaction.
516
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
517
- # (merchant).
518
- # - `DESCRIPTOR`: Short description of card acceptor.
519
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
520
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
521
- # `TOKEN_AUTHENTICATED`.
522
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
523
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
524
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
525
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
526
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
527
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
528
- # fee field in the settlement/cardholder billing currency. This is the amount
529
- # the issuer should authorize against unless the issuer is paying the acquirer
530
- # fee on behalf of the cardholder.
531
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
532
- # represents the amount of cash being withdrawn or advanced.
533
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
534
- # given authorization. Scores are on a range of 0-999, with 0 representing the
535
- # lowest risk and 999 representing the highest risk. For Visa transactions,
536
- # where the raw score has a range of 0-99, Lithic will normalize the score by
537
- # multiplying the raw score by 10x.
538
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
539
- # trailing 15 minutes before the authorization.
540
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
541
- # trailing hour up and until the authorization.
542
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
543
- # trailing 24 hours up and until the authorization.
544
- # - `CARD_STATE`: The current state of the card associated with the transaction.
545
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
546
- # `PENDING_FULFILLMENT`.
547
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
548
- # Valid values are `TRUE`, `FALSE`.
549
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
550
- # `OK`, `BLOCKED`.
551
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
552
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
553
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
554
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
555
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
556
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
557
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
558
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
559
- attribute: nil,
560
- # The operation to apply to the attribute
561
- operation: nil,
562
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
563
- value: nil
564
- )
565
- end
566
-
567
- sig do
568
- override.returns(
569
- {
570
- attribute:
571
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
572
- operation:
573
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
574
- value:
575
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
576
- }
577
- )
578
- end
579
- def to_hash
580
- end
581
-
582
- # The attribute to target.
583
- #
584
- # The following attributes may be targeted:
585
- #
586
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
587
- # business by the types of goods or services it provides.
588
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
589
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
590
- # Netherlands Antilles.
591
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
592
- # the transaction.
593
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
594
- # (merchant).
595
- # - `DESCRIPTOR`: Short description of card acceptor.
596
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
597
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
598
- # `TOKEN_AUTHENTICATED`.
599
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
600
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
601
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
602
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
603
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
604
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
605
- # fee field in the settlement/cardholder billing currency. This is the amount
606
- # the issuer should authorize against unless the issuer is paying the acquirer
607
- # fee on behalf of the cardholder.
608
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
609
- # represents the amount of cash being withdrawn or advanced.
610
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
611
- # given authorization. Scores are on a range of 0-999, with 0 representing the
612
- # lowest risk and 999 representing the highest risk. For Visa transactions,
613
- # where the raw score has a range of 0-99, Lithic will normalize the score by
614
- # multiplying the raw score by 10x.
615
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
616
- # trailing 15 minutes before the authorization.
617
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
618
- # trailing hour up and until the authorization.
619
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
620
- # trailing 24 hours up and until the authorization.
621
- # - `CARD_STATE`: The current state of the card associated with the transaction.
622
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
623
- # `PENDING_FULFILLMENT`.
624
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
625
- # Valid values are `TRUE`, `FALSE`.
626
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
627
- # `OK`, `BLOCKED`.
628
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
629
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
630
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
631
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
632
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
633
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
634
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
635
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
636
- module Attribute
637
- extend Lithic::Internal::Type::Enum
638
-
639
- TaggedSymbol =
640
- T.type_alias do
641
- T.all(
642
- Symbol,
643
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
644
- )
645
- end
646
- OrSymbol = T.type_alias { T.any(Symbol, String) }
647
-
648
- MCC =
649
- T.let(
650
- :MCC,
651
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
652
- )
653
- COUNTRY =
654
- T.let(
655
- :COUNTRY,
656
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
657
- )
658
- CURRENCY =
659
- T.let(
660
- :CURRENCY,
661
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
662
- )
663
- MERCHANT_ID =
664
- T.let(
665
- :MERCHANT_ID,
666
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
667
- )
668
- DESCRIPTOR =
669
- T.let(
670
- :DESCRIPTOR,
671
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
672
- )
673
- LIABILITY_SHIFT =
674
- T.let(
675
- :LIABILITY_SHIFT,
676
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
677
- )
678
- PAN_ENTRY_MODE =
679
- T.let(
680
- :PAN_ENTRY_MODE,
681
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
682
- )
683
- TRANSACTION_AMOUNT =
684
- T.let(
685
- :TRANSACTION_AMOUNT,
686
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
687
- )
688
- CASH_AMOUNT =
689
- T.let(
690
- :CASH_AMOUNT,
691
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
692
- )
693
- RISK_SCORE =
694
- T.let(
695
- :RISK_SCORE,
696
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
697
- )
698
- CARD_TRANSACTION_COUNT_15_M =
699
- T.let(
700
- :CARD_TRANSACTION_COUNT_15M,
701
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
702
- )
703
- CARD_TRANSACTION_COUNT_1_H =
704
- T.let(
705
- :CARD_TRANSACTION_COUNT_1H,
706
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
707
- )
708
- CARD_TRANSACTION_COUNT_24_H =
709
- T.let(
710
- :CARD_TRANSACTION_COUNT_24H,
711
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
712
- )
713
- CARD_STATE =
714
- T.let(
715
- :CARD_STATE,
716
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
717
- )
718
- PIN_ENTERED =
719
- T.let(
720
- :PIN_ENTERED,
721
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
722
- )
723
- PIN_STATUS =
724
- T.let(
725
- :PIN_STATUS,
726
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
727
- )
728
- WALLET_TYPE =
729
- T.let(
730
- :WALLET_TYPE,
731
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
732
- )
733
- TRANSACTION_INITIATOR =
734
- T.let(
735
- :TRANSACTION_INITIATOR,
736
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
737
- )
738
- ADDRESS_MATCH =
739
- T.let(
740
- :ADDRESS_MATCH,
741
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
742
- )
743
-
744
- sig do
745
- override.returns(
746
- T::Array[
747
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
748
- ]
749
- )
750
- end
751
- def self.values
752
- end
753
- end
754
-
755
- # The operation to apply to the attribute
756
- module Operation
757
- extend Lithic::Internal::Type::Enum
758
-
759
- TaggedSymbol =
760
- T.type_alias do
761
- T.all(
762
- Symbol,
763
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
764
- )
765
- end
766
- OrSymbol = T.type_alias { T.any(Symbol, String) }
767
-
768
- IS_ONE_OF =
769
- T.let(
770
- :IS_ONE_OF,
771
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
772
- )
773
- IS_NOT_ONE_OF =
774
- T.let(
775
- :IS_NOT_ONE_OF,
776
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
777
- )
778
- MATCHES =
779
- T.let(
780
- :MATCHES,
781
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
782
- )
783
- DOES_NOT_MATCH =
784
- T.let(
785
- :DOES_NOT_MATCH,
786
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
787
- )
788
- IS_EQUAL_TO =
789
- T.let(
790
- :IS_EQUAL_TO,
791
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
792
- )
793
- IS_NOT_EQUAL_TO =
794
- T.let(
795
- :IS_NOT_EQUAL_TO,
796
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
797
- )
798
- IS_GREATER_THAN =
799
- T.let(
800
- :IS_GREATER_THAN,
801
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
802
- )
803
- IS_GREATER_THAN_OR_EQUAL_TO =
804
- T.let(
805
- :IS_GREATER_THAN_OR_EQUAL_TO,
806
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
807
- )
808
- IS_LESS_THAN =
809
- T.let(
810
- :IS_LESS_THAN,
811
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
812
- )
813
- IS_LESS_THAN_OR_EQUAL_TO =
814
- T.let(
815
- :IS_LESS_THAN_OR_EQUAL_TO,
816
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
817
- )
818
-
819
- sig do
820
- override.returns(
821
- T::Array[
822
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
823
- ]
824
- )
825
- end
826
- def self.values
827
- end
828
- end
829
-
830
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
831
- module Value
832
- extend Lithic::Internal::Type::Union
833
-
834
- Variants =
835
- T.type_alias { T.any(String, Integer, T::Array[String]) }
836
-
837
- sig do
838
- override.returns(
839
- T::Array[
840
- Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
841
- ]
842
- )
843
- end
844
- def self.variants
845
- end
846
-
847
- StringArray =
848
- T.let(
849
- Lithic::Internal::Type::ArrayOf[String],
850
- Lithic::Internal::Type::Converter
851
- )
852
- end
853
- end
854
- end
855
-
856
285
  sig do
857
286
  override.returns(
858
287
  T::Array[
@@ -895,7 +324,7 @@ module Lithic
895
324
  Lithic::AuthRules::VelocityLimitParams::OrHash,
896
325
  Lithic::AuthRules::MerchantLockParameters::OrHash,
897
326
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
898
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::OrHash
327
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
899
328
  ),
900
329
  version: Integer
901
330
  ).returns(T.attached_class)
@@ -932,581 +361,10 @@ module Lithic
932
361
  Lithic::AuthRules::VelocityLimitParams,
933
362
  Lithic::AuthRules::MerchantLockParameters,
934
363
  Lithic::AuthRules::Conditional3DSActionParameters,
935
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
364
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters
936
365
  )
937
366
  end
938
367
 
939
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
940
- OrHash =
941
- T.type_alias do
942
- T.any(
943
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters,
944
- Lithic::Internal::AnyHash
945
- )
946
- end
947
-
948
- # The action to take if the conditions are met.
949
- sig do
950
- returns(
951
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
952
- )
953
- end
954
- attr_accessor :action
955
-
956
- sig do
957
- returns(
958
- T::Array[
959
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
960
- ]
961
- )
962
- end
963
- attr_accessor :conditions
964
-
965
- sig do
966
- params(
967
- action:
968
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
969
- conditions:
970
- T::Array[
971
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
972
- ]
973
- ).returns(T.attached_class)
974
- end
975
- def self.new(
976
- # The action to take if the conditions are met.
977
- action:,
978
- conditions:
979
- )
980
- end
981
-
982
- sig do
983
- override.returns(
984
- {
985
- action:
986
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol,
987
- conditions:
988
- T::Array[
989
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition
990
- ]
991
- }
992
- )
993
- end
994
- def to_hash
995
- end
996
-
997
- # The action to take if the conditions are met.
998
- module Action
999
- extend Lithic::Internal::Type::Enum
1000
-
1001
- TaggedSymbol =
1002
- T.type_alias do
1003
- T.all(
1004
- Symbol,
1005
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action
1006
- )
1007
- end
1008
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1009
-
1010
- DECLINE =
1011
- T.let(
1012
- :DECLINE,
1013
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1014
- )
1015
- CHALLENGE =
1016
- T.let(
1017
- :CHALLENGE,
1018
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1019
- )
1020
-
1021
- sig do
1022
- override.returns(
1023
- T::Array[
1024
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
1025
- ]
1026
- )
1027
- end
1028
- def self.values
1029
- end
1030
- end
1031
-
1032
- class Condition < Lithic::Internal::Type::BaseModel
1033
- OrHash =
1034
- T.type_alias do
1035
- T.any(
1036
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition,
1037
- Lithic::Internal::AnyHash
1038
- )
1039
- end
1040
-
1041
- # The attribute to target.
1042
- #
1043
- # The following attributes may be targeted:
1044
- #
1045
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1046
- # business by the types of goods or services it provides.
1047
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1048
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1049
- # Netherlands Antilles.
1050
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1051
- # the transaction.
1052
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1053
- # (merchant).
1054
- # - `DESCRIPTOR`: Short description of card acceptor.
1055
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1056
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1057
- # `TOKEN_AUTHENTICATED`.
1058
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1059
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1060
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1061
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1062
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
1063
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1064
- # fee field in the settlement/cardholder billing currency. This is the amount
1065
- # the issuer should authorize against unless the issuer is paying the acquirer
1066
- # fee on behalf of the cardholder.
1067
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1068
- # represents the amount of cash being withdrawn or advanced.
1069
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1070
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1071
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1072
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1073
- # multiplying the raw score by 10x.
1074
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1075
- # trailing 15 minutes before the authorization.
1076
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1077
- # trailing hour up and until the authorization.
1078
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1079
- # trailing 24 hours up and until the authorization.
1080
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1081
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1082
- # `PENDING_FULFILLMENT`.
1083
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1084
- # Valid values are `TRUE`, `FALSE`.
1085
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1086
- # `OK`, `BLOCKED`.
1087
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1088
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1089
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1090
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1091
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1092
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1093
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1094
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1095
- sig do
1096
- returns(
1097
- T.nilable(
1098
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1099
- )
1100
- )
1101
- end
1102
- attr_reader :attribute
1103
-
1104
- sig do
1105
- params(
1106
- attribute:
1107
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
1108
- ).void
1109
- end
1110
- attr_writer :attribute
1111
-
1112
- # The operation to apply to the attribute
1113
- sig do
1114
- returns(
1115
- T.nilable(
1116
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1117
- )
1118
- )
1119
- end
1120
- attr_reader :operation
1121
-
1122
- sig do
1123
- params(
1124
- operation:
1125
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
1126
- ).void
1127
- end
1128
- attr_writer :operation
1129
-
1130
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1131
- sig do
1132
- returns(
1133
- T.nilable(
1134
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1135
- )
1136
- )
1137
- end
1138
- attr_reader :value
1139
-
1140
- sig do
1141
- params(
1142
- value:
1143
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1144
- ).void
1145
- end
1146
- attr_writer :value
1147
-
1148
- sig do
1149
- params(
1150
- attribute:
1151
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
1152
- operation:
1153
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
1154
- value:
1155
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1156
- ).returns(T.attached_class)
1157
- end
1158
- def self.new(
1159
- # The attribute to target.
1160
- #
1161
- # The following attributes may be targeted:
1162
- #
1163
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1164
- # business by the types of goods or services it provides.
1165
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1166
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1167
- # Netherlands Antilles.
1168
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1169
- # the transaction.
1170
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1171
- # (merchant).
1172
- # - `DESCRIPTOR`: Short description of card acceptor.
1173
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1174
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1175
- # `TOKEN_AUTHENTICATED`.
1176
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1177
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1178
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1179
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1180
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
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
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1186
- # represents the amount of cash being withdrawn or advanced.
1187
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1188
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1189
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1190
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1191
- # multiplying the raw score by 10x.
1192
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1193
- # trailing 15 minutes before the authorization.
1194
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1195
- # trailing hour up and until the authorization.
1196
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1197
- # trailing 24 hours up and until the authorization.
1198
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1199
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1200
- # `PENDING_FULFILLMENT`.
1201
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1202
- # Valid values are `TRUE`, `FALSE`.
1203
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1204
- # `OK`, `BLOCKED`.
1205
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1206
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1207
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1208
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1209
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1210
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1211
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1212
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1213
- attribute: nil,
1214
- # The operation to apply to the attribute
1215
- operation: nil,
1216
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1217
- value: nil
1218
- )
1219
- end
1220
-
1221
- sig do
1222
- override.returns(
1223
- {
1224
- attribute:
1225
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol,
1226
- operation:
1227
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol,
1228
- value:
1229
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1230
- }
1231
- )
1232
- end
1233
- def to_hash
1234
- end
1235
-
1236
- # The attribute to target.
1237
- #
1238
- # The following attributes may be targeted:
1239
- #
1240
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
1241
- # business by the types of goods or services it provides.
1242
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
1243
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
1244
- # Netherlands Antilles.
1245
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
1246
- # the transaction.
1247
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
1248
- # (merchant).
1249
- # - `DESCRIPTOR`: Short description of card acceptor.
1250
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
1251
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
1252
- # `TOKEN_AUTHENTICATED`.
1253
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
1254
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
1255
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
1256
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
1257
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
1258
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
1259
- # fee field in the settlement/cardholder billing currency. This is the amount
1260
- # the issuer should authorize against unless the issuer is paying the acquirer
1261
- # fee on behalf of the cardholder.
1262
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
1263
- # represents the amount of cash being withdrawn or advanced.
1264
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
1265
- # given authorization. Scores are on a range of 0-999, with 0 representing the
1266
- # lowest risk and 999 representing the highest risk. For Visa transactions,
1267
- # where the raw score has a range of 0-99, Lithic will normalize the score by
1268
- # multiplying the raw score by 10x.
1269
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
1270
- # trailing 15 minutes before the authorization.
1271
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
1272
- # trailing hour up and until the authorization.
1273
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
1274
- # trailing 24 hours up and until the authorization.
1275
- # - `CARD_STATE`: The current state of the card associated with the transaction.
1276
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
1277
- # `PENDING_FULFILLMENT`.
1278
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
1279
- # Valid values are `TRUE`, `FALSE`.
1280
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
1281
- # `OK`, `BLOCKED`.
1282
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
1283
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
1284
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
1285
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
1286
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
1287
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
1288
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
1289
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
1290
- module Attribute
1291
- extend Lithic::Internal::Type::Enum
1292
-
1293
- TaggedSymbol =
1294
- T.type_alias do
1295
- T.all(
1296
- Symbol,
1297
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
1298
- )
1299
- end
1300
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1301
-
1302
- MCC =
1303
- T.let(
1304
- :MCC,
1305
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1306
- )
1307
- COUNTRY =
1308
- T.let(
1309
- :COUNTRY,
1310
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1311
- )
1312
- CURRENCY =
1313
- T.let(
1314
- :CURRENCY,
1315
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1316
- )
1317
- MERCHANT_ID =
1318
- T.let(
1319
- :MERCHANT_ID,
1320
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1321
- )
1322
- DESCRIPTOR =
1323
- T.let(
1324
- :DESCRIPTOR,
1325
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1326
- )
1327
- LIABILITY_SHIFT =
1328
- T.let(
1329
- :LIABILITY_SHIFT,
1330
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1331
- )
1332
- PAN_ENTRY_MODE =
1333
- T.let(
1334
- :PAN_ENTRY_MODE,
1335
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1336
- )
1337
- TRANSACTION_AMOUNT =
1338
- T.let(
1339
- :TRANSACTION_AMOUNT,
1340
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1341
- )
1342
- CASH_AMOUNT =
1343
- T.let(
1344
- :CASH_AMOUNT,
1345
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1346
- )
1347
- RISK_SCORE =
1348
- T.let(
1349
- :RISK_SCORE,
1350
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1351
- )
1352
- CARD_TRANSACTION_COUNT_15_M =
1353
- T.let(
1354
- :CARD_TRANSACTION_COUNT_15M,
1355
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1356
- )
1357
- CARD_TRANSACTION_COUNT_1_H =
1358
- T.let(
1359
- :CARD_TRANSACTION_COUNT_1H,
1360
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1361
- )
1362
- CARD_TRANSACTION_COUNT_24_H =
1363
- T.let(
1364
- :CARD_TRANSACTION_COUNT_24H,
1365
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1366
- )
1367
- CARD_STATE =
1368
- T.let(
1369
- :CARD_STATE,
1370
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1371
- )
1372
- PIN_ENTERED =
1373
- T.let(
1374
- :PIN_ENTERED,
1375
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1376
- )
1377
- PIN_STATUS =
1378
- T.let(
1379
- :PIN_STATUS,
1380
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1381
- )
1382
- WALLET_TYPE =
1383
- T.let(
1384
- :WALLET_TYPE,
1385
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1386
- )
1387
- TRANSACTION_INITIATOR =
1388
- T.let(
1389
- :TRANSACTION_INITIATOR,
1390
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1391
- )
1392
- ADDRESS_MATCH =
1393
- T.let(
1394
- :ADDRESS_MATCH,
1395
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1396
- )
1397
-
1398
- sig do
1399
- override.returns(
1400
- T::Array[
1401
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
1402
- ]
1403
- )
1404
- end
1405
- def self.values
1406
- end
1407
- end
1408
-
1409
- # The operation to apply to the attribute
1410
- module Operation
1411
- extend Lithic::Internal::Type::Enum
1412
-
1413
- TaggedSymbol =
1414
- T.type_alias do
1415
- T.all(
1416
- Symbol,
1417
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
1418
- )
1419
- end
1420
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1421
-
1422
- IS_ONE_OF =
1423
- T.let(
1424
- :IS_ONE_OF,
1425
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1426
- )
1427
- IS_NOT_ONE_OF =
1428
- T.let(
1429
- :IS_NOT_ONE_OF,
1430
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1431
- )
1432
- MATCHES =
1433
- T.let(
1434
- :MATCHES,
1435
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1436
- )
1437
- DOES_NOT_MATCH =
1438
- T.let(
1439
- :DOES_NOT_MATCH,
1440
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1441
- )
1442
- IS_EQUAL_TO =
1443
- T.let(
1444
- :IS_EQUAL_TO,
1445
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1446
- )
1447
- IS_NOT_EQUAL_TO =
1448
- T.let(
1449
- :IS_NOT_EQUAL_TO,
1450
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1451
- )
1452
- IS_GREATER_THAN =
1453
- T.let(
1454
- :IS_GREATER_THAN,
1455
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1456
- )
1457
- IS_GREATER_THAN_OR_EQUAL_TO =
1458
- T.let(
1459
- :IS_GREATER_THAN_OR_EQUAL_TO,
1460
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1461
- )
1462
- IS_LESS_THAN =
1463
- T.let(
1464
- :IS_LESS_THAN,
1465
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1466
- )
1467
- IS_LESS_THAN_OR_EQUAL_TO =
1468
- T.let(
1469
- :IS_LESS_THAN_OR_EQUAL_TO,
1470
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1471
- )
1472
-
1473
- sig do
1474
- override.returns(
1475
- T::Array[
1476
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
1477
- ]
1478
- )
1479
- end
1480
- def self.values
1481
- end
1482
- end
1483
-
1484
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
1485
- module Value
1486
- extend Lithic::Internal::Type::Union
1487
-
1488
- Variants =
1489
- T.type_alias { T.any(String, Integer, T::Array[String]) }
1490
-
1491
- sig do
1492
- override.returns(
1493
- T::Array[
1494
- Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
1495
- ]
1496
- )
1497
- end
1498
- def self.variants
1499
- end
1500
-
1501
- StringArray =
1502
- T.let(
1503
- Lithic::Internal::Type::ArrayOf[String],
1504
- Lithic::Internal::Type::Converter
1505
- )
1506
- end
1507
- end
1508
- end
1509
-
1510
368
  sig do
1511
369
  override.returns(
1512
370
  T::Array[