lithic 0.1.0.pre.alpha.55 → 0.1.0.pre.alpha.56
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 +20 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
|
@@ -161,65 +161,25 @@ module Lithic
|
|
|
161
161
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
162
162
|
sig do
|
|
163
163
|
returns(
|
|
164
|
-
|
|
165
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
166
|
-
)
|
|
164
|
+
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
167
165
|
)
|
|
168
166
|
end
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
sig do
|
|
172
|
-
params(
|
|
173
|
-
attribute:
|
|
174
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol
|
|
175
|
-
).void
|
|
176
|
-
end
|
|
177
|
-
attr_writer :attribute
|
|
167
|
+
attr_accessor :attribute
|
|
178
168
|
|
|
179
169
|
# The operation to apply to the attribute
|
|
180
|
-
sig
|
|
181
|
-
|
|
182
|
-
T.nilable(
|
|
183
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
|
|
184
|
-
)
|
|
185
|
-
)
|
|
186
|
-
end
|
|
187
|
-
attr_reader :operation
|
|
188
|
-
|
|
189
|
-
sig do
|
|
190
|
-
params(
|
|
191
|
-
operation:
|
|
192
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::OrSymbol
|
|
193
|
-
).void
|
|
194
|
-
end
|
|
195
|
-
attr_writer :operation
|
|
170
|
+
sig { returns(Lithic::AuthRules::ConditionalOperation::OrSymbol) }
|
|
171
|
+
attr_accessor :operation
|
|
196
172
|
|
|
197
173
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
198
|
-
sig
|
|
199
|
-
|
|
200
|
-
T.nilable(
|
|
201
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
202
|
-
)
|
|
203
|
-
)
|
|
204
|
-
end
|
|
205
|
-
attr_reader :value
|
|
206
|
-
|
|
207
|
-
sig do
|
|
208
|
-
params(
|
|
209
|
-
value:
|
|
210
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
211
|
-
).void
|
|
212
|
-
end
|
|
213
|
-
attr_writer :value
|
|
174
|
+
sig { returns(Lithic::AuthRules::ConditionalValue::Variants) }
|
|
175
|
+
attr_accessor :value
|
|
214
176
|
|
|
215
177
|
sig do
|
|
216
178
|
params(
|
|
217
179
|
attribute:
|
|
218
180
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
219
|
-
operation:
|
|
220
|
-
|
|
221
|
-
value:
|
|
222
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
181
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
182
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
223
183
|
).returns(T.attached_class)
|
|
224
184
|
end
|
|
225
185
|
def self.new(
|
|
@@ -277,11 +237,11 @@ module Lithic
|
|
|
277
237
|
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
278
238
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
279
239
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
280
|
-
attribute
|
|
240
|
+
attribute:,
|
|
281
241
|
# The operation to apply to the attribute
|
|
282
|
-
operation
|
|
242
|
+
operation:,
|
|
283
243
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
284
|
-
value:
|
|
244
|
+
value:
|
|
285
245
|
)
|
|
286
246
|
end
|
|
287
247
|
|
|
@@ -290,10 +250,8 @@ module Lithic
|
|
|
290
250
|
{
|
|
291
251
|
attribute:
|
|
292
252
|
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute::OrSymbol,
|
|
293
|
-
operation:
|
|
294
|
-
|
|
295
|
-
value:
|
|
296
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
253
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
254
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
297
255
|
}
|
|
298
256
|
)
|
|
299
257
|
end
|
|
@@ -472,104 +430,6 @@ module Lithic
|
|
|
472
430
|
def self.values
|
|
473
431
|
end
|
|
474
432
|
end
|
|
475
|
-
|
|
476
|
-
# The operation to apply to the attribute
|
|
477
|
-
module Operation
|
|
478
|
-
extend Lithic::Internal::Type::Enum
|
|
479
|
-
|
|
480
|
-
TaggedSymbol =
|
|
481
|
-
T.type_alias do
|
|
482
|
-
T.all(
|
|
483
|
-
Symbol,
|
|
484
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation
|
|
485
|
-
)
|
|
486
|
-
end
|
|
487
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
488
|
-
|
|
489
|
-
IS_ONE_OF =
|
|
490
|
-
T.let(
|
|
491
|
-
:IS_ONE_OF,
|
|
492
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
493
|
-
)
|
|
494
|
-
IS_NOT_ONE_OF =
|
|
495
|
-
T.let(
|
|
496
|
-
:IS_NOT_ONE_OF,
|
|
497
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
498
|
-
)
|
|
499
|
-
MATCHES =
|
|
500
|
-
T.let(
|
|
501
|
-
:MATCHES,
|
|
502
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
503
|
-
)
|
|
504
|
-
DOES_NOT_MATCH =
|
|
505
|
-
T.let(
|
|
506
|
-
:DOES_NOT_MATCH,
|
|
507
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
508
|
-
)
|
|
509
|
-
IS_EQUAL_TO =
|
|
510
|
-
T.let(
|
|
511
|
-
:IS_EQUAL_TO,
|
|
512
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
513
|
-
)
|
|
514
|
-
IS_NOT_EQUAL_TO =
|
|
515
|
-
T.let(
|
|
516
|
-
:IS_NOT_EQUAL_TO,
|
|
517
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
518
|
-
)
|
|
519
|
-
IS_GREATER_THAN =
|
|
520
|
-
T.let(
|
|
521
|
-
:IS_GREATER_THAN,
|
|
522
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
523
|
-
)
|
|
524
|
-
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
525
|
-
T.let(
|
|
526
|
-
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
527
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
528
|
-
)
|
|
529
|
-
IS_LESS_THAN =
|
|
530
|
-
T.let(
|
|
531
|
-
:IS_LESS_THAN,
|
|
532
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
533
|
-
)
|
|
534
|
-
IS_LESS_THAN_OR_EQUAL_TO =
|
|
535
|
-
T.let(
|
|
536
|
-
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
537
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
538
|
-
)
|
|
539
|
-
|
|
540
|
-
sig do
|
|
541
|
-
override.returns(
|
|
542
|
-
T::Array[
|
|
543
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation::TaggedSymbol
|
|
544
|
-
]
|
|
545
|
-
)
|
|
546
|
-
end
|
|
547
|
-
def self.values
|
|
548
|
-
end
|
|
549
|
-
end
|
|
550
|
-
|
|
551
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
552
|
-
module Value
|
|
553
|
-
extend Lithic::Internal::Type::Union
|
|
554
|
-
|
|
555
|
-
Variants = T.type_alias { T.any(String, Integer, T::Array[String]) }
|
|
556
|
-
|
|
557
|
-
sig do
|
|
558
|
-
override.returns(
|
|
559
|
-
T::Array[
|
|
560
|
-
Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::Variants
|
|
561
|
-
]
|
|
562
|
-
)
|
|
563
|
-
end
|
|
564
|
-
def self.variants
|
|
565
|
-
end
|
|
566
|
-
|
|
567
|
-
StringArray =
|
|
568
|
-
T.let(
|
|
569
|
-
Lithic::Internal::Type::ArrayOf[String],
|
|
570
|
-
Lithic::Internal::Type::Converter
|
|
571
|
-
)
|
|
572
|
-
end
|
|
573
433
|
end
|
|
574
434
|
end
|
|
575
435
|
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
# The operation to apply to the attribute
|
|
7
|
+
module ConditionalOperation
|
|
8
|
+
extend Lithic::Internal::Type::Enum
|
|
9
|
+
|
|
10
|
+
TaggedSymbol =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.all(Symbol, Lithic::AuthRules::ConditionalOperation)
|
|
13
|
+
end
|
|
14
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
15
|
+
|
|
16
|
+
IS_ONE_OF =
|
|
17
|
+
T.let(
|
|
18
|
+
:IS_ONE_OF,
|
|
19
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
20
|
+
)
|
|
21
|
+
IS_NOT_ONE_OF =
|
|
22
|
+
T.let(
|
|
23
|
+
:IS_NOT_ONE_OF,
|
|
24
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
25
|
+
)
|
|
26
|
+
MATCHES =
|
|
27
|
+
T.let(:MATCHES, Lithic::AuthRules::ConditionalOperation::TaggedSymbol)
|
|
28
|
+
DOES_NOT_MATCH =
|
|
29
|
+
T.let(
|
|
30
|
+
:DOES_NOT_MATCH,
|
|
31
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
32
|
+
)
|
|
33
|
+
IS_EQUAL_TO =
|
|
34
|
+
T.let(
|
|
35
|
+
:IS_EQUAL_TO,
|
|
36
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
37
|
+
)
|
|
38
|
+
IS_NOT_EQUAL_TO =
|
|
39
|
+
T.let(
|
|
40
|
+
:IS_NOT_EQUAL_TO,
|
|
41
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
42
|
+
)
|
|
43
|
+
IS_GREATER_THAN =
|
|
44
|
+
T.let(
|
|
45
|
+
:IS_GREATER_THAN,
|
|
46
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
47
|
+
)
|
|
48
|
+
IS_GREATER_THAN_OR_EQUAL_TO =
|
|
49
|
+
T.let(
|
|
50
|
+
:IS_GREATER_THAN_OR_EQUAL_TO,
|
|
51
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
52
|
+
)
|
|
53
|
+
IS_LESS_THAN =
|
|
54
|
+
T.let(
|
|
55
|
+
:IS_LESS_THAN,
|
|
56
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
57
|
+
)
|
|
58
|
+
IS_LESS_THAN_OR_EQUAL_TO =
|
|
59
|
+
T.let(
|
|
60
|
+
:IS_LESS_THAN_OR_EQUAL_TO,
|
|
61
|
+
Lithic::AuthRules::ConditionalOperation::TaggedSymbol
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
sig do
|
|
65
|
+
override.returns(
|
|
66
|
+
T::Array[Lithic::AuthRules::ConditionalOperation::TaggedSymbol]
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
def self.values
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|