Skip to content

Commit

Permalink
Merge pull request #103 from avadev/21.7.1
Browse files Browse the repository at this point in the history
21.7.1 update
  • Loading branch information
shilpakhanal authored Aug 2, 2021
2 parents 99fcee1 + a61b0f0 commit 69822e9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions lib/avatax/client/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions lib/avatax/client/items.rb
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c
#
# * Parameters
# * Classifications
# * Tags
#
# ### Security Policies
#
Expand Down
10 changes: 10 additions & 0 deletions lib/avatax/client/registrar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/avatax/version.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 69822e9

Please sign in to comment.