lithic 0.1.0.pre.alpha.41 → 0.1.0.pre.alpha.42

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 (76) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_activity_list_params.rb +10 -8
  5. data/lib/lithic/models/auth_rules/v2_apply_params.rb +13 -5
  6. data/lib/lithic/models/auth_rules/v2_apply_response.rb +510 -18
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +283 -16
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +510 -18
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +239 -3
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +510 -18
  11. data/lib/lithic/models/auth_rules/v2_list_params.rb +10 -1
  12. data/lib/lithic/models/auth_rules/v2_list_response.rb +510 -18
  13. data/lib/lithic/models/auth_rules/v2_promote_response.rb +510 -18
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +510 -18
  15. data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -9
  16. data/lib/lithic/models/auth_rules/v2_update_response.rb +510 -18
  17. data/lib/lithic/models/event.rb +6 -0
  18. data/lib/lithic/models/event_list_params.rb +2 -0
  19. data/lib/lithic/models/event_subscription.rb +2 -0
  20. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  21. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  22. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  23. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +28 -26
  24. data/lib/lithic/models/transaction.rb +4 -0
  25. data/lib/lithic/resources/account_activity.rb +2 -2
  26. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -3
  27. data/lib/lithic/resources/auth_rules/v2.rb +19 -13
  28. data/lib/lithic/version.rb +1 -1
  29. data/rbi/lithic/models/account_activity_list_params.rbi +18 -30
  30. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +19 -5
  31. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +1128 -18
  32. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +646 -21
  33. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +1128 -18
  34. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +554 -4
  35. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +1128 -18
  36. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +16 -0
  37. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +1128 -18
  38. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +1128 -18
  39. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +1128 -18
  40. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +0 -11
  41. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +1128 -18
  42. data/rbi/lithic/models/event.rbi +16 -0
  43. data/rbi/lithic/models/event_list_params.rbi +10 -0
  44. data/rbi/lithic/models/event_subscription.rbi +10 -0
  45. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  46. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  47. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  48. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +45 -41
  49. data/rbi/lithic/models/transaction.rbi +17 -0
  50. data/rbi/lithic/resources/account_activity.rbi +2 -2
  51. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +3 -3
  52. data/rbi/lithic/resources/auth_rules/v2.rbi +28 -14
  53. data/sig/lithic/models/account_activity_list_params.rbs +16 -16
  54. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +11 -2
  55. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +317 -2
  56. data/sig/lithic/models/auth_rules/v2_create_params.rbs +188 -4
  57. data/sig/lithic/models/auth_rules/v2_create_response.rbs +317 -2
  58. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +155 -0
  59. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +317 -2
  60. data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
  61. data/sig/lithic/models/auth_rules/v2_list_response.rbs +317 -2
  62. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +317 -2
  63. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +317 -2
  64. data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -7
  65. data/sig/lithic/models/auth_rules/v2_update_response.rbs +317 -2
  66. data/sig/lithic/models/event.rbs +4 -0
  67. data/sig/lithic/models/event_list_params.rbs +4 -0
  68. data/sig/lithic/models/event_subscription.rbs +4 -0
  69. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  70. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  71. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  72. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +20 -20
  73. data/sig/lithic/models/transaction.rbs +10 -2
  74. data/sig/lithic/resources/account_activity.rbs +2 -2
  75. data/sig/lithic/resources/auth_rules/v2.rbs +6 -3
  76. metadata +2 -2
