From f0b64f97350ed84d737447a065df6561a36406c5 Mon Sep 17 00:00:00 2001 From: svc-developer Date: Thu, 15 Jun 2023 17:55:54 +0000 Subject: [PATCH] 23.6.1 --- lib/avatax/client/items.rb | 2 +- lib/avatax/client/registrar.rb | 56 ---------------------------------- lib/avatax/version.rb | 2 +- 3 files changed, 2 insertions(+), 58 deletions(-) diff --git a/lib/avatax/client/items.rb b/lib/avatax/client/items.rb index ed87664..c8d88a1 100644 --- a/lib/avatax/client/items.rb +++ b/lib/avatax/client/items.rb @@ -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/).
*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/).
*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`. diff --git a/lib/avatax/client/registrar.rb b/lib/avatax/client/registrar.rb index 2d0f2c9..3a54ed4 100644 --- a/lib/avatax/client/registrar.rb +++ b/lib/avatax/client/registrar.rb @@ -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. @@ -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 @@ -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 diff --git a/lib/avatax/version.rb b/lib/avatax/version.rb index d7cec61..b19c517 100644 --- a/lib/avatax/version.rb +++ b/lib/avatax/version.rb @@ -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