From ac56d48cbd8e60ab75111d431822384ee9ca7a9a Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 14 Jul 2026 00:03:15 +0000 Subject: [PATCH] Releasing 15.0.0 (OAS: 16.1.0) --- docs/v1/accounting/index.html | 553 +++++++++++++++++- 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-v2/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/__init__.py | 6 + xero_python/accounting/api/accounting_api.py | 190 +++++- xero_python/accounting/docs/AccountingApi.md | 144 ++++- xero_python/accounting/docs/BankTransfer.md | 3 + .../accounting/docs/BankTransferDelete.md | 11 + .../docs/BankTransferDeleteByUrlParam.md | 10 + .../accounting/docs/BankTransfersDelete.md | 10 + xero_python/accounting/docs/CreditNote.md | 1 + xero_python/accounting/docs/Invoice.md | 3 +- xero_python/accounting/docs/Overpayment.md | 1 + xero_python/accounting/docs/Payment.md | 1 + xero_python/accounting/docs/Prepayment.md | 1 + .../accounting/docs/TrackingReference.md | 13 + xero_python/accounting/models/__init__.py | 6 + .../accounting/models/bank_transfer.py | 96 +++ .../accounting/models/bank_transfer_delete.py | 98 ++++ .../bank_transfer_delete_by_url_param.py | 69 +++ .../models/bank_transfers_delete.py | 64 ++ xero_python/accounting/models/credit_note.py | 29 + xero_python/accounting/models/invoice.py | 33 +- xero_python/accounting/models/overpayment.py | 29 + xero_python/accounting/models/payment.py | 29 + xero_python/accounting/models/prepayment.py | 29 + .../accounting/models/tracking_reference.py | 167 ++++++ 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/identity/api/identity_api.py | 2 +- xero_python/payrollau/api/payroll_au_api.py | 2 +- .../payrollauv2/api/payroll_au_v2_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 +- 47 files changed, 1608 insertions(+), 34 deletions(-) create mode 100644 xero_python/accounting/docs/BankTransferDelete.md create mode 100644 xero_python/accounting/docs/BankTransferDeleteByUrlParam.md create mode 100644 xero_python/accounting/docs/BankTransfersDelete.md create mode 100644 xero_python/accounting/docs/TrackingReference.md create mode 100644 xero_python/accounting/models/bank_transfer_delete.py create mode 100644 xero_python/accounting/models/bank_transfer_delete_by_url_param.py create mode 100644 xero_python/accounting/models/bank_transfers_delete.py create mode 100644 xero_python/accounting/models/tracking_reference.py diff --git a/docs/v1/accounting/index.html b/docs/v1/accounting/index.html index 83505ec5..534b424a 100644 --- a/docs/v1/accounting/index.html +++ b/docs/v1/accounting/index.html @@ -1562,6 +1562,26 @@ "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "Status" : { + "type" : "string", + "description" : "AUTHORISED or DELETED (read-only). New bank transfers will have a status of AUTHORISED.", + "readOnly" : true, + "enum" : [ "AUTHORISED", "DELETED" ] + }, + "FromTracking" : { + "type" : "array", + "description" : "Optional Tracking Category for the source account – see Tracking. A bank transfer can have a maximum of 2 tracking categories per account.", + "items" : { + "$ref" : "#/components/schemas/TrackingReference" + } + }, + "ToTracking" : { + "type" : "array", + "description" : "Optional Tracking Category for the destination account – see Tracking. A bank transfer can have a maximum of 2 tracking categories per account.", + "items" : { + "$ref" : "#/components/schemas/TrackingReference" + } + }, "ValidationErrors" : { "type" : "array", "description" : "Displays array of validation error messages from the API", @@ -1574,6 +1594,43 @@ "externalDocs" : { "url" : "http://developer.xero.com/documentation/api/bank-transfers/" } +}; + defs["BankTransferDelete"] = { + "title" : "", + "required" : [ "BankTransferID", "Status" ], + "type" : "object", + "properties" : { + "BankTransferID" : { + "type" : "string", + "description" : "The Xero identifier for a bank transfer", + "format" : "uuid" + }, + "Status" : { + "type" : "string", + "description" : "The status of the bank transfer.", + "default" : "DELETED" + } + }, + "description" : "", + "externalDocs" : { + "url" : "http://developer.xero.com/documentation/api/bank-transfers/" + } +}; + defs["BankTransferDeleteByUrlParam"] = { + "title" : "", + "required" : [ "Status" ], + "type" : "object", + "properties" : { + "Status" : { + "type" : "string", + "description" : "The status of the bank transfer.", + "default" : "DELETED" + } + }, + "description" : "", + "externalDocs" : { + "url" : "http://developer.xero.com/documentation/api/bank-transfers/" + } }; defs["BankTransfers"] = { "title" : "", @@ -1588,6 +1645,20 @@ }, "description" : "", "x-objectArrayKey" : "bank_transfers" +}; + defs["BankTransfersDelete"] = { + "title" : "", + "type" : "object", + "properties" : { + "BankTransfers" : { + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/BankTransferDelete" + } + } + }, + "description" : "", + "x-objectArrayKey" : "bank_transfers" }; defs["BatchPayment"] = { "title" : "", @@ -2476,6 +2547,12 @@ "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "UpdatedDateUTCString" : { + "type" : "string", + "description" : "UTC ISO-8601 formatted timestamp of last update to the credit note", + "readOnly" : true, + "example" : "2019-11-14T18:10:38Z" + }, "CurrencyCode" : { "$ref" : "#/components/schemas/CurrencyCode" }, @@ -3228,11 +3305,17 @@ }, "UpdatedDateUTC" : { "type" : "string", - "description" : "Last modified date UTC format", + "description" : "UTC timestamp of last update to the invoice", "readOnly" : true, "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "UpdatedDateUTCString" : { + "type" : "string", + "description" : "UTC ISO-8601 formatted timestamp of last update to the invoice", + "readOnly" : true, + "example" : "2019-11-14T18:10:38Z" + }, "CreditNotes" : { "type" : "array", "description" : "Details of credit notes that have been applied to an invoice", @@ -4310,6 +4393,12 @@ "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "UpdatedDateUTCString" : { + "type" : "string", + "description" : "UTC ISO-8601 formatted timestamp of last update to the overpayment", + "readOnly" : true, + "example" : "2019-11-14T18:10:38Z" + }, "CurrencyCode" : { "$ref" : "#/components/schemas/CurrencyCode" }, @@ -4501,6 +4590,12 @@ "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "UpdatedDateUTCString" : { + "type" : "string", + "description" : "UTC ISO-8601 formatted timestamp of last update to the payment", + "readOnly" : true, + "example" : "2019-11-14T18:10:38Z" + }, "PaymentID" : { "type" : "string", "description" : "The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9", @@ -4770,6 +4865,12 @@ "example" : "/Date(1573755038314)/", "x-is-msdate-time" : true }, + "UpdatedDateUTCString" : { + "type" : "string", + "description" : "UTC ISO-8601 formatted timestamp of last update to the prepayment", + "readOnly" : true, + "example" : "2019-11-14T18:10:38Z" + }, "CurrencyCode" : { "$ref" : "#/components/schemas/CurrencyCode" }, @@ -6205,6 +6306,38 @@ }, "description" : "", "x-objectArrayKey" : "options" +}; + defs["TrackingReference"] = { + "title" : "", + "required" : [ "TrackingCategoryID", "TrackingOptionID" ], + "type" : "object", + "properties" : { + "TrackingCategoryID" : { + "type" : "string", + "description" : "The Xero identifier for a tracking category", + "format" : "uuid" + }, + "TrackingOptionID" : { + "type" : "string", + "description" : "The Xero identifier for a tracking category option", + "format" : "uuid" + }, + "Name" : { + "maxLength" : 100, + "type" : "string", + "description" : "The name of the tracking category", + "readOnly" : true + }, + "Option" : { + "type" : "string", + "description" : "See Tracking Options", + "readOnly" : true + } + }, + "description" : "", + "externalDocs" : { + "url" : "http://developer.xero.com/documentation/api/tracking-categories/" + } }; defs["User"] = { "title" : "", @@ -6361,7 +6494,7 @@