Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AccountingApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AppStoreApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/AssetApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down Expand Up @@ -772,7 +772,7 @@
requestOptions.HeaderParameters.Add("Accept", accept);


if (status != null)

Check warning on line 775 in Xero.NetStandard.OAuth2/Api/AssetApi.cs

View workflow job for this annotation

GitHub Actions / build-test-lint

The result of the expression is always 'true' since a value of type 'AssetStatusQueryParam' is never equal to 'null' of type 'AssetStatusQueryParam?'
{
foreach (var kvp in Xero.NetStandard.OAuth2.Client.ClientUtils.ParameterToMultiMap("", "status", status))
{
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/FilesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/FinanceApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/IdentityApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/PayrollUkApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Api/ProjectApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

// The version of the OpenAPI document: 12.0.0
// The version of the OpenAPI document: 12.0.2


using System;
Expand Down
8 changes: 4 additions & 4 deletions Xero.NetStandard.OAuth2/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "14.0.0";
public const string Version = "14.0.1";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -103,7 +103,7 @@ public class Configuration : IReadableConfiguration
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
public Configuration()
{
UserAgent = "xero-netstandard-14.0.0";
UserAgent = "xero-netstandard-14.0.1";
BasePath = "https://api.xero.com/api.xro/2.0";
DefaultHeader = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -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: 12.0.0\n";
report += " SDK Package Version: 14.0.0\n";
report += " Version of the API: 12.0.2\n";
report += " SDK Package Version: 14.0.1\n";

return report;
}
Expand Down
100 changes: 98 additions & 2 deletions Xero.NetStandard.OAuth2/Model/Accounting/Organisation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,55 @@ public enum OrganisationTypeEnum
/// Enum TRUST for value: TRUST
/// </summary>
[EnumMember(Value = "TRUST")]
TRUST = 13
TRUST = 13,

/// <summary>
/// Enum PERSONAL for value: PERSONAL
/// </summary>
[EnumMember(Value = "PERSONAL")]
PERSONAL = 14,

/// <summary>
/// Enum SINGLEMEMBERLLC for value: SINGLEMEMBERLLC
/// </summary>
[EnumMember(Value = "SINGLEMEMBERLLC")]
SINGLEMEMBERLLC = 15,

/// <summary>
/// Enum CCORPORATIONLLC for value: CCORPORATIONLLC
/// </summary>
[EnumMember(Value = "CCORPORATIONLLC")]
CCORPORATIONLLC = 16,

/// <summary>
/// Enum PARTNERSHIPLLC for value: PARTNERSHIPLLC
/// </summary>
[EnumMember(Value = "PARTNERSHIPLLC")]
PARTNERSHIPLLC = 17,

/// <summary>
/// Enum SCORPORATIONLLC for value: SCORPORATIONLLC
/// </summary>
[EnumMember(Value = "SCORPORATIONLLC")]
SCORPORATIONLLC = 18,

/// <summary>
/// Enum LLC for value: LLC
/// </summary>
[EnumMember(Value = "LLC")]
LLC = 19,

/// <summary>
/// Enum NOTLLC for value: NOTLLC
/// </summary>
[EnumMember(Value = "NOTLLC")]
NOTLLC = 20,

/// <summary>
/// Enum UNSPECIFIED for value: UNSPECIFIED
/// </summary>
[EnumMember(Value = "UNSPECIFIED")]
UNSPECIFIED = 21

}

Expand Down Expand Up @@ -464,7 +512,55 @@ public enum OrganisationEntityTypeEnum
/// Enum TRUST for value: TRUST
/// </summary>
[EnumMember(Value = "TRUST")]
TRUST = 13
TRUST = 13,

/// <summary>
/// Enum PERSONAL for value: PERSONAL
/// </summary>
[EnumMember(Value = "PERSONAL")]
PERSONAL = 14,

/// <summary>
/// Enum SINGLEMEMBERLLC for value: SINGLEMEMBERLLC
/// </summary>
[EnumMember(Value = "SINGLEMEMBERLLC")]
SINGLEMEMBERLLC = 15,

/// <summary>
/// Enum CCORPORATIONLLC for value: CCORPORATIONLLC
/// </summary>
[EnumMember(Value = "CCORPORATIONLLC")]
CCORPORATIONLLC = 16,

/// <summary>
/// Enum PARTNERSHIPLLC for value: PARTNERSHIPLLC
/// </summary>
[EnumMember(Value = "PARTNERSHIPLLC")]
PARTNERSHIPLLC = 17,

/// <summary>
/// Enum SCORPORATIONLLC for value: SCORPORATIONLLC
/// </summary>
[EnumMember(Value = "SCORPORATIONLLC")]
SCORPORATIONLLC = 18,

/// <summary>
/// Enum LLC for value: LLC
/// </summary>
[EnumMember(Value = "LLC")]
LLC = 19,

/// <summary>
/// Enum NOTLLC for value: NOTLLC
/// </summary>
[EnumMember(Value = "NOTLLC")]
NOTLLC = 20,

/// <summary>
/// Enum UNSPECIFIED for value: UNSPECIFIED
/// </summary>
[EnumMember(Value = "UNSPECIFIED")]
UNSPECIFIED = 21

}

