From 43c26285b2ade08f737c9f69819b051e1cda5c2b Mon Sep 17 00:00:00 2001 From: Rett Behrens Date: Tue, 12 Oct 2021 13:21:08 -0600 Subject: [PATCH 1/2] generates from OAS 2.17.1 minus finance API --- docs/v1/accounting/index.html | 168 ++++++++++++++---- setup.py | 2 +- xero_python/__init__.py | 2 +- xero_python/accounting/api/accounting_api.py | 19 +- xero_python/accounting/docs/AccountingApi.md | 54 +++--- xero_python/accounting/docs/BankTransfer.md | 3 + xero_python/accounting/docs/BudgetBalance.md | 4 +- .../accounting/models/bank_transfer.py | 87 +++++++++ .../accounting/models/budget_balance.py | 12 +- 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/identity/api/identity_api.py | 2 +- xero_python/payrollau/api/payroll_au_api.py | 14 +- xero_python/payrollau/docs/PayrollAuApi.md | 26 +-- xero_python/payrollau/models/earnings_type.py | 2 + .../payrollau/models/manual_tax_type.py | 1 + xero_python/payrollnz/api/payroll_nz_api.py | 46 +++-- xero_python/payrollnz/docs/PayrollNZApi.md | 32 ++-- xero_python/payrolluk/api/payroll_uk_api.py | 24 ++- xero_python/payrolluk/docs/PayrollUkApi.md | 20 ++- xero_python/payrolluk/models/earnings_rate.py | 4 +- xero_python/project/api/project_api.py | 2 +- 24 files changed, 393 insertions(+), 141 deletions(-) diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index fea3018a..bd7a6786 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -1512,6 +1512,22 @@ "format" : "uuid", "readOnly" : true }, + "FromIsReconciled" : { + "type" : "boolean", + "description" : "The Bank Transaction boolean to show if it is reconciled for the source account", + "example" : false, + "default" : false + }, + "ToIsReconciled" : { + "type" : "boolean", + "description" : "The Bank Transaction boolean to show if it is reconciled for the destination account", + "example" : false, + "default" : false + }, + "Reference" : { + "type" : "string", + "description" : "Reference for the transactions." + }, "HasAttachments" : { "type" : "boolean", "description" : "Boolean to indicate if a Bank Transfer has an attachment", @@ -1828,12 +1844,16 @@ "x-is-msdate" : true }, "Amount" : { - "type" : "integer", - "description" : "LineItem Quantity" + "type" : "number", + "description" : "LineItem Quantity", + "format" : "double", + "x-is-money" : true }, "UnitAmount" : { - "type" : "integer", - "description" : "Budgeted amount" + "type" : "number", + "description" : "Budgeted amount", + "format" : "double", + "x-is-money" : true }, "Notes" : { "maxLength" : 255, @@ -5936,7 +5956,7 @@