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,36 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type token_info = { wallet_type: Lithic::Models::TokenInfo::wallet_type }
|
|
4
|
+
|
|
5
|
+
class TokenInfo < Lithic::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor wallet_type: Lithic::Models::TokenInfo::wallet_type
|
|
7
|
+
|
|
8
|
+
def initialize: (
|
|
9
|
+
wallet_type: Lithic::Models::TokenInfo::wallet_type
|
|
10
|
+
) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { wallet_type: Lithic::Models::TokenInfo::wallet_type }
|
|
13
|
+
|
|
14
|
+
type wallet_type =
|
|
15
|
+
:APPLE_PAY
|
|
16
|
+
| :GOOGLE_PAY
|
|
17
|
+
| :MASTERPASS
|
|
18
|
+
| :MERCHANT
|
|
19
|
+
| :OTHER
|
|
20
|
+
| :SAMSUNG_PAY
|
|
21
|
+
|
|
22
|
+
module WalletType
|
|
23
|
+
extend Lithic::Internal::Type::Enum
|
|
24
|
+
|
|
25
|
+
APPLE_PAY: :APPLE_PAY
|
|
26
|
+
GOOGLE_PAY: :GOOGLE_PAY
|
|
27
|
+
MASTERPASS: :MASTERPASS
|
|
28
|
+
MERCHANT: :MERCHANT
|
|
29
|
+
OTHER: :OTHER
|
|
30
|
+
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
31
|
+
|
|
32
|
+
def self?.values: -> ::Array[Lithic::Models::TokenInfo::wallet_type]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -158,9 +158,9 @@ module Lithic
|
|
|
158
158
|
token: String,
|
|
159
159
|
created_at: Time,
|
|
160
160
|
result: Lithic::Models::Tokenization::Event::result,
|
|
161
|
-
rule_results: ::Array[Lithic::
|
|
162
|
-
tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
163
|
-
tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
161
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
162
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
163
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
164
164
|
type: Lithic::Models::Tokenization::Event::type_
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -179,23 +179,23 @@ module Lithic
|
|
|
179
179
|
Lithic::Models::Tokenization::Event::result
|
|
180
180
|
) -> Lithic::Models::Tokenization::Event::result
|
|
181
181
|
|
|
182
|
-
attr_reader rule_results: ::Array[Lithic::
|
|
182
|
+
attr_reader rule_results: ::Array[Lithic::TokenizationRuleResult]?
|
|
183
183
|
|
|
184
184
|
def rule_results=: (
|
|
185
|
-
::Array[Lithic::
|
|
186
|
-
) -> ::Array[Lithic::
|
|
185
|
+
::Array[Lithic::TokenizationRuleResult]
|
|
186
|
+
) -> ::Array[Lithic::TokenizationRuleResult]
|
|
187
187
|
|
|
188
|
-
attr_reader tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
188
|
+
attr_reader tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason]?
|
|
189
189
|
|
|
190
190
|
def tokenization_decline_reasons=: (
|
|
191
|
-
::Array[Lithic::Models::
|
|
192
|
-
) -> ::Array[Lithic::Models::
|
|
191
|
+
::Array[Lithic::Models::tokenization_decline_reason]
|
|
192
|
+
) -> ::Array[Lithic::Models::tokenization_decline_reason]
|
|
193
193
|
|
|
194
|
-
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
194
|
+
attr_reader tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason]?
|
|
195
195
|
|
|
196
196
|
def tokenization_tfa_reasons=: (
|
|
197
|
-
::Array[Lithic::Models::
|
|
198
|
-
) -> ::Array[Lithic::Models::
|
|
197
|
+
::Array[Lithic::Models::tokenization_tfa_reason]
|
|
198
|
+
) -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
199
199
|
|
|
200
200
|
attr_reader type: Lithic::Models::Tokenization::Event::type_?
|
|
201
201
|
|
|
@@ -207,9 +207,9 @@ module Lithic
|
|
|
207
207
|
?token: String,
|
|
208
208
|
?created_at: Time,
|
|
209
209
|
?result: Lithic::Models::Tokenization::Event::result,
|
|
210
|
-
?rule_results: ::Array[Lithic::
|
|
211
|
-
?tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
212
|
-
?tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
210
|
+
?rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
211
|
+
?tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
212
|
+
?tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
213
213
|
?type: Lithic::Models::Tokenization::Event::type_
|
|
214
214
|
) -> void
|
|
215
215
|
|
|
@@ -217,9 +217,9 @@ module Lithic
|
|
|
217
217
|
token: String,
|
|
218
218
|
created_at: Time,
|
|
219
219
|
result: Lithic::Models::Tokenization::Event::result,
|
|
220
|
-
rule_results: ::Array[Lithic::
|
|
221
|
-
tokenization_decline_reasons: ::Array[Lithic::Models::
|
|
222
|
-
tokenization_tfa_reasons: ::Array[Lithic::Models::
|
|
220
|
+
rule_results: ::Array[Lithic::TokenizationRuleResult],
|
|
221
|
+
tokenization_decline_reasons: ::Array[Lithic::Models::tokenization_decline_reason],
|
|
222
|
+
tokenization_tfa_reasons: ::Array[Lithic::Models::tokenization_tfa_reason],
|
|
223
223
|
type: Lithic::Models::Tokenization::Event::type_
|
|
224
224
|
}
|
|
225
225
|
|
|
@@ -256,125 +256,6 @@ module Lithic
|
|
|
256
256
|
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::result]
|
|
257
257
|
end
|
|
258
258
|
|
|
259
|
-
type rule_result =
|
|
260
|
-
{
|
|
261
|
-
auth_rule_token: String?,
|
|
262
|
-
explanation: String?,
|
|
263
|
-
name: String?,
|
|
264
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
class RuleResult < Lithic::Internal::Type::BaseModel
|
|
268
|
-
attr_accessor auth_rule_token: String?
|
|
269
|
-
|
|
270
|
-
attr_accessor explanation: String?
|
|
271
|
-
|
|
272
|
-
attr_accessor name: String?
|
|
273
|
-
|
|
274
|
-
attr_accessor result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
275
|
-
|
|
276
|
-
def initialize: (
|
|
277
|
-
auth_rule_token: String?,
|
|
278
|
-
explanation: String?,
|
|
279
|
-
name: String?,
|
|
280
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
281
|
-
) -> void
|
|
282
|
-
|
|
283
|
-
def to_hash: -> {
|
|
284
|
-
auth_rule_token: String?,
|
|
285
|
-
explanation: String?,
|
|
286
|
-
name: String?,
|
|
287
|
-
result: Lithic::Models::Tokenization::Event::RuleResult::result
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
type result = :APPROVED | :DECLINED | :REQUIRE_TFA | :ERROR
|
|
291
|
-
|
|
292
|
-
module Result
|
|
293
|
-
extend Lithic::Internal::Type::Enum
|
|
294
|
-
|
|
295
|
-
APPROVED: :APPROVED
|
|
296
|
-
DECLINED: :DECLINED
|
|
297
|
-
REQUIRE_TFA: :REQUIRE_TFA
|
|
298
|
-
ERROR: :ERROR
|
|
299
|
-
|
|
300
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::RuleResult::result]
|
|
301
|
-
end
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
type tokenization_decline_reason =
|
|
305
|
-
:ACCOUNT_SCORE_1
|
|
306
|
-
| :DEVICE_SCORE_1
|
|
307
|
-
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
308
|
-
| :WALLET_RECOMMENDED_DECISION_RED
|
|
309
|
-
| :CVC_MISMATCH
|
|
310
|
-
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
311
|
-
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
312
|
-
| :CARD_INVALID_STATE
|
|
313
|
-
| :CUSTOMER_RED_PATH
|
|
314
|
-
| :INVALID_CUSTOMER_RESPONSE
|
|
315
|
-
| :NETWORK_FAILURE
|
|
316
|
-
| :GENERIC_DECLINE
|
|
317
|
-
| :DIGITAL_CARD_ART_REQUIRED
|
|
318
|
-
|
|
319
|
-
module TokenizationDeclineReason
|
|
320
|
-
extend Lithic::Internal::Type::Enum
|
|
321
|
-
|
|
322
|
-
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
323
|
-
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
324
|
-
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
325
|
-
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
326
|
-
CVC_MISMATCH: :CVC_MISMATCH
|
|
327
|
-
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
328
|
-
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
329
|
-
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
330
|
-
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
331
|
-
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
332
|
-
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
333
|
-
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
334
|
-
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
|
|
335
|
-
|
|
336
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::tokenization_decline_reason]
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
type tokenization_tfa_reason =
|
|
340
|
-
:WALLET_RECOMMENDED_TFA
|
|
341
|
-
| :SUSPICIOUS_ACTIVITY
|
|
342
|
-
| :DEVICE_RECENTLY_LOST
|
|
343
|
-
| :TOO_MANY_RECENT_ATTEMPTS
|
|
344
|
-
| :TOO_MANY_RECENT_TOKENS
|
|
345
|
-
| :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
346
|
-
| :OUTSIDE_HOME_TERRITORY
|
|
347
|
-
| :HAS_SUSPENDED_TOKENS
|
|
348
|
-
| :HIGH_RISK
|
|
349
|
-
| :ACCOUNT_SCORE_LOW
|
|
350
|
-
| :DEVICE_SCORE_LOW
|
|
351
|
-
| :CARD_STATE_TFA
|
|
352
|
-
| :HARDCODED_TFA
|
|
353
|
-
| :CUSTOMER_RULE_TFA
|
|
354
|
-
| :DEVICE_HOST_CARD_EMULATION
|
|
355
|
-
|
|
356
|
-
module TokenizationTfaReason
|
|
357
|
-
extend Lithic::Internal::Type::Enum
|
|
358
|
-
|
|
359
|
-
WALLET_RECOMMENDED_TFA: :WALLET_RECOMMENDED_TFA
|
|
360
|
-
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
|
361
|
-
DEVICE_RECENTLY_LOST: :DEVICE_RECENTLY_LOST
|
|
362
|
-
TOO_MANY_RECENT_ATTEMPTS: :TOO_MANY_RECENT_ATTEMPTS
|
|
363
|
-
TOO_MANY_RECENT_TOKENS: :TOO_MANY_RECENT_TOKENS
|
|
364
|
-
TOO_MANY_DIFFERENT_CARDHOLDERS: :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
365
|
-
OUTSIDE_HOME_TERRITORY: :OUTSIDE_HOME_TERRITORY
|
|
366
|
-
HAS_SUSPENDED_TOKENS: :HAS_SUSPENDED_TOKENS
|
|
367
|
-
HIGH_RISK: :HIGH_RISK
|
|
368
|
-
ACCOUNT_SCORE_LOW: :ACCOUNT_SCORE_LOW
|
|
369
|
-
DEVICE_SCORE_LOW: :DEVICE_SCORE_LOW
|
|
370
|
-
CARD_STATE_TFA: :CARD_STATE_TFA
|
|
371
|
-
HARDCODED_TFA: :HARDCODED_TFA
|
|
372
|
-
CUSTOMER_RULE_TFA: :CUSTOMER_RULE_TFA
|
|
373
|
-
DEVICE_HOST_CARD_EMULATION: :DEVICE_HOST_CARD_EMULATION
|
|
374
|
-
|
|
375
|
-
def self?.values: -> ::Array[Lithic::Models::Tokenization::Event::tokenization_tfa_reason]
|
|
376
|
-
end
|
|
377
|
-
|
|
378
259
|
type type_ =
|
|
379
260
|
:TOKENIZATION_2FA
|
|
380
261
|
| :TOKENIZATION_AUTHORIZATION
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_decline_reason =
|
|
4
|
+
:ACCOUNT_SCORE_1
|
|
5
|
+
| :DEVICE_SCORE_1
|
|
6
|
+
| :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
7
|
+
| :WALLET_RECOMMENDED_DECISION_RED
|
|
8
|
+
| :CVC_MISMATCH
|
|
9
|
+
| :CARD_EXPIRY_MONTH_MISMATCH
|
|
10
|
+
| :CARD_EXPIRY_YEAR_MISMATCH
|
|
11
|
+
| :CARD_INVALID_STATE
|
|
12
|
+
| :CUSTOMER_RED_PATH
|
|
13
|
+
| :INVALID_CUSTOMER_RESPONSE
|
|
14
|
+
| :NETWORK_FAILURE
|
|
15
|
+
| :GENERIC_DECLINE
|
|
16
|
+
| :DIGITAL_CARD_ART_REQUIRED
|
|
17
|
+
|
|
18
|
+
module TokenizationDeclineReason
|
|
19
|
+
extend Lithic::Internal::Type::Enum
|
|
20
|
+
|
|
21
|
+
ACCOUNT_SCORE_1: :ACCOUNT_SCORE_1
|
|
22
|
+
DEVICE_SCORE_1: :DEVICE_SCORE_1
|
|
23
|
+
ALL_WALLET_DECLINE_REASONS_PRESENT: :ALL_WALLET_DECLINE_REASONS_PRESENT
|
|
24
|
+
WALLET_RECOMMENDED_DECISION_RED: :WALLET_RECOMMENDED_DECISION_RED
|
|
25
|
+
CVC_MISMATCH: :CVC_MISMATCH
|
|
26
|
+
CARD_EXPIRY_MONTH_MISMATCH: :CARD_EXPIRY_MONTH_MISMATCH
|
|
27
|
+
CARD_EXPIRY_YEAR_MISMATCH: :CARD_EXPIRY_YEAR_MISMATCH
|
|
28
|
+
CARD_INVALID_STATE: :CARD_INVALID_STATE
|
|
29
|
+
CUSTOMER_RED_PATH: :CUSTOMER_RED_PATH
|
|
30
|
+
INVALID_CUSTOMER_RESPONSE: :INVALID_CUSTOMER_RESPONSE
|
|
31
|
+
NETWORK_FAILURE: :NETWORK_FAILURE
|
|
32
|
+
GENERIC_DECLINE: :GENERIC_DECLINE
|
|
33
|
+
DIGITAL_CARD_ART_REQUIRED: :DIGITAL_CARD_ART_REQUIRED
|
|
34
|
+
|
|
35
|
+
def self?.values: -> ::Array[Lithic::Models::tokenization_decline_reason]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_rule_result =
|
|
4
|
+
{
|
|
5
|
+
auth_rule_token: String?,
|
|
6
|
+
explanation: String?,
|
|
7
|
+
name: String?,
|
|
8
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class TokenizationRuleResult < Lithic::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor auth_rule_token: String?
|
|
13
|
+
|
|
14
|
+
attr_accessor explanation: String?
|
|
15
|
+
|
|
16
|
+
attr_accessor name: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor result: Lithic::Models::TokenizationRuleResult::result
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
auth_rule_token: String?,
|
|
22
|
+
explanation: String?,
|
|
23
|
+
name: String?,
|
|
24
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
auth_rule_token: String?,
|
|
29
|
+
explanation: String?,
|
|
30
|
+
name: String?,
|
|
31
|
+
result: Lithic::Models::TokenizationRuleResult::result
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type result = :APPROVED | :DECLINED | :REQUIRE_TFA | :ERROR
|
|
35
|
+
|
|
36
|
+
module Result
|
|
37
|
+
extend Lithic::Internal::Type::Enum
|
|
38
|
+
|
|
39
|
+
APPROVED: :APPROVED
|
|
40
|
+
DECLINED: :DECLINED
|
|
41
|
+
REQUIRE_TFA: :REQUIRE_TFA
|
|
42
|
+
ERROR: :ERROR
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Lithic::Models::TokenizationRuleResult::result]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type tokenization_tfa_reason =
|
|
4
|
+
:WALLET_RECOMMENDED_TFA
|
|
5
|
+
| :SUSPICIOUS_ACTIVITY
|
|
6
|
+
| :DEVICE_RECENTLY_LOST
|
|
7
|
+
| :TOO_MANY_RECENT_ATTEMPTS
|
|
8
|
+
| :TOO_MANY_RECENT_TOKENS
|
|
9
|
+
| :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
10
|
+
| :OUTSIDE_HOME_TERRITORY
|
|
11
|
+
| :HAS_SUSPENDED_TOKENS
|
|
12
|
+
| :HIGH_RISK
|
|
13
|
+
| :ACCOUNT_SCORE_LOW
|
|
14
|
+
| :DEVICE_SCORE_LOW
|
|
15
|
+
| :CARD_STATE_TFA
|
|
16
|
+
| :HARDCODED_TFA
|
|
17
|
+
| :CUSTOMER_RULE_TFA
|
|
18
|
+
| :DEVICE_HOST_CARD_EMULATION
|
|
19
|
+
|
|
20
|
+
module TokenizationTfaReason
|
|
21
|
+
extend Lithic::Internal::Type::Enum
|
|
22
|
+
|
|
23
|
+
WALLET_RECOMMENDED_TFA: :WALLET_RECOMMENDED_TFA
|
|
24
|
+
SUSPICIOUS_ACTIVITY: :SUSPICIOUS_ACTIVITY
|
|
25
|
+
DEVICE_RECENTLY_LOST: :DEVICE_RECENTLY_LOST
|
|
26
|
+
TOO_MANY_RECENT_ATTEMPTS: :TOO_MANY_RECENT_ATTEMPTS
|
|
27
|
+
TOO_MANY_RECENT_TOKENS: :TOO_MANY_RECENT_TOKENS
|
|
28
|
+
TOO_MANY_DIFFERENT_CARDHOLDERS: :TOO_MANY_DIFFERENT_CARDHOLDERS
|
|
29
|
+
OUTSIDE_HOME_TERRITORY: :OUTSIDE_HOME_TERRITORY
|
|
30
|
+
HAS_SUSPENDED_TOKENS: :HAS_SUSPENDED_TOKENS
|
|
31
|
+
HIGH_RISK: :HIGH_RISK
|
|
32
|
+
ACCOUNT_SCORE_LOW: :ACCOUNT_SCORE_LOW
|
|
33
|
+
DEVICE_SCORE_LOW: :DEVICE_SCORE_LOW
|
|
34
|
+
CARD_STATE_TFA: :CARD_STATE_TFA
|
|
35
|
+
HARDCODED_TFA: :HARDCODED_TFA
|
|
36
|
+
CUSTOMER_RULE_TFA: :CUSTOMER_RULE_TFA
|
|
37
|
+
DEVICE_HOST_CARD_EMULATION: :DEVICE_HOST_CARD_EMULATION
|
|
38
|
+
|
|
39
|
+
def self?.values: -> ::Array[Lithic::Models::tokenization_tfa_reason]
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -12,10 +12,10 @@ module Lithic
|
|
|
12
12
|
authorization_code: String?,
|
|
13
13
|
avs: Lithic::Transaction::Avs?,
|
|
14
14
|
card_token: String,
|
|
15
|
-
cardholder_authentication: Lithic::
|
|
15
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
16
16
|
created: Time,
|
|
17
17
|
financial_account_token: String?,
|
|
18
|
-
merchant: Lithic::
|
|
18
|
+
merchant: Lithic::Merchant,
|
|
19
19
|
merchant_amount: Integer?,
|
|
20
20
|
merchant_authorization_amount: Integer?,
|
|
21
21
|
merchant_currency: String,
|
|
@@ -25,7 +25,7 @@ module Lithic
|
|
|
25
25
|
result: Lithic::Models::Transaction::result,
|
|
26
26
|
settled_amount: Integer,
|
|
27
27
|
status: Lithic::Models::Transaction::status,
|
|
28
|
-
token_info: Lithic::
|
|
28
|
+
token_info: Lithic::TokenInfo?,
|
|
29
29
|
updated: Time,
|
|
30
30
|
events: ::Array[Lithic::Transaction::Event]
|
|
31
31
|
}
|
|
@@ -51,13 +51,13 @@ module Lithic
|
|
|
51
51
|
|
|
52
52
|
attr_accessor card_token: String
|
|
53
53
|
|
|
54
|
-
attr_accessor cardholder_authentication: Lithic::
|
|
54
|
+
attr_accessor cardholder_authentication: Lithic::CardholderAuthentication?
|
|
55
55
|
|
|
56
56
|
attr_accessor created: Time
|
|
57
57
|
|
|
58
58
|
attr_accessor financial_account_token: String?
|
|
59
59
|
|
|
60
|
-
attr_accessor merchant: Lithic::
|
|
60
|
+
attr_accessor merchant: Lithic::Merchant
|
|
61
61
|
|
|
62
62
|
attr_accessor merchant_amount: Integer?
|
|
63
63
|
|
|
@@ -77,7 +77,7 @@ module Lithic
|
|
|
77
77
|
|
|
78
78
|
attr_accessor status: Lithic::Models::Transaction::status
|
|
79
79
|
|
|
80
|
-
attr_accessor token_info: Lithic::
|
|
80
|
+
attr_accessor token_info: Lithic::TokenInfo?
|
|
81
81
|
|
|
82
82
|
attr_accessor updated: Time
|
|
83
83
|
|
|
@@ -98,10 +98,10 @@ module Lithic
|
|
|
98
98
|
authorization_code: String?,
|
|
99
99
|
avs: Lithic::Transaction::Avs?,
|
|
100
100
|
card_token: String,
|
|
101
|
-
cardholder_authentication: Lithic::
|
|
101
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
102
102
|
created: Time,
|
|
103
103
|
financial_account_token: String?,
|
|
104
|
-
merchant: Lithic::
|
|
104
|
+
merchant: Lithic::Merchant,
|
|
105
105
|
merchant_amount: Integer?,
|
|
106
106
|
merchant_authorization_amount: Integer?,
|
|
107
107
|
merchant_currency: String,
|
|
@@ -111,7 +111,7 @@ module Lithic
|
|
|
111
111
|
result: Lithic::Models::Transaction::result,
|
|
112
112
|
settled_amount: Integer,
|
|
113
113
|
status: Lithic::Models::Transaction::status,
|
|
114
|
-
token_info: Lithic::
|
|
114
|
+
token_info: Lithic::TokenInfo?,
|
|
115
115
|
updated: Time,
|
|
116
116
|
?events: ::Array[Lithic::Transaction::Event]
|
|
117
117
|
) -> void
|
|
@@ -127,10 +127,10 @@ module Lithic
|
|
|
127
127
|
authorization_code: String?,
|
|
128
128
|
avs: Lithic::Transaction::Avs?,
|
|
129
129
|
card_token: String,
|
|
130
|
-
cardholder_authentication: Lithic::
|
|
130
|
+
cardholder_authentication: Lithic::CardholderAuthentication?,
|
|
131
131
|
created: Time,
|
|
132
132
|
financial_account_token: String?,
|
|
133
|
-
merchant: Lithic::
|
|
133
|
+
merchant: Lithic::Merchant,
|
|
134
134
|
merchant_amount: Integer?,
|
|
135
135
|
merchant_authorization_amount: Integer?,
|
|
136
136
|
merchant_currency: String,
|
|
@@ -140,7 +140,7 @@ module Lithic
|
|
|
140
140
|
result: Lithic::Models::Transaction::result,
|
|
141
141
|
settled_amount: Integer,
|
|
142
142
|
status: Lithic::Models::Transaction::status,
|
|
143
|
-
token_info: Lithic::
|
|
143
|
+
token_info: Lithic::TokenInfo?,
|
|
144
144
|
updated: Time,
|
|
145
145
|
events: ::Array[Lithic::Transaction::Event]
|
|
146
146
|
}
|
|
@@ -248,149 +248,6 @@ module Lithic
|
|
|
248
248
|
def to_hash: -> { address: String, zipcode: String }
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
type cardholder_authentication =
|
|
252
|
-
{
|
|
253
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
254
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
255
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
256
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
257
|
-
three_ds_authentication_token: String?
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
|
261
|
-
attr_accessor authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method
|
|
262
|
-
|
|
263
|
-
attr_accessor authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result
|
|
264
|
-
|
|
265
|
-
attr_accessor decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by
|
|
266
|
-
|
|
267
|
-
attr_accessor liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift
|
|
268
|
-
|
|
269
|
-
attr_accessor three_ds_authentication_token: String?
|
|
270
|
-
|
|
271
|
-
def initialize: (
|
|
272
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
273
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
274
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
275
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
276
|
-
three_ds_authentication_token: String?
|
|
277
|
-
) -> void
|
|
278
|
-
|
|
279
|
-
def to_hash: -> {
|
|
280
|
-
authentication_method: Lithic::Models::Transaction::CardholderAuthentication::authentication_method,
|
|
281
|
-
authentication_result: Lithic::Models::Transaction::CardholderAuthentication::authentication_result,
|
|
282
|
-
decision_made_by: Lithic::Models::Transaction::CardholderAuthentication::decision_made_by,
|
|
283
|
-
liability_shift: Lithic::Models::Transaction::CardholderAuthentication::liability_shift,
|
|
284
|
-
three_ds_authentication_token: String?
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
type authentication_method = :FRICTIONLESS | :CHALLENGE | :NONE
|
|
288
|
-
|
|
289
|
-
module AuthenticationMethod
|
|
290
|
-
extend Lithic::Internal::Type::Enum
|
|
291
|
-
|
|
292
|
-
FRICTIONLESS: :FRICTIONLESS
|
|
293
|
-
CHALLENGE: :CHALLENGE
|
|
294
|
-
NONE: :NONE
|
|
295
|
-
|
|
296
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::authentication_method]
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
type authentication_result = :ATTEMPTS | :DECLINE | :NONE | :SUCCESS
|
|
300
|
-
|
|
301
|
-
module AuthenticationResult
|
|
302
|
-
extend Lithic::Internal::Type::Enum
|
|
303
|
-
|
|
304
|
-
ATTEMPTS: :ATTEMPTS
|
|
305
|
-
DECLINE: :DECLINE
|
|
306
|
-
NONE: :NONE
|
|
307
|
-
SUCCESS: :SUCCESS
|
|
308
|
-
|
|
309
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::authentication_result]
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
type decision_made_by =
|
|
313
|
-
:CUSTOMER_RULES
|
|
314
|
-
| :CUSTOMER_ENDPOINT
|
|
315
|
-
| :LITHIC_DEFAULT
|
|
316
|
-
| :LITHIC_RULES
|
|
317
|
-
| :NETWORK
|
|
318
|
-
| :UNKNOWN
|
|
319
|
-
|
|
320
|
-
module DecisionMadeBy
|
|
321
|
-
extend Lithic::Internal::Type::Enum
|
|
322
|
-
|
|
323
|
-
CUSTOMER_RULES: :CUSTOMER_RULES
|
|
324
|
-
CUSTOMER_ENDPOINT: :CUSTOMER_ENDPOINT
|
|
325
|
-
LITHIC_DEFAULT: :LITHIC_DEFAULT
|
|
326
|
-
LITHIC_RULES: :LITHIC_RULES
|
|
327
|
-
NETWORK: :NETWORK
|
|
328
|
-
UNKNOWN: :UNKNOWN
|
|
329
|
-
|
|
330
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::decision_made_by]
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
type liability_shift =
|
|
334
|
-
:"3DS_AUTHENTICATED" | :TOKEN_AUTHENTICATED | :NONE
|
|
335
|
-
|
|
336
|
-
module LiabilityShift
|
|
337
|
-
extend Lithic::Internal::Type::Enum
|
|
338
|
-
|
|
339
|
-
LIABILITY_SHIFT_3DS_AUTHENTICATED: :"3DS_AUTHENTICATED"
|
|
340
|
-
TOKEN_AUTHENTICATED: :TOKEN_AUTHENTICATED
|
|
341
|
-
NONE: :NONE
|
|
342
|
-
|
|
343
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::CardholderAuthentication::liability_shift]
|
|
344
|
-
end
|
|
345
|
-
end
|
|
346
|
-
|
|
347
|
-
type merchant =
|
|
348
|
-
{
|
|
349
|
-
acceptor_id: String,
|
|
350
|
-
acquiring_institution_id: String,
|
|
351
|
-
city: String,
|
|
352
|
-
country: String,
|
|
353
|
-
descriptor: String,
|
|
354
|
-
mcc: String,
|
|
355
|
-
state: String
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
class Merchant < Lithic::Internal::Type::BaseModel
|
|
359
|
-
attr_accessor acceptor_id: String
|
|
360
|
-
|
|
361
|
-
attr_accessor acquiring_institution_id: String
|
|
362
|
-
|
|
363
|
-
attr_accessor city: String
|
|
364
|
-
|
|
365
|
-
attr_accessor country: String
|
|
366
|
-
|
|
367
|
-
attr_accessor descriptor: String
|
|
368
|
-
|
|
369
|
-
attr_accessor mcc: String
|
|
370
|
-
|
|
371
|
-
attr_accessor state: String
|
|
372
|
-
|
|
373
|
-
def initialize: (
|
|
374
|
-
acceptor_id: String,
|
|
375
|
-
acquiring_institution_id: String,
|
|
376
|
-
city: String,
|
|
377
|
-
country: String,
|
|
378
|
-
descriptor: String,
|
|
379
|
-
mcc: String,
|
|
380
|
-
state: String
|
|
381
|
-
) -> void
|
|
382
|
-
|
|
383
|
-
def to_hash: -> {
|
|
384
|
-
acceptor_id: String,
|
|
385
|
-
acquiring_institution_id: String,
|
|
386
|
-
city: String,
|
|
387
|
-
country: String,
|
|
388
|
-
descriptor: String,
|
|
389
|
-
mcc: String,
|
|
390
|
-
state: String
|
|
391
|
-
}
|
|
392
|
-
end
|
|
393
|
-
|
|
394
251
|
type network =
|
|
395
252
|
:AMEX | :INTERLINK | :MAESTRO | :MASTERCARD | :UNKNOWN | :VISA
|
|
396
253
|
|
|
@@ -752,42 +609,6 @@ module Lithic
|
|
|
752
609
|
def self?.values: -> ::Array[Lithic::Models::Transaction::status]
|
|
753
610
|
end
|
|
754
611
|
|
|
755
|
-
type token_info =
|
|
756
|
-
{ wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type }
|
|
757
|
-
|
|
758
|
-
class TokenInfo < Lithic::Internal::Type::BaseModel
|
|
759
|
-
attr_accessor wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
760
|
-
|
|
761
|
-
def initialize: (
|
|
762
|
-
wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
763
|
-
) -> void
|
|
764
|
-
|
|
765
|
-
def to_hash: -> {
|
|
766
|
-
wallet_type: Lithic::Models::Transaction::TokenInfo::wallet_type
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
type wallet_type =
|
|
770
|
-
:APPLE_PAY
|
|
771
|
-
| :GOOGLE_PAY
|
|
772
|
-
| :MASTERPASS
|
|
773
|
-
| :MERCHANT
|
|
774
|
-
| :OTHER
|
|
775
|
-
| :SAMSUNG_PAY
|
|
776
|
-
|
|
777
|
-
module WalletType
|
|
778
|
-
extend Lithic::Internal::Type::Enum
|
|
779
|
-
|
|
780
|
-
APPLE_PAY: :APPLE_PAY
|
|
781
|
-
GOOGLE_PAY: :GOOGLE_PAY
|
|
782
|
-
MASTERPASS: :MASTERPASS
|
|
783
|
-
MERCHANT: :MERCHANT
|
|
784
|
-
OTHER: :OTHER
|
|
785
|
-
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
786
|
-
|
|
787
|
-
def self?.values: -> ::Array[Lithic::Models::Transaction::TokenInfo::wallet_type]
|
|
788
|
-
end
|
|
789
|
-
end
|
|
790
|
-
|
|
791
612
|
type event =
|
|
792
613
|
{
|
|
793
614
|
token: String,
|