From 859b1b40895499cac207cc57b2291c112ea5cc5a Mon Sep 17 00:00:00 2001 From: SVC Developer Date: Mon, 2 Aug 2021 18:29:04 +0000 Subject: [PATCH 1/2] 21.7.1 update --- lib/avatax/client/definitions.rb | 11 +++++++++++ lib/avatax/client/items.rb | 1 + lib/avatax/client/registrar.rb | 10 ++++++++++ lib/avatax/version.rb | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/lib/avatax/client/definitions.rb b/lib/avatax/client/definitions.rb index 627d9fc..bd46f20 100644 --- a/lib/avatax/client/definitions.rb +++ b/lib/avatax/client/definitions.rb @@ -38,6 +38,17 @@ def get_cross_border_code(country, hsCode) path = "/api/v2/definitions/cr def get_login_verifier_by_form(form, options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers/#{form}" get(path, options) end + # List all market place locations. + # + # List all market place locations. + # @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`. + # @return [FetchResult] + def list_all_marketplace_locations(options={}) path = "/api/v2/definitions/listallmarketplacelocations" + get(path, options) end + # Retrieve the full list of the AvaFile Forms available # # This API is deprecated. diff --git a/lib/avatax/client/items.rb b/lib/avatax/client/items.rb index aeb8a6e..451d236 100644 --- a/lib/avatax/client/items.rb +++ b/lib/avatax/client/items.rb @@ -375,6 +375,7 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c # # * Parameters # * Classifications + # * Tags # # ### Security Policies # diff --git a/lib/avatax/client/registrar.rb b/lib/avatax/client/registrar.rb index a07ce55..350743b 100644 --- a/lib/avatax/client/registrar.rb +++ b/lib/avatax/client/registrar.rb @@ -115,6 +115,16 @@ def delete_notification(id) path = "/api/v2/notifications/#{id}" def delete_subscription(accountId, id) path = "/api/v2/accounts/#{accountId}/subscriptions/#{id}" delete(path) end + # Retrieve List of Accounts by Account Migration Status + # + # ### Security Policies + # + # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. + # @param writeMode [String] (See TssAccountMigrationId::* for a list of allowable values) + # @return [Object] + def list_accounts_by_tss_write_mode(writeMode) path = "/api/v2/accounts/ListAccountsByTssWriteMode/#{writeMode}" + get(path) end + # Reset a user's password programmatically # # # For Registrar Use Only diff --git a/lib/avatax/version.rb b/lib/avatax/version.rb index 8a721aa..f7ad964 100644 --- a/lib/avatax/version.rb +++ b/lib/avatax/version.rb @@ -1,3 +1,3 @@ module AvaTax - VERSION = '21.6.0'.freeze unless defined?(::AvaTax::VERSION) + VERSION = '21.7.1'.freeze unless defined?(::AvaTax::VERSION) end From f3a5d07f6d6bdf4fdcc01ce6566b33bb2bdb4aef Mon Sep 17 00:00:00 2001 From: SVC Developer Date: Thu, 26 Aug 2021 23:55:09 +0000 Subject: [PATCH 2/2] 21.9.0 update --- lib/avatax/client/definitions.rb | 8 ++++---- lib/avatax/client/items.rb | 3 +++ lib/avatax/client/nexus.rb | 4 ++-- lib/avatax/version.rb | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/avatax/client/definitions.rb b/lib/avatax/client/definitions.rb index bd46f20..2c0b12b 100644 --- a/lib/avatax/client/definitions.rb +++ b/lib/avatax/client/definitions.rb @@ -372,7 +372,7 @@ def list_marketplace_locations(options={}) path = "/api/v2/definitions/ma # Returns the full list of all Avalara-supported nexus for all countries and regions. # # This API is intended to be useful if your user interface needs to display a selectable list of nexus. - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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`. @@ -394,7 +394,7 @@ def list_nexus(options={}) path = "/api/v2/definitions/nexus" # @param region [String] Name or ISO 3166 code identifying the region portion of the address. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`. # @param postalCode [String] The postal code or zip code portion of this address. # @param country [String] Name or ISO 3166 code identifying the country portion of this address. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`. - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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`. @@ -408,7 +408,7 @@ def list_nexus_by_address(options={}) path = "/api/v2/definitions/nexus/b # # This API is intended to be useful if your user interface needs to display a selectable list of nexus filtered by country. # @param country [String] The country in which you want to fetch the system nexus - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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`. @@ -423,7 +423,7 @@ def list_nexus_by_country(country, options={}) path = "/api/v2/definition # This API is intended to be useful if your user interface needs to display a selectable list of nexus filtered by country and region. # @param country [String] The two-character ISO-3166 code for the country. # @param region [String] The two or three character region code for the region. - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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 451d236..f939d53 100644 --- a/lib/avatax/client/items.rb +++ b/lib/avatax/client/items.rb @@ -371,6 +371,8 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c # # Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. # + # You may specify Tag Name in the `tagName` query parameter if you want to filter items on the basis of tagName + # # You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values: # # * Parameters @@ -386,6 +388,7 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c # @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`. + # @param tagName [String] Tag Name on the basis of which you want to filter Items # @return [FetchResult] def list_items_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/items" get(path, options) end diff --git a/lib/avatax/client/nexus.rb b/lib/avatax/client/nexus.rb index 6b4d329..b4ebc85 100644 --- a/lib/avatax/client/nexus.rb +++ b/lib/avatax/client/nexus.rb @@ -225,7 +225,7 @@ def get_nexus_parameter(companyId, nexusId, id) path = "/api/v2/companies # # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. # @param companyId [Integer] The ID of the company that owns these nexus objects - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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. @@ -276,7 +276,7 @@ def list_nexus_parameters(companyId, nexusId, options={}) path = "/api/v2 # ### Security Policies # # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. - # @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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus + # @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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus # @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. diff --git a/lib/avatax/version.rb b/lib/avatax/version.rb index f7ad964..01a03c6 100644 --- a/lib/avatax/version.rb +++ b/lib/avatax/version.rb @@ -1,3 +1,3 @@ module AvaTax - VERSION = '21.7.1'.freeze unless defined?(::AvaTax::VERSION) + VERSION = '21.8.0'.freeze unless defined?(::AvaTax::VERSION) end