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,129 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputesV2ListParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::DisputesV2ListParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Filter by account token.
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_reader :account_token
|
|
17
|
+
|
|
18
|
+
sig { params(account_token: String).void }
|
|
19
|
+
attr_writer :account_token
|
|
20
|
+
|
|
21
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
22
|
+
sig { returns(T.nilable(Time)) }
|
|
23
|
+
attr_reader :begin_
|
|
24
|
+
|
|
25
|
+
sig { params(begin_: Time).void }
|
|
26
|
+
attr_writer :begin_
|
|
27
|
+
|
|
28
|
+
# Filter by card token.
|
|
29
|
+
sig { returns(T.nilable(String)) }
|
|
30
|
+
attr_reader :card_token
|
|
31
|
+
|
|
32
|
+
sig { params(card_token: String).void }
|
|
33
|
+
attr_writer :card_token
|
|
34
|
+
|
|
35
|
+
# Filter by the token of the transaction being disputed. Corresponds with
|
|
36
|
+
# transaction_series.related_transaction_token in the Dispute.
|
|
37
|
+
sig { returns(T.nilable(String)) }
|
|
38
|
+
attr_reader :disputed_transaction_token
|
|
39
|
+
|
|
40
|
+
sig { params(disputed_transaction_token: String).void }
|
|
41
|
+
attr_writer :disputed_transaction_token
|
|
42
|
+
|
|
43
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
44
|
+
sig { returns(T.nilable(Time)) }
|
|
45
|
+
attr_reader :end_
|
|
46
|
+
|
|
47
|
+
sig { params(end_: Time).void }
|
|
48
|
+
attr_writer :end_
|
|
49
|
+
|
|
50
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
51
|
+
# Used to retrieve the previous page of results before this item.
|
|
52
|
+
sig { returns(T.nilable(String)) }
|
|
53
|
+
attr_reader :ending_before
|
|
54
|
+
|
|
55
|
+
sig { params(ending_before: String).void }
|
|
56
|
+
attr_writer :ending_before
|
|
57
|
+
|
|
58
|
+
# Number of items to return.
|
|
59
|
+
sig { returns(T.nilable(Integer)) }
|
|
60
|
+
attr_reader :page_size
|
|
61
|
+
|
|
62
|
+
sig { params(page_size: Integer).void }
|
|
63
|
+
attr_writer :page_size
|
|
64
|
+
|
|
65
|
+
# A cursor representing an item's token after which a page of results should
|
|
66
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
67
|
+
sig { returns(T.nilable(String)) }
|
|
68
|
+
attr_reader :starting_after
|
|
69
|
+
|
|
70
|
+
sig { params(starting_after: String).void }
|
|
71
|
+
attr_writer :starting_after
|
|
72
|
+
|
|
73
|
+
sig do
|
|
74
|
+
params(
|
|
75
|
+
account_token: String,
|
|
76
|
+
begin_: Time,
|
|
77
|
+
card_token: String,
|
|
78
|
+
disputed_transaction_token: String,
|
|
79
|
+
end_: Time,
|
|
80
|
+
ending_before: String,
|
|
81
|
+
page_size: Integer,
|
|
82
|
+
starting_after: String,
|
|
83
|
+
request_options: Lithic::RequestOptions::OrHash
|
|
84
|
+
).returns(T.attached_class)
|
|
85
|
+
end
|
|
86
|
+
def self.new(
|
|
87
|
+
# Filter by account token.
|
|
88
|
+
account_token: nil,
|
|
89
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
90
|
+
begin_: nil,
|
|
91
|
+
# Filter by card token.
|
|
92
|
+
card_token: nil,
|
|
93
|
+
# Filter by the token of the transaction being disputed. Corresponds with
|
|
94
|
+
# transaction_series.related_transaction_token in the Dispute.
|
|
95
|
+
disputed_transaction_token: nil,
|
|
96
|
+
# RFC 3339 timestamp for filtering by created date, inclusive.
|
|
97
|
+
end_: nil,
|
|
98
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
99
|
+
# Used to retrieve the previous page of results before this item.
|
|
100
|
+
ending_before: nil,
|
|
101
|
+
# Number of items to return.
|
|
102
|
+
page_size: nil,
|
|
103
|
+
# A cursor representing an item's token after which a page of results should
|
|
104
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
105
|
+
starting_after: nil,
|
|
106
|
+
request_options: {}
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
sig do
|
|
111
|
+
override.returns(
|
|
112
|
+
{
|
|
113
|
+
account_token: String,
|
|
114
|
+
begin_: Time,
|
|
115
|
+
card_token: String,
|
|
116
|
+
disputed_transaction_token: String,
|
|
117
|
+
end_: Time,
|
|
118
|
+
ending_before: String,
|
|
119
|
+
page_size: Integer,
|
|
120
|
+
starting_after: String,
|
|
121
|
+
request_options: Lithic::RequestOptions
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
end
|
|
125
|
+
def to_hash
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class DisputesV2RetrieveParams < Lithic::Internal::Type::BaseModel
|
|
6
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Lithic::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Lithic::DisputesV2RetrieveParams, Lithic::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
params(request_options: Lithic::RequestOptions::OrHash).returns(
|
|
16
|
+
T.attached_class
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
def self.new(request_options: {})
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
sig { override.returns({ request_options: Lithic::RequestOptions }) }
|
|
23
|
+
def to_hash
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
module Lithic
|
|
4
4
|
module Models
|
|
5
|
-
class
|
|
5
|
+
class ExternalBankAccount < Lithic::Internal::Type::BaseModel
|
|
6
6
|
OrHash =
|
|
7
7
|
T.type_alias do
|
|
8
|
-
T.any(
|
|
9
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse,
|
|
10
|
-
Lithic::Internal::AnyHash
|
|
11
|
-
)
|
|
8
|
+
T.any(Lithic::ExternalBankAccount, Lithic::Internal::AnyHash)
|
|
12
9
|
end
|
|
13
10
|
|
|
14
11
|
# A globally unique identifier for this record of an external bank account
|
|
@@ -51,19 +48,11 @@ module Lithic
|
|
|
51
48
|
attr_accessor :routing_number
|
|
52
49
|
|
|
53
50
|
# Account State
|
|
54
|
-
sig
|
|
55
|
-
returns(
|
|
56
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State::TaggedSymbol
|
|
57
|
-
)
|
|
58
|
-
end
|
|
51
|
+
sig { returns(Lithic::ExternalBankAccount::State::TaggedSymbol) }
|
|
59
52
|
attr_accessor :state
|
|
60
53
|
|
|
61
54
|
# Account Type
|
|
62
|
-
sig
|
|
63
|
-
returns(
|
|
64
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::TaggedSymbol
|
|
65
|
-
)
|
|
66
|
-
end
|
|
55
|
+
sig { returns(Lithic::ExternalBankAccount::Type::TaggedSymbol) }
|
|
67
56
|
attr_accessor :type
|
|
68
57
|
|
|
69
58
|
# The number of attempts at verification
|
|
@@ -76,9 +65,7 @@ module Lithic
|
|
|
76
65
|
|
|
77
66
|
# Verification State
|
|
78
67
|
sig do
|
|
79
|
-
returns(
|
|
80
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState::TaggedSymbol
|
|
81
|
-
)
|
|
68
|
+
returns(Lithic::ExternalBankAccount::VerificationState::TaggedSymbol)
|
|
82
69
|
end
|
|
83
70
|
attr_accessor :verification_state
|
|
84
71
|
|
|
@@ -86,68 +73,48 @@ module Lithic
|
|
|
86
73
|
# external accounts that are associated with the program, account_token field
|
|
87
74
|
# returned will be null
|
|
88
75
|
sig { returns(T.nilable(String)) }
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
sig { params(account_token: String).void }
|
|
92
|
-
attr_writer :account_token
|
|
76
|
+
attr_accessor :account_token
|
|
93
77
|
|
|
94
78
|
# Address
|
|
95
79
|
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
96
80
|
attr_reader :address
|
|
97
81
|
|
|
98
|
-
sig
|
|
82
|
+
sig do
|
|
83
|
+
params(
|
|
84
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
85
|
+
).void
|
|
86
|
+
end
|
|
99
87
|
attr_writer :address
|
|
100
88
|
|
|
101
89
|
# Optional field that helps identify bank accounts in receipts
|
|
102
90
|
sig { returns(T.nilable(String)) }
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
sig { params(company_id: String).void }
|
|
106
|
-
attr_writer :company_id
|
|
91
|
+
attr_accessor :company_id
|
|
107
92
|
|
|
108
93
|
# Date of Birth of the Individual that owns the external bank account
|
|
109
94
|
sig { returns(T.nilable(Date)) }
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
sig { params(dob: Date).void }
|
|
113
|
-
attr_writer :dob
|
|
95
|
+
attr_accessor :dob
|
|
114
96
|
|
|
115
97
|
# Doing Business As
|
|
116
98
|
sig { returns(T.nilable(String)) }
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
sig { params(doing_business_as: String).void }
|
|
120
|
-
attr_writer :doing_business_as
|
|
99
|
+
attr_accessor :doing_business_as
|
|
121
100
|
|
|
122
101
|
# The financial account token of the operating account to fund the micro deposits
|
|
123
102
|
sig { returns(T.nilable(String)) }
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
sig { params(financial_account_token: String).void }
|
|
127
|
-
attr_writer :financial_account_token
|
|
103
|
+
attr_accessor :financial_account_token
|
|
128
104
|
|
|
129
105
|
# The nickname for this External Bank Account
|
|
130
106
|
sig { returns(T.nilable(String)) }
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
sig { params(name: String).void }
|
|
134
|
-
attr_writer :name
|
|
107
|
+
attr_accessor :name
|
|
135
108
|
|
|
136
109
|
# User Defined ID
|
|
137
110
|
sig { returns(T.nilable(String)) }
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
sig { params(user_defined_id: String).void }
|
|
141
|
-
attr_writer :user_defined_id
|
|
111
|
+
attr_accessor :user_defined_id
|
|
142
112
|
|
|
143
113
|
# Optional free text description of the reason for the failed verification. For
|
|
144
114
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
145
115
|
# by the ACH network
|
|
146
116
|
sig { returns(T.nilable(String)) }
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
sig { params(verification_failed_reason: String).void }
|
|
150
|
-
attr_writer :verification_failed_reason
|
|
117
|
+
attr_accessor :verification_failed_reason
|
|
151
118
|
|
|
152
119
|
sig do
|
|
153
120
|
params(
|
|
@@ -159,23 +126,21 @@ module Lithic
|
|
|
159
126
|
owner: String,
|
|
160
127
|
owner_type: Lithic::OwnerType::OrSymbol,
|
|
161
128
|
routing_number: String,
|
|
162
|
-
state:
|
|
163
|
-
|
|
164
|
-
type:
|
|
165
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::OrSymbol,
|
|
129
|
+
state: Lithic::ExternalBankAccount::State::OrSymbol,
|
|
130
|
+
type: Lithic::ExternalBankAccount::Type::OrSymbol,
|
|
166
131
|
verification_attempts: Integer,
|
|
167
132
|
verification_method: Lithic::VerificationMethod::OrSymbol,
|
|
168
133
|
verification_state:
|
|
169
|
-
Lithic::
|
|
170
|
-
account_token: String,
|
|
171
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
172
|
-
company_id: String,
|
|
173
|
-
dob: Date,
|
|
174
|
-
doing_business_as: String,
|
|
175
|
-
financial_account_token: String,
|
|
176
|
-
name: String,
|
|
177
|
-
user_defined_id: String,
|
|
178
|
-
verification_failed_reason: String
|
|
134
|
+
Lithic::ExternalBankAccount::VerificationState::OrSymbol,
|
|
135
|
+
account_token: T.nilable(String),
|
|
136
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
137
|
+
company_id: T.nilable(String),
|
|
138
|
+
dob: T.nilable(Date),
|
|
139
|
+
doing_business_as: T.nilable(String),
|
|
140
|
+
financial_account_token: T.nilable(String),
|
|
141
|
+
name: T.nilable(String),
|
|
142
|
+
user_defined_id: T.nilable(String),
|
|
143
|
+
verification_failed_reason: T.nilable(String)
|
|
179
144
|
).returns(T.attached_class)
|
|
180
145
|
end
|
|
181
146
|
def self.new(
|
|
@@ -248,23 +213,21 @@ module Lithic
|
|
|
248
213
|
owner: String,
|
|
249
214
|
owner_type: Lithic::OwnerType::TaggedSymbol,
|
|
250
215
|
routing_number: String,
|
|
251
|
-
state:
|
|
252
|
-
|
|
253
|
-
type:
|
|
254
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::TaggedSymbol,
|
|
216
|
+
state: Lithic::ExternalBankAccount::State::TaggedSymbol,
|
|
217
|
+
type: Lithic::ExternalBankAccount::Type::TaggedSymbol,
|
|
255
218
|
verification_attempts: Integer,
|
|
256
219
|
verification_method: Lithic::VerificationMethod::TaggedSymbol,
|
|
257
220
|
verification_state:
|
|
258
|
-
Lithic::
|
|
259
|
-
account_token: String,
|
|
260
|
-
address: Lithic::ExternalBankAccountAddress,
|
|
261
|
-
company_id: String,
|
|
262
|
-
dob: Date,
|
|
263
|
-
doing_business_as: String,
|
|
264
|
-
financial_account_token: String,
|
|
265
|
-
name: String,
|
|
266
|
-
user_defined_id: String,
|
|
267
|
-
verification_failed_reason: String
|
|
221
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol,
|
|
222
|
+
account_token: T.nilable(String),
|
|
223
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
224
|
+
company_id: T.nilable(String),
|
|
225
|
+
dob: T.nilable(Date),
|
|
226
|
+
doing_business_as: T.nilable(String),
|
|
227
|
+
financial_account_token: T.nilable(String),
|
|
228
|
+
name: T.nilable(String),
|
|
229
|
+
user_defined_id: T.nilable(String),
|
|
230
|
+
verification_failed_reason: T.nilable(String)
|
|
268
231
|
}
|
|
269
232
|
)
|
|
270
233
|
end
|
|
@@ -276,35 +239,19 @@ module Lithic
|
|
|
276
239
|
extend Lithic::Internal::Type::Enum
|
|
277
240
|
|
|
278
241
|
TaggedSymbol =
|
|
279
|
-
T.type_alias
|
|
280
|
-
T.all(
|
|
281
|
-
Symbol,
|
|
282
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State
|
|
283
|
-
)
|
|
284
|
-
end
|
|
242
|
+
T.type_alias { T.all(Symbol, Lithic::ExternalBankAccount::State) }
|
|
285
243
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
286
244
|
|
|
287
245
|
ENABLED =
|
|
288
|
-
T.let(
|
|
289
|
-
:ENABLED,
|
|
290
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State::TaggedSymbol
|
|
291
|
-
)
|
|
246
|
+
T.let(:ENABLED, Lithic::ExternalBankAccount::State::TaggedSymbol)
|
|
292
247
|
CLOSED =
|
|
293
|
-
T.let(
|
|
294
|
-
:CLOSED,
|
|
295
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State::TaggedSymbol
|
|
296
|
-
)
|
|
248
|
+
T.let(:CLOSED, Lithic::ExternalBankAccount::State::TaggedSymbol)
|
|
297
249
|
PAUSED =
|
|
298
|
-
T.let(
|
|
299
|
-
:PAUSED,
|
|
300
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State::TaggedSymbol
|
|
301
|
-
)
|
|
250
|
+
T.let(:PAUSED, Lithic::ExternalBankAccount::State::TaggedSymbol)
|
|
302
251
|
|
|
303
252
|
sig do
|
|
304
253
|
override.returns(
|
|
305
|
-
T::Array[
|
|
306
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::State::TaggedSymbol
|
|
307
|
-
]
|
|
254
|
+
T::Array[Lithic::ExternalBankAccount::State::TaggedSymbol]
|
|
308
255
|
)
|
|
309
256
|
end
|
|
310
257
|
def self.values
|
|
@@ -316,30 +263,17 @@ module Lithic
|
|
|
316
263
|
extend Lithic::Internal::Type::Enum
|
|
317
264
|
|
|
318
265
|
TaggedSymbol =
|
|
319
|
-
T.type_alias
|
|
320
|
-
T.all(
|
|
321
|
-
Symbol,
|
|
322
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type
|
|
323
|
-
)
|
|
324
|
-
end
|
|
266
|
+
T.type_alias { T.all(Symbol, Lithic::ExternalBankAccount::Type) }
|
|
325
267
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
326
268
|
|
|
327
269
|
CHECKING =
|
|
328
|
-
T.let(
|
|
329
|
-
:CHECKING,
|
|
330
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::TaggedSymbol
|
|
331
|
-
)
|
|
270
|
+
T.let(:CHECKING, Lithic::ExternalBankAccount::Type::TaggedSymbol)
|
|
332
271
|
SAVINGS =
|
|
333
|
-
T.let(
|
|
334
|
-
:SAVINGS,
|
|
335
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::TaggedSymbol
|
|
336
|
-
)
|
|
272
|
+
T.let(:SAVINGS, Lithic::ExternalBankAccount::Type::TaggedSymbol)
|
|
337
273
|
|
|
338
274
|
sig do
|
|
339
275
|
override.returns(
|
|
340
|
-
T::Array[
|
|
341
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::Type::TaggedSymbol
|
|
342
|
-
]
|
|
276
|
+
T::Array[Lithic::ExternalBankAccount::Type::TaggedSymbol]
|
|
343
277
|
)
|
|
344
278
|
end
|
|
345
279
|
def self.values
|
|
@@ -352,38 +286,35 @@ module Lithic
|
|
|
352
286
|
|
|
353
287
|
TaggedSymbol =
|
|
354
288
|
T.type_alias do
|
|
355
|
-
T.all(
|
|
356
|
-
Symbol,
|
|
357
|
-
Lithic::Models::ExternalBankAccountRetryPrenoteResponse::VerificationState
|
|
358
|
-
)
|
|
289
|
+
T.all(Symbol, Lithic::ExternalBankAccount::VerificationState)
|
|
359
290
|
end
|
|
360
291
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
361
292
|
|
|
362
293
|
PENDING =
|
|
363
294
|
T.let(
|
|
364
295
|
:PENDING,
|
|
365
|
-
Lithic::
|
|
296
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol
|
|
366
297
|
)
|
|
367
298
|
ENABLED =
|
|
368
299
|
T.let(
|
|
369
300
|
:ENABLED,
|
|
370
|
-
Lithic::
|
|
301
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol
|
|
371
302
|
)
|
|
372
303
|
FAILED_VERIFICATION =
|
|
373
304
|
T.let(
|
|
374
305
|
:FAILED_VERIFICATION,
|
|
375
|
-
Lithic::
|
|
306
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol
|
|
376
307
|
)
|
|
377
308
|
INSUFFICIENT_FUNDS =
|
|
378
309
|
T.let(
|
|
379
310
|
:INSUFFICIENT_FUNDS,
|
|
380
|
-
Lithic::
|
|
311
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol
|
|
381
312
|
)
|
|
382
313
|
|
|
383
314
|
sig do
|
|
384
315
|
override.returns(
|
|
385
316
|
T::Array[
|
|
386
|
-
Lithic::
|
|
317
|
+
Lithic::ExternalBankAccount::VerificationState::TaggedSymbol
|
|
387
318
|
]
|
|
388
319
|
)
|
|
389
320
|
end
|
|
@@ -24,10 +24,7 @@ module Lithic
|
|
|
24
24
|
attr_accessor :state
|
|
25
25
|
|
|
26
26
|
sig { returns(T.nilable(String)) }
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
sig { params(address2: String).void }
|
|
30
|
-
attr_writer :address2
|
|
27
|
+
attr_accessor :address2
|
|
31
28
|
|
|
32
29
|
sig do
|
|
33
30
|
params(
|
|
@@ -36,7 +33,7 @@ module Lithic
|
|
|
36
33
|
country: String,
|
|
37
34
|
postal_code: String,
|
|
38
35
|
state: String,
|
|
39
|
-
address2: String
|
|
36
|
+
address2: T.nilable(String)
|
|
40
37
|
).returns(T.attached_class)
|
|
41
38
|
end
|
|
42
39
|
def self.new(
|
|
@@ -57,7 +54,7 @@ module Lithic
|
|
|
57
54
|
country: String,
|
|
58
55
|
postal_code: String,
|
|
59
56
|
state: String,
|
|
60
|
-
address2: String
|
|
57
|
+
address2: T.nilable(String)
|
|
61
58
|
}
|
|
62
59
|
)
|
|
63
60
|
end
|
|
@@ -94,68 +94,48 @@ module Lithic
|
|
|
94
94
|
# external accounts that are associated with the program, account_token field
|
|
95
95
|
# returned will be null
|
|
96
96
|
sig { returns(T.nilable(String)) }
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
sig { params(account_token: String).void }
|
|
100
|
-
attr_writer :account_token
|
|
97
|
+
attr_accessor :account_token
|
|
101
98
|
|
|
102
99
|
# Address
|
|
103
100
|
sig { returns(T.nilable(Lithic::ExternalBankAccountAddress)) }
|
|
104
101
|
attr_reader :address
|
|
105
102
|
|
|
106
|
-
sig
|
|
103
|
+
sig do
|
|
104
|
+
params(
|
|
105
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash)
|
|
106
|
+
).void
|
|
107
|
+
end
|
|
107
108
|
attr_writer :address
|
|
108
109
|
|
|
109
110
|
# Optional field that helps identify bank accounts in receipts
|
|
110
111
|
sig { returns(T.nilable(String)) }
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
sig { params(company_id: String).void }
|
|
114
|
-
attr_writer :company_id
|
|
112
|
+
attr_accessor :company_id
|
|
115
113
|
|
|
116
114
|
# Date of Birth of the Individual that owns the external bank account
|
|
117
115
|
sig { returns(T.nilable(Date)) }
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
sig { params(dob: Date).void }
|
|
121
|
-
attr_writer :dob
|
|
116
|
+
attr_accessor :dob
|
|
122
117
|
|
|
123
118
|
# Doing Business As
|
|
124
119
|
sig { returns(T.nilable(String)) }
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
sig { params(doing_business_as: String).void }
|
|
128
|
-
attr_writer :doing_business_as
|
|
120
|
+
attr_accessor :doing_business_as
|
|
129
121
|
|
|
130
122
|
# The financial account token of the operating account to fund the micro deposits
|
|
131
123
|
sig { returns(T.nilable(String)) }
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
sig { params(financial_account_token: String).void }
|
|
135
|
-
attr_writer :financial_account_token
|
|
124
|
+
attr_accessor :financial_account_token
|
|
136
125
|
|
|
137
126
|
# The nickname for this External Bank Account
|
|
138
127
|
sig { returns(T.nilable(String)) }
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
sig { params(name: String).void }
|
|
142
|
-
attr_writer :name
|
|
128
|
+
attr_accessor :name
|
|
143
129
|
|
|
144
130
|
# User Defined ID
|
|
145
131
|
sig { returns(T.nilable(String)) }
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
sig { params(user_defined_id: String).void }
|
|
149
|
-
attr_writer :user_defined_id
|
|
132
|
+
attr_accessor :user_defined_id
|
|
150
133
|
|
|
151
134
|
# Optional free text description of the reason for the failed verification. For
|
|
152
135
|
# ACH micro-deposits returned, this field will display the reason return code sent
|
|
153
136
|
# by the ACH network
|
|
154
137
|
sig { returns(T.nilable(String)) }
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
sig { params(verification_failed_reason: String).void }
|
|
158
|
-
attr_writer :verification_failed_reason
|
|
138
|
+
attr_accessor :verification_failed_reason
|
|
159
139
|
|
|
160
140
|
sig do
|
|
161
141
|
params(
|
|
@@ -177,15 +157,15 @@ module Lithic
|
|
|
177
157
|
Lithic::Models::ExternalBankAccountCreateResponse::VerificationMethod::OrSymbol,
|
|
178
158
|
verification_state:
|
|
179
159
|
Lithic::Models::ExternalBankAccountCreateResponse::VerificationState::OrSymbol,
|
|
180
|
-
account_token: String,
|
|
181
|
-
address: Lithic::ExternalBankAccountAddress::OrHash,
|
|
182
|
-
company_id: String,
|
|
183
|
-
dob: Date,
|
|
184
|
-
doing_business_as: String,
|
|
185
|
-
financial_account_token: String,
|
|
186
|
-
name: String,
|
|
187
|
-
user_defined_id: String,
|
|
188
|
-
verification_failed_reason: String
|
|
160
|
+
account_token: T.nilable(String),
|
|
161
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress::OrHash),
|
|
162
|
+
company_id: T.nilable(String),
|
|
163
|
+
dob: T.nilable(Date),
|
|
164
|
+
doing_business_as: T.nilable(String),
|
|
165
|
+
financial_account_token: T.nilable(String),
|
|
166
|
+
name: T.nilable(String),
|
|
167
|
+
user_defined_id: T.nilable(String),
|
|
168
|
+
verification_failed_reason: T.nilable(String)
|
|
189
169
|
).returns(T.attached_class)
|
|
190
170
|
end
|
|
191
171
|
def self.new(
|
|
@@ -268,15 +248,15 @@ module Lithic
|
|
|
268
248
|
Lithic::Models::ExternalBankAccountCreateResponse::VerificationMethod::TaggedSymbol,
|
|
269
249
|
verification_state:
|
|
270
250
|
Lithic::Models::ExternalBankAccountCreateResponse::VerificationState::TaggedSymbol,
|
|
271
|
-
account_token: String,
|
|
272
|
-
address: Lithic::ExternalBankAccountAddress,
|
|
273
|
-
company_id: String,
|
|
274
|
-
dob: Date,
|
|
275
|
-
doing_business_as: String,
|
|
276
|
-
financial_account_token: String,
|
|
277
|
-
name: String,
|
|
278
|
-
user_defined_id: String,
|
|
279
|
-
verification_failed_reason: String
|
|
251
|
+
account_token: T.nilable(String),
|
|
252
|
+
address: T.nilable(Lithic::ExternalBankAccountAddress),
|
|
253
|
+
company_id: T.nilable(String),
|
|
254
|
+
dob: T.nilable(Date),
|
|
255
|
+
doing_business_as: T.nilable(String),
|
|
256
|
+
financial_account_token: T.nilable(String),
|
|
257
|
+
name: T.nilable(String),
|
|
258
|
+
user_defined_id: T.nilable(String),
|
|
259
|
+
verification_failed_reason: T.nilable(String)
|
|
280
260
|
}
|
|
281
261
|
)
|
|
282
262
|
end
|