From a304fb1adf04b94082f28a572d11705c38ec5669 Mon Sep 17 00:00:00 2001 From: Richard DeMarco Date: Tue, 9 May 2023 13:08:00 -0600 Subject: [PATCH] generates xero-python 1.24.0 from OAS 2.37.0 --- bin/post-generation-hook.sh | 2 +- docs/v1/accounting/index.html | 2 +- docs/v1/appstore/index.html | 2 +- docs/v1/assets/index.html | 2 +- docs/v1/files/index.html | 2 +- docs/v1/finance/index.html | 2 +- docs/v1/payroll-au/index.html | 2 +- docs/v1/payroll-nz/index.html | 2 +- docs/v1/payroll-uk/index.html | 2 +- docs/v1/projects/index.html | 2 +- setup.py | 2 +- xero_python/__init__.py | 2 +- xero_python/accounting/api/accounting_api.py | 2 +- xero_python/accounting/models/currency_code.py | 17 ++++++++++------- xero_python/accounting/models/tax_rate.py | 8 ++++---- xero_python/accounting/models/tax_type.py | 12 ++++++++---- xero_python/api_client/__init__.py | 1 - xero_python/appstore/api/app_store_api.py | 2 +- xero_python/assets/api/asset_api.py | 2 +- xero_python/docs/README.md | 4 ++-- xero_python/file/api/files_api.py | 2 +- xero_python/finance/api/finance_api.py | 2 +- xero_python/finance/docs/StatementResponse.md | 2 +- .../finance/models/statement_response.py | 4 ++-- xero_python/identity/api/identity_api.py | 2 +- xero_python/payrollau/api/payroll_au_api.py | 2 +- xero_python/payrollnz/api/payroll_nz_api.py | 2 +- xero_python/payrolluk/api/payroll_uk_api.py | 2 +- xero_python/project/api/project_api.py | 2 +- 29 files changed, 49 insertions(+), 43 deletions(-) diff --git a/bin/post-generation-hook.sh b/bin/post-generation-hook.sh index 4e89c606..c624a552 100755 --- a/bin/post-generation-hook.sh +++ b/bin/post-generation-hook.sh @@ -2,7 +2,7 @@ SCRIPT_DIR=$(dirname "$0") PROJECT_ROOT=$(realpath "${SCRIPT_DIR}/..") # expects script in bin/ -PATH=${PROJECT_ROOT}/venv/bin:$PATH # expects python environment in venv/ +PATH=${PROJECT_ROOT}/venv/Scripts:$PATH # expects python environment in venv/ command -v black >/dev/null 2>&1 || { echo >&2 "'black' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; } command -v flake8 >/dev/null 2>&1 || { echo >&2 "'flake8' required, but not found. Please read 'Local installation' section in ${PROJECT_ROOT}/CONTRIBUTING.md file. Aborting."; exit 1; } cd "${PROJECT_ROOT}" && black xero_python && flake8 xero_python diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index 9e5deb5a..f2b551b5 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -6008,7 +6008,7 @@