From 7bafb3430e2a71b41ba868069cb38e8f687d6730 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 14 Jul 2026 00:02:50 +0000 Subject: [PATCH 1/3] Releasing 18.0.0 (OAS: 16.1.0) --- docs/v4/accounting/index.html | 558 +++++++++++++++++- docs/v4/appstore/index.html | 2 +- docs/v4/assets/index.html | 2 +- docs/v4/files/index.html | 2 +- docs/v4/finance/index.html | 2 +- docs/v4/payroll-au-v2/index.html | 2 +- docs/v4/payroll-au/index.html | 2 +- docs/v4/payroll-nz/index.html | 2 +- docs/v4/payroll-uk/index.html | 2 +- pom.xml | 2 +- .../com/xero/api/client/AccountingApi.java | 313 +++++++++- .../java/com/xero/api/client/AppStoreApi.java | 4 +- .../java/com/xero/api/client/AssetApi.java | 4 +- .../com/xero/api/client/BankFeedsApi.java | 4 +- .../java/com/xero/api/client/FilesApi.java | 4 +- .../java/com/xero/api/client/FinanceApi.java | 4 +- .../java/com/xero/api/client/IdentityApi.java | 4 +- .../com/xero/api/client/PayrollAuApi.java | 4 +- .../com/xero/api/client/PayrollAuV2Api.java | 4 +- .../com/xero/api/client/PayrollNzApi.java | 4 +- .../com/xero/api/client/PayrollUkApi.java | 4 +- .../java/com/xero/api/client/ProjectApi.java | 4 +- .../xero/models/accounting/BankTransfer.java | 201 +++++++ .../models/accounting/BankTransferDelete.java | 137 +++++ .../BankTransferDeleteByUrlParam.java | 96 +++ .../accounting/BankTransfersDelete.java | 112 ++++ .../xero/models/accounting/CreditNote.java | 25 + .../com/xero/models/accounting/Invoice.java | 35 +- .../xero/models/accounting/Overpayment.java | 25 + .../com/xero/models/accounting/Payment.java | 25 + .../xero/models/accounting/Prepayment.java | 25 + .../models/accounting/TrackingReference.java | 177 ++++++ 32 files changed, 1747 insertions(+), 44 deletions(-) create mode 100644 src/main/java/com/xero/models/accounting/BankTransferDelete.java create mode 100644 src/main/java/com/xero/models/accounting/BankTransferDeleteByUrlParam.java create mode 100644 src/main/java/com/xero/models/accounting/BankTransfersDelete.java create mode 100644 src/main/java/com/xero/models/accounting/TrackingReference.java diff --git a/docs/v4/accounting/index.html b/docs/v4/accounting/index.html index 647e1407..6e1757f6 100644 --- a/docs/v4/accounting/index.html +++ b/docs/v4/accounting/index.html @@ -1560,6 +1560,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", @@ -1572,6 +1592,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" : "", @@ -1586,6 +1643,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" : "", @@ -2474,6 +2545,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" }, @@ -3226,11 +3303,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", @@ -4308,6 +4391,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" }, @@ -4499,6 +4588,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", @@ -4768,6 +4863,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" }, @@ -6203,6 +6304,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" : "", @@ -6357,7 +6490,7 @@