diff --git a/lib/avatax/client/certificates.rb b/lib/avatax/client/certificates.rb
index e03e404..52f3020 100644
--- a/lib/avatax/client/certificates.rb
+++ b/lib/avatax/client/certificates.rb
@@ -291,7 +291,7 @@ def list_customers_for_certificate(companyId, id, options={}) path = "/ap
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company to search
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
diff --git a/lib/avatax/client/customers.rb b/lib/avatax/client/customers.rb
index 64d76e3..11b3ee0 100644
--- a/lib/avatax/client/customers.rb
+++ b/lib/avatax/client/customers.rb
@@ -228,7 +228,7 @@ def list_attributes_for_customer(companyId, customerCode) path = "/api/v2
# @param companyId [Integer] The unique ID number of the company that recorded this customer
# @param customerCode [String] The unique code representing this customer
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -294,7 +294,7 @@ def list_valid_certificates_for_customer(companyId, customerCode, country, regio
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
# @param include [String] OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer.
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* shipTos
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
diff --git a/lib/avatax/client/items.rb b/lib/avatax/client/items.rb
index db487ff..a24e665 100644
--- a/lib/avatax/client/items.rb
+++ b/lib/avatax/client/items.rb
@@ -17,7 +17,7 @@ module Items
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemId [Integer] The ID of the item you wish to delete the classifications.
- # @return [ErrorDetail[]]
+ # @return [AssociatedObjectDeletedErrorDetailsModel[]]
def batch_delete_item_classifications(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
delete(path, {}, AvaTax::VERSION) end
@@ -37,7 +37,7 @@ def batch_delete_item_classifications(companyId, itemId) path = "/api/v2/
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemId [Integer] The ID of the item you wish to delete the parameters.
- # @return [ErrorDetail[]]
+ # @return [AssociatedObjectDeletedErrorDetailsModel[]]
def batch_delete_item_parameters(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters"
delete(path, {}, AvaTax::VERSION) end
@@ -191,7 +191,7 @@ def create_tax_code_classification_request(companyId, model) path = "/api
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemCode [String] The code of the item you want to delete.
- # @return [ErrorDetail[]]
+ # @return [ObjectDeletedErrorModel[]]
def delete_catalogue_item(companyId, itemCode) path = "/api/v2/companies/#{companyId}/itemcatalogue/#{itemCode}"
delete(path, {}, AvaTax::VERSION) end
@@ -213,7 +213,7 @@ def delete_catalogue_item(companyId, itemCode) path = "/api/v2/companies/
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param id [Integer] The ID of the item you wish to delete.
- # @return [ErrorDetail[]]
+ # @return [ObjectDeletedErrorModel[]]
def delete_item(companyId, id) path = "/api/v2/companies/#{companyId}/items/#{id}"
delete(path, {}, AvaTax::VERSION) end
@@ -232,7 +232,7 @@ def delete_item(companyId, id) path = "/api/v2/companies/#{companyId}/ite
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
# @param id [Integer] The item classification id.
- # @return [ErrorDetail[]]
+ # @return [ObjectDeletedErrorModel[]]
def delete_item_classification(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications/#{id}"
delete(path, {}, AvaTax::VERSION) end
@@ -253,7 +253,7 @@ def delete_item_classification(companyId, itemId, id) path = "/api/v2/com
# @param companyId [Integer] The company id
# @param itemId [Integer] The item id
# @param id [Integer] The parameter id
- # @return [ErrorDetail[]]
+ # @return [ObjectDeletedErrorModel[]]
def delete_item_parameter(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters/#{id}"
delete(path, {}, AvaTax::VERSION) end
@@ -270,7 +270,7 @@ def delete_item_parameter(companyId, itemId, id) path = "/api/v2/companie
# @param companyId [Integer] The ID of the company that defined these items
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
# @param itemTagDetailId [Integer] The ID of the item tag detail you wish to delete.
- # @return [ErrorDetail[]]
+ # @return [ObjectDeletedErrorModel[]]
def delete_item_tag(companyId, itemId, itemTagDetailId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags/#{itemTagDetailId}"
delete(path, {}, AvaTax::VERSION) end
@@ -286,7 +286,7 @@ def delete_item_tag(companyId, itemId, itemTagDetailId) path = "/api/v2/c
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items.
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
- # @return [ErrorDetail[]]
+ # @return [AssociatedObjectDeletedErrorDetailsModel[]]
def delete_item_tags(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags"
delete(path, {}, AvaTax::VERSION) end
@@ -380,7 +380,7 @@ def get_item_tags(companyId, itemId, options={}) path = "/api/v2/companie
# Swagger Name: AvaTaxClient
# @param companyId [Integer]
# @param itemId [Integer]
- # @return [Object]
+ # @return [TaxCodeRecommendationOutputModel[]]
def get_item_tax_code_recommendations(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/taxcoderecommendations"
get(path, {}, AvaTax::VERSION) end
@@ -513,13 +513,14 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c
# * Classifications
# * Tags
# * Properties
+ # * TaxCodeRecommendationStatus
#
# ### Security Policies
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
@@ -549,7 +550,7 @@ def list_items_by_company(companyId, options={}) path = "/api/v2/companie
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
@@ -606,7 +607,7 @@ def query_items_by_system_code(companyId, systemCode, model, options={})
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items.
# @param tag [String] The master tag to be associated with item.
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
# @param include [String] A comma separated list of additional data to retrieve.
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
@@ -681,10 +682,11 @@ def sync_items(companyId, model) path = "/api/v2/companies/#{companyId}/i
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this item belongs to.
# @param id [Integer] The ID of the item you wish to update
+ # @param isRecommendationSelected [Boolean] If true then Set recommendation status to RecommendationSelected
# @param model [Object] The item object you wish to update.
# @return [Object]
- def update_item(companyId, id, model) path = "/api/v2/companies/#{companyId}/items/#{id}"
- put(path, model, {}, AvaTax::VERSION) end
+ def update_item(companyId, id, model, options={}) path = "/api/v2/companies/#{companyId}/items/#{id}"
+ put(path, model, options, AvaTax::VERSION) end
# Update an item classification.
#
diff --git a/lib/avatax/version.rb b/lib/avatax/version.rb
index e13cfeb..c901bcd 100644
--- a/lib/avatax/version.rb
+++ b/lib/avatax/version.rb
@@ -1,3 +1,3 @@
module AvaTax
- VERSION = '24.6.1'.freeze unless defined?(::AvaTax::VERSION)
+ VERSION = '24.6.3'.freeze unless defined?(::AvaTax::VERSION)
end