Skip to content

Commit

Permalink
Merge pull request #153 from avadev/23.6.1
Browse files Browse the repository at this point in the history
Update for 23.6.1
  • Loading branch information
svc-developer authored Jun 15, 2023
2 parents b7061ac + f0b64f9 commit 0185290
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 58 deletions.
2 changes: 1 addition & 1 deletion lib/avatax/client/items.rb
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def list_import_restrictions(companyId, itemCode, countryOfImport, options={})
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
# @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/).<br />*Not filterable:* productCode, systemCode
# @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/).<br />*Not filterable:* productCode, systemCode, IsPremium
# @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`.
Expand Down
56 changes: 0 additions & 56 deletions lib/avatax/client/registrar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,6 @@ def create_account(model) path = "/api/v2/accounts"
def create_notifications(model) path = "/api/v2/notifications"
post(path, model, {}, AvaTax::VERSION) end

# Create Avalara-supported subscription (ServiceTypes)
#
# For Registrar Use Only
# This API is for use by Avalara Registrar administrative users only.
#
# Create one service/subscription object.
#
# Returns the newly created Avalara-supported subscription (service) type.
# This API is intended to be useful for adding new Avalara-supported subscription type (service type).
# You may always contact Avalara's sales department for information on available products or services.
#
# ### Security Policies
#
# * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param model [Object] The subscription type object you wish to create.
# @return [Object]
def create_service_types(model) path = "/api/v2/servicetypes"
post(path, model, {}, AvaTax::VERSION) end

# Create a new subscription
#
# This API is for use by Avalara Registrar administrative users only.
Expand Down Expand Up @@ -124,23 +104,6 @@ def delete_account(id) path = "/api/v2/accounts/#{id}"
def delete_notification(id) path = "/api/v2/notifications/#{id}"
delete(path, {}, AvaTax::VERSION) end

# Delete a single Subscription (ServiceTypes) object
#
# For Registrar Use Only
# This API is for use by Avalara Registrar administrative users only.
#
# Marks the Subscription (ServiceTypes) object identified by this URL as deleted.
# This API is useful for deleting an existing Avalara-supported subscription type (service type).
#
# ### Security Policies
#
# * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of the Subscription object you wish to delete.
# @return [ErrorDetail[]]
def delete_service_type(id) path = "/api/v2/servicetypes/#{id}"
delete(path, {}, AvaTax::VERSION) end

# Delete a single subscription
#
# # For Registrar Use Only
Expand Down Expand Up @@ -242,25 +205,6 @@ def update_account(id, model) path = "/api/v2/accounts/#{id}"
def update_notification(id, model) path = "/api/v2/notifications/#{id}"
put(path, model, {}, AvaTax::VERSION) end

# Update existing Avalara-supported subscription (ServiceTypes)
#
# For Registrar Use Only
# This API is for use by Avalara Registrar administrative users only.
#
# Returns the updated Avalara-supported service types.
# This API is intended to be useful for updating an existing subscription(service) type detail.
# You may always contact Avalara's sales department for information on available products or services.
#
# ### Security Policies
#
# * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of the existing subscription type object to replace.
# @param model [Object] The subscription type object to update.
# @return [Object]
def update_service_type(id, model) path = "/api/v2/servicetypes/#{id}"
put(path, model, {}, AvaTax::VERSION) end

# Update a single subscription
#
# # 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 = '23.5.0'.freeze unless defined?(::AvaTax::VERSION)
VERSION = '23.6.1'.freeze unless defined?(::AvaTax::VERSION)
end

0 comments on commit 0185290

Please sign in to comment.