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