unit-openapi-python-sdk 0.19.0__py3-none-any.whl → 0.20.0__py3-none-any.whl
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.
- unit_finance_sdk/__init__.py +11 -1
- unit_finance_sdk/api/accounts_api.py +1427 -728
- unit_finance_sdk/api/application_documents_api.py +1 -1
- unit_finance_sdk/api/applications_api.py +1 -1
- unit_finance_sdk/api/authorized_users_api.py +1 -1
- unit_finance_sdk/api/card_fraud_outreach_api.py +1 -1
- unit_finance_sdk/api/card_holder_api_tokens_api.py +1 -1
- unit_finance_sdk/api/cards_add_to_mobile_wallet_api.py +1 -1
- unit_finance_sdk/api/cards_api.py +1 -1
- unit_finance_sdk/api/cards_atm_locations_api.py +1 -1
- unit_finance_sdk/api/cards_authorization_requests_api.py +1 -1
- unit_finance_sdk/api/cards_authorizations_api.py +1 -1
- unit_finance_sdk/api/check_deposits_api.py +1 -1
- unit_finance_sdk/api/check_payments_api.py +1 -1
- unit_finance_sdk/api/counterparties_api.py +1 -1
- unit_finance_sdk/api/credit_applications_api.py +1 -1
- unit_finance_sdk/api/credit_decisions_api.py +1 -1
- unit_finance_sdk/api/customers_api.py +1 -1
- unit_finance_sdk/api/daca_api.py +1 -1
- unit_finance_sdk/api/disputes_api.py +1 -1
- unit_finance_sdk/api/fees_api.py +1 -1
- unit_finance_sdk/api/institutions_api.py +1 -1
- unit_finance_sdk/api/interest_api.py +1 -1
- unit_finance_sdk/api/lending_programs_api.py +1 -1
- unit_finance_sdk/api/payments_api.py +1 -1
- unit_finance_sdk/api/positive_pay_api.py +1 -1
- unit_finance_sdk/api/receivables_management_api.py +1 -1
- unit_finance_sdk/api/recurring_repayments_api.py +1 -1
- unit_finance_sdk/api/repayments_api.py +1 -1
- unit_finance_sdk/api/rewards_api.py +1 -1
- unit_finance_sdk/api/statements_api.py +1 -1
- unit_finance_sdk/api/stop_payments_api.py +1 -1
- unit_finance_sdk/api/tax_forms_api.py +1 -1
- unit_finance_sdk/api/transactions_api.py +1 -1
- unit_finance_sdk/api_client.py +1 -1
- unit_finance_sdk/configuration.py +2 -2
- unit_finance_sdk/exceptions.py +1 -1
- unit_finance_sdk/models/__init__.py +6 -1
- unit_finance_sdk/models/account_end_of_day.py +1 -1
- unit_finance_sdk/models/account_end_of_day_attributes.py +1 -1
- unit_finance_sdk/models/account_end_of_day_relationships.py +1 -1
- unit_finance_sdk/models/account_hold.py +1 -1
- unit_finance_sdk/models/account_hold_attributes.py +9 -7
- unit_finance_sdk/models/account_low_balance_closure_transaction.py +1 -1
- unit_finance_sdk/models/account_low_balance_closure_transaction_attributes.py +1 -1
- unit_finance_sdk/models/account_low_balance_closure_transaction_relationships.py +1 -1
- unit_finance_sdk/models/ach_counterparty.py +1 -1
- unit_finance_sdk/models/ach_counterparty_attributes.py +1 -1
- unit_finance_sdk/models/ach_payment.py +1 -1
- unit_finance_sdk/models/ach_payment_attributes.py +1 -1
- unit_finance_sdk/models/ach_payment_relationships.py +1 -1
- unit_finance_sdk/models/ach_received_payment.py +1 -1
- unit_finance_sdk/models/ach_received_payment_attributes.py +1 -1
- unit_finance_sdk/models/ach_received_payment_relationships.py +1 -1
- unit_finance_sdk/models/ach_repayment.py +1 -1
- unit_finance_sdk/models/ach_repayment_attributes.py +1 -1
- unit_finance_sdk/models/ach_repayment_relationships.py +1 -1
- unit_finance_sdk/models/ach_stop_payment.py +1 -1
- unit_finance_sdk/models/ach_stop_payment_attributes.py +1 -1
- unit_finance_sdk/models/add_account_owners200_response.py +1 -1
- unit_finance_sdk/models/add_account_owners_request.py +1 -1
- unit_finance_sdk/models/add_authorized_users_data.py +1 -1
- unit_finance_sdk/models/add_authorized_users_data_attributes.py +1 -1
- unit_finance_sdk/models/add_authorized_users_request.py +1 -1
- unit_finance_sdk/models/add_secondary_routing_number_data.py +116 -0
- unit_finance_sdk/models/add_secondary_routing_number_data_relationships.py +105 -0
- unit_finance_sdk/models/add_secondary_routing_number_request.py +105 -0
- unit_finance_sdk/models/address_type.py +1 -1
- unit_finance_sdk/models/adjustment_transaction.py +1 -1
- unit_finance_sdk/models/adjustment_transaction_attributes.py +1 -1
- unit_finance_sdk/models/annual_income_type.py +1 -1
- unit_finance_sdk/models/annual_revenue_type.py +1 -1
- unit_finance_sdk/models/application_document.py +1 -1
- unit_finance_sdk/models/application_document_attributes.py +1 -1
- unit_finance_sdk/models/approve_check_payment_additional_verification_data.py +1 -1
- unit_finance_sdk/models/approve_check_payment_additional_verification_request.py +1 -1
- unit_finance_sdk/models/approved_credit_limit_decision.py +1 -1
- unit_finance_sdk/models/approved_credit_limit_decision_attributes.py +1 -1
- unit_finance_sdk/models/approved_credit_limit_decision_relationships.py +1 -1
- unit_finance_sdk/models/archive_customer_data.py +3 -3
- unit_finance_sdk/models/archive_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/archive_customer_request.py +1 -1
- unit_finance_sdk/models/atm_authorization_request.py +1 -1
- unit_finance_sdk/models/atm_authorization_request_attributes.py +1 -1
- unit_finance_sdk/models/atm_authorization_request_relationships.py +1 -1
- unit_finance_sdk/models/atm_location.py +1 -1
- unit_finance_sdk/models/atm_location_attributes.py +1 -1
- unit_finance_sdk/models/atm_transaction.py +1 -1
- unit_finance_sdk/models/atm_transaction_attributes.py +1 -1
- unit_finance_sdk/models/atm_transaction_relationships.py +1 -1
- unit_finance_sdk/models/authorization.py +1 -1
- unit_finance_sdk/models/authorization_attributes.py +1 -1
- unit_finance_sdk/models/authorization_card_fraud_case.py +1 -1
- unit_finance_sdk/models/authorization_card_fraud_case_attributes.py +1 -1
- unit_finance_sdk/models/authorization_card_fraud_case_relationships.py +1 -1
- unit_finance_sdk/models/authorization_relationships.py +1 -1
- unit_finance_sdk/models/authorized_user_type.py +1 -1
- unit_finance_sdk/models/batch_release.py +1 -1
- unit_finance_sdk/models/batch_release_attributes.py +1 -1
- unit_finance_sdk/models/batch_release_relationships.py +1 -1
- unit_finance_sdk/models/beneficial_owner.py +1 -1
- unit_finance_sdk/models/beneficial_owner_attributes.py +1 -1
- unit_finance_sdk/models/beneficial_owner_request_type.py +1 -1
- unit_finance_sdk/models/beneficial_owner_type.py +1 -1
- unit_finance_sdk/models/book_payment.py +1 -1
- unit_finance_sdk/models/book_payment_attributes.py +1 -1
- unit_finance_sdk/models/book_payment_relationships.py +1 -1
- unit_finance_sdk/models/book_repayment.py +1 -1
- unit_finance_sdk/models/book_repayment_attributes.py +1 -1
- unit_finance_sdk/models/book_repayment_relationships.py +1 -1
- unit_finance_sdk/models/book_transaction.py +1 -1
- unit_finance_sdk/models/book_transaction_attributes.py +1 -1
- unit_finance_sdk/models/book_transaction_relationships.py +1 -1
- unit_finance_sdk/models/business_annual_revenue_type.py +1 -1
- unit_finance_sdk/models/business_application.py +1 -1
- unit_finance_sdk/models/business_application_attributes.py +1 -1
- unit_finance_sdk/models/business_application_relationships.py +1 -1
- unit_finance_sdk/models/business_contact_type.py +1 -1
- unit_finance_sdk/models/business_credit_card.py +1 -1
- unit_finance_sdk/models/business_customer.py +1 -1
- unit_finance_sdk/models/business_customer_attributes.py +1 -1
- unit_finance_sdk/models/business_customer_relationships.py +1 -1
- unit_finance_sdk/models/business_debit_card.py +1 -1
- unit_finance_sdk/models/business_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/business_number_of_employees_type.py +1 -1
- unit_finance_sdk/models/business_vertical_type.py +1 -1
- unit_finance_sdk/models/business_virtual_credit_card.py +1 -1
- unit_finance_sdk/models/business_virtual_debit_card.py +1 -1
- unit_finance_sdk/models/business_virtual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/business_wallet_customer.py +1 -1
- unit_finance_sdk/models/business_wallet_customer_attributes.py +1 -1
- unit_finance_sdk/models/business_wallet_customer_relationships.py +1 -1
- unit_finance_sdk/models/cancel_application201_response.py +1 -1
- unit_finance_sdk/models/cancel_application_data.py +1 -1
- unit_finance_sdk/models/cancel_application_data_attributes.py +1 -1
- unit_finance_sdk/models/cancel_application_request.py +1 -1
- unit_finance_sdk/models/cancel_payment200_response.py +1 -1
- unit_finance_sdk/models/cancel_payment200_response_data.py +1 -1
- unit_finance_sdk/models/cancel_positive_pay200_response.py +1 -1
- unit_finance_sdk/models/cancel_positive_pay200_response_data.py +1 -1
- unit_finance_sdk/models/capital_partner_ach_repayment.py +1 -1
- unit_finance_sdk/models/capital_partner_ach_repayment_relationships.py +1 -1
- unit_finance_sdk/models/capital_partner_book_repayment.py +1 -1
- unit_finance_sdk/models/capital_partner_book_repayment_relationships.py +1 -1
- unit_finance_sdk/models/card_fraud_outreach_policy.py +1 -1
- unit_finance_sdk/models/card_fraud_outreach_policy_attributes.py +1 -1
- unit_finance_sdk/models/card_fraud_outreach_policy_relationships.py +1 -1
- unit_finance_sdk/models/card_reversal_transaction.py +1 -1
- unit_finance_sdk/models/card_reversal_transaction_attributes.py +1 -1
- unit_finance_sdk/models/card_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/card_transaction.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes_card_verification_data.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes_merchant.py +1 -1
- unit_finance_sdk/models/card_transaction_authorization_request.py +1 -1
- unit_finance_sdk/models/card_transaction_authorization_request_attributes.py +1 -1
- unit_finance_sdk/models/card_transaction_relationships.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode_attributes.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode_relationships.py +1 -1
- unit_finance_sdk/models/cash_deposit_transaction.py +1 -1
- unit_finance_sdk/models/cash_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/cash_flow_type.py +1 -1
- unit_finance_sdk/models/chargeback_transaction.py +1 -1
- unit_finance_sdk/models/chargeback_transaction_attributes.py +1 -1
- unit_finance_sdk/models/chargeback_transaction_relationships.py +1 -1
- unit_finance_sdk/models/check_counterparty_type.py +1 -1
- unit_finance_sdk/models/check_deposit.py +1 -1
- unit_finance_sdk/models/check_deposit_attributes.py +1 -1
- unit_finance_sdk/models/check_deposit_relationships.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction_relationships.py +1 -1
- unit_finance_sdk/models/check_payment.py +1 -1
- unit_finance_sdk/models/check_payment_attributes.py +1 -1
- unit_finance_sdk/models/check_payment_counterparty_type.py +1 -1
- unit_finance_sdk/models/check_payment_positive_pay.py +1 -1
- unit_finance_sdk/models/check_payment_positive_pay_attributes.py +1 -1
- unit_finance_sdk/models/check_payment_transaction.py +1 -1
- unit_finance_sdk/models/check_payment_transaction_relationships.py +1 -1
- unit_finance_sdk/models/check_stop_payment.py +1 -1
- unit_finance_sdk/models/check_stop_payment_attributes.py +1 -1
- unit_finance_sdk/models/check_stop_payment_relationships.py +1 -1
- unit_finance_sdk/models/clear_ach_debit_payment200_response.py +1 -1
- unit_finance_sdk/models/close_account_request.py +1 -1
- unit_finance_sdk/models/close_card200_response.py +1 -1
- unit_finance_sdk/models/close_credit_account_data.py +1 -1
- unit_finance_sdk/models/close_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/close_credit_account_request.py +1 -1
- unit_finance_sdk/models/close_deposit_account_data.py +1 -1
- unit_finance_sdk/models/close_deposit_account_data_attributes.py +6 -4
- unit_finance_sdk/models/close_deposit_account_request.py +1 -1
- unit_finance_sdk/models/close_wallet_data.py +1 -1
- unit_finance_sdk/models/close_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/close_wallet_request.py +1 -1
- unit_finance_sdk/models/configure_positive_pay_policy_data.py +1 -1
- unit_finance_sdk/models/configure_positive_pay_policy_data_attributes.py +1 -1
- unit_finance_sdk/models/configure_positive_pay_policy_request.py +1 -1
- unit_finance_sdk/models/coordinates_type.py +1 -1
- unit_finance_sdk/models/counterparty_balance.py +1 -1
- unit_finance_sdk/models/counterparty_balance_attributes.py +1 -1
- unit_finance_sdk/models/counterparty_balance_relationships.py +1 -1
- unit_finance_sdk/models/counterparty_type.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_request.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_data.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_request.py +1 -1
- unit_finance_sdk/models/create_account201_response.py +1 -1
- unit_finance_sdk/models/create_account_hold201_response.py +1 -1
- unit_finance_sdk/models/create_account_hold_data.py +1 -1
- unit_finance_sdk/models/create_account_hold_data_attributes.py +11 -8
- unit_finance_sdk/models/create_account_hold_request.py +1 -1
- unit_finance_sdk/models/create_account_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_relationships.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_ach_repayment_data.py +1 -1
- unit_finance_sdk/models/create_ach_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_repayment_request.py +1 -1
- unit_finance_sdk/models/create_ach_stop_payment_data.py +1 -1
- unit_finance_sdk/models/create_ach_stop_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_stop_payment_request.py +1 -1
- unit_finance_sdk/models/create_application201_response.py +1 -1
- unit_finance_sdk/models/create_application201_response_included_inner.py +1 -1
- unit_finance_sdk/models/create_application_document200_response.py +1 -1
- unit_finance_sdk/models/create_application_request.py +1 -1
- unit_finance_sdk/models/create_approved_credit_limit_decision_data.py +1 -1
- unit_finance_sdk/models/create_approved_credit_limit_decision_data_attributes.py +1 -1
- unit_finance_sdk/models/create_approved_credit_limit_decision_data_relationships.py +1 -1
- unit_finance_sdk/models/create_approved_credit_limit_decision_request.py +1 -1
- unit_finance_sdk/models/create_batch_releases201_response.py +1 -1
- unit_finance_sdk/models/create_batch_releases_data.py +1 -1
- unit_finance_sdk/models/create_batch_releases_data_attributes.py +1 -1
- unit_finance_sdk/models/create_batch_releases_request.py +1 -1
- unit_finance_sdk/models/create_book_repayment_data.py +1 -1
- unit_finance_sdk/models/create_book_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_book_repayment_request.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response_data.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response_data_attributes.py +1 -1
- unit_finance_sdk/models/create_bulk_payment_request.py +1 -1
- unit_finance_sdk/models/create_bulk_payment_request_data_inner.py +1 -1
- unit_finance_sdk/models/create_business_application_data.py +1 -1
- unit_finance_sdk/models/create_business_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_application_request.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer201_response.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_data.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_request.py +1 -1
- unit_finance_sdk/models/create_capital_partner_ach_repayment_data.py +1 -1
- unit_finance_sdk/models/create_capital_partner_ach_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_capital_partner_ach_repayment_request.py +1 -1
- unit_finance_sdk/models/create_capital_partner_book_repayment_data.py +1 -1
- unit_finance_sdk/models/create_capital_partner_book_repayment_request.py +1 -1
- unit_finance_sdk/models/create_card201_response.py +1 -1
- unit_finance_sdk/models/create_card201_response_data.py +1 -1
- unit_finance_sdk/models/create_card_request.py +1 -1
- unit_finance_sdk/models/create_cardholder_token201_response.py +1 -1
- unit_finance_sdk/models/create_cardholder_token201_response_data.py +1 -1
- unit_finance_sdk/models/create_cardholder_token201_response_data_attributes.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_data.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_data_attributes.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_request.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification201_response.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification201_response_data.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification201_response_data_attributes.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification_data.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification_data_attributes.py +1 -1
- unit_finance_sdk/models/create_cardholder_token_verification_request.py +1 -1
- unit_finance_sdk/models/create_check_deposit201_response.py +1 -1
- unit_finance_sdk/models/create_check_deposit_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_deposit_request.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link201_response.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link201_response_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data_relationships.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_request.py +1 -1
- unit_finance_sdk/models/create_check_payment_positive_pay_data.py +1 -1
- unit_finance_sdk/models/create_check_payment_positive_pay_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_payment_positive_pay_request.py +1 -1
- unit_finance_sdk/models/create_check_stop_payment_data.py +1 -1
- unit_finance_sdk/models/create_check_stop_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_stop_payment_request.py +1 -1
- unit_finance_sdk/models/create_counterparty201_response.py +1 -1
- unit_finance_sdk/models/create_counterparty_body.py +1 -1
- unit_finance_sdk/models/create_counterparty_data.py +1 -1
- unit_finance_sdk/models/create_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/create_counterparty_request.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data_attributes.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_request.py +1 -1
- unit_finance_sdk/models/create_credit_account_data.py +1 -1
- unit_finance_sdk/models/create_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/create_credit_account_request.py +1 -1
- unit_finance_sdk/models/create_credit_application201_response.py +1 -1
- unit_finance_sdk/models/create_credit_application_request.py +1 -1
- unit_finance_sdk/models/create_credit_decision201_response.py +1 -1
- unit_finance_sdk/models/create_credit_decision_request.py +1 -1
- unit_finance_sdk/models/create_denied_credit_application_decision_data.py +1 -1
- unit_finance_sdk/models/create_denied_credit_application_decision_data_attributes.py +1 -1
- unit_finance_sdk/models/create_denied_credit_application_decision_request.py +1 -1
- unit_finance_sdk/models/create_denied_credit_limit_decision_data.py +1 -1
- unit_finance_sdk/models/create_denied_credit_limit_decision_data_attributes.py +1 -1
- unit_finance_sdk/models/create_denied_credit_limit_decision_request.py +1 -1
- unit_finance_sdk/models/create_deposit_account_data.py +1 -1
- unit_finance_sdk/models/create_deposit_account_data_attributes.py +6 -3
- unit_finance_sdk/models/create_deposit_account_data_relationships.py +1 -1
- unit_finance_sdk/models/create_deposit_account_request.py +1 -1
- unit_finance_sdk/models/create_existing_credit_application_data.py +1 -1
- unit_finance_sdk/models/create_existing_credit_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_existing_credit_application_data_relationships.py +1 -1
- unit_finance_sdk/models/create_existing_credit_application_request.py +1 -1
- unit_finance_sdk/models/create_external_repayment_data.py +1 -1
- unit_finance_sdk/models/create_external_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_external_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_external_repayment_request.py +1 -1
- unit_finance_sdk/models/create_fee201_response.py +1 -1
- unit_finance_sdk/models/create_fee_data.py +1 -1
- unit_finance_sdk/models/create_fee_data_attributes.py +1 -1
- unit_finance_sdk/models/create_fee_data_relationships.py +1 -1
- unit_finance_sdk/models/create_fee_request.py +1 -1
- unit_finance_sdk/models/create_individual_application_data.py +1 -1
- unit_finance_sdk/models/create_individual_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_application_request.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_application_decision_data.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_application_decision_data_attributes.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_application_decision_request.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_data.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_data_attributes.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_request.py +1 -1
- unit_finance_sdk/models/create_onboarding_credit_application_data.py +1 -1
- unit_finance_sdk/models/create_onboarding_credit_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_onboarding_credit_application_data_relationships.py +1 -1
- unit_finance_sdk/models/create_onboarding_credit_application_request.py +1 -1
- unit_finance_sdk/models/create_payment201_response.py +1 -1
- unit_finance_sdk/models/create_payment201_response_data.py +1 -1
- unit_finance_sdk/models/create_payment_request.py +1 -1
- unit_finance_sdk/models/create_policy201_response.py +1 -1
- unit_finance_sdk/models/create_policy_data.py +1 -1
- unit_finance_sdk/models/create_policy_data_attributes.py +1 -1
- unit_finance_sdk/models/create_policy_data_relationships.py +1 -1
- unit_finance_sdk/models/create_policy_request.py +1 -1
- unit_finance_sdk/models/create_positive_pay201_response.py +1 -1
- unit_finance_sdk/models/create_positive_pay_request.py +1 -1
- unit_finance_sdk/models/create_received_ach_debit_positive_pay_data.py +1 -1
- unit_finance_sdk/models/create_received_ach_debit_positive_pay_data_attributes.py +1 -1
- unit_finance_sdk/models/create_received_ach_debit_positive_pay_request.py +1 -1
- unit_finance_sdk/models/create_recurring_ach_repayment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_ach_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_ach_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_recurring_ach_repayment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_book_repayment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_book_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_book_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_recurring_book_repayment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_payment201_response.py +1 -1
- unit_finance_sdk/models/create_recurring_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_repayment201_response.py +1 -1
- unit_finance_sdk/models/create_recurring_repayment_request.py +1 -1
- unit_finance_sdk/models/create_repayment201_response.py +1 -1
- unit_finance_sdk/models/create_repayment201_response_data.py +1 -1
- unit_finance_sdk/models/create_repayment_request.py +1 -1
- unit_finance_sdk/models/create_reward201_response.py +1 -1
- unit_finance_sdk/models/create_reward_data.py +1 -1
- unit_finance_sdk/models/create_reward_data_attributes.py +1 -1
- unit_finance_sdk/models/create_reward_data_relationships.py +1 -1
- unit_finance_sdk/models/create_reward_request.py +1 -1
- unit_finance_sdk/models/create_schedule_type.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_data.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_request.py +1 -1
- unit_finance_sdk/models/create_stop_payment201_response.py +1 -1
- unit_finance_sdk/models/create_stop_payment201_response_data.py +1 -1
- unit_finance_sdk/models/create_stop_payment_request.py +1 -1
- unit_finance_sdk/models/create_wallet_data.py +1 -1
- unit_finance_sdk/models/create_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/create_wallet_request.py +1 -1
- unit_finance_sdk/models/create_wire_drawdown_positive_pay_data.py +1 -1
- unit_finance_sdk/models/create_wire_drawdown_positive_pay_data_attributes.py +1 -1
- unit_finance_sdk/models/create_wire_drawdown_positive_pay_request.py +1 -1
- unit_finance_sdk/models/credit_account.py +1 -1
- unit_finance_sdk/models/credit_account_attributes.py +1 -1
- unit_finance_sdk/models/credit_account_relationships.py +1 -1
- unit_finance_sdk/models/currency_conversion_type.py +1 -1
- unit_finance_sdk/models/denied_credit_application_decision.py +1 -1
- unit_finance_sdk/models/denied_credit_application_decision_attributes.py +1 -1
- unit_finance_sdk/models/denied_credit_application_decision_relationships.py +1 -1
- unit_finance_sdk/models/denied_credit_limit_decision.py +1 -1
- unit_finance_sdk/models/deposit_account.py +1 -1
- unit_finance_sdk/models/deposit_account_attributes.py +23 -7
- unit_finance_sdk/models/deposit_account_attributes_secondary_account_number.py +103 -0
- unit_finance_sdk/models/deposit_account_relationships.py +1 -1
- unit_finance_sdk/models/device_fingerprint_type.py +1 -1
- unit_finance_sdk/models/dishonored_ach_transaction.py +1 -1
- unit_finance_sdk/models/dishonored_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/dispute.py +1 -1
- unit_finance_sdk/models/dispute_attributes.py +1 -1
- unit_finance_sdk/models/dispute_attributes_status_history_inner.py +1 -1
- unit_finance_sdk/models/dispute_relationships.py +1 -1
- unit_finance_sdk/models/dispute_transaction.py +1 -1
- unit_finance_sdk/models/dispute_transaction_attributes.py +1 -1
- unit_finance_sdk/models/dispute_transaction_relationships.py +1 -1
- unit_finance_sdk/models/enter_control_agreement200_response.py +1 -1
- unit_finance_sdk/models/error_document.py +1 -1
- unit_finance_sdk/models/error_document_errors_inner.py +1 -1
- unit_finance_sdk/models/error_document_errors_inner_source.py +1 -1
- unit_finance_sdk/models/existing_customer_credit_application.py +1 -1
- unit_finance_sdk/models/existing_customer_credit_application_attributes.py +1 -1
- unit_finance_sdk/models/existing_customer_credit_application_relationships.py +1 -1
- unit_finance_sdk/models/external_repayment.py +1 -1
- unit_finance_sdk/models/external_repayment_attributes.py +1 -1
- unit_finance_sdk/models/external_repayment_relationships.py +1 -1
- unit_finance_sdk/models/fee.py +1 -1
- unit_finance_sdk/models/fee_attributes.py +1 -1
- unit_finance_sdk/models/fee_relationships.py +1 -1
- unit_finance_sdk/models/fee_reversal.py +1 -1
- unit_finance_sdk/models/fee_reversal_attributes.py +1 -1
- unit_finance_sdk/models/fee_reversal_relationships.py +1 -1
- unit_finance_sdk/models/fee_reversal_transaction.py +1 -1
- unit_finance_sdk/models/fee_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/fee_transaction.py +1 -1
- unit_finance_sdk/models/fraud_case_card_activity_type.py +1 -1
- unit_finance_sdk/models/freeze_account_request.py +1 -1
- unit_finance_sdk/models/freeze_card_data.py +1 -1
- unit_finance_sdk/models/freeze_card_data_attributes.py +1 -1
- unit_finance_sdk/models/freeze_card_request.py +1 -1
- unit_finance_sdk/models/freeze_credit_account_data.py +4 -4
- unit_finance_sdk/models/freeze_credit_account_data_attributes.py +103 -0
- unit_finance_sdk/models/freeze_credit_account_request.py +1 -1
- unit_finance_sdk/models/freeze_deposit_account_data.py +1 -1
- unit_finance_sdk/models/freeze_deposit_account_data_attributes.py +6 -4
- unit_finance_sdk/models/freeze_deposit_account_request.py +1 -1
- unit_finance_sdk/models/freeze_wallet_data.py +1 -1
- unit_finance_sdk/models/freeze_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/freeze_wallet_request.py +1 -1
- unit_finance_sdk/models/full_name_type.py +1 -1
- unit_finance_sdk/models/generate_barcode_data.py +1 -1
- unit_finance_sdk/models/generate_barcode_data_attributes.py +1 -1
- unit_finance_sdk/models/generate_barcode_data_relationships.py +1 -1
- unit_finance_sdk/models/generate_cash_deposit_barcode200_response.py +1 -1
- unit_finance_sdk/models/generate_cash_deposit_barcode_request.py +1 -1
- unit_finance_sdk/models/get_account_balance_history200_response.py +1 -1
- unit_finance_sdk/models/get_account_limits200_response.py +1 -1
- unit_finance_sdk/models/get_account_limits200_response_data.py +1 -1
- unit_finance_sdk/models/get_authorization200_response.py +1 -1
- unit_finance_sdk/models/get_authorization_request_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_authorized_user200_response.py +1 -1
- unit_finance_sdk/models/get_available_deposit_products200_response.py +1 -1
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner.py +4 -2
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner_attributes.py +1 -1
- unit_finance_sdk/models/get_by_routing_number200_response.py +1 -1
- unit_finance_sdk/models/get_card200_response.py +1 -1
- unit_finance_sdk/models/get_card_fraud_case_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_card_pin_status200_response.py +1 -1
- unit_finance_sdk/models/get_check_deposit200_response.py +1 -1
- unit_finance_sdk/models/get_check_payment200_response.py +1 -1
- unit_finance_sdk/models/get_counterparty_balance200_response.py +1 -1
- unit_finance_sdk/models/get_customer200_response.py +1 -1
- unit_finance_sdk/models/get_dispute_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date200_response.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date200_response_data.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_data.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_data_attributes.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_request.py +1 -1
- unit_finance_sdk/models/get_lending_program_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_lending_program_extended_information_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_mobile_wallet_payload200_response.py +1 -1
- unit_finance_sdk/models/get_mobile_wallet_payload_data.py +1 -1
- unit_finance_sdk/models/get_mobile_wallet_payload_data_attributes.py +1 -1
- unit_finance_sdk/models/get_mobile_wallet_payload_request.py +1 -1
- unit_finance_sdk/models/get_positive_pay_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_positive_pay_by_id200_response_data.py +1 -1
- unit_finance_sdk/models/get_receivable_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_received_payment200_response.py +1 -1
- unit_finance_sdk/models/get_repayment200_response.py +1 -1
- unit_finance_sdk/models/get_reward200_response.py +1 -1
- unit_finance_sdk/models/get_stop_payment200_response.py +1 -1
- unit_finance_sdk/models/get_tax_form_by_id200_response.py +1 -1
- unit_finance_sdk/models/get_total_accrued_interest200_response.py +1 -1
- unit_finance_sdk/models/get_transaction200_response.py +1 -1
- unit_finance_sdk/models/get_wire_drawdown200_response.py +1 -1
- unit_finance_sdk/models/healthcare_amounts_type.py +1 -1
- unit_finance_sdk/models/individual_application.py +1 -1
- unit_finance_sdk/models/individual_application_attributes.py +1 -1
- unit_finance_sdk/models/individual_application_relationships.py +1 -1
- unit_finance_sdk/models/individual_customer.py +1 -1
- unit_finance_sdk/models/individual_customer_relationships.py +1 -1
- unit_finance_sdk/models/individual_debit_card.py +1 -1
- unit_finance_sdk/models/individual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/individual_virtual_debit_card.py +1 -1
- unit_finance_sdk/models/individual_virtual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/industry_type.py +1 -1
- unit_finance_sdk/models/institution.py +1 -1
- unit_finance_sdk/models/institution_attributes.py +1 -1
- unit_finance_sdk/models/interest_share_transaction.py +1 -1
- unit_finance_sdk/models/interest_share_transaction_relationships.py +1 -1
- unit_finance_sdk/models/interest_transaction.py +1 -1
- unit_finance_sdk/models/lending_program.py +2 -2
- unit_finance_sdk/models/lending_program_attributes.py +1 -1
- unit_finance_sdk/models/lending_program_extended_information.py +1 -1
- unit_finance_sdk/models/lending_program_extended_information_attributes.py +1 -1
- unit_finance_sdk/models/list200_response.py +1 -1
- unit_finance_sdk/models/list200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_account_holds200_response.py +1 -1
- unit_finance_sdk/models/list_accounts200_response.py +1 -1
- unit_finance_sdk/models/list_accounts200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_application_documents200_response.py +1 -1
- unit_finance_sdk/models/list_atm_locations200_response.py +1 -1
- unit_finance_sdk/models/list_authorization_requests200_response.py +1 -1
- unit_finance_sdk/models/list_authorization_requests200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_authorizations200_response.py +1 -1
- unit_finance_sdk/models/list_authorized_users200_response.py +1 -1
- unit_finance_sdk/models/list_card_fraud_cases200_response.py +1 -1
- unit_finance_sdk/models/list_card_fraud_cases200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_cards200_response.py +1 -1
- unit_finance_sdk/models/list_cards200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_check_deposits200_response.py +1 -1
- unit_finance_sdk/models/list_check_payments200_response.py +1 -1
- unit_finance_sdk/models/list_counterparties200_response.py +1 -1
- unit_finance_sdk/models/list_credit_applications200_response.py +1 -1
- unit_finance_sdk/models/list_credit_applications200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_credit_decisions200_response.py +1 -1
- unit_finance_sdk/models/list_credit_decisions200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_customers200_response.py +1 -1
- unit_finance_sdk/models/list_customers200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_disputes200_response.py +1 -1
- unit_finance_sdk/models/list_lending_programs200_response.py +1 -1
- unit_finance_sdk/models/list_positive_pay200_response.py +1 -1
- unit_finance_sdk/models/list_positive_pay200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_receivables200_response.py +1 -1
- unit_finance_sdk/models/list_receivables200_response_data.py +1 -1
- unit_finance_sdk/models/list_received_payments200_response.py +1 -1
- unit_finance_sdk/models/list_received_payments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_recurring_payments200_response.py +1 -1
- unit_finance_sdk/models/list_recurring_payments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_recurring_repayments200_response.py +1 -1
- unit_finance_sdk/models/list_recurring_repayments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_repayments200_response.py +1 -1
- unit_finance_sdk/models/list_repayments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_rewards200_response.py +1 -1
- unit_finance_sdk/models/list_statements200_response.py +1 -1
- unit_finance_sdk/models/list_stop_payments200_response.py +1 -1
- unit_finance_sdk/models/list_store_locations200_response.py +1 -1
- unit_finance_sdk/models/list_tax_forms200_response.py +1 -1
- unit_finance_sdk/models/list_transactions200_response.py +1 -1
- unit_finance_sdk/models/list_transactions200_response_included_inner.py +1 -1
- unit_finance_sdk/models/list_wire_drawdowns200_response.py +1 -1
- unit_finance_sdk/models/manual_review_credit_application_decision.py +1 -1
- unit_finance_sdk/models/manual_review_credit_application_decision_attributes.py +1 -1
- unit_finance_sdk/models/manual_review_credit_limit_decision.py +1 -1
- unit_finance_sdk/models/manual_review_credit_limit_decision_attributes.py +1 -1
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data.py +1 -1
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data_attributes.py +1 -1
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_request.py +1 -1
- unit_finance_sdk/models/meta.py +1 -1
- unit_finance_sdk/models/meta_pagination.py +1 -1
- unit_finance_sdk/models/mobile_wallet_payload.py +1 -1
- unit_finance_sdk/models/mobile_wallet_payload_attributes.py +1 -1
- unit_finance_sdk/models/negative_balance_coverage_transaction.py +1 -1
- unit_finance_sdk/models/number_of_employees_type.py +1 -1
- unit_finance_sdk/models/occupation_type.py +1 -1
- unit_finance_sdk/models/officer.py +1 -1
- unit_finance_sdk/models/officer_attributes.py +1 -1
- unit_finance_sdk/models/officer_relationships.py +1 -1
- unit_finance_sdk/models/officer_request_type.py +1 -1
- unit_finance_sdk/models/officer_type.py +8 -6
- unit_finance_sdk/models/onboarding_credit_application.py +1 -1
- unit_finance_sdk/models/onboarding_credit_application_relationships.py +1 -1
- unit_finance_sdk/models/originate_check_payment_mail_physical_check201_response.py +1 -1
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data.py +1 -1
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_attributes.py +1 -1
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_relationships.py +1 -1
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_request.py +1 -1
- unit_finance_sdk/models/originated_ach_transaction.py +1 -1
- unit_finance_sdk/models/originated_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/originated_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction_attributes.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction_relationships.py +1 -1
- unit_finance_sdk/models/payment_canceled_transaction.py +1 -1
- unit_finance_sdk/models/payment_canceled_transaction_relationships.py +1 -1
- unit_finance_sdk/models/phone_type.py +1 -1
- unit_finance_sdk/models/pin_status.py +1 -1
- unit_finance_sdk/models/pin_status_attributes.py +1 -1
- unit_finance_sdk/models/product_type.py +1 -1
- unit_finance_sdk/models/purchase_authorization_request.py +1 -1
- unit_finance_sdk/models/purchase_authorization_request_attributes.py +1 -1
- unit_finance_sdk/models/purchase_authorization_request_relationships.py +1 -1
- unit_finance_sdk/models/purchase_transaction.py +1 -1
- unit_finance_sdk/models/purchase_transaction_attributes.py +1 -1
- unit_finance_sdk/models/purchase_transaction_attributes_merchant.py +1 -1
- unit_finance_sdk/models/purchase_transaction_relationships.py +1 -1
- unit_finance_sdk/models/push_to_card_reversal_transaction.py +1 -1
- unit_finance_sdk/models/push_to_card_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/push_to_card_transaction.py +1 -1
- unit_finance_sdk/models/push_to_card_transaction_relationships.py +1 -1
- unit_finance_sdk/models/real_time_counterparty_type.py +1 -1
- unit_finance_sdk/models/realtime_received_payment.py +1 -1
- unit_finance_sdk/models/realtime_received_payment_attributes.py +1 -1
- unit_finance_sdk/models/realtime_received_payment_relationships.py +1 -1
- unit_finance_sdk/models/receivable.py +1 -1
- unit_finance_sdk/models/receivable_attributes.py +1 -1
- unit_finance_sdk/models/receivable_attributes_repayment_status.py +1 -1
- unit_finance_sdk/models/receivable_relationships.py +1 -1
- unit_finance_sdk/models/receivables_balance.py +1 -1
- unit_finance_sdk/models/receivables_balance_attributes.py +1 -1
- unit_finance_sdk/models/received_ach_debit_positive_pay.py +1 -1
- unit_finance_sdk/models/received_ach_debit_positive_pay_attributes.py +1 -1
- unit_finance_sdk/models/received_ach_transaction.py +1 -1
- unit_finance_sdk/models/received_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/recurring_ach_repayment.py +1 -1
- unit_finance_sdk/models/recurring_ach_repayment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_ach_repayment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_book_repayment.py +1 -1
- unit_finance_sdk/models/recurring_book_repayment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_book_repayment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_capital_partner_ach_repayment.py +1 -1
- unit_finance_sdk/models/recurring_capital_partner_ach_repayment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_capital_partner_book_repayment.py +1 -1
- unit_finance_sdk/models/recurring_capital_partner_book_repayment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_capital_partner_book_repayment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_debit_ach_payment.py +1 -1
- unit_finance_sdk/models/relationship.py +1 -1
- unit_finance_sdk/models/relationship_data.py +1 -1
- unit_finance_sdk/models/release_account_hold_data.py +1 -1
- unit_finance_sdk/models/release_account_hold_data_attributes.py +5 -4
- unit_finance_sdk/models/release_account_hold_request.py +1 -1
- unit_finance_sdk/models/release_transaction.py +1 -1
- unit_finance_sdk/models/release_transaction_attributes.py +1 -1
- unit_finance_sdk/models/remove_account_owners_request.py +1 -1
- unit_finance_sdk/models/remove_authorized_users_data.py +1 -1
- unit_finance_sdk/models/remove_authorized_users_data_attributes.py +1 -1
- unit_finance_sdk/models/remove_authorized_users_request.py +1 -1
- unit_finance_sdk/models/reopen_account200_response.py +1 -1
- unit_finance_sdk/models/reopen_account200_response_data.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction_attributes.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction_relationships.py +1 -1
- unit_finance_sdk/models/replace_card200_response.py +1 -1
- unit_finance_sdk/models/replace_card200_response_data.py +1 -1
- unit_finance_sdk/models/replace_card_data.py +1 -1
- unit_finance_sdk/models/replace_card_data_attributes.py +1 -1
- unit_finance_sdk/models/replace_card_request.py +1 -1
- unit_finance_sdk/models/requested_product_type.py +1 -1
- unit_finance_sdk/models/resource_identifier.py +1 -1
- unit_finance_sdk/models/return_check_payment_data.py +1 -1
- unit_finance_sdk/models/return_check_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/return_check_payment_request.py +1 -1
- unit_finance_sdk/models/return_external_repayment200_response.py +1 -1
- unit_finance_sdk/models/return_external_repayment_data.py +1 -1
- unit_finance_sdk/models/return_external_repayment_data_relationships.py +1 -1
- unit_finance_sdk/models/return_external_repayment_request.py +1 -1
- unit_finance_sdk/models/returned_ach_transaction.py +1 -1
- unit_finance_sdk/models/returned_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/returned_check_deposit_transaction.py +1 -1
- unit_finance_sdk/models/returned_check_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_check_payment_transaction.py +1 -1
- unit_finance_sdk/models/returned_check_payment_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/returned_wire_transaction.py +1 -1
- unit_finance_sdk/models/returned_wire_transaction_attributes.py +1 -1
- unit_finance_sdk/models/reverse_fee201_response.py +1 -1
- unit_finance_sdk/models/reverse_fee_data.py +1 -1
- unit_finance_sdk/models/reverse_fee_data_attributes.py +1 -1
- unit_finance_sdk/models/reverse_fee_data_relationships.py +1 -1
- unit_finance_sdk/models/reverse_fee_request.py +1 -1
- unit_finance_sdk/models/reward.py +1 -1
- unit_finance_sdk/models/reward_attributes.py +1 -1
- unit_finance_sdk/models/reward_relationships.py +1 -1
- unit_finance_sdk/models/reward_transaction.py +1 -1
- unit_finance_sdk/models/reward_transaction_attributes.py +1 -1
- unit_finance_sdk/models/reward_transaction_relationships.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type_address.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type_categories_inner.py +1 -1
- unit_finance_sdk/models/schedule_type.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment200_response.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_data.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_request.py +1 -1
- unit_finance_sdk/models/sole_proprietor_annual_revenue_type.py +1 -1
- unit_finance_sdk/models/sole_proprietor_number_of_employees_type.py +1 -1
- unit_finance_sdk/models/source_of_income_type.py +1 -1
- unit_finance_sdk/models/statement.py +1 -1
- unit_finance_sdk/models/statement_attributes.py +1 -1
- unit_finance_sdk/models/store_location.py +1 -1
- unit_finance_sdk/models/store_location_attributes.py +1 -1
- unit_finance_sdk/models/tax_form.py +1 -1
- unit_finance_sdk/models/tax_form_attributes.py +1 -1
- unit_finance_sdk/models/tax_form_relationships.py +1 -1
- unit_finance_sdk/models/to_many_relationship.py +1 -1
- unit_finance_sdk/models/total_accrued_interest_type.py +1 -1
- unit_finance_sdk/models/transaction.py +1 -1
- unit_finance_sdk/models/transaction_card_fraud_case.py +1 -1
- unit_finance_sdk/models/update_account_request.py +1 -1
- unit_finance_sdk/models/update_ach_payment_data.py +1 -1
- unit_finance_sdk/models/update_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_ach_payment_request.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_data.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_ach_stop_payment200_response.py +1 -1
- unit_finance_sdk/models/update_ach_stop_payment_data.py +1 -1
- unit_finance_sdk/models/update_ach_stop_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_ach_stop_payment_request.py +1 -1
- unit_finance_sdk/models/update_application_request.py +1 -1
- unit_finance_sdk/models/update_book_payment_data.py +1 -1
- unit_finance_sdk/models/update_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_book_payment_request.py +1 -1
- unit_finance_sdk/models/update_book_transaction_data.py +1 -1
- unit_finance_sdk/models/update_book_transaction_data_attributes.py +1 -1
- unit_finance_sdk/models/update_book_transaction_request.py +1 -1
- unit_finance_sdk/models/update_business_application_data.py +1 -1
- unit_finance_sdk/models/update_business_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_application_request.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner201_response.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data_relationships.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_request.py +1 -1
- unit_finance_sdk/models/update_business_customer_data.py +1 -1
- unit_finance_sdk/models/update_business_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer200_response.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_data.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_request.py +1 -1
- unit_finance_sdk/models/update_business_customer_request.py +1 -1
- unit_finance_sdk/models/update_business_officer_data.py +1 -1
- unit_finance_sdk/models/update_business_officer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_officer_request.py +1 -1
- unit_finance_sdk/models/update_card200_response.py +1 -1
- unit_finance_sdk/models/update_card200_response_data.py +1 -1
- unit_finance_sdk/models/update_card_data.py +1 -1
- unit_finance_sdk/models/update_card_data_attributes.py +1 -1
- unit_finance_sdk/models/update_card_request.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_data.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_data_attributes.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_request.py +1 -1
- unit_finance_sdk/models/update_check_deposit_request.py +1 -1
- unit_finance_sdk/models/update_counterparty200_response.py +1 -1
- unit_finance_sdk/models/update_counterparty_data.py +1 -1
- unit_finance_sdk/models/update_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/update_counterparty_request.py +1 -1
- unit_finance_sdk/models/update_credit_account_data.py +1 -1
- unit_finance_sdk/models/update_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/update_credit_account_request.py +1 -1
- unit_finance_sdk/models/update_credit_application_data.py +1 -1
- unit_finance_sdk/models/update_credit_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_credit_application_request.py +1 -1
- unit_finance_sdk/models/update_customer200_response.py +1 -1
- unit_finance_sdk/models/update_customer_request.py +1 -1
- unit_finance_sdk/models/update_data.py +1 -1
- unit_finance_sdk/models/update_data_attributes.py +1 -1
- unit_finance_sdk/models/update_deposit_account_data.py +1 -1
- unit_finance_sdk/models/update_deposit_account_data_attributes.py +8 -3
- unit_finance_sdk/models/update_deposit_account_request.py +1 -1
- unit_finance_sdk/models/update_individual_application_data.py +1 -1
- unit_finance_sdk/models/update_individual_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_individual_application_request.py +1 -1
- unit_finance_sdk/models/update_individual_customer_data.py +1 -1
- unit_finance_sdk/models/update_individual_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_individual_customer_request.py +1 -1
- unit_finance_sdk/models/update_payment200_response.py +1 -1
- unit_finance_sdk/models/update_payment200_response_data.py +1 -1
- unit_finance_sdk/models/update_payment_request.py +1 -1
- unit_finance_sdk/models/update_policy_data.py +1 -1
- unit_finance_sdk/models/update_policy_data_attributes.py +1 -1
- unit_finance_sdk/models/update_policy_request.py +1 -1
- unit_finance_sdk/models/update_realtime_received_payment_data.py +1 -1
- unit_finance_sdk/models/update_realtime_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_received_payment200_response.py +1 -1
- unit_finance_sdk/models/update_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_data.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_request.py +1 -1
- unit_finance_sdk/models/update_tags_data.py +1 -1
- unit_finance_sdk/models/update_tags_data_attributes.py +1 -1
- unit_finance_sdk/models/update_tags_request.py +1 -1
- unit_finance_sdk/models/update_transaction200_response.py +1 -1
- unit_finance_sdk/models/update_transaction_request.py +1 -1
- unit_finance_sdk/models/update_wallet_data.py +1 -1
- unit_finance_sdk/models/update_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/update_wallet_request.py +1 -1
- unit_finance_sdk/models/verify_document_data.py +1 -1
- unit_finance_sdk/models/verify_document_data_attributes.py +1 -1
- unit_finance_sdk/models/verify_document_request.py +1 -1
- unit_finance_sdk/models/wallet_account.py +1 -1
- unit_finance_sdk/models/wallet_account_attributes.py +1 -1
- unit_finance_sdk/models/wire_counterparty_type.py +1 -1
- unit_finance_sdk/models/wire_drawdown.py +1 -1
- unit_finance_sdk/models/wire_drawdown_attributes.py +1 -1
- unit_finance_sdk/models/wire_drawdown_positive_pay.py +1 -1
- unit_finance_sdk/models/wire_drawdown_positive_pay_attributes.py +1 -1
- unit_finance_sdk/models/wire_drawdown_relationships.py +1 -1
- unit_finance_sdk/models/wire_payment.py +1 -1
- unit_finance_sdk/models/wire_payment_attributes.py +1 -1
- unit_finance_sdk/models/wire_payment_relationships.py +1 -1
- unit_finance_sdk/models/wire_transaction.py +1 -1
- unit_finance_sdk/models/wire_transaction_attributes.py +1 -1
- unit_finance_sdk/models/write_off_transaction.py +1 -1
- unit_finance_sdk/rest.py +1 -1
- {unit_openapi_python_sdk-0.19.0.dist-info → unit_openapi_python_sdk-0.20.0.dist-info}/METADATA +1 -1
- unit_openapi_python_sdk-0.20.0.dist-info/RECORD +863 -0
- {unit_openapi_python_sdk-0.19.0.dist-info → unit_openapi_python_sdk-0.20.0.dist-info}/WHEEL +1 -1
- unit_openapi_python_sdk-0.19.0.dist-info/RECORD +0 -858
- {unit_openapi_python_sdk-0.19.0.dist-info → unit_openapi_python_sdk-0.20.0.dist-info}/top_level.txt +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
JSON:API-compliant banking API.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.
|
|
6
|
+
The version of the OpenAPI document: 0.21.0
|
|
7
7
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
8
|
|
|
9
9
|
Do not edit the class manually.
|
|
@@ -20,6 +20,7 @@ from typing import Any, Dict, Optional
|
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from unit_finance_sdk.models.add_account_owners200_response import AddAccountOwners200Response
|
|
22
22
|
from unit_finance_sdk.models.add_account_owners_request import AddAccountOwnersRequest
|
|
23
|
+
from unit_finance_sdk.models.add_secondary_routing_number_request import AddSecondaryRoutingNumberRequest
|
|
23
24
|
from unit_finance_sdk.models.close_account_request import CloseAccountRequest
|
|
24
25
|
from unit_finance_sdk.models.create_account201_response import CreateAccount201Response
|
|
25
26
|
from unit_finance_sdk.models.create_account_hold201_response import CreateAccountHold201Response
|
|
@@ -353,10 +354,10 @@ class AccountsApi:
|
|
|
353
354
|
|
|
354
355
|
|
|
355
356
|
@validate_call
|
|
356
|
-
def
|
|
357
|
+
def add_secondary_routing_number(
|
|
357
358
|
self,
|
|
358
359
|
account_id: StrictStr,
|
|
359
|
-
|
|
360
|
+
add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest,
|
|
360
361
|
_request_timeout: Union[
|
|
361
362
|
None,
|
|
362
363
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -369,15 +370,15 @@ class AccountsApi:
|
|
|
369
370
|
_content_type: Optional[StrictStr] = None,
|
|
370
371
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
371
372
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
372
|
-
) ->
|
|
373
|
-
"""
|
|
373
|
+
) -> AddAccountOwners200Response:
|
|
374
|
+
"""Add secondary routing number
|
|
374
375
|
|
|
375
|
-
|
|
376
|
+
Add a secondary routing/account-number pair to an existing deposit account.
|
|
376
377
|
|
|
377
378
|
:param account_id: (required)
|
|
378
379
|
:type account_id: str
|
|
379
|
-
:param
|
|
380
|
-
:type
|
|
380
|
+
:param add_secondary_routing_number_request: (required)
|
|
381
|
+
:type add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest
|
|
381
382
|
:param _request_timeout: timeout setting for this request. If one
|
|
382
383
|
number provided, it will be total request
|
|
383
384
|
timeout. It can also be a pair (tuple) of
|
|
@@ -400,9 +401,9 @@ class AccountsApi:
|
|
|
400
401
|
:return: Returns the result object.
|
|
401
402
|
""" # noqa: E501
|
|
402
403
|
|
|
403
|
-
_param = self.
|
|
404
|
+
_param = self._add_secondary_routing_number_serialize(
|
|
404
405
|
account_id=account_id,
|
|
405
|
-
|
|
406
|
+
add_secondary_routing_number_request=add_secondary_routing_number_request,
|
|
406
407
|
_request_auth=_request_auth,
|
|
407
408
|
_content_type=_content_type,
|
|
408
409
|
_headers=_headers,
|
|
@@ -410,7 +411,7 @@ class AccountsApi:
|
|
|
410
411
|
)
|
|
411
412
|
|
|
412
413
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
413
|
-
'200': "
|
|
414
|
+
'200': "AddAccountOwners200Response",
|
|
414
415
|
'400': "ErrorDocument",
|
|
415
416
|
'401': "ErrorDocument",
|
|
416
417
|
'404': "ErrorDocument",
|
|
@@ -427,10 +428,10 @@ class AccountsApi:
|
|
|
427
428
|
|
|
428
429
|
|
|
429
430
|
@validate_call
|
|
430
|
-
def
|
|
431
|
+
def add_secondary_routing_number_with_http_info(
|
|
431
432
|
self,
|
|
432
433
|
account_id: StrictStr,
|
|
433
|
-
|
|
434
|
+
add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest,
|
|
434
435
|
_request_timeout: Union[
|
|
435
436
|
None,
|
|
436
437
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -443,15 +444,15 @@ class AccountsApi:
|
|
|
443
444
|
_content_type: Optional[StrictStr] = None,
|
|
444
445
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
445
446
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
446
|
-
) -> ApiResponse[
|
|
447
|
-
"""
|
|
447
|
+
) -> ApiResponse[AddAccountOwners200Response]:
|
|
448
|
+
"""Add secondary routing number
|
|
448
449
|
|
|
449
|
-
|
|
450
|
+
Add a secondary routing/account-number pair to an existing deposit account.
|
|
450
451
|
|
|
451
452
|
:param account_id: (required)
|
|
452
453
|
:type account_id: str
|
|
453
|
-
:param
|
|
454
|
-
:type
|
|
454
|
+
:param add_secondary_routing_number_request: (required)
|
|
455
|
+
:type add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest
|
|
455
456
|
:param _request_timeout: timeout setting for this request. If one
|
|
456
457
|
number provided, it will be total request
|
|
457
458
|
timeout. It can also be a pair (tuple) of
|
|
@@ -474,9 +475,9 @@ class AccountsApi:
|
|
|
474
475
|
:return: Returns the result object.
|
|
475
476
|
""" # noqa: E501
|
|
476
477
|
|
|
477
|
-
_param = self.
|
|
478
|
+
_param = self._add_secondary_routing_number_serialize(
|
|
478
479
|
account_id=account_id,
|
|
479
|
-
|
|
480
|
+
add_secondary_routing_number_request=add_secondary_routing_number_request,
|
|
480
481
|
_request_auth=_request_auth,
|
|
481
482
|
_content_type=_content_type,
|
|
482
483
|
_headers=_headers,
|
|
@@ -484,7 +485,7 @@ class AccountsApi:
|
|
|
484
485
|
)
|
|
485
486
|
|
|
486
487
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
487
|
-
'200': "
|
|
488
|
+
'200': "AddAccountOwners200Response",
|
|
488
489
|
'400': "ErrorDocument",
|
|
489
490
|
'401': "ErrorDocument",
|
|
490
491
|
'404': "ErrorDocument",
|
|
@@ -501,10 +502,10 @@ class AccountsApi:
|
|
|
501
502
|
|
|
502
503
|
|
|
503
504
|
@validate_call
|
|
504
|
-
def
|
|
505
|
+
def add_secondary_routing_number_without_preload_content(
|
|
505
506
|
self,
|
|
506
507
|
account_id: StrictStr,
|
|
507
|
-
|
|
508
|
+
add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest,
|
|
508
509
|
_request_timeout: Union[
|
|
509
510
|
None,
|
|
510
511
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -518,14 +519,14 @@ class AccountsApi:
|
|
|
518
519
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
519
520
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
520
521
|
) -> RESTResponseType:
|
|
521
|
-
"""
|
|
522
|
+
"""Add secondary routing number
|
|
522
523
|
|
|
523
|
-
|
|
524
|
+
Add a secondary routing/account-number pair to an existing deposit account.
|
|
524
525
|
|
|
525
526
|
:param account_id: (required)
|
|
526
527
|
:type account_id: str
|
|
527
|
-
:param
|
|
528
|
-
:type
|
|
528
|
+
:param add_secondary_routing_number_request: (required)
|
|
529
|
+
:type add_secondary_routing_number_request: AddSecondaryRoutingNumberRequest
|
|
529
530
|
:param _request_timeout: timeout setting for this request. If one
|
|
530
531
|
number provided, it will be total request
|
|
531
532
|
timeout. It can also be a pair (tuple) of
|
|
@@ -548,9 +549,9 @@ class AccountsApi:
|
|
|
548
549
|
:return: Returns the result object.
|
|
549
550
|
""" # noqa: E501
|
|
550
551
|
|
|
551
|
-
_param = self.
|
|
552
|
+
_param = self._add_secondary_routing_number_serialize(
|
|
552
553
|
account_id=account_id,
|
|
553
|
-
|
|
554
|
+
add_secondary_routing_number_request=add_secondary_routing_number_request,
|
|
554
555
|
_request_auth=_request_auth,
|
|
555
556
|
_content_type=_content_type,
|
|
556
557
|
_headers=_headers,
|
|
@@ -558,7 +559,7 @@ class AccountsApi:
|
|
|
558
559
|
)
|
|
559
560
|
|
|
560
561
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
561
|
-
'200': "
|
|
562
|
+
'200': "AddAccountOwners200Response",
|
|
562
563
|
'400': "ErrorDocument",
|
|
563
564
|
'401': "ErrorDocument",
|
|
564
565
|
'404': "ErrorDocument",
|
|
@@ -570,10 +571,10 @@ class AccountsApi:
|
|
|
570
571
|
return response_data.response
|
|
571
572
|
|
|
572
573
|
|
|
573
|
-
def
|
|
574
|
+
def _add_secondary_routing_number_serialize(
|
|
574
575
|
self,
|
|
575
576
|
account_id,
|
|
576
|
-
|
|
577
|
+
add_secondary_routing_number_request,
|
|
577
578
|
_request_auth,
|
|
578
579
|
_content_type,
|
|
579
580
|
_headers,
|
|
@@ -601,8 +602,8 @@ class AccountsApi:
|
|
|
601
602
|
# process the header parameters
|
|
602
603
|
# process the form parameters
|
|
603
604
|
# process the body parameter
|
|
604
|
-
if
|
|
605
|
-
_body_params =
|
|
605
|
+
if add_secondary_routing_number_request is not None:
|
|
606
|
+
_body_params = add_secondary_routing_number_request
|
|
606
607
|
|
|
607
608
|
|
|
608
609
|
# set the HTTP header `Accept`
|
|
@@ -634,7 +635,7 @@ class AccountsApi:
|
|
|
634
635
|
|
|
635
636
|
return self.api_client.param_serialize(
|
|
636
637
|
method='POST',
|
|
637
|
-
resource_path='/accounts/{accountId}/
|
|
638
|
+
resource_path='/accounts/{accountId}/secondary-routing-number',
|
|
638
639
|
path_params=_path_params,
|
|
639
640
|
query_params=_query_params,
|
|
640
641
|
header_params=_header_params,
|
|
@@ -651,9 +652,10 @@ class AccountsApi:
|
|
|
651
652
|
|
|
652
653
|
|
|
653
654
|
@validate_call
|
|
654
|
-
def
|
|
655
|
+
def close_account(
|
|
655
656
|
self,
|
|
656
|
-
|
|
657
|
+
account_id: StrictStr,
|
|
658
|
+
close_account_request: CloseAccountRequest,
|
|
657
659
|
_request_timeout: Union[
|
|
658
660
|
None,
|
|
659
661
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -667,12 +669,14 @@ class AccountsApi:
|
|
|
667
669
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
668
670
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
669
671
|
) -> CreateAccount201Response:
|
|
670
|
-
"""
|
|
672
|
+
"""Close an account
|
|
671
673
|
|
|
672
|
-
|
|
674
|
+
Closes an account. Closing an account is irreversible and can only be done by an Org user. An account.closed event is raised when the call was successful. The request body is one of CloseDepositAccountRequest, CloseCreditAccountRequest, or CloseWalletRequest.
|
|
673
675
|
|
|
674
|
-
:param
|
|
675
|
-
:type
|
|
676
|
+
:param account_id: (required)
|
|
677
|
+
:type account_id: str
|
|
678
|
+
:param close_account_request: (required)
|
|
679
|
+
:type close_account_request: CloseAccountRequest
|
|
676
680
|
:param _request_timeout: timeout setting for this request. If one
|
|
677
681
|
number provided, it will be total request
|
|
678
682
|
timeout. It can also be a pair (tuple) of
|
|
@@ -695,8 +699,9 @@ class AccountsApi:
|
|
|
695
699
|
:return: Returns the result object.
|
|
696
700
|
""" # noqa: E501
|
|
697
701
|
|
|
698
|
-
_param = self.
|
|
699
|
-
|
|
702
|
+
_param = self._close_account_serialize(
|
|
703
|
+
account_id=account_id,
|
|
704
|
+
close_account_request=close_account_request,
|
|
700
705
|
_request_auth=_request_auth,
|
|
701
706
|
_content_type=_content_type,
|
|
702
707
|
_headers=_headers,
|
|
@@ -704,7 +709,7 @@ class AccountsApi:
|
|
|
704
709
|
)
|
|
705
710
|
|
|
706
711
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
707
|
-
'
|
|
712
|
+
'200': "CreateAccount201Response",
|
|
708
713
|
'400': "ErrorDocument",
|
|
709
714
|
'401': "ErrorDocument",
|
|
710
715
|
'404': "ErrorDocument",
|
|
@@ -721,9 +726,10 @@ class AccountsApi:
|
|
|
721
726
|
|
|
722
727
|
|
|
723
728
|
@validate_call
|
|
724
|
-
def
|
|
729
|
+
def close_account_with_http_info(
|
|
725
730
|
self,
|
|
726
|
-
|
|
731
|
+
account_id: StrictStr,
|
|
732
|
+
close_account_request: CloseAccountRequest,
|
|
727
733
|
_request_timeout: Union[
|
|
728
734
|
None,
|
|
729
735
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -737,12 +743,14 @@ class AccountsApi:
|
|
|
737
743
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
738
744
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
739
745
|
) -> ApiResponse[CreateAccount201Response]:
|
|
740
|
-
"""
|
|
746
|
+
"""Close an account
|
|
741
747
|
|
|
742
|
-
|
|
748
|
+
Closes an account. Closing an account is irreversible and can only be done by an Org user. An account.closed event is raised when the call was successful. The request body is one of CloseDepositAccountRequest, CloseCreditAccountRequest, or CloseWalletRequest.
|
|
743
749
|
|
|
744
|
-
:param
|
|
745
|
-
:type
|
|
750
|
+
:param account_id: (required)
|
|
751
|
+
:type account_id: str
|
|
752
|
+
:param close_account_request: (required)
|
|
753
|
+
:type close_account_request: CloseAccountRequest
|
|
746
754
|
:param _request_timeout: timeout setting for this request. If one
|
|
747
755
|
number provided, it will be total request
|
|
748
756
|
timeout. It can also be a pair (tuple) of
|
|
@@ -765,8 +773,9 @@ class AccountsApi:
|
|
|
765
773
|
:return: Returns the result object.
|
|
766
774
|
""" # noqa: E501
|
|
767
775
|
|
|
768
|
-
_param = self.
|
|
769
|
-
|
|
776
|
+
_param = self._close_account_serialize(
|
|
777
|
+
account_id=account_id,
|
|
778
|
+
close_account_request=close_account_request,
|
|
770
779
|
_request_auth=_request_auth,
|
|
771
780
|
_content_type=_content_type,
|
|
772
781
|
_headers=_headers,
|
|
@@ -774,7 +783,7 @@ class AccountsApi:
|
|
|
774
783
|
)
|
|
775
784
|
|
|
776
785
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
777
|
-
'
|
|
786
|
+
'200': "CreateAccount201Response",
|
|
778
787
|
'400': "ErrorDocument",
|
|
779
788
|
'401': "ErrorDocument",
|
|
780
789
|
'404': "ErrorDocument",
|
|
@@ -791,9 +800,10 @@ class AccountsApi:
|
|
|
791
800
|
|
|
792
801
|
|
|
793
802
|
@validate_call
|
|
794
|
-
def
|
|
803
|
+
def close_account_without_preload_content(
|
|
795
804
|
self,
|
|
796
|
-
|
|
805
|
+
account_id: StrictStr,
|
|
806
|
+
close_account_request: CloseAccountRequest,
|
|
797
807
|
_request_timeout: Union[
|
|
798
808
|
None,
|
|
799
809
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -807,12 +817,14 @@ class AccountsApi:
|
|
|
807
817
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
808
818
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
809
819
|
) -> RESTResponseType:
|
|
810
|
-
"""
|
|
820
|
+
"""Close an account
|
|
811
821
|
|
|
812
|
-
|
|
822
|
+
Closes an account. Closing an account is irreversible and can only be done by an Org user. An account.closed event is raised when the call was successful. The request body is one of CloseDepositAccountRequest, CloseCreditAccountRequest, or CloseWalletRequest.
|
|
813
823
|
|
|
814
|
-
:param
|
|
815
|
-
:type
|
|
824
|
+
:param account_id: (required)
|
|
825
|
+
:type account_id: str
|
|
826
|
+
:param close_account_request: (required)
|
|
827
|
+
:type close_account_request: CloseAccountRequest
|
|
816
828
|
:param _request_timeout: timeout setting for this request. If one
|
|
817
829
|
number provided, it will be total request
|
|
818
830
|
timeout. It can also be a pair (tuple) of
|
|
@@ -835,8 +847,9 @@ class AccountsApi:
|
|
|
835
847
|
:return: Returns the result object.
|
|
836
848
|
""" # noqa: E501
|
|
837
849
|
|
|
838
|
-
_param = self.
|
|
839
|
-
|
|
850
|
+
_param = self._close_account_serialize(
|
|
851
|
+
account_id=account_id,
|
|
852
|
+
close_account_request=close_account_request,
|
|
840
853
|
_request_auth=_request_auth,
|
|
841
854
|
_content_type=_content_type,
|
|
842
855
|
_headers=_headers,
|
|
@@ -844,7 +857,7 @@ class AccountsApi:
|
|
|
844
857
|
)
|
|
845
858
|
|
|
846
859
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
847
|
-
'
|
|
860
|
+
'200': "CreateAccount201Response",
|
|
848
861
|
'400': "ErrorDocument",
|
|
849
862
|
'401': "ErrorDocument",
|
|
850
863
|
'404': "ErrorDocument",
|
|
@@ -856,9 +869,10 @@ class AccountsApi:
|
|
|
856
869
|
return response_data.response
|
|
857
870
|
|
|
858
871
|
|
|
859
|
-
def
|
|
872
|
+
def _close_account_serialize(
|
|
860
873
|
self,
|
|
861
|
-
|
|
874
|
+
account_id,
|
|
875
|
+
close_account_request,
|
|
862
876
|
_request_auth,
|
|
863
877
|
_content_type,
|
|
864
878
|
_headers,
|
|
@@ -880,12 +894,14 @@ class AccountsApi:
|
|
|
880
894
|
_body_params: Optional[bytes] = None
|
|
881
895
|
|
|
882
896
|
# process the path parameters
|
|
897
|
+
if account_id is not None:
|
|
898
|
+
_path_params['accountId'] = account_id
|
|
883
899
|
# process the query parameters
|
|
884
900
|
# process the header parameters
|
|
885
901
|
# process the form parameters
|
|
886
902
|
# process the body parameter
|
|
887
|
-
if
|
|
888
|
-
_body_params =
|
|
903
|
+
if close_account_request is not None:
|
|
904
|
+
_body_params = close_account_request
|
|
889
905
|
|
|
890
906
|
|
|
891
907
|
# set the HTTP header `Accept`
|
|
@@ -917,7 +933,7 @@ class AccountsApi:
|
|
|
917
933
|
|
|
918
934
|
return self.api_client.param_serialize(
|
|
919
935
|
method='POST',
|
|
920
|
-
resource_path='/accounts',
|
|
936
|
+
resource_path='/accounts/{accountId}/close',
|
|
921
937
|
path_params=_path_params,
|
|
922
938
|
query_params=_query_params,
|
|
923
939
|
header_params=_header_params,
|
|
@@ -934,9 +950,9 @@ class AccountsApi:
|
|
|
934
950
|
|
|
935
951
|
|
|
936
952
|
@validate_call
|
|
937
|
-
def
|
|
953
|
+
def create_account(
|
|
938
954
|
self,
|
|
939
|
-
|
|
955
|
+
create_account_request: CreateAccountRequest,
|
|
940
956
|
_request_timeout: Union[
|
|
941
957
|
None,
|
|
942
958
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -949,13 +965,13 @@ class AccountsApi:
|
|
|
949
965
|
_content_type: Optional[StrictStr] = None,
|
|
950
966
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
951
967
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
952
|
-
) ->
|
|
953
|
-
"""Create an account
|
|
968
|
+
) -> CreateAccount201Response:
|
|
969
|
+
"""Create an account
|
|
954
970
|
|
|
955
|
-
|
|
971
|
+
Creates an account. The request body is one of CreateDepositAccountRequest, CreateCreditAccountRequest, or CreateWalletRequest, discriminated by data.type (depositAccount, creditAccount, walletAccount).
|
|
956
972
|
|
|
957
|
-
:param
|
|
958
|
-
:type
|
|
973
|
+
:param create_account_request: (required)
|
|
974
|
+
:type create_account_request: CreateAccountRequest
|
|
959
975
|
:param _request_timeout: timeout setting for this request. If one
|
|
960
976
|
number provided, it will be total request
|
|
961
977
|
timeout. It can also be a pair (tuple) of
|
|
@@ -978,8 +994,8 @@ class AccountsApi:
|
|
|
978
994
|
:return: Returns the result object.
|
|
979
995
|
""" # noqa: E501
|
|
980
996
|
|
|
981
|
-
_param = self.
|
|
982
|
-
|
|
997
|
+
_param = self._create_account_serialize(
|
|
998
|
+
create_account_request=create_account_request,
|
|
983
999
|
_request_auth=_request_auth,
|
|
984
1000
|
_content_type=_content_type,
|
|
985
1001
|
_headers=_headers,
|
|
@@ -987,7 +1003,7 @@ class AccountsApi:
|
|
|
987
1003
|
)
|
|
988
1004
|
|
|
989
1005
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
990
|
-
'201': "
|
|
1006
|
+
'201': "CreateAccount201Response",
|
|
991
1007
|
'400': "ErrorDocument",
|
|
992
1008
|
'401': "ErrorDocument",
|
|
993
1009
|
'404': "ErrorDocument",
|
|
@@ -1004,9 +1020,9 @@ class AccountsApi:
|
|
|
1004
1020
|
|
|
1005
1021
|
|
|
1006
1022
|
@validate_call
|
|
1007
|
-
def
|
|
1023
|
+
def create_account_with_http_info(
|
|
1008
1024
|
self,
|
|
1009
|
-
|
|
1025
|
+
create_account_request: CreateAccountRequest,
|
|
1010
1026
|
_request_timeout: Union[
|
|
1011
1027
|
None,
|
|
1012
1028
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1019,13 +1035,13 @@ class AccountsApi:
|
|
|
1019
1035
|
_content_type: Optional[StrictStr] = None,
|
|
1020
1036
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1021
1037
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1022
|
-
) -> ApiResponse[
|
|
1023
|
-
"""Create an account
|
|
1038
|
+
) -> ApiResponse[CreateAccount201Response]:
|
|
1039
|
+
"""Create an account
|
|
1024
1040
|
|
|
1025
|
-
|
|
1041
|
+
Creates an account. The request body is one of CreateDepositAccountRequest, CreateCreditAccountRequest, or CreateWalletRequest, discriminated by data.type (depositAccount, creditAccount, walletAccount).
|
|
1026
1042
|
|
|
1027
|
-
:param
|
|
1028
|
-
:type
|
|
1043
|
+
:param create_account_request: (required)
|
|
1044
|
+
:type create_account_request: CreateAccountRequest
|
|
1029
1045
|
:param _request_timeout: timeout setting for this request. If one
|
|
1030
1046
|
number provided, it will be total request
|
|
1031
1047
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1048,8 +1064,8 @@ class AccountsApi:
|
|
|
1048
1064
|
:return: Returns the result object.
|
|
1049
1065
|
""" # noqa: E501
|
|
1050
1066
|
|
|
1051
|
-
_param = self.
|
|
1052
|
-
|
|
1067
|
+
_param = self._create_account_serialize(
|
|
1068
|
+
create_account_request=create_account_request,
|
|
1053
1069
|
_request_auth=_request_auth,
|
|
1054
1070
|
_content_type=_content_type,
|
|
1055
1071
|
_headers=_headers,
|
|
@@ -1057,7 +1073,7 @@ class AccountsApi:
|
|
|
1057
1073
|
)
|
|
1058
1074
|
|
|
1059
1075
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1060
|
-
'201': "
|
|
1076
|
+
'201': "CreateAccount201Response",
|
|
1061
1077
|
'400': "ErrorDocument",
|
|
1062
1078
|
'401': "ErrorDocument",
|
|
1063
1079
|
'404': "ErrorDocument",
|
|
@@ -1074,9 +1090,9 @@ class AccountsApi:
|
|
|
1074
1090
|
|
|
1075
1091
|
|
|
1076
1092
|
@validate_call
|
|
1077
|
-
def
|
|
1093
|
+
def create_account_without_preload_content(
|
|
1078
1094
|
self,
|
|
1079
|
-
|
|
1095
|
+
create_account_request: CreateAccountRequest,
|
|
1080
1096
|
_request_timeout: Union[
|
|
1081
1097
|
None,
|
|
1082
1098
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1090,12 +1106,12 @@ class AccountsApi:
|
|
|
1090
1106
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1091
1107
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1092
1108
|
) -> RESTResponseType:
|
|
1093
|
-
"""Create an account
|
|
1109
|
+
"""Create an account
|
|
1094
1110
|
|
|
1095
|
-
|
|
1111
|
+
Creates an account. The request body is one of CreateDepositAccountRequest, CreateCreditAccountRequest, or CreateWalletRequest, discriminated by data.type (depositAccount, creditAccount, walletAccount).
|
|
1096
1112
|
|
|
1097
|
-
:param
|
|
1098
|
-
:type
|
|
1113
|
+
:param create_account_request: (required)
|
|
1114
|
+
:type create_account_request: CreateAccountRequest
|
|
1099
1115
|
:param _request_timeout: timeout setting for this request. If one
|
|
1100
1116
|
number provided, it will be total request
|
|
1101
1117
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1118,8 +1134,8 @@ class AccountsApi:
|
|
|
1118
1134
|
:return: Returns the result object.
|
|
1119
1135
|
""" # noqa: E501
|
|
1120
1136
|
|
|
1121
|
-
_param = self.
|
|
1122
|
-
|
|
1137
|
+
_param = self._create_account_serialize(
|
|
1138
|
+
create_account_request=create_account_request,
|
|
1123
1139
|
_request_auth=_request_auth,
|
|
1124
1140
|
_content_type=_content_type,
|
|
1125
1141
|
_headers=_headers,
|
|
@@ -1127,7 +1143,7 @@ class AccountsApi:
|
|
|
1127
1143
|
)
|
|
1128
1144
|
|
|
1129
1145
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1130
|
-
'201': "
|
|
1146
|
+
'201': "CreateAccount201Response",
|
|
1131
1147
|
'400': "ErrorDocument",
|
|
1132
1148
|
'401': "ErrorDocument",
|
|
1133
1149
|
'404': "ErrorDocument",
|
|
@@ -1139,9 +1155,9 @@ class AccountsApi:
|
|
|
1139
1155
|
return response_data.response
|
|
1140
1156
|
|
|
1141
1157
|
|
|
1142
|
-
def
|
|
1158
|
+
def _create_account_serialize(
|
|
1143
1159
|
self,
|
|
1144
|
-
|
|
1160
|
+
create_account_request,
|
|
1145
1161
|
_request_auth,
|
|
1146
1162
|
_content_type,
|
|
1147
1163
|
_headers,
|
|
@@ -1167,8 +1183,8 @@ class AccountsApi:
|
|
|
1167
1183
|
# process the header parameters
|
|
1168
1184
|
# process the form parameters
|
|
1169
1185
|
# process the body parameter
|
|
1170
|
-
if
|
|
1171
|
-
_body_params =
|
|
1186
|
+
if create_account_request is not None:
|
|
1187
|
+
_body_params = create_account_request
|
|
1172
1188
|
|
|
1173
1189
|
|
|
1174
1190
|
# set the HTTP header `Accept`
|
|
@@ -1200,7 +1216,7 @@ class AccountsApi:
|
|
|
1200
1216
|
|
|
1201
1217
|
return self.api_client.param_serialize(
|
|
1202
1218
|
method='POST',
|
|
1203
|
-
resource_path='/
|
|
1219
|
+
resource_path='/accounts',
|
|
1204
1220
|
path_params=_path_params,
|
|
1205
1221
|
query_params=_query_params,
|
|
1206
1222
|
header_params=_header_params,
|
|
@@ -1217,10 +1233,9 @@ class AccountsApi:
|
|
|
1217
1233
|
|
|
1218
1234
|
|
|
1219
1235
|
@validate_call
|
|
1220
|
-
def
|
|
1236
|
+
def create_account_hold(
|
|
1221
1237
|
self,
|
|
1222
|
-
|
|
1223
|
-
freeze_account_request: FreezeAccountRequest,
|
|
1238
|
+
create_account_hold_request: CreateAccountHoldRequest,
|
|
1224
1239
|
_request_timeout: Union[
|
|
1225
1240
|
None,
|
|
1226
1241
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1233,15 +1248,13 @@ class AccountsApi:
|
|
|
1233
1248
|
_content_type: Optional[StrictStr] = None,
|
|
1234
1249
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1235
1250
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1236
|
-
) ->
|
|
1237
|
-
"""
|
|
1251
|
+
) -> CreateAccountHold201Response:
|
|
1252
|
+
"""Create an account hold
|
|
1238
1253
|
|
|
1239
|
-
|
|
1254
|
+
Create an account hold resource.
|
|
1240
1255
|
|
|
1241
|
-
:param
|
|
1242
|
-
:type
|
|
1243
|
-
:param freeze_account_request: (required)
|
|
1244
|
-
:type freeze_account_request: FreezeAccountRequest
|
|
1256
|
+
:param create_account_hold_request: (required)
|
|
1257
|
+
:type create_account_hold_request: CreateAccountHoldRequest
|
|
1245
1258
|
:param _request_timeout: timeout setting for this request. If one
|
|
1246
1259
|
number provided, it will be total request
|
|
1247
1260
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1264,9 +1277,8 @@ class AccountsApi:
|
|
|
1264
1277
|
:return: Returns the result object.
|
|
1265
1278
|
""" # noqa: E501
|
|
1266
1279
|
|
|
1267
|
-
_param = self.
|
|
1268
|
-
|
|
1269
|
-
freeze_account_request=freeze_account_request,
|
|
1280
|
+
_param = self._create_account_hold_serialize(
|
|
1281
|
+
create_account_hold_request=create_account_hold_request,
|
|
1270
1282
|
_request_auth=_request_auth,
|
|
1271
1283
|
_content_type=_content_type,
|
|
1272
1284
|
_headers=_headers,
|
|
@@ -1274,7 +1286,7 @@ class AccountsApi:
|
|
|
1274
1286
|
)
|
|
1275
1287
|
|
|
1276
1288
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1277
|
-
'
|
|
1289
|
+
'201': "CreateAccountHold201Response",
|
|
1278
1290
|
'400': "ErrorDocument",
|
|
1279
1291
|
'401': "ErrorDocument",
|
|
1280
1292
|
'404': "ErrorDocument",
|
|
@@ -1291,10 +1303,9 @@ class AccountsApi:
|
|
|
1291
1303
|
|
|
1292
1304
|
|
|
1293
1305
|
@validate_call
|
|
1294
|
-
def
|
|
1306
|
+
def create_account_hold_with_http_info(
|
|
1295
1307
|
self,
|
|
1296
|
-
|
|
1297
|
-
freeze_account_request: FreezeAccountRequest,
|
|
1308
|
+
create_account_hold_request: CreateAccountHoldRequest,
|
|
1298
1309
|
_request_timeout: Union[
|
|
1299
1310
|
None,
|
|
1300
1311
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1307,15 +1318,13 @@ class AccountsApi:
|
|
|
1307
1318
|
_content_type: Optional[StrictStr] = None,
|
|
1308
1319
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1309
1320
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1310
|
-
) -> ApiResponse[
|
|
1311
|
-
"""
|
|
1321
|
+
) -> ApiResponse[CreateAccountHold201Response]:
|
|
1322
|
+
"""Create an account hold
|
|
1312
1323
|
|
|
1313
|
-
|
|
1324
|
+
Create an account hold resource.
|
|
1314
1325
|
|
|
1315
|
-
:param
|
|
1316
|
-
:type
|
|
1317
|
-
:param freeze_account_request: (required)
|
|
1318
|
-
:type freeze_account_request: FreezeAccountRequest
|
|
1326
|
+
:param create_account_hold_request: (required)
|
|
1327
|
+
:type create_account_hold_request: CreateAccountHoldRequest
|
|
1319
1328
|
:param _request_timeout: timeout setting for this request. If one
|
|
1320
1329
|
number provided, it will be total request
|
|
1321
1330
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1338,9 +1347,8 @@ class AccountsApi:
|
|
|
1338
1347
|
:return: Returns the result object.
|
|
1339
1348
|
""" # noqa: E501
|
|
1340
1349
|
|
|
1341
|
-
_param = self.
|
|
1342
|
-
|
|
1343
|
-
freeze_account_request=freeze_account_request,
|
|
1350
|
+
_param = self._create_account_hold_serialize(
|
|
1351
|
+
create_account_hold_request=create_account_hold_request,
|
|
1344
1352
|
_request_auth=_request_auth,
|
|
1345
1353
|
_content_type=_content_type,
|
|
1346
1354
|
_headers=_headers,
|
|
@@ -1348,7 +1356,7 @@ class AccountsApi:
|
|
|
1348
1356
|
)
|
|
1349
1357
|
|
|
1350
1358
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1351
|
-
'
|
|
1359
|
+
'201': "CreateAccountHold201Response",
|
|
1352
1360
|
'400': "ErrorDocument",
|
|
1353
1361
|
'401': "ErrorDocument",
|
|
1354
1362
|
'404': "ErrorDocument",
|
|
@@ -1365,10 +1373,9 @@ class AccountsApi:
|
|
|
1365
1373
|
|
|
1366
1374
|
|
|
1367
1375
|
@validate_call
|
|
1368
|
-
def
|
|
1376
|
+
def create_account_hold_without_preload_content(
|
|
1369
1377
|
self,
|
|
1370
|
-
|
|
1371
|
-
freeze_account_request: FreezeAccountRequest,
|
|
1378
|
+
create_account_hold_request: CreateAccountHoldRequest,
|
|
1372
1379
|
_request_timeout: Union[
|
|
1373
1380
|
None,
|
|
1374
1381
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1382,14 +1389,12 @@ class AccountsApi:
|
|
|
1382
1389
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1383
1390
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1384
1391
|
) -> RESTResponseType:
|
|
1385
|
-
"""
|
|
1392
|
+
"""Create an account hold
|
|
1386
1393
|
|
|
1387
|
-
|
|
1394
|
+
Create an account hold resource.
|
|
1388
1395
|
|
|
1389
|
-
:param
|
|
1390
|
-
:type
|
|
1391
|
-
:param freeze_account_request: (required)
|
|
1392
|
-
:type freeze_account_request: FreezeAccountRequest
|
|
1396
|
+
:param create_account_hold_request: (required)
|
|
1397
|
+
:type create_account_hold_request: CreateAccountHoldRequest
|
|
1393
1398
|
:param _request_timeout: timeout setting for this request. If one
|
|
1394
1399
|
number provided, it will be total request
|
|
1395
1400
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1412,9 +1417,8 @@ class AccountsApi:
|
|
|
1412
1417
|
:return: Returns the result object.
|
|
1413
1418
|
""" # noqa: E501
|
|
1414
1419
|
|
|
1415
|
-
_param = self.
|
|
1416
|
-
|
|
1417
|
-
freeze_account_request=freeze_account_request,
|
|
1420
|
+
_param = self._create_account_hold_serialize(
|
|
1421
|
+
create_account_hold_request=create_account_hold_request,
|
|
1418
1422
|
_request_auth=_request_auth,
|
|
1419
1423
|
_content_type=_content_type,
|
|
1420
1424
|
_headers=_headers,
|
|
@@ -1422,7 +1426,7 @@ class AccountsApi:
|
|
|
1422
1426
|
)
|
|
1423
1427
|
|
|
1424
1428
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1425
|
-
'
|
|
1429
|
+
'201': "CreateAccountHold201Response",
|
|
1426
1430
|
'400': "ErrorDocument",
|
|
1427
1431
|
'401': "ErrorDocument",
|
|
1428
1432
|
'404': "ErrorDocument",
|
|
@@ -1434,10 +1438,9 @@ class AccountsApi:
|
|
|
1434
1438
|
return response_data.response
|
|
1435
1439
|
|
|
1436
1440
|
|
|
1437
|
-
def
|
|
1441
|
+
def _create_account_hold_serialize(
|
|
1438
1442
|
self,
|
|
1439
|
-
|
|
1440
|
-
freeze_account_request,
|
|
1443
|
+
create_account_hold_request,
|
|
1441
1444
|
_request_auth,
|
|
1442
1445
|
_content_type,
|
|
1443
1446
|
_headers,
|
|
@@ -1459,14 +1462,12 @@ class AccountsApi:
|
|
|
1459
1462
|
_body_params: Optional[bytes] = None
|
|
1460
1463
|
|
|
1461
1464
|
# process the path parameters
|
|
1462
|
-
if account_id is not None:
|
|
1463
|
-
_path_params['accountId'] = account_id
|
|
1464
1465
|
# process the query parameters
|
|
1465
1466
|
# process the header parameters
|
|
1466
1467
|
# process the form parameters
|
|
1467
1468
|
# process the body parameter
|
|
1468
|
-
if
|
|
1469
|
-
_body_params =
|
|
1469
|
+
if create_account_hold_request is not None:
|
|
1470
|
+
_body_params = create_account_hold_request
|
|
1470
1471
|
|
|
1471
1472
|
|
|
1472
1473
|
# set the HTTP header `Accept`
|
|
@@ -1498,7 +1499,7 @@ class AccountsApi:
|
|
|
1498
1499
|
|
|
1499
1500
|
return self.api_client.param_serialize(
|
|
1500
1501
|
method='POST',
|
|
1501
|
-
resource_path='/
|
|
1502
|
+
resource_path='/account-holds',
|
|
1502
1503
|
path_params=_path_params,
|
|
1503
1504
|
query_params=_query_params,
|
|
1504
1505
|
header_params=_header_params,
|
|
@@ -1515,11 +1516,10 @@ class AccountsApi:
|
|
|
1515
1516
|
|
|
1516
1517
|
|
|
1517
1518
|
@validate_call
|
|
1518
|
-
def
|
|
1519
|
+
def freeze_account(
|
|
1519
1520
|
self,
|
|
1520
1521
|
account_id: StrictStr,
|
|
1521
|
-
|
|
1522
|
-
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.")] = None,
|
|
1522
|
+
freeze_account_request: FreezeAccountRequest,
|
|
1523
1523
|
_request_timeout: Union[
|
|
1524
1524
|
None,
|
|
1525
1525
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1533,16 +1533,14 @@ class AccountsApi:
|
|
|
1533
1533
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1534
1534
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1535
1535
|
) -> CreateAccount201Response:
|
|
1536
|
-
"""
|
|
1536
|
+
"""Freeze an account
|
|
1537
1537
|
|
|
1538
|
-
|
|
1538
|
+
Freezes an account. An account.frozen event is raised when the call was successful. A frozen account behaves like a closed account, with the primary difference being that a frozen state should be temporary. The request body is one of FreezeDepositAccountRequest, FreezeCreditAccountRequest, or FreezeWalletRequest.
|
|
1539
1539
|
|
|
1540
1540
|
:param account_id: (required)
|
|
1541
1541
|
:type account_id: str
|
|
1542
|
-
:param
|
|
1543
|
-
:type
|
|
1544
|
-
:param extra_fields_account: Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.
|
|
1545
|
-
:type extra_fields_account: str
|
|
1542
|
+
:param freeze_account_request: (required)
|
|
1543
|
+
:type freeze_account_request: FreezeAccountRequest
|
|
1546
1544
|
:param _request_timeout: timeout setting for this request. If one
|
|
1547
1545
|
number provided, it will be total request
|
|
1548
1546
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1565,10 +1563,9 @@ class AccountsApi:
|
|
|
1565
1563
|
:return: Returns the result object.
|
|
1566
1564
|
""" # noqa: E501
|
|
1567
1565
|
|
|
1568
|
-
_param = self.
|
|
1566
|
+
_param = self._freeze_account_serialize(
|
|
1569
1567
|
account_id=account_id,
|
|
1570
|
-
|
|
1571
|
-
extra_fields_account=extra_fields_account,
|
|
1568
|
+
freeze_account_request=freeze_account_request,
|
|
1572
1569
|
_request_auth=_request_auth,
|
|
1573
1570
|
_content_type=_content_type,
|
|
1574
1571
|
_headers=_headers,
|
|
@@ -1593,11 +1590,10 @@ class AccountsApi:
|
|
|
1593
1590
|
|
|
1594
1591
|
|
|
1595
1592
|
@validate_call
|
|
1596
|
-
def
|
|
1593
|
+
def freeze_account_with_http_info(
|
|
1597
1594
|
self,
|
|
1598
1595
|
account_id: StrictStr,
|
|
1599
|
-
|
|
1600
|
-
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.")] = None,
|
|
1596
|
+
freeze_account_request: FreezeAccountRequest,
|
|
1601
1597
|
_request_timeout: Union[
|
|
1602
1598
|
None,
|
|
1603
1599
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1611,16 +1607,14 @@ class AccountsApi:
|
|
|
1611
1607
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1612
1608
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1613
1609
|
) -> ApiResponse[CreateAccount201Response]:
|
|
1614
|
-
"""
|
|
1610
|
+
"""Freeze an account
|
|
1615
1611
|
|
|
1616
|
-
|
|
1612
|
+
Freezes an account. An account.frozen event is raised when the call was successful. A frozen account behaves like a closed account, with the primary difference being that a frozen state should be temporary. The request body is one of FreezeDepositAccountRequest, FreezeCreditAccountRequest, or FreezeWalletRequest.
|
|
1617
1613
|
|
|
1618
1614
|
:param account_id: (required)
|
|
1619
1615
|
:type account_id: str
|
|
1620
|
-
:param
|
|
1621
|
-
:type
|
|
1622
|
-
:param extra_fields_account: Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.
|
|
1623
|
-
:type extra_fields_account: str
|
|
1616
|
+
:param freeze_account_request: (required)
|
|
1617
|
+
:type freeze_account_request: FreezeAccountRequest
|
|
1624
1618
|
:param _request_timeout: timeout setting for this request. If one
|
|
1625
1619
|
number provided, it will be total request
|
|
1626
1620
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1643,10 +1637,9 @@ class AccountsApi:
|
|
|
1643
1637
|
:return: Returns the result object.
|
|
1644
1638
|
""" # noqa: E501
|
|
1645
1639
|
|
|
1646
|
-
_param = self.
|
|
1640
|
+
_param = self._freeze_account_serialize(
|
|
1647
1641
|
account_id=account_id,
|
|
1648
|
-
|
|
1649
|
-
extra_fields_account=extra_fields_account,
|
|
1642
|
+
freeze_account_request=freeze_account_request,
|
|
1650
1643
|
_request_auth=_request_auth,
|
|
1651
1644
|
_content_type=_content_type,
|
|
1652
1645
|
_headers=_headers,
|
|
@@ -1671,11 +1664,10 @@ class AccountsApi:
|
|
|
1671
1664
|
|
|
1672
1665
|
|
|
1673
1666
|
@validate_call
|
|
1674
|
-
def
|
|
1667
|
+
def freeze_account_without_preload_content(
|
|
1675
1668
|
self,
|
|
1676
1669
|
account_id: StrictStr,
|
|
1677
|
-
|
|
1678
|
-
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.")] = None,
|
|
1670
|
+
freeze_account_request: FreezeAccountRequest,
|
|
1679
1671
|
_request_timeout: Union[
|
|
1680
1672
|
None,
|
|
1681
1673
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1689,16 +1681,14 @@ class AccountsApi:
|
|
|
1689
1681
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1690
1682
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1691
1683
|
) -> RESTResponseType:
|
|
1692
|
-
"""
|
|
1684
|
+
"""Freeze an account
|
|
1693
1685
|
|
|
1694
|
-
|
|
1686
|
+
Freezes an account. An account.frozen event is raised when the call was successful. A frozen account behaves like a closed account, with the primary difference being that a frozen state should be temporary. The request body is one of FreezeDepositAccountRequest, FreezeCreditAccountRequest, or FreezeWalletRequest.
|
|
1695
1687
|
|
|
1696
1688
|
:param account_id: (required)
|
|
1697
1689
|
:type account_id: str
|
|
1698
|
-
:param
|
|
1699
|
-
:type
|
|
1700
|
-
:param extra_fields_account: Optional. Use extraFields[account]=interestTerms to include the interestTerms object in the account's attributes section of the response.
|
|
1701
|
-
:type extra_fields_account: str
|
|
1690
|
+
:param freeze_account_request: (required)
|
|
1691
|
+
:type freeze_account_request: FreezeAccountRequest
|
|
1702
1692
|
:param _request_timeout: timeout setting for this request. If one
|
|
1703
1693
|
number provided, it will be total request
|
|
1704
1694
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1721,10 +1711,9 @@ class AccountsApi:
|
|
|
1721
1711
|
:return: Returns the result object.
|
|
1722
1712
|
""" # noqa: E501
|
|
1723
1713
|
|
|
1724
|
-
_param = self.
|
|
1714
|
+
_param = self._freeze_account_serialize(
|
|
1725
1715
|
account_id=account_id,
|
|
1726
|
-
|
|
1727
|
-
extra_fields_account=extra_fields_account,
|
|
1716
|
+
freeze_account_request=freeze_account_request,
|
|
1728
1717
|
_request_auth=_request_auth,
|
|
1729
1718
|
_content_type=_content_type,
|
|
1730
1719
|
_headers=_headers,
|
|
@@ -1744,11 +1733,10 @@ class AccountsApi:
|
|
|
1744
1733
|
return response_data.response
|
|
1745
1734
|
|
|
1746
1735
|
|
|
1747
|
-
def
|
|
1736
|
+
def _freeze_account_serialize(
|
|
1748
1737
|
self,
|
|
1749
1738
|
account_id,
|
|
1750
|
-
|
|
1751
|
-
extra_fields_account,
|
|
1739
|
+
freeze_account_request,
|
|
1752
1740
|
_request_auth,
|
|
1753
1741
|
_content_type,
|
|
1754
1742
|
_headers,
|
|
@@ -1773,17 +1761,11 @@ class AccountsApi:
|
|
|
1773
1761
|
if account_id is not None:
|
|
1774
1762
|
_path_params['accountId'] = account_id
|
|
1775
1763
|
# process the query parameters
|
|
1776
|
-
if include is not None:
|
|
1777
|
-
|
|
1778
|
-
_query_params.append(('include', include))
|
|
1779
|
-
|
|
1780
|
-
if extra_fields_account is not None:
|
|
1781
|
-
|
|
1782
|
-
_query_params.append(('extraFields[account]', extra_fields_account))
|
|
1783
|
-
|
|
1784
1764
|
# process the header parameters
|
|
1785
1765
|
# process the form parameters
|
|
1786
1766
|
# process the body parameter
|
|
1767
|
+
if freeze_account_request is not None:
|
|
1768
|
+
_body_params = freeze_account_request
|
|
1787
1769
|
|
|
1788
1770
|
|
|
1789
1771
|
# set the HTTP header `Accept`
|
|
@@ -1794,6 +1776,19 @@ class AccountsApi:
|
|
|
1794
1776
|
]
|
|
1795
1777
|
)
|
|
1796
1778
|
|
|
1779
|
+
# set the HTTP header `Content-Type`
|
|
1780
|
+
if _content_type:
|
|
1781
|
+
_header_params['Content-Type'] = _content_type
|
|
1782
|
+
else:
|
|
1783
|
+
_default_content_type = (
|
|
1784
|
+
self.api_client.select_header_content_type(
|
|
1785
|
+
[
|
|
1786
|
+
'application/vnd.api+json'
|
|
1787
|
+
]
|
|
1788
|
+
)
|
|
1789
|
+
)
|
|
1790
|
+
if _default_content_type is not None:
|
|
1791
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1797
1792
|
|
|
1798
1793
|
# authentication setting
|
|
1799
1794
|
_auth_settings: List[str] = [
|
|
@@ -1801,8 +1796,8 @@ class AccountsApi:
|
|
|
1801
1796
|
]
|
|
1802
1797
|
|
|
1803
1798
|
return self.api_client.param_serialize(
|
|
1804
|
-
method='
|
|
1805
|
-
resource_path='/accounts/{accountId}',
|
|
1799
|
+
method='POST',
|
|
1800
|
+
resource_path='/accounts/{accountId}/freeze',
|
|
1806
1801
|
path_params=_path_params,
|
|
1807
1802
|
query_params=_query_params,
|
|
1808
1803
|
header_params=_header_params,
|
|
@@ -1819,14 +1814,11 @@ class AccountsApi:
|
|
|
1819
1814
|
|
|
1820
1815
|
|
|
1821
1816
|
@validate_call
|
|
1822
|
-
def
|
|
1817
|
+
def get_account(
|
|
1823
1818
|
self,
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
1828
|
-
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
1829
|
-
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
1819
|
+
account_id: StrictStr,
|
|
1820
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources")] = None,
|
|
1821
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
1830
1822
|
_request_timeout: Union[
|
|
1831
1823
|
None,
|
|
1832
1824
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1839,23 +1831,17 @@ class AccountsApi:
|
|
|
1839
1831
|
_content_type: Optional[StrictStr] = None,
|
|
1840
1832
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1841
1833
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1842
|
-
) ->
|
|
1843
|
-
"""
|
|
1834
|
+
) -> CreateAccount201Response:
|
|
1835
|
+
"""Get an account by id
|
|
1844
1836
|
|
|
1845
|
-
|
|
1837
|
+
Get an account resource (deposit account, credit account, or wallet) by id.
|
|
1846
1838
|
|
|
1847
|
-
:param
|
|
1848
|
-
:type
|
|
1849
|
-
:param
|
|
1850
|
-
:type
|
|
1851
|
-
:param
|
|
1852
|
-
:type
|
|
1853
|
-
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
1854
|
-
:type filter_customer_id: str
|
|
1855
|
-
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
1856
|
-
:type filter_since: str
|
|
1857
|
-
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
1858
|
-
:type filter_until: str
|
|
1839
|
+
:param account_id: (required)
|
|
1840
|
+
:type account_id: str
|
|
1841
|
+
:param include: Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources
|
|
1842
|
+
:type include: str
|
|
1843
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
1844
|
+
:type extra_fields_account: str
|
|
1859
1845
|
:param _request_timeout: timeout setting for this request. If one
|
|
1860
1846
|
number provided, it will be total request
|
|
1861
1847
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1878,13 +1864,10 @@ class AccountsApi:
|
|
|
1878
1864
|
:return: Returns the result object.
|
|
1879
1865
|
""" # noqa: E501
|
|
1880
1866
|
|
|
1881
|
-
_param = self.
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
filter_customer_id=filter_customer_id,
|
|
1886
|
-
filter_since=filter_since,
|
|
1887
|
-
filter_until=filter_until,
|
|
1867
|
+
_param = self._get_account_serialize(
|
|
1868
|
+
account_id=account_id,
|
|
1869
|
+
include=include,
|
|
1870
|
+
extra_fields_account=extra_fields_account,
|
|
1888
1871
|
_request_auth=_request_auth,
|
|
1889
1872
|
_content_type=_content_type,
|
|
1890
1873
|
_headers=_headers,
|
|
@@ -1892,7 +1875,7 @@ class AccountsApi:
|
|
|
1892
1875
|
)
|
|
1893
1876
|
|
|
1894
1877
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1895
|
-
'200': "
|
|
1878
|
+
'200': "CreateAccount201Response",
|
|
1896
1879
|
'400': "ErrorDocument",
|
|
1897
1880
|
'401': "ErrorDocument",
|
|
1898
1881
|
'404': "ErrorDocument",
|
|
@@ -1909,14 +1892,11 @@ class AccountsApi:
|
|
|
1909
1892
|
|
|
1910
1893
|
|
|
1911
1894
|
@validate_call
|
|
1912
|
-
def
|
|
1895
|
+
def get_account_with_http_info(
|
|
1913
1896
|
self,
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
1918
|
-
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
1919
|
-
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
1897
|
+
account_id: StrictStr,
|
|
1898
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources")] = None,
|
|
1899
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
1920
1900
|
_request_timeout: Union[
|
|
1921
1901
|
None,
|
|
1922
1902
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1929,23 +1909,17 @@ class AccountsApi:
|
|
|
1929
1909
|
_content_type: Optional[StrictStr] = None,
|
|
1930
1910
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1931
1911
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1932
|
-
) -> ApiResponse[
|
|
1933
|
-
"""
|
|
1912
|
+
) -> ApiResponse[CreateAccount201Response]:
|
|
1913
|
+
"""Get an account by id
|
|
1934
1914
|
|
|
1935
|
-
|
|
1915
|
+
Get an account resource (deposit account, credit account, or wallet) by id.
|
|
1936
1916
|
|
|
1937
|
-
:param
|
|
1938
|
-
:type
|
|
1939
|
-
:param
|
|
1940
|
-
:type
|
|
1941
|
-
:param
|
|
1942
|
-
:type
|
|
1943
|
-
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
1944
|
-
:type filter_customer_id: str
|
|
1945
|
-
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
1946
|
-
:type filter_since: str
|
|
1947
|
-
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
1948
|
-
:type filter_until: str
|
|
1917
|
+
:param account_id: (required)
|
|
1918
|
+
:type account_id: str
|
|
1919
|
+
:param include: Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources
|
|
1920
|
+
:type include: str
|
|
1921
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
1922
|
+
:type extra_fields_account: str
|
|
1949
1923
|
:param _request_timeout: timeout setting for this request. If one
|
|
1950
1924
|
number provided, it will be total request
|
|
1951
1925
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1968,13 +1942,10 @@ class AccountsApi:
|
|
|
1968
1942
|
:return: Returns the result object.
|
|
1969
1943
|
""" # noqa: E501
|
|
1970
1944
|
|
|
1971
|
-
_param = self.
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
filter_customer_id=filter_customer_id,
|
|
1976
|
-
filter_since=filter_since,
|
|
1977
|
-
filter_until=filter_until,
|
|
1945
|
+
_param = self._get_account_serialize(
|
|
1946
|
+
account_id=account_id,
|
|
1947
|
+
include=include,
|
|
1948
|
+
extra_fields_account=extra_fields_account,
|
|
1978
1949
|
_request_auth=_request_auth,
|
|
1979
1950
|
_content_type=_content_type,
|
|
1980
1951
|
_headers=_headers,
|
|
@@ -1982,7 +1953,7 @@ class AccountsApi:
|
|
|
1982
1953
|
)
|
|
1983
1954
|
|
|
1984
1955
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1985
|
-
'200': "
|
|
1956
|
+
'200': "CreateAccount201Response",
|
|
1986
1957
|
'400': "ErrorDocument",
|
|
1987
1958
|
'401': "ErrorDocument",
|
|
1988
1959
|
'404': "ErrorDocument",
|
|
@@ -1999,14 +1970,11 @@ class AccountsApi:
|
|
|
1999
1970
|
|
|
2000
1971
|
|
|
2001
1972
|
@validate_call
|
|
2002
|
-
def
|
|
1973
|
+
def get_account_without_preload_content(
|
|
2003
1974
|
self,
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
2008
|
-
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
2009
|
-
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
1975
|
+
account_id: StrictStr,
|
|
1976
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources")] = None,
|
|
1977
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
2010
1978
|
_request_timeout: Union[
|
|
2011
1979
|
None,
|
|
2012
1980
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2020,22 +1988,16 @@ class AccountsApi:
|
|
|
2020
1988
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2021
1989
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2022
1990
|
) -> RESTResponseType:
|
|
2023
|
-
"""
|
|
1991
|
+
"""Get an account by id
|
|
2024
1992
|
|
|
2025
|
-
|
|
1993
|
+
Get an account resource (deposit account, credit account, or wallet) by id.
|
|
2026
1994
|
|
|
2027
|
-
:param
|
|
2028
|
-
:type
|
|
2029
|
-
:param
|
|
2030
|
-
:type
|
|
2031
|
-
:param
|
|
2032
|
-
:type
|
|
2033
|
-
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
2034
|
-
:type filter_customer_id: str
|
|
2035
|
-
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
2036
|
-
:type filter_since: str
|
|
2037
|
-
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
2038
|
-
:type filter_until: str
|
|
1995
|
+
:param account_id: (required)
|
|
1996
|
+
:type account_id: str
|
|
1997
|
+
:param include: Optional. Related resources to include are relationship-backed resources such as customer, customers, and org. See Getting Related Resources
|
|
1998
|
+
:type include: str
|
|
1999
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
2000
|
+
:type extra_fields_account: str
|
|
2039
2001
|
:param _request_timeout: timeout setting for this request. If one
|
|
2040
2002
|
number provided, it will be total request
|
|
2041
2003
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2058,13 +2020,10 @@ class AccountsApi:
|
|
|
2058
2020
|
:return: Returns the result object.
|
|
2059
2021
|
""" # noqa: E501
|
|
2060
2022
|
|
|
2061
|
-
_param = self.
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
filter_customer_id=filter_customer_id,
|
|
2066
|
-
filter_since=filter_since,
|
|
2067
|
-
filter_until=filter_until,
|
|
2023
|
+
_param = self._get_account_serialize(
|
|
2024
|
+
account_id=account_id,
|
|
2025
|
+
include=include,
|
|
2026
|
+
extra_fields_account=extra_fields_account,
|
|
2068
2027
|
_request_auth=_request_auth,
|
|
2069
2028
|
_content_type=_content_type,
|
|
2070
2029
|
_headers=_headers,
|
|
@@ -2072,7 +2031,7 @@ class AccountsApi:
|
|
|
2072
2031
|
)
|
|
2073
2032
|
|
|
2074
2033
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2075
|
-
'200': "
|
|
2034
|
+
'200': "CreateAccount201Response",
|
|
2076
2035
|
'400': "ErrorDocument",
|
|
2077
2036
|
'401': "ErrorDocument",
|
|
2078
2037
|
'404': "ErrorDocument",
|
|
@@ -2084,14 +2043,11 @@ class AccountsApi:
|
|
|
2084
2043
|
return response_data.response
|
|
2085
2044
|
|
|
2086
2045
|
|
|
2087
|
-
def
|
|
2046
|
+
def _get_account_serialize(
|
|
2088
2047
|
self,
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
filter_customer_id,
|
|
2093
|
-
filter_since,
|
|
2094
|
-
filter_until,
|
|
2048
|
+
account_id,
|
|
2049
|
+
include,
|
|
2050
|
+
extra_fields_account,
|
|
2095
2051
|
_request_auth,
|
|
2096
2052
|
_content_type,
|
|
2097
2053
|
_headers,
|
|
@@ -2113,30 +2069,16 @@ class AccountsApi:
|
|
|
2113
2069
|
_body_params: Optional[bytes] = None
|
|
2114
2070
|
|
|
2115
2071
|
# process the path parameters
|
|
2072
|
+
if account_id is not None:
|
|
2073
|
+
_path_params['accountId'] = account_id
|
|
2116
2074
|
# process the query parameters
|
|
2117
|
-
if
|
|
2118
|
-
|
|
2119
|
-
_query_params.append(('page[limit]', page_limit))
|
|
2120
|
-
|
|
2121
|
-
if page_offset is not None:
|
|
2122
|
-
|
|
2123
|
-
_query_params.append(('page[offset]', page_offset))
|
|
2124
|
-
|
|
2125
|
-
if filter_account_id is not None:
|
|
2126
|
-
|
|
2127
|
-
_query_params.append(('filter[accountId]', filter_account_id))
|
|
2128
|
-
|
|
2129
|
-
if filter_customer_id is not None:
|
|
2075
|
+
if include is not None:
|
|
2130
2076
|
|
|
2131
|
-
_query_params.append(('
|
|
2077
|
+
_query_params.append(('include', include))
|
|
2132
2078
|
|
|
2133
|
-
if
|
|
2079
|
+
if extra_fields_account is not None:
|
|
2134
2080
|
|
|
2135
|
-
_query_params.append(('
|
|
2136
|
-
|
|
2137
|
-
if filter_until is not None:
|
|
2138
|
-
|
|
2139
|
-
_query_params.append(('filter[until]', filter_until))
|
|
2081
|
+
_query_params.append(('extraFields[account]', extra_fields_account))
|
|
2140
2082
|
|
|
2141
2083
|
# process the header parameters
|
|
2142
2084
|
# process the form parameters
|
|
@@ -2159,7 +2101,7 @@ class AccountsApi:
|
|
|
2159
2101
|
|
|
2160
2102
|
return self.api_client.param_serialize(
|
|
2161
2103
|
method='GET',
|
|
2162
|
-
resource_path='/
|
|
2104
|
+
resource_path='/accounts/{accountId}',
|
|
2163
2105
|
path_params=_path_params,
|
|
2164
2106
|
query_params=_query_params,
|
|
2165
2107
|
header_params=_header_params,
|
|
@@ -2176,9 +2118,14 @@ class AccountsApi:
|
|
|
2176
2118
|
|
|
2177
2119
|
|
|
2178
2120
|
@validate_call
|
|
2179
|
-
def
|
|
2121
|
+
def get_account_balance_history(
|
|
2180
2122
|
self,
|
|
2181
|
-
|
|
2123
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
2124
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
2125
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.")] = None,
|
|
2126
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
2127
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
2128
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
2182
2129
|
_request_timeout: Union[
|
|
2183
2130
|
None,
|
|
2184
2131
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2191,13 +2138,23 @@ class AccountsApi:
|
|
|
2191
2138
|
_content_type: Optional[StrictStr] = None,
|
|
2192
2139
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2193
2140
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2194
|
-
) ->
|
|
2195
|
-
"""
|
|
2141
|
+
) -> GetAccountBalanceHistory200Response:
|
|
2142
|
+
"""List account end-of-day balances
|
|
2196
2143
|
|
|
2197
|
-
|
|
2144
|
+
List account end-of-day balances history (filtering and paging can be applied).
|
|
2198
2145
|
|
|
2199
|
-
:param
|
|
2200
|
-
:type
|
|
2146
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
2147
|
+
:type page_limit: str
|
|
2148
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
2149
|
+
:type page_offset: str
|
|
2150
|
+
:param filter_account_id: Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.
|
|
2151
|
+
:type filter_account_id: str
|
|
2152
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
2153
|
+
:type filter_customer_id: str
|
|
2154
|
+
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
2155
|
+
:type filter_since: str
|
|
2156
|
+
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
2157
|
+
:type filter_until: str
|
|
2201
2158
|
:param _request_timeout: timeout setting for this request. If one
|
|
2202
2159
|
number provided, it will be total request
|
|
2203
2160
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2220,8 +2177,13 @@ class AccountsApi:
|
|
|
2220
2177
|
:return: Returns the result object.
|
|
2221
2178
|
""" # noqa: E501
|
|
2222
2179
|
|
|
2223
|
-
_param = self.
|
|
2224
|
-
|
|
2180
|
+
_param = self._get_account_balance_history_serialize(
|
|
2181
|
+
page_limit=page_limit,
|
|
2182
|
+
page_offset=page_offset,
|
|
2183
|
+
filter_account_id=filter_account_id,
|
|
2184
|
+
filter_customer_id=filter_customer_id,
|
|
2185
|
+
filter_since=filter_since,
|
|
2186
|
+
filter_until=filter_until,
|
|
2225
2187
|
_request_auth=_request_auth,
|
|
2226
2188
|
_content_type=_content_type,
|
|
2227
2189
|
_headers=_headers,
|
|
@@ -2229,7 +2191,7 @@ class AccountsApi:
|
|
|
2229
2191
|
)
|
|
2230
2192
|
|
|
2231
2193
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2232
|
-
'200': "
|
|
2194
|
+
'200': "GetAccountBalanceHistory200Response",
|
|
2233
2195
|
'400': "ErrorDocument",
|
|
2234
2196
|
'401': "ErrorDocument",
|
|
2235
2197
|
'404': "ErrorDocument",
|
|
@@ -2246,9 +2208,14 @@ class AccountsApi:
|
|
|
2246
2208
|
|
|
2247
2209
|
|
|
2248
2210
|
@validate_call
|
|
2249
|
-
def
|
|
2211
|
+
def get_account_balance_history_with_http_info(
|
|
2250
2212
|
self,
|
|
2251
|
-
|
|
2213
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
2214
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
2215
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.")] = None,
|
|
2216
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
2217
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
2218
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
2252
2219
|
_request_timeout: Union[
|
|
2253
2220
|
None,
|
|
2254
2221
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2261,13 +2228,23 @@ class AccountsApi:
|
|
|
2261
2228
|
_content_type: Optional[StrictStr] = None,
|
|
2262
2229
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2263
2230
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2264
|
-
) -> ApiResponse[
|
|
2265
|
-
"""
|
|
2231
|
+
) -> ApiResponse[GetAccountBalanceHistory200Response]:
|
|
2232
|
+
"""List account end-of-day balances
|
|
2266
2233
|
|
|
2267
|
-
|
|
2234
|
+
List account end-of-day balances history (filtering and paging can be applied).
|
|
2268
2235
|
|
|
2269
|
-
:param
|
|
2270
|
-
:type
|
|
2236
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
2237
|
+
:type page_limit: str
|
|
2238
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
2239
|
+
:type page_offset: str
|
|
2240
|
+
:param filter_account_id: Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.
|
|
2241
|
+
:type filter_account_id: str
|
|
2242
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
2243
|
+
:type filter_customer_id: str
|
|
2244
|
+
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
2245
|
+
:type filter_since: str
|
|
2246
|
+
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
2247
|
+
:type filter_until: str
|
|
2271
2248
|
:param _request_timeout: timeout setting for this request. If one
|
|
2272
2249
|
number provided, it will be total request
|
|
2273
2250
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2290,8 +2267,13 @@ class AccountsApi:
|
|
|
2290
2267
|
:return: Returns the result object.
|
|
2291
2268
|
""" # noqa: E501
|
|
2292
2269
|
|
|
2293
|
-
_param = self.
|
|
2294
|
-
|
|
2270
|
+
_param = self._get_account_balance_history_serialize(
|
|
2271
|
+
page_limit=page_limit,
|
|
2272
|
+
page_offset=page_offset,
|
|
2273
|
+
filter_account_id=filter_account_id,
|
|
2274
|
+
filter_customer_id=filter_customer_id,
|
|
2275
|
+
filter_since=filter_since,
|
|
2276
|
+
filter_until=filter_until,
|
|
2295
2277
|
_request_auth=_request_auth,
|
|
2296
2278
|
_content_type=_content_type,
|
|
2297
2279
|
_headers=_headers,
|
|
@@ -2299,7 +2281,7 @@ class AccountsApi:
|
|
|
2299
2281
|
)
|
|
2300
2282
|
|
|
2301
2283
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2302
|
-
'200': "
|
|
2284
|
+
'200': "GetAccountBalanceHistory200Response",
|
|
2303
2285
|
'400': "ErrorDocument",
|
|
2304
2286
|
'401': "ErrorDocument",
|
|
2305
2287
|
'404': "ErrorDocument",
|
|
@@ -2316,9 +2298,14 @@ class AccountsApi:
|
|
|
2316
2298
|
|
|
2317
2299
|
|
|
2318
2300
|
@validate_call
|
|
2319
|
-
def
|
|
2301
|
+
def get_account_balance_history_without_preload_content(
|
|
2320
2302
|
self,
|
|
2321
|
-
|
|
2303
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
2304
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
2305
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.")] = None,
|
|
2306
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.")] = None,
|
|
2307
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01")] = None,
|
|
2308
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01")] = None,
|
|
2322
2309
|
_request_timeout: Union[
|
|
2323
2310
|
None,
|
|
2324
2311
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2332,12 +2319,22 @@ class AccountsApi:
|
|
|
2332
2319
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2333
2320
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2334
2321
|
) -> RESTResponseType:
|
|
2335
|
-
"""
|
|
2322
|
+
"""List account end-of-day balances
|
|
2336
2323
|
|
|
2337
|
-
|
|
2324
|
+
List account end-of-day balances history (filtering and paging can be applied).
|
|
2338
2325
|
|
|
2339
|
-
:param
|
|
2340
|
-
:type
|
|
2326
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
2327
|
+
:type page_limit: str
|
|
2328
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
2329
|
+
:type page_offset: str
|
|
2330
|
+
:param filter_account_id: Optional. Filters the results by the specified account id. At least one of accountId and customerId is required.
|
|
2331
|
+
:type filter_account_id: str
|
|
2332
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id. At least one of accountId and customerId is required.
|
|
2333
|
+
:type filter_customer_id: str
|
|
2334
|
+
:param filter_since: Optional. Filters the account end-of-day balances on or after the specified date. e.g. 2021-06-01
|
|
2335
|
+
:type filter_since: str
|
|
2336
|
+
:param filter_until: Optional. Filters the account end-of-day balances on or before the specified date. e.g. 2021-07-01
|
|
2337
|
+
:type filter_until: str
|
|
2341
2338
|
:param _request_timeout: timeout setting for this request. If one
|
|
2342
2339
|
number provided, it will be total request
|
|
2343
2340
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2360,8 +2357,13 @@ class AccountsApi:
|
|
|
2360
2357
|
:return: Returns the result object.
|
|
2361
2358
|
""" # noqa: E501
|
|
2362
2359
|
|
|
2363
|
-
_param = self.
|
|
2364
|
-
|
|
2360
|
+
_param = self._get_account_balance_history_serialize(
|
|
2361
|
+
page_limit=page_limit,
|
|
2362
|
+
page_offset=page_offset,
|
|
2363
|
+
filter_account_id=filter_account_id,
|
|
2364
|
+
filter_customer_id=filter_customer_id,
|
|
2365
|
+
filter_since=filter_since,
|
|
2366
|
+
filter_until=filter_until,
|
|
2365
2367
|
_request_auth=_request_auth,
|
|
2366
2368
|
_content_type=_content_type,
|
|
2367
2369
|
_headers=_headers,
|
|
@@ -2369,7 +2371,7 @@ class AccountsApi:
|
|
|
2369
2371
|
)
|
|
2370
2372
|
|
|
2371
2373
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2372
|
-
'200': "
|
|
2374
|
+
'200': "GetAccountBalanceHistory200Response",
|
|
2373
2375
|
'400': "ErrorDocument",
|
|
2374
2376
|
'401': "ErrorDocument",
|
|
2375
2377
|
'404': "ErrorDocument",
|
|
@@ -2381,9 +2383,14 @@ class AccountsApi:
|
|
|
2381
2383
|
return response_data.response
|
|
2382
2384
|
|
|
2383
2385
|
|
|
2384
|
-
def
|
|
2386
|
+
def _get_account_balance_history_serialize(
|
|
2385
2387
|
self,
|
|
2386
|
-
|
|
2388
|
+
page_limit,
|
|
2389
|
+
page_offset,
|
|
2390
|
+
filter_account_id,
|
|
2391
|
+
filter_customer_id,
|
|
2392
|
+
filter_since,
|
|
2393
|
+
filter_until,
|
|
2387
2394
|
_request_auth,
|
|
2388
2395
|
_content_type,
|
|
2389
2396
|
_headers,
|
|
@@ -2405,9 +2412,31 @@ class AccountsApi:
|
|
|
2405
2412
|
_body_params: Optional[bytes] = None
|
|
2406
2413
|
|
|
2407
2414
|
# process the path parameters
|
|
2408
|
-
if id is not None:
|
|
2409
|
-
_path_params['id'] = id
|
|
2410
2415
|
# process the query parameters
|
|
2416
|
+
if page_limit is not None:
|
|
2417
|
+
|
|
2418
|
+
_query_params.append(('page[limit]', page_limit))
|
|
2419
|
+
|
|
2420
|
+
if page_offset is not None:
|
|
2421
|
+
|
|
2422
|
+
_query_params.append(('page[offset]', page_offset))
|
|
2423
|
+
|
|
2424
|
+
if filter_account_id is not None:
|
|
2425
|
+
|
|
2426
|
+
_query_params.append(('filter[accountId]', filter_account_id))
|
|
2427
|
+
|
|
2428
|
+
if filter_customer_id is not None:
|
|
2429
|
+
|
|
2430
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
2431
|
+
|
|
2432
|
+
if filter_since is not None:
|
|
2433
|
+
|
|
2434
|
+
_query_params.append(('filter[since]', filter_since))
|
|
2435
|
+
|
|
2436
|
+
if filter_until is not None:
|
|
2437
|
+
|
|
2438
|
+
_query_params.append(('filter[until]', filter_until))
|
|
2439
|
+
|
|
2411
2440
|
# process the header parameters
|
|
2412
2441
|
# process the form parameters
|
|
2413
2442
|
# process the body parameter
|
|
@@ -2429,7 +2458,7 @@ class AccountsApi:
|
|
|
2429
2458
|
|
|
2430
2459
|
return self.api_client.param_serialize(
|
|
2431
2460
|
method='GET',
|
|
2432
|
-
resource_path='/account-
|
|
2461
|
+
resource_path='/account-end-of-day',
|
|
2433
2462
|
path_params=_path_params,
|
|
2434
2463
|
query_params=_query_params,
|
|
2435
2464
|
header_params=_header_params,
|
|
@@ -2446,9 +2475,9 @@ class AccountsApi:
|
|
|
2446
2475
|
|
|
2447
2476
|
|
|
2448
2477
|
@validate_call
|
|
2449
|
-
def
|
|
2478
|
+
def get_account_hold_by_id(
|
|
2450
2479
|
self,
|
|
2451
|
-
|
|
2480
|
+
id: StrictStr,
|
|
2452
2481
|
_request_timeout: Union[
|
|
2453
2482
|
None,
|
|
2454
2483
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2461,13 +2490,13 @@ class AccountsApi:
|
|
|
2461
2490
|
_content_type: Optional[StrictStr] = None,
|
|
2462
2491
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2463
2492
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2464
|
-
) ->
|
|
2465
|
-
"""Get account
|
|
2493
|
+
) -> CreateAccountHold201Response:
|
|
2494
|
+
"""Get an account hold by id
|
|
2466
2495
|
|
|
2467
|
-
Get
|
|
2496
|
+
Get an account hold resource by id.
|
|
2468
2497
|
|
|
2469
|
-
:param
|
|
2470
|
-
:type
|
|
2498
|
+
:param id: (required)
|
|
2499
|
+
:type id: str
|
|
2471
2500
|
:param _request_timeout: timeout setting for this request. If one
|
|
2472
2501
|
number provided, it will be total request
|
|
2473
2502
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2490,8 +2519,8 @@ class AccountsApi:
|
|
|
2490
2519
|
:return: Returns the result object.
|
|
2491
2520
|
""" # noqa: E501
|
|
2492
2521
|
|
|
2493
|
-
_param = self.
|
|
2494
|
-
|
|
2522
|
+
_param = self._get_account_hold_by_id_serialize(
|
|
2523
|
+
id=id,
|
|
2495
2524
|
_request_auth=_request_auth,
|
|
2496
2525
|
_content_type=_content_type,
|
|
2497
2526
|
_headers=_headers,
|
|
@@ -2499,7 +2528,7 @@ class AccountsApi:
|
|
|
2499
2528
|
)
|
|
2500
2529
|
|
|
2501
2530
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2502
|
-
'200': "
|
|
2531
|
+
'200': "CreateAccountHold201Response",
|
|
2503
2532
|
'400': "ErrorDocument",
|
|
2504
2533
|
'401': "ErrorDocument",
|
|
2505
2534
|
'404': "ErrorDocument",
|
|
@@ -2516,9 +2545,9 @@ class AccountsApi:
|
|
|
2516
2545
|
|
|
2517
2546
|
|
|
2518
2547
|
@validate_call
|
|
2519
|
-
def
|
|
2548
|
+
def get_account_hold_by_id_with_http_info(
|
|
2520
2549
|
self,
|
|
2521
|
-
|
|
2550
|
+
id: StrictStr,
|
|
2522
2551
|
_request_timeout: Union[
|
|
2523
2552
|
None,
|
|
2524
2553
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2531,13 +2560,13 @@ class AccountsApi:
|
|
|
2531
2560
|
_content_type: Optional[StrictStr] = None,
|
|
2532
2561
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2533
2562
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2534
|
-
) -> ApiResponse[
|
|
2535
|
-
"""Get account
|
|
2563
|
+
) -> ApiResponse[CreateAccountHold201Response]:
|
|
2564
|
+
"""Get an account hold by id
|
|
2536
2565
|
|
|
2537
|
-
Get
|
|
2566
|
+
Get an account hold resource by id.
|
|
2538
2567
|
|
|
2539
|
-
:param
|
|
2540
|
-
:type
|
|
2568
|
+
:param id: (required)
|
|
2569
|
+
:type id: str
|
|
2541
2570
|
:param _request_timeout: timeout setting for this request. If one
|
|
2542
2571
|
number provided, it will be total request
|
|
2543
2572
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2560,8 +2589,8 @@ class AccountsApi:
|
|
|
2560
2589
|
:return: Returns the result object.
|
|
2561
2590
|
""" # noqa: E501
|
|
2562
2591
|
|
|
2563
|
-
_param = self.
|
|
2564
|
-
|
|
2592
|
+
_param = self._get_account_hold_by_id_serialize(
|
|
2593
|
+
id=id,
|
|
2565
2594
|
_request_auth=_request_auth,
|
|
2566
2595
|
_content_type=_content_type,
|
|
2567
2596
|
_headers=_headers,
|
|
@@ -2569,7 +2598,7 @@ class AccountsApi:
|
|
|
2569
2598
|
)
|
|
2570
2599
|
|
|
2571
2600
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2572
|
-
'200': "
|
|
2601
|
+
'200': "CreateAccountHold201Response",
|
|
2573
2602
|
'400': "ErrorDocument",
|
|
2574
2603
|
'401': "ErrorDocument",
|
|
2575
2604
|
'404': "ErrorDocument",
|
|
@@ -2586,9 +2615,9 @@ class AccountsApi:
|
|
|
2586
2615
|
|
|
2587
2616
|
|
|
2588
2617
|
@validate_call
|
|
2589
|
-
def
|
|
2618
|
+
def get_account_hold_by_id_without_preload_content(
|
|
2590
2619
|
self,
|
|
2591
|
-
|
|
2620
|
+
id: StrictStr,
|
|
2592
2621
|
_request_timeout: Union[
|
|
2593
2622
|
None,
|
|
2594
2623
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2602,12 +2631,12 @@ class AccountsApi:
|
|
|
2602
2631
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2603
2632
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2604
2633
|
) -> RESTResponseType:
|
|
2605
|
-
"""Get account
|
|
2634
|
+
"""Get an account hold by id
|
|
2606
2635
|
|
|
2607
|
-
Get
|
|
2636
|
+
Get an account hold resource by id.
|
|
2608
2637
|
|
|
2609
|
-
:param
|
|
2610
|
-
:type
|
|
2638
|
+
:param id: (required)
|
|
2639
|
+
:type id: str
|
|
2611
2640
|
:param _request_timeout: timeout setting for this request. If one
|
|
2612
2641
|
number provided, it will be total request
|
|
2613
2642
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2630,8 +2659,8 @@ class AccountsApi:
|
|
|
2630
2659
|
:return: Returns the result object.
|
|
2631
2660
|
""" # noqa: E501
|
|
2632
2661
|
|
|
2633
|
-
_param = self.
|
|
2634
|
-
|
|
2662
|
+
_param = self._get_account_hold_by_id_serialize(
|
|
2663
|
+
id=id,
|
|
2635
2664
|
_request_auth=_request_auth,
|
|
2636
2665
|
_content_type=_content_type,
|
|
2637
2666
|
_headers=_headers,
|
|
@@ -2639,7 +2668,7 @@ class AccountsApi:
|
|
|
2639
2668
|
)
|
|
2640
2669
|
|
|
2641
2670
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2642
|
-
'200': "
|
|
2671
|
+
'200': "CreateAccountHold201Response",
|
|
2643
2672
|
'400': "ErrorDocument",
|
|
2644
2673
|
'401': "ErrorDocument",
|
|
2645
2674
|
'404': "ErrorDocument",
|
|
@@ -2651,9 +2680,9 @@ class AccountsApi:
|
|
|
2651
2680
|
return response_data.response
|
|
2652
2681
|
|
|
2653
2682
|
|
|
2654
|
-
def
|
|
2683
|
+
def _get_account_hold_by_id_serialize(
|
|
2655
2684
|
self,
|
|
2656
|
-
|
|
2685
|
+
id,
|
|
2657
2686
|
_request_auth,
|
|
2658
2687
|
_content_type,
|
|
2659
2688
|
_headers,
|
|
@@ -2675,8 +2704,8 @@ class AccountsApi:
|
|
|
2675
2704
|
_body_params: Optional[bytes] = None
|
|
2676
2705
|
|
|
2677
2706
|
# process the path parameters
|
|
2678
|
-
if
|
|
2679
|
-
_path_params['
|
|
2707
|
+
if id is not None:
|
|
2708
|
+
_path_params['id'] = id
|
|
2680
2709
|
# process the query parameters
|
|
2681
2710
|
# process the header parameters
|
|
2682
2711
|
# process the form parameters
|
|
@@ -2699,7 +2728,7 @@ class AccountsApi:
|
|
|
2699
2728
|
|
|
2700
2729
|
return self.api_client.param_serialize(
|
|
2701
2730
|
method='GET',
|
|
2702
|
-
resource_path='/
|
|
2731
|
+
resource_path='/account-holds/{id}',
|
|
2703
2732
|
path_params=_path_params,
|
|
2704
2733
|
query_params=_query_params,
|
|
2705
2734
|
header_params=_header_params,
|
|
@@ -2716,7 +2745,7 @@ class AccountsApi:
|
|
|
2716
2745
|
|
|
2717
2746
|
|
|
2718
2747
|
@validate_call
|
|
2719
|
-
def
|
|
2748
|
+
def get_account_limits(
|
|
2720
2749
|
self,
|
|
2721
2750
|
account_id: StrictStr,
|
|
2722
2751
|
_request_timeout: Union[
|
|
@@ -2731,10 +2760,10 @@ class AccountsApi:
|
|
|
2731
2760
|
_content_type: Optional[StrictStr] = None,
|
|
2732
2761
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2733
2762
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2734
|
-
) ->
|
|
2735
|
-
"""Get
|
|
2763
|
+
) -> GetAccountLimits200Response:
|
|
2764
|
+
"""Get account limits
|
|
2736
2765
|
|
|
2737
|
-
Get the deposit
|
|
2766
|
+
Get the limits of an account (deposit account, credit account, or wallet).
|
|
2738
2767
|
|
|
2739
2768
|
:param account_id: (required)
|
|
2740
2769
|
:type account_id: str
|
|
@@ -2760,7 +2789,7 @@ class AccountsApi:
|
|
|
2760
2789
|
:return: Returns the result object.
|
|
2761
2790
|
""" # noqa: E501
|
|
2762
2791
|
|
|
2763
|
-
_param = self.
|
|
2792
|
+
_param = self._get_account_limits_serialize(
|
|
2764
2793
|
account_id=account_id,
|
|
2765
2794
|
_request_auth=_request_auth,
|
|
2766
2795
|
_content_type=_content_type,
|
|
@@ -2769,7 +2798,7 @@ class AccountsApi:
|
|
|
2769
2798
|
)
|
|
2770
2799
|
|
|
2771
2800
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2772
|
-
'200': "
|
|
2801
|
+
'200': "GetAccountLimits200Response",
|
|
2773
2802
|
'400': "ErrorDocument",
|
|
2774
2803
|
'401': "ErrorDocument",
|
|
2775
2804
|
'404': "ErrorDocument",
|
|
@@ -2786,7 +2815,7 @@ class AccountsApi:
|
|
|
2786
2815
|
|
|
2787
2816
|
|
|
2788
2817
|
@validate_call
|
|
2789
|
-
def
|
|
2818
|
+
def get_account_limits_with_http_info(
|
|
2790
2819
|
self,
|
|
2791
2820
|
account_id: StrictStr,
|
|
2792
2821
|
_request_timeout: Union[
|
|
@@ -2801,10 +2830,10 @@ class AccountsApi:
|
|
|
2801
2830
|
_content_type: Optional[StrictStr] = None,
|
|
2802
2831
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2803
2832
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2804
|
-
) -> ApiResponse[
|
|
2805
|
-
"""Get
|
|
2833
|
+
) -> ApiResponse[GetAccountLimits200Response]:
|
|
2834
|
+
"""Get account limits
|
|
2806
2835
|
|
|
2807
|
-
Get the deposit
|
|
2836
|
+
Get the limits of an account (deposit account, credit account, or wallet).
|
|
2808
2837
|
|
|
2809
2838
|
:param account_id: (required)
|
|
2810
2839
|
:type account_id: str
|
|
@@ -2830,7 +2859,7 @@ class AccountsApi:
|
|
|
2830
2859
|
:return: Returns the result object.
|
|
2831
2860
|
""" # noqa: E501
|
|
2832
2861
|
|
|
2833
|
-
_param = self.
|
|
2862
|
+
_param = self._get_account_limits_serialize(
|
|
2834
2863
|
account_id=account_id,
|
|
2835
2864
|
_request_auth=_request_auth,
|
|
2836
2865
|
_content_type=_content_type,
|
|
@@ -2839,7 +2868,7 @@ class AccountsApi:
|
|
|
2839
2868
|
)
|
|
2840
2869
|
|
|
2841
2870
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2842
|
-
'200': "
|
|
2871
|
+
'200': "GetAccountLimits200Response",
|
|
2843
2872
|
'400': "ErrorDocument",
|
|
2844
2873
|
'401': "ErrorDocument",
|
|
2845
2874
|
'404': "ErrorDocument",
|
|
@@ -2856,7 +2885,7 @@ class AccountsApi:
|
|
|
2856
2885
|
|
|
2857
2886
|
|
|
2858
2887
|
@validate_call
|
|
2859
|
-
def
|
|
2888
|
+
def get_account_limits_without_preload_content(
|
|
2860
2889
|
self,
|
|
2861
2890
|
account_id: StrictStr,
|
|
2862
2891
|
_request_timeout: Union[
|
|
@@ -2872,9 +2901,9 @@ class AccountsApi:
|
|
|
2872
2901
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2873
2902
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2874
2903
|
) -> RESTResponseType:
|
|
2875
|
-
"""Get
|
|
2904
|
+
"""Get account limits
|
|
2876
2905
|
|
|
2877
|
-
Get the deposit
|
|
2906
|
+
Get the limits of an account (deposit account, credit account, or wallet).
|
|
2878
2907
|
|
|
2879
2908
|
:param account_id: (required)
|
|
2880
2909
|
:type account_id: str
|
|
@@ -2900,7 +2929,7 @@ class AccountsApi:
|
|
|
2900
2929
|
:return: Returns the result object.
|
|
2901
2930
|
""" # noqa: E501
|
|
2902
2931
|
|
|
2903
|
-
_param = self.
|
|
2932
|
+
_param = self._get_account_limits_serialize(
|
|
2904
2933
|
account_id=account_id,
|
|
2905
2934
|
_request_auth=_request_auth,
|
|
2906
2935
|
_content_type=_content_type,
|
|
@@ -2909,7 +2938,7 @@ class AccountsApi:
|
|
|
2909
2938
|
)
|
|
2910
2939
|
|
|
2911
2940
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2912
|
-
'200': "
|
|
2941
|
+
'200': "GetAccountLimits200Response",
|
|
2913
2942
|
'400': "ErrorDocument",
|
|
2914
2943
|
'401': "ErrorDocument",
|
|
2915
2944
|
'404': "ErrorDocument",
|
|
@@ -2921,7 +2950,7 @@ class AccountsApi:
|
|
|
2921
2950
|
return response_data.response
|
|
2922
2951
|
|
|
2923
2952
|
|
|
2924
|
-
def
|
|
2953
|
+
def _get_account_limits_serialize(
|
|
2925
2954
|
self,
|
|
2926
2955
|
account_id,
|
|
2927
2956
|
_request_auth,
|
|
@@ -2969,7 +2998,7 @@ class AccountsApi:
|
|
|
2969
2998
|
|
|
2970
2999
|
return self.api_client.param_serialize(
|
|
2971
3000
|
method='GET',
|
|
2972
|
-
resource_path='/accounts/{accountId}/
|
|
3001
|
+
resource_path='/accounts/{accountId}/limits',
|
|
2973
3002
|
path_params=_path_params,
|
|
2974
3003
|
query_params=_query_params,
|
|
2975
3004
|
header_params=_header_params,
|
|
@@ -2986,12 +3015,9 @@ class AccountsApi:
|
|
|
2986
3015
|
|
|
2987
3016
|
|
|
2988
3017
|
@validate_call
|
|
2989
|
-
def
|
|
3018
|
+
def get_available_deposit_products(
|
|
2990
3019
|
self,
|
|
2991
|
-
|
|
2992
|
-
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
2993
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
2994
|
-
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.")] = None,
|
|
3020
|
+
account_id: StrictStr,
|
|
2995
3021
|
_request_timeout: Union[
|
|
2996
3022
|
None,
|
|
2997
3023
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3004,19 +3030,13 @@ class AccountsApi:
|
|
|
3004
3030
|
_content_type: Optional[StrictStr] = None,
|
|
3005
3031
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3006
3032
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3007
|
-
) ->
|
|
3008
|
-
"""
|
|
3033
|
+
) -> GetAvailableDepositProducts200Response:
|
|
3034
|
+
"""Get available deposit products
|
|
3009
3035
|
|
|
3010
|
-
|
|
3036
|
+
Get the deposit products available for an account.
|
|
3011
3037
|
|
|
3012
|
-
:param
|
|
3013
|
-
:type
|
|
3014
|
-
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3015
|
-
:type page_offset: str
|
|
3016
|
-
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3017
|
-
:type filter_status: str
|
|
3018
|
-
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.
|
|
3019
|
-
:type filter_expired_at: str
|
|
3038
|
+
:param account_id: (required)
|
|
3039
|
+
:type account_id: str
|
|
3020
3040
|
:param _request_timeout: timeout setting for this request. If one
|
|
3021
3041
|
number provided, it will be total request
|
|
3022
3042
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3039,11 +3059,8 @@ class AccountsApi:
|
|
|
3039
3059
|
:return: Returns the result object.
|
|
3040
3060
|
""" # noqa: E501
|
|
3041
3061
|
|
|
3042
|
-
_param = self.
|
|
3043
|
-
|
|
3044
|
-
page_offset=page_offset,
|
|
3045
|
-
filter_status=filter_status,
|
|
3046
|
-
filter_expired_at=filter_expired_at,
|
|
3062
|
+
_param = self._get_available_deposit_products_serialize(
|
|
3063
|
+
account_id=account_id,
|
|
3047
3064
|
_request_auth=_request_auth,
|
|
3048
3065
|
_content_type=_content_type,
|
|
3049
3066
|
_headers=_headers,
|
|
@@ -3051,7 +3068,7 @@ class AccountsApi:
|
|
|
3051
3068
|
)
|
|
3052
3069
|
|
|
3053
3070
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3054
|
-
'200': "
|
|
3071
|
+
'200': "GetAvailableDepositProducts200Response",
|
|
3055
3072
|
'400': "ErrorDocument",
|
|
3056
3073
|
'401': "ErrorDocument",
|
|
3057
3074
|
'404': "ErrorDocument",
|
|
@@ -3068,12 +3085,9 @@ class AccountsApi:
|
|
|
3068
3085
|
|
|
3069
3086
|
|
|
3070
3087
|
@validate_call
|
|
3071
|
-
def
|
|
3088
|
+
def get_available_deposit_products_with_http_info(
|
|
3072
3089
|
self,
|
|
3073
|
-
|
|
3074
|
-
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3075
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
3076
|
-
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.")] = None,
|
|
3090
|
+
account_id: StrictStr,
|
|
3077
3091
|
_request_timeout: Union[
|
|
3078
3092
|
None,
|
|
3079
3093
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3086,19 +3100,13 @@ class AccountsApi:
|
|
|
3086
3100
|
_content_type: Optional[StrictStr] = None,
|
|
3087
3101
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3088
3102
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3089
|
-
) -> ApiResponse[
|
|
3090
|
-
"""
|
|
3103
|
+
) -> ApiResponse[GetAvailableDepositProducts200Response]:
|
|
3104
|
+
"""Get available deposit products
|
|
3091
3105
|
|
|
3092
|
-
|
|
3106
|
+
Get the deposit products available for an account.
|
|
3093
3107
|
|
|
3094
|
-
:param
|
|
3095
|
-
:type
|
|
3096
|
-
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3097
|
-
:type page_offset: str
|
|
3098
|
-
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3099
|
-
:type filter_status: str
|
|
3100
|
-
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.
|
|
3101
|
-
:type filter_expired_at: str
|
|
3108
|
+
:param account_id: (required)
|
|
3109
|
+
:type account_id: str
|
|
3102
3110
|
:param _request_timeout: timeout setting for this request. If one
|
|
3103
3111
|
number provided, it will be total request
|
|
3104
3112
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3121,11 +3129,8 @@ class AccountsApi:
|
|
|
3121
3129
|
:return: Returns the result object.
|
|
3122
3130
|
""" # noqa: E501
|
|
3123
3131
|
|
|
3124
|
-
_param = self.
|
|
3125
|
-
|
|
3126
|
-
page_offset=page_offset,
|
|
3127
|
-
filter_status=filter_status,
|
|
3128
|
-
filter_expired_at=filter_expired_at,
|
|
3132
|
+
_param = self._get_available_deposit_products_serialize(
|
|
3133
|
+
account_id=account_id,
|
|
3129
3134
|
_request_auth=_request_auth,
|
|
3130
3135
|
_content_type=_content_type,
|
|
3131
3136
|
_headers=_headers,
|
|
@@ -3133,7 +3138,7 @@ class AccountsApi:
|
|
|
3133
3138
|
)
|
|
3134
3139
|
|
|
3135
3140
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3136
|
-
'200': "
|
|
3141
|
+
'200': "GetAvailableDepositProducts200Response",
|
|
3137
3142
|
'400': "ErrorDocument",
|
|
3138
3143
|
'401': "ErrorDocument",
|
|
3139
3144
|
'404': "ErrorDocument",
|
|
@@ -3150,12 +3155,9 @@ class AccountsApi:
|
|
|
3150
3155
|
|
|
3151
3156
|
|
|
3152
3157
|
@validate_call
|
|
3153
|
-
def
|
|
3158
|
+
def get_available_deposit_products_without_preload_content(
|
|
3154
3159
|
self,
|
|
3155
|
-
|
|
3156
|
-
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3157
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
3158
|
-
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.")] = None,
|
|
3160
|
+
account_id: StrictStr,
|
|
3159
3161
|
_request_timeout: Union[
|
|
3160
3162
|
None,
|
|
3161
3163
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3169,18 +3171,12 @@ class AccountsApi:
|
|
|
3169
3171
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3170
3172
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3171
3173
|
) -> RESTResponseType:
|
|
3172
|
-
"""
|
|
3174
|
+
"""Get available deposit products
|
|
3173
3175
|
|
|
3174
|
-
|
|
3176
|
+
Get the deposit products available for an account.
|
|
3175
3177
|
|
|
3176
|
-
:param
|
|
3177
|
-
:type
|
|
3178
|
-
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3179
|
-
:type page_offset: str
|
|
3180
|
-
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3181
|
-
:type filter_status: str
|
|
3182
|
-
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). the date the account hold will be automatically released at.
|
|
3183
|
-
:type filter_expired_at: str
|
|
3178
|
+
:param account_id: (required)
|
|
3179
|
+
:type account_id: str
|
|
3184
3180
|
:param _request_timeout: timeout setting for this request. If one
|
|
3185
3181
|
number provided, it will be total request
|
|
3186
3182
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3203,11 +3199,8 @@ class AccountsApi:
|
|
|
3203
3199
|
:return: Returns the result object.
|
|
3204
3200
|
""" # noqa: E501
|
|
3205
3201
|
|
|
3206
|
-
_param = self.
|
|
3207
|
-
|
|
3208
|
-
page_offset=page_offset,
|
|
3209
|
-
filter_status=filter_status,
|
|
3210
|
-
filter_expired_at=filter_expired_at,
|
|
3202
|
+
_param = self._get_available_deposit_products_serialize(
|
|
3203
|
+
account_id=account_id,
|
|
3211
3204
|
_request_auth=_request_auth,
|
|
3212
3205
|
_content_type=_content_type,
|
|
3213
3206
|
_headers=_headers,
|
|
@@ -3215,7 +3208,7 @@ class AccountsApi:
|
|
|
3215
3208
|
)
|
|
3216
3209
|
|
|
3217
3210
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3218
|
-
'200': "
|
|
3211
|
+
'200': "GetAvailableDepositProducts200Response",
|
|
3219
3212
|
'400': "ErrorDocument",
|
|
3220
3213
|
'401': "ErrorDocument",
|
|
3221
3214
|
'404': "ErrorDocument",
|
|
@@ -3227,12 +3220,9 @@ class AccountsApi:
|
|
|
3227
3220
|
return response_data.response
|
|
3228
3221
|
|
|
3229
3222
|
|
|
3230
|
-
def
|
|
3223
|
+
def _get_available_deposit_products_serialize(
|
|
3231
3224
|
self,
|
|
3232
|
-
|
|
3233
|
-
page_offset,
|
|
3234
|
-
filter_status,
|
|
3235
|
-
filter_expired_at,
|
|
3225
|
+
account_id,
|
|
3236
3226
|
_request_auth,
|
|
3237
3227
|
_content_type,
|
|
3238
3228
|
_headers,
|
|
@@ -3254,23 +3244,9 @@ class AccountsApi:
|
|
|
3254
3244
|
_body_params: Optional[bytes] = None
|
|
3255
3245
|
|
|
3256
3246
|
# process the path parameters
|
|
3247
|
+
if account_id is not None:
|
|
3248
|
+
_path_params['accountId'] = account_id
|
|
3257
3249
|
# process the query parameters
|
|
3258
|
-
if page_limit is not None:
|
|
3259
|
-
|
|
3260
|
-
_query_params.append(('page[limit]', page_limit))
|
|
3261
|
-
|
|
3262
|
-
if page_offset is not None:
|
|
3263
|
-
|
|
3264
|
-
_query_params.append(('page[offset]', page_offset))
|
|
3265
|
-
|
|
3266
|
-
if filter_status is not None:
|
|
3267
|
-
|
|
3268
|
-
_query_params.append(('filter[status][]', filter_status))
|
|
3269
|
-
|
|
3270
|
-
if filter_expired_at is not None:
|
|
3271
|
-
|
|
3272
|
-
_query_params.append(('filter[expiredAt]', filter_expired_at))
|
|
3273
|
-
|
|
3274
3250
|
# process the header parameters
|
|
3275
3251
|
# process the form parameters
|
|
3276
3252
|
# process the body parameter
|
|
@@ -3292,7 +3268,7 @@ class AccountsApi:
|
|
|
3292
3268
|
|
|
3293
3269
|
return self.api_client.param_serialize(
|
|
3294
3270
|
method='GET',
|
|
3295
|
-
resource_path='/
|
|
3271
|
+
resource_path='/accounts/{accountId}/deposit-products',
|
|
3296
3272
|
path_params=_path_params,
|
|
3297
3273
|
query_params=_query_params,
|
|
3298
3274
|
header_params=_header_params,
|
|
@@ -3309,17 +3285,14 @@ class AccountsApi:
|
|
|
3309
3285
|
|
|
3310
3286
|
|
|
3311
3287
|
@validate_call
|
|
3312
|
-
def
|
|
3288
|
+
def list_account_holds(
|
|
3313
3289
|
self,
|
|
3314
3290
|
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3315
3291
|
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3292
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
3293
|
+
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.")] = None,
|
|
3316
3294
|
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3317
|
-
|
|
3318
|
-
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3319
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed")] = None,
|
|
3320
|
-
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3321
|
-
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3322
|
-
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resource available to include: customer. See Getting Related Resources")] = None,
|
|
3295
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
3323
3296
|
_request_timeout: Union[
|
|
3324
3297
|
None,
|
|
3325
3298
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3332,29 +3305,23 @@ class AccountsApi:
|
|
|
3332
3305
|
_content_type: Optional[StrictStr] = None,
|
|
3333
3306
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3334
3307
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3335
|
-
) ->
|
|
3336
|
-
"""List
|
|
3308
|
+
) -> ListAccountHolds200Response:
|
|
3309
|
+
"""List account holds
|
|
3337
3310
|
|
|
3338
|
-
List account resources
|
|
3311
|
+
List account hold resources. Paging can be applied.
|
|
3339
3312
|
|
|
3340
3313
|
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3341
3314
|
:type page_limit: str
|
|
3342
3315
|
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3343
3316
|
:type page_offset: str
|
|
3317
|
+
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3318
|
+
:type filter_status: str
|
|
3319
|
+
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.
|
|
3320
|
+
:type filter_expired_at: str
|
|
3344
3321
|
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3345
3322
|
:type filter_customer_id: str
|
|
3346
|
-
:param
|
|
3347
|
-
:type
|
|
3348
|
-
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3349
|
-
:type filter_tags: str
|
|
3350
|
-
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed
|
|
3351
|
-
:type filter_status: str
|
|
3352
|
-
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3353
|
-
:type filter_from_balance: str
|
|
3354
|
-
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3355
|
-
:type filter_to_balance: str
|
|
3356
|
-
:param include: Optional. Related resource available to include: customer. See Getting Related Resources
|
|
3357
|
-
:type include: str
|
|
3323
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
3324
|
+
:type filter_account_id: str
|
|
3358
3325
|
:param _request_timeout: timeout setting for this request. If one
|
|
3359
3326
|
number provided, it will be total request
|
|
3360
3327
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3377,16 +3344,13 @@ class AccountsApi:
|
|
|
3377
3344
|
:return: Returns the result object.
|
|
3378
3345
|
""" # noqa: E501
|
|
3379
3346
|
|
|
3380
|
-
_param = self.
|
|
3347
|
+
_param = self._list_account_holds_serialize(
|
|
3381
3348
|
page_limit=page_limit,
|
|
3382
3349
|
page_offset=page_offset,
|
|
3383
|
-
filter_customer_id=filter_customer_id,
|
|
3384
|
-
filter_deposit_product_id=filter_deposit_product_id,
|
|
3385
|
-
filter_tags=filter_tags,
|
|
3386
3350
|
filter_status=filter_status,
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3351
|
+
filter_expired_at=filter_expired_at,
|
|
3352
|
+
filter_customer_id=filter_customer_id,
|
|
3353
|
+
filter_account_id=filter_account_id,
|
|
3390
3354
|
_request_auth=_request_auth,
|
|
3391
3355
|
_content_type=_content_type,
|
|
3392
3356
|
_headers=_headers,
|
|
@@ -3394,7 +3358,7 @@ class AccountsApi:
|
|
|
3394
3358
|
)
|
|
3395
3359
|
|
|
3396
3360
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3397
|
-
'200': "
|
|
3361
|
+
'200': "ListAccountHolds200Response",
|
|
3398
3362
|
'400': "ErrorDocument",
|
|
3399
3363
|
'401': "ErrorDocument",
|
|
3400
3364
|
'404': "ErrorDocument",
|
|
@@ -3411,17 +3375,14 @@ class AccountsApi:
|
|
|
3411
3375
|
|
|
3412
3376
|
|
|
3413
3377
|
@validate_call
|
|
3414
|
-
def
|
|
3378
|
+
def list_account_holds_with_http_info(
|
|
3415
3379
|
self,
|
|
3416
3380
|
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3417
3381
|
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3382
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
3383
|
+
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.")] = None,
|
|
3418
3384
|
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3419
|
-
|
|
3420
|
-
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3421
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed")] = None,
|
|
3422
|
-
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3423
|
-
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3424
|
-
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resource available to include: customer. See Getting Related Resources")] = None,
|
|
3385
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
3425
3386
|
_request_timeout: Union[
|
|
3426
3387
|
None,
|
|
3427
3388
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3434,29 +3395,23 @@ class AccountsApi:
|
|
|
3434
3395
|
_content_type: Optional[StrictStr] = None,
|
|
3435
3396
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3436
3397
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3437
|
-
) -> ApiResponse[
|
|
3438
|
-
"""List
|
|
3398
|
+
) -> ApiResponse[ListAccountHolds200Response]:
|
|
3399
|
+
"""List account holds
|
|
3439
3400
|
|
|
3440
|
-
List account resources
|
|
3401
|
+
List account hold resources. Paging can be applied.
|
|
3441
3402
|
|
|
3442
3403
|
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3443
3404
|
:type page_limit: str
|
|
3444
3405
|
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3445
3406
|
:type page_offset: str
|
|
3407
|
+
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3408
|
+
:type filter_status: str
|
|
3409
|
+
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.
|
|
3410
|
+
:type filter_expired_at: str
|
|
3446
3411
|
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3447
3412
|
:type filter_customer_id: str
|
|
3448
|
-
:param
|
|
3449
|
-
:type
|
|
3450
|
-
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3451
|
-
:type filter_tags: str
|
|
3452
|
-
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed
|
|
3453
|
-
:type filter_status: str
|
|
3454
|
-
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3455
|
-
:type filter_from_balance: str
|
|
3456
|
-
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3457
|
-
:type filter_to_balance: str
|
|
3458
|
-
:param include: Optional. Related resource available to include: customer. See Getting Related Resources
|
|
3459
|
-
:type include: str
|
|
3413
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
3414
|
+
:type filter_account_id: str
|
|
3460
3415
|
:param _request_timeout: timeout setting for this request. If one
|
|
3461
3416
|
number provided, it will be total request
|
|
3462
3417
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3479,16 +3434,13 @@ class AccountsApi:
|
|
|
3479
3434
|
:return: Returns the result object.
|
|
3480
3435
|
""" # noqa: E501
|
|
3481
3436
|
|
|
3482
|
-
_param = self.
|
|
3437
|
+
_param = self._list_account_holds_serialize(
|
|
3483
3438
|
page_limit=page_limit,
|
|
3484
3439
|
page_offset=page_offset,
|
|
3485
|
-
filter_customer_id=filter_customer_id,
|
|
3486
|
-
filter_deposit_product_id=filter_deposit_product_id,
|
|
3487
|
-
filter_tags=filter_tags,
|
|
3488
3440
|
filter_status=filter_status,
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3441
|
+
filter_expired_at=filter_expired_at,
|
|
3442
|
+
filter_customer_id=filter_customer_id,
|
|
3443
|
+
filter_account_id=filter_account_id,
|
|
3492
3444
|
_request_auth=_request_auth,
|
|
3493
3445
|
_content_type=_content_type,
|
|
3494
3446
|
_headers=_headers,
|
|
@@ -3496,7 +3448,7 @@ class AccountsApi:
|
|
|
3496
3448
|
)
|
|
3497
3449
|
|
|
3498
3450
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3499
|
-
'200': "
|
|
3451
|
+
'200': "ListAccountHolds200Response",
|
|
3500
3452
|
'400': "ErrorDocument",
|
|
3501
3453
|
'401': "ErrorDocument",
|
|
3502
3454
|
'404': "ErrorDocument",
|
|
@@ -3513,17 +3465,14 @@ class AccountsApi:
|
|
|
3513
3465
|
|
|
3514
3466
|
|
|
3515
3467
|
@validate_call
|
|
3516
|
-
def
|
|
3468
|
+
def list_account_holds_without_preload_content(
|
|
3517
3469
|
self,
|
|
3518
3470
|
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3519
3471
|
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3472
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.")] = None,
|
|
3473
|
+
filter_expired_at: Annotated[Optional[StrictStr], Field(description="Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.")] = None,
|
|
3520
3474
|
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3521
|
-
|
|
3522
|
-
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3523
|
-
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed")] = None,
|
|
3524
|
-
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3525
|
-
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3526
|
-
include: Annotated[Optional[StrictStr], Field(description="Optional. Related resource available to include: customer. See Getting Related Resources")] = None,
|
|
3475
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
3527
3476
|
_request_timeout: Union[
|
|
3528
3477
|
None,
|
|
3529
3478
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3537,28 +3486,22 @@ class AccountsApi:
|
|
|
3537
3486
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3538
3487
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3539
3488
|
) -> RESTResponseType:
|
|
3540
|
-
"""List
|
|
3489
|
+
"""List account holds
|
|
3541
3490
|
|
|
3542
|
-
List account resources
|
|
3491
|
+
List account hold resources. Paging can be applied.
|
|
3543
3492
|
|
|
3544
3493
|
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3545
3494
|
:type page_limit: str
|
|
3546
3495
|
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3547
3496
|
:type page_offset: str
|
|
3497
|
+
:param filter_status: Optional. Filter by status. Can be one of the following values: Active, Released, PartiallyReleased.
|
|
3498
|
+
:type filter_status: str
|
|
3499
|
+
:param filter_expired_at: Optional. Date only (e.g. \"2001-08-15\"). Filters by the date the account hold will be automatically released at.
|
|
3500
|
+
:type filter_expired_at: str
|
|
3548
3501
|
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3549
3502
|
:type filter_customer_id: str
|
|
3550
|
-
:param
|
|
3551
|
-
:type
|
|
3552
|
-
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3553
|
-
:type filter_tags: str
|
|
3554
|
-
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Usage example: filter[status][0]=Closed
|
|
3555
|
-
:type filter_status: str
|
|
3556
|
-
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3557
|
-
:type filter_from_balance: str
|
|
3558
|
-
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3559
|
-
:type filter_to_balance: str
|
|
3560
|
-
:param include: Optional. Related resource available to include: customer. See Getting Related Resources
|
|
3561
|
-
:type include: str
|
|
3503
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
3504
|
+
:type filter_account_id: str
|
|
3562
3505
|
:param _request_timeout: timeout setting for this request. If one
|
|
3563
3506
|
number provided, it will be total request
|
|
3564
3507
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3581,16 +3524,13 @@ class AccountsApi:
|
|
|
3581
3524
|
:return: Returns the result object.
|
|
3582
3525
|
""" # noqa: E501
|
|
3583
3526
|
|
|
3584
|
-
_param = self.
|
|
3527
|
+
_param = self._list_account_holds_serialize(
|
|
3585
3528
|
page_limit=page_limit,
|
|
3586
3529
|
page_offset=page_offset,
|
|
3587
|
-
filter_customer_id=filter_customer_id,
|
|
3588
|
-
filter_deposit_product_id=filter_deposit_product_id,
|
|
3589
|
-
filter_tags=filter_tags,
|
|
3590
3530
|
filter_status=filter_status,
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3531
|
+
filter_expired_at=filter_expired_at,
|
|
3532
|
+
filter_customer_id=filter_customer_id,
|
|
3533
|
+
filter_account_id=filter_account_id,
|
|
3594
3534
|
_request_auth=_request_auth,
|
|
3595
3535
|
_content_type=_content_type,
|
|
3596
3536
|
_headers=_headers,
|
|
@@ -3598,7 +3538,7 @@ class AccountsApi:
|
|
|
3598
3538
|
)
|
|
3599
3539
|
|
|
3600
3540
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3601
|
-
'200': "
|
|
3541
|
+
'200': "ListAccountHolds200Response",
|
|
3602
3542
|
'400': "ErrorDocument",
|
|
3603
3543
|
'401': "ErrorDocument",
|
|
3604
3544
|
'404': "ErrorDocument",
|
|
@@ -3610,17 +3550,795 @@ class AccountsApi:
|
|
|
3610
3550
|
return response_data.response
|
|
3611
3551
|
|
|
3612
3552
|
|
|
3613
|
-
def
|
|
3553
|
+
def _list_account_holds_serialize(
|
|
3614
3554
|
self,
|
|
3615
3555
|
page_limit,
|
|
3616
3556
|
page_offset,
|
|
3617
|
-
filter_customer_id,
|
|
3618
|
-
filter_deposit_product_id,
|
|
3619
|
-
filter_tags,
|
|
3620
3557
|
filter_status,
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3558
|
+
filter_expired_at,
|
|
3559
|
+
filter_customer_id,
|
|
3560
|
+
filter_account_id,
|
|
3561
|
+
_request_auth,
|
|
3562
|
+
_content_type,
|
|
3563
|
+
_headers,
|
|
3564
|
+
_host_index,
|
|
3565
|
+
) -> RequestSerialized:
|
|
3566
|
+
|
|
3567
|
+
_host = None
|
|
3568
|
+
|
|
3569
|
+
_collection_formats: Dict[str, str] = {
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
_path_params: Dict[str, str] = {}
|
|
3573
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3574
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3575
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3576
|
+
_files: Dict[
|
|
3577
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3578
|
+
] = {}
|
|
3579
|
+
_body_params: Optional[bytes] = None
|
|
3580
|
+
|
|
3581
|
+
# process the path parameters
|
|
3582
|
+
# process the query parameters
|
|
3583
|
+
if page_limit is not None:
|
|
3584
|
+
|
|
3585
|
+
_query_params.append(('page[limit]', page_limit))
|
|
3586
|
+
|
|
3587
|
+
if page_offset is not None:
|
|
3588
|
+
|
|
3589
|
+
_query_params.append(('page[offset]', page_offset))
|
|
3590
|
+
|
|
3591
|
+
if filter_status is not None:
|
|
3592
|
+
|
|
3593
|
+
_query_params.append(('filter[status][]', filter_status))
|
|
3594
|
+
|
|
3595
|
+
if filter_expired_at is not None:
|
|
3596
|
+
|
|
3597
|
+
_query_params.append(('filter[expiredAt]', filter_expired_at))
|
|
3598
|
+
|
|
3599
|
+
if filter_customer_id is not None:
|
|
3600
|
+
|
|
3601
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
3602
|
+
|
|
3603
|
+
if filter_account_id is not None:
|
|
3604
|
+
|
|
3605
|
+
_query_params.append(('filter[accountId]', filter_account_id))
|
|
3606
|
+
|
|
3607
|
+
# process the header parameters
|
|
3608
|
+
# process the form parameters
|
|
3609
|
+
# process the body parameter
|
|
3610
|
+
|
|
3611
|
+
|
|
3612
|
+
# set the HTTP header `Accept`
|
|
3613
|
+
if 'Accept' not in _header_params:
|
|
3614
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3615
|
+
[
|
|
3616
|
+
'application/vnd.api+json'
|
|
3617
|
+
]
|
|
3618
|
+
)
|
|
3619
|
+
|
|
3620
|
+
|
|
3621
|
+
# authentication setting
|
|
3622
|
+
_auth_settings: List[str] = [
|
|
3623
|
+
'bearerAuth'
|
|
3624
|
+
]
|
|
3625
|
+
|
|
3626
|
+
return self.api_client.param_serialize(
|
|
3627
|
+
method='GET',
|
|
3628
|
+
resource_path='/account-holds',
|
|
3629
|
+
path_params=_path_params,
|
|
3630
|
+
query_params=_query_params,
|
|
3631
|
+
header_params=_header_params,
|
|
3632
|
+
body=_body_params,
|
|
3633
|
+
post_params=_form_params,
|
|
3634
|
+
files=_files,
|
|
3635
|
+
auth_settings=_auth_settings,
|
|
3636
|
+
collection_formats=_collection_formats,
|
|
3637
|
+
_host=_host,
|
|
3638
|
+
_request_auth=_request_auth
|
|
3639
|
+
)
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
|
|
3644
|
+
@validate_call
|
|
3645
|
+
def list_accounts(
|
|
3646
|
+
self,
|
|
3647
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3648
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3649
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.")] = None,
|
|
3650
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3651
|
+
filter_deposit_product_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified deposit product id.")] = None,
|
|
3652
|
+
filter_routing_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].")] = None,
|
|
3653
|
+
filter_account_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].")] = None,
|
|
3654
|
+
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3655
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*")] = None,
|
|
3656
|
+
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3657
|
+
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3658
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources")] = None,
|
|
3659
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
3660
|
+
_request_timeout: Union[
|
|
3661
|
+
None,
|
|
3662
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3663
|
+
Tuple[
|
|
3664
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3665
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3666
|
+
]
|
|
3667
|
+
] = None,
|
|
3668
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3669
|
+
_content_type: Optional[StrictStr] = None,
|
|
3670
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3671
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3672
|
+
) -> ListAccounts200Response:
|
|
3673
|
+
"""List accounts
|
|
3674
|
+
|
|
3675
|
+
List account resources (deposit accounts, credit accounts, and wallets). Paging can be applied.
|
|
3676
|
+
|
|
3677
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3678
|
+
:type page_limit: str
|
|
3679
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3680
|
+
:type page_offset: str
|
|
3681
|
+
:param sort: Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.
|
|
3682
|
+
:type sort: str
|
|
3683
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3684
|
+
:type filter_customer_id: str
|
|
3685
|
+
:param filter_deposit_product_id: Optional. Filters the results by the specified deposit product id.
|
|
3686
|
+
:type filter_deposit_product_id: str
|
|
3687
|
+
:param filter_routing_number: Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].
|
|
3688
|
+
:type filter_routing_number: str
|
|
3689
|
+
:param filter_account_number: Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].
|
|
3690
|
+
:type filter_account_number: str
|
|
3691
|
+
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3692
|
+
:type filter_tags: str
|
|
3693
|
+
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*
|
|
3694
|
+
:type filter_status: str
|
|
3695
|
+
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3696
|
+
:type filter_from_balance: str
|
|
3697
|
+
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3698
|
+
:type filter_to_balance: str
|
|
3699
|
+
:param include: Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources
|
|
3700
|
+
:type include: str
|
|
3701
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
3702
|
+
:type extra_fields_account: str
|
|
3703
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3704
|
+
number provided, it will be total request
|
|
3705
|
+
timeout. It can also be a pair (tuple) of
|
|
3706
|
+
(connection, read) timeouts.
|
|
3707
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3708
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3709
|
+
request; this effectively ignores the
|
|
3710
|
+
authentication in the spec for a single request.
|
|
3711
|
+
:type _request_auth: dict, optional
|
|
3712
|
+
:param _content_type: force content-type for the request.
|
|
3713
|
+
:type _content_type: str, Optional
|
|
3714
|
+
:param _headers: set to override the headers for a single
|
|
3715
|
+
request; this effectively ignores the headers
|
|
3716
|
+
in the spec for a single request.
|
|
3717
|
+
:type _headers: dict, optional
|
|
3718
|
+
:param _host_index: set to override the host_index for a single
|
|
3719
|
+
request; this effectively ignores the host_index
|
|
3720
|
+
in the spec for a single request.
|
|
3721
|
+
:type _host_index: int, optional
|
|
3722
|
+
:return: Returns the result object.
|
|
3723
|
+
""" # noqa: E501
|
|
3724
|
+
|
|
3725
|
+
_param = self._list_accounts_serialize(
|
|
3726
|
+
page_limit=page_limit,
|
|
3727
|
+
page_offset=page_offset,
|
|
3728
|
+
sort=sort,
|
|
3729
|
+
filter_customer_id=filter_customer_id,
|
|
3730
|
+
filter_deposit_product_id=filter_deposit_product_id,
|
|
3731
|
+
filter_routing_number=filter_routing_number,
|
|
3732
|
+
filter_account_number=filter_account_number,
|
|
3733
|
+
filter_tags=filter_tags,
|
|
3734
|
+
filter_status=filter_status,
|
|
3735
|
+
filter_from_balance=filter_from_balance,
|
|
3736
|
+
filter_to_balance=filter_to_balance,
|
|
3737
|
+
include=include,
|
|
3738
|
+
extra_fields_account=extra_fields_account,
|
|
3739
|
+
_request_auth=_request_auth,
|
|
3740
|
+
_content_type=_content_type,
|
|
3741
|
+
_headers=_headers,
|
|
3742
|
+
_host_index=_host_index
|
|
3743
|
+
)
|
|
3744
|
+
|
|
3745
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3746
|
+
'200': "ListAccounts200Response",
|
|
3747
|
+
'400': "ErrorDocument",
|
|
3748
|
+
'401': "ErrorDocument",
|
|
3749
|
+
'404': "ErrorDocument",
|
|
3750
|
+
}
|
|
3751
|
+
response_data = self.api_client.call_api(
|
|
3752
|
+
*_param,
|
|
3753
|
+
_request_timeout=_request_timeout
|
|
3754
|
+
)
|
|
3755
|
+
response_data.read()
|
|
3756
|
+
return self.api_client.response_deserialize(
|
|
3757
|
+
response_data=response_data,
|
|
3758
|
+
response_types_map=_response_types_map,
|
|
3759
|
+
).data
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
@validate_call
|
|
3763
|
+
def list_accounts_with_http_info(
|
|
3764
|
+
self,
|
|
3765
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3766
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3767
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.")] = None,
|
|
3768
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3769
|
+
filter_deposit_product_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified deposit product id.")] = None,
|
|
3770
|
+
filter_routing_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].")] = None,
|
|
3771
|
+
filter_account_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].")] = None,
|
|
3772
|
+
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3773
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*")] = None,
|
|
3774
|
+
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3775
|
+
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3776
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources")] = None,
|
|
3777
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
3778
|
+
_request_timeout: Union[
|
|
3779
|
+
None,
|
|
3780
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3781
|
+
Tuple[
|
|
3782
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3783
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3784
|
+
]
|
|
3785
|
+
] = None,
|
|
3786
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3787
|
+
_content_type: Optional[StrictStr] = None,
|
|
3788
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3789
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3790
|
+
) -> ApiResponse[ListAccounts200Response]:
|
|
3791
|
+
"""List accounts
|
|
3792
|
+
|
|
3793
|
+
List account resources (deposit accounts, credit accounts, and wallets). Paging can be applied.
|
|
3794
|
+
|
|
3795
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3796
|
+
:type page_limit: str
|
|
3797
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3798
|
+
:type page_offset: str
|
|
3799
|
+
:param sort: Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.
|
|
3800
|
+
:type sort: str
|
|
3801
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3802
|
+
:type filter_customer_id: str
|
|
3803
|
+
:param filter_deposit_product_id: Optional. Filters the results by the specified deposit product id.
|
|
3804
|
+
:type filter_deposit_product_id: str
|
|
3805
|
+
:param filter_routing_number: Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].
|
|
3806
|
+
:type filter_routing_number: str
|
|
3807
|
+
:param filter_account_number: Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].
|
|
3808
|
+
:type filter_account_number: str
|
|
3809
|
+
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3810
|
+
:type filter_tags: str
|
|
3811
|
+
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*
|
|
3812
|
+
:type filter_status: str
|
|
3813
|
+
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3814
|
+
:type filter_from_balance: str
|
|
3815
|
+
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3816
|
+
:type filter_to_balance: str
|
|
3817
|
+
:param include: Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources
|
|
3818
|
+
:type include: str
|
|
3819
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
3820
|
+
:type extra_fields_account: str
|
|
3821
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3822
|
+
number provided, it will be total request
|
|
3823
|
+
timeout. It can also be a pair (tuple) of
|
|
3824
|
+
(connection, read) timeouts.
|
|
3825
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3826
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3827
|
+
request; this effectively ignores the
|
|
3828
|
+
authentication in the spec for a single request.
|
|
3829
|
+
:type _request_auth: dict, optional
|
|
3830
|
+
:param _content_type: force content-type for the request.
|
|
3831
|
+
:type _content_type: str, Optional
|
|
3832
|
+
:param _headers: set to override the headers for a single
|
|
3833
|
+
request; this effectively ignores the headers
|
|
3834
|
+
in the spec for a single request.
|
|
3835
|
+
:type _headers: dict, optional
|
|
3836
|
+
:param _host_index: set to override the host_index for a single
|
|
3837
|
+
request; this effectively ignores the host_index
|
|
3838
|
+
in the spec for a single request.
|
|
3839
|
+
:type _host_index: int, optional
|
|
3840
|
+
:return: Returns the result object.
|
|
3841
|
+
""" # noqa: E501
|
|
3842
|
+
|
|
3843
|
+
_param = self._list_accounts_serialize(
|
|
3844
|
+
page_limit=page_limit,
|
|
3845
|
+
page_offset=page_offset,
|
|
3846
|
+
sort=sort,
|
|
3847
|
+
filter_customer_id=filter_customer_id,
|
|
3848
|
+
filter_deposit_product_id=filter_deposit_product_id,
|
|
3849
|
+
filter_routing_number=filter_routing_number,
|
|
3850
|
+
filter_account_number=filter_account_number,
|
|
3851
|
+
filter_tags=filter_tags,
|
|
3852
|
+
filter_status=filter_status,
|
|
3853
|
+
filter_from_balance=filter_from_balance,
|
|
3854
|
+
filter_to_balance=filter_to_balance,
|
|
3855
|
+
include=include,
|
|
3856
|
+
extra_fields_account=extra_fields_account,
|
|
3857
|
+
_request_auth=_request_auth,
|
|
3858
|
+
_content_type=_content_type,
|
|
3859
|
+
_headers=_headers,
|
|
3860
|
+
_host_index=_host_index
|
|
3861
|
+
)
|
|
3862
|
+
|
|
3863
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3864
|
+
'200': "ListAccounts200Response",
|
|
3865
|
+
'400': "ErrorDocument",
|
|
3866
|
+
'401': "ErrorDocument",
|
|
3867
|
+
'404': "ErrorDocument",
|
|
3868
|
+
}
|
|
3869
|
+
response_data = self.api_client.call_api(
|
|
3870
|
+
*_param,
|
|
3871
|
+
_request_timeout=_request_timeout
|
|
3872
|
+
)
|
|
3873
|
+
response_data.read()
|
|
3874
|
+
return self.api_client.response_deserialize(
|
|
3875
|
+
response_data=response_data,
|
|
3876
|
+
response_types_map=_response_types_map,
|
|
3877
|
+
)
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
@validate_call
|
|
3881
|
+
def list_accounts_without_preload_content(
|
|
3882
|
+
self,
|
|
3883
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.")] = None,
|
|
3884
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
3885
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.")] = None,
|
|
3886
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
3887
|
+
filter_deposit_product_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified deposit product id.")] = None,
|
|
3888
|
+
filter_routing_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].")] = None,
|
|
3889
|
+
filter_account_number: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].")] = None,
|
|
3890
|
+
filter_tags: Annotated[Optional[StrictStr], Field(description="Optional. Filter Accounts by Tags.")] = None,
|
|
3891
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*")] = None,
|
|
3892
|
+
filter_from_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000")] = None,
|
|
3893
|
+
filter_to_balance: Annotated[Optional[StrictStr], Field(description="Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000")] = None,
|
|
3894
|
+
include: Annotated[Optional[StrictStr], Field(description="Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources")] = None,
|
|
3895
|
+
extra_fields_account: Annotated[Optional[StrictStr], Field(description="Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.")] = None,
|
|
3896
|
+
_request_timeout: Union[
|
|
3897
|
+
None,
|
|
3898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3899
|
+
Tuple[
|
|
3900
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3901
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3902
|
+
]
|
|
3903
|
+
] = None,
|
|
3904
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3905
|
+
_content_type: Optional[StrictStr] = None,
|
|
3906
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3907
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3908
|
+
) -> RESTResponseType:
|
|
3909
|
+
"""List accounts
|
|
3910
|
+
|
|
3911
|
+
List account resources (deposit accounts, credit accounts, and wallets). Paging can be applied.
|
|
3912
|
+
|
|
3913
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 10000 resources. See Pagination.
|
|
3914
|
+
:type page_limit: str
|
|
3915
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
3916
|
+
:type page_offset: str
|
|
3917
|
+
:param sort: Optional. Sort by createdAt, -createdAt, updatedAt, -updatedAt, balance, -balance, type, or -type.
|
|
3918
|
+
:type sort: str
|
|
3919
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
3920
|
+
:type filter_customer_id: str
|
|
3921
|
+
:param filter_deposit_product_id: Optional. Filters the results by the specified deposit product id.
|
|
3922
|
+
:type filter_deposit_product_id: str
|
|
3923
|
+
:param filter_routing_number: Optional. Filters the results by the specified routing number (9 digits). Usage example: *filter[routingNumber]=051000017*. Must be used together with filter[accountNumber].
|
|
3924
|
+
:type filter_routing_number: str
|
|
3925
|
+
:param filter_account_number: Optional. Filters the results by the specified account number (5-17 digits). Usage example: *filter[accountNumber]=10000123*. Must be used together with filter[routingNumber].
|
|
3926
|
+
:type filter_account_number: str
|
|
3927
|
+
:param filter_tags: Optional. Filter Accounts by Tags.
|
|
3928
|
+
:type filter_tags: str
|
|
3929
|
+
:param filter_status: Optional. Filter Account by its status (Open, Frozen, or Closed). Single-value and array forms are supported. Usage example: *filter[status][0]=Closed*
|
|
3930
|
+
:type filter_status: str
|
|
3931
|
+
:param filter_from_balance: Optional. Filters Accounts that have balance higher or equal to the specified amount (in cents). e.g. 5000
|
|
3932
|
+
:type filter_from_balance: str
|
|
3933
|
+
:param filter_to_balance: Optional. Filters Accounts that have balance lower or equal to the specified amount (in cents). e.g. 7000
|
|
3934
|
+
:type filter_to_balance: str
|
|
3935
|
+
:param include: Optional. Commonly used includes are customer, org, and bank. See Getting Related Resources
|
|
3936
|
+
:type include: str
|
|
3937
|
+
:param extra_fields_account: Optional. Comma-separated fields. Supported values currently include interestTerms and maskedAccountNumber.
|
|
3938
|
+
:type extra_fields_account: str
|
|
3939
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3940
|
+
number provided, it will be total request
|
|
3941
|
+
timeout. It can also be a pair (tuple) of
|
|
3942
|
+
(connection, read) timeouts.
|
|
3943
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3944
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3945
|
+
request; this effectively ignores the
|
|
3946
|
+
authentication in the spec for a single request.
|
|
3947
|
+
:type _request_auth: dict, optional
|
|
3948
|
+
:param _content_type: force content-type for the request.
|
|
3949
|
+
:type _content_type: str, Optional
|
|
3950
|
+
:param _headers: set to override the headers for a single
|
|
3951
|
+
request; this effectively ignores the headers
|
|
3952
|
+
in the spec for a single request.
|
|
3953
|
+
:type _headers: dict, optional
|
|
3954
|
+
:param _host_index: set to override the host_index for a single
|
|
3955
|
+
request; this effectively ignores the host_index
|
|
3956
|
+
in the spec for a single request.
|
|
3957
|
+
:type _host_index: int, optional
|
|
3958
|
+
:return: Returns the result object.
|
|
3959
|
+
""" # noqa: E501
|
|
3960
|
+
|
|
3961
|
+
_param = self._list_accounts_serialize(
|
|
3962
|
+
page_limit=page_limit,
|
|
3963
|
+
page_offset=page_offset,
|
|
3964
|
+
sort=sort,
|
|
3965
|
+
filter_customer_id=filter_customer_id,
|
|
3966
|
+
filter_deposit_product_id=filter_deposit_product_id,
|
|
3967
|
+
filter_routing_number=filter_routing_number,
|
|
3968
|
+
filter_account_number=filter_account_number,
|
|
3969
|
+
filter_tags=filter_tags,
|
|
3970
|
+
filter_status=filter_status,
|
|
3971
|
+
filter_from_balance=filter_from_balance,
|
|
3972
|
+
filter_to_balance=filter_to_balance,
|
|
3973
|
+
include=include,
|
|
3974
|
+
extra_fields_account=extra_fields_account,
|
|
3975
|
+
_request_auth=_request_auth,
|
|
3976
|
+
_content_type=_content_type,
|
|
3977
|
+
_headers=_headers,
|
|
3978
|
+
_host_index=_host_index
|
|
3979
|
+
)
|
|
3980
|
+
|
|
3981
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3982
|
+
'200': "ListAccounts200Response",
|
|
3983
|
+
'400': "ErrorDocument",
|
|
3984
|
+
'401': "ErrorDocument",
|
|
3985
|
+
'404': "ErrorDocument",
|
|
3986
|
+
}
|
|
3987
|
+
response_data = self.api_client.call_api(
|
|
3988
|
+
*_param,
|
|
3989
|
+
_request_timeout=_request_timeout
|
|
3990
|
+
)
|
|
3991
|
+
return response_data.response
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
def _list_accounts_serialize(
|
|
3995
|
+
self,
|
|
3996
|
+
page_limit,
|
|
3997
|
+
page_offset,
|
|
3998
|
+
sort,
|
|
3999
|
+
filter_customer_id,
|
|
4000
|
+
filter_deposit_product_id,
|
|
4001
|
+
filter_routing_number,
|
|
4002
|
+
filter_account_number,
|
|
4003
|
+
filter_tags,
|
|
4004
|
+
filter_status,
|
|
4005
|
+
filter_from_balance,
|
|
4006
|
+
filter_to_balance,
|
|
4007
|
+
include,
|
|
4008
|
+
extra_fields_account,
|
|
4009
|
+
_request_auth,
|
|
4010
|
+
_content_type,
|
|
4011
|
+
_headers,
|
|
4012
|
+
_host_index,
|
|
4013
|
+
) -> RequestSerialized:
|
|
4014
|
+
|
|
4015
|
+
_host = None
|
|
4016
|
+
|
|
4017
|
+
_collection_formats: Dict[str, str] = {
|
|
4018
|
+
}
|
|
4019
|
+
|
|
4020
|
+
_path_params: Dict[str, str] = {}
|
|
4021
|
+
_query_params: List[Tuple[str, str]] = []
|
|
4022
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4023
|
+
_form_params: List[Tuple[str, str]] = []
|
|
4024
|
+
_files: Dict[
|
|
4025
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4026
|
+
] = {}
|
|
4027
|
+
_body_params: Optional[bytes] = None
|
|
4028
|
+
|
|
4029
|
+
# process the path parameters
|
|
4030
|
+
# process the query parameters
|
|
4031
|
+
if page_limit is not None:
|
|
4032
|
+
|
|
4033
|
+
_query_params.append(('page[limit]', page_limit))
|
|
4034
|
+
|
|
4035
|
+
if page_offset is not None:
|
|
4036
|
+
|
|
4037
|
+
_query_params.append(('page[offset]', page_offset))
|
|
4038
|
+
|
|
4039
|
+
if sort is not None:
|
|
4040
|
+
|
|
4041
|
+
_query_params.append(('sort', sort))
|
|
4042
|
+
|
|
4043
|
+
if filter_customer_id is not None:
|
|
4044
|
+
|
|
4045
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
4046
|
+
|
|
4047
|
+
if filter_deposit_product_id is not None:
|
|
4048
|
+
|
|
4049
|
+
_query_params.append(('filter[depositProductId]', filter_deposit_product_id))
|
|
4050
|
+
|
|
4051
|
+
if filter_routing_number is not None:
|
|
4052
|
+
|
|
4053
|
+
_query_params.append(('filter[routingNumber]', filter_routing_number))
|
|
4054
|
+
|
|
4055
|
+
if filter_account_number is not None:
|
|
4056
|
+
|
|
4057
|
+
_query_params.append(('filter[accountNumber]', filter_account_number))
|
|
4058
|
+
|
|
4059
|
+
if filter_tags is not None:
|
|
4060
|
+
|
|
4061
|
+
_query_params.append(('filter[tags]', filter_tags))
|
|
4062
|
+
|
|
4063
|
+
if filter_status is not None:
|
|
4064
|
+
|
|
4065
|
+
_query_params.append(('filter[status]', filter_status))
|
|
4066
|
+
|
|
4067
|
+
if filter_from_balance is not None:
|
|
4068
|
+
|
|
4069
|
+
_query_params.append(('filter[fromBalance]', filter_from_balance))
|
|
4070
|
+
|
|
4071
|
+
if filter_to_balance is not None:
|
|
4072
|
+
|
|
4073
|
+
_query_params.append(('filter[toBalance]', filter_to_balance))
|
|
4074
|
+
|
|
4075
|
+
if include is not None:
|
|
4076
|
+
|
|
4077
|
+
_query_params.append(('include', include))
|
|
4078
|
+
|
|
4079
|
+
if extra_fields_account is not None:
|
|
4080
|
+
|
|
4081
|
+
_query_params.append(('extraFields[account]', extra_fields_account))
|
|
4082
|
+
|
|
4083
|
+
# process the header parameters
|
|
4084
|
+
# process the form parameters
|
|
4085
|
+
# process the body parameter
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
# set the HTTP header `Accept`
|
|
4089
|
+
if 'Accept' not in _header_params:
|
|
4090
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4091
|
+
[
|
|
4092
|
+
'application/vnd.api+json'
|
|
4093
|
+
]
|
|
4094
|
+
)
|
|
4095
|
+
|
|
4096
|
+
|
|
4097
|
+
# authentication setting
|
|
4098
|
+
_auth_settings: List[str] = [
|
|
4099
|
+
'bearerAuth'
|
|
4100
|
+
]
|
|
4101
|
+
|
|
4102
|
+
return self.api_client.param_serialize(
|
|
4103
|
+
method='GET',
|
|
4104
|
+
resource_path='/accounts',
|
|
4105
|
+
path_params=_path_params,
|
|
4106
|
+
query_params=_query_params,
|
|
4107
|
+
header_params=_header_params,
|
|
4108
|
+
body=_body_params,
|
|
4109
|
+
post_params=_form_params,
|
|
4110
|
+
files=_files,
|
|
4111
|
+
auth_settings=_auth_settings,
|
|
4112
|
+
collection_formats=_collection_formats,
|
|
4113
|
+
_host=_host,
|
|
4114
|
+
_request_auth=_request_auth
|
|
4115
|
+
)
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
|
|
4119
|
+
|
|
4120
|
+
@validate_call
|
|
4121
|
+
def release_account_hold(
|
|
4122
|
+
self,
|
|
4123
|
+
id: StrictStr,
|
|
4124
|
+
release_account_hold_request: ReleaseAccountHoldRequest,
|
|
4125
|
+
_request_timeout: Union[
|
|
4126
|
+
None,
|
|
4127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4128
|
+
Tuple[
|
|
4129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4130
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4131
|
+
]
|
|
4132
|
+
] = None,
|
|
4133
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4134
|
+
_content_type: Optional[StrictStr] = None,
|
|
4135
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4136
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4137
|
+
) -> CreateAccountHold201Response:
|
|
4138
|
+
"""Release an account hold
|
|
4139
|
+
|
|
4140
|
+
You can release an account hold fully (entire amount) or partially (a specified amount).
|
|
4141
|
+
|
|
4142
|
+
:param id: (required)
|
|
4143
|
+
:type id: str
|
|
4144
|
+
:param release_account_hold_request: (required)
|
|
4145
|
+
:type release_account_hold_request: ReleaseAccountHoldRequest
|
|
4146
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4147
|
+
number provided, it will be total request
|
|
4148
|
+
timeout. It can also be a pair (tuple) of
|
|
4149
|
+
(connection, read) timeouts.
|
|
4150
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4151
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4152
|
+
request; this effectively ignores the
|
|
4153
|
+
authentication in the spec for a single request.
|
|
4154
|
+
:type _request_auth: dict, optional
|
|
4155
|
+
:param _content_type: force content-type for the request.
|
|
4156
|
+
:type _content_type: str, Optional
|
|
4157
|
+
:param _headers: set to override the headers for a single
|
|
4158
|
+
request; this effectively ignores the headers
|
|
4159
|
+
in the spec for a single request.
|
|
4160
|
+
:type _headers: dict, optional
|
|
4161
|
+
:param _host_index: set to override the host_index for a single
|
|
4162
|
+
request; this effectively ignores the host_index
|
|
4163
|
+
in the spec for a single request.
|
|
4164
|
+
:type _host_index: int, optional
|
|
4165
|
+
:return: Returns the result object.
|
|
4166
|
+
""" # noqa: E501
|
|
4167
|
+
|
|
4168
|
+
_param = self._release_account_hold_serialize(
|
|
4169
|
+
id=id,
|
|
4170
|
+
release_account_hold_request=release_account_hold_request,
|
|
4171
|
+
_request_auth=_request_auth,
|
|
4172
|
+
_content_type=_content_type,
|
|
4173
|
+
_headers=_headers,
|
|
4174
|
+
_host_index=_host_index
|
|
4175
|
+
)
|
|
4176
|
+
|
|
4177
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4178
|
+
'200': "CreateAccountHold201Response",
|
|
4179
|
+
'400': "ErrorDocument",
|
|
4180
|
+
'401': "ErrorDocument",
|
|
4181
|
+
'404': "ErrorDocument",
|
|
4182
|
+
}
|
|
4183
|
+
response_data = self.api_client.call_api(
|
|
4184
|
+
*_param,
|
|
4185
|
+
_request_timeout=_request_timeout
|
|
4186
|
+
)
|
|
4187
|
+
response_data.read()
|
|
4188
|
+
return self.api_client.response_deserialize(
|
|
4189
|
+
response_data=response_data,
|
|
4190
|
+
response_types_map=_response_types_map,
|
|
4191
|
+
).data
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
@validate_call
|
|
4195
|
+
def release_account_hold_with_http_info(
|
|
4196
|
+
self,
|
|
4197
|
+
id: StrictStr,
|
|
4198
|
+
release_account_hold_request: ReleaseAccountHoldRequest,
|
|
4199
|
+
_request_timeout: Union[
|
|
4200
|
+
None,
|
|
4201
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4202
|
+
Tuple[
|
|
4203
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4204
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4205
|
+
]
|
|
4206
|
+
] = None,
|
|
4207
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4208
|
+
_content_type: Optional[StrictStr] = None,
|
|
4209
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4210
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4211
|
+
) -> ApiResponse[CreateAccountHold201Response]:
|
|
4212
|
+
"""Release an account hold
|
|
4213
|
+
|
|
4214
|
+
You can release an account hold fully (entire amount) or partially (a specified amount).
|
|
4215
|
+
|
|
4216
|
+
:param id: (required)
|
|
4217
|
+
:type id: str
|
|
4218
|
+
:param release_account_hold_request: (required)
|
|
4219
|
+
:type release_account_hold_request: ReleaseAccountHoldRequest
|
|
4220
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4221
|
+
number provided, it will be total request
|
|
4222
|
+
timeout. It can also be a pair (tuple) of
|
|
4223
|
+
(connection, read) timeouts.
|
|
4224
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4225
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4226
|
+
request; this effectively ignores the
|
|
4227
|
+
authentication in the spec for a single request.
|
|
4228
|
+
:type _request_auth: dict, optional
|
|
4229
|
+
:param _content_type: force content-type for the request.
|
|
4230
|
+
:type _content_type: str, Optional
|
|
4231
|
+
:param _headers: set to override the headers for a single
|
|
4232
|
+
request; this effectively ignores the headers
|
|
4233
|
+
in the spec for a single request.
|
|
4234
|
+
:type _headers: dict, optional
|
|
4235
|
+
:param _host_index: set to override the host_index for a single
|
|
4236
|
+
request; this effectively ignores the host_index
|
|
4237
|
+
in the spec for a single request.
|
|
4238
|
+
:type _host_index: int, optional
|
|
4239
|
+
:return: Returns the result object.
|
|
4240
|
+
""" # noqa: E501
|
|
4241
|
+
|
|
4242
|
+
_param = self._release_account_hold_serialize(
|
|
4243
|
+
id=id,
|
|
4244
|
+
release_account_hold_request=release_account_hold_request,
|
|
4245
|
+
_request_auth=_request_auth,
|
|
4246
|
+
_content_type=_content_type,
|
|
4247
|
+
_headers=_headers,
|
|
4248
|
+
_host_index=_host_index
|
|
4249
|
+
)
|
|
4250
|
+
|
|
4251
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4252
|
+
'200': "CreateAccountHold201Response",
|
|
4253
|
+
'400': "ErrorDocument",
|
|
4254
|
+
'401': "ErrorDocument",
|
|
4255
|
+
'404': "ErrorDocument",
|
|
4256
|
+
}
|
|
4257
|
+
response_data = self.api_client.call_api(
|
|
4258
|
+
*_param,
|
|
4259
|
+
_request_timeout=_request_timeout
|
|
4260
|
+
)
|
|
4261
|
+
response_data.read()
|
|
4262
|
+
return self.api_client.response_deserialize(
|
|
4263
|
+
response_data=response_data,
|
|
4264
|
+
response_types_map=_response_types_map,
|
|
4265
|
+
)
|
|
4266
|
+
|
|
4267
|
+
|
|
4268
|
+
@validate_call
|
|
4269
|
+
def release_account_hold_without_preload_content(
|
|
4270
|
+
self,
|
|
4271
|
+
id: StrictStr,
|
|
4272
|
+
release_account_hold_request: ReleaseAccountHoldRequest,
|
|
4273
|
+
_request_timeout: Union[
|
|
4274
|
+
None,
|
|
4275
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4276
|
+
Tuple[
|
|
4277
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4278
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4279
|
+
]
|
|
4280
|
+
] = None,
|
|
4281
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4282
|
+
_content_type: Optional[StrictStr] = None,
|
|
4283
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4284
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4285
|
+
) -> RESTResponseType:
|
|
4286
|
+
"""Release an account hold
|
|
4287
|
+
|
|
4288
|
+
You can release an account hold fully (entire amount) or partially (a specified amount).
|
|
4289
|
+
|
|
4290
|
+
:param id: (required)
|
|
4291
|
+
:type id: str
|
|
4292
|
+
:param release_account_hold_request: (required)
|
|
4293
|
+
:type release_account_hold_request: ReleaseAccountHoldRequest
|
|
4294
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4295
|
+
number provided, it will be total request
|
|
4296
|
+
timeout. It can also be a pair (tuple) of
|
|
4297
|
+
(connection, read) timeouts.
|
|
4298
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4299
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4300
|
+
request; this effectively ignores the
|
|
4301
|
+
authentication in the spec for a single request.
|
|
4302
|
+
:type _request_auth: dict, optional
|
|
4303
|
+
:param _content_type: force content-type for the request.
|
|
4304
|
+
:type _content_type: str, Optional
|
|
4305
|
+
:param _headers: set to override the headers for a single
|
|
4306
|
+
request; this effectively ignores the headers
|
|
4307
|
+
in the spec for a single request.
|
|
4308
|
+
:type _headers: dict, optional
|
|
4309
|
+
:param _host_index: set to override the host_index for a single
|
|
4310
|
+
request; this effectively ignores the host_index
|
|
4311
|
+
in the spec for a single request.
|
|
4312
|
+
:type _host_index: int, optional
|
|
4313
|
+
:return: Returns the result object.
|
|
4314
|
+
""" # noqa: E501
|
|
4315
|
+
|
|
4316
|
+
_param = self._release_account_hold_serialize(
|
|
4317
|
+
id=id,
|
|
4318
|
+
release_account_hold_request=release_account_hold_request,
|
|
4319
|
+
_request_auth=_request_auth,
|
|
4320
|
+
_content_type=_content_type,
|
|
4321
|
+
_headers=_headers,
|
|
4322
|
+
_host_index=_host_index
|
|
4323
|
+
)
|
|
4324
|
+
|
|
4325
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4326
|
+
'200': "CreateAccountHold201Response",
|
|
4327
|
+
'400': "ErrorDocument",
|
|
4328
|
+
'401': "ErrorDocument",
|
|
4329
|
+
'404': "ErrorDocument",
|
|
4330
|
+
}
|
|
4331
|
+
response_data = self.api_client.call_api(
|
|
4332
|
+
*_param,
|
|
4333
|
+
_request_timeout=_request_timeout
|
|
4334
|
+
)
|
|
4335
|
+
return response_data.response
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
def _release_account_hold_serialize(
|
|
4339
|
+
self,
|
|
4340
|
+
id,
|
|
4341
|
+
release_account_hold_request,
|
|
3624
4342
|
_request_auth,
|
|
3625
4343
|
_content_type,
|
|
3626
4344
|
_headers,
|
|
@@ -3642,46 +4360,14 @@ class AccountsApi:
|
|
|
3642
4360
|
_body_params: Optional[bytes] = None
|
|
3643
4361
|
|
|
3644
4362
|
# process the path parameters
|
|
4363
|
+
if id is not None:
|
|
4364
|
+
_path_params['id'] = id
|
|
3645
4365
|
# process the query parameters
|
|
3646
|
-
if page_limit is not None:
|
|
3647
|
-
|
|
3648
|
-
_query_params.append(('page[limit]', page_limit))
|
|
3649
|
-
|
|
3650
|
-
if page_offset is not None:
|
|
3651
|
-
|
|
3652
|
-
_query_params.append(('page[offset]', page_offset))
|
|
3653
|
-
|
|
3654
|
-
if filter_customer_id is not None:
|
|
3655
|
-
|
|
3656
|
-
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
3657
|
-
|
|
3658
|
-
if filter_deposit_product_id is not None:
|
|
3659
|
-
|
|
3660
|
-
_query_params.append(('filter[depositProductId]', filter_deposit_product_id))
|
|
3661
|
-
|
|
3662
|
-
if filter_tags is not None:
|
|
3663
|
-
|
|
3664
|
-
_query_params.append(('filter[tags]', filter_tags))
|
|
3665
|
-
|
|
3666
|
-
if filter_status is not None:
|
|
3667
|
-
|
|
3668
|
-
_query_params.append(('filter[status]', filter_status))
|
|
3669
|
-
|
|
3670
|
-
if filter_from_balance is not None:
|
|
3671
|
-
|
|
3672
|
-
_query_params.append(('filter[fromBalance]', filter_from_balance))
|
|
3673
|
-
|
|
3674
|
-
if filter_to_balance is not None:
|
|
3675
|
-
|
|
3676
|
-
_query_params.append(('filter[toBalance]', filter_to_balance))
|
|
3677
|
-
|
|
3678
|
-
if include is not None:
|
|
3679
|
-
|
|
3680
|
-
_query_params.append(('include', include))
|
|
3681
|
-
|
|
3682
4366
|
# process the header parameters
|
|
3683
4367
|
# process the form parameters
|
|
3684
4368
|
# process the body parameter
|
|
4369
|
+
if release_account_hold_request is not None:
|
|
4370
|
+
_body_params = release_account_hold_request
|
|
3685
4371
|
|
|
3686
4372
|
|
|
3687
4373
|
# set the HTTP header `Accept`
|
|
@@ -3692,6 +4378,19 @@ class AccountsApi:
|
|
|
3692
4378
|
]
|
|
3693
4379
|
)
|
|
3694
4380
|
|
|
4381
|
+
# set the HTTP header `Content-Type`
|
|
4382
|
+
if _content_type:
|
|
4383
|
+
_header_params['Content-Type'] = _content_type
|
|
4384
|
+
else:
|
|
4385
|
+
_default_content_type = (
|
|
4386
|
+
self.api_client.select_header_content_type(
|
|
4387
|
+
[
|
|
4388
|
+
'application/vnd.api+json'
|
|
4389
|
+
]
|
|
4390
|
+
)
|
|
4391
|
+
)
|
|
4392
|
+
if _default_content_type is not None:
|
|
4393
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3695
4394
|
|
|
3696
4395
|
# authentication setting
|
|
3697
4396
|
_auth_settings: List[str] = [
|
|
@@ -3699,8 +4398,8 @@ class AccountsApi:
|
|
|
3699
4398
|
]
|
|
3700
4399
|
|
|
3701
4400
|
return self.api_client.param_serialize(
|
|
3702
|
-
method='
|
|
3703
|
-
resource_path='/
|
|
4401
|
+
method='POST',
|
|
4402
|
+
resource_path='/account-holds/{id}/release',
|
|
3704
4403
|
path_params=_path_params,
|
|
3705
4404
|
query_params=_query_params,
|
|
3706
4405
|
header_params=_header_params,
|
|
@@ -3717,10 +4416,10 @@ class AccountsApi:
|
|
|
3717
4416
|
|
|
3718
4417
|
|
|
3719
4418
|
@validate_call
|
|
3720
|
-
def
|
|
4419
|
+
def remove_account_owners(
|
|
3721
4420
|
self,
|
|
3722
|
-
|
|
3723
|
-
|
|
4421
|
+
account_id: StrictStr,
|
|
4422
|
+
remove_account_owners_request: RemoveAccountOwnersRequest,
|
|
3724
4423
|
_request_timeout: Union[
|
|
3725
4424
|
None,
|
|
3726
4425
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3733,15 +4432,15 @@ class AccountsApi:
|
|
|
3733
4432
|
_content_type: Optional[StrictStr] = None,
|
|
3734
4433
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3735
4434
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3736
|
-
) ->
|
|
3737
|
-
"""
|
|
4435
|
+
) -> AddAccountOwners200Response:
|
|
4436
|
+
"""Remove account owners
|
|
3738
4437
|
|
|
3739
|
-
|
|
4438
|
+
Remove owner or owners from an existing joint deposit account.
|
|
3740
4439
|
|
|
3741
|
-
:param
|
|
3742
|
-
:type
|
|
3743
|
-
:param
|
|
3744
|
-
:type
|
|
4440
|
+
:param account_id: (required)
|
|
4441
|
+
:type account_id: str
|
|
4442
|
+
:param remove_account_owners_request: (required)
|
|
4443
|
+
:type remove_account_owners_request: RemoveAccountOwnersRequest
|
|
3745
4444
|
:param _request_timeout: timeout setting for this request. If one
|
|
3746
4445
|
number provided, it will be total request
|
|
3747
4446
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3764,9 +4463,9 @@ class AccountsApi:
|
|
|
3764
4463
|
:return: Returns the result object.
|
|
3765
4464
|
""" # noqa: E501
|
|
3766
4465
|
|
|
3767
|
-
_param = self.
|
|
3768
|
-
|
|
3769
|
-
|
|
4466
|
+
_param = self._remove_account_owners_serialize(
|
|
4467
|
+
account_id=account_id,
|
|
4468
|
+
remove_account_owners_request=remove_account_owners_request,
|
|
3770
4469
|
_request_auth=_request_auth,
|
|
3771
4470
|
_content_type=_content_type,
|
|
3772
4471
|
_headers=_headers,
|
|
@@ -3774,7 +4473,7 @@ class AccountsApi:
|
|
|
3774
4473
|
)
|
|
3775
4474
|
|
|
3776
4475
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3777
|
-
'200': "
|
|
4476
|
+
'200': "AddAccountOwners200Response",
|
|
3778
4477
|
'400': "ErrorDocument",
|
|
3779
4478
|
'401': "ErrorDocument",
|
|
3780
4479
|
'404': "ErrorDocument",
|
|
@@ -3791,10 +4490,10 @@ class AccountsApi:
|
|
|
3791
4490
|
|
|
3792
4491
|
|
|
3793
4492
|
@validate_call
|
|
3794
|
-
def
|
|
4493
|
+
def remove_account_owners_with_http_info(
|
|
3795
4494
|
self,
|
|
3796
|
-
|
|
3797
|
-
|
|
4495
|
+
account_id: StrictStr,
|
|
4496
|
+
remove_account_owners_request: RemoveAccountOwnersRequest,
|
|
3798
4497
|
_request_timeout: Union[
|
|
3799
4498
|
None,
|
|
3800
4499
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3807,15 +4506,15 @@ class AccountsApi:
|
|
|
3807
4506
|
_content_type: Optional[StrictStr] = None,
|
|
3808
4507
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3809
4508
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3810
|
-
) -> ApiResponse[
|
|
3811
|
-
"""
|
|
4509
|
+
) -> ApiResponse[AddAccountOwners200Response]:
|
|
4510
|
+
"""Remove account owners
|
|
3812
4511
|
|
|
3813
|
-
|
|
4512
|
+
Remove owner or owners from an existing joint deposit account.
|
|
3814
4513
|
|
|
3815
|
-
:param
|
|
3816
|
-
:type
|
|
3817
|
-
:param
|
|
3818
|
-
:type
|
|
4514
|
+
:param account_id: (required)
|
|
4515
|
+
:type account_id: str
|
|
4516
|
+
:param remove_account_owners_request: (required)
|
|
4517
|
+
:type remove_account_owners_request: RemoveAccountOwnersRequest
|
|
3819
4518
|
:param _request_timeout: timeout setting for this request. If one
|
|
3820
4519
|
number provided, it will be total request
|
|
3821
4520
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3838,9 +4537,9 @@ class AccountsApi:
|
|
|
3838
4537
|
:return: Returns the result object.
|
|
3839
4538
|
""" # noqa: E501
|
|
3840
4539
|
|
|
3841
|
-
_param = self.
|
|
3842
|
-
|
|
3843
|
-
|
|
4540
|
+
_param = self._remove_account_owners_serialize(
|
|
4541
|
+
account_id=account_id,
|
|
4542
|
+
remove_account_owners_request=remove_account_owners_request,
|
|
3844
4543
|
_request_auth=_request_auth,
|
|
3845
4544
|
_content_type=_content_type,
|
|
3846
4545
|
_headers=_headers,
|
|
@@ -3848,7 +4547,7 @@ class AccountsApi:
|
|
|
3848
4547
|
)
|
|
3849
4548
|
|
|
3850
4549
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3851
|
-
'200': "
|
|
4550
|
+
'200': "AddAccountOwners200Response",
|
|
3852
4551
|
'400': "ErrorDocument",
|
|
3853
4552
|
'401': "ErrorDocument",
|
|
3854
4553
|
'404': "ErrorDocument",
|
|
@@ -3865,10 +4564,10 @@ class AccountsApi:
|
|
|
3865
4564
|
|
|
3866
4565
|
|
|
3867
4566
|
@validate_call
|
|
3868
|
-
def
|
|
4567
|
+
def remove_account_owners_without_preload_content(
|
|
3869
4568
|
self,
|
|
3870
|
-
|
|
3871
|
-
|
|
4569
|
+
account_id: StrictStr,
|
|
4570
|
+
remove_account_owners_request: RemoveAccountOwnersRequest,
|
|
3872
4571
|
_request_timeout: Union[
|
|
3873
4572
|
None,
|
|
3874
4573
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3882,14 +4581,14 @@ class AccountsApi:
|
|
|
3882
4581
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3883
4582
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3884
4583
|
) -> RESTResponseType:
|
|
3885
|
-
"""
|
|
4584
|
+
"""Remove account owners
|
|
3886
4585
|
|
|
3887
|
-
|
|
4586
|
+
Remove owner or owners from an existing joint deposit account.
|
|
3888
4587
|
|
|
3889
|
-
:param
|
|
3890
|
-
:type
|
|
3891
|
-
:param
|
|
3892
|
-
:type
|
|
4588
|
+
:param account_id: (required)
|
|
4589
|
+
:type account_id: str
|
|
4590
|
+
:param remove_account_owners_request: (required)
|
|
4591
|
+
:type remove_account_owners_request: RemoveAccountOwnersRequest
|
|
3893
4592
|
:param _request_timeout: timeout setting for this request. If one
|
|
3894
4593
|
number provided, it will be total request
|
|
3895
4594
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3912,9 +4611,9 @@ class AccountsApi:
|
|
|
3912
4611
|
:return: Returns the result object.
|
|
3913
4612
|
""" # noqa: E501
|
|
3914
4613
|
|
|
3915
|
-
_param = self.
|
|
3916
|
-
|
|
3917
|
-
|
|
4614
|
+
_param = self._remove_account_owners_serialize(
|
|
4615
|
+
account_id=account_id,
|
|
4616
|
+
remove_account_owners_request=remove_account_owners_request,
|
|
3918
4617
|
_request_auth=_request_auth,
|
|
3919
4618
|
_content_type=_content_type,
|
|
3920
4619
|
_headers=_headers,
|
|
@@ -3922,7 +4621,7 @@ class AccountsApi:
|
|
|
3922
4621
|
)
|
|
3923
4622
|
|
|
3924
4623
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3925
|
-
'200': "
|
|
4624
|
+
'200': "AddAccountOwners200Response",
|
|
3926
4625
|
'400': "ErrorDocument",
|
|
3927
4626
|
'401': "ErrorDocument",
|
|
3928
4627
|
'404': "ErrorDocument",
|
|
@@ -3934,10 +4633,10 @@ class AccountsApi:
|
|
|
3934
4633
|
return response_data.response
|
|
3935
4634
|
|
|
3936
4635
|
|
|
3937
|
-
def
|
|
4636
|
+
def _remove_account_owners_serialize(
|
|
3938
4637
|
self,
|
|
3939
|
-
|
|
3940
|
-
|
|
4638
|
+
account_id,
|
|
4639
|
+
remove_account_owners_request,
|
|
3941
4640
|
_request_auth,
|
|
3942
4641
|
_content_type,
|
|
3943
4642
|
_headers,
|
|
@@ -3959,14 +4658,14 @@ class AccountsApi:
|
|
|
3959
4658
|
_body_params: Optional[bytes] = None
|
|
3960
4659
|
|
|
3961
4660
|
# process the path parameters
|
|
3962
|
-
if
|
|
3963
|
-
_path_params['
|
|
4661
|
+
if account_id is not None:
|
|
4662
|
+
_path_params['accountId'] = account_id
|
|
3964
4663
|
# process the query parameters
|
|
3965
4664
|
# process the header parameters
|
|
3966
4665
|
# process the form parameters
|
|
3967
4666
|
# process the body parameter
|
|
3968
|
-
if
|
|
3969
|
-
_body_params =
|
|
4667
|
+
if remove_account_owners_request is not None:
|
|
4668
|
+
_body_params = remove_account_owners_request
|
|
3970
4669
|
|
|
3971
4670
|
|
|
3972
4671
|
# set the HTTP header `Accept`
|
|
@@ -3997,8 +4696,8 @@ class AccountsApi:
|
|
|
3997
4696
|
]
|
|
3998
4697
|
|
|
3999
4698
|
return self.api_client.param_serialize(
|
|
4000
|
-
method='
|
|
4001
|
-
resource_path='/
|
|
4699
|
+
method='DELETE',
|
|
4700
|
+
resource_path='/accounts/{accountId}/relationships/customers',
|
|
4002
4701
|
path_params=_path_params,
|
|
4003
4702
|
query_params=_query_params,
|
|
4004
4703
|
header_params=_header_params,
|
|
@@ -4015,10 +4714,10 @@ class AccountsApi:
|
|
|
4015
4714
|
|
|
4016
4715
|
|
|
4017
4716
|
@validate_call
|
|
4018
|
-
def
|
|
4717
|
+
def reopen_account(
|
|
4019
4718
|
self,
|
|
4020
4719
|
account_id: StrictStr,
|
|
4021
|
-
|
|
4720
|
+
body: Optional[Dict[str, Any]] = None,
|
|
4022
4721
|
_request_timeout: Union[
|
|
4023
4722
|
None,
|
|
4024
4723
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4031,15 +4730,15 @@ class AccountsApi:
|
|
|
4031
4730
|
_content_type: Optional[StrictStr] = None,
|
|
4032
4731
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4033
4732
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4034
|
-
) ->
|
|
4035
|
-
"""
|
|
4733
|
+
) -> ReopenAccount200Response:
|
|
4734
|
+
"""Reopen an account
|
|
4036
4735
|
|
|
4037
|
-
|
|
4736
|
+
Reopens a closed account. Applies to deposit accounts and wallets.
|
|
4038
4737
|
|
|
4039
4738
|
:param account_id: (required)
|
|
4040
4739
|
:type account_id: str
|
|
4041
|
-
:param
|
|
4042
|
-
:type
|
|
4740
|
+
:param body:
|
|
4741
|
+
:type body: object
|
|
4043
4742
|
:param _request_timeout: timeout setting for this request. If one
|
|
4044
4743
|
number provided, it will be total request
|
|
4045
4744
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4062,9 +4761,9 @@ class AccountsApi:
|
|
|
4062
4761
|
:return: Returns the result object.
|
|
4063
4762
|
""" # noqa: E501
|
|
4064
4763
|
|
|
4065
|
-
_param = self.
|
|
4764
|
+
_param = self._reopen_account_serialize(
|
|
4066
4765
|
account_id=account_id,
|
|
4067
|
-
|
|
4766
|
+
body=body,
|
|
4068
4767
|
_request_auth=_request_auth,
|
|
4069
4768
|
_content_type=_content_type,
|
|
4070
4769
|
_headers=_headers,
|
|
@@ -4072,7 +4771,7 @@ class AccountsApi:
|
|
|
4072
4771
|
)
|
|
4073
4772
|
|
|
4074
4773
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4075
|
-
'200': "
|
|
4774
|
+
'200': "ReopenAccount200Response",
|
|
4076
4775
|
'400': "ErrorDocument",
|
|
4077
4776
|
'401': "ErrorDocument",
|
|
4078
4777
|
'404': "ErrorDocument",
|
|
@@ -4089,10 +4788,10 @@ class AccountsApi:
|
|
|
4089
4788
|
|
|
4090
4789
|
|
|
4091
4790
|
@validate_call
|
|
4092
|
-
def
|
|
4791
|
+
def reopen_account_with_http_info(
|
|
4093
4792
|
self,
|
|
4094
4793
|
account_id: StrictStr,
|
|
4095
|
-
|
|
4794
|
+
body: Optional[Dict[str, Any]] = None,
|
|
4096
4795
|
_request_timeout: Union[
|
|
4097
4796
|
None,
|
|
4098
4797
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4105,15 +4804,15 @@ class AccountsApi:
|
|
|
4105
4804
|
_content_type: Optional[StrictStr] = None,
|
|
4106
4805
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4107
4806
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4108
|
-
) -> ApiResponse[
|
|
4109
|
-
"""
|
|
4807
|
+
) -> ApiResponse[ReopenAccount200Response]:
|
|
4808
|
+
"""Reopen an account
|
|
4110
4809
|
|
|
4111
|
-
|
|
4810
|
+
Reopens a closed account. Applies to deposit accounts and wallets.
|
|
4112
4811
|
|
|
4113
4812
|
:param account_id: (required)
|
|
4114
4813
|
:type account_id: str
|
|
4115
|
-
:param
|
|
4116
|
-
:type
|
|
4814
|
+
:param body:
|
|
4815
|
+
:type body: object
|
|
4117
4816
|
:param _request_timeout: timeout setting for this request. If one
|
|
4118
4817
|
number provided, it will be total request
|
|
4119
4818
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4136,9 +4835,9 @@ class AccountsApi:
|
|
|
4136
4835
|
:return: Returns the result object.
|
|
4137
4836
|
""" # noqa: E501
|
|
4138
4837
|
|
|
4139
|
-
_param = self.
|
|
4838
|
+
_param = self._reopen_account_serialize(
|
|
4140
4839
|
account_id=account_id,
|
|
4141
|
-
|
|
4840
|
+
body=body,
|
|
4142
4841
|
_request_auth=_request_auth,
|
|
4143
4842
|
_content_type=_content_type,
|
|
4144
4843
|
_headers=_headers,
|
|
@@ -4146,7 +4845,7 @@ class AccountsApi:
|
|
|
4146
4845
|
)
|
|
4147
4846
|
|
|
4148
4847
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4149
|
-
'200': "
|
|
4848
|
+
'200': "ReopenAccount200Response",
|
|
4150
4849
|
'400': "ErrorDocument",
|
|
4151
4850
|
'401': "ErrorDocument",
|
|
4152
4851
|
'404': "ErrorDocument",
|
|
@@ -4163,10 +4862,10 @@ class AccountsApi:
|
|
|
4163
4862
|
|
|
4164
4863
|
|
|
4165
4864
|
@validate_call
|
|
4166
|
-
def
|
|
4865
|
+
def reopen_account_without_preload_content(
|
|
4167
4866
|
self,
|
|
4168
4867
|
account_id: StrictStr,
|
|
4169
|
-
|
|
4868
|
+
body: Optional[Dict[str, Any]] = None,
|
|
4170
4869
|
_request_timeout: Union[
|
|
4171
4870
|
None,
|
|
4172
4871
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4180,14 +4879,14 @@ class AccountsApi:
|
|
|
4180
4879
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4181
4880
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4182
4881
|
) -> RESTResponseType:
|
|
4183
|
-
"""
|
|
4882
|
+
"""Reopen an account
|
|
4184
4883
|
|
|
4185
|
-
|
|
4884
|
+
Reopens a closed account. Applies to deposit accounts and wallets.
|
|
4186
4885
|
|
|
4187
4886
|
:param account_id: (required)
|
|
4188
4887
|
:type account_id: str
|
|
4189
|
-
:param
|
|
4190
|
-
:type
|
|
4888
|
+
:param body:
|
|
4889
|
+
:type body: object
|
|
4191
4890
|
:param _request_timeout: timeout setting for this request. If one
|
|
4192
4891
|
number provided, it will be total request
|
|
4193
4892
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4210,9 +4909,9 @@ class AccountsApi:
|
|
|
4210
4909
|
:return: Returns the result object.
|
|
4211
4910
|
""" # noqa: E501
|
|
4212
4911
|
|
|
4213
|
-
_param = self.
|
|
4912
|
+
_param = self._reopen_account_serialize(
|
|
4214
4913
|
account_id=account_id,
|
|
4215
|
-
|
|
4914
|
+
body=body,
|
|
4216
4915
|
_request_auth=_request_auth,
|
|
4217
4916
|
_content_type=_content_type,
|
|
4218
4917
|
_headers=_headers,
|
|
@@ -4220,7 +4919,7 @@ class AccountsApi:
|
|
|
4220
4919
|
)
|
|
4221
4920
|
|
|
4222
4921
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4223
|
-
'200': "
|
|
4922
|
+
'200': "ReopenAccount200Response",
|
|
4224
4923
|
'400': "ErrorDocument",
|
|
4225
4924
|
'401': "ErrorDocument",
|
|
4226
4925
|
'404': "ErrorDocument",
|
|
@@ -4232,10 +4931,10 @@ class AccountsApi:
|
|
|
4232
4931
|
return response_data.response
|
|
4233
4932
|
|
|
4234
4933
|
|
|
4235
|
-
def
|
|
4934
|
+
def _reopen_account_serialize(
|
|
4236
4935
|
self,
|
|
4237
4936
|
account_id,
|
|
4238
|
-
|
|
4937
|
+
body,
|
|
4239
4938
|
_request_auth,
|
|
4240
4939
|
_content_type,
|
|
4241
4940
|
_headers,
|
|
@@ -4263,8 +4962,8 @@ class AccountsApi:
|
|
|
4263
4962
|
# process the header parameters
|
|
4264
4963
|
# process the form parameters
|
|
4265
4964
|
# process the body parameter
|
|
4266
|
-
if
|
|
4267
|
-
_body_params =
|
|
4965
|
+
if body is not None:
|
|
4966
|
+
_body_params = body
|
|
4268
4967
|
|
|
4269
4968
|
|
|
4270
4969
|
# set the HTTP header `Accept`
|
|
@@ -4295,8 +4994,8 @@ class AccountsApi:
|
|
|
4295
4994
|
]
|
|
4296
4995
|
|
|
4297
4996
|
return self.api_client.param_serialize(
|
|
4298
|
-
method='
|
|
4299
|
-
resource_path='/accounts/{accountId}/
|
|
4997
|
+
method='POST',
|
|
4998
|
+
resource_path='/accounts/{accountId}/reopen',
|
|
4300
4999
|
path_params=_path_params,
|
|
4301
5000
|
query_params=_query_params,
|
|
4302
5001
|
header_params=_header_params,
|
|
@@ -4313,7 +5012,7 @@ class AccountsApi:
|
|
|
4313
5012
|
|
|
4314
5013
|
|
|
4315
5014
|
@validate_call
|
|
4316
|
-
def
|
|
5015
|
+
def switch_account_numbers(
|
|
4317
5016
|
self,
|
|
4318
5017
|
account_id: StrictStr,
|
|
4319
5018
|
body: Optional[Dict[str, Any]] = None,
|
|
@@ -4329,10 +5028,10 @@ class AccountsApi:
|
|
|
4329
5028
|
_content_type: Optional[StrictStr] = None,
|
|
4330
5029
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4331
5030
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4332
|
-
) ->
|
|
4333
|
-
"""
|
|
5031
|
+
) -> AddAccountOwners200Response:
|
|
5032
|
+
"""Switch account numbers
|
|
4334
5033
|
|
|
4335
|
-
|
|
5034
|
+
Switch primary and secondary account numbers for an existing deposit account.
|
|
4336
5035
|
|
|
4337
5036
|
:param account_id: (required)
|
|
4338
5037
|
:type account_id: str
|
|
@@ -4360,7 +5059,7 @@ class AccountsApi:
|
|
|
4360
5059
|
:return: Returns the result object.
|
|
4361
5060
|
""" # noqa: E501
|
|
4362
5061
|
|
|
4363
|
-
_param = self.
|
|
5062
|
+
_param = self._switch_account_numbers_serialize(
|
|
4364
5063
|
account_id=account_id,
|
|
4365
5064
|
body=body,
|
|
4366
5065
|
_request_auth=_request_auth,
|
|
@@ -4370,7 +5069,7 @@ class AccountsApi:
|
|
|
4370
5069
|
)
|
|
4371
5070
|
|
|
4372
5071
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4373
|
-
'200': "
|
|
5072
|
+
'200': "AddAccountOwners200Response",
|
|
4374
5073
|
'400': "ErrorDocument",
|
|
4375
5074
|
'401': "ErrorDocument",
|
|
4376
5075
|
'404': "ErrorDocument",
|
|
@@ -4387,7 +5086,7 @@ class AccountsApi:
|
|
|
4387
5086
|
|
|
4388
5087
|
|
|
4389
5088
|
@validate_call
|
|
4390
|
-
def
|
|
5089
|
+
def switch_account_numbers_with_http_info(
|
|
4391
5090
|
self,
|
|
4392
5091
|
account_id: StrictStr,
|
|
4393
5092
|
body: Optional[Dict[str, Any]] = None,
|
|
@@ -4403,10 +5102,10 @@ class AccountsApi:
|
|
|
4403
5102
|
_content_type: Optional[StrictStr] = None,
|
|
4404
5103
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4405
5104
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4406
|
-
) -> ApiResponse[
|
|
4407
|
-
"""
|
|
5105
|
+
) -> ApiResponse[AddAccountOwners200Response]:
|
|
5106
|
+
"""Switch account numbers
|
|
4408
5107
|
|
|
4409
|
-
|
|
5108
|
+
Switch primary and secondary account numbers for an existing deposit account.
|
|
4410
5109
|
|
|
4411
5110
|
:param account_id: (required)
|
|
4412
5111
|
:type account_id: str
|
|
@@ -4434,7 +5133,7 @@ class AccountsApi:
|
|
|
4434
5133
|
:return: Returns the result object.
|
|
4435
5134
|
""" # noqa: E501
|
|
4436
5135
|
|
|
4437
|
-
_param = self.
|
|
5136
|
+
_param = self._switch_account_numbers_serialize(
|
|
4438
5137
|
account_id=account_id,
|
|
4439
5138
|
body=body,
|
|
4440
5139
|
_request_auth=_request_auth,
|
|
@@ -4444,7 +5143,7 @@ class AccountsApi:
|
|
|
4444
5143
|
)
|
|
4445
5144
|
|
|
4446
5145
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4447
|
-
'200': "
|
|
5146
|
+
'200': "AddAccountOwners200Response",
|
|
4448
5147
|
'400': "ErrorDocument",
|
|
4449
5148
|
'401': "ErrorDocument",
|
|
4450
5149
|
'404': "ErrorDocument",
|
|
@@ -4461,7 +5160,7 @@ class AccountsApi:
|
|
|
4461
5160
|
|
|
4462
5161
|
|
|
4463
5162
|
@validate_call
|
|
4464
|
-
def
|
|
5163
|
+
def switch_account_numbers_without_preload_content(
|
|
4465
5164
|
self,
|
|
4466
5165
|
account_id: StrictStr,
|
|
4467
5166
|
body: Optional[Dict[str, Any]] = None,
|
|
@@ -4478,9 +5177,9 @@ class AccountsApi:
|
|
|
4478
5177
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4479
5178
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4480
5179
|
) -> RESTResponseType:
|
|
4481
|
-
"""
|
|
5180
|
+
"""Switch account numbers
|
|
4482
5181
|
|
|
4483
|
-
|
|
5182
|
+
Switch primary and secondary account numbers for an existing deposit account.
|
|
4484
5183
|
|
|
4485
5184
|
:param account_id: (required)
|
|
4486
5185
|
:type account_id: str
|
|
@@ -4508,7 +5207,7 @@ class AccountsApi:
|
|
|
4508
5207
|
:return: Returns the result object.
|
|
4509
5208
|
""" # noqa: E501
|
|
4510
5209
|
|
|
4511
|
-
_param = self.
|
|
5210
|
+
_param = self._switch_account_numbers_serialize(
|
|
4512
5211
|
account_id=account_id,
|
|
4513
5212
|
body=body,
|
|
4514
5213
|
_request_auth=_request_auth,
|
|
@@ -4518,7 +5217,7 @@ class AccountsApi:
|
|
|
4518
5217
|
)
|
|
4519
5218
|
|
|
4520
5219
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4521
|
-
'200': "
|
|
5220
|
+
'200': "AddAccountOwners200Response",
|
|
4522
5221
|
'400': "ErrorDocument",
|
|
4523
5222
|
'401': "ErrorDocument",
|
|
4524
5223
|
'404': "ErrorDocument",
|
|
@@ -4530,7 +5229,7 @@ class AccountsApi:
|
|
|
4530
5229
|
return response_data.response
|
|
4531
5230
|
|
|
4532
5231
|
|
|
4533
|
-
def
|
|
5232
|
+
def _switch_account_numbers_serialize(
|
|
4534
5233
|
self,
|
|
4535
5234
|
account_id,
|
|
4536
5235
|
body,
|
|
@@ -4594,7 +5293,7 @@ class AccountsApi:
|
|
|
4594
5293
|
|
|
4595
5294
|
return self.api_client.param_serialize(
|
|
4596
5295
|
method='POST',
|
|
4597
|
-
resource_path='/accounts/{accountId}/
|
|
5296
|
+
resource_path='/accounts/{accountId}/switch-account-numbers',
|
|
4598
5297
|
path_params=_path_params,
|
|
4599
5298
|
query_params=_query_params,
|
|
4600
5299
|
header_params=_header_params,
|