From 1679cd12e93656ef782e22f67a4308010def9436 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sun, 17 May 2026 22:34:41 +0000 Subject: [PATCH] Releasing 16.0.0 (OAS: 14.0.0) --- Xero.NetStandard.OAuth2/Api/AccountingApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/AppStoreApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/AssetApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/FilesApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/FinanceApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/IdentityApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs | 2 +- Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs | 2 +- Xero.NetStandard.OAuth2/Api/ProjectApi.cs | 2 +- Xero.NetStandard.OAuth2/Client/Configuration.cs | 8 ++++---- Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs | 8 +++++++- .../Model/PayrollNz/EmployeePayTemplate.cs | 8 ++++++++ .../Model/PayrollUk/EmployeePayTemplate.cs | 8 ++++++++ Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj | 2 +- docs/accounting/index.html | 4 ++-- docs/appstore/index.html | 2 +- docs/assets/index.html | 2 +- docs/bankfeeds/index.html | 2 +- docs/files/index.html | 2 +- docs/finance/index.html | 2 +- docs/payroll-au-v2/index.html | 2 +- docs/payroll-au/index.html | 2 +- docs/payroll-nz/index.html | 4 ++-- docs/payroll-uk/index.html | 4 ++-- docs/projects/index.html | 2 +- 28 files changed, 54 insertions(+), 32 deletions(-) diff --git a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs index 35c36870..10c51a9f 100644 --- a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs +++ b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs b/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs index 1248d17c..b858067b 100644 --- a/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs +++ b/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/AssetApi.cs b/Xero.NetStandard.OAuth2/Api/AssetApi.cs index 1324fd3d..965633a4 100644 --- a/Xero.NetStandard.OAuth2/Api/AssetApi.cs +++ b/Xero.NetStandard.OAuth2/Api/AssetApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs b/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs index f1ae5923..02ce046b 100644 --- a/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs +++ b/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/FilesApi.cs b/Xero.NetStandard.OAuth2/Api/FilesApi.cs index 6026cf8a..52b0e536 100644 --- a/Xero.NetStandard.OAuth2/Api/FilesApi.cs +++ b/Xero.NetStandard.OAuth2/Api/FilesApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/FinanceApi.cs b/Xero.NetStandard.OAuth2/Api/FinanceApi.cs index 99a18c67..b164a306 100644 --- a/Xero.NetStandard.OAuth2/Api/FinanceApi.cs +++ b/Xero.NetStandard.OAuth2/Api/FinanceApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs index 43603b16..abc7e2a8 100644 --- a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs +++ b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs index 31ff423b..c00e9067 100644 --- a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs +++ b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs index f59be32c..45f00c13 100644 --- a/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs +++ b/Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs index be3cf9e7..5a59e74e 100644 --- a/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs +++ b/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs index cbe07e1a..e3a349e3 100644 --- a/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs +++ b/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Api/ProjectApi.cs b/Xero.NetStandard.OAuth2/Api/ProjectApi.cs index fd0d2609..95f6dea8 100644 --- a/Xero.NetStandard.OAuth2/Api/ProjectApi.cs +++ b/Xero.NetStandard.OAuth2/Api/ProjectApi.cs @@ -7,7 +7,7 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ -// The version of the OpenAPI document: 13.0.0 +// The version of the OpenAPI document: 14.0.0 using System; diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs index f3de9d23..3d5a330b 100644 --- a/Xero.NetStandard.OAuth2/Client/Configuration.cs +++ b/Xero.NetStandard.OAuth2/Client/Configuration.cs @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "15.0.0"; + public const string Version = "16.0.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -103,7 +103,7 @@ public class Configuration : IReadableConfiguration [System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] public Configuration() { - UserAgent = "xero-netstandard-15.0.0"; + UserAgent = "xero-netstandard-16.0.0"; BasePath = "https://api.xero.com/api.xro/2.0"; DefaultHeader = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -341,8 +341,8 @@ public static String ToDebugReport() { String report = "C# SDK (Xero.NetStandard.OAuth2) Debug Report:\n"; report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n"; - report += " Version of the API: 13.0.0\n"; - report += " SDK Package Version: 15.0.0\n"; + report += " Version of the API: 14.0.0\n"; + report += " SDK Package Version: 16.0.0\n"; return report; } diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs index ac1da4bf..11dd40c3 100644 --- a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs +++ b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs @@ -701,7 +701,13 @@ public enum ClassEnum /// Enum SIMPLE for value: SIMPLE /// [EnumMember(Value = "SIMPLE")] - SIMPLE = 21 + SIMPLE = 21, + + /// + /// Enum BASICLITE for value: BASICLITE + /// + [EnumMember(Value = "BASICLITE")] + BASICLITE = 22 } diff --git a/Xero.NetStandard.OAuth2/Model/PayrollNz/EmployeePayTemplate.cs b/Xero.NetStandard.OAuth2/Model/PayrollNz/EmployeePayTemplate.cs index 31227d37..00eb7cff 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollNz/EmployeePayTemplate.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollNz/EmployeePayTemplate.cs @@ -30,6 +30,14 @@ namespace Xero.NetStandard.OAuth2.Model.PayrollNz [DataContract] public partial class EmployeePayTemplate : IEquatable, IValidatableObject { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public EmployeePayTemplate() + { + EarningTemplates = new List(); + } /// /// Unique identifier for the employee diff --git a/Xero.NetStandard.OAuth2/Model/PayrollUk/EmployeePayTemplate.cs b/Xero.NetStandard.OAuth2/Model/PayrollUk/EmployeePayTemplate.cs index fdea478c..62bc2b84 100644 --- a/Xero.NetStandard.OAuth2/Model/PayrollUk/EmployeePayTemplate.cs +++ b/Xero.NetStandard.OAuth2/Model/PayrollUk/EmployeePayTemplate.cs @@ -30,6 +30,14 @@ namespace Xero.NetStandard.OAuth2.Model.PayrollUk [DataContract] public partial class EmployeePayTemplate : IEquatable, IValidatableObject { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public EmployeePayTemplate() + { + EarningTemplates = new List(); + } /// /// Unique identifier for the employee diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj index 8d36c82f..63f7a8ee 100644 --- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj +++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj @@ -16,7 +16,7 @@ true true Xero.NetStandard.OAuth2 - 15.0.0 + 16.0.0 bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xml https://github.com/XeroAPI/Xero-NetStandard/ https://en.gravatar.com/userimage/180557955/74b3a957d886bc921b0d1455beed9dab.png diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 9471dd0c..0efc3952 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -4198,7 +4198,7 @@ "Class" : { "type" : "string", "description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)", - "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE" ] + "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "ULTIMATE_10", "ULTIMATE_20", "ULTIMATE_50", "ULTIMATE_100", "IGNITE", "GROW", "COMPREHENSIVE", "SIMPLE", "BASICLITE" ] }, "Edition" : { "type" : "string", @@ -6362,7 +6362,7 @@