@@ -5,6 +5,7 @@ module Lithic
5
5
  {
6
6
  token: String,
7
7
  account_tokens: ::Array[String],
8
+ business_account_tokens: ::Array[String],
8
9
  card_tokens: ::Array[String],
9
10
  current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
10
11
  draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
@@ -21,6 +22,8 @@ module Lithic
21
22
 
22
23
  attr_accessor account_tokens: ::Array[String]
23
24
 
25
+ attr_accessor business_account_tokens: ::Array[String]
26
+
24
27
  attr_accessor card_tokens: ::Array[String]
25
28
 
26
29
  attr_accessor current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?
@@ -44,6 +47,7 @@ module Lithic
44
47
  def initialize: (
45
48
  token: String,
46
49
  account_tokens: ::Array[String],
50
+ business_account_tokens: ::Array[String],
47
51
  card_tokens: ::Array[String],
48
52
  current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
49
53
  draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
@@ -58,6 +62,7 @@ module Lithic
58
62
  def to_hash: -> {
59
63
  token: String,
60
64
  account_tokens: ::Array[String],
65
+ business_account_tokens: ::Array[String],
61
66
  card_tokens: ::Array[String],
62
67
  current_version: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion?,
63
68
  draft_version: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion?,
@@ -95,10 +100,165 @@ module Lithic
95
100
  | Lithic::AuthRules::VelocityLimitParams
96
101
  | Lithic::AuthRules::MerchantLockParameters
97
102
  | Lithic::AuthRules::Conditional3DSActionParameters
103
+ | Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters
98
104
 
99
105
  module Parameters
100
106
  extend Lithic::Internal::Type::Union
101
107
 
108
+ type conditional_authorization_action_parameters =
109
+ {
110
+ action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
111
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
112
+ }
113
+
114
+ class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
115
+ attr_accessor action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action
116
+
117
+ attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
118
+
119
+ def initialize: (
120
+ action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
121
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
122
+ ) -> void
123
+
124
+ def to_hash: -> {
125
+ action: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action,
126
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
127
+ }
128
+
129
+ type action = :DECLINE | :CHALLENGE
130
+
131
+ module Action
132
+ extend Lithic::Internal::Type::Enum
133
+
134
+ DECLINE: :DECLINE
135
+ CHALLENGE: :CHALLENGE
136
+
137
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::action]
138
+ end
139
+
140
+ type condition =
141
+ {
142
+ attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
143
+ operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
144
+ value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
145
+ }
146
+
147
+ class Condition < Lithic::Internal::Type::BaseModel
148
+ attr_reader attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
149
+
150
+ def attribute=: (
151
+ Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
152
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
153
+
154
+ attr_reader operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
155
+
156
+ def operation=: (
157
+ Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
158
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
159
+
160
+ attr_reader value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
161
+
162
+ def value=: (
163
+ Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
164
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
165
+
166
+ def initialize: (
167
+ ?attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
168
+ ?operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
169
+ ?value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
170
+ ) -> void
171
+
172
+ def to_hash: -> {
173
+ attribute: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
174
+ operation: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
175
+ value: Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
176
+ }
177
+
178
+ type attribute =
179
+ :MCC
180
+ | :COUNTRY
181
+ | :CURRENCY
182
+ | :MERCHANT_ID
183
+ | :DESCRIPTOR
184
+ | :LIABILITY_SHIFT
185
+ | :PAN_ENTRY_MODE
186
+ | :TRANSACTION_AMOUNT
187
+ | :RISK_SCORE
188
+ | :CARD_TRANSACTION_COUNT_15M
189
+ | :CARD_TRANSACTION_COUNT_1H
190
+ | :CARD_TRANSACTION_COUNT_24H
191
+ | :CARD_STATE
192
+ | :PIN_ENTERED
193
+ | :PIN_STATUS
194
+ | :WALLET_TYPE
195
+ | :TRANSACTION_INITIATOR
196
+
197
+ module Attribute
198
+ extend Lithic::Internal::Type::Enum
199
+
200
+ MCC: :MCC
201
+ COUNTRY: :COUNTRY
202
+ CURRENCY: :CURRENCY
203
+ MERCHANT_ID: :MERCHANT_ID
204
+ DESCRIPTOR: :DESCRIPTOR
205
+ LIABILITY_SHIFT: :LIABILITY_SHIFT
206
+ PAN_ENTRY_MODE: :PAN_ENTRY_MODE
207
+ TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
208
+ RISK_SCORE: :RISK_SCORE
209
+ CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
210
+ CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
211
+ CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
212
+ CARD_STATE: :CARD_STATE
213
+ PIN_ENTERED: :PIN_ENTERED
214
+ PIN_STATUS: :PIN_STATUS
215
+ WALLET_TYPE: :WALLET_TYPE
216
+ TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
217
+
218
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
219
+ end
220
+
221
+ type operation =
222
+ :IS_ONE_OF
223
+ | :IS_NOT_ONE_OF
224
+ | :MATCHES
225
+ | :DOES_NOT_MATCH
226
+ | :IS_EQUAL_TO
227
+ | :IS_NOT_EQUAL_TO
228
+ | :IS_GREATER_THAN
229
+ | :IS_GREATER_THAN_OR_EQUAL_TO
230
+ | :IS_LESS_THAN
231
+ | :IS_LESS_THAN_OR_EQUAL_TO
232
+
233
+ module Operation
234
+ extend Lithic::Internal::Type::Enum
235
+
236
+ IS_ONE_OF: :IS_ONE_OF
237
+ IS_NOT_ONE_OF: :IS_NOT_ONE_OF
238
+ MATCHES: :MATCHES
239
+ DOES_NOT_MATCH: :DOES_NOT_MATCH
240
+ IS_EQUAL_TO: :IS_EQUAL_TO
241
+ IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
242
+ IS_GREATER_THAN: :IS_GREATER_THAN
243
+ IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
244
+ IS_LESS_THAN: :IS_LESS_THAN
245
+ IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
246
+
247
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
248
+ end
249
+
250
+ type value = String | Integer | ::Array[String]
251
+
252
+ module Value
253
+ extend Lithic::Internal::Type::Union
254
+
255
+ def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
256
+
257
+ StringArray: Lithic::Internal::Type::Converter
258
+ end
259
+ end
260
+ end
261
+
102
262
  def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::parameters]
103
263
  end
104
264
  end
@@ -129,10 +289,165 @@ module Lithic
129
289
  | Lithic::AuthRules::VelocityLimitParams
130
290
  | Lithic::AuthRules::MerchantLockParameters
131
291
  | Lithic::AuthRules::Conditional3DSActionParameters
292
+ | Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters
132
293
 
133
294
  module Parameters
134
295
  extend Lithic::Internal::Type::Union
135
296
 
297
+ type conditional_authorization_action_parameters =
298
+ {
299
+ action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
300
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
301
+ }
302
+
303
+ class ConditionalAuthorizationActionParameters < Lithic::Internal::Type::BaseModel
304
+ attr_accessor action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action
305
+
306
+ attr_accessor conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
307
+
308
+ def initialize: (
309
+ action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
310
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
311
+ ) -> void
312
+
313
+ def to_hash: -> {
314
+ action: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action,
315
+ conditions: ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition]
316
+ }
317
+
318
+ type action = :DECLINE | :CHALLENGE
319
+
320
+ module Action
321
+ extend Lithic::Internal::Type::Enum
322
+
323
+ DECLINE: :DECLINE
324
+ CHALLENGE: :CHALLENGE
325
+
326
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::action]
327
+ end
328
+
329
+ type condition =
330
+ {
331
+ attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
332
+ operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
333
+ value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
334
+ }
335
+
336
+ class Condition < Lithic::Internal::Type::BaseModel
337
+ attr_reader attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute?
338
+
339
+ def attribute=: (
340
+ Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
341
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute
342
+
343
+ attr_reader operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation?
344
+
345
+ def operation=: (
346
+ Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
347
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation
348
+
349
+ attr_reader value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value?
350
+
351
+ def value=: (
352
+ Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
353
+ ) -> Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
354
+
355
+ def initialize: (
356
+ ?attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
357
+ ?operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
358
+ ?value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
359
+ ) -> void
360
+
361
+ def to_hash: -> {
362
+ attribute: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute,
363
+ operation: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation,
364
+ value: Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value
365
+ }
366
+
367
+ type attribute =
368
+ :MCC
369
+ | :COUNTRY
370
+ | :CURRENCY
371
+ | :MERCHANT_ID
372
+ | :DESCRIPTOR
373
+ | :LIABILITY_SHIFT
374
+ | :PAN_ENTRY_MODE
375
+ | :TRANSACTION_AMOUNT
376
+ | :RISK_SCORE
377
+ | :CARD_TRANSACTION_COUNT_15M
378
+ | :CARD_TRANSACTION_COUNT_1H
379
+ | :CARD_TRANSACTION_COUNT_24H
380
+ | :CARD_STATE
381
+ | :PIN_ENTERED
382
+ | :PIN_STATUS
383
+ | :WALLET_TYPE
384
+ | :TRANSACTION_INITIATOR
385
+
386
+ module Attribute
387
+ extend Lithic::Internal::Type::Enum
388
+
389
+ MCC: :MCC
390
+ COUNTRY: :COUNTRY
391
+ CURRENCY: :CURRENCY
392
+ MERCHANT_ID: :MERCHANT_ID
393
+ DESCRIPTOR: :DESCRIPTOR
394
+ LIABILITY_SHIFT: :LIABILITY_SHIFT
395
+ PAN_ENTRY_MODE: :PAN_ENTRY_MODE
396
+ TRANSACTION_AMOUNT: :TRANSACTION_AMOUNT
397
+ RISK_SCORE: :RISK_SCORE
398
+ CARD_TRANSACTION_COUNT_15_M: :CARD_TRANSACTION_COUNT_15M
399
+ CARD_TRANSACTION_COUNT_1_H: :CARD_TRANSACTION_COUNT_1H
400
+ CARD_TRANSACTION_COUNT_24_H: :CARD_TRANSACTION_COUNT_24H
401
+ CARD_STATE: :CARD_STATE
402
+ PIN_ENTERED: :PIN_ENTERED
403
+ PIN_STATUS: :PIN_STATUS
404
+ WALLET_TYPE: :WALLET_TYPE
405
+ TRANSACTION_INITIATOR: :TRANSACTION_INITIATOR
406
+
407
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::attribute]
408
+ end
409
+
410
+ type operation =
411
+ :IS_ONE_OF
412
+ | :IS_NOT_ONE_OF
413
+ | :MATCHES
414
+ | :DOES_NOT_MATCH
415
+ | :IS_EQUAL_TO
416
+ | :IS_NOT_EQUAL_TO
417
+ | :IS_GREATER_THAN
418
+ | :IS_GREATER_THAN_OR_EQUAL_TO
419
+ | :IS_LESS_THAN
420
+ | :IS_LESS_THAN_OR_EQUAL_TO
421
+
422
+ module Operation
423
+ extend Lithic::Internal::Type::Enum
424
+
425
+ IS_ONE_OF: :IS_ONE_OF
426
+ IS_NOT_ONE_OF: :IS_NOT_ONE_OF
427
+ MATCHES: :MATCHES
428
+ DOES_NOT_MATCH: :DOES_NOT_MATCH
429
+ IS_EQUAL_TO: :IS_EQUAL_TO
430
+ IS_NOT_EQUAL_TO: :IS_NOT_EQUAL_TO
431
+ IS_GREATER_THAN: :IS_GREATER_THAN
432
+ IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
433
+ IS_LESS_THAN: :IS_LESS_THAN
434
+ IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
435
+
436
+ def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::operation]
437
+ end
438
+
439
+ type value = String | Integer | ::Array[String]
440
+
441
+ module Value
442
+ extend Lithic::Internal::Type::Union
443
+
444
+ def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::value]
445
+
446
+ StringArray: Lithic::Internal::Type::Converter
447
+ end
448
+ end
449
+ end
450
+
136
451
  def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::parameters]
