lithic 0.1.0.pre.alpha.54 → 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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
  5. data/lib/lithic/models/account_holder_update_response.rb +4 -4
  6. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
  11. data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
  12. data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
  13. data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
  15. data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
  16. data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
  17. data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
  18. data/lib/lithic/models/book_transfer_response.rb +5 -5
  19. data/lib/lithic/models/dispute.rb +510 -242
  20. data/lib/lithic/models/dispute_create_response.rb +326 -0
  21. data/lib/lithic/models/dispute_delete_response.rb +326 -0
  22. data/lib/lithic/models/dispute_list_response.rb +326 -0
  23. data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
  24. data/lib/lithic/models/dispute_update_response.rb +326 -0
  25. data/lib/lithic/models/event.rb +213 -69
  26. data/lib/lithic/models/event_list_params.rb +112 -6
  27. data/lib/lithic/models/event_subscription.rb +112 -6
  28. data/lib/lithic/models/events/subscription_create_params.rb +112 -6
  29. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
  30. data/lib/lithic/models/events/subscription_update_params.rb +112 -6
  31. data/lib/lithic/models/financial_account.rb +1 -65
  32. data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
  33. data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
  34. data/lib/lithic/models/financial_accounts/statement.rb +66 -2
  35. data/lib/lithic/models/payment.rb +9 -9
  36. data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
  37. data/lib/lithic/models/tokenization.rb +189 -23
  38. data/lib/lithic/models/transaction.rb +12 -116
  39. data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
  40. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
  41. data/lib/lithic/resources/auth_rules/v2.rb +13 -56
  42. data/lib/lithic/resources/disputes.rb +10 -10
  43. data/lib/lithic/resources/payments.rb +5 -1
  44. data/lib/lithic/version.rb +1 -1
  45. data/lib/lithic.rb +7 -3
  46. data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
  47. data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
  48. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
  49. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
  50. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
  51. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
  52. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
  53. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
  54. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
  55. data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
  56. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
  57. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
  58. data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
  59. data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
  60. data/rbi/lithic/models/book_transfer_response.rbi +14 -11
  61. data/rbi/lithic/models/dispute.rbi +942 -395
  62. data/rbi/lithic/models/dispute_create_response.rbi +599 -0
  63. data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
  64. data/rbi/lithic/models/dispute_list_response.rbi +582 -0
  65. data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
  66. data/rbi/lithic/models/dispute_update_response.rbi +599 -0
  67. data/rbi/lithic/models/event.rbi +348 -111
  68. data/rbi/lithic/models/event_list_params.rbi +155 -25
  69. data/rbi/lithic/models/event_subscription.rbi +155 -25
  70. data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
  71. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
  72. data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
  73. data/rbi/lithic/models/financial_account.rbi +3 -132
  74. data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
  75. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
  76. data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
  77. data/rbi/lithic/models/payment.rbi +11 -14
  78. data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
  79. data/rbi/lithic/models/tokenization.rbi +429 -34
  80. data/rbi/lithic/models/transaction.rbi +22 -246
  81. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
  82. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
  83. data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
  84. data/rbi/lithic/resources/disputes.rbi +7 -5
  85. data/rbi/lithic/resources/payments.rbi +6 -0
  86. data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
  87. data/sig/lithic/models/account_holder_update_response.rbs +8 -12
  88. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
  89. data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
  90. data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
  91. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
  92. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
  93. data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
  94. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
  95. data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
  96. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
  97. data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
  98. data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
  99. data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
  100. data/sig/lithic/models/book_transfer_response.rbs +7 -7
  101. data/sig/lithic/models/dispute.rbs +417 -157
  102. data/sig/lithic/models/dispute_create_response.rbs +210 -0
  103. data/sig/lithic/models/dispute_delete_response.rbs +210 -0
  104. data/sig/lithic/models/dispute_list_response.rbs +210 -0
  105. data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
  106. data/sig/lithic/models/dispute_update_response.rbs +210 -0
  107. data/sig/lithic/models/event.rbs +25 -13
  108. data/sig/lithic/models/event_list_params.rbs +25 -13
  109. data/sig/lithic/models/event_subscription.rbs +25 -13
  110. data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
  111. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
  112. data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
  113. data/sig/lithic/models/financial_account.rbs +3 -45
  114. data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
  115. data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
  116. data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
  117. data/sig/lithic/models/payment.rbs +8 -10
  118. data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
  119. data/sig/lithic/models/tokenization.rbs +160 -13
  120. data/sig/lithic/models/transaction.rbs +13 -94
  121. data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
  122. data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
  123. data/sig/lithic/resources/disputes.rbs +5 -5
  124. data/sig/lithic/resources/payments.rbs +2 -0
  125. metadata +23 -11
  126. data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
  127. data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
  128. data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
  129. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
  130. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
  131. data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
  132. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
  133. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
  134. data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
