lithic 0.1.0.pre.alpha.52 → 0.1.0.pre.alpha.54
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 +24 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +36 -26
- data/lib/lithic/internal/type/union.rb +15 -3
- data/lib/lithic/models/account_activity_list_response.rb +48 -1141
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +48 -1151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +3 -0
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +4 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +7 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_update_response.rb +14 -0
- data/lib/lithic/models/book_transfer_response.rb +51 -48
- data/lib/lithic/models/card_provision_response.rb +25 -3
- data/lib/lithic/models/event.rb +0 -1
- data/lib/lithic/models/event_list_params.rb +0 -1
- data/lib/lithic/models/event_subscription.rb +0 -1
- data/lib/lithic/models/events/subscription_create_params.rb +0 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +0 -1
- data/lib/lithic/models/events/subscription_update_params.rb +0 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +1 -8
- data/lib/lithic/models/external_payment.rb +21 -23
- data/lib/lithic/models/financial_account.rb +48 -39
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +32 -23
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +21 -23
- data/lib/lithic/models/payment.rb +269 -140
- data/lib/lithic/models/payment_create_response.rb +2 -0
- data/lib/lithic/models/payment_retry_response.rb +2 -0
- data/lib/lithic/models/provision_response.rb +30 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +32 -1
- data/lib/lithic/models/tokenization.rb +1 -0
- data/lib/lithic/models/transaction.rb +4 -0
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/models/verification_method.rb +0 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/account_activity.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2.rb +0 -72
- data/lib/lithic/resources/external_bank_accounts.rb +1 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -2
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- data/rbi/lithic/models/account_activity_list_response.rbi +158 -2629
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +158 -2629
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +6 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +14 -0
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -0
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +28 -0
- data/rbi/lithic/models/book_transfer_response.rbi +67 -68
- data/rbi/lithic/models/card_provision_response.rbi +50 -5
- data/rbi/lithic/models/event.rbi +0 -5
- data/rbi/lithic/models/event_list_params.rbi +0 -5
- data/rbi/lithic/models/event_subscription.rbi +0 -5
- data/rbi/lithic/models/events/subscription_create_params.rbi +0 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +0 -5
- data/rbi/lithic/models/events/subscription_update_params.rbi +0 -5
- data/rbi/lithic/models/external_bank_account_create_params.rbi +0 -6
- data/rbi/lithic/models/external_payment.rbi +34 -39
- data/rbi/lithic/models/financial_account.rbi +74 -73
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +46 -33
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +49 -60
- data/rbi/lithic/models/payment.rbi +425 -182
- data/rbi/lithic/models/payment_create_response.rbi +1 -0
- data/rbi/lithic/models/payment_retry_response.rbi +1 -0
- data/rbi/lithic/models/provision_response.rbi +58 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +83 -0
- data/rbi/lithic/models/tokenization.rbi +5 -0
- data/rbi/lithic/models/transaction.rbi +20 -0
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/models/verification_method.rbi +0 -1
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +0 -64
- data/rbi/lithic/resources/external_bank_accounts.rbi +0 -2
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/lithic/models/account_activity_list_response.rbs +50 -1036
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +50 -1036
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -0
- data/sig/lithic/models/book_transfer_response.rbs +26 -19
- data/sig/lithic/models/card_provision_response.rbs +22 -5
- data/sig/lithic/models/event.rbs +0 -2
- data/sig/lithic/models/event_list_params.rbs +0 -2
- data/sig/lithic/models/event_subscription.rbs +0 -2
- data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +0 -2
- data/sig/lithic/models/external_bank_account_create_params.rbs +1 -6
- data/sig/lithic/models/external_payment.rbs +19 -26
- data/sig/lithic/models/financial_account.rbs +28 -30
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +21 -15
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +19 -26
- data/sig/lithic/models/payment.rbs +199 -76
- data/sig/lithic/models/provision_response.rbs +36 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +28 -0
- data/sig/lithic/models/tokenization.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +8 -0
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/models/verification_method.rbs +1 -7
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +0 -5
- data/sig/lithic/resources/external_bank_accounts.rbs +0 -1
- metadata +5 -8
- data/lib/lithic/models/auth_rules/v2_report_params.rb +0 -16
- data/lib/lithic/models/auth_rules/v2_report_response.rb +0 -18
- data/rbi/lithic/models/auth_rules/v2_report_params.rbi +0 -29
- data/rbi/lithic/models/auth_rules/v2_report_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +0 -16
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +0 -17
|
@@ -435,6 +435,9 @@ module Lithic
|
|
|
435
435
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
436
436
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
437
437
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
438
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
439
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
440
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
438
441
|
sig do
|
|
439
442
|
returns(
|
|
440
443
|
T.nilable(
|
|
@@ -550,6 +553,9 @@ module Lithic
|
|
|
550
553
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
551
554
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
552
555
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
556
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
557
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
558
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
553
559
|
attribute: nil,
|
|
554
560
|
# The operation to apply to the attribute
|
|
555
561
|
operation: nil,
|
|
@@ -624,6 +630,9 @@ module Lithic
|
|
|
624
630
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
625
631
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
626
632
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
633
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
634
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
635
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
627
636
|
module Attribute
|
|
628
637
|
extend Lithic::Internal::Type::Enum
|
|
629
638
|
|
|
@@ -726,6 +735,11 @@ module Lithic
|
|
|
726
735
|
:TRANSACTION_INITIATOR,
|
|
727
736
|
Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
728
737
|
)
|
|
738
|
+
ADDRESS_MATCH =
|
|
739
|
+
T.let(
|
|
740
|
+
:ADDRESS_MATCH,
|
|
741
|
+
Lithic::Models::AuthRules::V2RetrieveResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
742
|
+
)
|
|
729
743
|
|
|
730
744
|
sig do
|
|
731
745
|
override.returns(
|
|
@@ -1075,6 +1089,9 @@ module Lithic
|
|
|
1075
1089
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1076
1090
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1077
1091
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1092
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1093
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1094
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1078
1095
|
sig do
|
|
1079
1096
|
returns(
|
|
1080
1097
|
T.nilable(
|
|
@@ -1190,6 +1207,9 @@ module Lithic
|
|
|
1190
1207
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1191
1208
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1192
1209
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1210
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1211
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1212
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1193
1213
|
attribute: nil,
|
|
1194
1214
|
# The operation to apply to the attribute
|
|
1195
1215
|
operation: nil,
|
|
@@ -1264,6 +1284,9 @@ module Lithic
|
|
|
1264
1284
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1265
1285
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1266
1286
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1287
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1288
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1289
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1267
1290
|
module Attribute
|
|
1268
1291
|
extend Lithic::Internal::Type::Enum
|
|
1269
1292
|
|
|
@@ -1366,6 +1389,11 @@ module Lithic
|
|
|
1366
1389
|
:TRANSACTION_INITIATOR,
|
|
1367
1390
|
Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1368
1391
|
)
|
|
1392
|
+
ADDRESS_MATCH =
|
|
1393
|
+
T.let(
|
|
1394
|
+
:ADDRESS_MATCH,
|
|
1395
|
+
Lithic::Models::AuthRules::V2RetrieveResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1396
|
+
)
|
|
1369
1397
|
|
|
1370
1398
|
sig do
|
|
1371
1399
|
override.returns(
|
|
@@ -432,6 +432,9 @@ module Lithic
|
|
|
432
432
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
433
433
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
434
434
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
435
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
436
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
437
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
435
438
|
sig do
|
|
436
439
|
returns(
|
|
437
440
|
T.nilable(
|
|
@@ -547,6 +550,9 @@ module Lithic
|
|
|
547
550
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
548
551
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
549
552
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
553
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
554
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
555
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
550
556
|
attribute: nil,
|
|
551
557
|
# The operation to apply to the attribute
|
|
552
558
|
operation: nil,
|
|
@@ -621,6 +627,9 @@ module Lithic
|
|
|
621
627
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
622
628
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
623
629
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
630
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
631
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
632
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
624
633
|
module Attribute
|
|
625
634
|
extend Lithic::Internal::Type::Enum
|
|
626
635
|
|
|
@@ -723,6 +732,11 @@ module Lithic
|
|
|
723
732
|
:TRANSACTION_INITIATOR,
|
|
724
733
|
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
725
734
|
)
|
|
735
|
+
ADDRESS_MATCH =
|
|
736
|
+
T.let(
|
|
737
|
+
:ADDRESS_MATCH,
|
|
738
|
+
Lithic::Models::AuthRules::V2UpdateResponse::CurrentVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
739
|
+
)
|
|
726
740
|
|
|
727
741
|
sig do
|
|
728
742
|
override.returns(
|
|
@@ -1072,6 +1086,9 @@ module Lithic
|
|
|
1072
1086
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1073
1087
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1074
1088
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1089
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1090
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1091
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1075
1092
|
sig do
|
|
1076
1093
|
returns(
|
|
1077
1094
|
T.nilable(
|
|
@@ -1187,6 +1204,9 @@ module Lithic
|
|
|
1187
1204
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1188
1205
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1189
1206
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1207
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1208
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1209
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1190
1210
|
attribute: nil,
|
|
1191
1211
|
# The operation to apply to the attribute
|
|
1192
1212
|
operation: nil,
|
|
@@ -1261,6 +1281,9 @@ module Lithic
|
|
|
1261
1281
|
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
|
1262
1282
|
# - `TRANSACTION_INITIATOR`: The entity that initiated the transaction indicates
|
|
1263
1283
|
# the source of the token. Valid values are `CARDHOLDER`, `MERCHANT`, `UNKNOWN`.
|
|
1284
|
+
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
|
|
1285
|
+
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
1286
|
+
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
1264
1287
|
module Attribute
|
|
1265
1288
|
extend Lithic::Internal::Type::Enum
|
|
1266
1289
|
|
|
@@ -1363,6 +1386,11 @@ module Lithic
|
|
|
1363
1386
|
:TRANSACTION_INITIATOR,
|
|
1364
1387
|
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1365
1388
|
)
|
|
1389
|
+
ADDRESS_MATCH =
|
|
1390
|
+
T.let(
|
|
1391
|
+
:ADDRESS_MATCH,
|
|
1392
|
+
Lithic::Models::AuthRules::V2UpdateResponse::DraftVersion::Parameters::ConditionalAuthorizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
1393
|
+
)
|
|
1366
1394
|
|
|
1367
1395
|
sig do
|
|
1368
1396
|
override.returns(
|
|
@@ -8,44 +8,32 @@ module Lithic
|
|
|
8
8
|
T.any(Lithic::BookTransferResponse, Lithic::Internal::AnyHash)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
#
|
|
12
|
-
# become the transaction token.
|
|
11
|
+
# Unique identifier for the transaction
|
|
13
12
|
sig { returns(String) }
|
|
14
13
|
attr_accessor :token
|
|
15
14
|
|
|
16
15
|
sig { returns(Lithic::BookTransferResponse::Category::TaggedSymbol) }
|
|
17
16
|
attr_accessor :category
|
|
18
17
|
|
|
19
|
-
#
|
|
18
|
+
# ISO 8601 timestamp of when the transaction was created
|
|
20
19
|
sig { returns(Time) }
|
|
21
20
|
attr_accessor :created
|
|
22
21
|
|
|
23
22
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
|
24
|
-
# transaction
|
|
23
|
+
# transaction
|
|
25
24
|
sig { returns(String) }
|
|
26
25
|
attr_accessor :currency
|
|
27
26
|
|
|
28
|
-
# A list of all financial events that have modified this transfer
|
|
27
|
+
# A list of all financial events that have modified this transfer
|
|
29
28
|
sig { returns(T::Array[Lithic::BookTransferResponse::Event]) }
|
|
30
29
|
attr_accessor :events
|
|
31
30
|
|
|
32
|
-
#
|
|
33
|
-
sig { returns(
|
|
34
|
-
attr_accessor :
|
|
35
|
-
|
|
36
|
-
# External resource associated with the management operation
|
|
37
|
-
sig { returns(T.nilable(Lithic::ExternalResource)) }
|
|
38
|
-
attr_reader :external_resource
|
|
39
|
-
|
|
40
|
-
sig do
|
|
41
|
-
params(
|
|
42
|
-
external_resource: T.nilable(Lithic::ExternalResource::OrHash)
|
|
43
|
-
).void
|
|
44
|
-
end
|
|
45
|
-
attr_writer :external_resource
|
|
31
|
+
# TRANSFER - Book Transfer Transaction
|
|
32
|
+
sig { returns(Symbol) }
|
|
33
|
+
attr_accessor :family
|
|
46
34
|
|
|
47
35
|
# Globally unique identifier for the financial account or card that will send the
|
|
48
|
-
# funds. Accepted type dependent on the program's use case
|
|
36
|
+
# funds. Accepted type dependent on the program's use case
|
|
49
37
|
sig { returns(String) }
|
|
50
38
|
attr_accessor :from_financial_account_token
|
|
51
39
|
|
|
@@ -61,24 +49,39 @@ module Lithic
|
|
|
61
49
|
attr_accessor :result
|
|
62
50
|
|
|
63
51
|
# Amount of the transaction that has been settled in the currency's smallest unit
|
|
64
|
-
# (e.g., cents)
|
|
52
|
+
# (e.g., cents)
|
|
65
53
|
sig { returns(Integer) }
|
|
66
54
|
attr_accessor :settled_amount
|
|
67
55
|
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
# - `DECLINED` - The transfer was declined.
|
|
71
|
-
# - `REVERSED` - The transfer was reversed
|
|
72
|
-
# - `SETTLED` - The transfer is completed.
|
|
56
|
+
# The status of the transaction
|
|
73
57
|
sig { returns(Lithic::BookTransferResponse::Status::TaggedSymbol) }
|
|
74
58
|
attr_accessor :status
|
|
75
59
|
|
|
76
60
|
# Globally unique identifier for the financial account or card that will receive
|
|
77
|
-
# the funds. Accepted type dependent on the program's use case
|
|
61
|
+
# the funds. Accepted type dependent on the program's use case
|
|
78
62
|
sig { returns(String) }
|
|
79
63
|
attr_accessor :to_financial_account_token
|
|
80
64
|
|
|
81
|
-
#
|
|
65
|
+
# ISO 8601 timestamp of when the transaction was last updated
|
|
66
|
+
sig { returns(Time) }
|
|
67
|
+
attr_accessor :updated
|
|
68
|
+
|
|
69
|
+
# External ID defined by the customer
|
|
70
|
+
sig { returns(T.nilable(String)) }
|
|
71
|
+
attr_accessor :external_id
|
|
72
|
+
|
|
73
|
+
# External resource associated with the management operation
|
|
74
|
+
sig { returns(T.nilable(Lithic::ExternalResource)) }
|
|
75
|
+
attr_reader :external_resource
|
|
76
|
+
|
|
77
|
+
sig do
|
|
78
|
+
params(
|
|
79
|
+
external_resource: T.nilable(Lithic::ExternalResource::OrHash)
|
|
80
|
+
).void
|
|
81
|
+
end
|
|
82
|
+
attr_writer :external_resource
|
|
83
|
+
|
|
84
|
+
# A series of transactions that are grouped together
|
|
82
85
|
sig do
|
|
83
86
|
returns(T.nilable(Lithic::BookTransferResponse::TransactionSeries))
|
|
84
87
|
end
|
|
@@ -92,10 +95,7 @@ module Lithic
|
|
|
92
95
|
end
|
|
93
96
|
attr_writer :transaction_series
|
|
94
97
|
|
|
95
|
-
#
|
|
96
|
-
sig { returns(Time) }
|
|
97
|
-
attr_accessor :updated
|
|
98
|
-
|
|
98
|
+
# Book transfer transaction
|
|
99
99
|
sig do
|
|
100
100
|
params(
|
|
101
101
|
token: String,
|
|
@@ -103,37 +103,33 @@ module Lithic
|
|
|
103
103
|
created: Time,
|
|
104
104
|
currency: String,
|
|
105
105
|
events: T::Array[Lithic::BookTransferResponse::Event::OrHash],
|
|
106
|
-
external_id: T.nilable(String),
|
|
107
|
-
external_resource: T.nilable(Lithic::ExternalResource::OrHash),
|
|
108
106
|
from_financial_account_token: String,
|
|
109
107
|
pending_amount: Integer,
|
|
110
108
|
result: Lithic::BookTransferResponse::Result::OrSymbol,
|
|
111
109
|
settled_amount: Integer,
|
|
112
110
|
status: Lithic::BookTransferResponse::Status::OrSymbol,
|
|
113
111
|
to_financial_account_token: String,
|
|
112
|
+
updated: Time,
|
|
113
|
+
external_id: T.nilable(String),
|
|
114
|
+
external_resource: T.nilable(Lithic::ExternalResource::OrHash),
|
|
114
115
|
transaction_series:
|
|
115
116
|
T.nilable(Lithic::BookTransferResponse::TransactionSeries::OrHash),
|
|
116
|
-
|
|
117
|
+
family: Symbol
|
|
117
118
|
).returns(T.attached_class)
|
|
118
119
|
end
|
|
119
120
|
def self.new(
|
|
120
|
-
#
|
|
121
|
-
# become the transaction token.
|
|
121
|
+
# Unique identifier for the transaction
|
|
122
122
|
token:,
|
|
123
123
|
category:,
|
|
124
|
-
#
|
|
124
|
+
# ISO 8601 timestamp of when the transaction was created
|
|
125
125
|
created:,
|
|
126
126
|
# 3-character alphabetic ISO 4217 code for the settling currency of the
|
|
127
|
-
# transaction
|
|
127
|
+
# transaction
|
|
128
128
|
currency:,
|
|
129
|
-
# A list of all financial events that have modified this transfer
|
|
129
|
+
# A list of all financial events that have modified this transfer
|
|
130
130
|
events:,
|
|
131
|
-
# External ID defined by the customer
|
|
132
|
-
external_id:,
|
|
133
|
-
# External resource associated with the management operation
|
|
134
|
-
external_resource:,
|
|
135
131
|
# Globally unique identifier for the financial account or card that will send the
|
|
136
|
-
# funds. Accepted type dependent on the program's use case
|
|
132
|
+
# funds. Accepted type dependent on the program's use case
|
|
137
133
|
from_financial_account_token:,
|
|
138
134
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
|
139
135
|
# including any acquirer fees.
|
|
@@ -143,21 +139,23 @@ module Lithic
|
|
|
143
139
|
pending_amount:,
|
|
144
140
|
result:,
|
|
145
141
|
# Amount of the transaction that has been settled in the currency's smallest unit
|
|
146
|
-
# (e.g., cents)
|
|
142
|
+
# (e.g., cents)
|
|
147
143
|
settled_amount:,
|
|
148
|
-
#
|
|
149
|
-
#
|
|
150
|
-
# - `DECLINED` - The transfer was declined.
|
|
151
|
-
# - `REVERSED` - The transfer was reversed
|
|
152
|
-
# - `SETTLED` - The transfer is completed.
|
|
144
|
+
# The status of the transaction
|
|
153
145
|
status:,
|
|
154
146
|
# Globally unique identifier for the financial account or card that will receive
|
|
155
|
-
# the funds. Accepted type dependent on the program's use case
|
|
147
|
+
# the funds. Accepted type dependent on the program's use case
|
|
156
148
|
to_financial_account_token:,
|
|
157
|
-
#
|
|
158
|
-
|
|
159
|
-
#
|
|
160
|
-
|
|
149
|
+
# ISO 8601 timestamp of when the transaction was last updated
|
|
150
|
+
updated:,
|
|
151
|
+
# External ID defined by the customer
|
|
152
|
+
external_id: nil,
|
|
153
|
+
# External resource associated with the management operation
|
|
154
|
+
external_resource: nil,
|
|
155
|
+
# A series of transactions that are grouped together
|
|
156
|
+
transaction_series: nil,
|
|
157
|
+
# TRANSFER - Book Transfer Transaction
|
|
158
|
+
family: :TRANSFER
|
|
161
159
|
)
|
|
162
160
|
end
|
|
163
161
|
|
|
@@ -169,17 +167,18 @@ module Lithic
|
|
|
169
167
|
created: Time,
|
|
170
168
|
currency: String,
|
|
171
169
|
events: T::Array[Lithic::BookTransferResponse::Event],
|
|
172
|
-
|
|
173
|
-
external_resource: T.nilable(Lithic::ExternalResource),
|
|
170
|
+
family: Symbol,
|
|
174
171
|
from_financial_account_token: String,
|
|
175
172
|
pending_amount: Integer,
|
|
176
173
|
result: Lithic::BookTransferResponse::Result::TaggedSymbol,
|
|
177
174
|
settled_amount: Integer,
|
|
178
175
|
status: Lithic::BookTransferResponse::Status::TaggedSymbol,
|
|
179
176
|
to_financial_account_token: String,
|
|
177
|
+
updated: Time,
|
|
178
|
+
external_id: T.nilable(String),
|
|
179
|
+
external_resource: T.nilable(Lithic::ExternalResource),
|
|
180
180
|
transaction_series:
|
|
181
|
-
T.nilable(Lithic::BookTransferResponse::TransactionSeries)
|
|
182
|
-
updated: Time
|
|
181
|
+
T.nilable(Lithic::BookTransferResponse::TransactionSeries)
|
|
183
182
|
}
|
|
184
183
|
)
|
|
185
184
|
end
|
|
@@ -617,11 +616,7 @@ module Lithic
|
|
|
617
616
|
end
|
|
618
617
|
end
|
|
619
618
|
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
# - `DECLINED` - The transfer was declined.
|
|
623
|
-
# - `REVERSED` - The transfer was reversed
|
|
624
|
-
# - `SETTLED` - The transfer is completed.
|
|
619
|
+
# The status of the transaction
|
|
625
620
|
module Status
|
|
626
621
|
extend Lithic::Internal::Type::Enum
|
|
627
622
|
|
|
@@ -629,12 +624,16 @@ module Lithic
|
|
|
629
624
|
T.type_alias { T.all(Symbol, Lithic::BookTransferResponse::Status) }
|
|
630
625
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
631
626
|
|
|
627
|
+
PENDING =
|
|
628
|
+
T.let(:PENDING, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
629
|
+
SETTLED =
|
|
630
|
+
T.let(:SETTLED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
632
631
|
DECLINED =
|
|
633
632
|
T.let(:DECLINED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
634
633
|
REVERSED =
|
|
635
634
|
T.let(:REVERSED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
636
|
-
|
|
637
|
-
T.let(:
|
|
635
|
+
CANCELED =
|
|
636
|
+
T.let(:CANCELED, Lithic::BookTransferResponse::Status::TaggedSymbol)
|
|
638
637
|
|
|
639
638
|
sig do
|
|
640
639
|
override.returns(
|
|
@@ -663,7 +662,7 @@ module Lithic
|
|
|
663
662
|
sig { returns(String) }
|
|
664
663
|
attr_accessor :type
|
|
665
664
|
|
|
666
|
-
# A series of transactions that are grouped together
|
|
665
|
+
# A series of transactions that are grouped together
|
|
667
666
|
sig do
|
|
668
667
|
params(
|
|
669
668
|
related_transaction_event_token: T.nilable(String),
|
|
@@ -11,19 +11,64 @@ module Lithic
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# Base64 encoded JSON payload representing a payment card that can be passed to a
|
|
15
|
+
# device's digital wallet. Applies to Google and Samsung Pay wallets.
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
T.nilable(
|
|
19
|
+
Lithic::Models::CardProvisionResponse::ProvisioningPayload::Variants
|
|
20
|
+
)
|
|
21
|
+
)
|
|
22
|
+
end
|
|
15
23
|
attr_reader :provisioning_payload
|
|
16
24
|
|
|
17
|
-
sig
|
|
25
|
+
sig do
|
|
26
|
+
params(
|
|
27
|
+
provisioning_payload: T.any(String, Lithic::ProvisionResponse::OrHash)
|
|
28
|
+
).void
|
|
29
|
+
end
|
|
18
30
|
attr_writer :provisioning_payload
|
|
19
31
|
|
|
20
|
-
sig
|
|
21
|
-
|
|
32
|
+
sig do
|
|
33
|
+
params(
|
|
34
|
+
provisioning_payload: T.any(String, Lithic::ProvisionResponse::OrHash)
|
|
35
|
+
).returns(T.attached_class)
|
|
36
|
+
end
|
|
37
|
+
def self.new(
|
|
38
|
+
# Base64 encoded JSON payload representing a payment card that can be passed to a
|
|
39
|
+
# device's digital wallet. Applies to Google and Samsung Pay wallets.
|
|
40
|
+
provisioning_payload: nil
|
|
41
|
+
)
|
|
22
42
|
end
|
|
23
43
|
|
|
24
|
-
sig
|
|
44
|
+
sig do
|
|
45
|
+
override.returns(
|
|
46
|
+
{
|
|
47
|
+
provisioning_payload:
|
|
48
|
+
Lithic::Models::CardProvisionResponse::ProvisioningPayload::Variants
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
end
|
|
25
52
|
def to_hash
|
|
26
53
|
end
|
|
54
|
+
|
|
55
|
+
# Base64 encoded JSON payload representing a payment card that can be passed to a
|
|
56
|
+
# device's digital wallet. Applies to Google and Samsung Pay wallets.
|
|
57
|
+
module ProvisioningPayload
|
|
58
|
+
extend Lithic::Internal::Type::Union
|
|
59
|
+
|
|
60
|
+
Variants = T.type_alias { T.any(String, Lithic::ProvisionResponse) }
|
|
61
|
+
|
|
62
|
+
sig do
|
|
63
|
+
override.returns(
|
|
64
|
+
T::Array[
|
|
65
|
+
Lithic::Models::CardProvisionResponse::ProvisioningPayload::Variants
|
|
66
|
+
]
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
def self.variants
|
|
70
|
+
end
|
|
71
|
+
end
|
|
27
72
|
end
|
|
28
73
|
end
|
|
29
74
|
end
|
data/rbi/lithic/models/event.rbi
CHANGED
|
@@ -169,11 +169,6 @@ module Lithic
|
|
|
169
169
|
:"account_holder.verification",
|
|
170
170
|
Lithic::Event::EventType::TaggedSymbol
|
|
171
171
|
)
|
|
172
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
173
|
-
T.let(
|
|
174
|
-
:"auth_rules.performance_report.created",
|
|
175
|
-
Lithic::Event::EventType::TaggedSymbol
|
|
176
|
-
)
|
|
177
172
|
BALANCE_UPDATED =
|
|
178
173
|
T.let(:"balance.updated", Lithic::Event::EventType::TaggedSymbol)
|
|
179
174
|
BOOK_TRANSFER_TRANSACTION_CREATED =
|
|
@@ -146,11 +146,6 @@ module Lithic
|
|
|
146
146
|
:"account_holder.verification",
|
|
147
147
|
Lithic::EventListParams::EventType::TaggedSymbol
|
|
148
148
|
)
|
|
149
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
150
|
-
T.let(
|
|
151
|
-
:"auth_rules.performance_report.created",
|
|
152
|
-
Lithic::EventListParams::EventType::TaggedSymbol
|
|
153
|
-
)
|
|
154
149
|
BALANCE_UPDATED =
|
|
155
150
|
T.let(
|
|
156
151
|
:"balance.updated",
|
|
@@ -94,11 +94,6 @@ module Lithic
|
|
|
94
94
|
:"account_holder.verification",
|
|
95
95
|
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
96
96
|
)
|
|
97
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
98
|
-
T.let(
|
|
99
|
-
:"auth_rules.performance_report.created",
|
|
100
|
-
Lithic::EventSubscription::EventType::TaggedSymbol
|
|
101
|
-
)
|
|
102
97
|
BALANCE_UPDATED =
|
|
103
98
|
T.let(
|
|
104
99
|
:"balance.updated",
|
|
@@ -123,11 +123,6 @@ module Lithic
|
|
|
123
123
|
:"account_holder.verification",
|
|
124
124
|
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
125
125
|
)
|
|
126
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
127
|
-
T.let(
|
|
128
|
-
:"auth_rules.performance_report.created",
|
|
129
|
-
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
|
|
130
|
-
)
|
|
131
126
|
BALANCE_UPDATED =
|
|
132
127
|
T.let(
|
|
133
128
|
:"balance.updated",
|
|
@@ -87,11 +87,6 @@ module Lithic
|
|
|
87
87
|
:"account_holder.verification",
|
|
88
88
|
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
89
89
|
)
|
|
90
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
91
|
-
T.let(
|
|
92
|
-
:"auth_rules.performance_report.created",
|
|
93
|
-
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
|
|
94
|
-
)
|
|
95
90
|
BALANCE_UPDATED =
|
|
96
91
|
T.let(
|
|
97
92
|
:"balance.updated",
|
|
@@ -123,11 +123,6 @@ module Lithic
|
|
|
123
123
|
:"account_holder.verification",
|
|
124
124
|
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
125
125
|
)
|
|
126
|
-
AUTH_RULES_PERFORMANCE_REPORT_CREATED =
|
|
127
|
-
T.let(
|
|
128
|
-
:"auth_rules.performance_report.created",
|
|
129
|
-
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
|
|
130
|
-
)
|
|
131
126
|
BALANCE_UPDATED =
|
|
132
127
|
T.let(
|
|
133
128
|
:"balance.updated",
|
|
@@ -113,9 +113,6 @@ module Lithic
|
|
|
113
113
|
sig { params(verification_enforcement: T::Boolean).void }
|
|
114
114
|
attr_writer :verification_enforcement
|
|
115
115
|
|
|
116
|
-
sig { returns(String) }
|
|
117
|
-
attr_accessor :processor_token
|
|
118
|
-
|
|
119
116
|
sig do
|
|
120
117
|
params(
|
|
121
118
|
account_number: String,
|
|
@@ -128,7 +125,6 @@ module Lithic
|
|
|
128
125
|
type: Lithic::ExternalBankAccountCreateParams::Type::OrSymbol,
|
|
129
126
|
verification_method:
|
|
130
127
|
Lithic::ExternalBankAccountCreateParams::VerificationMethod::OrSymbol,
|
|
131
|
-
processor_token: String,
|
|
132
128
|
account_token: String,
|
|
133
129
|
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
134
130
|
company_id: String,
|
|
@@ -161,7 +157,6 @@ module Lithic
|
|
|
161
157
|
type:,
|
|
162
158
|
# Verification Method
|
|
163
159
|
verification_method:,
|
|
164
|
-
processor_token:,
|
|
165
160
|
# Indicates which Lithic account the external account is associated with. For
|
|
166
161
|
# external accounts that are associated with the program, account_token field
|
|
167
162
|
# returned will be null
|
|
@@ -204,7 +199,6 @@ module Lithic
|
|
|
204
199
|
name: String,
|
|
205
200
|
user_defined_id: String,
|
|
206
201
|
verification_enforcement: T::Boolean,
|
|
207
|
-
processor_token: String,
|
|
208
202
|
request_options: Lithic::RequestOptions
|
|
209
203
|
}
|
|
210
204
|
)
|