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
|
@@ -47,6 +47,7 @@ module Lithic
|
|
|
47
47
|
|
|
48
48
|
type shipping_method =
|
|
49
49
|
:"2_DAY"
|
|
50
|
+
| :BULK_EXPEDITED
|
|
50
51
|
| :EXPEDITED
|
|
51
52
|
| :EXPRESS
|
|
52
53
|
| :PRIORITY
|
|
@@ -57,6 +58,7 @@ module Lithic
|
|
|
57
58
|
extend Lithic::Internal::Type::Enum
|
|
58
59
|
|
|
59
60
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
61
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
60
62
|
EXPEDITED: :EXPEDITED
|
|
61
63
|
EXPRESS: :EXPRESS
|
|
62
64
|
PRIORITY: :PRIORITY
|
|
@@ -4,6 +4,7 @@ module Lithic
|
|
|
4
4
|
{
|
|
5
5
|
type: Lithic::Models::CardCreateParams::type_,
|
|
6
6
|
account_token: String,
|
|
7
|
+
bulk_order_token: String,
|
|
7
8
|
card_program_token: String,
|
|
8
9
|
carrier: Lithic::Carrier,
|
|
9
10
|
digital_card_art_token: String,
|
|
@@ -34,6 +35,10 @@ module Lithic
|
|
|
34
35
|
|
|
35
36
|
def account_token=: (String) -> String
|
|
36
37
|
|
|
38
|
+
attr_reader bulk_order_token: String?
|
|
39
|
+
|
|
40
|
+
def bulk_order_token=: (String) -> String
|
|
41
|
+
|
|
37
42
|
attr_reader card_program_token: String?
|
|
38
43
|
|
|
39
44
|
def card_program_token=: (String) -> String
|
|
@@ -115,6 +120,7 @@ module Lithic
|
|
|
115
120
|
def initialize: (
|
|
116
121
|
type: Lithic::Models::CardCreateParams::type_,
|
|
117
122
|
?account_token: String,
|
|
123
|
+
?bulk_order_token: String,
|
|
118
124
|
?card_program_token: String,
|
|
119
125
|
?carrier: Lithic::Carrier,
|
|
120
126
|
?digital_card_art_token: String,
|
|
@@ -138,6 +144,7 @@ module Lithic
|
|
|
138
144
|
def to_hash: -> {
|
|
139
145
|
type: Lithic::Models::CardCreateParams::type_,
|
|
140
146
|
account_token: String,
|
|
147
|
+
bulk_order_token: String,
|
|
141
148
|
card_program_token: String,
|
|
142
149
|
carrier: Lithic::Carrier,
|
|
143
150
|
digital_card_art_token: String,
|
|
@@ -212,6 +219,7 @@ module Lithic
|
|
|
212
219
|
|
|
213
220
|
type shipping_method =
|
|
214
221
|
:"2_DAY"
|
|
222
|
+
| :BULK_EXPEDITED
|
|
215
223
|
| :EXPEDITED
|
|
216
224
|
| :EXPRESS
|
|
217
225
|
| :PRIORITY
|
|
@@ -222,6 +230,7 @@ module Lithic
|
|
|
222
230
|
extend Lithic::Internal::Type::Enum
|
|
223
231
|
|
|
224
232
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
233
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
225
234
|
EXPEDITED: :EXPEDITED
|
|
226
235
|
EXPRESS: :EXPRESS
|
|
227
236
|
PRIORITY: :PRIORITY
|
|
@@ -3,11 +3,11 @@ module Lithic
|
|
|
3
3
|
type card_program =
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
|
+
account_level_management_enabled: bool,
|
|
6
7
|
created: Time,
|
|
7
8
|
name: String,
|
|
8
9
|
pan_range_end: String,
|
|
9
10
|
pan_range_start: String,
|
|
10
|
-
account_level_management_enabled: bool,
|
|
11
11
|
cardholder_currency: String,
|
|
12
12
|
settlement_currencies: ::Array[String]
|
|
13
13
|
}
|
|
@@ -15,6 +15,8 @@ module Lithic
|
|
|
15
15
|
class CardProgram < Lithic::Internal::Type::BaseModel
|
|
16
16
|
attr_accessor token: String
|
|
17
17
|
|
|
18
|
+
attr_accessor account_level_management_enabled: bool
|
|
19
|
+
|
|
18
20
|
attr_accessor created: Time
|
|
19
21
|
|
|
20
22
|
attr_accessor name: String
|
|
@@ -23,10 +25,6 @@ module Lithic
|
|
|
23
25
|
|
|
24
26
|
attr_accessor pan_range_start: String
|
|
25
27
|
|
|
26
|
-
attr_reader account_level_management_enabled: bool?
|
|
27
|
-
|
|
28
|
-
def account_level_management_enabled=: (bool) -> bool
|
|
29
|
-
|
|
30
28
|
attr_reader cardholder_currency: String?
|
|
31
29
|
|
|
32
30
|
def cardholder_currency=: (String) -> String
|
|
@@ -37,22 +35,22 @@ module Lithic
|
|
|
37
35
|
|
|
38
36
|
def initialize: (
|
|
39
37
|
token: String,
|
|
38
|
+
account_level_management_enabled: bool,
|
|
40
39
|
created: Time,
|
|
41
40
|
name: String,
|
|
42
41
|
pan_range_end: String,
|
|
43
42
|
pan_range_start: String,
|
|
44
|
-
?account_level_management_enabled: bool,
|
|
45
43
|
?cardholder_currency: String,
|
|
46
44
|
?settlement_currencies: ::Array[String]
|
|
47
45
|
) -> void
|
|
48
46
|
|
|
49
47
|
def to_hash: -> {
|
|
50
48
|
token: String,
|
|
49
|
+
account_level_management_enabled: bool,
|
|
51
50
|
created: Time,
|
|
52
51
|
name: String,
|
|
53
52
|
pan_range_end: String,
|
|
54
53
|
pan_range_start: String,
|
|
55
|
-
account_level_management_enabled: bool,
|
|
56
54
|
cardholder_currency: String,
|
|
57
55
|
settlement_currencies: ::Array[String]
|
|
58
56
|
}
|
|
@@ -51,6 +51,7 @@ module Lithic
|
|
|
51
51
|
|
|
52
52
|
type shipping_method =
|
|
53
53
|
:"2_DAY"
|
|
54
|
+
| :BULK_EXPEDITED
|
|
54
55
|
| :EXPEDITED
|
|
55
56
|
| :EXPRESS
|
|
56
57
|
| :PRIORITY
|
|
@@ -61,6 +62,7 @@ module Lithic
|
|
|
61
62
|
extend Lithic::Internal::Type::Enum
|
|
62
63
|
|
|
63
64
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
65
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
64
66
|
EXPEDITED: :EXPEDITED
|
|
65
67
|
EXPRESS: :EXPRESS
|
|
66
68
|
PRIORITY: :PRIORITY
|
|
@@ -61,6 +61,7 @@ module Lithic
|
|
|
61
61
|
|
|
62
62
|
type shipping_method =
|
|
63
63
|
:"2_DAY"
|
|
64
|
+
| :BULK_EXPEDITED
|
|
64
65
|
| :EXPEDITED
|
|
65
66
|
| :EXPRESS
|
|
66
67
|
| :PRIORITY
|
|
@@ -71,6 +72,7 @@ module Lithic
|
|
|
71
72
|
extend Lithic::Internal::Type::Enum
|
|
72
73
|
|
|
73
74
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
75
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
74
76
|
EXPEDITED: :EXPEDITED
|
|
75
77
|
EXPRESS: :EXPRESS
|
|
76
78
|
PRIORITY: :PRIORITY
|
|
@@ -1,35 +1,59 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
3
|
type card_web_provision_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
client_device_id: String,
|
|
6
|
+
client_wallet_account_id: String,
|
|
7
|
+
digital_wallet: Lithic::Models::CardWebProvisionParams::digital_wallet,
|
|
8
|
+
server_session_id: String
|
|
9
|
+
}
|
|
5
10
|
& Lithic::Internal::Type::request_parameters
|
|
6
11
|
|
|
7
12
|
class CardWebProvisionParams < Lithic::Internal::Type::BaseModel
|
|
8
13
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
14
|
include Lithic::Internal::Type::RequestParameters
|
|
10
15
|
|
|
16
|
+
attr_reader client_device_id: String?
|
|
17
|
+
|
|
18
|
+
def client_device_id=: (String) -> String
|
|
19
|
+
|
|
20
|
+
attr_reader client_wallet_account_id: String?
|
|
21
|
+
|
|
22
|
+
def client_wallet_account_id=: (String) -> String
|
|
23
|
+
|
|
11
24
|
attr_reader digital_wallet: Lithic::Models::CardWebProvisionParams::digital_wallet?
|
|
12
25
|
|
|
13
26
|
def digital_wallet=: (
|
|
14
27
|
Lithic::Models::CardWebProvisionParams::digital_wallet
|
|
15
28
|
) -> Lithic::Models::CardWebProvisionParams::digital_wallet
|
|
16
29
|
|
|
30
|
+
attr_reader server_session_id: String?
|
|
31
|
+
|
|
32
|
+
def server_session_id=: (String) -> String
|
|
33
|
+
|
|
17
34
|
def initialize: (
|
|
35
|
+
?client_device_id: String,
|
|
36
|
+
?client_wallet_account_id: String,
|
|
18
37
|
?digital_wallet: Lithic::Models::CardWebProvisionParams::digital_wallet,
|
|
38
|
+
?server_session_id: String,
|
|
19
39
|
?request_options: Lithic::request_opts
|
|
20
40
|
) -> void
|
|
21
41
|
|
|
22
42
|
def to_hash: -> {
|
|
43
|
+
client_device_id: String,
|
|
44
|
+
client_wallet_account_id: String,
|
|
23
45
|
digital_wallet: Lithic::Models::CardWebProvisionParams::digital_wallet,
|
|
46
|
+
server_session_id: String,
|
|
24
47
|
request_options: Lithic::RequestOptions
|
|
25
48
|
}
|
|
26
49
|
|
|
27
|
-
type digital_wallet = :APPLE_PAY
|
|
50
|
+
type digital_wallet = :APPLE_PAY | :GOOGLE_PAY
|
|
28
51
|
|
|
29
52
|
module DigitalWallet
|
|
30
53
|
extend Lithic::Internal::Type::Enum
|
|
31
54
|
|
|
32
55
|
APPLE_PAY: :APPLE_PAY
|
|
56
|
+
GOOGLE_PAY: :GOOGLE_PAY
|
|
33
57
|
|
|
34
58
|
def self?.values: -> ::Array[Lithic::Models::CardWebProvisionParams::digital_wallet]
|
|
35
59
|
end
|
|
@@ -1,82 +1,112 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
3
|
type card_web_provision_response =
|
|
4
|
-
|
|
4
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse
|
|
5
|
+
| Lithic::Models::CardWebProvisionResponse::GoogleWebPushProvisioningResponse
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
module CardWebProvisionResponse
|
|
8
|
+
extend Lithic::Internal::Type::Union
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type apple_web_push_provisioning_response =
|
|
11
|
+
{
|
|
12
|
+
jws: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws,
|
|
13
|
+
state: String
|
|
14
|
+
}
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
class AppleWebPushProvisioningResponse < Lithic::Internal::Type::BaseModel
|
|
17
|
+
attr_reader jws: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws?
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
def jws=: (
|
|
20
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws
|
|
21
|
+
) -> Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
?jws: Lithic::Models::CardWebProvisionResponse::Jws,
|
|
19
|
-
?state: String
|
|
20
|
-
) -> void
|
|
23
|
+
attr_reader state: String?
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
jws: Lithic::Models::CardWebProvisionResponse::Jws,
|
|
24
|
-
state: String
|
|
25
|
-
}
|
|
25
|
+
def state=: (String) -> String
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
def initialize: (
|
|
28
|
+
?jws: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws,
|
|
29
|
+
?state: String
|
|
30
|
+
) -> void
|
|
31
|
+
|
|
32
|
+
def to_hash: -> {
|
|
33
|
+
jws: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws,
|
|
34
|
+
state: String
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
type jws =
|
|
38
|
+
{
|
|
39
|
+
header: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header,
|
|
40
|
+
payload: String,
|
|
41
|
+
protected: String,
|
|
42
|
+
signature: String
|
|
43
|
+
}
|
|
37
44
|
|
|
38
|
-
|
|
39
|
-
Lithic::Models::CardWebProvisionResponse::Jws::Header
|
|
40
|
-
) -> Lithic::Models::CardWebProvisionResponse::Jws::Header
|
|
45
|
+
class Jws < Lithic::Internal::Type::BaseModel
|
|
46
|
+
attr_reader header: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header?
|
|
41
47
|
|
|
42
|
-
|
|
48
|
+
def header=: (
|
|
49
|
+
Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header
|
|
50
|
+
) -> Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header
|
|
43
51
|
|
|
44
|
-
|
|
52
|
+
attr_reader payload: String?
|
|
45
53
|
|
|
46
|
-
|
|
54
|
+
def payload=: (String) -> String
|
|
47
55
|
|
|
48
|
-
|
|
56
|
+
attr_reader protected: String?
|
|
49
57
|
|
|
50
|
-
|
|
58
|
+
def protected=: (String) -> String
|
|
51
59
|
|
|
52
|
-
|
|
60
|
+
attr_reader signature: String?
|
|
53
61
|
|
|
54
|
-
|
|
55
|
-
?header: Lithic::Models::CardWebProvisionResponse::Jws::Header,
|
|
56
|
-
?payload: String,
|
|
57
|
-
?protected: String,
|
|
58
|
-
?signature: String
|
|
59
|
-
) -> void
|
|
62
|
+
def signature=: (String) -> String
|
|
60
63
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
def initialize: (
|
|
65
|
+
?header: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header,
|
|
66
|
+
?payload: String,
|
|
67
|
+
?protected: String,
|
|
68
|
+
?signature: String
|
|
69
|
+
) -> void
|
|
67
70
|
|
|
68
|
-
|
|
71
|
+
def to_hash: -> {
|
|
72
|
+
header: Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws::Header,
|
|
73
|
+
payload: String,
|
|
74
|
+
protected: String,
|
|
75
|
+
signature: String
|
|
76
|
+
}
|
|
69
77
|
|
|
70
|
-
|
|
71
|
-
attr_reader kid: String?
|
|
78
|
+
type header = { kid: String }
|
|
72
79
|
|
|
73
|
-
|
|
80
|
+
class Header < Lithic::Internal::Type::BaseModel
|
|
81
|
+
attr_reader kid: String?
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
def kid=: (String) -> String
|
|
76
84
|
|
|
77
|
-
|
|
85
|
+
def initialize: (?kid: String) -> void
|
|
86
|
+
|
|
87
|
+
def to_hash: -> { kid: String }
|
|
88
|
+
end
|
|
78
89
|
end
|
|
79
90
|
end
|
|
91
|
+
|
|
92
|
+
type google_web_push_provisioning_response =
|
|
93
|
+
{ google_opc: String, tsp_opc: String }
|
|
94
|
+
|
|
95
|
+
class GoogleWebPushProvisioningResponse < Lithic::Internal::Type::BaseModel
|
|
96
|
+
attr_reader google_opc: String?
|
|
97
|
+
|
|
98
|
+
def google_opc=: (String) -> String
|
|
99
|
+
|
|
100
|
+
attr_reader tsp_opc: String?
|
|
101
|
+
|
|
102
|
+
def tsp_opc=: (String) -> String
|
|
103
|
+
|
|
104
|
+
def initialize: (?google_opc: String, ?tsp_opc: String) -> void
|
|
105
|
+
|
|
106
|
+
def to_hash: -> { google_opc: String, tsp_opc: String }
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
def self?.variants: -> ::Array[Lithic::Models::card_web_provision_response]
|
|
80
110
|
end
|
|
81
111
|
end
|
|
82
112
|
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type cardholder_authentication =
|
|
4
|
+
{
|
|
5
|
+
authentication_method: Lithic::Models::CardholderAuthentication::authentication_method,
|
|
6
|
+
authentication_result: Lithic::Models::CardholderAuthentication::authentication_result,
|
|
7
|
+
decision_made_by: Lithic::Models::CardholderAuthentication::decision_made_by,
|
|
8
|
+
liability_shift: Lithic::Models::CardholderAuthentication::liability_shift,
|
|
9
|
+
three_ds_authentication_token: String?
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class CardholderAuthentication < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor authentication_method: Lithic::Models::CardholderAuthentication::authentication_method
|
|
14
|
+
|
|
15
|
+
attr_accessor authentication_result: Lithic::Models::CardholderAuthentication::authentication_result
|
|
16
|
+
|
|
17
|
+
attr_accessor decision_made_by: Lithic::Models::CardholderAuthentication::decision_made_by
|
|
18
|
+
|
|
19
|
+
attr_accessor liability_shift: Lithic::Models::CardholderAuthentication::liability_shift
|
|
20
|
+
|
|
21
|
+
attr_accessor three_ds_authentication_token: String?
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
authentication_method: Lithic::Models::CardholderAuthentication::authentication_method,
|
|
25
|
+
authentication_result: Lithic::Models::CardholderAuthentication::authentication_result,
|
|
26
|
+
decision_made_by: Lithic::Models::CardholderAuthentication::decision_made_by,
|
|
27
|
+
liability_shift: Lithic::Models::CardholderAuthentication::liability_shift,
|
|
28
|
+
three_ds_authentication_token: String?
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
authentication_method: Lithic::Models::CardholderAuthentication::authentication_method,
|
|
33
|
+
authentication_result: Lithic::Models::CardholderAuthentication::authentication_result,
|
|
34
|
+
decision_made_by: Lithic::Models::CardholderAuthentication::decision_made_by,
|
|
35
|
+
liability_shift: Lithic::Models::CardholderAuthentication::liability_shift,
|
|
36
|
+
three_ds_authentication_token: String?
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
type authentication_method = :FRICTIONLESS | :CHALLENGE | :NONE
|
|
40
|
+
|
|
41
|
+
module AuthenticationMethod
|
|
42
|
+
extend Lithic::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
FRICTIONLESS: :FRICTIONLESS
|
|
45
|
+
CHALLENGE: :CHALLENGE
|
|
46
|
+
NONE: :NONE
|
|
47
|
+
|
|
48
|
+
def self?.values: -> ::Array[Lithic::Models::CardholderAuthentication::authentication_method]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
type authentication_result = :ATTEMPTS | :DECLINE | :NONE | :SUCCESS
|
|
52
|
+
|
|
53
|
+
module AuthenticationResult
|
|
54
|
+
extend Lithic::Internal::Type::Enum
|
|
55
|
+
|
|
56
|
+
ATTEMPTS: :ATTEMPTS
|
|
57
|
+
DECLINE: :DECLINE
|
|
58
|
+
NONE: :NONE
|
|
59
|
+
SUCCESS: :SUCCESS
|
|
60
|
+
|
|
61
|
+
def self?.values: -> ::Array[Lithic::Models::CardholderAuthentication::authentication_result]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
type decision_made_by =
|
|
65
|
+
:CUSTOMER_RULES
|
|
66
|
+
| :CUSTOMER_ENDPOINT
|
|
67
|
+
| :LITHIC_DEFAULT
|
|
68
|
+
| :LITHIC_RULES
|
|
69
|
+
| :NETWORK
|
|
70
|
+
| :UNKNOWN
|
|
71
|
+
|
|
72
|
+
module DecisionMadeBy
|
|
73
|
+
extend Lithic::Internal::Type::Enum
|
|
74
|
+
|
|
75
|
+
CUSTOMER_RULES: :CUSTOMER_RULES
|
|
76
|
+
CUSTOMER_ENDPOINT: :CUSTOMER_ENDPOINT
|
|
77
|
+
LITHIC_DEFAULT: :LITHIC_DEFAULT
|
|
78
|
+
LITHIC_RULES: :LITHIC_RULES
|
|
79
|
+
NETWORK: :NETWORK
|
|
80
|
+
UNKNOWN: :UNKNOWN
|
|
81
|
+
|
|
82
|
+
def self?.values: -> ::Array[Lithic::Models::CardholderAuthentication::decision_made_by]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
type liability_shift = :"3DS_AUTHENTICATED" | :TOKEN_AUTHENTICATED | :NONE
|
|
86
|
+
|
|
87
|
+
module LiabilityShift
|
|
88
|
+
extend Lithic::Internal::Type::Enum
|
|
89
|
+
|
|
90
|
+
LIABILITY_SHIFT_3DS_AUTHENTICATED: :"3DS_AUTHENTICATED"
|
|
91
|
+
TOKEN_AUTHENTICATED: :TOKEN_AUTHENTICATED
|
|
92
|
+
NONE: :NONE
|
|
93
|
+
|
|
94
|
+
def self?.values: -> ::Array[Lithic::Models::CardholderAuthentication::liability_shift]
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type category_details =
|
|
4
|
+
{ balance_transfers: String, cash_advances: String, purchases: String }
|
|
5
|
+
|
|
6
|
+
class CategoryDetails < Lithic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor balance_transfers: String
|
|
8
|
+
|
|
9
|
+
attr_accessor cash_advances: String
|
|
10
|
+
|
|
11
|
+
attr_accessor purchases: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
balance_transfers: String,
|
|
15
|
+
cash_advances: String,
|
|
16
|
+
purchases: String
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
balance_transfers: String,
|
|
21
|
+
cash_advances: String,
|
|
22
|
+
purchases: String
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type device = { imei: String?, ip_address: String?, location: String? }
|
|
4
|
+
|
|
5
|
+
class Device < Lithic::Internal::Type::BaseModel
|
|
6
|
+
attr_accessor imei: String?
|
|
7
|
+
|
|
8
|
+
attr_accessor ip_address: String?
|
|
9
|
+
|
|
10
|
+
attr_accessor location: String?
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
imei: String?,
|
|
14
|
+
ip_address: String?,
|
|
15
|
+
location: String?
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { imei: String?, ip_address: String?, location: String? }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_metadata =
|
|
4
|
+
{
|
|
5
|
+
payment_account_info: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo,
|
|
6
|
+
status: String,
|
|
7
|
+
payment_app_instance_id: String?,
|
|
8
|
+
token_requestor_id: String,
|
|
9
|
+
token_requestor_name: Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class DigitalWalletTokenMetadata < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor payment_account_info: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo
|
|
14
|
+
|
|
15
|
+
attr_accessor status: String
|
|
16
|
+
|
|
17
|
+
attr_accessor payment_app_instance_id: String?
|
|
18
|
+
|
|
19
|
+
attr_reader token_requestor_id: String?
|
|
20
|
+
|
|
21
|
+
def token_requestor_id=: (String) -> String
|
|
22
|
+
|
|
23
|
+
attr_reader token_requestor_name: Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name?
|
|
24
|
+
|
|
25
|
+
def token_requestor_name=: (
|
|
26
|
+
Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name
|
|
27
|
+
) -> Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
payment_account_info: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo,
|
|
31
|
+
status: String,
|
|
32
|
+
?payment_app_instance_id: String?,
|
|
33
|
+
?token_requestor_id: String,
|
|
34
|
+
?token_requestor_name: Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
def to_hash: -> {
|
|
38
|
+
payment_account_info: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo,
|
|
39
|
+
status: String,
|
|
40
|
+
payment_app_instance_id: String?,
|
|
41
|
+
token_requestor_id: String,
|
|
42
|
+
token_requestor_name: Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type payment_account_info =
|
|
46
|
+
{
|
|
47
|
+
account_holder_data: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
48
|
+
pan_unique_reference: String?,
|
|
49
|
+
payment_account_reference: String?,
|
|
50
|
+
token_unique_reference: String?
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
class PaymentAccountInfo < Lithic::Internal::Type::BaseModel
|
|
54
|
+
attr_accessor account_holder_data: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo::AccountHolderData
|
|
55
|
+
|
|
56
|
+
attr_accessor pan_unique_reference: String?
|
|
57
|
+
|
|
58
|
+
attr_accessor payment_account_reference: String?
|
|
59
|
+
|
|
60
|
+
attr_accessor token_unique_reference: String?
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
account_holder_data: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
64
|
+
?pan_unique_reference: String?,
|
|
65
|
+
?payment_account_reference: String?,
|
|
66
|
+
?token_unique_reference: String?
|
|
67
|
+
) -> void
|
|
68
|
+
|
|
69
|
+
def to_hash: -> {
|
|
70
|
+
account_holder_data: Lithic::DigitalWalletTokenMetadata::PaymentAccountInfo::AccountHolderData,
|
|
71
|
+
pan_unique_reference: String?,
|
|
72
|
+
payment_account_reference: String?,
|
|
73
|
+
token_unique_reference: String?
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
type account_holder_data = { phone_number: String? }
|
|
77
|
+
|
|
78
|
+
class AccountHolderData < Lithic::Internal::Type::BaseModel
|
|
79
|
+
attr_accessor phone_number: String?
|
|
80
|
+
|
|
81
|
+
def initialize: (?phone_number: String?) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> { phone_number: String? }
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
type token_requestor_name =
|
|
88
|
+
:AMAZON_ONE
|
|
89
|
+
| :ANDROID_PAY
|
|
90
|
+
| :APPLE_PAY
|
|
91
|
+
| :FACEBOOK
|
|
92
|
+
| :FITBIT_PAY
|
|
93
|
+
| :GARMIN_PAY
|
|
94
|
+
| :MICROSOFT_PAY
|
|
95
|
+
| :NETFLIX
|
|
96
|
+
| :SAMSUNG_PAY
|
|
97
|
+
| :UNKNOWN
|
|
98
|
+
| :VISA_CHECKOUT
|
|
99
|
+
|
|
100
|
+
module TokenRequestorName
|
|
101
|
+
extend Lithic::Internal::Type::Enum
|
|
102
|
+
|
|
103
|
+
AMAZON_ONE: :AMAZON_ONE
|
|
104
|
+
ANDROID_PAY: :ANDROID_PAY
|
|
105
|
+
APPLE_PAY: :APPLE_PAY
|
|
106
|
+
FACEBOOK: :FACEBOOK
|
|
107
|
+
FITBIT_PAY: :FITBIT_PAY
|
|
108
|
+
GARMIN_PAY: :GARMIN_PAY
|
|
109
|
+
MICROSOFT_PAY: :MICROSOFT_PAY
|
|
110
|
+
NETFLIX: :NETFLIX
|
|
111
|
+
SAMSUNG_PAY: :SAMSUNG_PAY
|
|
112
|
+
UNKNOWN: :UNKNOWN
|
|
113
|
+
VISA_CHECKOUT: :VISA_CHECKOUT
|
|
114
|
+
|
|
115
|
+
def self?.values: -> ::Array[Lithic::Models::DigitalWalletTokenMetadata::token_requestor_name]
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
end
|