@@ -12,6 +12,32 @@ module Lithic
12
12
  T.any(Lithic::AuthRules::V2CreateParams, Lithic::Internal::AnyHash)
13
13
  end
14
14
 
15
+ # Parameters for the Auth Rule
16
+ sig do
17
+ returns(
18
+ T.any(
19
+ Lithic::AuthRules::ConditionalBlockParameters,
20
+ Lithic::AuthRules::VelocityLimitParams,
21
+ Lithic::AuthRules::MerchantLockParameters,
22
+ Lithic::AuthRules::Conditional3DSActionParameters,
23
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters
24
+ )
25
+ )
26
+ end
27
+ attr_accessor :parameters
28
+
29
+ # The type of Auth Rule. For certain rule types, this determines the event stream
30
+ # during which it will be evaluated. For rules that can be applied to one of
31
+ # several event streams, the effective one is defined by the separate
32
+ # `event_stream` field.
33
+ #
34
+ # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
35
+ # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
36
+ # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
37
+ # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
38
+ sig { returns(Lithic::AuthRules::V2CreateParams::Type::OrSymbol) }
39
+ attr_accessor :type
40
+
15
41
  # Account tokens to which the Auth Rule applies.
16
42
  sig { returns(T.nilable(T::Array[String])) }
17
43
  attr_reader :account_tokens
@@ -46,55 +72,6 @@ module Lithic
46
72
  sig { returns(T.nilable(String)) }
47
73
  attr_accessor :name
48
74
 
49
- # Parameters for the Auth Rule
50
- sig do
51
- returns(
52
- T.nilable(
53
- T.any(
54
- Lithic::AuthRules::ConditionalBlockParameters,
55
- Lithic::AuthRules::VelocityLimitParams,
56
- Lithic::AuthRules::MerchantLockParameters,
57
- Lithic::AuthRules::Conditional3DSActionParameters,
58
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters
59
- )
60
- )
61
- )
62
- end
63
- attr_reader :parameters
64
-
65
- sig do
66
- params(
67
- parameters:
68
- T.any(
69
- Lithic::AuthRules::ConditionalBlockParameters::OrHash,
70
- Lithic::AuthRules::VelocityLimitParams::OrHash,
71
- Lithic::AuthRules::MerchantLockParameters::OrHash,
72
- Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
73
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::OrHash
74
- )
75
- ).void
76
- end
77
- attr_writer :parameters
78
-
79
- # The type of Auth Rule. For certain rule types, this determines the event stream
80
- # during which it will be evaluated. For rules that can be applied to one of
81
- # several event streams, the effective one is defined by the separate
82
- # `event_stream` field.
83
- #
84
- # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
85
- # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
86
- # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
87
- # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
88
- sig do
89
- returns(T.nilable(Lithic::AuthRules::V2CreateParams::Type::OrSymbol))
90
- end
91
- attr_reader :type
92
-
93
- sig do
94
- params(type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol).void
95
- end
96
- attr_writer :type
97
-
98
75
  # Card tokens to which the Auth Rule applies.
99
76
  sig { returns(T::Array[String]) }
100
77
  attr_accessor :card_tokens
@@ -112,27 +89,39 @@ module Lithic
112
89
 
113
90
  sig do