137
452
  end
138
453
  end
@@ -163,7 +478,7 @@ module Lithic
163
478
  :CONDITIONAL_BLOCK
164
479
  | :VELOCITY_LIMIT
165
480
  | :MERCHANT_LOCK
166
- | :CONDITIONAL_3DS_ACTION
481
+ | :CONDITIONAL_ACTION
167
482
 
168
483
  module Type
169
484
  extend Lithic::Internal::Type::Enum
@@ -171,7 +486,7 @@ module Lithic
171
486
  CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
172
487
  VELOCITY_LIMIT: :VELOCITY_LIMIT
173
488
  MERCHANT_LOCK: :MERCHANT_LOCK
174
- CONDITIONAL_3DS_ACTION: :CONDITIONAL_3DS_ACTION
489
+ CONDITIONAL_ACTION: :CONDITIONAL_ACTION
175
490
 
176
491
  def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateResponse::type_]
177
492
  end
@@ -51,6 +51,8 @@ module Lithic
51
51
  | :"digital_wallet.tokenization_updated"
52
52
  | :"dispute.updated"
53
53
  | :"dispute_evidence.upload_failed"
54
+ | :"dispute_transaction.created"
55
+ | :"dispute_transaction.updated"
54
56
  | :"external_bank_account.created"
