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,1580 @@
|
|
|
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 Any, Dict, Optional
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from unit_finance_sdk.models.create_recurring_repayment201_response import CreateRecurringRepayment201Response
|
|
22
|
+
from unit_finance_sdk.models.create_recurring_repayment_request import CreateRecurringRepaymentRequest
|
|
23
|
+
from unit_finance_sdk.models.list_recurring_repayments200_response import ListRecurringRepayments200Response
|
|
24
|
+
|
|
25
|
+
from unit_finance_sdk.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from unit_finance_sdk.api_response import ApiResponse
|
|
27
|
+
from unit_finance_sdk.rest import RESTResponseType
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class RecurringRepaymentsApi:
|
|
31
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
32
|
+
Ref: https://openapi-generator.tech
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
def __init__(self, api_client=None) -> None:
|
|
38
|
+
if api_client is None:
|
|
39
|
+
api_client = ApiClient.get_default()
|
|
40
|
+
self.api_client = api_client
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@validate_call
|
|
44
|
+
def create_recurring_repayment(
|
|
45
|
+
self,
|
|
46
|
+
create_recurring_repayment_request: CreateRecurringRepaymentRequest,
|
|
47
|
+
_request_timeout: Union[
|
|
48
|
+
None,
|
|
49
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
50
|
+
Tuple[
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
53
|
+
]
|
|
54
|
+
] = None,
|
|
55
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
56
|
+
_content_type: Optional[StrictStr] = None,
|
|
57
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
59
|
+
) -> CreateRecurringRepayment201Response:
|
|
60
|
+
"""Create a recurring repayment
|
|
61
|
+
|
|
62
|
+
Originate a recurring repayment. The request body is one of CreateRecurringACHRepaymentRequest, CreateRecurringBookRepaymentRequest, CreateRecurringCapitalPartnerACHRepaymentRequest, or CreateRecurringCapitalPartnerBookRepaymentRequest, discriminated by data.type (recurringAchRepayment, recurringBookRepayment) together with the relationships supplied — the capital partner variants omit the account relationship.
|
|
63
|
+
|
|
64
|
+
:param create_recurring_repayment_request: (required)
|
|
65
|
+
:type create_recurring_repayment_request: CreateRecurringRepaymentRequest
|
|
66
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
67
|
+
number provided, it will be total request
|
|
68
|
+
timeout. It can also be a pair (tuple) of
|
|
69
|
+
(connection, read) timeouts.
|
|
70
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
71
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
72
|
+
request; this effectively ignores the
|
|
73
|
+
authentication in the spec for a single request.
|
|
74
|
+
:type _request_auth: dict, optional
|
|
75
|
+
:param _content_type: force content-type for the request.
|
|
76
|
+
:type _content_type: str, Optional
|
|
77
|
+
:param _headers: set to override the headers for a single
|
|
78
|
+
request; this effectively ignores the headers
|
|
79
|
+
in the spec for a single request.
|
|
80
|
+
:type _headers: dict, optional
|
|
81
|
+
:param _host_index: set to override the host_index for a single
|
|
82
|
+
request; this effectively ignores the host_index
|
|
83
|
+
in the spec for a single request.
|
|
84
|
+
:type _host_index: int, optional
|
|
85
|
+
:return: Returns the result object.
|
|
86
|
+
""" # noqa: E501
|
|
87
|
+
|
|
88
|
+
_param = self._create_recurring_repayment_serialize(
|
|
89
|
+
create_recurring_repayment_request=create_recurring_repayment_request,
|
|
90
|
+
_request_auth=_request_auth,
|
|
91
|
+
_content_type=_content_type,
|
|
92
|
+
_headers=_headers,
|
|
93
|
+
_host_index=_host_index
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
97
|
+
'201': "CreateRecurringRepayment201Response",
|
|
98
|
+
'400': "ErrorDocument",
|
|
99
|
+
'401': "ErrorDocument",
|
|
100
|
+
'404': "ErrorDocument",
|
|
101
|
+
}
|
|
102
|
+
response_data = self.api_client.call_api(
|
|
103
|
+
*_param,
|
|
104
|
+
_request_timeout=_request_timeout
|
|
105
|
+
)
|
|
106
|
+
response_data.read()
|
|
107
|
+
return self.api_client.response_deserialize(
|
|
108
|
+
response_data=response_data,
|
|
109
|
+
response_types_map=_response_types_map,
|
|
110
|
+
).data
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@validate_call
|
|
114
|
+
def create_recurring_repayment_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
create_recurring_repayment_request: CreateRecurringRepaymentRequest,
|
|
117
|
+
_request_timeout: Union[
|
|
118
|
+
None,
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
120
|
+
Tuple[
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
123
|
+
]
|
|
124
|
+
] = None,
|
|
125
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126
|
+
_content_type: Optional[StrictStr] = None,
|
|
127
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
|
+
) -> ApiResponse[CreateRecurringRepayment201Response]:
|
|
130
|
+
"""Create a recurring repayment
|
|
131
|
+
|
|
132
|
+
Originate a recurring repayment. The request body is one of CreateRecurringACHRepaymentRequest, CreateRecurringBookRepaymentRequest, CreateRecurringCapitalPartnerACHRepaymentRequest, or CreateRecurringCapitalPartnerBookRepaymentRequest, discriminated by data.type (recurringAchRepayment, recurringBookRepayment) together with the relationships supplied — the capital partner variants omit the account relationship.
|
|
133
|
+
|
|
134
|
+
:param create_recurring_repayment_request: (required)
|
|
135
|
+
:type create_recurring_repayment_request: CreateRecurringRepaymentRequest
|
|
136
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
137
|
+
number provided, it will be total request
|
|
138
|
+
timeout. It can also be a pair (tuple) of
|
|
139
|
+
(connection, read) timeouts.
|
|
140
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
141
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
142
|
+
request; this effectively ignores the
|
|
143
|
+
authentication in the spec for a single request.
|
|
144
|
+
:type _request_auth: dict, optional
|
|
145
|
+
:param _content_type: force content-type for the request.
|
|
146
|
+
:type _content_type: str, Optional
|
|
147
|
+
:param _headers: set to override the headers for a single
|
|
148
|
+
request; this effectively ignores the headers
|
|
149
|
+
in the spec for a single request.
|
|
150
|
+
:type _headers: dict, optional
|
|
151
|
+
:param _host_index: set to override the host_index for a single
|
|
152
|
+
request; this effectively ignores the host_index
|
|
153
|
+
in the spec for a single request.
|
|
154
|
+
:type _host_index: int, optional
|
|
155
|
+
:return: Returns the result object.
|
|
156
|
+
""" # noqa: E501
|
|
157
|
+
|
|
158
|
+
_param = self._create_recurring_repayment_serialize(
|
|
159
|
+
create_recurring_repayment_request=create_recurring_repayment_request,
|
|
160
|
+
_request_auth=_request_auth,
|
|
161
|
+
_content_type=_content_type,
|
|
162
|
+
_headers=_headers,
|
|
163
|
+
_host_index=_host_index
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
167
|
+
'201': "CreateRecurringRepayment201Response",
|
|
168
|
+
'400': "ErrorDocument",
|
|
169
|
+
'401': "ErrorDocument",
|
|
170
|
+
'404': "ErrorDocument",
|
|
171
|
+
}
|
|
172
|
+
response_data = self.api_client.call_api(
|
|
173
|
+
*_param,
|
|
174
|
+
_request_timeout=_request_timeout
|
|
175
|
+
)
|
|
176
|
+
response_data.read()
|
|
177
|
+
return self.api_client.response_deserialize(
|
|
178
|
+
response_data=response_data,
|
|
179
|
+
response_types_map=_response_types_map,
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
@validate_call
|
|
184
|
+
def create_recurring_repayment_without_preload_content(
|
|
185
|
+
self,
|
|
186
|
+
create_recurring_repayment_request: CreateRecurringRepaymentRequest,
|
|
187
|
+
_request_timeout: Union[
|
|
188
|
+
None,
|
|
189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
190
|
+
Tuple[
|
|
191
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
192
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
193
|
+
]
|
|
194
|
+
] = None,
|
|
195
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
196
|
+
_content_type: Optional[StrictStr] = None,
|
|
197
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
198
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
199
|
+
) -> RESTResponseType:
|
|
200
|
+
"""Create a recurring repayment
|
|
201
|
+
|
|
202
|
+
Originate a recurring repayment. The request body is one of CreateRecurringACHRepaymentRequest, CreateRecurringBookRepaymentRequest, CreateRecurringCapitalPartnerACHRepaymentRequest, or CreateRecurringCapitalPartnerBookRepaymentRequest, discriminated by data.type (recurringAchRepayment, recurringBookRepayment) together with the relationships supplied — the capital partner variants omit the account relationship.
|
|
203
|
+
|
|
204
|
+
:param create_recurring_repayment_request: (required)
|
|
205
|
+
:type create_recurring_repayment_request: CreateRecurringRepaymentRequest
|
|
206
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
207
|
+
number provided, it will be total request
|
|
208
|
+
timeout. It can also be a pair (tuple) of
|
|
209
|
+
(connection, read) timeouts.
|
|
210
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
211
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
212
|
+
request; this effectively ignores the
|
|
213
|
+
authentication in the spec for a single request.
|
|
214
|
+
:type _request_auth: dict, optional
|
|
215
|
+
:param _content_type: force content-type for the request.
|
|
216
|
+
:type _content_type: str, Optional
|
|
217
|
+
:param _headers: set to override the headers for a single
|
|
218
|
+
request; this effectively ignores the headers
|
|
219
|
+
in the spec for a single request.
|
|
220
|
+
:type _headers: dict, optional
|
|
221
|
+
:param _host_index: set to override the host_index for a single
|
|
222
|
+
request; this effectively ignores the host_index
|
|
223
|
+
in the spec for a single request.
|
|
224
|
+
:type _host_index: int, optional
|
|
225
|
+
:return: Returns the result object.
|
|
226
|
+
""" # noqa: E501
|
|
227
|
+
|
|
228
|
+
_param = self._create_recurring_repayment_serialize(
|
|
229
|
+
create_recurring_repayment_request=create_recurring_repayment_request,
|
|
230
|
+
_request_auth=_request_auth,
|
|
231
|
+
_content_type=_content_type,
|
|
232
|
+
_headers=_headers,
|
|
233
|
+
_host_index=_host_index
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
237
|
+
'201': "CreateRecurringRepayment201Response",
|
|
238
|
+
'400': "ErrorDocument",
|
|
239
|
+
'401': "ErrorDocument",
|
|
240
|
+
'404': "ErrorDocument",
|
|
241
|
+
}
|
|
242
|
+
response_data = self.api_client.call_api(
|
|
243
|
+
*_param,
|
|
244
|
+
_request_timeout=_request_timeout
|
|
245
|
+
)
|
|
246
|
+
return response_data.response
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
def _create_recurring_repayment_serialize(
|
|
250
|
+
self,
|
|
251
|
+
create_recurring_repayment_request,
|
|
252
|
+
_request_auth,
|
|
253
|
+
_content_type,
|
|
254
|
+
_headers,
|
|
255
|
+
_host_index,
|
|
256
|
+
) -> RequestSerialized:
|
|
257
|
+
|
|
258
|
+
_host = None
|
|
259
|
+
|
|
260
|
+
_collection_formats: Dict[str, str] = {
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
_path_params: Dict[str, str] = {}
|
|
264
|
+
_query_params: List[Tuple[str, str]] = []
|
|
265
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
266
|
+
_form_params: List[Tuple[str, str]] = []
|
|
267
|
+
_files: Dict[
|
|
268
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
269
|
+
] = {}
|
|
270
|
+
_body_params: Optional[bytes] = None
|
|
271
|
+
|
|
272
|
+
# process the path parameters
|
|
273
|
+
# process the query parameters
|
|
274
|
+
# process the header parameters
|
|
275
|
+
# process the form parameters
|
|
276
|
+
# process the body parameter
|
|
277
|
+
if create_recurring_repayment_request is not None:
|
|
278
|
+
_body_params = create_recurring_repayment_request
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
# set the HTTP header `Accept`
|
|
282
|
+
if 'Accept' not in _header_params:
|
|
283
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
284
|
+
[
|
|
285
|
+
'application/vnd.api+json'
|
|
286
|
+
]
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
# set the HTTP header `Content-Type`
|
|
290
|
+
if _content_type:
|
|
291
|
+
_header_params['Content-Type'] = _content_type
|
|
292
|
+
else:
|
|
293
|
+
_default_content_type = (
|
|
294
|
+
self.api_client.select_header_content_type(
|
|
295
|
+
[
|
|
296
|
+
'application/vnd.api+json'
|
|
297
|
+
]
|
|
298
|
+
)
|
|
299
|
+
)
|
|
300
|
+
if _default_content_type is not None:
|
|
301
|
+
_header_params['Content-Type'] = _default_content_type
|
|
302
|
+
|
|
303
|
+
# authentication setting
|
|
304
|
+
_auth_settings: List[str] = [
|
|
305
|
+
'bearerAuth'
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
return self.api_client.param_serialize(
|
|
309
|
+
method='POST',
|
|
310
|
+
resource_path='/recurring-repayments',
|
|
311
|
+
path_params=_path_params,
|
|
312
|
+
query_params=_query_params,
|
|
313
|
+
header_params=_header_params,
|
|
314
|
+
body=_body_params,
|
|
315
|
+
post_params=_form_params,
|
|
316
|
+
files=_files,
|
|
317
|
+
auth_settings=_auth_settings,
|
|
318
|
+
collection_formats=_collection_formats,
|
|
319
|
+
_host=_host,
|
|
320
|
+
_request_auth=_request_auth
|
|
321
|
+
)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
@validate_call
|
|
327
|
+
def disable_recurring_repayment(
|
|
328
|
+
self,
|
|
329
|
+
id: StrictStr,
|
|
330
|
+
body: Optional[Dict[str, Any]] = None,
|
|
331
|
+
_request_timeout: Union[
|
|
332
|
+
None,
|
|
333
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
334
|
+
Tuple[
|
|
335
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
336
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
337
|
+
]
|
|
338
|
+
] = None,
|
|
339
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
340
|
+
_content_type: Optional[StrictStr] = None,
|
|
341
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
342
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
343
|
+
) -> CreateRecurringRepayment201Response:
|
|
344
|
+
"""Disable a recurring repayment
|
|
345
|
+
|
|
346
|
+
Disable a Recurring Repayment by id. When a Recurring Repayment is disabled, the Recurring Repayment Status Changed webhook event is fired and future repayments will no longer be created according to the defined schedule.
|
|
347
|
+
|
|
348
|
+
:param id: (required)
|
|
349
|
+
:type id: str
|
|
350
|
+
:param body:
|
|
351
|
+
:type body: object
|
|
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._disable_recurring_repayment_serialize(
|
|
375
|
+
id=id,
|
|
376
|
+
body=body,
|
|
377
|
+
_request_auth=_request_auth,
|
|
378
|
+
_content_type=_content_type,
|
|
379
|
+
_headers=_headers,
|
|
380
|
+
_host_index=_host_index
|
|
381
|
+
)
|
|
382
|
+
|
|
383
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
384
|
+
'200': "CreateRecurringRepayment201Response",
|
|
385
|
+
'400': "ErrorDocument",
|
|
386
|
+
'401': "ErrorDocument",
|
|
387
|
+
'404': "ErrorDocument",
|
|
388
|
+
}
|
|
389
|
+
response_data = self.api_client.call_api(
|
|
390
|
+
*_param,
|
|
391
|
+
_request_timeout=_request_timeout
|
|
392
|
+
)
|
|
393
|
+
response_data.read()
|
|
394
|
+
return self.api_client.response_deserialize(
|
|
395
|
+
response_data=response_data,
|
|
396
|
+
response_types_map=_response_types_map,
|
|
397
|
+
).data
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
@validate_call
|
|
401
|
+
def disable_recurring_repayment_with_http_info(
|
|
402
|
+
self,
|
|
403
|
+
id: StrictStr,
|
|
404
|
+
body: Optional[Dict[str, Any]] = None,
|
|
405
|
+
_request_timeout: Union[
|
|
406
|
+
None,
|
|
407
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
408
|
+
Tuple[
|
|
409
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
410
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
411
|
+
]
|
|
412
|
+
] = None,
|
|
413
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
414
|
+
_content_type: Optional[StrictStr] = None,
|
|
415
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
416
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
417
|
+
) -> ApiResponse[CreateRecurringRepayment201Response]:
|
|
418
|
+
"""Disable a recurring repayment
|
|
419
|
+
|
|
420
|
+
Disable a Recurring Repayment by id. When a Recurring Repayment is disabled, the Recurring Repayment Status Changed webhook event is fired and future repayments will no longer be created according to the defined schedule.
|
|
421
|
+
|
|
422
|
+
:param id: (required)
|
|
423
|
+
:type id: str
|
|
424
|
+
:param body:
|
|
425
|
+
:type body: object
|
|
426
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
427
|
+
number provided, it will be total request
|
|
428
|
+
timeout. It can also be a pair (tuple) of
|
|
429
|
+
(connection, read) timeouts.
|
|
430
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
431
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
432
|
+
request; this effectively ignores the
|
|
433
|
+
authentication in the spec for a single request.
|
|
434
|
+
:type _request_auth: dict, optional
|
|
435
|
+
:param _content_type: force content-type for the request.
|
|
436
|
+
:type _content_type: str, Optional
|
|
437
|
+
:param _headers: set to override the headers for a single
|
|
438
|
+
request; this effectively ignores the headers
|
|
439
|
+
in the spec for a single request.
|
|
440
|
+
:type _headers: dict, optional
|
|
441
|
+
:param _host_index: set to override the host_index for a single
|
|
442
|
+
request; this effectively ignores the host_index
|
|
443
|
+
in the spec for a single request.
|
|
444
|
+
:type _host_index: int, optional
|
|
445
|
+
:return: Returns the result object.
|
|
446
|
+
""" # noqa: E501
|
|
447
|
+
|
|
448
|
+
_param = self._disable_recurring_repayment_serialize(
|
|
449
|
+
id=id,
|
|
450
|
+
body=body,
|
|
451
|
+
_request_auth=_request_auth,
|
|
452
|
+
_content_type=_content_type,
|
|
453
|
+
_headers=_headers,
|
|
454
|
+
_host_index=_host_index
|
|
455
|
+
)
|
|
456
|
+
|
|
457
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
458
|
+
'200': "CreateRecurringRepayment201Response",
|
|
459
|
+
'400': "ErrorDocument",
|
|
460
|
+
'401': "ErrorDocument",
|
|
461
|
+
'404': "ErrorDocument",
|
|
462
|
+
}
|
|
463
|
+
response_data = self.api_client.call_api(
|
|
464
|
+
*_param,
|
|
465
|
+
_request_timeout=_request_timeout
|
|
466
|
+
)
|
|
467
|
+
response_data.read()
|
|
468
|
+
return self.api_client.response_deserialize(
|
|
469
|
+
response_data=response_data,
|
|
470
|
+
response_types_map=_response_types_map,
|
|
471
|
+
)
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
@validate_call
|
|
475
|
+
def disable_recurring_repayment_without_preload_content(
|
|
476
|
+
self,
|
|
477
|
+
id: StrictStr,
|
|
478
|
+
body: Optional[Dict[str, Any]] = None,
|
|
479
|
+
_request_timeout: Union[
|
|
480
|
+
None,
|
|
481
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
482
|
+
Tuple[
|
|
483
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
484
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
485
|
+
]
|
|
486
|
+
] = None,
|
|
487
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
488
|
+
_content_type: Optional[StrictStr] = None,
|
|
489
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
490
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
491
|
+
) -> RESTResponseType:
|
|
492
|
+
"""Disable a recurring repayment
|
|
493
|
+
|
|
494
|
+
Disable a Recurring Repayment by id. When a Recurring Repayment is disabled, the Recurring Repayment Status Changed webhook event is fired and future repayments will no longer be created according to the defined schedule.
|
|
495
|
+
|
|
496
|
+
:param id: (required)
|
|
497
|
+
:type id: str
|
|
498
|
+
:param body:
|
|
499
|
+
:type body: object
|
|
500
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
501
|
+
number provided, it will be total request
|
|
502
|
+
timeout. It can also be a pair (tuple) of
|
|
503
|
+
(connection, read) timeouts.
|
|
504
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
505
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
506
|
+
request; this effectively ignores the
|
|
507
|
+
authentication in the spec for a single request.
|
|
508
|
+
:type _request_auth: dict, optional
|
|
509
|
+
:param _content_type: force content-type for the request.
|
|
510
|
+
:type _content_type: str, Optional
|
|
511
|
+
:param _headers: set to override the headers for a single
|
|
512
|
+
request; this effectively ignores the headers
|
|
513
|
+
in the spec for a single request.
|
|
514
|
+
:type _headers: dict, optional
|
|
515
|
+
:param _host_index: set to override the host_index for a single
|
|
516
|
+
request; this effectively ignores the host_index
|
|
517
|
+
in the spec for a single request.
|
|
518
|
+
:type _host_index: int, optional
|
|
519
|
+
:return: Returns the result object.
|
|
520
|
+
""" # noqa: E501
|
|
521
|
+
|
|
522
|
+
_param = self._disable_recurring_repayment_serialize(
|
|
523
|
+
id=id,
|
|
524
|
+
body=body,
|
|
525
|
+
_request_auth=_request_auth,
|
|
526
|
+
_content_type=_content_type,
|
|
527
|
+
_headers=_headers,
|
|
528
|
+
_host_index=_host_index
|
|
529
|
+
)
|
|
530
|
+
|
|
531
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
532
|
+
'200': "CreateRecurringRepayment201Response",
|
|
533
|
+
'400': "ErrorDocument",
|
|
534
|
+
'401': "ErrorDocument",
|
|
535
|
+
'404': "ErrorDocument",
|
|
536
|
+
}
|
|
537
|
+
response_data = self.api_client.call_api(
|
|
538
|
+
*_param,
|
|
539
|
+
_request_timeout=_request_timeout
|
|
540
|
+
)
|
|
541
|
+
return response_data.response
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
def _disable_recurring_repayment_serialize(
|
|
545
|
+
self,
|
|
546
|
+
id,
|
|
547
|
+
body,
|
|
548
|
+
_request_auth,
|
|
549
|
+
_content_type,
|
|
550
|
+
_headers,
|
|
551
|
+
_host_index,
|
|
552
|
+
) -> RequestSerialized:
|
|
553
|
+
|
|
554
|
+
_host = None
|
|
555
|
+
|
|
556
|
+
_collection_formats: Dict[str, str] = {
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
_path_params: Dict[str, str] = {}
|
|
560
|
+
_query_params: List[Tuple[str, str]] = []
|
|
561
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
562
|
+
_form_params: List[Tuple[str, str]] = []
|
|
563
|
+
_files: Dict[
|
|
564
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
565
|
+
] = {}
|
|
566
|
+
_body_params: Optional[bytes] = None
|
|
567
|
+
|
|
568
|
+
# process the path parameters
|
|
569
|
+
if id is not None:
|
|
570
|
+
_path_params['id'] = id
|
|
571
|
+
# process the query parameters
|
|
572
|
+
# process the header parameters
|
|
573
|
+
# process the form parameters
|
|
574
|
+
# process the body parameter
|
|
575
|
+
if body is not None:
|
|
576
|
+
_body_params = body
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
# set the HTTP header `Accept`
|
|
580
|
+
if 'Accept' not in _header_params:
|
|
581
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
582
|
+
[
|
|
583
|
+
'application/vnd.api+json'
|
|
584
|
+
]
|
|
585
|
+
)
|
|
586
|
+
|
|
587
|
+
# set the HTTP header `Content-Type`
|
|
588
|
+
if _content_type:
|
|
589
|
+
_header_params['Content-Type'] = _content_type
|
|
590
|
+
else:
|
|
591
|
+
_default_content_type = (
|
|
592
|
+
self.api_client.select_header_content_type(
|
|
593
|
+
[
|
|
594
|
+
'application/vnd.api+json'
|
|
595
|
+
]
|
|
596
|
+
)
|
|
597
|
+
)
|
|
598
|
+
if _default_content_type is not None:
|
|
599
|
+
_header_params['Content-Type'] = _default_content_type
|
|
600
|
+
|
|
601
|
+
# authentication setting
|
|
602
|
+
_auth_settings: List[str] = [
|
|
603
|
+
'bearerAuth'
|
|
604
|
+
]
|
|
605
|
+
|
|
606
|
+
return self.api_client.param_serialize(
|
|
607
|
+
method='POST',
|
|
608
|
+
resource_path='/recurring-repayments/{id}/disable',
|
|
609
|
+
path_params=_path_params,
|
|
610
|
+
query_params=_query_params,
|
|
611
|
+
header_params=_header_params,
|
|
612
|
+
body=_body_params,
|
|
613
|
+
post_params=_form_params,
|
|
614
|
+
files=_files,
|
|
615
|
+
auth_settings=_auth_settings,
|
|
616
|
+
collection_formats=_collection_formats,
|
|
617
|
+
_host=_host,
|
|
618
|
+
_request_auth=_request_auth
|
|
619
|
+
)
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
@validate_call
|
|
625
|
+
def enable_recurring_repayment(
|
|
626
|
+
self,
|
|
627
|
+
id: StrictStr,
|
|
628
|
+
body: Optional[Dict[str, Any]] = None,
|
|
629
|
+
_request_timeout: Union[
|
|
630
|
+
None,
|
|
631
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
632
|
+
Tuple[
|
|
633
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
634
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
635
|
+
]
|
|
636
|
+
] = None,
|
|
637
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
638
|
+
_content_type: Optional[StrictStr] = None,
|
|
639
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
640
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
641
|
+
) -> CreateRecurringRepayment201Response:
|
|
642
|
+
"""Enable a recurring repayment
|
|
643
|
+
|
|
644
|
+
Enable a recurring repayment by id. When a Recurring Repayment is enabled, its status is set to Active according to the start date and end date that were defined in the schedule. See Recurring Repayment Statuses. When enabled, the Recurring Repayment Status Changed webhook event is fired.
|
|
645
|
+
|
|
646
|
+
:param id: (required)
|
|
647
|
+
:type id: str
|
|
648
|
+
:param body:
|
|
649
|
+
:type body: object
|
|
650
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
651
|
+
number provided, it will be total request
|
|
652
|
+
timeout. It can also be a pair (tuple) of
|
|
653
|
+
(connection, read) timeouts.
|
|
654
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
655
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
656
|
+
request; this effectively ignores the
|
|
657
|
+
authentication in the spec for a single request.
|
|
658
|
+
:type _request_auth: dict, optional
|
|
659
|
+
:param _content_type: force content-type for the request.
|
|
660
|
+
:type _content_type: str, Optional
|
|
661
|
+
:param _headers: set to override the headers for a single
|
|
662
|
+
request; this effectively ignores the headers
|
|
663
|
+
in the spec for a single request.
|
|
664
|
+
:type _headers: dict, optional
|
|
665
|
+
:param _host_index: set to override the host_index for a single
|
|
666
|
+
request; this effectively ignores the host_index
|
|
667
|
+
in the spec for a single request.
|
|
668
|
+
:type _host_index: int, optional
|
|
669
|
+
:return: Returns the result object.
|
|
670
|
+
""" # noqa: E501
|
|
671
|
+
|
|
672
|
+
_param = self._enable_recurring_repayment_serialize(
|
|
673
|
+
id=id,
|
|
674
|
+
body=body,
|
|
675
|
+
_request_auth=_request_auth,
|
|
676
|
+
_content_type=_content_type,
|
|
677
|
+
_headers=_headers,
|
|
678
|
+
_host_index=_host_index
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
682
|
+
'200': "CreateRecurringRepayment201Response",
|
|
683
|
+
'400': "ErrorDocument",
|
|
684
|
+
'401': "ErrorDocument",
|
|
685
|
+
'404': "ErrorDocument",
|
|
686
|
+
}
|
|
687
|
+
response_data = self.api_client.call_api(
|
|
688
|
+
*_param,
|
|
689
|
+
_request_timeout=_request_timeout
|
|
690
|
+
)
|
|
691
|
+
response_data.read()
|
|
692
|
+
return self.api_client.response_deserialize(
|
|
693
|
+
response_data=response_data,
|
|
694
|
+
response_types_map=_response_types_map,
|
|
695
|
+
).data
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
@validate_call
|
|
699
|
+
def enable_recurring_repayment_with_http_info(
|
|
700
|
+
self,
|
|
701
|
+
id: StrictStr,
|
|
702
|
+
body: Optional[Dict[str, Any]] = None,
|
|
703
|
+
_request_timeout: Union[
|
|
704
|
+
None,
|
|
705
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
706
|
+
Tuple[
|
|
707
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
708
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
709
|
+
]
|
|
710
|
+
] = None,
|
|
711
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
712
|
+
_content_type: Optional[StrictStr] = None,
|
|
713
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
714
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
715
|
+
) -> ApiResponse[CreateRecurringRepayment201Response]:
|
|
716
|
+
"""Enable a recurring repayment
|
|
717
|
+
|
|
718
|
+
Enable a recurring repayment by id. When a Recurring Repayment is enabled, its status is set to Active according to the start date and end date that were defined in the schedule. See Recurring Repayment Statuses. When enabled, the Recurring Repayment Status Changed webhook event is fired.
|
|
719
|
+
|
|
720
|
+
:param id: (required)
|
|
721
|
+
:type id: str
|
|
722
|
+
:param body:
|
|
723
|
+
:type body: object
|
|
724
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
725
|
+
number provided, it will be total request
|
|
726
|
+
timeout. It can also be a pair (tuple) of
|
|
727
|
+
(connection, read) timeouts.
|
|
728
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
729
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
730
|
+
request; this effectively ignores the
|
|
731
|
+
authentication in the spec for a single request.
|
|
732
|
+
:type _request_auth: dict, optional
|
|
733
|
+
:param _content_type: force content-type for the request.
|
|
734
|
+
:type _content_type: str, Optional
|
|
735
|
+
:param _headers: set to override the headers for a single
|
|
736
|
+
request; this effectively ignores the headers
|
|
737
|
+
in the spec for a single request.
|
|
738
|
+
:type _headers: dict, optional
|
|
739
|
+
:param _host_index: set to override the host_index for a single
|
|
740
|
+
request; this effectively ignores the host_index
|
|
741
|
+
in the spec for a single request.
|
|
742
|
+
:type _host_index: int, optional
|
|
743
|
+
:return: Returns the result object.
|
|
744
|
+
""" # noqa: E501
|
|
745
|
+
|
|
746
|
+
_param = self._enable_recurring_repayment_serialize(
|
|
747
|
+
id=id,
|
|
748
|
+
body=body,
|
|
749
|
+
_request_auth=_request_auth,
|
|
750
|
+
_content_type=_content_type,
|
|
751
|
+
_headers=_headers,
|
|
752
|
+
_host_index=_host_index
|
|
753
|
+
)
|
|
754
|
+
|
|
755
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
756
|
+
'200': "CreateRecurringRepayment201Response",
|
|
757
|
+
'400': "ErrorDocument",
|
|
758
|
+
'401': "ErrorDocument",
|
|
759
|
+
'404': "ErrorDocument",
|
|
760
|
+
}
|
|
761
|
+
response_data = self.api_client.call_api(
|
|
762
|
+
*_param,
|
|
763
|
+
_request_timeout=_request_timeout
|
|
764
|
+
)
|
|
765
|
+
response_data.read()
|
|
766
|
+
return self.api_client.response_deserialize(
|
|
767
|
+
response_data=response_data,
|
|
768
|
+
response_types_map=_response_types_map,
|
|
769
|
+
)
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
@validate_call
|
|
773
|
+
def enable_recurring_repayment_without_preload_content(
|
|
774
|
+
self,
|
|
775
|
+
id: StrictStr,
|
|
776
|
+
body: Optional[Dict[str, Any]] = None,
|
|
777
|
+
_request_timeout: Union[
|
|
778
|
+
None,
|
|
779
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
780
|
+
Tuple[
|
|
781
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
782
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
783
|
+
]
|
|
784
|
+
] = None,
|
|
785
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
786
|
+
_content_type: Optional[StrictStr] = None,
|
|
787
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
788
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
789
|
+
) -> RESTResponseType:
|
|
790
|
+
"""Enable a recurring repayment
|
|
791
|
+
|
|
792
|
+
Enable a recurring repayment by id. When a Recurring Repayment is enabled, its status is set to Active according to the start date and end date that were defined in the schedule. See Recurring Repayment Statuses. When enabled, the Recurring Repayment Status Changed webhook event is fired.
|
|
793
|
+
|
|
794
|
+
:param id: (required)
|
|
795
|
+
:type id: str
|
|
796
|
+
:param body:
|
|
797
|
+
:type body: object
|
|
798
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
799
|
+
number provided, it will be total request
|
|
800
|
+
timeout. It can also be a pair (tuple) of
|
|
801
|
+
(connection, read) timeouts.
|
|
802
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
803
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
804
|
+
request; this effectively ignores the
|
|
805
|
+
authentication in the spec for a single request.
|
|
806
|
+
:type _request_auth: dict, optional
|
|
807
|
+
:param _content_type: force content-type for the request.
|
|
808
|
+
:type _content_type: str, Optional
|
|
809
|
+
:param _headers: set to override the headers for a single
|
|
810
|
+
request; this effectively ignores the headers
|
|
811
|
+
in the spec for a single request.
|
|
812
|
+
:type _headers: dict, optional
|
|
813
|
+
:param _host_index: set to override the host_index for a single
|
|
814
|
+
request; this effectively ignores the host_index
|
|
815
|
+
in the spec for a single request.
|
|
816
|
+
:type _host_index: int, optional
|
|
817
|
+
:return: Returns the result object.
|
|
818
|
+
""" # noqa: E501
|
|
819
|
+
|
|
820
|
+
_param = self._enable_recurring_repayment_serialize(
|
|
821
|
+
id=id,
|
|
822
|
+
body=body,
|
|
823
|
+
_request_auth=_request_auth,
|
|
824
|
+
_content_type=_content_type,
|
|
825
|
+
_headers=_headers,
|
|
826
|
+
_host_index=_host_index
|
|
827
|
+
)
|
|
828
|
+
|
|
829
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
830
|
+
'200': "CreateRecurringRepayment201Response",
|
|
831
|
+
'400': "ErrorDocument",
|
|
832
|
+
'401': "ErrorDocument",
|
|
833
|
+
'404': "ErrorDocument",
|
|
834
|
+
}
|
|
835
|
+
response_data = self.api_client.call_api(
|
|
836
|
+
*_param,
|
|
837
|
+
_request_timeout=_request_timeout
|
|
838
|
+
)
|
|
839
|
+
return response_data.response
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
def _enable_recurring_repayment_serialize(
|
|
843
|
+
self,
|
|
844
|
+
id,
|
|
845
|
+
body,
|
|
846
|
+
_request_auth,
|
|
847
|
+
_content_type,
|
|
848
|
+
_headers,
|
|
849
|
+
_host_index,
|
|
850
|
+
) -> RequestSerialized:
|
|
851
|
+
|
|
852
|
+
_host = None
|
|
853
|
+
|
|
854
|
+
_collection_formats: Dict[str, str] = {
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
_path_params: Dict[str, str] = {}
|
|
858
|
+
_query_params: List[Tuple[str, str]] = []
|
|
859
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
860
|
+
_form_params: List[Tuple[str, str]] = []
|
|
861
|
+
_files: Dict[
|
|
862
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
863
|
+
] = {}
|
|
864
|
+
_body_params: Optional[bytes] = None
|
|
865
|
+
|
|
866
|
+
# process the path parameters
|
|
867
|
+
if id is not None:
|
|
868
|
+
_path_params['id'] = id
|
|
869
|
+
# process the query parameters
|
|
870
|
+
# process the header parameters
|
|
871
|
+
# process the form parameters
|
|
872
|
+
# process the body parameter
|
|
873
|
+
if body is not None:
|
|
874
|
+
_body_params = body
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
# set the HTTP header `Accept`
|
|
878
|
+
if 'Accept' not in _header_params:
|
|
879
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
880
|
+
[
|
|
881
|
+
'application/vnd.api+json'
|
|
882
|
+
]
|
|
883
|
+
)
|
|
884
|
+
|
|
885
|
+
# set the HTTP header `Content-Type`
|
|
886
|
+
if _content_type:
|
|
887
|
+
_header_params['Content-Type'] = _content_type
|
|
888
|
+
else:
|
|
889
|
+
_default_content_type = (
|
|
890
|
+
self.api_client.select_header_content_type(
|
|
891
|
+
[
|
|
892
|
+
'application/vnd.api+json'
|
|
893
|
+
]
|
|
894
|
+
)
|
|
895
|
+
)
|
|
896
|
+
if _default_content_type is not None:
|
|
897
|
+
_header_params['Content-Type'] = _default_content_type
|
|
898
|
+
|
|
899
|
+
# authentication setting
|
|
900
|
+
_auth_settings: List[str] = [
|
|
901
|
+
'bearerAuth'
|
|
902
|
+
]
|
|
903
|
+
|
|
904
|
+
return self.api_client.param_serialize(
|
|
905
|
+
method='POST',
|
|
906
|
+
resource_path='/recurring-repayments/{id}/enable',
|
|
907
|
+
path_params=_path_params,
|
|
908
|
+
query_params=_query_params,
|
|
909
|
+
header_params=_header_params,
|
|
910
|
+
body=_body_params,
|
|
911
|
+
post_params=_form_params,
|
|
912
|
+
files=_files,
|
|
913
|
+
auth_settings=_auth_settings,
|
|
914
|
+
collection_formats=_collection_formats,
|
|
915
|
+
_host=_host,
|
|
916
|
+
_request_auth=_request_auth
|
|
917
|
+
)
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
@validate_call
|
|
923
|
+
def get_recurring_repayment(
|
|
924
|
+
self,
|
|
925
|
+
id: StrictStr,
|
|
926
|
+
_request_timeout: Union[
|
|
927
|
+
None,
|
|
928
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
929
|
+
Tuple[
|
|
930
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
931
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
932
|
+
]
|
|
933
|
+
] = None,
|
|
934
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
935
|
+
_content_type: Optional[StrictStr] = None,
|
|
936
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
937
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
938
|
+
) -> CreateRecurringRepayment201Response:
|
|
939
|
+
"""Get a recurring repayment by id
|
|
940
|
+
|
|
941
|
+
Get a recurring repayment by id.
|
|
942
|
+
|
|
943
|
+
:param id: (required)
|
|
944
|
+
:type id: str
|
|
945
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
946
|
+
number provided, it will be total request
|
|
947
|
+
timeout. It can also be a pair (tuple) of
|
|
948
|
+
(connection, read) timeouts.
|
|
949
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
950
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
951
|
+
request; this effectively ignores the
|
|
952
|
+
authentication in the spec for a single request.
|
|
953
|
+
:type _request_auth: dict, optional
|
|
954
|
+
:param _content_type: force content-type for the request.
|
|
955
|
+
:type _content_type: str, Optional
|
|
956
|
+
:param _headers: set to override the headers for a single
|
|
957
|
+
request; this effectively ignores the headers
|
|
958
|
+
in the spec for a single request.
|
|
959
|
+
:type _headers: dict, optional
|
|
960
|
+
:param _host_index: set to override the host_index for a single
|
|
961
|
+
request; this effectively ignores the host_index
|
|
962
|
+
in the spec for a single request.
|
|
963
|
+
:type _host_index: int, optional
|
|
964
|
+
:return: Returns the result object.
|
|
965
|
+
""" # noqa: E501
|
|
966
|
+
|
|
967
|
+
_param = self._get_recurring_repayment_serialize(
|
|
968
|
+
id=id,
|
|
969
|
+
_request_auth=_request_auth,
|
|
970
|
+
_content_type=_content_type,
|
|
971
|
+
_headers=_headers,
|
|
972
|
+
_host_index=_host_index
|
|
973
|
+
)
|
|
974
|
+
|
|
975
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
976
|
+
'200': "CreateRecurringRepayment201Response",
|
|
977
|
+
'400': "ErrorDocument",
|
|
978
|
+
'401': "ErrorDocument",
|
|
979
|
+
'404': "ErrorDocument",
|
|
980
|
+
}
|
|
981
|
+
response_data = self.api_client.call_api(
|
|
982
|
+
*_param,
|
|
983
|
+
_request_timeout=_request_timeout
|
|
984
|
+
)
|
|
985
|
+
response_data.read()
|
|
986
|
+
return self.api_client.response_deserialize(
|
|
987
|
+
response_data=response_data,
|
|
988
|
+
response_types_map=_response_types_map,
|
|
989
|
+
).data
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
@validate_call
|
|
993
|
+
def get_recurring_repayment_with_http_info(
|
|
994
|
+
self,
|
|
995
|
+
id: StrictStr,
|
|
996
|
+
_request_timeout: Union[
|
|
997
|
+
None,
|
|
998
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
999
|
+
Tuple[
|
|
1000
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1001
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1002
|
+
]
|
|
1003
|
+
] = None,
|
|
1004
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1005
|
+
_content_type: Optional[StrictStr] = None,
|
|
1006
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1007
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1008
|
+
) -> ApiResponse[CreateRecurringRepayment201Response]:
|
|
1009
|
+
"""Get a recurring repayment by id
|
|
1010
|
+
|
|
1011
|
+
Get a recurring repayment by id.
|
|
1012
|
+
|
|
1013
|
+
:param id: (required)
|
|
1014
|
+
:type id: str
|
|
1015
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1016
|
+
number provided, it will be total request
|
|
1017
|
+
timeout. It can also be a pair (tuple) of
|
|
1018
|
+
(connection, read) timeouts.
|
|
1019
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1020
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1021
|
+
request; this effectively ignores the
|
|
1022
|
+
authentication in the spec for a single request.
|
|
1023
|
+
:type _request_auth: dict, optional
|
|
1024
|
+
:param _content_type: force content-type for the request.
|
|
1025
|
+
:type _content_type: str, Optional
|
|
1026
|
+
:param _headers: set to override the headers for a single
|
|
1027
|
+
request; this effectively ignores the headers
|
|
1028
|
+
in the spec for a single request.
|
|
1029
|
+
:type _headers: dict, optional
|
|
1030
|
+
:param _host_index: set to override the host_index for a single
|
|
1031
|
+
request; this effectively ignores the host_index
|
|
1032
|
+
in the spec for a single request.
|
|
1033
|
+
:type _host_index: int, optional
|
|
1034
|
+
:return: Returns the result object.
|
|
1035
|
+
""" # noqa: E501
|
|
1036
|
+
|
|
1037
|
+
_param = self._get_recurring_repayment_serialize(
|
|
1038
|
+
id=id,
|
|
1039
|
+
_request_auth=_request_auth,
|
|
1040
|
+
_content_type=_content_type,
|
|
1041
|
+
_headers=_headers,
|
|
1042
|
+
_host_index=_host_index
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1045
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1046
|
+
'200': "CreateRecurringRepayment201Response",
|
|
1047
|
+
'400': "ErrorDocument",
|
|
1048
|
+
'401': "ErrorDocument",
|
|
1049
|
+
'404': "ErrorDocument",
|
|
1050
|
+
}
|
|
1051
|
+
response_data = self.api_client.call_api(
|
|
1052
|
+
*_param,
|
|
1053
|
+
_request_timeout=_request_timeout
|
|
1054
|
+
)
|
|
1055
|
+
response_data.read()
|
|
1056
|
+
return self.api_client.response_deserialize(
|
|
1057
|
+
response_data=response_data,
|
|
1058
|
+
response_types_map=_response_types_map,
|
|
1059
|
+
)
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
@validate_call
|
|
1063
|
+
def get_recurring_repayment_without_preload_content(
|
|
1064
|
+
self,
|
|
1065
|
+
id: StrictStr,
|
|
1066
|
+
_request_timeout: Union[
|
|
1067
|
+
None,
|
|
1068
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1069
|
+
Tuple[
|
|
1070
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1071
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1072
|
+
]
|
|
1073
|
+
] = None,
|
|
1074
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1075
|
+
_content_type: Optional[StrictStr] = None,
|
|
1076
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1077
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1078
|
+
) -> RESTResponseType:
|
|
1079
|
+
"""Get a recurring repayment by id
|
|
1080
|
+
|
|
1081
|
+
Get a recurring repayment by id.
|
|
1082
|
+
|
|
1083
|
+
:param id: (required)
|
|
1084
|
+
:type id: str
|
|
1085
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1086
|
+
number provided, it will be total request
|
|
1087
|
+
timeout. It can also be a pair (tuple) of
|
|
1088
|
+
(connection, read) timeouts.
|
|
1089
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1090
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1091
|
+
request; this effectively ignores the
|
|
1092
|
+
authentication in the spec for a single request.
|
|
1093
|
+
:type _request_auth: dict, optional
|
|
1094
|
+
:param _content_type: force content-type for the request.
|
|
1095
|
+
:type _content_type: str, Optional
|
|
1096
|
+
:param _headers: set to override the headers for a single
|
|
1097
|
+
request; this effectively ignores the headers
|
|
1098
|
+
in the spec for a single request.
|
|
1099
|
+
:type _headers: dict, optional
|
|
1100
|
+
:param _host_index: set to override the host_index for a single
|
|
1101
|
+
request; this effectively ignores the host_index
|
|
1102
|
+
in the spec for a single request.
|
|
1103
|
+
:type _host_index: int, optional
|
|
1104
|
+
:return: Returns the result object.
|
|
1105
|
+
""" # noqa: E501
|
|
1106
|
+
|
|
1107
|
+
_param = self._get_recurring_repayment_serialize(
|
|
1108
|
+
id=id,
|
|
1109
|
+
_request_auth=_request_auth,
|
|
1110
|
+
_content_type=_content_type,
|
|
1111
|
+
_headers=_headers,
|
|
1112
|
+
_host_index=_host_index
|
|
1113
|
+
)
|
|
1114
|
+
|
|
1115
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1116
|
+
'200': "CreateRecurringRepayment201Response",
|
|
1117
|
+
'400': "ErrorDocument",
|
|
1118
|
+
'401': "ErrorDocument",
|
|
1119
|
+
'404': "ErrorDocument",
|
|
1120
|
+
}
|
|
1121
|
+
response_data = self.api_client.call_api(
|
|
1122
|
+
*_param,
|
|
1123
|
+
_request_timeout=_request_timeout
|
|
1124
|
+
)
|
|
1125
|
+
return response_data.response
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
def _get_recurring_repayment_serialize(
|
|
1129
|
+
self,
|
|
1130
|
+
id,
|
|
1131
|
+
_request_auth,
|
|
1132
|
+
_content_type,
|
|
1133
|
+
_headers,
|
|
1134
|
+
_host_index,
|
|
1135
|
+
) -> RequestSerialized:
|
|
1136
|
+
|
|
1137
|
+
_host = None
|
|
1138
|
+
|
|
1139
|
+
_collection_formats: Dict[str, str] = {
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
_path_params: Dict[str, str] = {}
|
|
1143
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1144
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1145
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1146
|
+
_files: Dict[
|
|
1147
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1148
|
+
] = {}
|
|
1149
|
+
_body_params: Optional[bytes] = None
|
|
1150
|
+
|
|
1151
|
+
# process the path parameters
|
|
1152
|
+
if id is not None:
|
|
1153
|
+
_path_params['id'] = id
|
|
1154
|
+
# process the query parameters
|
|
1155
|
+
# process the header parameters
|
|
1156
|
+
# process the form parameters
|
|
1157
|
+
# process the body parameter
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
# set the HTTP header `Accept`
|
|
1161
|
+
if 'Accept' not in _header_params:
|
|
1162
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1163
|
+
[
|
|
1164
|
+
'application/vnd.api+json'
|
|
1165
|
+
]
|
|
1166
|
+
)
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
# authentication setting
|
|
1170
|
+
_auth_settings: List[str] = [
|
|
1171
|
+
'bearerAuth'
|
|
1172
|
+
]
|
|
1173
|
+
|
|
1174
|
+
return self.api_client.param_serialize(
|
|
1175
|
+
method='GET',
|
|
1176
|
+
resource_path='/recurring-repayments/{id}',
|
|
1177
|
+
path_params=_path_params,
|
|
1178
|
+
query_params=_query_params,
|
|
1179
|
+
header_params=_header_params,
|
|
1180
|
+
body=_body_params,
|
|
1181
|
+
post_params=_form_params,
|
|
1182
|
+
files=_files,
|
|
1183
|
+
auth_settings=_auth_settings,
|
|
1184
|
+
collection_formats=_collection_formats,
|
|
1185
|
+
_host=_host,
|
|
1186
|
+
_request_auth=_request_auth
|
|
1187
|
+
)
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
@validate_call
|
|
1193
|
+
def list_recurring_repayments(
|
|
1194
|
+
self,
|
|
1195
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
1196
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
1197
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
1198
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
1199
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active")] = None,
|
|
1200
|
+
filter_from_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13")] = None,
|
|
1201
|
+
filter_to_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13")] = None,
|
|
1202
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
1203
|
+
_request_timeout: Union[
|
|
1204
|
+
None,
|
|
1205
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1206
|
+
Tuple[
|
|
1207
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1208
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1209
|
+
]
|
|
1210
|
+
] = None,
|
|
1211
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1212
|
+
_content_type: Optional[StrictStr] = None,
|
|
1213
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1214
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1215
|
+
) -> ListRecurringRepayments200Response:
|
|
1216
|
+
"""List recurring repayments
|
|
1217
|
+
|
|
1218
|
+
List recurring repayments resources. Filtering, paging and sorting can be applied.
|
|
1219
|
+
|
|
1220
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
1221
|
+
:type page_limit: str
|
|
1222
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
1223
|
+
:type page_offset: str
|
|
1224
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
1225
|
+
:type filter_credit_account_id: str
|
|
1226
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
1227
|
+
:type filter_customer_id: str
|
|
1228
|
+
:param filter_status: Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active
|
|
1229
|
+
:type filter_status: str
|
|
1230
|
+
:param filter_from_start_time: Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13
|
|
1231
|
+
:type filter_from_start_time: str
|
|
1232
|
+
:param filter_to_start_time: Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13
|
|
1233
|
+
:type filter_to_start_time: str
|
|
1234
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
1235
|
+
:type sort: str
|
|
1236
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1237
|
+
number provided, it will be total request
|
|
1238
|
+
timeout. It can also be a pair (tuple) of
|
|
1239
|
+
(connection, read) timeouts.
|
|
1240
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1241
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1242
|
+
request; this effectively ignores the
|
|
1243
|
+
authentication in the spec for a single request.
|
|
1244
|
+
:type _request_auth: dict, optional
|
|
1245
|
+
:param _content_type: force content-type for the request.
|
|
1246
|
+
:type _content_type: str, Optional
|
|
1247
|
+
:param _headers: set to override the headers for a single
|
|
1248
|
+
request; this effectively ignores the headers
|
|
1249
|
+
in the spec for a single request.
|
|
1250
|
+
:type _headers: dict, optional
|
|
1251
|
+
:param _host_index: set to override the host_index for a single
|
|
1252
|
+
request; this effectively ignores the host_index
|
|
1253
|
+
in the spec for a single request.
|
|
1254
|
+
:type _host_index: int, optional
|
|
1255
|
+
:return: Returns the result object.
|
|
1256
|
+
""" # noqa: E501
|
|
1257
|
+
|
|
1258
|
+
_param = self._list_recurring_repayments_serialize(
|
|
1259
|
+
page_limit=page_limit,
|
|
1260
|
+
page_offset=page_offset,
|
|
1261
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
1262
|
+
filter_customer_id=filter_customer_id,
|
|
1263
|
+
filter_status=filter_status,
|
|
1264
|
+
filter_from_start_time=filter_from_start_time,
|
|
1265
|
+
filter_to_start_time=filter_to_start_time,
|
|
1266
|
+
sort=sort,
|
|
1267
|
+
_request_auth=_request_auth,
|
|
1268
|
+
_content_type=_content_type,
|
|
1269
|
+
_headers=_headers,
|
|
1270
|
+
_host_index=_host_index
|
|
1271
|
+
)
|
|
1272
|
+
|
|
1273
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1274
|
+
'200': "ListRecurringRepayments200Response",
|
|
1275
|
+
'400': "ErrorDocument",
|
|
1276
|
+
'401': "ErrorDocument",
|
|
1277
|
+
'404': "ErrorDocument",
|
|
1278
|
+
}
|
|
1279
|
+
response_data = self.api_client.call_api(
|
|
1280
|
+
*_param,
|
|
1281
|
+
_request_timeout=_request_timeout
|
|
1282
|
+
)
|
|
1283
|
+
response_data.read()
|
|
1284
|
+
return self.api_client.response_deserialize(
|
|
1285
|
+
response_data=response_data,
|
|
1286
|
+
response_types_map=_response_types_map,
|
|
1287
|
+
).data
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
@validate_call
|
|
1291
|
+
def list_recurring_repayments_with_http_info(
|
|
1292
|
+
self,
|
|
1293
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
1294
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
1295
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
1296
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
1297
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active")] = None,
|
|
1298
|
+
filter_from_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13")] = None,
|
|
1299
|
+
filter_to_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13")] = None,
|
|
1300
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
1301
|
+
_request_timeout: Union[
|
|
1302
|
+
None,
|
|
1303
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1304
|
+
Tuple[
|
|
1305
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1306
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1307
|
+
]
|
|
1308
|
+
] = None,
|
|
1309
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1310
|
+
_content_type: Optional[StrictStr] = None,
|
|
1311
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1312
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1313
|
+
) -> ApiResponse[ListRecurringRepayments200Response]:
|
|
1314
|
+
"""List recurring repayments
|
|
1315
|
+
|
|
1316
|
+
List recurring repayments resources. Filtering, paging and sorting can be applied.
|
|
1317
|
+
|
|
1318
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
1319
|
+
:type page_limit: str
|
|
1320
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
1321
|
+
:type page_offset: str
|
|
1322
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
1323
|
+
:type filter_credit_account_id: str
|
|
1324
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
1325
|
+
:type filter_customer_id: str
|
|
1326
|
+
:param filter_status: Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active
|
|
1327
|
+
:type filter_status: str
|
|
1328
|
+
:param filter_from_start_time: Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13
|
|
1329
|
+
:type filter_from_start_time: str
|
|
1330
|
+
:param filter_to_start_time: Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13
|
|
1331
|
+
:type filter_to_start_time: str
|
|
1332
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
1333
|
+
:type sort: str
|
|
1334
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1335
|
+
number provided, it will be total request
|
|
1336
|
+
timeout. It can also be a pair (tuple) of
|
|
1337
|
+
(connection, read) timeouts.
|
|
1338
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1339
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1340
|
+
request; this effectively ignores the
|
|
1341
|
+
authentication in the spec for a single request.
|
|
1342
|
+
:type _request_auth: dict, optional
|
|
1343
|
+
:param _content_type: force content-type for the request.
|
|
1344
|
+
:type _content_type: str, Optional
|
|
1345
|
+
:param _headers: set to override the headers for a single
|
|
1346
|
+
request; this effectively ignores the headers
|
|
1347
|
+
in the spec for a single request.
|
|
1348
|
+
:type _headers: dict, optional
|
|
1349
|
+
:param _host_index: set to override the host_index for a single
|
|
1350
|
+
request; this effectively ignores the host_index
|
|
1351
|
+
in the spec for a single request.
|
|
1352
|
+
:type _host_index: int, optional
|
|
1353
|
+
:return: Returns the result object.
|
|
1354
|
+
""" # noqa: E501
|
|
1355
|
+
|
|
1356
|
+
_param = self._list_recurring_repayments_serialize(
|
|
1357
|
+
page_limit=page_limit,
|
|
1358
|
+
page_offset=page_offset,
|
|
1359
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
1360
|
+
filter_customer_id=filter_customer_id,
|
|
1361
|
+
filter_status=filter_status,
|
|
1362
|
+
filter_from_start_time=filter_from_start_time,
|
|
1363
|
+
filter_to_start_time=filter_to_start_time,
|
|
1364
|
+
sort=sort,
|
|
1365
|
+
_request_auth=_request_auth,
|
|
1366
|
+
_content_type=_content_type,
|
|
1367
|
+
_headers=_headers,
|
|
1368
|
+
_host_index=_host_index
|
|
1369
|
+
)
|
|
1370
|
+
|
|
1371
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1372
|
+
'200': "ListRecurringRepayments200Response",
|
|
1373
|
+
'400': "ErrorDocument",
|
|
1374
|
+
'401': "ErrorDocument",
|
|
1375
|
+
'404': "ErrorDocument",
|
|
1376
|
+
}
|
|
1377
|
+
response_data = self.api_client.call_api(
|
|
1378
|
+
*_param,
|
|
1379
|
+
_request_timeout=_request_timeout
|
|
1380
|
+
)
|
|
1381
|
+
response_data.read()
|
|
1382
|
+
return self.api_client.response_deserialize(
|
|
1383
|
+
response_data=response_data,
|
|
1384
|
+
response_types_map=_response_types_map,
|
|
1385
|
+
)
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
@validate_call
|
|
1389
|
+
def list_recurring_repayments_without_preload_content(
|
|
1390
|
+
self,
|
|
1391
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.")] = None,
|
|
1392
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip. See Pagination.")] = None,
|
|
1393
|
+
filter_credit_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified credit account id.")] = None,
|
|
1394
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
1395
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active")] = None,
|
|
1396
|
+
filter_from_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13")] = None,
|
|
1397
|
+
filter_to_start_time: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13")] = None,
|
|
1398
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
1399
|
+
_request_timeout: Union[
|
|
1400
|
+
None,
|
|
1401
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1402
|
+
Tuple[
|
|
1403
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1404
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1405
|
+
]
|
|
1406
|
+
] = None,
|
|
1407
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1408
|
+
_content_type: Optional[StrictStr] = None,
|
|
1409
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1410
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1411
|
+
) -> RESTResponseType:
|
|
1412
|
+
"""List recurring repayments
|
|
1413
|
+
|
|
1414
|
+
List recurring repayments resources. Filtering, paging and sorting can be applied.
|
|
1415
|
+
|
|
1416
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
|
|
1417
|
+
:type page_limit: str
|
|
1418
|
+
:param page_offset: Optional. Number of resources to skip. See Pagination.
|
|
1419
|
+
:type page_offset: str
|
|
1420
|
+
:param filter_credit_account_id: Optional. Filters the results by the specified credit account id.
|
|
1421
|
+
:type filter_credit_account_id: str
|
|
1422
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
1423
|
+
:type filter_customer_id: str
|
|
1424
|
+
:param filter_status: Optional. Filter recurring repayments by status (Active or Disabled). Usage example: *filter[status]=Active
|
|
1425
|
+
:type filter_status: str
|
|
1426
|
+
:param filter_from_start_time: Optional. Filters the Recurring Repayments that their start time occurred *after* the specified date. e.g. 2022-06-13
|
|
1427
|
+
:type filter_from_start_time: str
|
|
1428
|
+
:param filter_to_start_time: Optional. Filters the Recurring Repayments that their start time occurred *before* the specified date. e.g. 2022-05-13
|
|
1429
|
+
:type filter_to_start_time: str
|
|
1430
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
1431
|
+
:type sort: str
|
|
1432
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1433
|
+
number provided, it will be total request
|
|
1434
|
+
timeout. It can also be a pair (tuple) of
|
|
1435
|
+
(connection, read) timeouts.
|
|
1436
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1437
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1438
|
+
request; this effectively ignores the
|
|
1439
|
+
authentication in the spec for a single request.
|
|
1440
|
+
:type _request_auth: dict, optional
|
|
1441
|
+
:param _content_type: force content-type for the request.
|
|
1442
|
+
:type _content_type: str, Optional
|
|
1443
|
+
:param _headers: set to override the headers for a single
|
|
1444
|
+
request; this effectively ignores the headers
|
|
1445
|
+
in the spec for a single request.
|
|
1446
|
+
:type _headers: dict, optional
|
|
1447
|
+
:param _host_index: set to override the host_index for a single
|
|
1448
|
+
request; this effectively ignores the host_index
|
|
1449
|
+
in the spec for a single request.
|
|
1450
|
+
:type _host_index: int, optional
|
|
1451
|
+
:return: Returns the result object.
|
|
1452
|
+
""" # noqa: E501
|
|
1453
|
+
|
|
1454
|
+
_param = self._list_recurring_repayments_serialize(
|
|
1455
|
+
page_limit=page_limit,
|
|
1456
|
+
page_offset=page_offset,
|
|
1457
|
+
filter_credit_account_id=filter_credit_account_id,
|
|
1458
|
+
filter_customer_id=filter_customer_id,
|
|
1459
|
+
filter_status=filter_status,
|
|
1460
|
+
filter_from_start_time=filter_from_start_time,
|
|
1461
|
+
filter_to_start_time=filter_to_start_time,
|
|
1462
|
+
sort=sort,
|
|
1463
|
+
_request_auth=_request_auth,
|
|
1464
|
+
_content_type=_content_type,
|
|
1465
|
+
_headers=_headers,
|
|
1466
|
+
_host_index=_host_index
|
|
1467
|
+
)
|
|
1468
|
+
|
|
1469
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1470
|
+
'200': "ListRecurringRepayments200Response",
|
|
1471
|
+
'400': "ErrorDocument",
|
|
1472
|
+
'401': "ErrorDocument",
|
|
1473
|
+
'404': "ErrorDocument",
|
|
1474
|
+
}
|
|
1475
|
+
response_data = self.api_client.call_api(
|
|
1476
|
+
*_param,
|
|
1477
|
+
_request_timeout=_request_timeout
|
|
1478
|
+
)
|
|
1479
|
+
return response_data.response
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
def _list_recurring_repayments_serialize(
|
|
1483
|
+
self,
|
|
1484
|
+
page_limit,
|
|
1485
|
+
page_offset,
|
|
1486
|
+
filter_credit_account_id,
|
|
1487
|
+
filter_customer_id,
|
|
1488
|
+
filter_status,
|
|
1489
|
+
filter_from_start_time,
|
|
1490
|
+
filter_to_start_time,
|
|
1491
|
+
sort,
|
|
1492
|
+
_request_auth,
|
|
1493
|
+
_content_type,
|
|
1494
|
+
_headers,
|
|
1495
|
+
_host_index,
|
|
1496
|
+
) -> RequestSerialized:
|
|
1497
|
+
|
|
1498
|
+
_host = None
|
|
1499
|
+
|
|
1500
|
+
_collection_formats: Dict[str, str] = {
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
_path_params: Dict[str, str] = {}
|
|
1504
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1505
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1506
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1507
|
+
_files: Dict[
|
|
1508
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1509
|
+
] = {}
|
|
1510
|
+
_body_params: Optional[bytes] = None
|
|
1511
|
+
|
|
1512
|
+
# process the path parameters
|
|
1513
|
+
# process the query parameters
|
|
1514
|
+
if page_limit is not None:
|
|
1515
|
+
|
|
1516
|
+
_query_params.append(('page[limit]', page_limit))
|
|
1517
|
+
|
|
1518
|
+
if page_offset is not None:
|
|
1519
|
+
|
|
1520
|
+
_query_params.append(('page[offset]', page_offset))
|
|
1521
|
+
|
|
1522
|
+
if filter_credit_account_id is not None:
|
|
1523
|
+
|
|
1524
|
+
_query_params.append(('filter[creditAccountId]', filter_credit_account_id))
|
|
1525
|
+
|
|
1526
|
+
if filter_customer_id is not None:
|
|
1527
|
+
|
|
1528
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
1529
|
+
|
|
1530
|
+
if filter_status is not None:
|
|
1531
|
+
|
|
1532
|
+
_query_params.append(('filter[status]', filter_status))
|
|
1533
|
+
|
|
1534
|
+
if filter_from_start_time is not None:
|
|
1535
|
+
|
|
1536
|
+
_query_params.append(('filter[fromStartTime]', filter_from_start_time))
|
|
1537
|
+
|
|
1538
|
+
if filter_to_start_time is not None:
|
|
1539
|
+
|
|
1540
|
+
_query_params.append(('filter[toStartTime]', filter_to_start_time))
|
|
1541
|
+
|
|
1542
|
+
if sort is not None:
|
|
1543
|
+
|
|
1544
|
+
_query_params.append(('sort', sort))
|
|
1545
|
+
|
|
1546
|
+
# process the header parameters
|
|
1547
|
+
# process the form parameters
|
|
1548
|
+
# process the body parameter
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
# set the HTTP header `Accept`
|
|
1552
|
+
if 'Accept' not in _header_params:
|
|
1553
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1554
|
+
[
|
|
1555
|
+
'application/vnd.api+json'
|
|
1556
|
+
]
|
|
1557
|
+
)
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
# authentication setting
|
|
1561
|
+
_auth_settings: List[str] = [
|
|
1562
|
+
'bearerAuth'
|
|
1563
|
+
]
|
|
1564
|
+
|
|
1565
|
+
return self.api_client.param_serialize(
|
|
1566
|
+
method='GET',
|
|
1567
|
+
resource_path='/recurring-repayments',
|
|
1568
|
+
path_params=_path_params,
|
|
1569
|
+
query_params=_query_params,
|
|
1570
|
+
header_params=_header_params,
|
|
1571
|
+
body=_body_params,
|
|
1572
|
+
post_params=_form_params,
|
|
1573
|
+
files=_files,
|
|
1574
|
+
auth_settings=_auth_settings,
|
|
1575
|
+
collection_formats=_collection_formats,
|
|
1576
|
+
_host=_host,
|
|
1577
|
+
_request_auth=_request_auth
|
|
1578
|
+
)
|
|
1579
|
+
|
|
1580
|
+
|