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,438 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_v2 =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
account_token: String,
|
|
7
|
+
card_token: String,
|
|
8
|
+
case_id: String?,
|
|
9
|
+
created: Time,
|
|
10
|
+
currency: String,
|
|
11
|
+
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
12
|
+
events: ::Array[Lithic::DisputeV2::Event],
|
|
13
|
+
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
14
|
+
merchant: Lithic::Merchant,
|
|
15
|
+
network: Lithic::Models::DisputeV2::network,
|
|
16
|
+
status: Lithic::Models::DisputeV2::status?,
|
|
17
|
+
transaction_series: Lithic::DisputeV2::TransactionSeries?,
|
|
18
|
+
updated: Time
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
class DisputeV2 < Lithic::Internal::Type::BaseModel
|
|
22
|
+
attr_accessor token: String
|
|
23
|
+
|
|
24
|
+
attr_accessor account_token: String
|
|
25
|
+
|
|
26
|
+
attr_accessor card_token: String
|
|
27
|
+
|
|
28
|
+
attr_accessor case_id: String?
|
|
29
|
+
|
|
30
|
+
attr_accessor created: Time
|
|
31
|
+
|
|
32
|
+
attr_accessor currency: String
|
|
33
|
+
|
|
34
|
+
attr_accessor disposition: Lithic::Models::DisputeV2::disposition?
|
|
35
|
+
|
|
36
|
+
attr_accessor events: ::Array[Lithic::DisputeV2::Event]
|
|
37
|
+
|
|
38
|
+
attr_accessor liability_allocation: Lithic::DisputeV2::LiabilityAllocation
|
|
39
|
+
|
|
40
|
+
attr_accessor merchant: Lithic::Merchant
|
|
41
|
+
|
|
42
|
+
attr_accessor network: Lithic::Models::DisputeV2::network
|
|
43
|
+
|
|
44
|
+
attr_accessor status: Lithic::Models::DisputeV2::status?
|
|
45
|
+
|
|
46
|
+
attr_accessor transaction_series: Lithic::DisputeV2::TransactionSeries?
|
|
47
|
+
|
|
48
|
+
attr_accessor updated: Time
|
|
49
|
+
|
|
50
|
+
def initialize: (
|
|
51
|
+
token: String,
|
|
52
|
+
account_token: String,
|
|
53
|
+
card_token: String,
|
|
54
|
+
case_id: String?,
|
|
55
|
+
created: Time,
|
|
56
|
+
currency: String,
|
|
57
|
+
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
58
|
+
events: ::Array[Lithic::DisputeV2::Event],
|
|
59
|
+
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
60
|
+
merchant: Lithic::Merchant,
|
|
61
|
+
network: Lithic::Models::DisputeV2::network,
|
|
62
|
+
status: Lithic::Models::DisputeV2::status?,
|
|
63
|
+
transaction_series: Lithic::DisputeV2::TransactionSeries?,
|
|
64
|
+
updated: Time
|
|
65
|
+
) -> void
|
|
66
|
+
|
|
67
|
+
def to_hash: -> {
|
|
68
|
+
token: String,
|
|
69
|
+
account_token: String,
|
|
70
|
+
card_token: String,
|
|
71
|
+
case_id: String?,
|
|
72
|
+
created: Time,
|
|
73
|
+
currency: String,
|
|
74
|
+
disposition: Lithic::Models::DisputeV2::disposition?,
|
|
75
|
+
events: ::Array[Lithic::DisputeV2::Event],
|
|
76
|
+
liability_allocation: Lithic::DisputeV2::LiabilityAllocation,
|
|
77
|
+
merchant: Lithic::Merchant,
|
|
78
|
+
network: Lithic::Models::DisputeV2::network,
|
|
79
|
+
status: Lithic::Models::DisputeV2::status?,
|
|
80
|
+
transaction_series: Lithic::DisputeV2::TransactionSeries?,
|
|
81
|
+
updated: Time
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
type disposition = :WON | :LOST | :PARTIALLY_WON | :WITHDRAWN | :DENIED
|
|
85
|
+
|
|
86
|
+
module Disposition
|
|
87
|
+
extend Lithic::Internal::Type::Enum
|
|
88
|
+
|
|
89
|
+
WON: :WON
|
|
90
|
+
LOST: :LOST
|
|
91
|
+
PARTIALLY_WON: :PARTIALLY_WON
|
|
92
|
+
WITHDRAWN: :WITHDRAWN
|
|
93
|
+
DENIED: :DENIED
|
|
94
|
+
|
|
95
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::disposition]
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
type event =
|
|
99
|
+
{
|
|
100
|
+
token: String,
|
|
101
|
+
created: Time,
|
|
102
|
+
data: Lithic::Models::DisputeV2::Event::data,
|
|
103
|
+
type: Lithic::Models::DisputeV2::Event::type_
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
class Event < Lithic::Internal::Type::BaseModel
|
|
107
|
+
attr_accessor token: String
|
|
108
|
+
|
|
109
|
+
attr_accessor created: Time
|
|
110
|
+
|
|
111
|
+
attr_accessor data: Lithic::Models::DisputeV2::Event::data
|
|
112
|
+
|
|
113
|
+
attr_accessor type: Lithic::Models::DisputeV2::Event::type_
|
|
114
|
+
|
|
115
|
+
def initialize: (
|
|
116
|
+
token: String,
|
|
117
|
+
created: Time,
|
|
118
|
+
data: Lithic::Models::DisputeV2::Event::data,
|
|
119
|
+
type: Lithic::Models::DisputeV2::Event::type_
|
|
120
|
+
) -> void
|
|
121
|
+
|
|
122
|
+
def to_hash: -> {
|
|
123
|
+
token: String,
|
|
124
|
+
created: Time,
|
|
125
|
+
data: Lithic::Models::DisputeV2::Event::data,
|
|
126
|
+
type: Lithic::Models::DisputeV2::Event::type_
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
type data =
|
|
130
|
+
Lithic::DisputeV2::Event::Data::Workflow
|
|
131
|
+
| Lithic::DisputeV2::Event::Data::Financial
|
|
132
|
+
| Lithic::DisputeV2::Event::Data::CardholderLiability
|
|
133
|
+
|
|
134
|
+
module Data
|
|
135
|
+
extend Lithic::Internal::Type::Union
|
|
136
|
+
|
|
137
|
+
type workflow =
|
|
138
|
+
{
|
|
139
|
+
action: Lithic::Models::DisputeV2::Event::Data::Workflow::action,
|
|
140
|
+
amount: Integer?,
|
|
141
|
+
disposition: Lithic::Models::DisputeV2::Event::Data::Workflow::disposition?,
|
|
142
|
+
reason: String?,
|
|
143
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Workflow::stage,
|
|
144
|
+
type: :WORKFLOW
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
class Workflow < Lithic::Internal::Type::BaseModel
|
|
148
|
+
attr_accessor action: Lithic::Models::DisputeV2::Event::Data::Workflow::action
|
|
149
|
+
|
|
150
|
+
attr_accessor amount: Integer?
|
|
151
|
+
|
|
152
|
+
attr_accessor disposition: Lithic::Models::DisputeV2::Event::Data::Workflow::disposition?
|
|
153
|
+
|
|
154
|
+
attr_accessor reason: String?
|
|
155
|
+
|
|
156
|
+
attr_accessor stage: Lithic::Models::DisputeV2::Event::Data::Workflow::stage
|
|
157
|
+
|
|
158
|
+
attr_accessor type: :WORKFLOW
|
|
159
|
+
|
|
160
|
+
def initialize: (
|
|
161
|
+
action: Lithic::Models::DisputeV2::Event::Data::Workflow::action,
|
|
162
|
+
amount: Integer?,
|
|
163
|
+
disposition: Lithic::Models::DisputeV2::Event::Data::Workflow::disposition?,
|
|
164
|
+
reason: String?,
|
|
165
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Workflow::stage,
|
|
166
|
+
?type: :WORKFLOW
|
|
167
|
+
) -> void
|
|
168
|
+
|
|
169
|
+
def to_hash: -> {
|
|
170
|
+
action: Lithic::Models::DisputeV2::Event::Data::Workflow::action,
|
|
171
|
+
amount: Integer?,
|
|
172
|
+
disposition: Lithic::Models::DisputeV2::Event::Data::Workflow::disposition?,
|
|
173
|
+
reason: String?,
|
|
174
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Workflow::stage,
|
|
175
|
+
type: :WORKFLOW
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
type action = :OPENED | :CLOSED | :REOPENED
|
|
179
|
+
|
|
180
|
+
module Action
|
|
181
|
+
extend Lithic::Internal::Type::Enum
|
|
182
|
+
|
|
183
|
+
OPENED: :OPENED
|
|
184
|
+
CLOSED: :CLOSED
|
|
185
|
+
REOPENED: :REOPENED
|
|
186
|
+
|
|
187
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::Workflow::action]
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
type disposition =
|
|
191
|
+
:WON | :LOST | :PARTIALLY_WON | :WITHDRAWN | :DENIED
|
|
192
|
+
|
|
193
|
+
module Disposition
|
|
194
|
+
extend Lithic::Internal::Type::Enum
|
|
195
|
+
|
|
196
|
+
WON: :WON
|
|
197
|
+
LOST: :LOST
|
|
198
|
+
PARTIALLY_WON: :PARTIALLY_WON
|
|
199
|
+
WITHDRAWN: :WITHDRAWN
|
|
200
|
+
DENIED: :DENIED
|
|
201
|
+
|
|
202
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::Workflow::disposition]
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
type stage = :CLAIM
|
|
206
|
+
|
|
207
|
+
module Stage
|
|
208
|
+
extend Lithic::Internal::Type::Enum
|
|
209
|
+
|
|
210
|
+
CLAIM: :CLAIM
|
|
211
|
+
|
|
212
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::Workflow::stage]
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
type financial =
|
|
217
|
+
{
|
|
218
|
+
amount: Integer,
|
|
219
|
+
polarity: Lithic::Models::DisputeV2::Event::Data::Financial::polarity,
|
|
220
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Financial::stage,
|
|
221
|
+
type: :FINANCIAL
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
class Financial < Lithic::Internal::Type::BaseModel
|
|
225
|
+
attr_accessor amount: Integer
|
|
226
|
+
|
|
227
|
+
attr_accessor polarity: Lithic::Models::DisputeV2::Event::Data::Financial::polarity
|
|
228
|
+
|
|
229
|
+
attr_accessor stage: Lithic::Models::DisputeV2::Event::Data::Financial::stage
|
|
230
|
+
|
|
231
|
+
attr_accessor type: :FINANCIAL
|
|
232
|
+
|
|
233
|
+
def initialize: (
|
|
234
|
+
amount: Integer,
|
|
235
|
+
polarity: Lithic::Models::DisputeV2::Event::Data::Financial::polarity,
|
|
236
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Financial::stage,
|
|
237
|
+
?type: :FINANCIAL
|
|
238
|
+
) -> void
|
|
239
|
+
|
|
240
|
+
def to_hash: -> {
|
|
241
|
+
amount: Integer,
|
|
242
|
+
polarity: Lithic::Models::DisputeV2::Event::Data::Financial::polarity,
|
|
243
|
+
stage: Lithic::Models::DisputeV2::Event::Data::Financial::stage,
|
|
244
|
+
type: :FINANCIAL
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
type polarity = :CREDIT | :DEBIT
|
|
248
|
+
|
|
249
|
+
module Polarity
|
|
250
|
+
extend Lithic::Internal::Type::Enum
|
|
251
|
+
|
|
252
|
+
CREDIT: :CREDIT
|
|
253
|
+
DEBIT: :DEBIT
|
|
254
|
+
|
|
255
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::Financial::polarity]
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
type stage =
|
|
259
|
+
:CHARGEBACK
|
|
260
|
+
| :REPRESENTMENT
|
|
261
|
+
| :PREARBITRATION
|
|
262
|
+
| :ARBITRATION
|
|
263
|
+
| :COLLABORATION
|
|
264
|
+
|
|
265
|
+
module Stage
|
|
266
|
+
extend Lithic::Internal::Type::Enum
|
|
267
|
+
|
|
268
|
+
CHARGEBACK: :CHARGEBACK
|
|
269
|
+
REPRESENTMENT: :REPRESENTMENT
|
|
270
|
+
PREARBITRATION: :PREARBITRATION
|
|
271
|
+
ARBITRATION: :ARBITRATION
|
|
272
|
+
COLLABORATION: :COLLABORATION
|
|
273
|
+
|
|
274
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::Financial::stage]
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
type cardholder_liability =
|
|
279
|
+
{
|
|
280
|
+
action: Lithic::Models::DisputeV2::Event::Data::CardholderLiability::action,
|
|
281
|
+
amount: Integer,
|
|
282
|
+
reason: String,
|
|
283
|
+
type: :CARDHOLDER_LIABILITY
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
class CardholderLiability < Lithic::Internal::Type::BaseModel
|
|
287
|
+
attr_accessor action: Lithic::Models::DisputeV2::Event::Data::CardholderLiability::action
|
|
288
|
+
|
|
289
|
+
attr_accessor amount: Integer
|
|
290
|
+
|
|
291
|
+
attr_accessor reason: String
|
|
292
|
+
|
|
293
|
+
attr_accessor type: :CARDHOLDER_LIABILITY
|
|
294
|
+
|
|
295
|
+
def initialize: (
|
|
296
|
+
action: Lithic::Models::DisputeV2::Event::Data::CardholderLiability::action,
|
|
297
|
+
amount: Integer,
|
|
298
|
+
reason: String,
|
|
299
|
+
?type: :CARDHOLDER_LIABILITY
|
|
300
|
+
) -> void
|
|
301
|
+
|
|
302
|
+
def to_hash: -> {
|
|
303
|
+
action: Lithic::Models::DisputeV2::Event::Data::CardholderLiability::action,
|
|
304
|
+
amount: Integer,
|
|
305
|
+
reason: String,
|
|
306
|
+
type: :CARDHOLDER_LIABILITY
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
type action =
|
|
310
|
+
:PROVISIONAL_CREDIT_GRANTED
|
|
311
|
+
| :PROVISIONAL_CREDIT_REVERSED
|
|
312
|
+
| :WRITTEN_OFF
|
|
313
|
+
|
|
314
|
+
module Action
|
|
315
|
+
extend Lithic::Internal::Type::Enum
|
|
316
|
+
|
|
317
|
+
PROVISIONAL_CREDIT_GRANTED: :PROVISIONAL_CREDIT_GRANTED
|
|
318
|
+
PROVISIONAL_CREDIT_REVERSED: :PROVISIONAL_CREDIT_REVERSED
|
|
319
|
+
WRITTEN_OFF: :WRITTEN_OFF
|
|
320
|
+
|
|
321
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::Data::CardholderLiability::action]
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
def self?.variants: -> ::Array[Lithic::Models::DisputeV2::Event::data]
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
type type_ = :WORKFLOW | :FINANCIAL | :CARDHOLDER_LIABILITY
|
|
329
|
+
|
|
330
|
+
module Type
|
|
331
|
+
extend Lithic::Internal::Type::Enum
|
|
332
|
+
|
|
333
|
+
WORKFLOW: :WORKFLOW
|
|
334
|
+
FINANCIAL: :FINANCIAL
|
|
335
|
+
CARDHOLDER_LIABILITY: :CARDHOLDER_LIABILITY
|
|
336
|
+
|
|
337
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::Event::type_]
|
|
338
|
+
end
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
type liability_allocation =
|
|
342
|
+
{
|
|
343
|
+
denied_amount: Integer,
|
|
344
|
+
original_amount: Integer,
|
|
345
|
+
recovered_amount: Integer,
|
|
346
|
+
remaining_amount: Integer,
|
|
347
|
+
written_off_amount: Integer
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
class LiabilityAllocation < Lithic::Internal::Type::BaseModel
|
|
351
|
+
attr_accessor denied_amount: Integer
|
|
352
|
+
|
|
353
|
+
attr_accessor original_amount: Integer
|
|
354
|
+
|
|
355
|
+
attr_accessor recovered_amount: Integer
|
|
356
|
+
|
|
357
|
+
attr_accessor remaining_amount: Integer
|
|
358
|
+
|
|
359
|
+
attr_accessor written_off_amount: Integer
|
|
360
|
+
|
|
361
|
+
def initialize: (
|
|
362
|
+
denied_amount: Integer,
|
|
363
|
+
original_amount: Integer,
|
|
364
|
+
recovered_amount: Integer,
|
|
365
|
+
remaining_amount: Integer,
|
|
366
|
+
written_off_amount: Integer
|
|
367
|
+
) -> void
|
|
368
|
+
|
|
369
|
+
def to_hash: -> {
|
|
370
|
+
denied_amount: Integer,
|
|
371
|
+
original_amount: Integer,
|
|
372
|
+
recovered_amount: Integer,
|
|
373
|
+
remaining_amount: Integer,
|
|
374
|
+
written_off_amount: Integer
|
|
375
|
+
}
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
type network = :VISA | :MASTERCARD
|
|
379
|
+
|
|
380
|
+
module Network
|
|
381
|
+
extend Lithic::Internal::Type::Enum
|
|
382
|
+
|
|
383
|
+
VISA: :VISA
|
|
384
|
+
MASTERCARD: :MASTERCARD
|
|
385
|
+
|
|
386
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::network]
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
type status = :OPEN | :CLOSED
|
|
390
|
+
|
|
391
|
+
module Status
|
|
392
|
+
extend Lithic::Internal::Type::Enum
|
|
393
|
+
|
|
394
|
+
OPEN: :OPEN
|
|
395
|
+
CLOSED: :CLOSED
|
|
396
|
+
|
|
397
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::status]
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
type transaction_series =
|
|
401
|
+
{
|
|
402
|
+
related_transaction_event_token: String?,
|
|
403
|
+
related_transaction_token: String,
|
|
404
|
+
type: Lithic::Models::DisputeV2::TransactionSeries::type_
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
|
408
|
+
attr_accessor related_transaction_event_token: String?
|
|
409
|
+
|
|
410
|
+
attr_accessor related_transaction_token: String
|
|
411
|
+
|
|
412
|
+
attr_accessor type: Lithic::Models::DisputeV2::TransactionSeries::type_
|
|
413
|
+
|
|
414
|
+
def initialize: (
|
|
415
|
+
related_transaction_event_token: String?,
|
|
416
|
+
related_transaction_token: String,
|
|
417
|
+
type: Lithic::Models::DisputeV2::TransactionSeries::type_
|
|
418
|
+
) -> void
|
|
419
|
+
|
|
420
|
+
def to_hash: -> {
|
|
421
|
+
related_transaction_event_token: String?,
|
|
422
|
+
related_transaction_token: String,
|
|
423
|
+
type: Lithic::Models::DisputeV2::TransactionSeries::type_
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
type type_ = :DISPUTE
|
|
427
|
+
|
|
428
|
+
module Type
|
|
429
|
+
extend Lithic::Internal::Type::Enum
|
|
430
|
+
|
|
431
|
+
DISPUTE: :DISPUTE
|
|
432
|
+
|
|
433
|
+
def self?.values: -> ::Array[Lithic::Models::DisputeV2::TransactionSeries::type_]
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
end
|
|
437
|
+
end
|
|
438
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type disputes_v2_list_params =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
begin_: Time,
|
|
7
|
+
card_token: String,
|
|
8
|
+
disputed_transaction_token: String,
|
|
9
|
+
end_: Time,
|
|
10
|
+
ending_before: String,
|
|
11
|
+
page_size: Integer,
|
|
12
|
+
starting_after: String
|
|
13
|
+
}
|
|
14
|
+
& Lithic::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class DisputesV2ListParams < Lithic::Internal::Type::BaseModel
|
|
17
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Lithic::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_reader account_token: String?
|
|
21
|
+
|
|
22
|
+
def account_token=: (String) -> String
|
|
23
|
+
|
|
24
|
+
attr_reader begin_: Time?
|
|
25
|
+
|
|
26
|
+
def begin_=: (Time) -> Time
|
|
27
|
+
|
|
28
|
+
attr_reader card_token: String?
|
|
29
|
+
|
|
30
|
+
def card_token=: (String) -> String
|
|
31
|
+
|
|
32
|
+
attr_reader disputed_transaction_token: String?
|
|
33
|
+
|
|
34
|
+
def disputed_transaction_token=: (String) -> String
|
|
35
|
+
|
|
36
|
+
attr_reader end_: Time?
|
|
37
|
+
|
|
38
|
+
def end_=: (Time) -> Time
|
|
39
|
+
|
|
40
|
+
attr_reader ending_before: String?
|
|
41
|
+
|
|
42
|
+
def ending_before=: (String) -> String
|
|
43
|
+
|
|
44
|
+
attr_reader page_size: Integer?
|
|
45
|
+
|
|
46
|
+
def page_size=: (Integer) -> Integer
|
|
47
|
+
|
|
48
|
+
attr_reader starting_after: String?
|
|
49
|
+
|
|
50
|
+
def starting_after=: (String) -> String
|
|
51
|
+
|
|
52
|
+
def initialize: (
|
|
53
|
+
?account_token: String,
|
|
54
|
+
?begin_: Time,
|
|
55
|
+
?card_token: String,
|
|
56
|
+
?disputed_transaction_token: String,
|
|
57
|
+
?end_: Time,
|
|
58
|
+
?ending_before: String,
|
|
59
|
+
?page_size: Integer,
|
|
60
|
+
?starting_after: String,
|
|
61
|
+
?request_options: Lithic::request_opts
|
|
62
|
+
) -> void
|
|
63
|
+
|
|
64
|
+
def to_hash: -> {
|
|
65
|
+
account_token: String,
|
|
66
|
+
begin_: Time,
|
|
67
|
+
card_token: String,
|
|
68
|
+
disputed_transaction_token: String,
|
|
69
|
+
end_: Time,
|
|
70
|
+
ending_before: String,
|
|
71
|
+
page_size: Integer,
|
|
72
|
+
starting_after: String,
|
|
73
|
+
request_options: Lithic::RequestOptions
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type disputes_v2_retrieve_params =
|
|
4
|
+
{ } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class DisputesV2RetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Lithic::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Lithic::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
country: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
currency: String,
|
|
9
|
+
last_four: String,
|
|
10
|
+
owner: String,
|
|
11
|
+
owner_type: Lithic::Models::owner_type,
|
|
12
|
+
routing_number: String,
|
|
13
|
+
state: Lithic::Models::ExternalBankAccount::state,
|
|
14
|
+
type: Lithic::Models::ExternalBankAccount::type_,
|
|
15
|
+
verification_attempts: Integer,
|
|
16
|
+
verification_method: Lithic::Models::verification_method,
|
|
17
|
+
verification_state: Lithic::Models::ExternalBankAccount::verification_state,
|
|
18
|
+
account_token: String?,
|
|
19
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
20
|
+
company_id: String?,
|
|
21
|
+
dob: Date?,
|
|
22
|
+
doing_business_as: String?,
|
|
23
|
+
financial_account_token: String?,
|
|
24
|
+
name: String?,
|
|
25
|
+
user_defined_id: String?,
|
|
26
|
+
verification_failed_reason: String?
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class ExternalBankAccount < Lithic::Internal::Type::BaseModel
|
|
30
|
+
attr_accessor token: String
|
|
31
|
+
|
|
32
|
+
attr_accessor country: String
|
|
33
|
+
|
|
34
|
+
attr_accessor created: Time
|
|
35
|
+
|
|
36
|
+
attr_accessor currency: String
|
|
37
|
+
|
|
38
|
+
attr_accessor last_four: String
|
|
39
|
+
|
|
40
|
+
attr_accessor owner: String
|
|
41
|
+
|
|
42
|
+
attr_accessor owner_type: Lithic::Models::owner_type
|
|
43
|
+
|
|
44
|
+
attr_accessor routing_number: String
|
|
45
|
+
|
|
46
|
+
attr_accessor state: Lithic::Models::ExternalBankAccount::state
|
|
47
|
+
|
|
48
|
+
attr_accessor type: Lithic::Models::ExternalBankAccount::type_
|
|
49
|
+
|
|
50
|
+
attr_accessor verification_attempts: Integer
|
|
51
|
+
|
|
52
|
+
attr_accessor verification_method: Lithic::Models::verification_method
|
|
53
|
+
|
|
54
|
+
attr_accessor verification_state: Lithic::Models::ExternalBankAccount::verification_state
|
|
55
|
+
|
|
56
|
+
attr_accessor account_token: String?
|
|
57
|
+
|
|
58
|
+
attr_accessor address: Lithic::ExternalBankAccountAddress?
|
|
59
|
+
|
|
60
|
+
attr_accessor company_id: String?
|
|
61
|
+
|
|
62
|
+
attr_accessor dob: Date?
|
|
63
|
+
|
|
64
|
+
attr_accessor doing_business_as: String?
|
|
65
|
+
|
|
66
|
+
attr_accessor financial_account_token: String?
|
|
67
|
+
|
|
68
|
+
attr_accessor name: String?
|
|
69
|
+
|
|
70
|
+
attr_accessor user_defined_id: String?
|
|
71
|
+
|
|
72
|
+
attr_accessor verification_failed_reason: String?
|
|
73
|
+
|
|
74
|
+
def initialize: (
|
|
75
|
+
token: String,
|
|
76
|
+
country: String,
|
|
77
|
+
created: Time,
|
|
78
|
+
currency: String,
|
|
79
|
+
last_four: String,
|
|
80
|
+
owner: String,
|
|
81
|
+
owner_type: Lithic::Models::owner_type,
|
|
82
|
+
routing_number: String,
|
|
83
|
+
state: Lithic::Models::ExternalBankAccount::state,
|
|
84
|
+
type: Lithic::Models::ExternalBankAccount::type_,
|
|
85
|
+
verification_attempts: Integer,
|
|
86
|
+
verification_method: Lithic::Models::verification_method,
|
|
87
|
+
verification_state: Lithic::Models::ExternalBankAccount::verification_state,
|
|
88
|
+
?account_token: String?,
|
|
89
|
+
?address: Lithic::ExternalBankAccountAddress?,
|
|
90
|
+
?company_id: String?,
|
|
91
|
+
?dob: Date?,
|
|
92
|
+
?doing_business_as: String?,
|
|
93
|
+
?financial_account_token: String?,
|
|
94
|
+
?name: String?,
|
|
95
|
+
?user_defined_id: String?,
|
|
96
|
+
?verification_failed_reason: String?
|
|
97
|
+
) -> void
|
|
98
|
+
|
|
99
|
+
def to_hash: -> {
|
|
100
|
+
token: String,
|
|
101
|
+
country: String,
|
|
102
|
+
created: Time,
|
|
103
|
+
currency: String,
|
|
104
|
+
last_four: String,
|
|
105
|
+
owner: String,
|
|
106
|
+
owner_type: Lithic::Models::owner_type,
|
|
107
|
+
routing_number: String,
|
|
108
|
+
state: Lithic::Models::ExternalBankAccount::state,
|
|
109
|
+
type: Lithic::Models::ExternalBankAccount::type_,
|
|
110
|
+
verification_attempts: Integer,
|
|
111
|
+
verification_method: Lithic::Models::verification_method,
|
|
112
|
+
verification_state: Lithic::Models::ExternalBankAccount::verification_state,
|
|
113
|
+
account_token: String?,
|
|
114
|
+
address: Lithic::ExternalBankAccountAddress?,
|
|
115
|
+
company_id: String?,
|
|
116
|
+
dob: Date?,
|
|
117
|
+
doing_business_as: String?,
|
|
118
|
+
financial_account_token: String?,
|
|
119
|
+
name: String?,
|
|
120
|
+
user_defined_id: String?,
|
|
121
|
+
verification_failed_reason: String?
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
type state = :ENABLED | :CLOSED | :PAUSED
|
|
125
|
+
|
|
126
|
+
module State
|
|
127
|
+
extend Lithic::Internal::Type::Enum
|
|
128
|
+
|
|
129
|
+
ENABLED: :ENABLED
|
|
130
|
+
CLOSED: :CLOSED
|
|
131
|
+
PAUSED: :PAUSED
|
|
132
|
+
|
|
133
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccount::state]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
type type_ = :CHECKING | :SAVINGS
|
|
137
|
+
|
|
138
|
+
module Type
|
|
139
|
+
extend Lithic::Internal::Type::Enum
|
|
140
|
+
|
|
141
|
+
CHECKING: :CHECKING
|
|
142
|
+
SAVINGS: :SAVINGS
|
|
143
|
+
|
|
144
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccount::type_]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
type verification_state =
|
|
148
|
+
:PENDING | :ENABLED | :FAILED_VERIFICATION | :INSUFFICIENT_FUNDS
|
|
149
|
+
|
|
150
|
+
module VerificationState
|
|
151
|
+
extend Lithic::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
PENDING: :PENDING
|
|
154
|
+
ENABLED: :ENABLED
|
|
155
|
+
FAILED_VERIFICATION: :FAILED_VERIFICATION
|
|
156
|
+
INSUFFICIENT_FUNDS: :INSUFFICIENT_FUNDS
|
|
157
|
+
|
|
158
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalBankAccount::verification_state]
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|