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