unit-openapi-python-sdk 0.18.0__py3-none-any.whl → 0.19.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 +227 -1
- unit_finance_sdk/api/__init__.py +6 -0
- unit_finance_sdk/api/accounts_api.py +1 -1
- 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 +1580 -0
- unit_finance_sdk/api/repayments_api.py +1319 -0
- unit_finance_sdk/api/rewards_api.py +1087 -0
- unit_finance_sdk/api/statements_api.py +1310 -0
- unit_finance_sdk/api/stop_payments_api.py +1770 -0
- unit_finance_sdk/api/tax_forms_api.py +834 -0
- unit_finance_sdk/api/transactions_api.py +1 -1
- unit_finance_sdk/api_client.py +4 -1
- unit_finance_sdk/configuration.py +2 -2
- unit_finance_sdk/exceptions.py +1 -1
- unit_finance_sdk/models/__init__.py +108 -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 +1 -1
- 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 +122 -0
- unit_finance_sdk/models/ach_repayment_attributes.py +110 -0
- unit_finance_sdk/models/ach_repayment_relationships.py +135 -0
- unit_finance_sdk/models/ach_stop_payment.py +122 -0
- unit_finance_sdk/models/ach_stop_payment_attributes.py +122 -0
- 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/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 +1 -1
- 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 +122 -0
- unit_finance_sdk/models/book_repayment_attributes.py +110 -0
- unit_finance_sdk/models/book_repayment_relationships.py +135 -0
- 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 +122 -0
- unit_finance_sdk/models/capital_partner_ach_repayment_relationships.py +130 -0
- unit_finance_sdk/models/capital_partner_book_repayment.py +122 -0
- unit_finance_sdk/models/capital_partner_book_repayment_relationships.py +130 -0
- 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 +122 -0
- unit_finance_sdk/models/check_stop_payment_attributes.py +112 -0
- unit_finance_sdk/models/check_stop_payment_relationships.py +120 -0
- 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 +1 -1
- 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 +1 -1
- 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 +120 -0
- unit_finance_sdk/models/create_ach_repayment_data_attributes.py +115 -0
- unit_finance_sdk/models/create_ach_repayment_request.py +105 -0
- unit_finance_sdk/models/create_ach_stop_payment_data.py +120 -0
- unit_finance_sdk/models/create_ach_stop_payment_data_attributes.py +116 -0
- unit_finance_sdk/models/create_ach_stop_payment_request.py +105 -0
- 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 +120 -0
- unit_finance_sdk/models/create_book_repayment_data_attributes.py +109 -0
- unit_finance_sdk/models/create_book_repayment_request.py +105 -0
- 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 +120 -0
- unit_finance_sdk/models/create_capital_partner_ach_repayment_data_attributes.py +113 -0
- unit_finance_sdk/models/create_capital_partner_ach_repayment_request.py +105 -0
- unit_finance_sdk/models/create_capital_partner_book_repayment_data.py +120 -0
- unit_finance_sdk/models/create_capital_partner_book_repayment_request.py +105 -0
- 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 +120 -0
- unit_finance_sdk/models/create_check_stop_payment_data_attributes.py +107 -0
- unit_finance_sdk/models/create_check_stop_payment_request.py +105 -0
- 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 +1 -1
- 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 +120 -0
- unit_finance_sdk/models/create_external_repayment_data_attributes.py +107 -0
- unit_finance_sdk/models/create_external_repayment_data_relationships.py +105 -0
- unit_finance_sdk/models/create_external_repayment_request.py +105 -0
- 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 +120 -0
- unit_finance_sdk/models/create_recurring_ach_repayment_data_attributes.py +111 -0
- unit_finance_sdk/models/create_recurring_ach_repayment_data_relationships.py +115 -0
- unit_finance_sdk/models/create_recurring_ach_repayment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_book_repayment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_book_repayment_data_attributes.py +107 -0
- unit_finance_sdk/models/create_recurring_book_repayment_data_relationships.py +115 -0
- unit_finance_sdk/models/create_recurring_book_repayment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data_attributes.py +111 -0
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_data_relationships.py +110 -0
- unit_finance_sdk/models/create_recurring_capital_partner_ach_repayment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data_attributes.py +107 -0
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_data_relationships.py +110 -0
- unit_finance_sdk/models/create_recurring_capital_partner_book_repayment_request.py +105 -0
- 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 +105 -0
- unit_finance_sdk/models/create_recurring_repayment_request.py +165 -0
- unit_finance_sdk/models/create_repayment201_response.py +105 -0
- unit_finance_sdk/models/create_repayment201_response_data.py +182 -0
- unit_finance_sdk/models/create_repayment_request.py +179 -0
- unit_finance_sdk/models/create_reward201_response.py +105 -0
- unit_finance_sdk/models/create_reward_data.py +120 -0
- unit_finance_sdk/models/create_reward_data_attributes.py +107 -0
- unit_finance_sdk/models/create_reward_data_relationships.py +105 -0
- unit_finance_sdk/models/create_reward_request.py +105 -0
- 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 +105 -0
- unit_finance_sdk/models/create_stop_payment201_response_data.py +140 -0
- unit_finance_sdk/models/create_stop_payment_request.py +137 -0
- 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 +1 -1
- 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 +122 -0
- unit_finance_sdk/models/external_repayment_attributes.py +112 -0
- unit_finance_sdk/models/external_repayment_relationships.py +115 -0
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +105 -0
- unit_finance_sdk/models/get_reward200_response.py +115 -0
- unit_finance_sdk/models/get_stop_payment200_response.py +105 -0
- unit_finance_sdk/models/get_tax_form_by_id200_response.py +105 -0
- 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 +1 -1
- 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 +115 -0
- unit_finance_sdk/models/list_recurring_repayments200_response_data_inner.py +168 -0
- unit_finance_sdk/models/list_repayments200_response.py +115 -0
- unit_finance_sdk/models/list_repayments200_response_data_inner.py +154 -0
- unit_finance_sdk/models/list_rewards200_response.py +119 -0
- unit_finance_sdk/models/list_statements200_response.py +109 -0
- unit_finance_sdk/models/list_stop_payments200_response.py +109 -0
- unit_finance_sdk/models/list_store_locations200_response.py +1 -1
- unit_finance_sdk/models/list_tax_forms200_response.py +109 -0
- 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 +1 -1
- 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 +122 -0
- unit_finance_sdk/models/recurring_ach_repayment_attributes.py +124 -0
- unit_finance_sdk/models/recurring_ach_repayment_relationships.py +125 -0
- unit_finance_sdk/models/recurring_book_repayment.py +122 -0
- unit_finance_sdk/models/recurring_book_repayment_attributes.py +120 -0
- unit_finance_sdk/models/recurring_book_repayment_relationships.py +130 -0
- unit_finance_sdk/models/recurring_capital_partner_ach_repayment.py +122 -0
- unit_finance_sdk/models/recurring_capital_partner_ach_repayment_relationships.py +120 -0
- unit_finance_sdk/models/recurring_capital_partner_book_repayment.py +122 -0
- unit_finance_sdk/models/recurring_capital_partner_book_repayment_attributes.py +120 -0
- unit_finance_sdk/models/recurring_capital_partner_book_repayment_relationships.py +125 -0
- 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 +1 -1
- 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 +105 -0
- unit_finance_sdk/models/return_external_repayment_data.py +116 -0
- unit_finance_sdk/models/return_external_repayment_data_relationships.py +105 -0
- unit_finance_sdk/models/return_external_repayment_request.py +105 -0
- 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 +122 -0
- unit_finance_sdk/models/reward_attributes.py +112 -0
- unit_finance_sdk/models/reward_relationships.py +130 -0
- 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 +122 -0
- unit_finance_sdk/models/statement_attributes.py +101 -0
- 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 +122 -0
- unit_finance_sdk/models/tax_form_attributes.py +114 -0
- unit_finance_sdk/models/tax_form_relationships.py +115 -0
- 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 +105 -0
- unit_finance_sdk/models/update_ach_stop_payment_data.py +114 -0
- unit_finance_sdk/models/update_ach_stop_payment_data_attributes.py +104 -0
- unit_finance_sdk/models/update_ach_stop_payment_request.py +105 -0
- 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 +1 -1
- 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.18.0.dist-info → unit_openapi_python_sdk-0.19.0.dist-info}/METADATA +1 -1
- unit_openapi_python_sdk-0.19.0.dist-info/RECORD +858 -0
- unit_openapi_python_sdk-0.18.0.dist-info/RECORD +0 -745
- {unit_openapi_python_sdk-0.18.0.dist-info → unit_openapi_python_sdk-0.19.0.dist-info}/WHEEL +0 -0
- {unit_openapi_python_sdk-0.18.0.dist-info → unit_openapi_python_sdk-0.19.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1319 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Unit API
|
|
3
|
+
|
|
4
|
+
JSON:API-compliant banking API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.19.0
|
|
7
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
|
|
9
|
+
Do not edit the class manually.
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import warnings
|
|
14
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
15
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
|
+
from typing_extensions import Annotated
|
|
17
|
+
|
|
18
|
+
from pydantic import Field, StrictStr
|
|
19
|
+
from typing import Optional
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from unit_finance_sdk.models.create_repayment201_response import CreateRepayment201Response
|
|
22
|
+
from unit_finance_sdk.models.create_repayment_request import CreateRepaymentRequest
|
|
23
|
+
from unit_finance_sdk.models.get_repayment200_response import GetRepayment200Response
|
|
24
|
+
from unit_finance_sdk.models.list_repayments200_response import ListRepayments200Response
|
|
25
|
+
from unit_finance_sdk.models.return_external_repayment200_response import ReturnExternalRepayment200Response
|
|
26
|
+
from unit_finance_sdk.models.return_external_repayment_request import ReturnExternalRepaymentRequest
|
|
27
|
+
|
|
28
|
+
from unit_finance_sdk.api_client import ApiClient, RequestSerialized
|
|
29
|
+
from unit_finance_sdk.api_response import ApiResponse
|
|
30
|
+
from unit_finance_sdk.rest import RESTResponseType
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class RepaymentsApi:
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
def __init__(self, api_client=None) -> None:
|
|
41
|
+
if api_client is None:
|
|
42
|
+
api_client = ApiClient.get_default()
|
|
43
|
+
self.api_client = api_client
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@validate_call
|
|
47
|
+
def create_repayment(
|
|
48
|
+
self,
|
|
49
|
+
create_repayment_request: CreateRepaymentRequest,
|
|
50
|
+
_request_timeout: Union[
|
|
51
|
+
None,
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
53
|
+
Tuple[
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
56
|
+
]
|
|
57
|
+
] = None,
|
|
58
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
59
|
+
_content_type: Optional[StrictStr] = None,
|
|
60
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
61
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
62
|
+
) -> CreateRepayment201Response:
|
|
63
|
+
"""Create a repayment
|
|
64
|
+
|
|
65
|
+
Create a repayment for a credit account. The request body is one of CreateACHRepaymentRequest, CreateBookRepaymentRequest, CreateCapitalPartnerACHRepaymentRequest, CreateCapitalPartnerBookRepaymentRequest, or CreateExternalRepaymentRequest, discriminated by data.type (repayment, externalRepayment) together with the relationships supplied — the capital partner variants omit the account relationship, the book variants use counterpartyAccount instead of counterparty, and the external variant only takes creditAccount.
|
|
66
|
+
|
|
67
|
+
:param create_repayment_request: (required)
|
|
68
|
+
:type create_repayment_request: CreateRepaymentRequest
|
|
69
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
70
|
+
number provided, it will be total request
|
|
71
|
+
timeout. It can also be a pair (tuple) of
|
|
72
|
+
(connection, read) timeouts.
|
|
73
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
74
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
75
|
+
request; this effectively ignores the
|
|
76
|
+
authentication in the spec for a single request.
|
|
77
|
+
:type _request_auth: dict, optional
|
|
78
|
+
:param _content_type: force content-type for the request.
|
|
79
|
+
:type _content_type: str, Optional
|
|
80
|
+
:param _headers: set to override the headers for a single
|
|
81
|
+
request; this effectively ignores the headers
|
|
82
|
+
in the spec for a single request.
|
|
83
|
+
:type _headers: dict, optional
|
|
84
|
+
:param _host_index: set to override the host_index for a single
|
|
85
|
+
request; this effectively ignores the host_index
|
|
86
|
+
in the spec for a single request.
|
|
87
|
+
:type _host_index: int, optional
|
|
88
|
+
:return: Returns the result object.
|
|
89
|
+
""" # noqa: E501
|
|
90
|
+
|
|
91
|
+
_param = self._create_repayment_serialize(
|
|
92
|
+
create_repayment_request=create_repayment_request,
|
|
93
|
+
_request_auth=_request_auth,
|
|
94
|
+
_content_type=_content_type,
|
|
95
|
+
_headers=_headers,
|
|
96
|
+
_host_index=_host_index
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
100
|
+
'201': "CreateRepayment201Response",
|
|
101
|
+
'400': "ErrorDocument",
|
|
102
|
+
'401': "ErrorDocument",
|
|
103
|
+
'404': "ErrorDocument",
|
|
104
|
+
}
|
|
105
|
+
response_data = self.api_client.call_api(
|
|
106
|
+
*_param,
|
|
107
|
+
_request_timeout=_request_timeout
|
|
108
|
+
)
|
|
109
|
+
response_data.read()
|
|
110
|
+
return self.api_client.response_deserialize(
|
|
111
|
+
response_data=response_data,
|
|
112
|
+
response_types_map=_response_types_map,
|
|
113
|
+
).data
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
@validate_call
|
|
117
|
+
def create_repayment_with_http_info(
|
|
118
|
+
self,
|
|
119
|
+
create_repayment_request: CreateRepaymentRequest,
|
|
120
|
+
_request_timeout: Union[
|
|
121
|
+
None,
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
123
|
+
Tuple[
|
|
124
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
126
|
+
]
|
|
127
|
+
] = None,
|
|
128
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
129
|
+
_content_type: Optional[StrictStr] = None,
|
|
130
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
131
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
132
|
+
) -> ApiResponse[CreateRepayment201Response]:
|
|
133
|
+
"""Create a repayment
|
|
134
|
+
|
|
135
|
+
Create a repayment for a credit account. The request body is one of CreateACHRepaymentRequest, CreateBookRepaymentRequest, CreateCapitalPartnerACHRepaymentRequest, CreateCapitalPartnerBookRepaymentRequest, or CreateExternalRepaymentRequest, discriminated by data.type (repayment, externalRepayment) together with the relationships supplied — the capital partner variants omit the account relationship, the book variants use counterpartyAccount instead of counterparty, and the external variant only takes creditAccount.
|
|
136
|
+
|
|
137
|
+
:param create_repayment_request: (required)
|
|
138
|
+
:type create_repayment_request: CreateRepaymentRequest
|
|
139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
140
|
+
number provided, it will be total request
|
|
141
|
+
timeout. It can also be a pair (tuple) of
|
|
142
|
+
(connection, read) timeouts.
|
|
143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
145
|
+
request; this effectively ignores the
|
|
146
|
+
authentication in the spec for a single request.
|
|
147
|
+
:type _request_auth: dict, optional
|
|
148
|
+
:param _content_type: force content-type for the request.
|
|
149
|
+
:type _content_type: str, Optional
|
|
150
|
+
:param _headers: set to override the headers for a single
|
|
151
|
+
request; this effectively ignores the headers
|
|
152
|
+
in the spec for a single request.
|
|
153
|
+
:type _headers: dict, optional
|
|
154
|
+
:param _host_index: set to override the host_index for a single
|
|
155
|
+
request; this effectively ignores the host_index
|
|
156
|
+
in the spec for a single request.
|
|
157
|
+
:type _host_index: int, optional
|
|
158
|
+
:return: Returns the result object.
|
|
159
|
+
""" # noqa: E501
|
|
160
|
+
|
|
161
|
+
_param = self._create_repayment_serialize(
|
|
162
|
+
create_repayment_request=create_repayment_request,
|
|
163
|
+
_request_auth=_request_auth,
|
|
164
|
+
_content_type=_content_type,
|
|
165
|
+
_headers=_headers,
|
|
166
|
+
_host_index=_host_index
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
170
|
+
'201': "CreateRepayment201Response",
|
|
171
|
+
'400': "ErrorDocument",
|
|
172
|
+
'401': "ErrorDocument",
|
|
173
|
+
'404': "ErrorDocument",
|
|
174
|
+
}
|
|
175
|
+
response_data = self.api_client.call_api(
|
|
176
|
+
*_param,
|
|
177
|
+
_request_timeout=_request_timeout
|
|
178
|
+
)
|
|
179
|
+
response_data.read()
|
|
180
|
+
return self.api_client.response_deserialize(
|
|
181
|
+
response_data=response_data,
|
|
182
|
+
response_types_map=_response_types_map,
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
@validate_call
|
|
187
|
+
def create_repayment_without_preload_content(
|
|
188
|
+
self,
|
|
189
|
+
create_repayment_request: CreateRepaymentRequest,
|
|
190
|
+
_request_timeout: Union[
|
|
191
|
+
None,
|
|
192
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
193
|
+
Tuple[
|
|
194
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
195
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
196
|
+
]
|
|
197
|
+
] = None,
|
|
198
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
199
|
+
_content_type: Optional[StrictStr] = None,
|
|
200
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
201
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
202
|
+
) -> RESTResponseType:
|
|
203
|
+
"""Create a repayment
|
|
204
|
+
|
|
205
|
+
Create a repayment for a credit account. The request body is one of CreateACHRepaymentRequest, CreateBookRepaymentRequest, CreateCapitalPartnerACHRepaymentRequest, CreateCapitalPartnerBookRepaymentRequest, or CreateExternalRepaymentRequest, discriminated by data.type (repayment, externalRepayment) together with the relationships supplied — the capital partner variants omit the account relationship, the book variants use counterpartyAccount instead of counterparty, and the external variant only takes creditAccount.
|
|
206
|
+
|
|
207
|
+
:param create_repayment_request: (required)
|
|
208
|
+
:type create_repayment_request: CreateRepaymentRequest
|
|
209
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
210
|
+
number provided, it will be total request
|
|
211
|
+
timeout. It can also be a pair (tuple) of
|
|
212
|
+
(connection, read) timeouts.
|
|
213
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
214
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
215
|
+
request; this effectively ignores the
|
|
216
|
+
authentication in the spec for a single request.
|
|
217
|
+
:type _request_auth: dict, optional
|
|
218
|
+
:param _content_type: force content-type for the request.
|
|
219
|
+
:type _content_type: str, Optional
|
|
220
|
+
:param _headers: set to override the headers for a single
|
|
221
|
+
request; this effectively ignores the headers
|
|
222
|
+
in the spec for a single request.
|
|
223
|
+
:type _headers: dict, optional
|
|
224
|
+
:param _host_index: set to override the host_index for a single
|
|
225
|
+
request; this effectively ignores the host_index
|
|
226
|
+
in the spec for a single request.
|
|
227
|
+
:type _host_index: int, optional
|
|
228
|
+
:return: Returns the result object.
|
|
229
|
+
""" # noqa: E501
|
|
230
|
+
|
|
231
|
+
_param = self._create_repayment_serialize(
|
|
232
|
+
create_repayment_request=create_repayment_request,
|
|
233
|
+
_request_auth=_request_auth,
|
|
234
|
+
_content_type=_content_type,
|
|
235
|
+
_headers=_headers,
|
|
236
|
+
_host_index=_host_index
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
240
|
+
'201': "CreateRepayment201Response",
|
|
241
|
+
'400': "ErrorDocument",
|
|
242
|
+
'401': "ErrorDocument",
|
|
243
|
+
'404': "ErrorDocument",
|
|
244
|
+
}
|
|
245
|
+
response_data = self.api_client.call_api(
|
|
246
|
+
*_param,
|
|
247
|
+
_request_timeout=_request_timeout
|
|
248
|
+
)
|
|
249
|
+
return response_data.response
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
def _create_repayment_serialize(
|
|
253
|
+
self,
|
|
254
|
+
create_repayment_request,
|
|
255
|
+
_request_auth,
|
|
256
|
+
_content_type,
|
|
257
|
+
_headers,
|
|
258
|
+
_host_index,
|
|
259
|
+
) -> RequestSerialized:
|
|
260
|
+
|
|
261
|
+
_host = None
|
|
262
|
+
|
|
263
|
+
_collection_formats: Dict[str, str] = {
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
_path_params: Dict[str, str] = {}
|
|
267
|
+
_query_params: List[Tuple[str, str]] = []
|
|
268
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
269
|
+
_form_params: List[Tuple[str, str]] = []
|
|
270
|
+
_files: Dict[
|
|
271
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
272
|
+
] = {}
|
|
273
|
+
_body_params: Optional[bytes] = None
|
|
274
|
+
|
|
275
|
+
# process the path parameters
|
|
276
|
+
# process the query parameters
|
|
277
|
+
# process the header parameters
|
|
278
|
+
# process the form parameters
|
|
279
|
+
# process the body parameter
|
|
280
|
+
if create_repayment_request is not None:
|
|
281
|
+
_body_params = create_repayment_request
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
# set the HTTP header `Accept`
|
|
285
|
+
if 'Accept' not in _header_params:
|
|
286
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
287
|
+
[
|
|
288
|
+
'application/vnd.api+json'
|
|
289
|
+
]
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
# set the HTTP header `Content-Type`
|
|
293
|
+
if _content_type:
|
|
294
|
+
_header_params['Content-Type'] = _content_type
|
|
295
|
+
else:
|
|
296
|
+
_default_content_type = (
|
|
297
|
+
self.api_client.select_header_content_type(
|
|
298
|
+
[
|
|
299
|
+
'application/vnd.api+json'
|
|
300
|
+
]
|
|
301
|
+
)
|
|
302
|
+
)
|
|
303
|
+
if _default_content_type is not None:
|
|
304
|
+
_header_params['Content-Type'] = _default_content_type
|
|
305
|
+
|
|
306
|
+
# authentication setting
|
|
307
|
+
_auth_settings: List[str] = [
|
|
308
|
+
'bearerAuth'
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
return self.api_client.param_serialize(
|
|
312
|
+
method='POST',
|
|
313
|
+
resource_path='/repayments',
|
|
314
|
+
path_params=_path_params,
|
|
315
|
+
query_params=_query_params,
|
|
316
|
+
header_params=_header_params,
|
|
317
|
+
body=_body_params,
|
|
318
|
+
post_params=_form_params,
|
|
319
|
+
files=_files,
|
|
320
|
+
auth_settings=_auth_settings,
|
|
321
|
+
collection_formats=_collection_formats,
|
|
322
|
+
_host=_host,
|
|
323
|
+
_request_auth=_request_auth
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
@validate_call
|
|
330
|
+
def get_repayment(
|
|
331
|
+
self,
|
|
332
|
+
repayment_id: StrictStr,
|
|
333
|
+
_request_timeout: Union[
|
|
334
|
+
None,
|
|
335
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
336
|
+
Tuple[
|
|
337
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
338
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
339
|
+
]
|
|
340
|
+
] = None,
|
|
341
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
342
|
+
_content_type: Optional[StrictStr] = None,
|
|
343
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
344
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
345
|
+
) -> GetRepayment200Response:
|
|
346
|
+
"""Get a repayment by id
|
|
347
|
+
|
|
348
|
+
Get a repayment by id.
|
|
349
|
+
|
|
350
|
+
:param repayment_id: (required)
|
|
351
|
+
:type repayment_id: str
|
|
352
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
353
|
+
number provided, it will be total request
|
|
354
|
+
timeout. It can also be a pair (tuple) of
|
|
355
|
+
(connection, read) timeouts.
|
|
356
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
357
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
358
|
+
request; this effectively ignores the
|
|
359
|
+
authentication in the spec for a single request.
|
|
360
|
+
:type _request_auth: dict, optional
|
|
361
|
+
:param _content_type: force content-type for the request.
|
|
362
|
+
:type _content_type: str, Optional
|
|
363
|
+
:param _headers: set to override the headers for a single
|
|
364
|
+
request; this effectively ignores the headers
|
|
365
|
+
in the spec for a single request.
|
|
366
|
+
:type _headers: dict, optional
|
|
367
|
+
:param _host_index: set to override the host_index for a single
|
|
368
|
+
request; this effectively ignores the host_index
|
|
369
|
+
in the spec for a single request.
|
|
370
|
+
:type _host_index: int, optional
|
|
371
|
+
:return: Returns the result object.
|
|
372
|
+
""" # noqa: E501
|
|
373
|
+
|
|
374
|
+
_param = self._get_repayment_serialize(
|
|
375
|
+
repayment_id=repayment_id,
|
|
376
|
+
_request_auth=_request_auth,
|
|
377
|
+
_content_type=_content_type,
|
|
378
|
+
_headers=_headers,
|
|
379
|
+
_host_index=_host_index
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
383
|
+
'200': "GetRepayment200Response",
|
|
384
|
+
'400': "ErrorDocument",
|
|
385
|
+
'401': "ErrorDocument",
|
|
386
|
+
'404': "ErrorDocument",
|
|
387
|
+
}
|
|
388
|
+
response_data = self.api_client.call_api(
|
|
389
|
+
*_param,
|
|
390
|
+
_request_timeout=_request_timeout
|
|
391
|
+
)
|
|
392
|
+
response_data.read()
|
|
393
|
+
return self.api_client.response_deserialize(
|
|
394
|
+
response_data=response_data,
|
|
395
|
+
response_types_map=_response_types_map,
|
|
396
|
+
).data
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
@validate_call
|
|
400
|
+
def get_repayment_with_http_info(
|
|
401
|
+
self,
|
|
402
|
+
repayment_id: StrictStr,
|
|
403
|
+
_request_timeout: Union[
|
|
404
|
+
None,
|
|
405
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
406
|
+
Tuple[
|
|
407
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
408
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
409
|
+
]
|
|
410
|
+
] = None,
|
|
411
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
412
|
+
_content_type: Optional[StrictStr] = None,
|
|
413
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
414
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
415
|
+
) -> ApiResponse[GetRepayment200Response]:
|
|
416
|
+
"""Get a repayment by id
|
|
417
|
+
|
|
418
|
+
Get a repayment by id.
|
|
419
|
+
|
|
420
|
+
:param repayment_id: (required)
|
|
421
|
+
:type repayment_id: str
|
|
422
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
423
|
+
number provided, it will be total request
|
|
424
|
+
timeout. It can also be a pair (tuple) of
|
|
425
|
+
(connection, read) timeouts.
|
|
426
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
427
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
428
|
+
request; this effectively ignores the
|
|
429
|
+
authentication in the spec for a single request.
|
|
430
|
+
:type _request_auth: dict, optional
|
|
431
|
+
:param _content_type: force content-type for the request.
|
|
432
|
+
:type _content_type: str, Optional
|
|
433
|
+
:param _headers: set to override the headers for a single
|
|
434
|
+
request; this effectively ignores the headers
|
|
435
|
+
in the spec for a single request.
|
|
436
|
+
:type _headers: dict, optional
|
|
437
|
+
:param _host_index: set to override the host_index for a single
|
|
438
|
+
request; this effectively ignores the host_index
|
|
439
|
+
in the spec for a single request.
|
|
440
|
+
:type _host_index: int, optional
|
|
441
|
+
:return: Returns the result object.
|
|
442
|
+
""" # noqa: E501
|
|
443
|
+
|
|
444
|
+
_param = self._get_repayment_serialize(
|
|
445
|
+
repayment_id=repayment_id,
|
|
446
|
+
_request_auth=_request_auth,
|
|
447
|
+
_content_type=_content_type,
|
|
448
|
+
_headers=_headers,
|
|
449
|
+
_host_index=_host_index
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
453
|
+
'200': "GetRepayment200Response",
|
|
454
|
+
'400': "ErrorDocument",
|
|
455
|
+
'401': "ErrorDocument",
|
|
456
|
+
'404': "ErrorDocument",
|
|
457
|
+
}
|
|
458
|
+
response_data = self.api_client.call_api(
|
|
459
|
+
*_param,
|
|
460
|
+
_request_timeout=_request_timeout
|
|
461
|
+
)
|
|
462
|
+
response_data.read()
|
|
463
|
+
return self.api_client.response_deserialize(
|
|
464
|
+
response_data=response_data,
|
|
465
|
+
response_types_map=_response_types_map,
|
|
466
|
+
)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
@validate_call
|
|
470
|
+
def get_repayment_without_preload_content(
|
|
471
|
+
self,
|
|
472
|
+
repayment_id: StrictStr,
|
|
473
|
+
_request_timeout: Union[
|
|
474
|
+
None,
|
|
475
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
476
|
+
Tuple[
|
|
477
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
478
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
479
|
+
]
|
|
480
|
+
] = None,
|
|
481
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
482
|
+
_content_type: Optional[StrictStr] = None,
|
|
483
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
484
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
485
|
+
) -> RESTResponseType:
|
|
486
|
+
"""Get a repayment by id
|
|
487
|
+
|
|
488
|
+
Get a repayment by id.
|
|
489
|
+
|
|
490
|
+
:param repayment_id: (required)
|
|
491
|
+
:type repayment_id: str
|
|
492
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
493
|
+
number provided, it will be total request
|
|
494
|
+
timeout. It can also be a pair (tuple) of
|
|
495
|
+
(connection, read) timeouts.
|
|
496
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
497
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
498
|
+
request; this effectively ignores the
|
|
499
|
+
authentication in the spec for a single request.
|
|
500
|
+
:type _request_auth: dict, optional
|
|
501
|
+
:param _content_type: force content-type for the request.
|
|
502
|
+
:type _content_type: str, Optional
|
|
503
|
+
:param _headers: set to override the headers for a single
|
|
504
|
+
request; this effectively ignores the headers
|
|
505
|
+
in the spec for a single request.
|
|
506
|
+
:type _headers: dict, optional
|
|
507
|
+
:param _host_index: set to override the host_index for a single
|
|
508
|
+
request; this effectively ignores the host_index
|
|
509
|
+
in the spec for a single request.
|
|
510
|
+
:type _host_index: int, optional
|
|
511
|
+
:return: Returns the result object.
|
|
512
|
+
""" # noqa: E501
|
|
513
|
+
|
|
514
|
+
_param = self._get_repayment_serialize(
|
|
515
|
+
repayment_id=repayment_id,
|
|
516
|
+
_request_auth=_request_auth,
|
|
517
|
+
_content_type=_content_type,
|
|
518
|
+
_headers=_headers,
|
|
519
|
+
_host_index=_host_index
|
|
520
|
+
)
|
|
521
|
+
|
|
522
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
+
'200': "GetRepayment200Response",
|
|
524
|
+
'400': "ErrorDocument",
|
|
525
|
+
'401': "ErrorDocument",
|
|
526
|
+
'404': "ErrorDocument",
|
|
527
|
+
}
|
|
528
|
+
response_data = self.api_client.call_api(
|
|
529
|
+
*_param,
|
|
530
|
+
_request_timeout=_request_timeout
|
|
531
|
+
)
|
|
532
|
+
return response_data.response
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
def _get_repayment_serialize(
|
|
536
|
+
self,
|
|
537
|
+
repayment_id,
|
|
538
|
+
_request_auth,
|
|
539
|
+
_content_type,
|
|
540
|
+
_headers,
|
|
541
|
+
_host_index,
|
|
542
|
+
) -> RequestSerialized:
|
|
543
|
+
|
|
544
|
+
_host = None
|
|
545
|
+
|
|
546
|
+
_collection_formats: Dict[str, str] = {
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
_path_params: Dict[str, str] = {}
|
|
550
|
+
_query_params: List[Tuple[str, str]] = []
|
|
551
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
552
|
+
_form_params: List[Tuple[str, str]] = []
|
|
553
|
+
_files: Dict[
|
|
554
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
555
|
+
] = {}
|
|
556
|
+
_body_params: Optional[bytes] = None
|
|
557
|
+
|
|
558
|
+
# process the path parameters
|
|
559
|
+
if repayment_id is not None:
|
|
560
|
+
_path_params['repaymentId'] = repayment_id
|
|
561
|
+
# process the query parameters
|
|
562
|
+
# process the header parameters
|
|
563
|
+
# process the form parameters
|
|
564
|
+
# process the body parameter
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
# set the HTTP header `Accept`
|
|
568
|
+
if 'Accept' not in _header_params:
|
|
569
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
570
|
+
[
|
|
571
|
+
'application/vnd.api+json'
|
|
572
|
+
]
|
|
573
|
+
)
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
# authentication setting
|
|
577
|
+
_auth_settings: List[str] = [
|
|
578
|
+
'bearerAuth'
|
|
579
|
+
]
|
|
580
|
+
|
|
581
|
+
return self.api_client.param_serialize(
|
|
582
|
+
method='GET',
|
|
583
|
+
resource_path='/repayments/{repaymentId}',
|
|
584
|
+
path_params=_path_params,
|
|
585
|
+
query_params=_query_params,
|
|
586
|
+
header_params=_header_params,
|
|
587
|
+
body=_body_params,
|
|
588
|
+
post_params=_form_params,
|
|
589
|
+
files=_files,
|
|
590
|
+
auth_settings=_auth_settings,
|
|
591
|
+
collection_formats=_collection_formats,
|
|
592
|
+
_host=_host,
|
|
593
|
+
_request_auth=_request_auth
|
|
594
|
+
)
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
@validate_call
|
|
600
|
+
def list_repayments(
|
|
601
|
+
self,
|
|
602
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
603
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
604
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
605
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
606
|
+
filter_recurring_repayment_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the result according to the associated Recurring Repayment id")] = None,
|
|
607
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
608
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active")] = None,
|
|
609
|
+
filter_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*")] = None,
|
|
610
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
611
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
612
|
+
_request_timeout: Union[
|
|
613
|
+
None,
|
|
614
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
615
|
+
Tuple[
|
|
616
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
617
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
618
|
+
]
|
|
619
|
+
] = None,
|
|
620
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
621
|
+
_content_type: Optional[StrictStr] = None,
|
|
622
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
623
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
624
|
+
) -> ListRepayments200Response:
|
|
625
|
+
"""List repayments
|
|
626
|
+
|
|
627
|
+
List repayments resources. Filtering, paging and sorting can be applied.
|
|
628
|
+
|
|
629
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
630
|
+
:type page_limit: str
|
|
631
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
632
|
+
:type page_offset: str
|
|
633
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
634
|
+
:type filter_account_id: str
|
|
635
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
636
|
+
:type filter_credit_account_id: str
|
|
637
|
+
:param filter_recurring_repayment_id: Optional. Filters the result according to the associated Recurring Repayment id
|
|
638
|
+
:type filter_recurring_repayment_id: str
|
|
639
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
640
|
+
:type filter_customer_id: str
|
|
641
|
+
:param filter_status: Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active
|
|
642
|
+
:type filter_status: str
|
|
643
|
+
:param filter_type: Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*
|
|
644
|
+
:type filter_type: str
|
|
645
|
+
:param filter_since: Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
646
|
+
:type filter_since: str
|
|
647
|
+
:param filter_until: Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
648
|
+
:type filter_until: str
|
|
649
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
650
|
+
number provided, it will be total request
|
|
651
|
+
timeout. It can also be a pair (tuple) of
|
|
652
|
+
(connection, read) timeouts.
|
|
653
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
654
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
655
|
+
request; this effectively ignores the
|
|
656
|
+
authentication in the spec for a single request.
|
|
657
|
+
:type _request_auth: dict, optional
|
|
658
|
+
:param _content_type: force content-type for the request.
|
|
659
|
+
:type _content_type: str, Optional
|
|
660
|
+
:param _headers: set to override the headers for a single
|
|
661
|
+
request; this effectively ignores the headers
|
|
662
|
+
in the spec for a single request.
|
|
663
|
+
:type _headers: dict, optional
|
|
664
|
+
:param _host_index: set to override the host_index for a single
|
|
665
|
+
request; this effectively ignores the host_index
|
|
666
|
+
in the spec for a single request.
|
|
667
|
+
:type _host_index: int, optional
|
|
668
|
+
:return: Returns the result object.
|
|
669
|
+
""" # noqa: E501
|
|
670
|
+
|
|
671
|
+
_param = self._list_repayments_serialize(
|
|
672
|
+
page_limit=page_limit,
|
|
673
|
+
page_offset=page_offset,
|
|
674
|
+
filter_account_id=filter_account_id,
|
|
675
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
676
|
+
filter_recurring_repayment_id=filter_recurring_repayment_id,
|
|
677
|
+
filter_customer_id=filter_customer_id,
|
|
678
|
+
filter_status=filter_status,
|
|
679
|
+
filter_type=filter_type,
|
|
680
|
+
filter_since=filter_since,
|
|
681
|
+
filter_until=filter_until,
|
|
682
|
+
_request_auth=_request_auth,
|
|
683
|
+
_content_type=_content_type,
|
|
684
|
+
_headers=_headers,
|
|
685
|
+
_host_index=_host_index
|
|
686
|
+
)
|
|
687
|
+
|
|
688
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
689
|
+
'200': "ListRepayments200Response",
|
|
690
|
+
'400': "ErrorDocument",
|
|
691
|
+
'401': "ErrorDocument",
|
|
692
|
+
'404': "ErrorDocument",
|
|
693
|
+
}
|
|
694
|
+
response_data = self.api_client.call_api(
|
|
695
|
+
*_param,
|
|
696
|
+
_request_timeout=_request_timeout
|
|
697
|
+
)
|
|
698
|
+
response_data.read()
|
|
699
|
+
return self.api_client.response_deserialize(
|
|
700
|
+
response_data=response_data,
|
|
701
|
+
response_types_map=_response_types_map,
|
|
702
|
+
).data
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
@validate_call
|
|
706
|
+
def list_repayments_with_http_info(
|
|
707
|
+
self,
|
|
708
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
709
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
710
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
711
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
712
|
+
filter_recurring_repayment_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the result according to the associated Recurring Repayment id")] = None,
|
|
713
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
714
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active")] = None,
|
|
715
|
+
filter_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*")] = None,
|
|
716
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
717
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
718
|
+
_request_timeout: Union[
|
|
719
|
+
None,
|
|
720
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
721
|
+
Tuple[
|
|
722
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
723
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
724
|
+
]
|
|
725
|
+
] = None,
|
|
726
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
727
|
+
_content_type: Optional[StrictStr] = None,
|
|
728
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
729
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
730
|
+
) -> ApiResponse[ListRepayments200Response]:
|
|
731
|
+
"""List repayments
|
|
732
|
+
|
|
733
|
+
List repayments resources. Filtering, paging and sorting can be applied.
|
|
734
|
+
|
|
735
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
736
|
+
:type page_limit: str
|
|
737
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
738
|
+
:type page_offset: str
|
|
739
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
740
|
+
:type filter_account_id: str
|
|
741
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
742
|
+
:type filter_credit_account_id: str
|
|
743
|
+
:param filter_recurring_repayment_id: Optional. Filters the result according to the associated Recurring Repayment id
|
|
744
|
+
:type filter_recurring_repayment_id: str
|
|
745
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
746
|
+
:type filter_customer_id: str
|
|
747
|
+
:param filter_status: Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active
|
|
748
|
+
:type filter_status: str
|
|
749
|
+
:param filter_type: Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*
|
|
750
|
+
:type filter_type: str
|
|
751
|
+
:param filter_since: Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
752
|
+
:type filter_since: str
|
|
753
|
+
:param filter_until: Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
754
|
+
:type filter_until: str
|
|
755
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
756
|
+
number provided, it will be total request
|
|
757
|
+
timeout. It can also be a pair (tuple) of
|
|
758
|
+
(connection, read) timeouts.
|
|
759
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
760
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
761
|
+
request; this effectively ignores the
|
|
762
|
+
authentication in the spec for a single request.
|
|
763
|
+
:type _request_auth: dict, optional
|
|
764
|
+
:param _content_type: force content-type for the request.
|
|
765
|
+
:type _content_type: str, Optional
|
|
766
|
+
:param _headers: set to override the headers for a single
|
|
767
|
+
request; this effectively ignores the headers
|
|
768
|
+
in the spec for a single request.
|
|
769
|
+
:type _headers: dict, optional
|
|
770
|
+
:param _host_index: set to override the host_index for a single
|
|
771
|
+
request; this effectively ignores the host_index
|
|
772
|
+
in the spec for a single request.
|
|
773
|
+
:type _host_index: int, optional
|
|
774
|
+
:return: Returns the result object.
|
|
775
|
+
""" # noqa: E501
|
|
776
|
+
|
|
777
|
+
_param = self._list_repayments_serialize(
|
|
778
|
+
page_limit=page_limit,
|
|
779
|
+
page_offset=page_offset,
|
|
780
|
+
filter_account_id=filter_account_id,
|
|
781
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
782
|
+
filter_recurring_repayment_id=filter_recurring_repayment_id,
|
|
783
|
+
filter_customer_id=filter_customer_id,
|
|
784
|
+
filter_status=filter_status,
|
|
785
|
+
filter_type=filter_type,
|
|
786
|
+
filter_since=filter_since,
|
|
787
|
+
filter_until=filter_until,
|
|
788
|
+
_request_auth=_request_auth,
|
|
789
|
+
_content_type=_content_type,
|
|
790
|
+
_headers=_headers,
|
|
791
|
+
_host_index=_host_index
|
|
792
|
+
)
|
|
793
|
+
|
|
794
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
795
|
+
'200': "ListRepayments200Response",
|
|
796
|
+
'400': "ErrorDocument",
|
|
797
|
+
'401': "ErrorDocument",
|
|
798
|
+
'404': "ErrorDocument",
|
|
799
|
+
}
|
|
800
|
+
response_data = self.api_client.call_api(
|
|
801
|
+
*_param,
|
|
802
|
+
_request_timeout=_request_timeout
|
|
803
|
+
)
|
|
804
|
+
response_data.read()
|
|
805
|
+
return self.api_client.response_deserialize(
|
|
806
|
+
response_data=response_data,
|
|
807
|
+
response_types_map=_response_types_map,
|
|
808
|
+
)
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
@validate_call
|
|
812
|
+
def list_repayments_without_preload_content(
|
|
813
|
+
self,
|
|
814
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
815
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
816
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
817
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
818
|
+
filter_recurring_repayment_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the result according to the associated Recurring Repayment id")] = None,
|
|
819
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
820
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active")] = None,
|
|
821
|
+
filter_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*")] = None,
|
|
822
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
823
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
824
|
+
_request_timeout: Union[
|
|
825
|
+
None,
|
|
826
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
827
|
+
Tuple[
|
|
828
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
829
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
830
|
+
]
|
|
831
|
+
] = None,
|
|
832
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
833
|
+
_content_type: Optional[StrictStr] = None,
|
|
834
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
835
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
836
|
+
) -> RESTResponseType:
|
|
837
|
+
"""List repayments
|
|
838
|
+
|
|
839
|
+
List repayments resources. Filtering, paging and sorting can be applied.
|
|
840
|
+
|
|
841
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
842
|
+
:type page_limit: str
|
|
843
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
844
|
+
:type page_offset: str
|
|
845
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
846
|
+
:type filter_account_id: str
|
|
847
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
848
|
+
:type filter_credit_account_id: str
|
|
849
|
+
:param filter_recurring_repayment_id: Optional. Filters the result according to the associated Recurring Repayment id
|
|
850
|
+
:type filter_recurring_repayment_id: str
|
|
851
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
852
|
+
:type filter_customer_id: str
|
|
853
|
+
:param filter_status: Optional. Filter repayments by status (Pending, PendingReview, Returned, Sent or Rejected). Usage example: *filter[status][0]=Active
|
|
854
|
+
:type filter_status: str
|
|
855
|
+
:param filter_type: Optional. Filter repayments by Repayment type. such as (AchRepayment, BookRepayment, ExternalRepayment). Usage example: *filter[type][0]=AchRepayment&filter[type][1]=BookRepayment*
|
|
856
|
+
:type filter_type: str
|
|
857
|
+
:param filter_since: Optional. Filters Repayments that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
858
|
+
:type filter_since: str
|
|
859
|
+
:param filter_until: Optional. Filters the Repayments that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
860
|
+
:type filter_until: str
|
|
861
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
862
|
+
number provided, it will be total request
|
|
863
|
+
timeout. It can also be a pair (tuple) of
|
|
864
|
+
(connection, read) timeouts.
|
|
865
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
866
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
867
|
+
request; this effectively ignores the
|
|
868
|
+
authentication in the spec for a single request.
|
|
869
|
+
:type _request_auth: dict, optional
|
|
870
|
+
:param _content_type: force content-type for the request.
|
|
871
|
+
:type _content_type: str, Optional
|
|
872
|
+
:param _headers: set to override the headers for a single
|
|
873
|
+
request; this effectively ignores the headers
|
|
874
|
+
in the spec for a single request.
|
|
875
|
+
:type _headers: dict, optional
|
|
876
|
+
:param _host_index: set to override the host_index for a single
|
|
877
|
+
request; this effectively ignores the host_index
|
|
878
|
+
in the spec for a single request.
|
|
879
|
+
:type _host_index: int, optional
|
|
880
|
+
:return: Returns the result object.
|
|
881
|
+
""" # noqa: E501
|
|
882
|
+
|
|
883
|
+
_param = self._list_repayments_serialize(
|
|
884
|
+
page_limit=page_limit,
|
|
885
|
+
page_offset=page_offset,
|
|
886
|
+
filter_account_id=filter_account_id,
|
|
887
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
888
|
+
filter_recurring_repayment_id=filter_recurring_repayment_id,
|
|
889
|
+
filter_customer_id=filter_customer_id,
|
|
890
|
+
filter_status=filter_status,
|
|
891
|
+
filter_type=filter_type,
|
|
892
|
+
filter_since=filter_since,
|
|
893
|
+
filter_until=filter_until,
|
|
894
|
+
_request_auth=_request_auth,
|
|
895
|
+
_content_type=_content_type,
|
|
896
|
+
_headers=_headers,
|
|
897
|
+
_host_index=_host_index
|
|
898
|
+
)
|
|
899
|
+
|
|
900
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
901
|
+
'200': "ListRepayments200Response",
|
|
902
|
+
'400': "ErrorDocument",
|
|
903
|
+
'401': "ErrorDocument",
|
|
904
|
+
'404': "ErrorDocument",
|
|
905
|
+
}
|
|
906
|
+
response_data = self.api_client.call_api(
|
|
907
|
+
*_param,
|
|
908
|
+
_request_timeout=_request_timeout
|
|
909
|
+
)
|
|
910
|
+
return response_data.response
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
def _list_repayments_serialize(
|
|
914
|
+
self,
|
|
915
|
+
page_limit,
|
|
916
|
+
page_offset,
|
|
917
|
+
filter_account_id,
|
|
918
|
+
filter_credit_account_id,
|
|
919
|
+
filter_recurring_repayment_id,
|
|
920
|
+
filter_customer_id,
|
|
921
|
+
filter_status,
|
|
922
|
+
filter_type,
|
|
923
|
+
filter_since,
|
|
924
|
+
filter_until,
|
|
925
|
+
_request_auth,
|
|
926
|
+
_content_type,
|
|
927
|
+
_headers,
|
|
928
|
+
_host_index,
|
|
929
|
+
) -> RequestSerialized:
|
|
930
|
+
|
|
931
|
+
_host = None
|
|
932
|
+
|
|
933
|
+
_collection_formats: Dict[str, str] = {
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
_path_params: Dict[str, str] = {}
|
|
937
|
+
_query_params: List[Tuple[str, str]] = []
|
|
938
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
939
|
+
_form_params: List[Tuple[str, str]] = []
|
|
940
|
+
_files: Dict[
|
|
941
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
942
|
+
] = {}
|
|
943
|
+
_body_params: Optional[bytes] = None
|
|
944
|
+
|
|
945
|
+
# process the path parameters
|
|
946
|
+
# process the query parameters
|
|
947
|
+
if page_limit is not None:
|
|
948
|
+
|
|
949
|
+
_query_params.append(('page[limit]', page_limit))
|
|
950
|
+
|
|
951
|
+
if page_offset is not None:
|
|
952
|
+
|
|
953
|
+
_query_params.append(('page[offset]', page_offset))
|
|
954
|
+
|
|
955
|
+
if filter_account_id is not None:
|
|
956
|
+
|
|
957
|
+
_query_params.append(('filter[accountId]', filter_account_id))
|
|
958
|
+
|
|
959
|
+
if filter_credit_account_id is not None:
|
|
960
|
+
|
|
961
|
+
_query_params.append(('filter[creditAccountId]', filter_credit_account_id))
|
|
962
|
+
|
|
963
|
+
if filter_recurring_repayment_id is not None:
|
|
964
|
+
|
|
965
|
+
_query_params.append(('filter[recurringRepaymentId]', filter_recurring_repayment_id))
|
|
966
|
+
|
|
967
|
+
if filter_customer_id is not None:
|
|
968
|
+
|
|
969
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
970
|
+
|
|
971
|
+
if filter_status is not None:
|
|
972
|
+
|
|
973
|
+
_query_params.append(('filter[status][]', filter_status))
|
|
974
|
+
|
|
975
|
+
if filter_type is not None:
|
|
976
|
+
|
|
977
|
+
_query_params.append(('filter[type][]', filter_type))
|
|
978
|
+
|
|
979
|
+
if filter_since is not None:
|
|
980
|
+
|
|
981
|
+
_query_params.append(('filter[since]', filter_since))
|
|
982
|
+
|
|
983
|
+
if filter_until is not None:
|
|
984
|
+
|
|
985
|
+
_query_params.append(('filter[until]', filter_until))
|
|
986
|
+
|
|
987
|
+
# process the header parameters
|
|
988
|
+
# process the form parameters
|
|
989
|
+
# process the body parameter
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
# set the HTTP header `Accept`
|
|
993
|
+
if 'Accept' not in _header_params:
|
|
994
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
995
|
+
[
|
|
996
|
+
'application/vnd.api+json'
|
|
997
|
+
]
|
|
998
|
+
)
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
# authentication setting
|
|
1002
|
+
_auth_settings: List[str] = [
|
|
1003
|
+
'bearerAuth'
|
|
1004
|
+
]
|
|
1005
|
+
|
|
1006
|
+
return self.api_client.param_serialize(
|
|
1007
|
+
method='GET',
|
|
1008
|
+
resource_path='/repayments',
|
|
1009
|
+
path_params=_path_params,
|
|
1010
|
+
query_params=_query_params,
|
|
1011
|
+
header_params=_header_params,
|
|
1012
|
+
body=_body_params,
|
|
1013
|
+
post_params=_form_params,
|
|
1014
|
+
files=_files,
|
|
1015
|
+
auth_settings=_auth_settings,
|
|
1016
|
+
collection_formats=_collection_formats,
|
|
1017
|
+
_host=_host,
|
|
1018
|
+
_request_auth=_request_auth
|
|
1019
|
+
)
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
@validate_call
|
|
1025
|
+
def return_external_repayment(
|
|
1026
|
+
self,
|
|
1027
|
+
repayment_id: StrictStr,
|
|
1028
|
+
return_external_repayment_request: ReturnExternalRepaymentRequest,
|
|
1029
|
+
_request_timeout: Union[
|
|
1030
|
+
None,
|
|
1031
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1032
|
+
Tuple[
|
|
1033
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1034
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1035
|
+
]
|
|
1036
|
+
] = None,
|
|
1037
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1038
|
+
_content_type: Optional[StrictStr] = None,
|
|
1039
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1040
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1041
|
+
) -> ReturnExternalRepayment200Response:
|
|
1042
|
+
"""Return an external repayment
|
|
1043
|
+
|
|
1044
|
+
Returns an external repayment that was previously created with `Sent` status. This is used when the external payment needs to be reversed. When an external repayment is returned, the credit account balance will increase and the available credit limit will decrease.
|
|
1045
|
+
|
|
1046
|
+
:param repayment_id: (required)
|
|
1047
|
+
:type repayment_id: str
|
|
1048
|
+
:param return_external_repayment_request: (required)
|
|
1049
|
+
:type return_external_repayment_request: ReturnExternalRepaymentRequest
|
|
1050
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1051
|
+
number provided, it will be total request
|
|
1052
|
+
timeout. It can also be a pair (tuple) of
|
|
1053
|
+
(connection, read) timeouts.
|
|
1054
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1055
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1056
|
+
request; this effectively ignores the
|
|
1057
|
+
authentication in the spec for a single request.
|
|
1058
|
+
:type _request_auth: dict, optional
|
|
1059
|
+
:param _content_type: force content-type for the request.
|
|
1060
|
+
:type _content_type: str, Optional
|
|
1061
|
+
:param _headers: set to override the headers for a single
|
|
1062
|
+
request; this effectively ignores the headers
|
|
1063
|
+
in the spec for a single request.
|
|
1064
|
+
:type _headers: dict, optional
|
|
1065
|
+
:param _host_index: set to override the host_index for a single
|
|
1066
|
+
request; this effectively ignores the host_index
|
|
1067
|
+
in the spec for a single request.
|
|
1068
|
+
:type _host_index: int, optional
|
|
1069
|
+
:return: Returns the result object.
|
|
1070
|
+
""" # noqa: E501
|
|
1071
|
+
|
|
1072
|
+
_param = self._return_external_repayment_serialize(
|
|
1073
|
+
repayment_id=repayment_id,
|
|
1074
|
+
return_external_repayment_request=return_external_repayment_request,
|
|
1075
|
+
_request_auth=_request_auth,
|
|
1076
|
+
_content_type=_content_type,
|
|
1077
|
+
_headers=_headers,
|
|
1078
|
+
_host_index=_host_index
|
|
1079
|
+
)
|
|
1080
|
+
|
|
1081
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1082
|
+
'200': "ReturnExternalRepayment200Response",
|
|
1083
|
+
'400': "ErrorDocument",
|
|
1084
|
+
'401': "ErrorDocument",
|
|
1085
|
+
'404': "ErrorDocument",
|
|
1086
|
+
}
|
|
1087
|
+
response_data = self.api_client.call_api(
|
|
1088
|
+
*_param,
|
|
1089
|
+
_request_timeout=_request_timeout
|
|
1090
|
+
)
|
|
1091
|
+
response_data.read()
|
|
1092
|
+
return self.api_client.response_deserialize(
|
|
1093
|
+
response_data=response_data,
|
|
1094
|
+
response_types_map=_response_types_map,
|
|
1095
|
+
).data
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
@validate_call
|
|
1099
|
+
def return_external_repayment_with_http_info(
|
|
1100
|
+
self,
|
|
1101
|
+
repayment_id: StrictStr,
|
|
1102
|
+
return_external_repayment_request: ReturnExternalRepaymentRequest,
|
|
1103
|
+
_request_timeout: Union[
|
|
1104
|
+
None,
|
|
1105
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1106
|
+
Tuple[
|
|
1107
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1108
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1109
|
+
]
|
|
1110
|
+
] = None,
|
|
1111
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1112
|
+
_content_type: Optional[StrictStr] = None,
|
|
1113
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1114
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1115
|
+
) -> ApiResponse[ReturnExternalRepayment200Response]:
|
|
1116
|
+
"""Return an external repayment
|
|
1117
|
+
|
|
1118
|
+
Returns an external repayment that was previously created with `Sent` status. This is used when the external payment needs to be reversed. When an external repayment is returned, the credit account balance will increase and the available credit limit will decrease.
|
|
1119
|
+
|
|
1120
|
+
:param repayment_id: (required)
|
|
1121
|
+
:type repayment_id: str
|
|
1122
|
+
:param return_external_repayment_request: (required)
|
|
1123
|
+
:type return_external_repayment_request: ReturnExternalRepaymentRequest
|
|
1124
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1125
|
+
number provided, it will be total request
|
|
1126
|
+
timeout. It can also be a pair (tuple) of
|
|
1127
|
+
(connection, read) timeouts.
|
|
1128
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1129
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1130
|
+
request; this effectively ignores the
|
|
1131
|
+
authentication in the spec for a single request.
|
|
1132
|
+
:type _request_auth: dict, optional
|
|
1133
|
+
:param _content_type: force content-type for the request.
|
|
1134
|
+
:type _content_type: str, Optional
|
|
1135
|
+
:param _headers: set to override the headers for a single
|
|
1136
|
+
request; this effectively ignores the headers
|
|
1137
|
+
in the spec for a single request.
|
|
1138
|
+
:type _headers: dict, optional
|
|
1139
|
+
:param _host_index: set to override the host_index for a single
|
|
1140
|
+
request; this effectively ignores the host_index
|
|
1141
|
+
in the spec for a single request.
|
|
1142
|
+
:type _host_index: int, optional
|
|
1143
|
+
:return: Returns the result object.
|
|
1144
|
+
""" # noqa: E501
|
|
1145
|
+
|
|
1146
|
+
_param = self._return_external_repayment_serialize(
|
|
1147
|
+
repayment_id=repayment_id,
|
|
1148
|
+
return_external_repayment_request=return_external_repayment_request,
|
|
1149
|
+
_request_auth=_request_auth,
|
|
1150
|
+
_content_type=_content_type,
|
|
1151
|
+
_headers=_headers,
|
|
1152
|
+
_host_index=_host_index
|
|
1153
|
+
)
|
|
1154
|
+
|
|
1155
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1156
|
+
'200': "ReturnExternalRepayment200Response",
|
|
1157
|
+
'400': "ErrorDocument",
|
|
1158
|
+
'401': "ErrorDocument",
|
|
1159
|
+
'404': "ErrorDocument",
|
|
1160
|
+
}
|
|
1161
|
+
response_data = self.api_client.call_api(
|
|
1162
|
+
*_param,
|
|
1163
|
+
_request_timeout=_request_timeout
|
|
1164
|
+
)
|
|
1165
|
+
response_data.read()
|
|
1166
|
+
return self.api_client.response_deserialize(
|
|
1167
|
+
response_data=response_data,
|
|
1168
|
+
response_types_map=_response_types_map,
|
|
1169
|
+
)
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
@validate_call
|
|
1173
|
+
def return_external_repayment_without_preload_content(
|
|
1174
|
+
self,
|
|
1175
|
+
repayment_id: StrictStr,
|
|
1176
|
+
return_external_repayment_request: ReturnExternalRepaymentRequest,
|
|
1177
|
+
_request_timeout: Union[
|
|
1178
|
+
None,
|
|
1179
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1180
|
+
Tuple[
|
|
1181
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1182
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1183
|
+
]
|
|
1184
|
+
] = None,
|
|
1185
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1186
|
+
_content_type: Optional[StrictStr] = None,
|
|
1187
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1188
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1189
|
+
) -> RESTResponseType:
|
|
1190
|
+
"""Return an external repayment
|
|
1191
|
+
|
|
1192
|
+
Returns an external repayment that was previously created with `Sent` status. This is used when the external payment needs to be reversed. When an external repayment is returned, the credit account balance will increase and the available credit limit will decrease.
|
|
1193
|
+
|
|
1194
|
+
:param repayment_id: (required)
|
|
1195
|
+
:type repayment_id: str
|
|
1196
|
+
:param return_external_repayment_request: (required)
|
|
1197
|
+
:type return_external_repayment_request: ReturnExternalRepaymentRequest
|
|
1198
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1199
|
+
number provided, it will be total request
|
|
1200
|
+
timeout. It can also be a pair (tuple) of
|
|
1201
|
+
(connection, read) timeouts.
|
|
1202
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1203
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1204
|
+
request; this effectively ignores the
|
|
1205
|
+
authentication in the spec for a single request.
|
|
1206
|
+
:type _request_auth: dict, optional
|
|
1207
|
+
:param _content_type: force content-type for the request.
|
|
1208
|
+
:type _content_type: str, Optional
|
|
1209
|
+
:param _headers: set to override the headers for a single
|
|
1210
|
+
request; this effectively ignores the headers
|
|
1211
|
+
in the spec for a single request.
|
|
1212
|
+
:type _headers: dict, optional
|
|
1213
|
+
:param _host_index: set to override the host_index for a single
|
|
1214
|
+
request; this effectively ignores the host_index
|
|
1215
|
+
in the spec for a single request.
|
|
1216
|
+
:type _host_index: int, optional
|
|
1217
|
+
:return: Returns the result object.
|
|
1218
|
+
""" # noqa: E501
|
|
1219
|
+
|
|
1220
|
+
_param = self._return_external_repayment_serialize(
|
|
1221
|
+
repayment_id=repayment_id,
|
|
1222
|
+
return_external_repayment_request=return_external_repayment_request,
|
|
1223
|
+
_request_auth=_request_auth,
|
|
1224
|
+
_content_type=_content_type,
|
|
1225
|
+
_headers=_headers,
|
|
1226
|
+
_host_index=_host_index
|
|
1227
|
+
)
|
|
1228
|
+
|
|
1229
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1230
|
+
'200': "ReturnExternalRepayment200Response",
|
|
1231
|
+
'400': "ErrorDocument",
|
|
1232
|
+
'401': "ErrorDocument",
|
|
1233
|
+
'404': "ErrorDocument",
|
|
1234
|
+
}
|
|
1235
|
+
response_data = self.api_client.call_api(
|
|
1236
|
+
*_param,
|
|
1237
|
+
_request_timeout=_request_timeout
|
|
1238
|
+
)
|
|
1239
|
+
return response_data.response
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
def _return_external_repayment_serialize(
|
|
1243
|
+
self,
|
|
1244
|
+
repayment_id,
|
|
1245
|
+
return_external_repayment_request,
|
|
1246
|
+
_request_auth,
|
|
1247
|
+
_content_type,
|
|
1248
|
+
_headers,
|
|
1249
|
+
_host_index,
|
|
1250
|
+
) -> RequestSerialized:
|
|
1251
|
+
|
|
1252
|
+
_host = None
|
|
1253
|
+
|
|
1254
|
+
_collection_formats: Dict[str, str] = {
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
_path_params: Dict[str, str] = {}
|
|
1258
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1259
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1260
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1261
|
+
_files: Dict[
|
|
1262
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1263
|
+
] = {}
|
|
1264
|
+
_body_params: Optional[bytes] = None
|
|
1265
|
+
|
|
1266
|
+
# process the path parameters
|
|
1267
|
+
if repayment_id is not None:
|
|
1268
|
+
_path_params['repaymentId'] = repayment_id
|
|
1269
|
+
# process the query parameters
|
|
1270
|
+
# process the header parameters
|
|
1271
|
+
# process the form parameters
|
|
1272
|
+
# process the body parameter
|
|
1273
|
+
if return_external_repayment_request is not None:
|
|
1274
|
+
_body_params = return_external_repayment_request
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
# set the HTTP header `Accept`
|
|
1278
|
+
if 'Accept' not in _header_params:
|
|
1279
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1280
|
+
[
|
|
1281
|
+
'application/vnd.api+json'
|
|
1282
|
+
]
|
|
1283
|
+
)
|
|
1284
|
+
|
|
1285
|
+
# set the HTTP header `Content-Type`
|
|
1286
|
+
if _content_type:
|
|
1287
|
+
_header_params['Content-Type'] = _content_type
|
|
1288
|
+
else:
|
|
1289
|
+
_default_content_type = (
|
|
1290
|
+
self.api_client.select_header_content_type(
|
|
1291
|
+
[
|
|
1292
|
+
'application/vnd.api+json'
|
|
1293
|
+
]
|
|
1294
|
+
)
|
|
1295
|
+
)
|
|
1296
|
+
if _default_content_type is not None:
|
|
1297
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1298
|
+
|
|
1299
|
+
# authentication setting
|
|
1300
|
+
_auth_settings: List[str] = [
|
|
1301
|
+
'bearerAuth'
|
|
1302
|
+
]
|
|
1303
|
+
|
|
1304
|
+
return self.api_client.param_serialize(
|
|
1305
|
+
method='POST',
|
|
1306
|
+
resource_path='/repayments/{repaymentId}/return',
|
|
1307
|
+
path_params=_path_params,
|
|
1308
|
+
query_params=_query_params,
|
|
1309
|
+
header_params=_header_params,
|
|
1310
|
+
body=_body_params,
|
|
1311
|
+
post_params=_form_params,
|
|
1312
|
+
files=_files,
|
|
1313
|
+
auth_settings=_auth_settings,
|
|
1314
|
+
collection_formats=_collection_formats,
|
|
1315
|
+
_host=_host,
|
|
1316
|
+
_request_auth=_request_auth
|
|
1317
|
+
)
|
|
1318
|
+
|
|
1319
|
+
|