Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for 24.11.2 #254

Merged
merged 1 commit into from
Nov 12, 2024
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
4 changes: 2 additions & 2 deletions GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
// Revision
//

[assembly: AssemblyVersion("24.10.0")]
[assembly: AssemblyFileVersion("24.10.0")]
[assembly: AssemblyVersion("24.11.2")]
[assembly: AssemblyFileVersion("24.11.2")]
116 changes: 58 additions & 58 deletions src/AvaTaxApi.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Avalara.AvaTax.RestClient.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Avalara.AvaTax</id>

<version>24.10.0</version>
<version>24.11.2</version>

<title>Avalara AvaTax SDK</title>
<description>Add world-class tax estimation and calculation to your project with Avalara's AvaTax suite of APIs and services.</description>
Expand Down
112 changes: 56 additions & 56 deletions src/IAvaTaxClient.cs

Large diffs are not rendered by default.

105 changes: 105 additions & 0 deletions src/enums/ErrorCodeId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,16 @@ public enum ErrorCodeId
/// </summary>
TooManyItemIdsInTaxCodeClassificationRequest = 1742,

/// <summary>
///
/// </summary>
InvalidProductCodeLength = 1743,

/// <summary>
///
/// </summary>
InvalidProductCodeFormat = 1744,

/// <summary>
/// SendSales API errors
/// </summary>
Expand Down Expand Up @@ -1927,5 +1937,100 @@ public enum ErrorCodeId
/// </summary>
UserReconciliationError = 3004,

/// <summary>
/// Occurs when a patch operation is attempted on a field that is not allowed to be patched
/// </summary>
InvalidHttpPatchRequest = 3005,

/// <summary>
/// Occurs when a patch operation other than 'given' operation is performed for the fields
/// </summary>
UnsupportedPatchOperationError = 3006,

/// <summary>
/// Occurs when system code and country code does not have active mapping.
/// </summary>
SystemCodeAndCountryCodeMismatch = 3007,

/// <summary>
/// Occurs when multiple entries for system code and country code exists.
/// </summary>
DuplicateSystemAndCountryForItem = 3008,

/// <summary>
/// Avalara Gateway errors:
/// </summary>
NotFound = 4001,

/// <summary>
///
/// </summary>
Unexpected = 4002,

/// <summary>
///
/// </summary>
NoHostFound = 4003,

/// <summary>
///
/// </summary>
UnexpectedAuth = 4004,

/// <summary>
///
/// </summary>
SiteSelectionFailed = 4006,

/// <summary>
///
/// </summary>
DropDefaultUsername = 4007,

/// <summary>
///
/// </summary>
DropDefaultNotMigrated = 4008,

/// <summary>
///
/// </summary>
DropBearerAuth = 4009,

/// <summary>
///
/// </summary>
SiteSelectionError = 4010,

/// <summary>
///
/// </summary>
RateLimitExceeded = 4011,

/// <summary>
///
/// </summary>
NoHealthySite = 4012,

/// <summary>
///
/// </summary>
ClientDisconnected = 4013,

/// <summary>
///
/// </summary>
ServiceDisconnected = 4014,

/// <summary>
///
/// </summary>
ServiceTimeout = 4015,

/// <summary>
/// Error string from the service unknown
/// </summary>
UnexpectedError = -1,

}
}
5 changes: 5 additions & 0 deletions src/enums/ReportSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,10 @@ public enum ReportSource
/// </summary>
RETURNSAPI = 2,

/// <summary>
/// tax region and tax type
/// </summary>
TAXREGION = 3,

}
}
39 changes: 39 additions & 0 deletions src/enums/ReturnsLiabilityType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;