Expand Down
2 changes: 1 addition & 1 deletion Xero.NetStandard.OAuth2/Xero.NetStandard.OAuth2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
<RootNamespace>Xero.NetStandard.OAuth2</RootNamespace>
<Version>14.0.0</Version>
<Version>14.0.1</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Xero.NetStandard.OAuth2.xml</DocumentationFile>
<PackageLicenseUrl>https://github.com/XeroAPI/Xero-NetStandard/</PackageLicenseUrl>
<PackageIconUrl>https://en.gravatar.com/userimage/180557955/74b3a957d886bc921b0d1455beed9dab.png</PackageIconUrl>
Expand Down
6 changes: 3 additions & 3 deletions docs/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4112,7 +4112,7 @@
"OrganisationType" : {
"type" : "string",
"description" : "Organisation Type",
"enum" : [ "ACCOUNTING_PRACTICE", "COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "INDIVIDUAL", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST" ]
"enum" : [ "ACCOUNTING_PRACTICE", "COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "INDIVIDUAL", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST", "PERSONAL", "SINGLEMEMBERLLC", "CCORPORATIONLLC", "PARTNERSHIPLLC", "SCORPORATIONLLC", "LLC", "NOTLLC", "UNSPECIFIED" ]
},
"BaseCurrency" : {
"$ref" : "#/components/schemas/CurrencyCode"
Expand Down Expand Up @@ -4189,7 +4189,7 @@
"OrganisationEntityType" : {
"type" : "string",
"description" : "Organisation Entity Type",
"enum" : [ "ACCOUNTING_PRACTICE", "COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "INDIVIDUAL", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST" ]
"enum" : [ "ACCOUNTING_PRACTICE", "COMPANY", "CHARITY", "CLUB_OR_SOCIETY", "INDIVIDUAL", "LOOK_THROUGH_COMPANY", "NOT_FOR_PROFIT", "PARTNERSHIP", "S_CORPORATION", "SELF_MANAGED_SUPERANNUATION_FUND", "SOLE_TRADER", "SUPERANNUATION_FUND", "TRUST", "PERSONAL", "SINGLEMEMBERLLC", "CCORPORATIONLLC", "PARTNERSHIPLLC", "SCORPORATIONLLC", "LLC", "NOTLLC", "UNSPECIFIED" ]
},
"ShortCode" : {
"type" : "string",
Expand Down Expand Up @@ -6356,7 +6356,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/bankfeeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="BankFeeds"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="BankFeeds"><a href="#api-BankFeeds">Methods</a></li>
<li data-group="BankFeeds" data-name="createFeedConnections" class="">
<a href="#api-BankFeeds-createFeedConnections">createFeedConnections</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getBankStatementAccounting" class="">
<a href="#api-Finance-getBankStatementAccounting">getBankStatementAccounting</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-au-v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAuV2"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="PayrollAuV2"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="PayrollAuV2"><a href="#api-PayrollAuV2">Methods</a></li>
<li data-group="PayrollAuV2" data-name="approveTimesheet" class="">
<a href="#api-PayrollAuV2-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3448,7 +3448,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4069,7 +4069,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3702,7 +3702,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>14.0.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>14.0.1</li>
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
<li data-group="Project" data-name="createProject" class="">
<a href="#api-Project-createProject">createProject</a>
Expand Down
Loading