55
57
  | :"external_bank_account.updated"
56
58
  | :"external_payment.created"
@@ -100,6 +102,8 @@ module Lithic
100
102
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
101
103
  DISPUTE_UPDATED: :"dispute.updated"
102
104
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
105
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
106
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
103
107
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
104
108
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
105
109
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -88,6 +88,8 @@ module Lithic
88
88
  | :"digital_wallet.tokenization_updated"
89
89
  | :"dispute.updated"
90
90
  | :"dispute_evidence.upload_failed"
91
+ | :"dispute_transaction.created"
92
+ | :"dispute_transaction.updated"
91
93
  | :"external_bank_account.created"
92
94
  | :"external_bank_account.updated"
93
95
  | :"external_payment.created"
@@ -137,6 +139,8 @@ module Lithic
137
139
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
138
140
  DISPUTE_UPDATED: :"dispute.updated"
139
141
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
142
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
143
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
140
144
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
141
145
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
142
146
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -56,6 +56,8 @@ module Lithic
56
56
  | :"digital_wallet.tokenization_updated"
57
57
  | :"dispute.updated"
58
58
  | :"dispute_evidence.upload_failed"
59
+ | :"dispute_transaction.created"
60
+ | :"dispute_transaction.updated"
59
61
  | :"external_bank_account.created"
