diff --git a/Xero.NetStandard.OAuth2/Api/AccountingApi.cs b/Xero.NetStandard.OAuth2/Api/AccountingApi.cs
index f93585af..9f04311b 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs b/Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
index 50368e00..d5cc4a26 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/AssetApi.cs b/Xero.NetStandard.OAuth2/Api/AssetApi.cs
index 4d22808f..e2295c9a 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs b/Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
index 40c17b18..f579cf3f 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/FilesApi.cs b/Xero.NetStandard.OAuth2/Api/FilesApi.cs
index b47a90bb..4ed8e760 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/FinanceApi.cs b/Xero.NetStandard.OAuth2/Api/FinanceApi.cs
index 18ac16a3..d2794ec1 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/IdentityApi.cs b/Xero.NetStandard.OAuth2/Api/IdentityApi.cs
index 48522c0a..de5a3a6b 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
index c0762657..b2734eb9 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs
index ecb66df7..d949a9d5 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs b/Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
index 2e970048..954ff84e 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Api/ProjectApi.cs b/Xero.NetStandard.OAuth2/Api/ProjectApi.cs
index 7ddd194a..c9927c6b 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: 3.0.3
+// The version of the OpenAPI document: 4.0.0
using System;
diff --git a/Xero.NetStandard.OAuth2/Client/Configuration.cs b/Xero.NetStandard.OAuth2/Client/Configuration.cs
index 20616f87..2fa60aef 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 = "5.0.0";
+ public const string Version = "6.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-5.0.0";
+ UserAgent = "xero-netstandard-6.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: 3.0.3\n";
- report += " SDK Package Version: 5.0.0\n";
+ report += " Version of the API: 4.0.0\n";
+ report += " SDK Package Version: 6.0.0\n";
return report;
}
diff --git a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
index d51a387e..5c4fc375 100644
--- a/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
+++ b/Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
@@ -557,7 +557,25 @@ public enum ClassEnum
/// Enum LITE for value: LITE
///
[EnumMember(Value = "LITE")]
- LITE = 13
+ LITE = 13,
+
+ ///
+ /// Enum IGNITE for value: IGNITE
+ ///
+ [EnumMember(Value = "IGNITE")]
+ IGNITE = 14,
+
+ ///
+ /// Enum GROW for value: GROW
+ ///
+ [EnumMember(Value = "GROW")]
+ GROW = 15,
+
+ ///
+ /// Enum COMPREHENSIVE for value: COMPREHENSIVE
+ ///
+ [EnumMember(Value = "COMPREHENSIVE")]
+ COMPREHENSIVE = 16
}
diff --git a/Xero.NetStandard.OAuth2/Model/Files/Association.cs b/Xero.NetStandard.OAuth2/Model/Files/Association.cs
index 8a41710e..6e51400e 100644
--- a/Xero.NetStandard.OAuth2/Model/Files/Association.cs
+++ b/Xero.NetStandard.OAuth2/Model/Files/Association.cs
@@ -41,6 +41,27 @@ public partial class Association : IEquatable, IValidatableObject
[DataMember(Name="ObjectType", EmitDefaultValue=false)]
public ObjectType ObjectType { get; set; }
+ ///
+ /// Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint.
+ ///
+ /// Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint.
+ [DataMember(Name="SendWithObject", EmitDefaultValue=false)]
+ public bool? SendWithObject { get; set; }
+
+ ///
+ /// The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint.
+ ///
+ /// The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint.
+ [DataMember(Name="Name", EmitDefaultValue=false)]
+ public string Name { get; set; }
+
+ ///
+ /// The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.
+ ///
+ /// The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.
+ [DataMember(Name="Size", EmitDefaultValue=false)]
+ public int? Size { get; set; }
+
///
/// The unique identifier of the file
///
@@ -63,6 +84,9 @@ public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class Association {\n");
+ sb.Append(" SendWithObject: ").Append(SendWithObject).Append("\n");
+ sb.Append(" Name: ").Append(Name).Append("\n");
+ sb.Append(" Size: ").Append(Size).Append("\n");
sb.Append(" FileId: ").Append(FileId).Append("\n");
sb.Append(" ObjectId: ").Append(ObjectId).Append("\n");
sb.Append(" ObjectGroup: ").Append(ObjectGroup).Append("\n");
@@ -101,6 +125,21 @@ public bool Equals(Association input)
return false;
return
+ (
+ this.SendWithObject == input.SendWithObject ||
+ (this.SendWithObject != null &&
+ this.SendWithObject.Equals(input.SendWithObject))
+ ) &&
+ (
+ this.Name == input.Name ||
+ (this.Name != null &&
+ this.Name.Equals(input.Name))
+ ) &&
+ (
+ this.Size == input.Size ||
+ (this.Size != null &&
+ this.Size.Equals(input.Size))
+ ) &&
(
this.FileId == input.FileId ||
(this.FileId != null &&
@@ -130,6 +169,12 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
+ if (this.SendWithObject != null)
+ hashCode = hashCode * 59 + this.SendWithObject.GetHashCode();
+ if (this.Name != null)
+ hashCode = hashCode * 59 + this.Name.GetHashCode();
+ if (this.Size != null)
+ hashCode = hashCode * 59 + this.Size.GetHashCode();
if (this.FileId != null)
hashCode = hashCode * 59 + this.FileId.GetHashCode();
if (this.ObjectId != null)
diff --git a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
index df1c26de..afa00a5e 100644
--- a/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
+++ b/Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
@@ -16,7 +16,7 @@
truetrueXero.NetStandard.OAuth2
- 5.0.0
+ 6.0.0bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xmlhttps://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 ea13e035..5261d6a5 100644
--- a/docs/accounting/index.html
+++ b/docs/accounting/index.html
@@ -4062,7 +4062,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" ]
+ "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE", "IGNITE", "GROW", "COMPREHENSIVE" ]
},
"Edition" : {
"type" : "string",
@@ -6101,7 +6101,7 @@