/*
* AvaTax API Client Library
*
* (c) 2004-2023 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Jonathan Wenger <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Defines returns liability type.
/// </summary>
public enum ReturnsLiabilityType
{
/// <summary>
/// all
/// </summary>
ALL = 0,

/// <summary>
/// original
/// </summary>
ORIGINAL = 1,

/// <summary>
/// amend
/// </summary>
AMENDED = 2,

}
}
39 changes: 39 additions & 0 deletions src/enums/ReturnsReportType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;

/*
* AvaTax API Client Library
*
* (c) 2004-2023 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Jonathan Wenger <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Defines returns report type.
/// </summary>
public enum ReturnsReportType
{
/// <summary>
/// liability summary return detail hospitality
/// </summary>
LIABILITYSUMMARYRETURNDETAILHOSPITALITY = 0,

/// <summary>
/// liability summary return detail
/// </summary>
LIABILITYSUMMARYRETURNDETAIL = 1,

/// <summary>
/// liability carry over credit
/// </summary>
LIABILITYCARRYOVERCREDIT = 2,

}
}
20 changes: 0 additions & 20 deletions src/models/DcvViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,6 @@ public class DcvViewModel
/// </summary>
public String emailId { get; set; }

/// <summary>
/// Domain control verification creation date
/// </summary>
public String createdOn { get; set; }

/// <summary>
/// Domain control verification created by
/// </summary>
public String createdBy { get; set; }

/// <summary>
/// Domain control verification update date
/// </summary>
public String updatedOn { get; set; }

/// <summary>
/// Domain control verification update by
/// </summary>
public String updatedBy { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
Expand Down
5 changes: 5 additions & 0 deletions src/models/ExportDocumentLineModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ public class ExportDocumentLineModel
/// </summary>
public ReportSource? reportSource { get; set; }

/// <summary>
///
/// </summary>
public LiabilityParametersModel liabilityParameters { get; set; }

/// <summary>
/// Defines the compression mode of the result file
/// For compression, the accepted values are: NONE, GZIP
Expand Down
10 changes: 10 additions & 0 deletions src/models/FundingStatusModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ public class FundingStatusModel
/// </summary>
public Int64? templateRequestId { get; set; }

/// <summary>
/// Currency
/// </summary>
public String currency { get; set; }

/// <summary>
/// AgreementType
/// </summary>
public String agreementType { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
Expand Down
70 changes: 70 additions & 0 deletions src/models/LiabilityParametersModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

/*
* AvaTax API Client Library
*
* (c) 2004-2023 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Jonathan Wenger <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// The model for liability parameters definitions
/// </summary>
public class LiabilityParametersModel
{
/// <summary>
/// The type of Returns liability report to be generated
/// </summary>
public ReturnsLiabilityType? liabilityType { get; set; }

/// <summary>
/// The type of Returns report to be generated
/// </summary>
public ReturnsReportType? returnsReportType { get; set; }

/// <summary>
/// The Hospitality Account ID with Subscription Type as AvaLoding
/// </summary>
public Int32? hospitalityAccountId { get; set; }

/// <summary>
/// Filter report based on the year
/// </summary>
public Int32? year { get; set; }

/// <summary>
/// Filter report based on the month
/// </summary>
public object month { get; set; }

/// <summary>
/// Filter report based on the country code
/// </summary>
public String country { get; set; }

/// <summary>
/// Filter report based on the region code or state code
/// </summary>
public String region { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
5 changes: 5 additions & 0 deletions src/models/ReportParametersModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ public class ReportParametersModel
/// </summary>
public String taxSubType { get; set; }

/// <summary>
///
/// </summary>
public LiabilityParametersModel liabilityParameters { get; set; }

/// <summary>
/// Defines the compression mode of the result file
/// For compression, the accepted values are: NONE, GZIP
Expand Down
2 changes: 1 addition & 1 deletion src/models/VarianceResponseModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class VarianceResponseModel
/// <summary>
///
/// </summary>
public List<VarianceResponseEntity> varianceResponses { get; set; }
public List<VarianceResponseEntity> variance { get; set; }


/// <summary>
Expand Down
Loading