60
62
  | :"external_bank_account.updated"
61
63
  | :"external_payment.created"
@@ -105,6 +107,8 @@ module Lithic
105
107
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
106
108
  DISPUTE_UPDATED: :"dispute.updated"
107
109
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
110
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
111
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
108
112
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
109
113
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
110
114
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -66,6 +66,8 @@ module Lithic
66
66
  | :"digital_wallet.tokenization_updated"
67
67
  | :"dispute.updated"
68
68
  | :"dispute_evidence.upload_failed"
69
+ | :"dispute_transaction.created"
70
+ | :"dispute_transaction.updated"
69
71
  | :"external_bank_account.created"
70
72
  | :"external_bank_account.updated"
71
73
  | :"external_payment.created"
@@ -115,6 +117,8 @@ module Lithic
115
117
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
116
118
  DISPUTE_UPDATED: :"dispute.updated"
117
119
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
120
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
121
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
118
122
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
119
123
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
120
124
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -47,6 +47,8 @@ module Lithic
47
47
  | :"digital_wallet.tokenization_updated"
48
48
  | :"dispute.updated"
49
49
  | :"dispute_evidence.upload_failed"
50
+ | :"dispute_transaction.created"
51
+ | :"dispute_transaction.updated"
50
52
  | :"external_bank_account.created"
51
53
  | :"external_bank_account.updated"
52
54
  | :"external_payment.created"
@@ -96,6 +98,8 @@ module Lithic
96
98
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
97
99
  DISPUTE_UPDATED: :"dispute.updated"
98
100
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
101
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
102
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
99
103
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
100
104
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
101
105
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -66,6 +66,8 @@ module Lithic
66
66
  | :"digital_wallet.tokenization_updated"
67
67
  | :"dispute.updated"
68
68
  | :"dispute_evidence.upload_failed"
69
+ | :"dispute_transaction.created"
70
+ | :"dispute_transaction.updated"
69
71
  | :"external_bank_account.created"
70
72
  | :"external_bank_account.updated"
71
73
  | :"external_payment.created"
@@ -115,6 +117,8 @@ module Lithic
115
117
  DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
116
118
  DISPUTE_UPDATED: :"dispute.updated"
117
119
  DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
120
+ DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
121
+ DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
118
122
  EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
119
123
  EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
120
124
  EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
@@ -308,38 +308,38 @@ module Lithic
308
308
 
309
309
  type merchant =
310
310
  {
311
- id: String,
312
- country: String,
313
- mcc: String,
314
- name: String,
315
- risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator
311
+ risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator,
312
+ id: String?,
313
+ country: String?,
314
+ mcc: String?,
315
+ name: String?
316
316
  }
317
317
 
318
318
  class Merchant < Lithic::Internal::Type::BaseModel
319
- attr_accessor id: String
319
+ attr_accessor risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator
320
320
 
321
- attr_accessor country: String
321
+ attr_accessor id: String?
322
322
 
323
- attr_accessor mcc: String
323
+ attr_accessor country: String?
324
324
 
325
- attr_accessor name: String
325
+ attr_accessor mcc: String?
326
326
 
327
- attr_accessor risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator
327
+ attr_accessor name: String?
328
328
 
329
329
  def initialize: (
330
- id: String,
331
- country: String,
332
- mcc: String,
333
- name: String,
334
- risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator
330
+ risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator,
331
+ ?id: String?,
332
+ ?country: String?,
333
+ ?mcc: String?,
334
+ ?name: String?
335
335
  ) -> void
336
336
 
337
337
  def to_hash: -> {
338
- id: String,
339
- country: String,
340
- mcc: String,
341
- name: String,
342
- risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator
338
+ risk_indicator: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Merchant::RiskIndicator,
339
+ id: String?,
340
+ country: String?,
341
+ mcc: String?,
342
+ name: String?
343
343
  }
344
344
 
345
345
  type risk_indicator =
@@ -756,7 +756,8 @@ module Lithic
756
756
  end
757
757
 
758
758
  type result =
759
- :ACCOUNT_STATE_TRANSACTION_FAIL
759
+ :ACCOUNT_PAUSED
760
+ | :ACCOUNT_STATE_TRANSACTION_FAIL
760
761
  | :APPROVED
