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,260 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ConditionalACHActionParameters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute action
|
|
8
|
+
# The action to take if the conditions are met
|
|
9
|
+
#
|
|
10
|
+
# @return [Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction]
|
|
11
|
+
required :action, union: -> { Lithic::AuthRules::ConditionalACHActionParameters::Action }
|
|
12
|
+
|
|
13
|
+
# @!attribute conditions
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition>]
|
|
16
|
+
required :conditions,
|
|
17
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ConditionalACHActionParameters::Condition] }
|
|
18
|
+
|
|
19
|
+
# @!method initialize(action:, conditions:)
|
|
20
|
+
# @param action [Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction] The action to take if the conditions are met
|
|
21
|
+
#
|
|
22
|
+
# @param conditions [Array<Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition>]
|
|
23
|
+
|
|
24
|
+
# The action to take if the conditions are met
|
|
25
|
+
#
|
|
26
|
+
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters#action
|
|
27
|
+
module Action
|
|
28
|
+
extend Lithic::Internal::Type::Union
|
|
29
|
+
|
|
30
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters::Action::ApproveAction }
|
|
31
|
+
|
|
32
|
+
variant -> { Lithic::AuthRules::ConditionalACHActionParameters::Action::ReturnAction }
|
|
33
|
+
|
|
34
|
+
class ApproveAction < Lithic::Internal::Type::BaseModel
|
|
35
|
+
# @!attribute type
|
|
36
|
+
# Approve the ACH transaction
|
|
37
|
+
#
|
|
38
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction::Type]
|
|
39
|
+
required :type,
|
|
40
|
+
enum: -> { Lithic::AuthRules::ConditionalACHActionParameters::Action::ApproveAction::Type }
|
|
41
|
+
|
|
42
|
+
# @!method initialize(type:)
|
|
43
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction::Type] Approve the ACH transaction
|
|
44
|
+
|
|
45
|
+
# Approve the ACH transaction
|
|
46
|
+
#
|
|
47
|
+
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction#type
|
|
48
|
+
module Type
|
|
49
|
+
extend Lithic::Internal::Type::Enum
|
|
50
|
+
|
|
51
|
+
APPROVE = :APPROVE
|
|
52
|
+
|
|
53
|
+
# @!method self.values
|
|
54
|
+
# @return [Array<Symbol>]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
class ReturnAction < Lithic::Internal::Type::BaseModel
|
|
59
|
+
# @!attribute code
|
|
60
|
+
# NACHA return code to use when returning the transaction. Note that the list of
|
|
61
|
+
# available return codes is subject to an allowlist configured at the program
|
|
62
|
+
# level
|
|
63
|
+
#
|
|
64
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Code]
|
|
65
|
+
required :code, enum: -> { Lithic::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Code }
|
|
66
|
+
|
|
67
|
+
# @!attribute type
|
|
68
|
+
# Return the ACH transaction
|
|
69
|
+
#
|
|
70
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Type]
|
|
71
|
+
required :type, enum: -> { Lithic::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Type }
|
|
72
|
+
|
|
73
|
+
# @!method initialize(code:, type:)
|
|
74
|
+
# Some parameter documentations has been truncated, see
|
|
75
|
+
# {Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction}
|
|
76
|
+
# for more details.
|
|
77
|
+
#
|
|
78
|
+
# @param code [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Code] NACHA return code to use when returning the transaction. Note that the list of a
|
|
79
|
+
#
|
|
80
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction::Type] Return the ACH transaction
|
|
81
|
+
|
|
82
|
+
# NACHA return code to use when returning the transaction. Note that the list of
|
|
83
|
+
# available return codes is subject to an allowlist configured at the program
|
|
84
|
+
# level
|
|
85
|
+
#
|
|
86
|
+
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction#code
|
|
87
|
+
module Code
|
|
88
|
+
extend Lithic::Internal::Type::Enum
|
|
89
|
+
|
|
90
|
+
R01 = :R01
|
|
91
|
+
R02 = :R02
|
|
92
|
+
R03 = :R03
|
|
93
|
+
R04 = :R04
|
|
94
|
+
R05 = :R05
|
|
95
|
+
R06 = :R06
|
|
96
|
+
R07 = :R07
|
|
97
|
+
R08 = :R08
|
|
98
|
+
R09 = :R09
|
|
99
|
+
R10 = :R10
|
|
100
|
+
R11 = :R11
|
|
101
|
+
R12 = :R12
|
|
102
|
+
R13 = :R13
|
|
103
|
+
R14 = :R14
|
|
104
|
+
R15 = :R15
|
|
105
|
+
R16 = :R16
|
|
106
|
+
R17 = :R17
|
|
107
|
+
R18 = :R18
|
|
108
|
+
R19 = :R19
|
|
109
|
+
R20 = :R20
|
|
110
|
+
R21 = :R21
|
|
111
|
+
R22 = :R22
|
|
112
|
+
R23 = :R23
|
|
113
|
+
R24 = :R24
|
|
114
|
+
R25 = :R25
|
|
115
|
+
R26 = :R26
|
|
116
|
+
R27 = :R27
|
|
117
|
+
R28 = :R28
|
|
118
|
+
R29 = :R29
|
|
119
|
+
R30 = :R30
|
|
120
|
+
R31 = :R31
|
|
121
|
+
R32 = :R32
|
|
122
|
+
R33 = :R33
|
|
123
|
+
R34 = :R34
|
|
124
|
+
R35 = :R35
|
|
125
|
+
R36 = :R36
|
|
126
|
+
R37 = :R37
|
|
127
|
+
R38 = :R38
|
|
128
|
+
R39 = :R39
|
|
129
|
+
R40 = :R40
|
|
130
|
+
R41 = :R41
|
|
131
|
+
R42 = :R42
|
|
132
|
+
R43 = :R43
|
|
133
|
+
R44 = :R44
|
|
134
|
+
R45 = :R45
|
|
135
|
+
R46 = :R46
|
|
136
|
+
R47 = :R47
|
|
137
|
+
R50 = :R50
|
|
138
|
+
R51 = :R51
|
|
139
|
+
R52 = :R52
|
|
140
|
+
R53 = :R53
|
|
141
|
+
R61 = :R61
|
|
142
|
+
R62 = :R62
|
|
143
|
+
R67 = :R67
|
|
144
|
+
R68 = :R68
|
|
145
|
+
R69 = :R69
|
|
146
|
+
R70 = :R70
|
|
147
|
+
R71 = :R71
|
|
148
|
+
R72 = :R72
|
|
149
|
+
R73 = :R73
|
|
150
|
+
R74 = :R74
|
|
151
|
+
R75 = :R75
|
|
152
|
+
R76 = :R76
|
|
153
|
+
R77 = :R77
|
|
154
|
+
R80 = :R80
|
|
155
|
+
R81 = :R81
|
|
156
|
+
R82 = :R82
|
|
157
|
+
R83 = :R83
|
|
158
|
+
R84 = :R84
|
|
159
|
+
R85 = :R85
|
|
160
|
+
|
|
161
|
+
# @!method self.values
|
|
162
|
+
# @return [Array<Symbol>]
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Return the ACH transaction
|
|
166
|
+
#
|
|
167
|
+
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction#type
|
|
168
|
+
module Type
|
|
169
|
+
extend Lithic::Internal::Type::Enum
|
|
170
|
+
|
|
171
|
+
RETURN = :RETURN
|
|
172
|
+
|
|
173
|
+
# @!method self.values
|
|
174
|
+
# @return [Array<Symbol>]
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# @!method self.variants
|
|
179
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ApproveAction, Lithic::Models::AuthRules::ConditionalACHActionParameters::Action::ReturnAction)]
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
183
|
+
# @!attribute attribute
|
|
184
|
+
# The attribute to target.
|
|
185
|
+
#
|
|
186
|
+
# The following attributes may be targeted:
|
|
187
|
+
#
|
|
188
|
+
# - `COMPANY_NAME`: The name of the company initiating the ACH transaction.
|
|
189
|
+
# - `COMPANY_ID`: The company ID (also known as Standard Entry Class (SEC) Company
|
|
190
|
+
# ID) of the entity initiating the ACH transaction.
|
|
191
|
+
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
|
|
192
|
+
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
|
|
193
|
+
# (cents).
|
|
194
|
+
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
195
|
+
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
196
|
+
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
197
|
+
# (Telephone-Initiated Entry), and others.
|
|
198
|
+
# - `MEMO`: Optional memo or description field included with the ACH transaction.
|
|
199
|
+
#
|
|
200
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition::Attribute]
|
|
201
|
+
required :attribute, enum: -> { Lithic::AuthRules::ConditionalACHActionParameters::Condition::Attribute }
|
|
202
|
+
|
|
203
|
+
# @!attribute operation
|
|
204
|
+
# The operation to apply to the attribute
|
|
205
|
+
#
|
|
206
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
207
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
208
|
+
|
|
209
|
+
# @!attribute value
|
|
210
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
211
|
+
#
|
|
212
|
+
# @return [String, Integer, Array<String>, Time]
|
|
213
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
214
|
+
|
|
215
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
216
|
+
# Some parameter documentations has been truncated, see
|
|
217
|
+
# {Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition} for more
|
|
218
|
+
# details.
|
|
219
|
+
#
|
|
220
|
+
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition::Attribute] The attribute to target.
|
|
221
|
+
#
|
|
222
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
223
|
+
#
|
|
224
|
+
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
225
|
+
|
|
226
|
+
# The attribute to target.
|
|
227
|
+
#
|
|
228
|
+
# The following attributes may be targeted:
|
|
229
|
+
#
|
|
230
|
+
# - `COMPANY_NAME`: The name of the company initiating the ACH transaction.
|
|
231
|
+
# - `COMPANY_ID`: The company ID (also known as Standard Entry Class (SEC) Company
|
|
232
|
+
# ID) of the entity initiating the ACH transaction.
|
|
233
|
+
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
|
|
234
|
+
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
|
|
235
|
+
# (cents).
|
|
236
|
+
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
|
|
237
|
+
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
|
|
238
|
+
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
|
|
239
|
+
# (Telephone-Initiated Entry), and others.
|
|
240
|
+
# - `MEMO`: Optional memo or description field included with the ACH transaction.
|
|
241
|
+
#
|
|
242
|
+
# @see Lithic::Models::AuthRules::ConditionalACHActionParameters::Condition#attribute
|
|
243
|
+
module Attribute
|
|
244
|
+
extend Lithic::Internal::Type::Enum
|
|
245
|
+
|
|
246
|
+
COMPANY_NAME = :COMPANY_NAME
|
|
247
|
+
COMPANY_ID = :COMPANY_ID
|
|
248
|
+
TIMESTAMP = :TIMESTAMP
|
|
249
|
+
TRANSACTION_AMOUNT = :TRANSACTION_AMOUNT
|
|
250
|
+
SEC_CODE = :SEC_CODE
|
|
251
|
+
MEMO = :MEMO
|
|
252
|
+
|
|
253
|
+
# @!method self.values
|
|
254
|
+
# @return [Array<Symbol>]
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
end
|
|
@@ -91,34 +91,32 @@ module Lithic
|
|
|
91
91
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
92
92
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
93
93
|
#
|
|
94
|
-
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute
|
|
95
|
-
|
|
94
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute]
|
|
95
|
+
required :attribute,
|
|
96
96
|
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute }
|
|
97
97
|
|
|
98
98
|
# @!attribute operation
|
|
99
99
|
# The operation to apply to the attribute
|
|
100
100
|
#
|
|
101
|
-
# @return [Symbol, Lithic::Models::AuthRules::
|
|
102
|
-
|
|
103
|
-
enum: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Operation }
|
|
101
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
102
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
104
103
|
|
|
105
104
|
# @!attribute value
|
|
106
105
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
107
106
|
#
|
|
108
|
-
# @return [String, Integer, Array<String>,
|
|
109
|
-
|
|
110
|
-
union: -> { Lithic::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value }
|
|
107
|
+
# @return [String, Integer, Array<String>, Time]
|
|
108
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
111
109
|
|
|
112
|
-
# @!method initialize(attribute
|
|
110
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
113
111
|
# Some parameter documentations has been truncated, see
|
|
114
112
|
# {Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition}
|
|
115
113
|
# for more details.
|
|
116
114
|
#
|
|
117
115
|
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Attribute] The attribute to target.
|
|
118
116
|
#
|
|
119
|
-
# @param operation [Symbol, Lithic::Models::AuthRules::
|
|
117
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
120
118
|
#
|
|
121
|
-
# @param value [String, Integer, Array<String
|
|
119
|
+
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
122
120
|
|
|
123
121
|
# The attribute to target.
|
|
124
122
|
#
|
|
@@ -202,49 +200,6 @@ module Lithic
|
|
|
202
200
|
# @!method self.values
|
|
203
201
|
# @return [Array<Symbol>]
|
|
204
202
|
end
|
|
205
|
-
|
|
206
|
-
# The operation to apply to the attribute
|
|
207
|
-
#
|
|
208
|
-
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition#operation
|
|
209
|
-
module Operation
|
|
210
|
-
extend Lithic::Internal::Type::Enum
|
|
211
|
-
|
|
212
|
-
IS_ONE_OF = :IS_ONE_OF
|
|
213
|
-
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
|
214
|
-
MATCHES = :MATCHES
|
|
215
|
-
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
|
216
|
-
IS_EQUAL_TO = :IS_EQUAL_TO
|
|
217
|
-
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
|
218
|
-
IS_GREATER_THAN = :IS_GREATER_THAN
|
|
219
|
-
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
|
220
|
-
IS_LESS_THAN = :IS_LESS_THAN
|
|
221
|
-
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
|
222
|
-
|
|
223
|
-
# @!method self.values
|
|
224
|
-
# @return [Array<Symbol>]
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
228
|
-
#
|
|
229
|
-
# @see Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition#value
|
|
230
|
-
module Value
|
|
231
|
-
extend Lithic::Internal::Type::Union
|
|
232
|
-
|
|
233
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
234
|
-
variant String
|
|
235
|
-
|
|
236
|
-
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
|
237
|
-
variant Integer
|
|
238
|
-
|
|
239
|
-
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
|
240
|
-
variant -> { Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters::Condition::Value::StringArray }
|
|
241
|
-
|
|
242
|
-
# @!method self.variants
|
|
243
|
-
# @return [Array(String, Integer, Array<String>)]
|
|
244
|
-
|
|
245
|
-
# @type [Lithic::Internal::Type::Converter]
|
|
246
|
-
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
|
247
|
-
end
|
|
248
203
|
end
|
|
249
204
|
end
|
|
250
205
|
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
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
|
+
IS_ONE_OF = :IS_ONE_OF
|
|
11
|
+
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
|
12
|
+
MATCHES = :MATCHES
|
|
13
|
+
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
|
14
|
+
IS_EQUAL_TO = :IS_EQUAL_TO
|
|
15
|
+
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
|
16
|
+
IS_GREATER_THAN = :IS_GREATER_THAN
|
|
17
|
+
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
|
18
|
+
IS_LESS_THAN = :IS_LESS_THAN
|
|
19
|
+
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
|
20
|
+
IS_AFTER = :IS_AFTER
|
|
21
|
+
IS_BEFORE = :IS_BEFORE
|
|
22
|
+
CONTAINS_ANY = :CONTAINS_ANY
|
|
23
|
+
CONTAINS_ALL = :CONTAINS_ALL
|
|
24
|
+
CONTAINS_NONE = :CONTAINS_NONE
|
|
25
|
+
|
|
26
|
+
# @!method self.values
|
|
27
|
+
# @return [Array<Symbol>]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module AuthRules
|
|
6
|
+
class ConditionalTokenizationActionParameters < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute action
|
|
8
|
+
# The action to take if the conditions are met
|
|
9
|
+
#
|
|
10
|
+
# @return [Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction]
|
|
11
|
+
required :action, union: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action }
|
|
12
|
+
|
|
13
|
+
# @!attribute conditions
|
|
14
|
+
#
|
|
15
|
+
# @return [Array<Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition>]
|
|
16
|
+
required :conditions,
|
|
17
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition] }
|
|
18
|
+
|
|
19
|
+
# @!method initialize(action:, conditions:)
|
|
20
|
+
# @param action [Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction] The action to take if the conditions are met
|
|
21
|
+
#
|
|
22
|
+
# @param conditions [Array<Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition>]
|
|
23
|
+
|
|
24
|
+
# The action to take if the conditions are met
|
|
25
|
+
#
|
|
26
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters#action
|
|
27
|
+
module Action
|
|
28
|
+
extend Lithic::Internal::Type::Union
|
|
29
|
+
|
|
30
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction }
|
|
31
|
+
|
|
32
|
+
variant -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction }
|
|
33
|
+
|
|
34
|
+
class DeclineAction < Lithic::Internal::Type::BaseModel
|
|
35
|
+
# @!attribute type
|
|
36
|
+
# Decline the tokenization request
|
|
37
|
+
#
|
|
38
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type]
|
|
39
|
+
required :type,
|
|
40
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type }
|
|
41
|
+
|
|
42
|
+
# @!attribute reason
|
|
43
|
+
# Reason code for declining the tokenization request
|
|
44
|
+
#
|
|
45
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason, nil]
|
|
46
|
+
optional :reason,
|
|
47
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason }
|
|
48
|
+
|
|
49
|
+
# @!method initialize(type:, reason: nil)
|
|
50
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Type] Decline the tokenization request
|
|
51
|
+
#
|
|
52
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction::Reason] Reason code for declining the tokenization request
|
|
53
|
+
|
|
54
|
+
# Decline the tokenization request
|
|
55
|
+
#
|
|
56
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction#type
|
|
57
|
+
module Type
|
|
58
|
+
extend Lithic::Internal::Type::Enum
|
|
59
|
+
|
|
60
|
+
DECLINE = :DECLINE
|
|
61
|
+
|
|
62
|
+
# @!method self.values
|
|
63
|
+
# @return [Array<Symbol>]
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Reason code for declining the tokenization request
|
|
67
|
+
#
|
|
68
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction#reason
|
|
69
|
+
module Reason
|
|
70
|
+
extend Lithic::Internal::Type::Enum
|
|
71
|
+
|
|
72
|
+
ACCOUNT_SCORE_1 = :ACCOUNT_SCORE_1
|
|
73
|
+
DEVICE_SCORE_1 = :DEVICE_SCORE_1
|
|
74
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT = :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
75
|
+
WALLET_RECOMMENDED_DECISION_RED = :WALLET_RECOMMENDED_DECISION_RED
|
|
76
|
+
CVC_MISMATCH = :CVC_MISMATCH
|
|
77
|
+
CARD_EXPIRY_MONTH_MISMATCH = :CARD_EXPIRY_MONTH_MISMATCH
|
|
78
|
+
CARD_EXPIRY_YEAR_MISMATCH = :CARD_EXPIRY_YEAR_MISMATCH
|
|
79
|
+
CARD_INVALID_STATE = :CARD_INVALID_STATE
|
|
80
|
+
CUSTOMER_RED_PATH = :CUSTOMER_RED_PATH
|
|
81
|
+
INVALID_CUSTOMER_RESPONSE = :INVALID_CUSTOMER_RESPONSE
|
|
82
|
+
NETWORK_FAILURE = :NETWORK_FAILURE
|
|
83
|
+
GENERIC_DECLINE = :GENERIC_DECLINE
|
|
84
|
+
DIGITAL_CARD_ART_REQUIRED = :DIGITAL_CARD_ART_REQUIRED
|
|
85
|
+
|
|
86
|
+
# @!method self.values
|
|
87
|
+
# @return [Array<Symbol>]
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class RequireTfaAction < Lithic::Internal::Type::BaseModel
|
|
92
|
+
# @!attribute type
|
|
93
|
+
# Require two-factor authentication for the tokenization request
|
|
94
|
+
#
|
|
95
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type]
|
|
96
|
+
required :type,
|
|
97
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type }
|
|
98
|
+
|
|
99
|
+
# @!attribute reason
|
|
100
|
+
# Reason code for requiring two-factor authentication
|
|
101
|
+
#
|
|
102
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason, nil]
|
|
103
|
+
optional :reason,
|
|
104
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason }
|
|
105
|
+
|
|
106
|
+
# @!method initialize(type:, reason: nil)
|
|
107
|
+
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Type] Require two-factor authentication for the tokenization request
|
|
108
|
+
#
|
|
109
|
+
# @param reason [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction::Reason] Reason code for requiring two-factor authentication
|
|
110
|
+
|
|
111
|
+
# Require two-factor authentication for the tokenization request
|
|
112
|
+
#
|
|
113
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction#type
|
|
114
|
+
module Type
|
|
115
|
+
extend Lithic::Internal::Type::Enum
|
|
116
|
+
|
|
117
|
+
REQUIRE_TFA = :REQUIRE_TFA
|
|
118
|
+
|
|
119
|
+
# @!method self.values
|
|
120
|
+
# @return [Array<Symbol>]
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Reason code for requiring two-factor authentication
|
|
124
|
+
#
|
|
125
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction#reason
|
|
126
|
+
module Reason
|
|
127
|
+
extend Lithic::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
WALLET_RECOMMENDED_TFA = :WALLET_RECOMMENDED_TFA
|
|
130
|
+
SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
|
|
131
|
+
DEVICE_RECENTLY_LOST = :DEVICE_RECENTLY_LOST
|
|
132
|
+
TOO_MANY_RECENT_ATTEMPTS = :TOO_MANY_RECENT_ATTEMPTS
|
|
133
|
+
TOO_MANY_RECENT_TOKENS = :TOO_MANY_RECENT_TOKENS
|
|
134
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS = :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
135
|
+
OUTSIDE_HOME_TERRITORY = :OUTSIDE_HOME_TERRITORY
|
|
136
|
+
HAS_SUSPENDED_TOKENS = :HAS_SUSPENDED_TOKENS
|
|
137
|
+
HIGH_RISK = :HIGH_RISK
|
|
138
|
+
ACCOUNT_SCORE_LOW = :ACCOUNT_SCORE_LOW
|
|
139
|
+
DEVICE_SCORE_LOW = :DEVICE_SCORE_LOW
|
|
140
|
+
CARD_STATE_TFA = :CARD_STATE_TFA
|
|
141
|
+
HARDCODED_TFA = :HARDCODED_TFA
|
|
142
|
+
CUSTOMER_RULE_TFA = :CUSTOMER_RULE_TFA
|
|
143
|
+
DEVICE_HOST_CARD_EMULATION = :DEVICE_HOST_CARD_EMULATION
|
|
144
|
+
|
|
145
|
+
# @!method self.values
|
|
146
|
+
# @return [Array<Symbol>]
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# @!method self.variants
|
|
151
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::DeclineAction, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Action::RequireTfaAction)]
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
class Condition < Lithic::Internal::Type::BaseModel
|
|
155
|
+
# @!attribute attribute
|
|
156
|
+
# The attribute to target.
|
|
157
|
+
#
|
|
158
|
+
# The following attributes may be targeted:
|
|
159
|
+
#
|
|
160
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
161
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
162
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
163
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
164
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
165
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
166
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
167
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
168
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
169
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
170
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
171
|
+
# = medium risk).
|
|
172
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
173
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
174
|
+
# = medium risk).
|
|
175
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
176
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
177
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
178
|
+
# - `WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital
|
|
179
|
+
# wallet provider for the recommended decision. Valid values are
|
|
180
|
+
# `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`,
|
|
181
|
+
# `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`,
|
|
182
|
+
# `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`,
|
|
183
|
+
# `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`,
|
|
184
|
+
# `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`,
|
|
185
|
+
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
|
|
186
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
187
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
188
|
+
#
|
|
189
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute]
|
|
190
|
+
required :attribute,
|
|
191
|
+
enum: -> { Lithic::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute }
|
|
192
|
+
|
|
193
|
+
# @!attribute operation
|
|
194
|
+
# The operation to apply to the attribute
|
|
195
|
+
#
|
|
196
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
197
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
198
|
+
|
|
199
|
+
# @!attribute value
|
|
200
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
201
|
+
#
|
|
202
|
+
# @return [String, Integer, Array<String>, Time]
|
|
203
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
204
|
+
|
|
205
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
206
|
+
# Some parameter documentations has been truncated, see
|
|
207
|
+
# {Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition}
|
|
208
|
+
# for more details.
|
|
209
|
+
#
|
|
210
|
+
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition::Attribute] The attribute to target.
|
|
211
|
+
#
|
|
212
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
213
|
+
#
|
|
214
|
+
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
215
|
+
|
|
216
|
+
# The attribute to target.
|
|
217
|
+
#
|
|
218
|
+
# The following attributes may be targeted:
|
|
219
|
+
#
|
|
220
|
+
# - `TIMESTAMP`: The timestamp of the tokenization request in ISO 8601 format.
|
|
221
|
+
# - `TOKENIZATION_CHANNEL`: The channel through which the tokenization request was
|
|
222
|
+
# initiated (e.g., DIGITAL_WALLET, ECOMMERCE).
|
|
223
|
+
# - `TOKENIZATION_SOURCE`: The source of the tokenization request.
|
|
224
|
+
# - `TOKEN_REQUESTOR_NAME`: The name of the entity requesting the token. Valid
|
|
225
|
+
# values are `ALT_ID`, `AMAZON_ONE`, `AMERICAN_EXPRESS_TOKEN_SERVICE`,
|
|
226
|
+
# `ANDROID_PAY`, `APPLE_PAY`, `FACEBOOK`, `FITBIT_PAY`, `GARMIN_PAY`,
|
|
227
|
+
# `GOOGLE_PAY`, `GOOGLE_VCN`, `ISSUER_HCE`, `MICROSOFT_PAY`, `NETFLIX`,
|
|
228
|
+
# `SAMSUNG_PAY`, `UNKNOWN`, `VISA_CHECKOUT`.
|
|
229
|
+
# - `WALLET_ACCOUNT_SCORE`: Risk score for the account in the digital wallet.
|
|
230
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
231
|
+
# = medium risk).
|
|
232
|
+
# - `WALLET_DEVICE_SCORE`: Risk score for the device in the digital wallet.
|
|
233
|
+
# Numeric value where lower numbers indicate higher risk (e.g., 1 = high risk, 2
|
|
234
|
+
# = medium risk).
|
|
235
|
+
# - `WALLET_RECOMMENDED_DECISION`: The decision recommended by the digital wallet
|
|
236
|
+
# provider. Valid values include APPROVE, DECLINE,
|
|
237
|
+
# REQUIRE_ADDITIONAL_AUTHENTICATION.
|
|
238
|
+
# - `WALLET_RECOMMENDATION_REASONS`: List of reasons provided by the digital
|
|
239
|
+
# wallet provider for the recommended decision. Valid values are
|
|
240
|
+
# `ACCOUNT_CARD_TOO_NEW`, `ACCOUNT_RECENTLY_CHANGED`, `ACCOUNT_TOO_NEW`,
|
|
241
|
+
# `ACCOUNT_TOO_NEW_SINCE_LAUNCH`, `DEVICE_RECENTLY_LOST`,
|
|
242
|
+
# `HAS_SUSPENDED_TOKENS`, `HIGH_RISK`, `INACTIVE_ACCOUNT`, `LOW_ACCOUNT_SCORE`,
|
|
243
|
+
# `LOW_DEVICE_SCORE`, `OUTSIDE_HOME_TERRITORY`, `SUSPICIOUS_ACTIVITY`,
|
|
244
|
+
# `TOO_MANY_DIFFERENT_CARDHOLDERS`, `TOO_MANY_RECENT_ATTEMPTS`,
|
|
245
|
+
# `TOO_MANY_RECENT_TOKENS`, `UNABLE_TO_ASSESS`.
|
|
246
|
+
# - `TOKEN_REQUESTOR_ID`: Unique identifier for the entity requesting the token.
|
|
247
|
+
# - `WALLET_TOKEN_STATUS`: The current status of the wallet token.
|
|
248
|
+
#
|
|
249
|
+
# @see Lithic::Models::AuthRules::ConditionalTokenizationActionParameters::Condition#attribute
|
|
250
|
+
module Attribute
|
|
251
|
+
extend Lithic::Internal::Type::Enum
|
|
252
|
+
|
|
253
|
+
TIMESTAMP = :TIMESTAMP
|
|
254
|
+
TOKENIZATION_CHANNEL = :TOKENIZATION_CHANNEL
|
|
255
|
+
TOKENIZATION_SOURCE = :TOKENIZATION_SOURCE
|
|
256
|
+
TOKEN_REQUESTOR_NAME = :TOKEN_REQUESTOR_NAME
|
|
257
|
+
WALLET_ACCOUNT_SCORE = :WALLET_ACCOUNT_SCORE
|
|
258
|
+
WALLET_DEVICE_SCORE = :WALLET_DEVICE_SCORE
|
|
259
|
+
WALLET_RECOMMENDED_DECISION = :WALLET_RECOMMENDED_DECISION
|
|
260
|
+
WALLET_RECOMMENDATION_REASONS = :WALLET_RECOMMENDATION_REASONS
|
|
261
|
+
TOKEN_REQUESTOR_ID = :TOKEN_REQUESTOR_ID
|
|
262
|
+
WALLET_TOKEN_STATUS = :WALLET_TOKEN_STATUS
|
|
263
|
+
|
|
264
|
+
# @!method self.values
|
|
265
|
+
# @return [Array<Symbol>]
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
end
|