lithic 0.1.0.pre.alpha.29 → 0.1.0.pre.alpha.31
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +1 -1
- data/lib/lithic/internal/type/enum.rb +6 -3
- data/lib/lithic/internal/type/union.rb +5 -2
- data/lib/lithic/internal/util.rb +8 -9
- data/lib/lithic/models/account_update_params.rb +4 -4
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +100 -28
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_create_params.rb +205 -6
- data/lib/lithic/models/auth_rules/v2_create_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +186 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_list_params.rb +27 -8
- data/lib/lithic/models/auth_rules/v2_list_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +401 -10
- data/lib/lithic/models/auth_rules/v2_update_response.rb +401 -10
- data/lib/lithic/models/funding_event_list_response.rb +26 -22
- data/lib/lithic/models/funding_event_retrieve_response.rb +26 -22
- data/lib/lithic/models/payment.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/transaction.rb +2 -1
- data/lib/lithic/models.rb +4 -4
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +12 -13
- data/lib/lithic/resources/auth_rules/v2.rb +45 -39
- data/lib/lithic/resources/transfers.rb +2 -0
- data/lib/lithic/version.rb +1 -1
- data/rbi/lithic/internal/util.rbi +2 -0
- data/rbi/lithic/models/account_update_params.rbi +6 -6
- data/rbi/lithic/models/auth_rules/v2/backtest_results.rbi +186 -24
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +442 -8
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +414 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +60 -7
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +895 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +895 -7
- data/rbi/lithic/models/funding_event_list_response.rbi +35 -28
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +35 -28
- data/rbi/lithic/models/payment.rbi +3 -3
- data/rbi/lithic/models/required_document.rbi +2 -2
- data/rbi/lithic/models/transaction.rbi +4 -2
- data/rbi/lithic/resources/accounts.rbi +2 -2
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +12 -13
- data/rbi/lithic/resources/auth_rules/v2.rbi +49 -38
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +66 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +135 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +129 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +280 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +280 -1
- data/sig/lithic/models/funding_event_list_response.rbs +18 -11
- data/sig/lithic/models/funding_event_retrieve_response.rbs +18 -11
- data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
- metadata +2 -2
@@ -19,7 +19,8 @@ module Lithic
|
|
19
19
|
T.any(
|
20
20
|
Lithic::AuthRules::ConditionalBlockParameters,
|
21
21
|
Lithic::AuthRules::VelocityLimitParams,
|
22
|
-
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters
|
22
|
+
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters,
|
23
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters
|
23
24
|
)
|
24
25
|
)
|
25
26
|
)
|
@@ -33,7 +34,8 @@ module Lithic
|
|
33
34
|
T.any(
|
34
35
|
Lithic::AuthRules::ConditionalBlockParameters::OrHash,
|
35
36
|
Lithic::AuthRules::VelocityLimitParams::OrHash,
|
36
|
-
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters::OrHash
|
37
|
+
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters::OrHash,
|
38
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::OrHash
|
37
39
|
)
|
38
40
|
),
|
39
41
|
request_options: Lithic::RequestOptions::OrHash
|
@@ -54,7 +56,8 @@ module Lithic
|
|
54
56
|
T.any(
|
55
57
|
Lithic::AuthRules::ConditionalBlockParameters,
|
56
58
|
Lithic::AuthRules::VelocityLimitParams,
|
57
|
-
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters
|
59
|
+
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters,
|
60
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters
|
58
61
|
)
|
59
62
|
),
|
60
63
|
request_options: Lithic::RequestOptions
|
@@ -73,7 +76,8 @@ module Lithic
|
|
73
76
|
T.any(
|
74
77
|
Lithic::AuthRules::ConditionalBlockParameters,
|
75
78
|
Lithic::AuthRules::VelocityLimitParams,
|
76
|
-
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters
|
79
|
+
Lithic::AuthRules::V2DraftParams::Parameters::MerchantLockParameters,
|
80
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters
|
77
81
|
)
|
78
82
|
end
|
79
83
|
|
@@ -195,6 +199,412 @@ module Lithic
|
|
195
199
|
end
|
196
200
|
end
|
197
201
|
|
202
|
+
class Conditional3DSActionParameters < Lithic::Internal::Type::BaseModel
|
203
|
+
OrHash =
|
204
|
+
T.type_alias do
|
205
|
+
T.any(
|
206
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters,
|
207
|
+
Lithic::Internal::AnyHash
|
208
|
+
)
|
209
|
+
end
|
210
|
+
|
211
|
+
# The action to take if the conditions are met.
|
212
|
+
sig do
|
213
|
+
returns(
|
214
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol
|
215
|
+
)
|
216
|
+
end
|
217
|
+
attr_accessor :action
|
218
|
+
|
219
|
+
sig do
|
220
|
+
returns(
|
221
|
+
T::Array[
|
222
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition
|
223
|
+
]
|
224
|
+
)
|
225
|
+
end
|
226
|
+
attr_accessor :conditions
|
227
|
+
|
228
|
+
sig do
|
229
|
+
params(
|
230
|
+
action:
|
231
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
|
232
|
+
conditions:
|
233
|
+
T::Array[
|
234
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::OrHash
|
235
|
+
]
|
236
|
+
).returns(T.attached_class)
|
237
|
+
end
|
238
|
+
def self.new(
|
239
|
+
# The action to take if the conditions are met.
|
240
|
+
action:,
|
241
|
+
conditions:
|
242
|
+
)
|
243
|
+
end
|
244
|
+
|
245
|
+
sig do
|
246
|
+
override.returns(
|
247
|
+
{
|
248
|
+
action:
|
249
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::OrSymbol,
|
250
|
+
conditions:
|
251
|
+
T::Array[
|
252
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition
|
253
|
+
]
|
254
|
+
}
|
255
|
+
)
|
256
|
+
end
|
257
|
+
def to_hash
|
258
|
+
end
|
259
|
+
|
260
|
+
# The action to take if the conditions are met.
|
261
|
+
module Action
|
262
|
+
extend Lithic::Internal::Type::Enum
|
263
|
+
|
264
|
+
TaggedSymbol =
|
265
|
+
T.type_alias do
|
266
|
+
T.all(
|
267
|
+
Symbol,
|
268
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action
|
269
|
+
)
|
270
|
+
end
|
271
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
272
|
+
|
273
|
+
DECLINE =
|
274
|
+
T.let(
|
275
|
+
:DECLINE,
|
276
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
|
277
|
+
)
|
278
|
+
CHALLENGE =
|
279
|
+
T.let(
|
280
|
+
:CHALLENGE,
|
281
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
|
282
|
+
)
|
283
|
+
|
284
|
+
sig do
|
285
|
+
override.returns(
|
286
|
+
T::Array[
|
287
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Action::TaggedSymbol
|
288
|
+
]
|
289
|
+
)
|
290
|
+
end
|
291
|
+
def self.values
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
296
|
+
OrHash =
|
297
|
+
T.type_alias do
|
298
|
+
T.any(
|
299
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition,
|
300
|
+
Lithic::Internal::AnyHash
|
301
|
+
)
|
302
|
+
end
|
303
|
+
|
304
|
+
# The attribute to target.
|
305
|
+
#
|
306
|
+
# The following attributes may be targeted:
|
307
|
+
#
|
308
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
309
|
+
# business by the types of goods or services it provides.
|
310
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
311
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
312
|
+
# Netherlands Antilles.
|
313
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
314
|
+
# the transaction.
|
315
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
316
|
+
# (merchant).
|
317
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
318
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
319
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
320
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
321
|
+
# fee on behalf of the cardholder.
|
322
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
323
|
+
# given authentication. Scores are on a range of 0-999, with 0 representing the
|
324
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
325
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
326
|
+
# multiplying the raw score by 10x.
|
327
|
+
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
328
|
+
sig do
|
329
|
+
returns(
|
330
|
+
T.nilable(
|
331
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
|
332
|
+
)
|
333
|
+
)
|
334
|
+
end
|
335
|
+
attr_reader :attribute
|
336
|
+
|
337
|
+
sig do
|
338
|
+
params(
|
339
|
+
attribute:
|
340
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol
|
341
|
+
).void
|
342
|
+
end
|
343
|
+
attr_writer :attribute
|
344
|
+
|
345
|
+
# The operation to apply to the attribute
|
346
|
+
sig do
|
347
|
+
returns(
|
348
|
+
T.nilable(
|
349
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
|
350
|
+
)
|
351
|
+
)
|
352
|
+
end
|
353
|
+
attr_reader :operation
|
354
|
+
|
355
|
+
sig do
|
356
|
+
params(
|
357
|
+
operation:
|
358
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol
|
359
|
+
).void
|
360
|
+
end
|
361
|
+
attr_writer :operation
|
362
|
+
|
363
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
364
|
+
sig do
|
365
|
+
returns(
|
366
|
+
T.nilable(
|
367
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
|
368
|
+
)
|
369
|
+
)
|
370
|
+
end
|
371
|
+
attr_reader :value
|
372
|
+
|
373
|
+
sig do
|
374
|
+
params(
|
375
|
+
value:
|
376
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
|
377
|
+
).void
|
378
|
+
end
|
379
|
+
attr_writer :value
|
380
|
+
|
381
|
+
sig do
|
382
|
+
params(
|
383
|
+
attribute:
|
384
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
|
385
|
+
operation:
|
386
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
|
387
|
+
value:
|
388
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
|
389
|
+
).returns(T.attached_class)
|
390
|
+
end
|
391
|
+
def self.new(
|
392
|
+
# The attribute to target.
|
393
|
+
#
|
394
|
+
# The following attributes may be targeted:
|
395
|
+
#
|
396
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
397
|
+
# business by the types of goods or services it provides.
|
398
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
399
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
400
|
+
# Netherlands Antilles.
|
401
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
402
|
+
# the transaction.
|
403
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
404
|
+
# (merchant).
|
405
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
406
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
407
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
408
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
409
|
+
# fee on behalf of the cardholder.
|
410
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
411
|
+
# given authentication. Scores are on a range of 0-999, with 0 representing the
|
412
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
413
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
414
|
+
# multiplying the raw score by 10x.
|
415
|
+
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
416
|
+
attribute: nil,
|
417
|
+
# The operation to apply to the attribute
|
418
|
+
operation: nil,
|
419
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
420
|
+
value: nil
|
421
|
+
)
|
422
|
+
end
|
423
|
+
|
424
|
+
sig do
|
425
|
+
override.returns(
|
426
|
+
{
|
427
|
+
attribute:
|
428
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::OrSymbol,
|
429
|
+
operation:
|
430
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::OrSymbol,
|
431
|
+
value:
|
432
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
|
433
|
+
}
|
434
|
+
)
|
435
|
+
end
|
436
|
+
def to_hash
|
437
|
+
end
|
438
|
+
|
439
|
+
# The attribute to target.
|
440
|
+
#
|
441
|
+
# The following attributes may be targeted:
|
442
|
+
#
|
443
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
444
|
+
# business by the types of goods or services it provides.
|
445
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
446
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
447
|
+
# Netherlands Antilles.
|
448
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
449
|
+
# the transaction.
|
450
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
451
|
+
# (merchant).
|
452
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
453
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
454
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
455
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
456
|
+
# fee on behalf of the cardholder.
|
457
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
458
|
+
# given authentication. Scores are on a range of 0-999, with 0 representing the
|
459
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
460
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
461
|
+
# multiplying the raw score by 10x.
|
462
|
+
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
|
463
|
+
module Attribute
|
464
|
+
extend Lithic::Internal::Type::Enum
|
465
|
+
|
466
|
+
TaggedSymbol =
|
467
|
+
T.type_alias do
|
468
|
+
T.all(
|
469
|
+
Symbol,
|
470
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute
|
471
|
+
)
|
472
|
+
end
|
473
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
474
|
+
|
475
|
+
MCC =
|
476
|
+
T.let(
|
477
|
+
:MCC,
|
478
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
479
|
+
)
|
480
|
+
COUNTRY =
|
481
|
+
T.let(
|
482
|
+
:COUNTRY,
|
483
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
484
|
+
)
|
485
|
+
CURRENCY =
|
486
|
+
T.let(
|
487
|
+
:CURRENCY,
|
488
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
489
|
+
)
|
490
|
+
MERCHANT_ID =
|
491
|
+
T.let(
|
492
|
+
:MERCHANT_ID,
|
493
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
494
|
+
)
|
495
|
+
DESCRIPTOR =
|
496
|
+
T.let(
|
497
|
+
:DESCRIPTOR,
|
498
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
499
|
+
)
|
500
|
+
TRANSACTION_AMOUNT =
|
501
|
+
T.let(
|
502
|
+
:TRANSACTION_AMOUNT,
|
503
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
504
|
+
)
|
505
|
+
RISK_SCORE =
|
506
|
+
T.let(
|
507
|
+
:RISK_SCORE,
|
508
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
509
|
+
)
|
510
|
+
MESSAGE_CATEGORY =
|
511
|
+
T.let(
|
512
|
+
:MESSAGE_CATEGORY,
|
513
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
514
|
+
)
|
515
|
+
|
516
|
+
sig do
|
517
|
+
override.returns(
|
518
|
+
T::Array[
|
519
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Attribute::TaggedSymbol
|
520
|
+
]
|
521
|
+
)
|
522
|
+
end
|
523
|
+
def self.values
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# The operation to apply to the attribute
|
528
|
+
module Operation
|
529
|
+
extend Lithic::Internal::Type::Enum
|
530
|
+
|
531
|
+
TaggedSymbol =
|
532
|
+
T.type_alias do
|
533
|
+
T.all(
|
534
|
+
Symbol,
|
535
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation
|
536
|
+
)
|
537
|
+
end
|
538
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
539
|
+
|
540
|
+
IS_ONE_OF =
|
541
|
+
T.let(
|
542
|
+
:IS_ONE_OF,
|
543
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
544
|
+
)
|
545
|
+
IS_NOT_ONE_OF =
|
546
|
+
T.let(
|
547
|
+
:IS_NOT_ONE_OF,
|
548
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
549
|
+
)
|
550
|
+
MATCHES =
|
551
|
+
T.let(
|
552
|
+
:MATCHES,
|
553
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
554
|
+
)
|
555
|
+
DOES_NOT_MATCH =
|
556
|
+
T.let(
|
557
|
+
:DOES_NOT_MATCH,
|
558
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
559
|
+
)
|
560
|
+
IS_GREATER_THAN =
|
561
|
+
T.let(
|
562
|
+
:IS_GREATER_THAN,
|
563
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
564
|
+
)
|
565
|
+
IS_LESS_THAN =
|
566
|
+
T.let(
|
567
|
+
:IS_LESS_THAN,
|
568
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
569
|
+
)
|
570
|
+
|
571
|
+
sig do
|
572
|
+
override.returns(
|
573
|
+
T::Array[
|
574
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Operation::TaggedSymbol
|
575
|
+
]
|
576
|
+
)
|
577
|
+
end
|
578
|
+
def self.values
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
583
|
+
module Value
|
584
|
+
extend Lithic::Internal::Type::Union
|
585
|
+
|
586
|
+
Variants =
|
587
|
+
T.type_alias { T.any(String, Integer, T::Array[String]) }
|
588
|
+
|
589
|
+
sig do
|
590
|
+
override.returns(
|
591
|
+
T::Array[
|
592
|
+
Lithic::AuthRules::V2DraftParams::Parameters::Conditional3DSActionParameters::Condition::Value::Variants
|
593
|
+
]
|
594
|
+
)
|
595
|
+
end
|
596
|
+
def self.variants
|
597
|
+
end
|
598
|
+
|
599
|
+
StringArray =
|
600
|
+
T.let(
|
601
|
+
Lithic::Internal::Type::ArrayOf[String],
|
602
|
+
Lithic::Internal::Type::Converter
|
603
|
+
)
|
604
|
+
end
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
198
608
|
sig do
|
199
609
|
override.returns(
|
200
610
|
T::Array[Lithic::AuthRules::V2DraftParams::Parameters::Variants]
|