lithic 0.1.0.pre.alpha.55 → 0.1.0
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 +53 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +12 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +62 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +62 -151
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +9 -52
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +9 -54
- data/lib/lithic/models/auth_rules/conditional_operation.rb +31 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +271 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +30 -0
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -19
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -16
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -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_retry_prenote_response.rb → external_bank_account.rb} +32 -33
- 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_unpause_params.rb +14 -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 +15 -2
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +3 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- 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_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +164 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +11 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +18 -6
- data/lib/lithic/models/payment_create_params.rb +10 -1
- 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.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +9 -243
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +56 -0
- data/lib/lithic/resources/auth_rules/v2.rb +19 -17
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- 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 +21 -2
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +38 -21
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +9 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +131 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +131 -544
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- 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 +99 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +703 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +29 -0
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +22 -52
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -44
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -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_retry_prenote_response.rbi → external_bank_account.rbi} +57 -126
- 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_unpause_params.rbi +30 -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 +62 -6
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +15 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- 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_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +469 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +41 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +28 -7
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- 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.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +12 -500
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +57 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +23 -18
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- 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 +11 -1
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +6 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +71 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +71 -221
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- 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 +44 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +239 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +8 -17
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -17
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -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.rbs +162 -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_unpause_params.rbs +15 -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 +35 -8
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +11 -2
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- 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_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +248 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +18 -5
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +12 -191
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +56 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- 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 +6 -1
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +115 -67
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -266
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -267
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -271
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -267
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- 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/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -496
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -492
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -499
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -502
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -496
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- 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/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -193
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -193
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- 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
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -182
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ConditionalTokenizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
OrHash =
|
|
8
|
+
T.type_alias do
|
|
9
|
+
T.any(
|
|
10
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters,
|
|
11
|
+
Lithic::Internal::AnyHash
|
|
12
|
+
)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# The action to take if the conditions are met
|
|
16
|
+
sig do
|
|
17
|
+
returns(
|
|
18
|
+
T.any(
|
|
19
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction,
|
|
20
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction
|
|
21
|
+
)
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
attr_accessor :action
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
returns(
|
|
28
|
+
T::Array[
|
|
29
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition
|
|
30
|
+
]
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
attr_accessor :conditions
|
|
34
|
+
|
|
35
|
+
sig do
|
|
36
|
+
params(
|
|
37
|
+
action:
|
|
38
|
+
T.any(
|
|
39
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::OrHash,
|
|
40
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::OrHash
|
|
41
|
+
),
|
|
42
|
+
conditions:
|
|
43
|
+
T::Array[
|
|
44
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::OrHash
|
|
45
|
+
]
|
|
46
|
+
).returns(T.attached_class)
|
|
47
|
+
end
|
|
48
|
+
def self.new(
|
|
49
|
+
# The action to take if the conditions are met
|
|
50
|
+
action:,
|
|
51
|
+
conditions:
|
|
52
|
+
)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig do
|
|
56
|
+
override.returns(
|
|
57
|
+
{
|
|
58
|
+
action:
|
|
59
|
+
T.any(
|
|
60
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction,
|
|
61
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction
|
|
62
|
+
),
|
|
63
|
+
conditions:
|
|
64
|
+
T::Array[
|
|
65
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
def to_hash
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# The action to take if the conditions are met
|
|
74
|
+
module Action
|
|
75
|
+
extend Lithic::Internal::Type::Union
|
|
76
|
+
|
|
77
|
+
Variants =
|
|
78
|
+
T.type_alias do
|
|
79
|
+
T.any(
|
|
80
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction,
|
|
81
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class DeclineAction < Lithic::Internal::Type::BaseModel
|
|
86
|
+
OrHash =
|
|
87
|
+
T.type_alias do
|
|
88
|
+
T.any(
|
|
89
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction,
|
|
90
|
+
Lithic::Internal::AnyHash
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Decline the tokenization request
|
|
95
|
+
sig do
|
|
96
|
+
returns(
|
|
97
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type::OrSymbol
|
|
98
|
+
)
|
|
99
|
+
end
|
|
100
|
+
attr_accessor :type
|
|
101
|
+
|
|
102
|
+
# Reason code for declining the tokenization request
|
|
103
|
+
sig do
|
|
104
|
+
returns(
|
|
105
|
+
T.nilable(
|
|
106
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::OrSymbol
|
|
107
|
+
)
|
|
108
|
+
)
|
|
109
|
+
end
|
|
110
|
+
attr_reader :reason
|
|
111
|
+
|
|
112
|
+
sig do
|
|
113
|
+
params(
|
|
114
|
+
reason:
|
|
115
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::OrSymbol
|
|
116
|
+
).void
|
|
117
|
+
end
|
|
118
|
+
attr_writer :reason
|
|
119
|
+
|
|
120
|
+
sig do
|
|
121
|
+
params(
|
|
122
|
+
type:
|
|
123
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type::OrSymbol,
|
|
124
|
+
reason:
|
|
125
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::OrSymbol
|
|
126
|
+
).returns(T.attached_class)
|
|
127
|
+
end
|
|
128
|
+
def self.new(
|
|
129
|
+
# Decline the tokenization request
|
|
130
|
+
type:,
|
|
131
|
+
# Reason code for declining the tokenization request
|
|
132
|
+
reason: nil
|
|
133
|
+
)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
sig do
|
|
137
|
+
override.returns(
|
|
138
|
+
{
|
|
139
|
+
type:
|
|
140
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type::OrSymbol,
|
|
141
|
+
reason:
|
|
142
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::OrSymbol
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
end
|
|
146
|
+
def to_hash
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Decline the tokenization request
|
|
150
|
+
module Type
|
|
151
|
+
extend Lithic::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
TaggedSymbol =
|
|
154
|
+
T.type_alias do
|
|
155
|
+
T.all(
|
|
156
|
+
Symbol,
|
|
157
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type
|
|
158
|
+
)
|
|
159
|
+
end
|
|
160
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
161
|
+
|
|
162
|
+
DECLINE =
|
|
163
|
+
T.let(
|
|
164
|
+
:DECLINE,
|
|
165
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type::TaggedSymbol
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
sig do
|
|
169
|
+
override.returns(
|
|
170
|
+
T::Array[
|
|
171
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type::TaggedSymbol
|
|
172
|
+
]
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
def self.values
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Reason code for declining the tokenization request
|
|
180
|
+
module Reason
|
|
181
|
+
extend Lithic::Internal::Type::Enum
|
|
182
|
+
|
|
183
|
+
TaggedSymbol =
|
|
184
|
+
T.type_alias do
|
|
185
|
+
T.all(
|
|
186
|
+
Symbol,
|
|
187
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason
|
|
188
|
+
)
|
|
189
|
+
end
|
|
190
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
191
|
+
|
|
192
|
+
ACCOUNT_SCORE_1 =
|
|
193
|
+
T.let(
|
|
194
|
+
:ACCOUNT_SCORE_1,
|
|
195
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
196
|
+
)
|
|
197
|
+
DEVICE_SCORE_1 =
|
|
198
|
+
T.let(
|
|
199
|
+
:DEVICE_SCORE_1,
|
|
200
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
201
|
+
)
|
|
202
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT =
|
|
203
|
+
T.let(
|
|
204
|
+
:ALL_WALLET_DECLINE_REASONS_PRESENT,
|
|
205
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
206
|
+
)
|
|
207
|
+
WALLET_RECOMMENDED_DECISION_RED =
|
|
208
|
+
T.let(
|
|
209
|
+
:WALLET_RECOMMENDED_DECISION_RED,
|
|
210
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
211
|
+
)
|
|
212
|
+
CVC_MISMATCH =
|
|
213
|
+
T.let(
|
|
214
|
+
:CVC_MISMATCH,
|
|
215
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
216
|
+
)
|
|
217
|
+
CARD_EXPIRY_MONTH_MISMATCH =
|
|
218
|
+
T.let(
|
|
219
|
+
:CARD_EXPIRY_MONTH_MISMATCH,
|
|
220
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
221
|
+
)
|
|
222
|
+
CARD_EXPIRY_YEAR_MISMATCH =
|
|
223
|
+
T.let(
|
|
224
|
+
:CARD_EXPIRY_YEAR_MISMATCH,
|
|
225
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
226
|
+
)
|
|
227
|
+
CARD_INVALID_STATE =
|
|
228
|
+
T.let(
|
|
229
|
+
:CARD_INVALID_STATE,
|
|
230
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
231
|
+
)
|
|
232
|
+
CUSTOMER_RED_PATH =
|
|
233
|
+
T.let(
|
|
234
|
+
:CUSTOMER_RED_PATH,
|
|
235
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
236
|
+
)
|
|
237
|
+
INVALID_CUSTOMER_RESPONSE =
|
|
238
|
+
T.let(
|
|
239
|
+
:INVALID_CUSTOMER_RESPONSE,
|
|
240
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
241
|
+
)
|
|
242
|
+
NETWORK_FAILURE =
|
|
243
|
+
T.let(
|
|
244
|
+
:NETWORK_FAILURE,
|
|
245
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
246
|
+
)
|
|
247
|
+
GENERIC_DECLINE =
|
|
248
|
+
T.let(
|
|
249
|
+
:GENERIC_DECLINE,
|
|
250
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
251
|
+
)
|
|
252
|
+
DIGITAL_CARD_ART_REQUIRED =
|
|
253
|
+
T.let(
|
|
254
|
+
:DIGITAL_CARD_ART_REQUIRED,
|
|
255
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
256
|
+
)
|
|
257
|
+
|
|
258
|
+
sig do
|
|
259
|
+
override.returns(
|
|
260
|
+
T::Array[
|
|
261
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason::TaggedSymbol
|
|
262
|
+
]
|
|
263
|
+
)
|
|
264
|
+
end
|
|
265
|
+
def self.values
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
271
|
+
OrHash =
|
|
272
|
+
T.type_alias do
|
|
273
|
+
T.any(
|
|
274
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction,
|
|
275
|
+
Lithic::Internal::AnyHash
|
|
276
|
+
)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Require two-factor authentication for the tokenization request
|
|
280
|
+
sig do
|
|
281
|
+
returns(
|
|
282
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type::OrSymbol
|
|
283
|
+
)
|
|
284
|
+
end
|
|
285
|
+
attr_accessor :type
|
|
286
|
+
|
|
287
|
+
# Reason code for requiring two-factor authentication
|
|
288
|
+
sig do
|
|
289
|
+
returns(
|
|
290
|
+
T.nilable(
|
|
291
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::OrSymbol
|
|
292
|
+
)
|
|
293
|
+
)
|
|
294
|
+
end
|
|
295
|
+
attr_reader :reason
|
|
296
|
+
|
|
297
|
+
sig do
|
|
298
|
+
params(
|
|
299
|
+
reason:
|
|
300
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::OrSymbol
|
|
301
|
+
).void
|
|
302
|
+
end
|
|
303
|
+
attr_writer :reason
|
|
304
|
+
|
|
305
|
+
sig do
|
|
306
|
+
params(
|
|
307
|
+
type:
|
|
308
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type::OrSymbol,
|
|
309
|
+
reason:
|
|
310
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::OrSymbol
|
|
311
|
+
).returns(T.attached_class)
|
|
312
|
+
end
|
|
313
|
+
def self.new(
|
|
314
|
+
# Require two-factor authentication for the tokenization request
|
|
315
|
+
type:,
|
|
316
|
+
# Reason code for requiring two-factor authentication
|
|
317
|
+
reason: nil
|
|
318
|
+
)
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
sig do
|
|
322
|
+
override.returns(
|
|
323
|
+
{
|
|
324
|
+
type:
|
|
325
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type::OrSymbol,
|
|
326
|
+
reason:
|
|
327
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::OrSymbol
|
|
328
|
+
}
|
|
329
|
+
)
|
|
330
|
+
end
|
|
331
|
+
def to_hash
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Require two-factor authentication for the tokenization request
|
|
335
|
+
module Type
|
|
336
|
+
extend Lithic::Internal::Type::Enum
|
|
337
|
+
|
|
338
|
+
TaggedSymbol =
|
|
339
|
+
T.type_alias do
|
|
340
|
+
T.all(
|
|
341
|
+
Symbol,
|
|
342
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type
|
|
343
|
+
)
|
|
344
|
+
end
|
|
345
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
346
|
+
|
|
347
|
+
REQUIRE_TFA =
|
|
348
|
+
T.let(
|
|
349
|
+
:REQUIRE_TFA,
|
|
350
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type::TaggedSymbol
|
|
351
|
+
)
|
|
352
|
+
|
|
353
|
+
sig do
|
|
354
|
+
override.returns(
|
|
355
|
+
T::Array[
|
|
356
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type::TaggedSymbol
|
|
357
|
+
]
|
|
358
|
+
)
|
|
359
|
+
end
|
|
360
|
+
def self.values
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# Reason code for requiring two-factor authentication
|
|
365
|
+
module Reason
|
|
366
|
+
extend Lithic::Internal::Type::Enum
|
|
367
|
+
|
|
368
|
+
TaggedSymbol =
|
|
369
|
+
T.type_alias do
|
|
370
|
+
T.all(
|
|
371
|
+
Symbol,
|
|
372
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason
|
|
373
|
+
)
|
|
374
|
+
end
|
|
375
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
376
|
+
|
|
377
|
+
WALLET_RECOMMENDED_TFA =
|
|
378
|
+
T.let(
|
|
379
|
+
:WALLET_RECOMMENDED_TFA,
|
|
380
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
381
|
+
)
|
|
382
|
+
SUSPICIOUS_ACTIVITY =
|
|
383
|
+
T.let(
|
|
384
|
+
:SUSPICIOUS_ACTIVITY,
|
|
385
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
386
|
+
)
|
|
387
|
+
DEVICE_RECENTLY_LOST =
|
|
388
|
+
T.let(
|
|
389
|
+
:DEVICE_RECENTLY_LOST,
|
|
390
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
391
|
+
)
|
|
392
|
+
TOO_MANY_RECENT_ATTEMPTS =
|
|
393
|
+
T.let(
|
|
394
|
+
:TOO_MANY_RECENT_ATTEMPTS,
|
|
395
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
396
|
+
)
|
|
397
|
+
TOO_MANY_RECENT_TOKENS =
|
|
398
|
+
T.let(
|
|
399
|
+
:TOO_MANY_RECENT_TOKENS,
|
|
400
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
401
|
+
)
|
|
402
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS =
|
|
403
|
+
T.let(
|
|
404
|
+
:TOO_MANY_DIFFERENT_CARDHOLDERS,
|
|
405
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
406
|
+
)
|
|
407
|
+
OUTSIDE_HOME_TERRITORY =
|
|
408
|
+
T.let(
|
|
409
|
+
:OUTSIDE_HOME_TERRITORY,
|
|
410
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
411
|
+
)
|
|
412
|
+
HAS_SUSPENDED_TOKENS =
|
|
413
|
+
T.let(
|
|
414
|
+
:HAS_SUSPENDED_TOKENS,
|
|
415
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
416
|
+
)
|
|
417
|
+
HIGH_RISK =
|
|
418
|
+
T.let(
|
|
419
|
+
:HIGH_RISK,
|
|
420
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
421
|
+
)
|
|
422
|
+
ACCOUNT_SCORE_LOW =
|
|
423
|
+
T.let(
|
|
424
|
+
:ACCOUNT_SCORE_LOW,
|
|
425
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
426
|
+
)
|
|
427
|
+
DEVICE_SCORE_LOW =
|
|
428
|
+
T.let(
|
|
429
|
+
:DEVICE_SCORE_LOW,
|
|
430
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
431
|
+
)
|
|
432
|
+
CARD_STATE_TFA =
|
|
433
|
+
T.let(
|
|
434
|
+
:CARD_STATE_TFA,
|
|
435
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
436
|
+
)
|
|
437
|
+
HARDCODED_TFA =
|
|
438
|
+
T.let(
|
|
439
|
+
:HARDCODED_TFA,
|
|
440
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
441
|
+
)
|
|
442
|
+
CUSTOMER_RULE_TFA =
|
|
443
|
+
T.let(
|
|
444
|
+
:CUSTOMER_RULE_TFA,
|
|
445
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
446
|
+
)
|
|
447
|
+
DEVICE_HOST_CARD_EMULATION =
|
|
448
|
+
T.let(
|
|
449
|
+
:DEVICE_HOST_CARD_EMULATION,
|
|
450
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
sig do
|
|
454
|
+
override.returns(
|
|
455
|
+
T::Array[
|
|
456
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason::TaggedSymbol
|
|
457
|
+
]
|
|
458
|
+
)
|
|
459
|
+
end
|
|
460
|
+
def self.values
|
|
461
|
+
end
|
|
462
|
+
end
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
sig do
|
|
466
|
+
override.returns(
|
|
467
|
+
T::Array[
|
|
468
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::Variants
|
|
469
|
+
]
|
|
470
|
+
)
|
|
471
|
+
end
|
|
472
|
+
def self.variants
|
|
473
|
+
end
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
477
|
+
OrHash =
|
|
478
|
+
T.type_alias do
|
|
479
|
+
T.any(
|
|
480
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition,
|
|
481
|
+
Lithic::Internal::AnyHash
|
|
482
|
+
)
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
# The attribute to target.
|
|
486
|
+
#
|
|
487
|
+
# The following attributes may be targeted:
|
|
488
|
+
#
|
|
489
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
490
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
491
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
492
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
493
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
494
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
495
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
496
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
497
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
498
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
499
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
500
|
+
# = medium risk).
|
|
501
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
502
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
503
|
+
# = medium risk).
|
|
504
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
505
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
506
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
507
|
+
# - `WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital
|
|
508
|
+
# wallet provider for the recommended decision. Valid values are
|
|
509
|
+
# `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`,
|
|
510
|
+
# `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`,
|
|
511
|
+
# `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`,
|
|
512
|
+
# `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`,
|
|
513
|
+
# `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`,
|
|
514
|
+
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
|
|
515
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
516
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
517
|
+
sig do
|
|
518
|
+
returns(
|
|
519
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::OrSymbol
|
|
520
|
+
)
|
|
521
|
+
end
|
|
522
|
+
attr_accessor :attribute
|
|
523
|
+
|
|
524
|
+
# The operation to apply to the attribute
|
|
525
|
+
sig { returns(Lithic::AuthRules::ConditionalOperation::OrSymbol) }
|
|
526
|
+
attr_accessor :operation
|
|
527
|
+
|
|
528
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
529
|
+
sig { returns(Lithic::AuthRules::ConditionalValue::Variants) }
|
|
530
|
+
attr_accessor :value
|
|
531
|
+
|
|
532
|
+
sig do
|
|
533
|
+
params(
|
|
534
|
+
attribute:
|
|
535
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::OrSymbol,
|
|
536
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
537
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
538
|
+
).returns(T.attached_class)
|
|
539
|
+
end
|
|
540
|
+
def self.new(
|
|
541
|
+
# The attribute to target.
|
|
542
|
+
#
|
|
543
|
+
# The following attributes may be targeted:
|
|
544
|
+
#
|
|
545
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
546
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
547
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
548
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
549
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
550
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
551
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
552
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
553
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
554
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
555
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
556
|
+
# = medium risk).
|
|
557
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
558
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
559
|
+
# = medium risk).
|
|
560
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
561
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
562
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
563
|
+
# - `WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital
|
|
564
|
+
# wallet provider for the recommended decision. Valid values are
|
|
565
|
+
# `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`,
|
|
566
|
+
# `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`,
|
|
567
|
+
# `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`,
|
|
568
|
+
# `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`,
|
|
569
|
+
# `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`,
|
|
570
|
+
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
|
|
571
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
572
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
573
|
+
attribute:,
|
|
574
|
+
# The operation to apply to the attribute
|
|
575
|
+
operation:,
|
|
576
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
577
|
+
value:
|
|
578
|
+
)
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
sig do
|
|
582
|
+
override.returns(
|
|
583
|
+
{
|
|
584
|
+
attribute:
|
|
585
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::OrSymbol,
|
|
586
|
+
operation: Lithic::AuthRules::ConditionalOperation::OrSymbol,
|
|
587
|
+
value: Lithic::AuthRules::ConditionalValue::Variants
|
|
588
|
+
}
|
|
589
|
+
)
|
|
590
|
+
end
|
|
591
|
+
def to_hash
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
# The attribute to target.
|
|
595
|
+
#
|
|
596
|
+
# The following attributes may be targeted:
|
|
597
|
+
#
|
|
598
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
599
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
600
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
601
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
602
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
603
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
604
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
605
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
606
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
607
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
608
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
609
|
+
# = medium risk).
|
|
610
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
611
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
612
|
+
# = medium risk).
|
|
613
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
614
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
615
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
616
|
+
# - `WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital
|
|
617
|
+
# wallet provider for the recommended decision. Valid values are
|
|
618
|
+
# `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`,
|
|
619
|
+
# `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`,
|
|
620
|
+
# `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`,
|
|
621
|
+
# `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`,
|
|
622
|
+
# `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`,
|
|
623
|
+
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
|
|
624
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
625
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
626
|
+
module Attribute
|
|
627
|
+
extend Lithic::Internal::Type::Enum
|
|
628
|
+
|
|
629
|
+
TaggedSymbol =
|
|
630
|
+
T.type_alias do
|
|
631
|
+
T.all(
|
|
632
|
+
Symbol,
|
|
633
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute
|
|
634
|
+
)
|
|
635
|
+
end
|
|
636
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
637
|
+
|
|
638
|
+
TIMESTAMP =
|
|
639
|
+
T.let(
|
|
640
|
+
:TIMESTAMP,
|
|
641
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
642
|
+
)
|
|
643
|
+
TOKENIZATION_CHANNEL =
|
|
644
|
+
T.let(
|
|
645
|
+
:TOKENIZATION_CHANNEL,
|
|
646
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
647
|
+
)
|
|
648
|
+
TOKENIZATION_SOURCE =
|
|
649
|
+
T.let(
|
|
650
|
+
:TOKENIZATION_SOURCE,
|
|
651
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
652
|
+
)
|
|
653
|
+
TOKEN_REQUESTOR_NAME =
|
|
654
|
+
T.let(
|
|
655
|
+
:TOKEN_REQUESTOR_NAME,
|
|
656
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
657
|
+
)
|
|
658
|
+
WALLET_ACCOUNT_SCORE =
|
|
659
|
+
T.let(
|
|
660
|
+
:WALLET_ACCOUNT_SCORE,
|
|
661
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
662
|
+
)
|
|
663
|
+
WALLET_DEVICE_SCORE =
|
|
664
|
+
T.let(
|
|
665
|
+
:WALLET_DEVICE_SCORE,
|
|
666
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
667
|
+
)
|
|
668
|
+
WALLET_RECOMMENDED_DECISION =
|
|
669
|
+
T.let(
|
|
670
|
+
:WALLET_RECOMMENDED_DECISION,
|
|
671
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
672
|
+
)
|
|
673
|
+
WALLET_RECOMMENDATION_REASONS =
|
|
674
|
+
T.let(
|
|
675
|
+
:WALLET_RECOMMENDATION_REASONS,
|
|
676
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
677
|
+
)
|
|
678
|
+
TOKEN_REQUESTOR_ID =
|
|
679
|
+
T.let(
|
|
680
|
+
:TOKEN_REQUESTOR_ID,
|
|
681
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
682
|
+
)
|
|
683
|
+
WALLET_TOKEN_STATUS =
|
|
684
|
+
T.let(
|
|
685
|
+
:WALLET_TOKEN_STATUS,
|
|
686
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
687
|
+
)
|
|
688
|
+
|
|
689
|
+
sig do
|
|
690
|
+
override.returns(
|
|
691
|
+
T::Array[
|
|
692
|
+
Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute::TaggedSymbol
|
|
693
|
+
]
|
|
694
|
+
)
|
|
695
|
+
end
|
|
696
|
+
def self.values
|
|
697
|
+
end
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
end
|
|
701
|
+
end
|
|
702
|
+
end
|
|
703
|
+
end
|