lithic 0.1.0.pre.alpha.16 → 0.1.0.pre.alpha.18
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 +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +33 -0
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/{card_list_response.rb → non_pci_card.rb} +96 -51
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +177 -69
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -9
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +36 -0
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -73,12 +73,23 @@ module Lithic
|
|
73
73
|
.returns(T.attached_class)
|
74
74
|
end
|
75
75
|
def self.new(
|
76
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
77
|
+
# will be included. UTC time zone.
|
76
78
|
begin_: nil,
|
79
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
80
|
+
# will be included. UTC time zone.
|
77
81
|
end_: nil,
|
82
|
+
# A cursor representing an item's token before which a page of results should end.
|
83
|
+
# Used to retrieve the previous page of results before this item.
|
78
84
|
ending_before: nil,
|
85
|
+
# Page size (for pagination).
|
79
86
|
page_size: nil,
|
87
|
+
# A cursor representing an item's token after which a page of results should
|
88
|
+
# begin. Used to retrieve the next page of results after this item.
|
80
89
|
starting_after: nil,
|
90
|
+
# List disputes of a specific status.
|
81
91
|
status: nil,
|
92
|
+
# Transaction tokens to filter by.
|
82
93
|
transaction_tokens: nil,
|
83
94
|
request_options: {}
|
84
95
|
); end
|
@@ -45,14 +45,16 @@ module Lithic
|
|
45
45
|
.returns(T.attached_class)
|
46
46
|
end
|
47
47
|
def self.new(
|
48
|
+
# Amount to dispute
|
48
49
|
amount: nil,
|
50
|
+
# Date the customer filed the dispute
|
49
51
|
customer_filed_date: nil,
|
52
|
+
# Customer description of dispute
|
50
53
|
customer_note: nil,
|
54
|
+
# Reason for dispute
|
51
55
|
reason: nil,
|
52
56
|
request_options: {}
|
53
|
-
)
|
54
|
-
end
|
55
|
-
|
57
|
+
); end
|
56
58
|
sig do
|
57
59
|
override
|
58
60
|
.returns(
|
@@ -35,9 +35,18 @@ module Lithic
|
|
35
35
|
)
|
36
36
|
.returns(T.attached_class)
|
37
37
|
end
|
38
|
-
def self.new(
|
39
|
-
|
40
|
-
|
38
|
+
def self.new(
|
39
|
+
# Globally unique identifier for the document.
|
40
|
+
token:,
|
41
|
+
# Globally unique identifier for the account holder.
|
42
|
+
account_holder_token:,
|
43
|
+
# Type of documentation to be submitted for verification of an account holder
|
44
|
+
document_type:,
|
45
|
+
# Globally unique identifier for an entity.
|
46
|
+
entity_token:,
|
47
|
+
# Represents a single image of the document to upload.
|
48
|
+
required_document_uploads:
|
49
|
+
); end
|
41
50
|
sig do
|
42
51
|
override
|
43
52
|
.returns(
|
@@ -149,14 +158,29 @@ module Lithic
|
|
149
158
|
.returns(T.attached_class)
|
150
159
|
end
|
151
160
|
def self.new(
|
161
|
+
# Globally unique identifier for the document upload.
|
152
162
|
token:,
|
163
|
+
# A list of status reasons associated with a KYB account holder that have been
|
164
|
+
# satisfied by the document upload
|
153
165
|
accepted_entity_status_reasons:,
|
166
|
+
# When the document upload was created
|
154
167
|
created:,
|
168
|
+
# Type of image to upload.
|
155
169
|
image_type:,
|
170
|
+
# A list of status reasons associated with a KYB account holder that have not been
|
171
|
+
# satisfied by the document upload
|
156
172
|
rejected_entity_status_reasons:,
|
173
|
+
# Status of an account holder's document upload.
|
157
174
|
status:,
|
175
|
+
# Reasons for document image upload status.
|
158
176
|
status_reasons:,
|
177
|
+
# When the document upload was last updated
|
159
178
|
updated:,
|
179
|
+
# URL to upload document image to.
|
180
|
+
#
|
181
|
+
# Note that the upload URLs expire after 7 days. If an upload URL expires, you can
|
182
|
+
# refresh the URLs by retrieving the document upload from
|
183
|
+
# `GET /account_holders/{account_holder_token}/documents`.
|
160
184
|
upload_url:
|
161
185
|
); end
|
162
186
|
sig do
|
@@ -58,8 +58,45 @@ module Lithic
|
|
58
58
|
)
|
59
59
|
.returns(T.attached_class)
|
60
60
|
end
|
61
|
-
def self.new(
|
62
|
-
|
61
|
+
def self.new(
|
62
|
+
# Globally unique identifier.
|
63
|
+
token:,
|
64
|
+
# An RFC 3339 timestamp for when the event was created. UTC time zone.
|
65
|
+
#
|
66
|
+
# If no timezone is specified, UTC will be used.
|
67
|
+
created:,
|
68
|
+
# Event types:
|
69
|
+
#
|
70
|
+
# - `account_holder.created` - Notification that a new account holder has been
|
71
|
+
# created and was not rejected.
|
72
|
+
# - `account_holder.updated` - Notification that an account holder was updated.
|
73
|
+
# - `account_holder.verification` - Notification than an account holder's identity
|
74
|
+
# verification is complete.
|
75
|
+
# - `card.created` - Notification that a card has been created.
|
76
|
+
# - `card.renewed` - Notification that a card has been renewed.
|
77
|
+
# - `card.reissued` - Notification that a card has been reissued.
|
78
|
+
# - `card.shipped` - Physical card shipment notification. See
|
79
|
+
# https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.
|
80
|
+
# - `card.converted` - Notification that a virtual card has been converted to a
|
81
|
+
# physical card.
|
82
|
+
# - `card_transaction.updated` - Transaction Lifecycle webhook. See
|
83
|
+
# https://docs.lithic.com/docs/transaction-webhooks.
|
84
|
+
# - `dispute.updated` - A dispute has been updated.
|
85
|
+
# - `digital_wallet.tokenization_approval_request` - Card network's request to
|
86
|
+
# Lithic to activate a digital wallet token.
|
87
|
+
# - `digital_wallet.tokenization_result` - Notification of the end result of a
|
88
|
+
# tokenization, whether successful or failed.
|
89
|
+
# - `digital_wallet.tokenization_two_factor_authentication_code` - A code to be
|
90
|
+
# passed to an end user to complete digital wallet authentication. See
|
91
|
+
# https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.
|
92
|
+
# - `digital_wallet.tokenization_two_factor_authentication_code_sent` -
|
93
|
+
# Notification that a two factor authentication code for activating a digital
|
94
|
+
# wallet has been sent to the end user.
|
95
|
+
# - `digital_wallet.tokenization_updated` - Notification that a digital wallet
|
96
|
+
# tokenization's status has changed.
|
97
|
+
event_type:,
|
98
|
+
payload:
|
99
|
+
); end
|
63
100
|
sig do
|
64
101
|
override
|
65
102
|
.returns(
|
@@ -64,10 +64,19 @@ module Lithic
|
|
64
64
|
.returns(T.attached_class)
|
65
65
|
end
|
66
66
|
def self.new(
|
67
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
68
|
+
# will be included. UTC time zone.
|
67
69
|
begin_: nil,
|
70
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
71
|
+
# will be included. UTC time zone.
|
68
72
|
end_: nil,
|
73
|
+
# A cursor representing an item's token before which a page of results should end.
|
74
|
+
# Used to retrieve the previous page of results before this item.
|
69
75
|
ending_before: nil,
|
76
|
+
# Page size (for pagination).
|
70
77
|
page_size: nil,
|
78
|
+
# A cursor representing an item's token after which a page of results should
|
79
|
+
# begin. Used to retrieve the next page of results after this item.
|
71
80
|
starting_after: nil,
|
72
81
|
status: nil,
|
73
82
|
request_options: {}
|
@@ -73,12 +73,23 @@ module Lithic
|
|
73
73
|
.returns(T.attached_class)
|
74
74
|
end
|
75
75
|
def self.new(
|
76
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
77
|
+
# will be included. UTC time zone.
|
76
78
|
begin_: nil,
|
79
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
80
|
+
# will be included. UTC time zone.
|
77
81
|
end_: nil,
|
82
|
+
# A cursor representing an item's token before which a page of results should end.
|
83
|
+
# Used to retrieve the previous page of results before this item.
|
78
84
|
ending_before: nil,
|
85
|
+
# Event types to filter events by.
|
79
86
|
event_types: nil,
|
87
|
+
# Page size (for pagination).
|
80
88
|
page_size: nil,
|
89
|
+
# A cursor representing an item's token after which a page of results should
|
90
|
+
# begin. Used to retrieve the next page of results after this item.
|
81
91
|
starting_after: nil,
|
92
|
+
# Whether to include the event payload content in the response.
|
82
93
|
with_content: nil,
|
83
94
|
request_options: {}
|
84
95
|
); end
|
@@ -32,8 +32,16 @@ module Lithic
|
|
32
32
|
)
|
33
33
|
.returns(T.attached_class)
|
34
34
|
end
|
35
|
-
def self.new(
|
36
|
-
|
35
|
+
def self.new(
|
36
|
+
# Globally unique identifier.
|
37
|
+
token:,
|
38
|
+
# A description of the subscription.
|
39
|
+
description:,
|
40
|
+
# Whether the subscription is disabled.
|
41
|
+
disabled:,
|
42
|
+
url:,
|
43
|
+
event_types: nil
|
44
|
+
); end
|
37
45
|
sig do
|
38
46
|
override
|
39
47
|
.returns(
|
@@ -43,8 +43,18 @@ module Lithic
|
|
43
43
|
)
|
44
44
|
.returns(T.attached_class)
|
45
45
|
end
|
46
|
-
def self.new(
|
47
|
-
|
46
|
+
def self.new(
|
47
|
+
# URL to which event webhooks will be sent. URL must be a valid HTTPS address.
|
48
|
+
url:,
|
49
|
+
# Event subscription description.
|
50
|
+
description: nil,
|
51
|
+
# Whether the event subscription is active (false) or inactive (true).
|
52
|
+
disabled: nil,
|
53
|
+
# Indicates types of events that will be sent to this subscription. If left blank,
|
54
|
+
# all types will be sent.
|
55
|
+
event_types: nil,
|
56
|
+
request_options: {}
|
57
|
+
); end
|
48
58
|
sig do
|
49
59
|
override
|
50
60
|
.returns(
|
@@ -65,10 +65,19 @@ module Lithic
|
|
65
65
|
.returns(T.attached_class)
|
66
66
|
end
|
67
67
|
def self.new(
|
68
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
69
|
+
# will be included. UTC time zone.
|
68
70
|
begin_: nil,
|
71
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
72
|
+
# will be included. UTC time zone.
|
69
73
|
end_: nil,
|
74
|
+
# A cursor representing an item's token before which a page of results should end.
|
75
|
+
# Used to retrieve the previous page of results before this item.
|
70
76
|
ending_before: nil,
|
77
|
+
# Page size (for pagination).
|
71
78
|
page_size: nil,
|
79
|
+
# A cursor representing an item's token after which a page of results should
|
80
|
+
# begin. Used to retrieve the next page of results after this item.
|
72
81
|
starting_after: nil,
|
73
82
|
status: nil,
|
74
83
|
request_options: {}
|
@@ -39,8 +39,17 @@ module Lithic
|
|
39
39
|
)
|
40
40
|
.returns(T.attached_class)
|
41
41
|
end
|
42
|
-
def self.new(
|
43
|
-
|
42
|
+
def self.new(
|
43
|
+
# A cursor representing an item's token before which a page of results should end.
|
44
|
+
# Used to retrieve the previous page of results before this item.
|
45
|
+
ending_before: nil,
|
46
|
+
# Page size (for pagination).
|
47
|
+
page_size: nil,
|
48
|
+
# A cursor representing an item's token after which a page of results should
|
49
|
+
# begin. Used to retrieve the next page of results after this item.
|
50
|
+
starting_after: nil,
|
51
|
+
request_options: {}
|
52
|
+
); end
|
44
53
|
sig do
|
45
54
|
override
|
46
55
|
.returns(
|
@@ -31,8 +31,15 @@ module Lithic
|
|
31
31
|
)
|
32
32
|
.returns(T.attached_class)
|
33
33
|
end
|
34
|
-
def self.new(
|
35
|
-
|
34
|
+
def self.new(
|
35
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
36
|
+
# will be included. UTC time zone.
|
37
|
+
begin_: nil,
|
38
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
39
|
+
# will be included. UTC time zone.
|
40
|
+
end_: nil,
|
41
|
+
request_options: {}
|
42
|
+
); end
|
36
43
|
sig { override.returns({begin_: Time, end_: Time, request_options: Lithic::RequestOptions}) }
|
37
44
|
def to_hash; end
|
38
45
|
end
|
@@ -31,8 +31,15 @@ module Lithic
|
|
31
31
|
)
|
32
32
|
.returns(T.attached_class)
|
33
33
|
end
|
34
|
-
def self.new(
|
35
|
-
|
34
|
+
def self.new(
|
35
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
36
|
+
# will be included. UTC time zone.
|
37
|
+
begin_: nil,
|
38
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
39
|
+
# will be included. UTC time zone.
|
40
|
+
end_: nil,
|
41
|
+
request_options: {}
|
42
|
+
); end
|
36
43
|
sig { override.returns({begin_: Time, end_: Time, request_options: Lithic::RequestOptions}) }
|
37
44
|
def to_hash; end
|
38
45
|
end
|
@@ -12,8 +12,10 @@ module Lithic
|
|
12
12
|
attr_writer :secret
|
13
13
|
|
14
14
|
sig { params(secret: String).returns(T.attached_class) }
|
15
|
-
def self.new(
|
16
|
-
|
15
|
+
def self.new(
|
16
|
+
# The secret for the event subscription.
|
17
|
+
secret: nil
|
18
|
+
); end
|
17
19
|
sig { override.returns({secret: String}) }
|
18
20
|
def to_hash; end
|
19
21
|
end
|
@@ -24,8 +24,11 @@ module Lithic
|
|
24
24
|
)
|
25
25
|
.returns(T.attached_class)
|
26
26
|
end
|
27
|
-
def self.new(
|
28
|
-
|
27
|
+
def self.new(
|
28
|
+
# Event type to send example message for.
|
29
|
+
event_type: nil,
|
30
|
+
request_options: {}
|
31
|
+
); end
|
29
32
|
sig do
|
30
33
|
override
|
31
34
|
.returns(
|
@@ -43,8 +43,18 @@ module Lithic
|
|
43
43
|
)
|
44
44
|
.returns(T.attached_class)
|
45
45
|
end
|
46
|
-
def self.new(
|
47
|
-
|
46
|
+
def self.new(
|
47
|
+
# URL to which event webhooks will be sent. URL must be a valid HTTPS address.
|
48
|
+
url:,
|
49
|
+
# Event subscription description.
|
50
|
+
description: nil,
|
51
|
+
# Whether the event subscription is active (false) or inactive (true).
|
52
|
+
disabled: nil,
|
53
|
+
# Indicates types of events that will be sent to this subscription. If left blank,
|
54
|
+
# all types will be sent.
|
55
|
+
event_types: nil,
|
56
|
+
request_options: {}
|
57
|
+
); end
|
48
58
|
sig do
|
49
59
|
override
|
50
60
|
.returns(
|
@@ -129,22 +129,42 @@ module Lithic
|
|
129
129
|
.returns(T.attached_class)
|
130
130
|
end
|
131
131
|
def self.new(
|
132
|
+
# Account Number
|
132
133
|
account_number:,
|
134
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
135
|
+
# accept USA bank accounts e.g., USA
|
133
136
|
country:,
|
137
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
134
138
|
currency:,
|
139
|
+
# The financial account token of the operating account to fund the micro deposits
|
135
140
|
financial_account_token:,
|
141
|
+
# Legal Name of the business or individual who owns the external account. This
|
142
|
+
# will appear in statements
|
136
143
|
owner:,
|
144
|
+
# Owner Type
|
137
145
|
owner_type:,
|
146
|
+
# Routing Number
|
138
147
|
routing_number:,
|
148
|
+
# Account Type
|
139
149
|
type:,
|
150
|
+
# Verification Method
|
140
151
|
verification_method:,
|
141
152
|
processor_token:,
|
153
|
+
# Indicates which Lithic account the external account is associated with. For
|
154
|
+
# external accounts that are associated with the program, account_token field
|
155
|
+
# returned will be null
|
142
156
|
account_token: nil,
|
157
|
+
# Address
|
143
158
|
address: nil,
|
159
|
+
# Optional field that helps identify bank accounts in receipts
|
144
160
|
company_id: nil,
|
161
|
+
# Date of Birth of the Individual that owns the external bank account
|
145
162
|
dob: nil,
|
163
|
+
# Doing Business As
|
146
164
|
doing_business_as: nil,
|
165
|
+
# The nickname for this External Bank Account
|
147
166
|
name: nil,
|
167
|
+
# User Defined ID
|
148
168
|
user_defined_id: nil,
|
149
169
|
verification_enforcement: nil,
|
150
170
|
request_options: {}
|
@@ -157,27 +157,60 @@ module Lithic
|
|
157
157
|
.returns(T.attached_class)
|
158
158
|
end
|
159
159
|
def self.new(
|
160
|
+
# A globally unique identifier for this record of an external bank account
|
161
|
+
# association. If a program links an external bank account to more than one
|
162
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
163
|
+
# record of the association
|
160
164
|
token:,
|
165
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
166
|
+
# accept USA bank accounts e.g., USA
|
161
167
|
country:,
|
168
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
169
|
+
# account.
|
162
170
|
created:,
|
171
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
163
172
|
currency:,
|
173
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
174
|
+
# passed
|
164
175
|
last_four:,
|
176
|
+
# Legal Name of the business or individual who owns the external account. This
|
177
|
+
# will appear in statements
|
165
178
|
owner:,
|
179
|
+
# Owner Type
|
166
180
|
owner_type:,
|
181
|
+
# Routing Number
|
167
182
|
routing_number:,
|
183
|
+
# Account State
|
168
184
|
state:,
|
185
|
+
# Account Type
|
169
186
|
type:,
|
187
|
+
# The number of attempts at verification
|
170
188
|
verification_attempts:,
|
189
|
+
# Verification Method
|
171
190
|
verification_method:,
|
191
|
+
# Verification State
|
172
192
|
verification_state:,
|
193
|
+
# Indicates which Lithic account the external account is associated with. For
|
194
|
+
# external accounts that are associated with the program, account_token field
|
195
|
+
# returned will be null
|
173
196
|
account_token: nil,
|
197
|
+
# Address
|
174
198
|
address: nil,
|
199
|
+
# Optional field that helps identify bank accounts in receipts
|
175
200
|
company_id: nil,
|
201
|
+
# Date of Birth of the Individual that owns the external bank account
|
176
202
|
dob: nil,
|
203
|
+
# Doing Business As
|
177
204
|
doing_business_as: nil,
|
205
|
+
# The financial account token of the operating account to fund the micro deposits
|
178
206
|
financial_account_token: nil,
|
207
|
+
# The nickname for this External Bank Account
|
179
208
|
name: nil,
|
209
|
+
# User Defined ID
|
180
210
|
user_defined_id: nil,
|
211
|
+
# Optional free text description of the reason for the failed verification. For
|
212
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
213
|
+
# by the ACH network
|
181
214
|
verification_failed_reason: nil
|
182
215
|
); end
|
183
216
|
sig do
|
@@ -89,9 +89,14 @@ module Lithic
|
|
89
89
|
account_token: nil,
|
90
90
|
account_types: nil,
|
91
91
|
countries: nil,
|
92
|
+
# A cursor representing an item's token before which a page of results should end.
|
93
|
+
# Used to retrieve the previous page of results before this item.
|
92
94
|
ending_before: nil,
|
93
95
|
owner_types: nil,
|
96
|
+
# Page size (for pagination).
|
94
97
|
page_size: nil,
|
98
|
+
# A cursor representing an item's token after which a page of results should
|
99
|
+
# begin. Used to retrieve the next page of results after this item.
|
95
100
|
starting_after: nil,
|
96
101
|
states: nil,
|
97
102
|
verification_states: nil,
|
@@ -157,27 +157,60 @@ module Lithic
|
|
157
157
|
.returns(T.attached_class)
|
158
158
|
end
|
159
159
|
def self.new(
|
160
|
+
# A globally unique identifier for this record of an external bank account
|
161
|
+
# association. If a program links an external bank account to more than one
|
162
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
163
|
+
# record of the association
|
160
164
|
token:,
|
165
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
166
|
+
# accept USA bank accounts e.g., USA
|
161
167
|
country:,
|
168
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
169
|
+
# account.
|
162
170
|
created:,
|
171
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
163
172
|
currency:,
|
173
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
174
|
+
# passed
|
164
175
|
last_four:,
|
176
|
+
# Legal Name of the business or individual who owns the external account. This
|
177
|
+
# will appear in statements
|
165
178
|
owner:,
|
179
|
+
# Owner Type
|
166
180
|
owner_type:,
|
181
|
+
# Routing Number
|
167
182
|
routing_number:,
|
183
|
+
# Account State
|
168
184
|
state:,
|
185
|
+
# Account Type
|
169
186
|
type:,
|
187
|
+
# The number of attempts at verification
|
170
188
|
verification_attempts:,
|
189
|
+
# Verification Method
|
171
190
|
verification_method:,
|
191
|
+
# Verification State
|
172
192
|
verification_state:,
|
193
|
+
# Indicates which Lithic account the external account is associated with. For
|
194
|
+
# external accounts that are associated with the program, account_token field
|
195
|
+
# returned will be null
|
173
196
|
account_token: nil,
|
197
|
+
# Address
|
174
198
|
address: nil,
|
199
|
+
# Optional field that helps identify bank accounts in receipts
|
175
200
|
company_id: nil,
|
201
|
+
# Date of Birth of the Individual that owns the external bank account
|
176
202
|
dob: nil,
|
203
|
+
# Doing Business As
|
177
204
|
doing_business_as: nil,
|
205
|
+
# The financial account token of the operating account to fund the micro deposits
|
178
206
|
financial_account_token: nil,
|
207
|
+
# The nickname for this External Bank Account
|
179
208
|
name: nil,
|
209
|
+
# User Defined ID
|
180
210
|
user_defined_id: nil,
|
211
|
+
# Optional free text description of the reason for the failed verification. For
|
212
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
213
|
+
# by the ACH network
|
181
214
|
verification_failed_reason: nil
|
182
215
|
); end
|
183
216
|
sig do
|
@@ -157,27 +157,60 @@ module Lithic
|
|
157
157
|
.returns(T.attached_class)
|
158
158
|
end
|
159
159
|
def self.new(
|
160
|
+
# A globally unique identifier for this record of an external bank account
|
161
|
+
# association. If a program links an external bank account to more than one
|
162
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
163
|
+
# record of the association
|
160
164
|
token:,
|
165
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
166
|
+
# accept USA bank accounts e.g., USA
|
161
167
|
country:,
|
168
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
169
|
+
# account.
|
162
170
|
created:,
|
171
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
163
172
|
currency:,
|
173
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
174
|
+
# passed
|
164
175
|
last_four:,
|
176
|
+
# Legal Name of the business or individual who owns the external account. This
|
177
|
+
# will appear in statements
|
165
178
|
owner:,
|
179
|
+
# Owner Type
|
166
180
|
owner_type:,
|
181
|
+
# Routing Number
|
167
182
|
routing_number:,
|
183
|
+
# Account State
|
168
184
|
state:,
|
185
|
+
# Account Type
|
169
186
|
type:,
|
187
|
+
# The number of attempts at verification
|
170
188
|
verification_attempts:,
|
189
|
+
# Verification Method
|
171
190
|
verification_method:,
|
191
|
+
# Verification State
|
172
192
|
verification_state:,
|
193
|
+
# Indicates which Lithic account the external account is associated with. For
|
194
|
+
# external accounts that are associated with the program, account_token field
|
195
|
+
# returned will be null
|
173
196
|
account_token: nil,
|
197
|
+
# Address
|
174
198
|
address: nil,
|
199
|
+
# Optional field that helps identify bank accounts in receipts
|
175
200
|
company_id: nil,
|
201
|
+
# Date of Birth of the Individual that owns the external bank account
|
176
202
|
dob: nil,
|
203
|
+
# Doing Business As
|
177
204
|
doing_business_as: nil,
|
205
|
+
# The financial account token of the operating account to fund the micro deposits
|
178
206
|
financial_account_token: nil,
|
207
|
+
# The nickname for this External Bank Account
|
179
208
|
name: nil,
|
209
|
+
# User Defined ID
|
180
210
|
user_defined_id: nil,
|
211
|
+
# Optional free text description of the reason for the failed verification. For
|
212
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
213
|
+
# by the ACH network
|
181
214
|
verification_failed_reason: nil
|
182
215
|
); end
|
183
216
|
sig do
|
@@ -157,27 +157,60 @@ module Lithic
|
|
157
157
|
.returns(T.attached_class)
|
158
158
|
end
|
159
159
|
def self.new(
|
160
|
+
# A globally unique identifier for this record of an external bank account
|
161
|
+
# association. If a program links an external bank account to more than one
|
162
|
+
# end-user or to both the program and the end-user, then Lithic will return each
|
163
|
+
# record of the association
|
160
164
|
token:,
|
165
|
+
# The country that the bank account is located in using ISO 3166-1. We will only
|
166
|
+
# accept USA bank accounts e.g., USA
|
161
167
|
country:,
|
168
|
+
# An ISO 8601 string representing when this funding source was added to the Lithic
|
169
|
+
# account.
|
162
170
|
created:,
|
171
|
+
# currency of the external account 3-character alphabetic ISO 4217 code
|
163
172
|
currency:,
|
173
|
+
# The last 4 digits of the bank account. Derived by Lithic from the account number
|
174
|
+
# passed
|
164
175
|
last_four:,
|
176
|
+
# Legal Name of the business or individual who owns the external account. This
|
177
|
+
# will appear in statements
|
165
178
|
owner:,
|
179
|
+
# Owner Type
|
166
180
|
owner_type:,
|
181
|
+
# Routing Number
|
167
182
|
routing_number:,
|
183
|
+
# Account State
|
168
184
|
state:,
|
185
|
+
# Account Type
|
169
186
|
type:,
|
187
|
+
# The number of attempts at verification
|
170
188
|
verification_attempts:,
|
189
|
+
# Verification Method
|
171
190
|
verification_method:,
|
191
|
+
# Verification State
|
172
192
|
verification_state:,
|
193
|
+
# Indicates which Lithic account the external account is associated with. For
|
194
|
+
# external accounts that are associated with the program, account_token field
|
195
|
+
# returned will be null
|
173
196
|
account_token: nil,
|
197
|
+
# Address
|
174
198
|
address: nil,
|
199
|
+
# Optional field that helps identify bank accounts in receipts
|
175
200
|
company_id: nil,
|
201
|
+
# Date of Birth of the Individual that owns the external bank account
|
176
202
|
dob: nil,
|
203
|
+
# Doing Business As
|
177
204
|
doing_business_as: nil,
|
205
|
+
# The financial account token of the operating account to fund the micro deposits
|
178
206
|
financial_account_token: nil,
|
207
|
+
# The nickname for this External Bank Account
|
179
208
|
name: nil,
|
209
|
+
# User Defined ID
|
180
210
|
user_defined_id: nil,
|
211
|
+
# Optional free text description of the reason for the failed verification. For
|
212
|
+
# ACH micro-deposits returned, this field will display the reason return code sent
|
213
|
+
# by the ACH network
|
181
214
|
verification_failed_reason: nil
|
182
215
|
); end
|
183
216
|
sig do
|