761
762
  | :BANK_CONNECTION_ERROR
762
763
  | :BANK_NOT_VERIFIED
@@ -783,6 +784,7 @@ module Lithic
783
784
  module Result
784
785
  extend Lithic::Internal::Type::Enum
785
786
 
787
+ ACCOUNT_PAUSED: :ACCOUNT_PAUSED
786
788
  ACCOUNT_STATE_TRANSACTION_FAIL: :ACCOUNT_STATE_TRANSACTION_FAIL
787
789
  APPROVED: :APPROVED
788
790
  BANK_CONNECTION_ERROR: :BANK_CONNECTION_ERROR
@@ -1030,6 +1032,7 @@ module Lithic
1030
1032
  | :ACCOUNT_INACTIVE
1031
1033
  | :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
1032
1034
  | :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
1035
+ | :ACCOUNT_PAUSED
1033
1036
  | :ACCOUNT_UNDER_REVIEW
1034
1037
  | :ADDRESS_INCORRECT
1035
1038
  | :APPROVED
@@ -1086,6 +1089,7 @@ module Lithic
1086
1089
  ACCOUNT_INACTIVE: :ACCOUNT_INACTIVE
1087
1090
  ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED: :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
1088
1091
  ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED: :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
1092
+ ACCOUNT_PAUSED: :ACCOUNT_PAUSED
1089
1093
  ACCOUNT_UNDER_REVIEW: :ACCOUNT_UNDER_REVIEW
1090
1094
  ADDRESS_INCORRECT: :ADDRESS_INCORRECT
1091
1095
  APPROVED: :APPROVED
@@ -1273,7 +1277,8 @@ module Lithic
1273
1277
  end
1274
1278
 
1275
1279
  type result =
1276
- :ACCOUNT_STATE_TRANSACTION_FAIL
1280
+ :ACCOUNT_PAUSED
1281
+ | :ACCOUNT_STATE_TRANSACTION_FAIL
1277
1282
  | :APPROVED
1278
1283
  | :BANK_CONNECTION_ERROR
1279
1284
  | :BANK_NOT_VERIFIED
@@ -1300,6 +1305,7 @@ module Lithic
1300
1305
  module Result
1301
1306
  extend Lithic::Internal::Type::Enum
1302
1307
 
1308
+ ACCOUNT_PAUSED: :ACCOUNT_PAUSED
1303
1309
  ACCOUNT_STATE_TRANSACTION_FAIL: :ACCOUNT_STATE_TRANSACTION_FAIL
1304
1310
  APPROVED: :APPROVED
1305
1311
  BANK_CONNECTION_ERROR: :BANK_CONNECTION_ERROR
@@ -1364,6 +1370,7 @@ module Lithic
1364
1370
  | :ACCOUNT_INACTIVE
1365
1371
  | :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
1366
1372
  | :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
1373
+ | :ACCOUNT_PAUSED
1367
1374
  | :ACCOUNT_UNDER_REVIEW
1368
1375
  | :ADDRESS_INCORRECT
1369
1376
  | :APPROVED
@@ -1420,6 +1427,7 @@ module Lithic
1420
1427
  ACCOUNT_INACTIVE: :ACCOUNT_INACTIVE
1421
1428
  ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED: :ACCOUNT_LIFETIME_SPEND_LIMIT_EXCEEDED
1422
1429
  ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED: :ACCOUNT_MONTHLY_SPEND_LIMIT_EXCEEDED
1430
+ ACCOUNT_PAUSED: :ACCOUNT_PAUSED
1423
1431
  ACCOUNT_UNDER_REVIEW: :ACCOUNT_UNDER_REVIEW
1424
1432
  ADDRESS_INCORRECT: :ADDRESS_INCORRECT
1425
1433
  APPROVED: :APPROVED
@@ -10,9 +10,9 @@ module Lithic
10
10
  ?ending_before: String,
11
11
  ?financial_account_token: String,
12
12
  ?page_size: Integer,
13
- ?result: ::Array[Lithic::Models::AccountActivityListParams::result],
13
+ ?result: Lithic::Models::AccountActivityListParams::result,
14
14
  ?starting_after: String,
15
- ?status: ::Array[Lithic::Models::AccountActivityListParams::status],
15
+ ?status: Lithic::Models::AccountActivityListParams::status,
16
16
  ?request_options: Lithic::request_opts
17
17
  ) -> Lithic::Internal::CursorPage[Lithic::Models::account_activity_list_response]
18
18