114
91
  params(
115
- card_tokens: T::Array[String],
116
- program_level: T::Boolean,
117
- account_tokens: T::Array[String],
118
- business_account_tokens: T::Array[String],
119
- event_stream:
120
- Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
121
- name: T.nilable(String),
122
92
  parameters:
123
93
  T.any(
124
94
  Lithic::AuthRules::ConditionalBlockParameters::OrHash,
125
95
  Lithic::AuthRules::VelocityLimitParams::OrHash,
126
96
  Lithic::AuthRules::MerchantLockParameters::OrHash,
127
97
  Lithic::AuthRules::Conditional3DSActionParameters::OrHash,
128
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::OrHash
98
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters::OrHash
129
99
  ),
130
100
  type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
101
+ card_tokens: T::Array[String],
102
+ program_level: T::Boolean,
103
+ account_tokens: T::Array[String],
104
+ business_account_tokens: T::Array[String],
105
+ event_stream:
106
+ Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
107
+ name: T.nilable(String),
131
108
  excluded_card_tokens: T::Array[String],
132
109
  request_options: Lithic::RequestOptions::OrHash
133
110
  ).returns(T.attached_class)
134
111
  end
135
112
  def self.new(
113
+ # Parameters for the Auth Rule
114
+ parameters:,
115
+ # The type of Auth Rule. For certain rule types, this determines the event stream
116
+ # during which it will be evaluated. For rules that can be applied to one of
117
+ # several event streams, the effective one is defined by the separate
118
+ # `event_stream` field.
119
+ #
120
+ # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
121
+ # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
122
+ # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
123
+ # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
124
+ type:,
136
125
  # Card tokens to which the Auth Rule applies.
137
126
  card_tokens:,
138
127
  # Whether the Auth Rule applies to all authorizations on the card program.
@@ -145,18 +134,6 @@ module Lithic
145
134
  event_stream: nil,
146
135
  # Auth Rule Name
147
136
  name: nil,
148
- # Parameters for the Auth Rule
149
- parameters: nil,
150
- # The type of Auth Rule. For certain rule types, this determines the event stream
151
- # during which it will be evaluated. For rules that can be applied to one of
152
- # several event streams, the effective one is defined by the separate
153
- # `event_stream` field.
154
- #
155
- # - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
156
- # - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
157
- # - `MERCHANT_LOCK`: AUTHORIZATION event stream.
158
- # - `CONDITIONAL_ACTION`: AUTHORIZATION or THREE_DS_AUTHENTICATION event stream.
159
- type: nil,
160
137
  # Card tokens to which the Auth Rule does not apply.
161
138
  excluded_card_tokens: nil,
162
139
  request_options: {}
@@ -166,20 +143,20 @@ module Lithic
166
143
  sig do
167
144
  override.returns(
168
145
  {
169
- account_tokens: T::Array[String],
170
- business_account_tokens: T::Array[String],
171
- event_stream:
172
- Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
173
- name: T.nilable(String),
174
146
  parameters:
175
147
  T.any(
176
148
  Lithic::AuthRules::ConditionalBlockParameters,
177
149
  Lithic::AuthRules::VelocityLimitParams,
178
150
  Lithic::AuthRules::MerchantLockParameters,
179
151
  Lithic::AuthRules::Conditional3DSActionParameters,
180
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters
152
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters
181
153
  ),
182
154
  type: Lithic::AuthRules::V2CreateParams::Type::OrSymbol,
155
+ account_tokens: T::Array[String],
156
+ business_account_tokens: T::Array[String],
157
+ event_stream:
158
+ Lithic::AuthRules::V2CreateParams::EventStream::OrSymbol,
159
+ name: T.nilable(String),
183
160
  card_tokens: T::Array[String],
184
161
  program_level: T::Boolean,
185
162
  excluded_card_tokens: T::Array[String],
@@ -190,38 +167,6 @@ module Lithic
190
167
  def to_hash
191
168
  end
192
169
 
193
- # The event stream during which the rule will be evaluated.
194
- module EventStream
195
- extend Lithic::Internal::Type::Enum
196
-
197
- TaggedSymbol =
198
- T.type_alias do
199
- T.all(Symbol, Lithic::AuthRules::V2CreateParams::EventStream)
200
- end
201
- OrSymbol = T.type_alias { T.any(Symbol, String) }
202
-
203
- AUTHORIZATION =
204
- T.let(
205
- :AUTHORIZATION,
206
- Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
207
- )
208
- THREE_DS_AUTHENTICATION =
209
- T.let(
210
- :THREE_DS_AUTHENTICATION,
211
- Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
212
- )
213
-
214
- sig do
215
- override.returns(
216
- T::Array[
217
- Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
218
- ]
219
- )
220
- end
221
- def self.values
222
- end
223
- end
224
-
225
170
  # Parameters for the Auth Rule
226
171
  module Parameters
227
172
  extend Lithic::Internal::Type::Union
@@ -233,580 +178,9 @@ module Lithic
233
178
  Lithic::AuthRules::VelocityLimitParams,
234
179
  Lithic::AuthRules::MerchantLockParameters,
235
180
  Lithic::AuthRules::Conditional3DSActionParameters,
236
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters
237
- )
238
- end
239
-
240
- class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
241
- OrHash =
242
- T.type_alias do
243
- T.any(
244
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters,
245
- Lithic::Internal::AnyHash
246
- )
247
- end
248
-
249
- # The action to take if the conditions are met.
250
- sig do
251
- returns(
252
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol
253
- )
254
- end
255
- attr_accessor :action
256
-
257
- sig do
258
- returns(
259
- T::Array[
260
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition
261
- ]
262
- )
263
- end
264
- attr_accessor :conditions
265
-
266
- sig do
267
- params(
268
- action:
269
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
270
- conditions:
271
- T::Array[
272
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::OrHash
273
- ]
274
- ).returns(T.attached_class)
275
- end
276
- def self.new(
277
- # The action to take if the conditions are met.
278
- action:,
279
- conditions:
280
- )
281
- end
282
-
283
- sig do
284
- override.returns(
285
- {
286
- action:
287
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::OrSymbol,
288
- conditions:
289
- T::Array[
290
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition
291
- ]
292
- }
181
+ Lithic::AuthRules::ConditionalAuthorizationActionParameters
293
182
  )
294
183
  end
295
- def to_hash
296
- end
297
-
298
- # The action to take if the conditions are met.
299
- module Action
300
- extend Lithic::Internal::Type::Enum
301
-
302
- TaggedSymbol =
303
- T.type_alias do
304
- T.all(
305
- Symbol,
306
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action
307
- )
308
- end
309
- OrSymbol = T.type_alias { T.any(Symbol, String) }
310
-
311
- DECLINE =
312
- T.let(
313
- :DECLINE,
314
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
315
- )
316
- CHALLENGE =
317
- T.let(
318
- :CHALLENGE,
319
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
320
- )
321
-
322
- sig do
323
- override.returns(
324
- T::Array[
325
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Action::TaggedSymbol
326
- ]
327
- )
328
- end
329
- def self.values
330
- end
331
- end
332
-
333
- class Condition < Lithic::Internal::Type::BaseModel
334
- OrHash =
335
- T.type_alias do
336
- T.any(
337
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition,
338
- Lithic::Internal::AnyHash
339
- )
340
- end
341
-
342
- # The attribute to target.
343
- #
344
- # The following attributes may be targeted:
345
- #
346
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
347
- # business by the types of goods or services it provides.
348
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
349
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
350
- # Netherlands Antilles.
351
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
352
- # the transaction.
353
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
354
- # (merchant).
355
- # - `DESCRIPTOR`: Short description of card acceptor.
356
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
357
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
358
- # `TOKEN_AUTHENTICATED`.
359
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
360
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
361
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
362
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
363
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
364
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
365
- # fee field in the settlement/cardholder billing currency. This is the amount
366
- # the issuer should authorize against unless the issuer is paying the acquirer
367
- # fee on behalf of the cardholder.
368
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
369
- # represents the amount of cash being withdrawn or advanced.
370
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
371
- # given authorization. Scores are on a range of 0-999, with 0 representing the
372
- # lowest risk and 999 representing the highest risk. For Visa transactions,
373
- # where the raw score has a range of 0-99, Lithic will normalize the score by
374
- # multiplying the raw score by 10x.
375
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
376
- # trailing 15 minutes before the authorization.
377
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
378
- # trailing hour up and until the authorization.
379
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
380
- # trailing 24 hours up and until the authorization.
381
- # - `CARD_STATE`: The current state of the card associated with the transaction.
382
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
383
- # `PENDING_FULFILLMENT`.
384
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
385
- # Valid values are `TRUE`, `FALSE`.
386
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
387
- # `OK`, `BLOCKED`.
388
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
389
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
390
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
391
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
392
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
393
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
394
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
395
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
396
- sig do
397
- returns(
398
- T.nilable(
399
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
400
- )
401
- )
402
- end
403
- attr_reader :attribute
404
-
405
- sig do
406
- params(
407
- attribute:
408
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
409
- ).void
410
- end
411
- attr_writer :attribute
412
-
413
- # The operation to apply to the attribute
414
- sig do
415
- returns(
416
- T.nilable(
417
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
418
- )
419
- )
420
- end
421
- attr_reader :operation
422
-
423
- sig do
424
- params(
425
- operation:
426
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
427
- ).void
428
- end
429
- attr_writer :operation
430
-
431
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
432
- sig do
433
- returns(
434
- T.nilable(
435
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
436
- )
437
- )
438
- end
439
- attr_reader :value
440
-
441
- sig do
442
- params(
443
- value:
444
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
445
- ).void
446
- end
447
- attr_writer :value
448
-
449
- sig do
450
- params(
451
- attribute:
452
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
453
- operation:
454
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
455
- value:
456
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
457
- ).returns(T.attached_class)
458
- end
459
- def self.new(
460
- # The attribute to target.
461
- #
462
- # The following attributes may be targeted:
463
- #
464
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
465
- # business by the types of goods or services it provides.
466
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
467
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
468
- # Netherlands Antilles.
469
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
470
- # the transaction.
471
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
472
- # (merchant).
473
- # - `DESCRIPTOR`: Short description of card acceptor.
474
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
475
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
476
- # `TOKEN_AUTHENTICATED`.
477
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
478
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
479
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
480
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
481
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
482
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
483
- # fee field in the settlement/cardholder billing currency. This is the amount
484
- # the issuer should authorize against unless the issuer is paying the acquirer
485
- # fee on behalf of the cardholder.
486
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
487
- # represents the amount of cash being withdrawn or advanced.
488
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
489
- # given authorization. Scores are on a range of 0-999, with 0 representing the
490
- # lowest risk and 999 representing the highest risk. For Visa transactions,
491
- # where the raw score has a range of 0-99, Lithic will normalize the score by
492
- # multiplying the raw score by 10x.
493
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
494
- # trailing 15 minutes before the authorization.
495
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
496
- # trailing hour up and until the authorization.
497
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
498
- # trailing 24 hours up and until the authorization.
499
- # - `CARD_STATE`: The current state of the card associated with the transaction.
500
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
501
- # `PENDING_FULFILLMENT`.
502
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
503
- # Valid values are `TRUE`, `FALSE`.
504
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
505
- # `OK`, `BLOCKED`.
506
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
507
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
508
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
509
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
510
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
511
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
512
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
513
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
514
- attribute: nil,
515
- # The operation to apply to the attribute
516
- operation: nil,
517
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
518
- value: nil
519
- )
520
- end
521
-
522
- sig do
523
- override.returns(
524
- {
525
- attribute:
526
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
527
- operation:
528
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol,
529
- value:
530
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
531
- }
532
- )
533
- end
534
- def to_hash
535
- end
536
-
537
- # The attribute to target.
538
- #
539
- # The following attributes may be targeted:
540
- #
541
- # - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
542
- # business by the types of goods or services it provides.
543
- # - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
544
- # ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
545
- # Netherlands Antilles.
546
- # - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
547
- # the transaction.
548
- # - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
549
- # (merchant).
550
- # - `DESCRIPTOR`: Short description of card acceptor.
551
- # - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
552
- # applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
553
- # `TOKEN_AUTHENTICATED`.
554
- # - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
555
- # (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
556
- # `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
557
- # `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
558
- # `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
559
- # - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
560
- # fee field in the settlement/cardholder billing currency. This is the amount
561
- # the issuer should authorize against unless the issuer is paying the acquirer
562
- # fee on behalf of the cardholder.
563
- # - `CASH_AMOUNT`: The cash amount of the transaction in minor units (cents). This
564
- # represents the amount of cash being withdrawn or advanced.
565
- # - `RISK_SCORE`: Network-provided score assessing risk level associated with a
566
- # given authorization. Scores are on a range of 0-999, with 0 representing the
567
- # lowest risk and 999 representing the highest risk. For Visa transactions,
568
- # where the raw score has a range of 0-99, Lithic will normalize the score by
569
- # multiplying the raw score by 10x.
570
- # - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
571
- # trailing 15 minutes before the authorization.
572
- # - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
573
- # trailing hour up and until the authorization.
574
- # - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
575
- # trailing 24 hours up and until the authorization.
576
- # - `CARD_STATE`: The current state of the card associated with the transaction.
577
- # Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
578
- # `PENDING_FULFILLMENT`.
579
- # - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
580
- # Valid values are `TRUE`, `FALSE`.
581
- # - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
582
- # `OK`, `BLOCKED`.
583
- # - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
584
- # source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
585
- # `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
586
- # - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
587
- # the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
588
- # - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
589
- # data with the cardholder KYC data if it exists. Valid values are `MATCH`,
590
- # `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
591
- module Attribute
592
- extend Lithic::Internal::Type::Enum
593
-
594
- TaggedSymbol =
595
- T.type_alias do
596
- T.all(
597
- Symbol,
598
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute
599
- )
600
- end
601
- OrSymbol = T.type_alias { T.any(Symbol, String) }
602
-
603
- MCC =
604
- T.let(
605
- :MCC,
606
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
607
- )
608
- COUNTRY =
609
- T.let(
610
- :COUNTRY,
611
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
612
- )
613
- CURRENCY =
614
- T.let(
615
- :CURRENCY,
616
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
617
- )
618
- MERCHANT_ID =
619
- T.let(
620
- :MERCHANT_ID,
621
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
622
- )
623
- DESCRIPTOR =
624
- T.let(
625
- :DESCRIPTOR,
626
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
627
- )
628
- LIABILITY_SHIFT =
629
- T.let(
630
- :LIABILITY_SHIFT,
631
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
632
- )
633
- PAN_ENTRY_MODE =
634
- T.let(
635
- :PAN_ENTRY_MODE,
636
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
637
- )
638
- TRANSACTION_AMOUNT =
639
- T.let(
640
- :TRANSACTION_AMOUNT,
641
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
642
- )
643
- CASH_AMOUNT =
644
- T.let(
645
- :CASH_AMOUNT,
646
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
647
- )
648
- RISK_SCORE =
649
- T.let(
650
- :RISK_SCORE,
651
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
652
- )
653
- CARD_TRANSACTION_COUNT_15_M =
654
- T.let(
655
- :CARD_TRANSACTION_COUNT_15M,
656
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
657
- )
658
- CARD_TRANSACTION_COUNT_1_H =
659
- T.let(
660
- :CARD_TRANSACTION_COUNT_1H,
661
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
662
- )
663
- CARD_TRANSACTION_COUNT_24_H =
664
- T.let(
665
- :CARD_TRANSACTION_COUNT_24H,
666
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
667
- )
668
- CARD_STATE =
669
- T.let(
670
- :CARD_STATE,
671
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
672
- )
673
- PIN_ENTERED =
674
- T.let(
675
- :PIN_ENTERED,
676
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
677
- )
678
- PIN_STATUS =
679
- T.let(
680
- :PIN_STATUS,
681
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
682
- )
683
- WALLET_TYPE =
684
- T.let(
685
- :WALLET_TYPE,
686
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
687
- )
688
- TRANSACTION_INITIATOR =
689
- T.let(
690
- :TRANSACTION_INITIATOR,
691
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
692
- )
693
- ADDRESS_MATCH =
694
- T.let(
695
- :ADDRESS_MATCH,
696
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
697
- )
698
-
699
- sig do
700
- override.returns(
701
- T::Array[
702
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
703
- ]
704
- )
705
- end
706
- def self.values
707
- end
708
- end
709
-
710
- # The operation to apply to the attribute
711
- module Operation
712
- extend Lithic::Internal::Type::Enum
713
-
714
- TaggedSymbol =
715
- T.type_alias do
716
- T.all(
717
- Symbol,
718
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation
719
- )
720
- end
721
- OrSymbol = T.type_alias { T.any(Symbol, String) }
722
-
723
- IS_ONE_OF =
724
- T.let(
725
- :IS_ONE_OF,
726
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
727
- )
728
- IS_NOT_ONE_OF =
729
- T.let(
730
- :IS_NOT_ONE_OF,
731
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
732
- )
733
- MATCHES =
734
- T.let(
735
- :MATCHES,
736
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
737
- )
738
- DOES_NOT_MATCH =
739
- T.let(
740
- :DOES_NOT_MATCH,
741
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
742
- )
743
- IS_EQUAL_TO =
744
- T.let(
745
- :IS_EQUAL_TO,
746
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
747
- )
748
- IS_NOT_EQUAL_TO =
749
- T.let(
750
- :IS_NOT_EQUAL_TO,
751
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
752
- )
753
- IS_GREATER_THAN =
754
- T.let(
755
- :IS_GREATER_THAN,
756
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
757
- )
758
- IS_GREATER_THAN_OR_EQUAL_TO =
759
- T.let(
760
- :IS_GREATER_THAN_OR_EQUAL_TO,
761
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
762
- )
763
- IS_LESS_THAN =
764
- T.let(
765
- :IS_LESS_THAN,
766
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
767
- )
768
- IS_LESS_THAN_OR_EQUAL_TO =
769
- T.let(
770
- :IS_LESS_THAN_OR_EQUAL_TO,
771
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
772
- )
773
-
774
- sig do
775
- override.returns(
776
- T::Array[
777
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
778
- ]
779
- )
780
- end
781
- def self.values
782
- end
783
- end
784
-
785
- # A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
786
- module Value
787
- extend Lithic::Internal::Type::Union
788
-
789
- Variants =
790
- T.type_alias { T.any(String, Integer, T::Array[String]) }
791
-
792
- sig do
793
- override.returns(
794
- T::Array[
795
- Lithic::AuthRules::V2CreateParams::Parameters::ConditionalAuthorizationActionParameters::Condition::Value::Variants
796
- ]
797
- )
798
- end
799
- def self.variants
800
- end
801
-
802
- StringArray =
803
- T.let(
804
- Lithic::Internal::Type::ArrayOf[String],
805
- Lithic::Internal::Type::Converter
806
- )
807
- end
808
- end
809
- end
810
184
 
811
185
  sig do
812
186
  override.returns(
@@ -864,6 +238,38 @@ module Lithic
864
238
  def self.values
865
239
  end
866
240
  end
241
+
242
+ # The event stream during which the rule will be evaluated.
243
+ module EventStream
244
+ extend Lithic::Internal::Type::Enum
245
+
246
+ TaggedSymbol =
247
+ T.type_alias do
248
+ T.all(Symbol, Lithic::AuthRules::V2CreateParams::EventStream)
249
+ end
250
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
251
+
252
+ AUTHORIZATION =
253
+ T.let(
254
+ :AUTHORIZATION,
255
+ Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
256
+ )
257
+ THREE_DS_AUTHENTICATION =
258
+ T.let(
259
+ :THREE_DS_AUTHENTICATION,
260
+ Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
261
+ )
262
+
263
+ sig do
264
+ override.returns(
265
+ T::Array[
266
+ Lithic::AuthRules::V2CreateParams::EventStream::TaggedSymbol
267
+ ]
268
+ )
269
+ end
270
+ def self.values
271
+ end
272
+ end
867
273
  end
868
274
  end
869
275
  end