diff --git a/lib/avatax/client/accounts.rb b/lib/avatax/client/accounts.rb
index 8e1592b..7198e89 100644
--- a/lib/avatax/client/accounts.rb
+++ b/lib/avatax/client/accounts.rb
@@ -22,13 +22,13 @@ module Accounts
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account you wish to update.
# @param model [Object] A request confirming that you wish to reset the license key of this account.
# @return [Object]
def account_reset_license_key(id, model) path = "/api/v2/accounts/#{id}/resetlicensekey"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Activate an account by accepting terms and conditions
#
@@ -45,13 +45,13 @@ def account_reset_license_key(id, model) path = "/api/v2/accounts/#{id}/r
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account to activate
# @param model [Object] The activation request
# @return [Object]
def activate_account(id, model) path = "/api/v2/accounts/#{id}/activate"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Retrieve audit history for an account.
#
@@ -72,7 +72,7 @@ def activate_account(id, model) path = "/api/v2/accounts/#{id}/activate"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account you wish to audit.
# @param start [DateTime] The start datetime of audit history you with to retrieve, e.g. "2018-06-08T17:00:00Z". Defaults to the past 15 minutes.
@@ -81,7 +81,7 @@ def activate_account(id, model) path = "/api/v2/accounts/#{id}/activate"
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @return [FetchResult]
def audit_account(id, options={}) path = "/api/v2/accounts/#{id}/audit"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Create license key for this account
#
@@ -98,13 +98,13 @@ def audit_account(id, options={}) path = "/api/v2/accounts/#{id}/audit"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account you wish to update.
# @param model [Object]
# @return [Object]
def create_license_key(id, model) path = "/api/v2/accounts/#{id}/licensekey"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete license key for this account by license key name
#
@@ -116,13 +116,13 @@ def create_license_key(id, model) path = "/api/v2/accounts/#{id}/licensek
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account you wish to update.
# @param licensekeyname [String] The license key name you wish to update.
# @return [ErrorDetail[]]
def delete_license_key(id, licensekeyname) path = "/api/v2/accounts/#{id}/licensekey/#{licensekeyname}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single account
#
@@ -134,13 +134,13 @@ def delete_license_key(id, licensekeyname) path = "/api/v2/accounts/#{id}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account to retrieve
# @param include [String] A comma separated list of special fetch options
# @return [Object]
def get_account(id, options={}) path = "/api/v2/accounts/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Get configuration settings for this account
#
@@ -159,24 +159,24 @@ def get_account(id, options={}) path = "/api/v2/accounts/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [AccountConfigurationModel[]]
def get_account_configuration(id) path = "/api/v2/accounts/#{id}/configuration"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve license key by license key name
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account to retrieve
# @param licensekeyname [String] The ID of the account to retrieve
# @return [Object]
def get_license_key(id, licensekeyname) path = "/api/v2/accounts/#{id}/licensekey/#{licensekeyname}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all license keys for this account
#
@@ -184,12 +184,12 @@ def get_license_key(id, licensekeyname) path = "/api/v2/accounts/#{id}/li
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account to retrieve
# @return [AccountLicenseKeyModel[]]
def get_license_keys(id) path = "/api/v2/accounts/#{id}/licensekeys"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all accounts
#
@@ -208,7 +208,7 @@ def get_license_keys(id) path = "/api/v2/accounts/#{id}/licensekeys"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param include [String] A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name.
# @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:* subscriptions, users
@@ -217,7 +217,7 @@ def get_license_keys(id) path = "/api/v2/accounts/#{id}/licensekeys"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_accounts(options={}) path = "/api/v2/accounts"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Change configuration settings for this account
#
@@ -236,13 +236,13 @@ def query_accounts(options={}) path = "/api/v2/accounts"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @param model [AccountConfigurationModel[]]
# @return [AccountConfigurationModel[]]
def set_account_configuration(id, model) path = "/api/v2/accounts/#{id}/configuration"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/addresses.rb b/lib/avatax/client/addresses.rb
index 2af0367..9066b51 100644
--- a/lib/avatax/client/addresses.rb
+++ b/lib/avatax/client/addresses.rb
@@ -19,7 +19,7 @@ module Addresses
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AutoAddress.
# Swagger Name: AvaTaxClient
# @param line1 [String] Line 1
@@ -32,7 +32,7 @@ module Addresses
# @param textCase [String] selectable text case for address validation (See TextCase::* for a list of allowable values)
# @return [Object]
def resolve_address(options={}) path = "/api/v2/addresses/resolve"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve geolocation information for a specified address
#
@@ -45,13 +45,13 @@ def resolve_address(options={}) path = "/api/v2/addresses/resolve"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AutoAddress.
# Swagger Name: AvaTaxClient
# @param model [Object] The address to resolve
# @return [Object]
def resolve_address_post(model) path = "/api/v2/addresses/resolve"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/advancedrules.rb b/lib/avatax/client/advancedrules.rb
index bcf3a5c..c167999 100644
--- a/lib/avatax/client/advancedrules.rb
+++ b/lib/avatax/client/advancedrules.rb
@@ -12,7 +12,7 @@ module AdvancedRules
# @param model [Object] The lookup file you wish to create
# @return [Object]
def create_company_lookup_file(accountId, companyId, model) path = "/api/v2/advancedrules/accounts/#{accountId}/companies/#{companyId}/lookupFiles"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a lookup file
#
@@ -22,7 +22,7 @@ def create_company_lookup_file(accountId, companyId, model) path = "/api/
# @param id [String] The unique ID/GUID for the company lookup file to be deleted
# @return [ErrorDetail[]]
def delete_lookup_file(accountId, id) path = "/api/v2/advancedrules/accounts/#{accountId}/lookupFiles/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Get the lookup files for a company
#
@@ -32,7 +32,7 @@ def delete_lookup_file(accountId, id) path = "/api/v2/advancedrules/accou
# @param companyId [Integer] The ID of the company for which to retrieve lookup files
# @return [FetchResult]
def get_company_lookup_files(accountId, companyId) path = "/api/v2/advancedrules/accounts/#{accountId}/companies/#{companyId}/lookupFiles"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Get a lookup file for an accountId and companyLookupFileId
#
@@ -42,7 +42,7 @@ def get_company_lookup_files(accountId, companyId) path = "/api/v2/advanc
# @param id [String] The unique ID/GUID of the company lookup file to return
# @return [Object]
def get_lookup_file(accountId, id) path = "/api/v2/advancedrules/accounts/#{accountId}/lookupFiles/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Update a lookup file
#
@@ -53,7 +53,7 @@ def get_lookup_file(accountId, id) path = "/api/v2/advancedrules/accounts
# @param model [Object] The new values to update the lookup file
# @return [Object]
def update_lookup_file(accountId, id, model) path = "/api/v2/advancedrules/accounts/#{accountId}/lookupFiles/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/avafileforms.rb b/lib/avatax/client/avafileforms.rb
index 6e17b57..f5204a8 100644
--- a/lib/avatax/client/avafileforms.rb
+++ b/lib/avatax/client/avafileforms.rb
@@ -16,7 +16,7 @@ module AvaFileForms
# @param model [AvaFileFormModel[]] The AvaFileForm you wish to create.
# @return [AvaFileFormModel[]]
def create_ava_file_forms(model) path = "/api/v2/avafileforms"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single AvaFileForm
#
@@ -30,7 +30,7 @@ def create_ava_file_forms(model) path = "/api/v2/avafileforms"
# @param id [Integer] The ID of the AvaFileForm you wish to delete.
# @return [ErrorDetail[]]
def delete_ava_file_form(id) path = "/api/v2/avafileforms/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single AvaFileForm
#
@@ -38,13 +38,13 @@ def delete_ava_file_form(id) path = "/api/v2/avafileforms/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param id [Integer] The primary key of this AvaFileForm
# @return [Object]
def get_ava_file_form(id) path = "/api/v2/avafileforms/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all AvaFileForms
#
@@ -53,7 +53,7 @@ def get_ava_file_form(id) path = "/api/v2/avafileforms/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, Compliance Temp User, ComplianceAdmin, ComplianceUser, FirmAdmin, FirmUser, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @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:* outletTypeId
@@ -62,7 +62,7 @@ def get_ava_file_form(id) path = "/api/v2/avafileforms/#{id}"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_ava_file_forms(options={}) path = "/api/v2/avafileforms"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a AvaFileForm
#
@@ -78,7 +78,7 @@ def query_ava_file_forms(options={}) path = "/api/v2/avafileforms"
# @param model [Object] The AvaFileForm model you wish to update.
# @return [Object]
def update_ava_file_form(id, model) path = "/api/v2/avafileforms/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/batches.rb b/lib/avatax/client/batches.rb
index 415d945..8779cc9 100644
--- a/lib/avatax/client/batches.rb
+++ b/lib/avatax/client/batches.rb
@@ -20,13 +20,13 @@ module Batches
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch.
# @param id [Integer] The ID of the batch to cancel.
# @return [Object]
def cancel_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batches/#{id}/cancel"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
# Create a new batch
#
@@ -52,13 +52,13 @@ def cancel_batch(companyId, id) path = "/api/v2/companies/#{companyId}/ba
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch.
# @param model [BatchModel[]] The batch you wish to create.
# @return [BatchModel[]]
def create_batches(companyId, model) path = "/api/v2/companies/#{companyId}/batches"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new transaction batch
#
@@ -82,13 +82,13 @@ def create_batches(companyId, model) path = "/api/v2/companies/#{companyI
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch.
# @param model [Object] The transaction batch you wish to create.
# @return [Object]
def create_transaction_batch(companyId, model) path = "/api/v2/companies/#{companyId}/batches/transactions"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single batch
#
@@ -105,13 +105,13 @@ def create_transaction_batch(companyId, model) path = "/api/v2/companies/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: CSPAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, CSPAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch.
# @param id [Integer] The ID of the batch to delete.
# @return [ErrorDetail[]]
def delete_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batches/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Download a single batch file
#
@@ -119,14 +119,14 @@ def delete_batch(companyId, id) path = "/api/v2/companies/#{companyId}/ba
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch
# @param batchId [Integer] The ID of the batch object
# @param id [Integer] The primary key of this batch file object
# @return [Object]
def download_batch(companyId, batchId, id) path = "/api/v2/companies/#{companyId}/batches/#{batchId}/files/#{id}/attachment"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve a single batch
#
@@ -148,13 +148,13 @@ def download_batch(companyId, batchId, id) path = "/api/v2/companies/#{co
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this batch
# @param id [Integer] The primary key of this batch
# @return [Object]
def get_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batches/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all batches for this company
#
@@ -182,7 +182,7 @@ def get_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batch
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these batches
# @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:* files
@@ -192,7 +192,7 @@ def get_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batch
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_batches_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/batches"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all batches
#
@@ -217,7 +217,7 @@ def list_batches_by_company(companyId, options={}) path = "/api/v2/compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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:* files
# @param include [String] A comma separated list of additional data to retrieve.
@@ -226,7 +226,7 @@ def list_batches_by_company(companyId, options={}) path = "/api/v2/compan
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_batches(options={}) path = "/api/v2/batches"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/certexpressinvites.rb b/lib/avatax/client/certexpressinvites.rb
index fad6526..4304831 100644
--- a/lib/avatax/client/certexpressinvites.rb
+++ b/lib/avatax/client/certexpressinvites.rb
@@ -23,7 +23,7 @@ module CertExpressInvites
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that will record certificates
@@ -31,7 +31,7 @@ module CertExpressInvites
# @param model [CreateCertExpressInvitationModel[]] the requests to send out to customers
# @return [CertExpressInvitationStatusModel[]]
def create_cert_express_invitation(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certexpressinvites"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Retrieve a single CertExpress invitation
#
@@ -53,7 +53,7 @@ def create_cert_express_invitation(companyId, customerCode, model) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that issued this invitation
@@ -62,7 +62,7 @@ def create_cert_express_invitation(companyId, customerCode, model) path =
# @param include [String] OPTIONAL: A comma separated list of special fetch options. No options are defined at this time.
# @return [Object]
def get_cert_express_invitation(companyId, customerCode, id, options={}) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certexpressinvites/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List CertExpress invitations
#
@@ -84,7 +84,7 @@ def get_cert_express_invitation(companyId, customerCode, id, options={})
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that issued this invitation
@@ -95,7 +95,7 @@ def get_cert_express_invitation(companyId, customerCode, id, options={})
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_cert_express_invitations(companyId, options={}) path = "/api/v2/companies/#{companyId}/certexpressinvites"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/certificates.rb b/lib/avatax/client/certificates.rb
index 1fa6c11..7a3ef9b 100644
--- a/lib/avatax/client/certificates.rb
+++ b/lib/avatax/client/certificates.rb
@@ -29,7 +29,7 @@ module Certificates
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company recording this certificate
@@ -37,7 +37,7 @@ module Certificates
# @param model [CertificateModel[]] Certificates to be created
# @return [CertificateModel[]]
def create_certificates(companyId, model, options={}) path = "/api/v2/companies/#{companyId}/certificates"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Revoke and delete a certificate
#
@@ -57,14 +57,14 @@ def create_certificates(companyId, model, options={}) path = "/api/v2/com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
# @param id [Integer] The unique ID number of this certificate
# @return [ErrorDetail[]]
def delete_certificate(companyId, id) path = "/api/v2/companies/#{companyId}/certificates/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Download an image for this certificate
#
@@ -85,7 +85,7 @@ def delete_certificate(companyId, id) path = "/api/v2/companies/#{company
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -94,7 +94,7 @@ def delete_certificate(companyId, id) path = "/api/v2/companies/#{company
# @param type [String] The data format in which to retrieve the certificate image (See CertificatePreviewType::* for a list of allowable values)
# @return [Object]
def download_certificate_image(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/certificates/#{id}/attachment"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single certificate
#
@@ -118,7 +118,7 @@ def download_certificate_image(companyId, id, options={}) path = "/api/v2
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company that recorded this certificate
@@ -126,7 +126,7 @@ def download_certificate_image(companyId, id, options={}) path = "/api/v2
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
# @return [Object]
def get_certificate(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/certificates/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Check a company's exemption certificate status.
#
@@ -140,13 +140,13 @@ def get_certificate(companyId, id, options={}) path = "/api/v2/companies/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company ID to check
# @return [Object]
def get_certificate_setup(companyId) path = "/api/v2/companies/#{companyId}/certificates/setup"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Link attributes to a certificate
#
@@ -167,7 +167,7 @@ def get_certificate_setup(companyId) path = "/api/v2/companies/#{companyI
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -175,7 +175,7 @@ def get_certificate_setup(companyId) path = "/api/v2/companies/#{companyI
# @param model [CertificateAttributeModel[]] The list of attributes to link to this certificate.
# @return [FetchResult]
def link_attributes_to_certificate(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/attributes/link"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Link customers to a certificate
#
@@ -197,7 +197,7 @@ def link_attributes_to_certificate(companyId, id, model) path = "/api/v2/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -205,7 +205,7 @@ def link_attributes_to_certificate(companyId, id, model) path = "/api/v2/
# @param model [Object] The list of customers needed be added to the Certificate for exemption
# @return [FetchResult]
def link_customers_to_certificate(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/customers/link"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# List all attributes applied to this certificate
#
@@ -226,14 +226,14 @@ def link_customers_to_certificate(companyId, id, model) path = "/api/v2/c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
# @param id [Integer] The unique ID number of this certificate
# @return [FetchResult]
def list_attributes_for_certificate(companyId, id) path = "/api/v2/companies/#{companyId}/certificates/#{id}/attributes"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List customers linked to this certificate
#
@@ -254,7 +254,7 @@ def list_attributes_for_certificate(companyId, id) path = "/api/v2/compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -262,7 +262,7 @@ def list_attributes_for_certificate(companyId, id) path = "/api/v2/compan
# @param include [String] OPTIONAL: A comma separated list of special fetch options. No options are currently available when fetching customers.
# @return [FetchResult]
def list_customers_for_certificate(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/certificates/#{id}/customers"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all certificates for a company
#
@@ -286,7 +286,7 @@ def list_customers_for_certificate(companyId, id, options={}) path = "/ap
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company to search
@@ -297,7 +297,7 @@ def list_customers_for_certificate(companyId, id, options={}) path = "/ap
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_certificates(companyId, options={}) path = "/api/v2/companies/#{companyId}/certificates"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Request setup of exemption certificates for this company.
#
@@ -313,13 +313,13 @@ def query_certificates(companyId, options={}) path = "/api/v2/companies/#
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer]
# @return [Object]
def request_certificate_setup(companyId) path = "/api/v2/companies/#{companyId}/certificates/setup"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
# Unlink attributes from a certificate
#
@@ -340,7 +340,7 @@ def request_certificate_setup(companyId) path = "/api/v2/companies/#{comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -348,7 +348,7 @@ def request_certificate_setup(companyId) path = "/api/v2/companies/#{comp
# @param model [CertificateAttributeModel[]] The list of attributes to unlink from this certificate.
# @return [FetchResult]
def unlink_attributes_from_certificate(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/attributes/unlink"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Unlink customers from a certificate
#
@@ -371,7 +371,7 @@ def unlink_attributes_from_certificate(companyId, id, model) path = "/api
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -379,7 +379,7 @@ def unlink_attributes_from_certificate(companyId, id, model) path = "/api
# @param model [Object] The list of customers to unlink from this certificate
# @return [FetchResult]
def unlink_customers_from_certificate(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/customers/unlink"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Update a single certificate
#
@@ -397,7 +397,7 @@ def unlink_customers_from_certificate(companyId, id, model) path = "/api/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company that recorded this certificate
@@ -405,7 +405,7 @@ def unlink_customers_from_certificate(companyId, id, model) path = "/api/
# @param model [Object] The new certificate object that will replace the existing one
# @return [Object]
def update_certificate(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Upload an image or PDF attachment for this certificate
#
@@ -426,7 +426,7 @@ def update_certificate(companyId, id, model) path = "/api/v2/companies/#{
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
@@ -434,7 +434,7 @@ def update_certificate(companyId, id, model) path = "/api/v2/companies/#{
# @param file [Object] The exemption certificate file you wanted to upload. Accepted formats are: PDF, JPEG, TIFF, PNG.
# @return [String]
def upload_certificate_image(companyId, id) path = "/api/v2/companies/#{companyId}/certificates/#{id}/attachment"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/companies.rb b/lib/avatax/client/companies.rb
index 29232a9..54d535e 100644
--- a/lib/avatax/client/companies.rb
+++ b/lib/avatax/client/companies.rb
@@ -31,12 +31,12 @@ module Companies
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the company to check if its integration is certified.
# @return [String]
def certify_integration(id) path = "/api/v2/companies/#{id}/certify"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Change the filing status of this company
#
@@ -56,13 +56,13 @@ def certify_integration(id) path = "/api/v2/companies/#{id}/certify"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @param model [Object]
# @return [String]
def change_filing_status(id, model) path = "/api/v2/companies/#{id}/filingstatus"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Quick setup for a company with a single physical address
#
@@ -81,12 +81,12 @@ def change_filing_status(id, model) path = "/api/v2/companies/#{id}/filin
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param model [Object] Information about the company you wish to create.
# @return [Object]
def company_initialize(model) path = "/api/v2/companies/initialize"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create new companies
#
@@ -98,12 +98,12 @@ def company_initialize(model) path = "/api/v2/companies/initialize"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param model [CompanyModel[]] Either a single company object or an array of companies to create
# @return [CompanyModel[]]
def create_companies(model) path = "/api/v2/companies"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Add parameters to a company.
#
@@ -121,13 +121,13 @@ def create_companies(model) path = "/api/v2/companies"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this company parameter.
# @param model [CompanyParameterDetailModel[]] The company parameters you wish to create.
# @return [CompanyParameterDetailModel[]]
def create_company_parameters(companyId, model) path = "/api/v2/companies/#{companyId}/parameters"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Request managed returns funding setup for a company
#
@@ -145,13 +145,13 @@ def create_company_parameters(companyId, model) path = "/api/v2/companies
# ### Security Policies
#
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique identifier of the company
# @param model [Object] The funding initialization request
# @return [Object]
def create_funding_request(id, model) path = "/api/v2/companies/#{id}/funding/setup"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single company
#
@@ -159,12 +159,12 @@ def create_funding_request(id, model) path = "/api/v2/companies/#{id}/fun
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the company you wish to delete.
# @return [ErrorDetail[]]
def delete_company(id) path = "/api/v2/companies/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single company parameter
#
@@ -177,13 +177,13 @@ def delete_company(id) path = "/api/v2/companies/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param id [Integer] The parameter id
# @return [ErrorDetail[]]
def delete_company_parameter(companyId, id) path = "/api/v2/companies/#{companyId}/parameters/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Check the funding configuration of a company
#
@@ -194,13 +194,13 @@ def delete_company_parameter(companyId, id) path = "/api/v2/companies/#{c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique identifier of the company
# @return [Object]
def funding_configuration_by_company(companyId) path = "/api/v2/companies/#{companyId}/funding/configuration"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Check the funding configuration of a company
#
@@ -211,14 +211,14 @@ def funding_configuration_by_company(companyId) path = "/api/v2/companies
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique identifier of the company
# @param currency [String] The currency of the funding. USD and CAD are the only valid currencies
# @return [FundingConfigurationModel[]]
def funding_configurations_by_company_and_currency(companyId, options={}) path = "/api/v2/companies/#{companyId}/funding/configurations"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single company
#
@@ -238,13 +238,13 @@ def funding_configurations_by_company_and_currency(companyId, options={})
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the company to retrieve.
# @param include [String] OPTIONAL: A comma separated list of special fetch options. * Child objects - Specify one or more of the following to retrieve objects related to each company: "Contacts", "FilingCalendars", "Items", "Locations", "Nexus", "TaxCodes", "NonReportingChildren" or "TaxRules". * Deleted objects - Specify "FetchDeleted" to retrieve information about previously deleted objects.
# @return [Object]
def get_company(id, options={}) path = "/api/v2/companies/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Get configuration settings for this company
#
@@ -263,12 +263,12 @@ def get_company(id, options={}) path = "/api/v2/companies/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [CompanyConfigurationModel[]]
def get_company_configuration(id) path = "/api/v2/companies/#{id}/configuration"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve a single company parameter
#
@@ -282,13 +282,13 @@ def get_company_configuration(id) path = "/api/v2/companies/#{id}/configu
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer]
# @param id [Integer]
# @return [Object]
def get_company_parameter_detail(companyId, id) path = "/api/v2/companies/#{companyId}/parameters/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Get this company's filing status
#
@@ -309,12 +309,12 @@ def get_company_parameter_detail(companyId, id) path = "/api/v2/companies
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [String]
def get_filing_status(id) path = "/api/v2/companies/#{id}/filingstatus"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Get ACH entry detail report for company and period
#
@@ -326,14 +326,14 @@ def get_filing_status(id) path = "/api/v2/companies/#{id}/filingstatus"
# ### Security Policies
#
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique identifier of the company
# @param periodyear [Integer] The period year
# @param periodmonth [Integer] The period month
# @return [ACHEntryDetailModel[]]
def list_a_c_h_entry_details_for_company(id, periodyear, periodmonth) path = "/api/v2/companies/#{id}/paymentdetails/#{periodyear}/#{periodmonth}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve parameters for a company
#
@@ -350,7 +350,7 @@ def list_a_c_h_entry_details_for_company(id, periodyear, periodmonth) pat
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company 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:* name, unit
@@ -359,7 +359,7 @@ def list_a_c_h_entry_details_for_company(id, periodyear, periodmonth) pat
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_company_parameter_details(companyId, options={}) path = "/api/v2/companies/#{companyId}/parameters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Check managed returns funding status for a company
#
@@ -371,12 +371,12 @@ def list_company_parameter_details(companyId, options={}) path = "/api/v2
# ### Security Policies
#
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique identifier of the company
# @return [FundingStatusModel[]]
def list_funding_requests_by_company(id) path = "/api/v2/companies/#{id}/funding"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve a list of MRS Companies with account
#
@@ -386,11 +386,11 @@ def list_funding_requests_by_company(id) path = "/api/v2/companies/#{id}/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @return [FetchResult]
def list_mrs_companies() path = "/api/v2/companies/mrs"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all companies
#
@@ -414,7 +414,7 @@ def list_mrs_companies() path = "/api/v2/companies/mrs"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param include [String] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
# @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:* IsFein, contacts, items, locations, nexus, settings, taxCodes, taxRules, upcs, nonReportingChildCompanies, exemptCerts, parameters, supplierandcustomers
@@ -423,7 +423,7 @@ def list_mrs_companies() path = "/api/v2/companies/mrs"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_companies(options={}) path = "/api/v2/companies"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Change configuration settings for this company
#
@@ -442,13 +442,13 @@ def query_companies(options={}) path = "/api/v2/companies"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @param model [CompanyConfigurationModel[]]
# @return [CompanyConfigurationModel[]]
def set_company_configuration(id, model) path = "/api/v2/companies/#{id}/configuration"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Update a single company
#
@@ -466,13 +466,13 @@ def set_company_configuration(id, model) path = "/api/v2/companies/#{id}/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the company you wish to update.
# @param model [Object] The company object you wish to update.
# @return [Object]
def update_company(id, model) path = "/api/v2/companies/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update a company parameter
#
@@ -486,14 +486,14 @@ def update_company(id, model) path = "/api/v2/companies/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param id [Integer] The company parameter id
# @param model [Object] The company parameter object you wish to update.
# @return [Object]
def update_company_parameter_detail(companyId, id, model) path = "/api/v2/companies/#{companyId}/parameters/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/compliance.rb b/lib/avatax/client/compliance.rb
index 6626b9f..9be0687 100644
--- a/lib/avatax/client/compliance.rb
+++ b/lib/avatax/client/compliance.rb
@@ -21,7 +21,7 @@ module Compliance
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [Object]
def query_tax_authority_jurisdiction_rates(options={}) path = "/api/v2/compliance/taxauthorityjurisdictionrates"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/contacts.rb b/lib/avatax/client/contacts.rb
index cc55d12..5e15bbf 100644
--- a/lib/avatax/client/contacts.rb
+++ b/lib/avatax/client/contacts.rb
@@ -11,13 +11,13 @@ module Contacts
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this contact.
# @param model [ContactModel[]] The contacts you wish to create.
# @return [ContactModel[]]
def create_contacts(companyId, model) path = "/api/v2/companies/#{companyId}/contacts"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single contact
#
@@ -25,13 +25,13 @@ def create_contacts(companyId, model) path = "/api/v2/companies/#{company
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this contact.
# @param id [Integer] The ID of the contact you wish to delete.
# @return [ErrorDetail[]]
def delete_contact(companyId, id) path = "/api/v2/companies/#{companyId}/contacts/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single contact
#
@@ -41,13 +41,13 @@ def delete_contact(companyId, id) path = "/api/v2/companies/#{companyId}/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company for this contact
# @param id [Integer] The primary key of this contact
# @return [Object]
def get_contact(companyId, id) path = "/api/v2/companies/#{companyId}/contacts/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve contacts for this company
#
@@ -58,7 +58,7 @@ def get_contact(companyId, id) path = "/api/v2/companies/#{companyId}/con
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these contacts
# @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/).
@@ -67,7 +67,7 @@ def get_contact(companyId, id) path = "/api/v2/companies/#{companyId}/con
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_contacts_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/contacts"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all contacts
#
@@ -80,7 +80,7 @@ def list_contacts_by_company(companyId, options={}) path = "/api/v2/compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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.
@@ -88,7 +88,7 @@ def list_contacts_by_company(companyId, options={}) path = "/api/v2/compa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_contacts(options={}) path = "/api/v2/contacts"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single contact
#
@@ -100,14 +100,14 @@ def query_contacts(options={}) path = "/api/v2/contacts"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this contact belongs to.
# @param id [Integer] The ID of the contact you wish to update
# @param model [Object] The contact you wish to update.
# @return [Object]
def update_contact(companyId, id, model) path = "/api/v2/companies/#{companyId}/contacts/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/customers.rb b/lib/avatax/client/customers.rb
index f42c9ca..b620fbc 100644
--- a/lib/avatax/client/customers.rb
+++ b/lib/avatax/client/customers.rb
@@ -23,14 +23,14 @@ module Customers
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
# @param model [CustomerModel[]] The list of customer objects to be created
# @return [CustomerModel[]]
def create_customers(companyId, model) path = "/api/v2/companies/#{companyId}/customers"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a customer record
#
@@ -49,14 +49,14 @@ def create_customers(companyId, model) path = "/api/v2/companies/#{compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
# @param customerCode [String] The unique code representing this customer
# @return [Object]
def delete_customer(companyId, customerCode) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single customer
#
@@ -81,7 +81,7 @@ def delete_customer(companyId, customerCode) path = "/api/v2/companies/#{
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -89,7 +89,7 @@ def delete_customer(companyId, customerCode) path = "/api/v2/companies/#{
# @param include [String] Specify optional additional objects to include in this fetch request
# @return [Object]
def get_customer(companyId, customerCode, options={}) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Link attributes to a customer
#
@@ -111,7 +111,7 @@ def get_customer(companyId, customerCode, options={}) path = "/api/v2/com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded the provided customer
@@ -119,7 +119,7 @@ def get_customer(companyId, customerCode, options={}) path = "/api/v2/com
# @param model [CustomerAttributeModel[]] The list of attributes to link to the customer.
# @return [FetchResult]
def link_attributes_to_customer(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/attributes/link"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Link certificates to a customer
#
@@ -138,7 +138,7 @@ def link_attributes_to_customer(companyId, customerCode, model) path = "/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -146,7 +146,7 @@ def link_attributes_to_customer(companyId, customerCode, model) path = "/
# @param model [Object] The list of certificates to link to this customer
# @return [FetchResult]
def link_certificates_to_customer(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certificates/link"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Link two customer records together
#
@@ -166,7 +166,7 @@ def link_certificates_to_customer(companyId, customerCode, model) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company defining customers.
@@ -174,7 +174,7 @@ def link_certificates_to_customer(companyId, customerCode, model) path =
# @param model [Object] A list of information about ship-to customers to link to this bill-to customer.
# @return [Object]
def link_ship_to_customers_to_bill_customer(companyId, code, model) path = "/api/v2/companies/#{companyId}/customers/billto/#{code}/shipto/link"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Retrieve a customer's attributes
#
@@ -196,14 +196,14 @@ def link_ship_to_customers_to_bill_customer(companyId, code, model) path
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded the provided customer
# @param customerCode [String] The unique code representing the current customer
# @return [FetchResult]
def list_attributes_for_customer(companyId, customerCode) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/attributes"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List certificates linked to a customer
#
@@ -222,7 +222,7 @@ def list_attributes_for_customer(companyId, customerCode) path = "/api/v2
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -234,7 +234,7 @@ def list_attributes_for_customer(companyId, customerCode) path = "/api/v2
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_certificates_for_customer(companyId, customerCode, options={}) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certificates"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List valid certificates for a location
#
@@ -256,7 +256,7 @@ def list_certificates_for_customer(companyId, customerCode, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -265,7 +265,7 @@ def list_certificates_for_customer(companyId, customerCode, options={}) p
# @param region [String] Search for certificates matching this region. Uses the ISO 3166 two or three character state, region, or province code.
# @return [Object]
def list_valid_certificates_for_customer(companyId, customerCode, country, region) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certificates/#{country}/#{region}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List all customers for this company
#
@@ -289,7 +289,7 @@ def list_valid_certificates_for_customer(companyId, customerCode, country, regio
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -300,7 +300,7 @@ def list_valid_certificates_for_customer(companyId, customerCode, country, regio
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_customers(companyId, options={}) path = "/api/v2/companies/#{companyId}/customers"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Unlink attributes from a customer
#
@@ -322,7 +322,7 @@ def query_customers(companyId, options={}) path = "/api/v2/companies/#{co
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded the customer
@@ -330,7 +330,7 @@ def query_customers(companyId, options={}) path = "/api/v2/companies/#{co
# @param model [CustomerAttributeModel[]] The list of attributes to unlink from the customer.
# @return [FetchResult]
def unlink_attributes_from_customer(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/attributes/unlink"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Unlink certificates from a customer
#
@@ -349,7 +349,7 @@ def unlink_attributes_from_customer(companyId, customerCode, model) path
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -357,7 +357,7 @@ def unlink_attributes_from_customer(companyId, customerCode, model) path
# @param model [Object] The list of certificates to link to this customer
# @return [FetchResult]
def unlink_certificates_from_customer(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}/certificates/unlink"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Update a single customer
#
@@ -376,7 +376,7 @@ def unlink_certificates_from_customer(companyId, customerCode, model) pat
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that recorded this customer
@@ -384,7 +384,7 @@ def unlink_certificates_from_customer(companyId, customerCode, model) pat
# @param model [Object] The new customer model that will replace the existing record at this URL
# @return [Object]
def update_customer(companyId, customerCode, model) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/datasources.rb b/lib/avatax/client/datasources.rb
index 20b9d3c..8b7adfc 100644
--- a/lib/avatax/client/datasources.rb
+++ b/lib/avatax/client/datasources.rb
@@ -9,14 +9,14 @@ module DataSources
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company you which to create the datasources
# @param model [DataSourceModel[]]
# @return [DataSourceModel[]]
def create_data_sources(companyId, model) path = "/api/v2/companies/#{companyId}/datasources"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a datasource by datasource id for a company.
#
@@ -24,14 +24,14 @@ def create_data_sources(companyId, model) path = "/api/v2/companies/#{com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company the datasource belongs to.
# @param id [Integer] The id of the datasource you wish to delete.
# @return [ErrorDetail[]]
def delete_data_source(companyId, id) path = "/api/v2/companies/#{companyId}/datasources/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Get data source by data source id
#
@@ -39,14 +39,14 @@ def delete_data_source(companyId, id) path = "/api/v2/companies/#{company
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer]
# @param id [Integer] data source id
# @return [Object]
def get_data_source_by_id(companyId, id) path = "/api/v2/companies/#{companyId}/datasources/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all datasources for this company
#
@@ -54,7 +54,7 @@ def get_data_source_by_id(companyId, id) path = "/api/v2/companies/#{comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company you wish to retrieve the datasources.
@@ -64,7 +64,7 @@ def get_data_source_by_id(companyId, id) path = "/api/v2/companies/#{comp
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_data_sources(companyId, options={}) path = "/api/v2/companies/#{companyId}/datasources"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all datasources
#
@@ -75,7 +75,7 @@ def list_data_sources(companyId, options={}) path = "/api/v2/companies/#{
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @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:* isEnabled, isSynced, isAuthorized, name, externalState
@@ -84,7 +84,7 @@ def list_data_sources(companyId, options={}) path = "/api/v2/companies/#{
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_data_sources(options={}) path = "/api/v2/datasources"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a datasource identified by id for a company
#
@@ -92,7 +92,7 @@ def query_data_sources(options={}) path = "/api/v2/datasources"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company the datasource belongs to.
@@ -100,7 +100,7 @@ def query_data_sources(options={}) path = "/api/v2/datasources"
# @param model [Object]
# @return [Object]
def update_data_source(companyId, id, model) path = "/api/v2/companies/#{companyId}/datasources/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/definitions.rb b/lib/avatax/client/definitions.rb
index 7f108b5..69c27b3 100644
--- a/lib/avatax/client/definitions.rb
+++ b/lib/avatax/client/definitions.rb
@@ -24,7 +24,7 @@ module Definitions
# @param hsCode [String] The partial or full HS Code for which you would like to view all of the parents.
# @return [FetchResult]
def get_cross_border_code(country, hsCode) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}/hierarchy"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Test whether a form supports online login verification
#
@@ -38,7 +38,7 @@ def get_cross_border_code(country, hsCode) path = "/api/v2/definitions/cr
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def get_login_verifier_by_form(form, options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers/#{form}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all market place locations.
#
@@ -50,7 +50,7 @@ def get_login_verifier_by_form(form, options={}) path = "/api/v2/definiti
# @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, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of the AvaFile Forms available
#
@@ -67,7 +67,7 @@ def list_all_marketplace_locations(options={}) path = "/api/v2/definition
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_ava_file_forms(options={}) path = "/api/v2/definitions/avafileforms"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List certificate attributes used by a company
#
@@ -86,7 +86,7 @@ def list_ava_file_forms(options={}) path = "/api/v2/definitions/avafilefo
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_certificate_attributes(options={}) path = "/api/v2/definitions/certificateattributes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List the certificate exempt reasons defined by a company
#
@@ -104,7 +104,7 @@ def list_certificate_attributes(options={}) path = "/api/v2/definitions/c
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_certificate_exempt_reasons(options={}) path = "/api/v2/definitions/certificateexemptreasons"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List certificate exposure zones used by a company
#
@@ -122,7 +122,7 @@ def list_certificate_exempt_reasons(options={}) path = "/api/v2/definitio
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_certificate_exposure_zones(options={}) path = "/api/v2/definitions/certificateexposurezones"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported usage of extra parameters for classification of a item.
#
@@ -136,7 +136,7 @@ def list_certificate_exposure_zones(options={}) path = "/api/v2/definitio
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_classification_parameters_usage(options={}) path = "/api/v2/definitions/classification/parametersusage"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of communications service types
#
@@ -149,7 +149,7 @@ def list_classification_parameters_usage(options={}) path = "/api/v2/defi
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_communications_service_types(id, options={}) path = "/api/v2/definitions/communications/transactiontypes/#{id}/servicetypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of communications transactiontypes
#
@@ -162,7 +162,7 @@ def list_communications_service_types(id, options={}) path = "/api/v2/def
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_communications_transaction_types(options={}) path = "/api/v2/definitions/communications/transactiontypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of communications transaction/service type pairs
#
@@ -175,7 +175,7 @@ def list_communications_transaction_types(options={}) path = "/api/v2/def
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_communications_t_s_pairs(options={}) path = "/api/v2/definitions/communications/tspairs"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all ISO 3166 countries
#
@@ -189,7 +189,7 @@ def list_communications_t_s_pairs(options={}) path = "/api/v2/definitions
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_countries(options={}) path = "/api/v2/definitions/countries"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List certificate exposure zones used by a company
#
@@ -208,7 +208,7 @@ def list_countries(options={}) path = "/api/v2/definitions/countries"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_cover_letters(options={}) path = "/api/v2/definitions/coverletters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Lists the next level of HS Codes given a destination country and HS Code prefix.
#
@@ -233,7 +233,7 @@ def list_cover_letters(options={}) path = "/api/v2/definitions/coverlette
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_cross_border_codes(country, hsCode, options={}) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List top level HS Code Sections.
#
@@ -250,7 +250,7 @@ def list_cross_border_codes(country, hsCode, options={}) path = "/api/v2/
# Swagger Name: AvaTaxClient
# @return [FetchResult]
def list_cross_border_sections() path = "/api/v2/definitions/crossborder/sections"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List all ISO 4217 currencies supported by AvaTax.
#
@@ -265,7 +265,7 @@ def list_cross_border_sections() path = "/api/v2/definitions/crossborder/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_currencies(options={}) path = "/api/v2/definitions/currencies"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported entity use codes
#
@@ -281,7 +281,7 @@ def list_currencies(options={}) path = "/api/v2/definitions/currencies"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_entity_use_codes(options={}) path = "/api/v2/definitions/entityusecodes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported filing frequencies.
#
@@ -294,7 +294,7 @@ def list_entity_use_codes(options={}) path = "/api/v2/definitions/entityu
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_filing_frequencies(options={}) path = "/api/v2/definitions/filingfrequencies"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List jurisdictions based on the filter provided
#
@@ -311,7 +311,7 @@ def list_filing_frequencies(options={}) path = "/api/v2/definitions/filin
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_jurisdictions(options={}) path = "/api/v2/definitions/jurisdictions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List jurisdictions near a specific address
#
@@ -336,7 +336,7 @@ def list_jurisdictions(options={}) path = "/api/v2/definitions/jurisdicti
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_jurisdictions_by_address(options={}) path = "/api/v2/definitions/jurisdictionsnearaddress"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List jurisdictions based on the TaxType, TaxSubType and RateType provided
#
@@ -357,7 +357,7 @@ def list_jurisdictions_by_address(options={}) path = "/api/v2/definitions
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_jurisdictions_by_rate_type_tax_type_mapping(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/jurisdictions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list of questions that are required for a tax location
#
@@ -383,7 +383,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(country, taxTypeId, taxSubT
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_location_questions_by_address(options={}) path = "/api/v2/definitions/locationquestions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all forms where logins can be verified automatically
#
@@ -397,7 +397,7 @@ def list_location_questions_by_address(options={}) path = "/api/v2/defini
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_login_verifiers(options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list of locations for a marketplace.
#
@@ -409,7 +409,7 @@ def list_login_verifiers(options={}) path = "/api/v2/definitions/filingca
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_marketplace_locations(options={}) path = "/api/v2/definitions/marketplacelocations"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported nexus for all countries and regions.
#
@@ -423,7 +423,7 @@ def list_marketplace_locations(options={}) path = "/api/v2/definitions/ma
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus(options={}) path = "/api/v2/definitions/nexus"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all nexus that apply to a specific address.
#
@@ -446,7 +446,7 @@ def list_nexus(options={}) path = "/api/v2/definitions/nexus"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_address(options={}) path = "/api/v2/definitions/nexus/byaddress"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported nexus for a country.
#
@@ -461,7 +461,7 @@ def list_nexus_by_address(options={}) path = "/api/v2/definitions/nexus/b
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_country(country, options={}) path = "/api/v2/definitions/nexus/#{country}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported nexus for a country and region.
#
@@ -477,7 +477,7 @@ def list_nexus_by_country(country, options={}) path = "/api/v2/definition
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_country_and_region(country, region, options={}) path = "/api/v2/definitions/nexus/#{country}/#{region}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List nexus related to a tax form
#
@@ -495,12 +495,12 @@ def list_nexus_by_country_and_region(country, region, options={}) path =
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param formCode [String] The form code that we are looking up the nexus for
# @return [Object]
def list_nexus_by_form_code(formCode) path = "/api/v2/definitions/nexus/byform/#{formCode}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve the full list of Avalara-supported nexus for a tax type group.
#
@@ -515,7 +515,7 @@ def list_nexus_by_form_code(formCode) path = "/api/v2/definitions/nexus/b
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_tax_type_group(taxTypeGroup, options={}) path = "/api/v2/definitions/nexus/bytaxtypegroup/#{taxTypeGroup}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of nexus tax type groups
#
@@ -528,7 +528,7 @@ def list_nexus_by_tax_type_group(taxTypeGroup, options={}) path = "/api/v
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_tax_type_groups(options={}) path = "/api/v2/definitions/nexustaxtypegroups"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice customer funding options.
#
@@ -541,7 +541,7 @@ def list_nexus_tax_type_groups(options={}) path = "/api/v2/definitions/ne
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_customer_funding_options(options={}) path = "/api/v2/definitions/noticecustomerfundingoptions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice customer types.
#
@@ -554,7 +554,7 @@ def list_notice_customer_funding_options(options={}) path = "/api/v2/defi
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_customer_types(options={}) path = "/api/v2/definitions/noticecustomertypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice filing types.
#
@@ -567,7 +567,7 @@ def list_notice_customer_types(options={}) path = "/api/v2/definitions/no
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_filingtypes(options={}) path = "/api/v2/definitions/noticefilingtypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice priorities.
#
@@ -580,7 +580,7 @@ def list_notice_filingtypes(options={}) path = "/api/v2/definitions/notic
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_priorities(options={}) path = "/api/v2/definitions/noticepriorities"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice reasons.
#
@@ -593,7 +593,7 @@ def list_notice_priorities(options={}) path = "/api/v2/definitions/notice
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_reasons(options={}) path = "/api/v2/definitions/noticereasons"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice responsibility ids
#
@@ -606,7 +606,7 @@ def list_notice_reasons(options={}) path = "/api/v2/definitions/noticerea
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_responsibilities(options={}) path = "/api/v2/definitions/noticeresponsibilities"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice root causes
#
@@ -619,7 +619,7 @@ def list_notice_responsibilities(options={}) path = "/api/v2/definitions/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_root_causes(options={}) path = "/api/v2/definitions/noticerootcauses"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice statuses.
#
@@ -632,7 +632,7 @@ def list_notice_root_causes(options={}) path = "/api/v2/definitions/notic
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_statuses(options={}) path = "/api/v2/definitions/noticestatuses"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax notice types.
#
@@ -645,7 +645,7 @@ def list_notice_statuses(options={}) path = "/api/v2/definitions/noticest
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notice_types(options={}) path = "/api/v2/definitions/noticetypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported extra parameters for creating transactions.
#
@@ -659,7 +659,7 @@ def list_notice_types(options={}) path = "/api/v2/definitions/noticetypes
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_parameters(options={}) path = "/api/v2/definitions/parameters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the parameters by companyCode and itemCode.
#
@@ -680,7 +680,7 @@ def list_parameters(options={}) path = "/api/v2/definitions/parameters"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyCode [String] Company code.
# @param itemCode [String] Item code.
@@ -690,7 +690,7 @@ def list_parameters(options={}) path = "/api/v2/definitions/parameters"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_parameters_by_item(companyCode, itemCode, options={}) path = "/api/v2/definitions/parameters/byitem/#{companyCode}/#{itemCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported usage of extra parameters for creating transactions.
#
@@ -704,7 +704,7 @@ def list_parameters_by_item(companyCode, itemCode, options={}) path = "/a
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_parameters_usage(options={}) path = "/api/v2/definitions/parametersusage"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported permissions
#
@@ -715,7 +715,7 @@ def list_parameters_usage(options={}) path = "/api/v2/definitions/paramet
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @return [FetchResult]
def list_permissions(options={}) path = "/api/v2/definitions/permissions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported postal codes.
#
@@ -727,7 +727,7 @@ def list_permissions(options={}) path = "/api/v2/definitions/permissions"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all customs duty programs recognized by AvaTax
#
@@ -747,7 +747,7 @@ def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_preferred_programs(options={}) path = "/api/v2/definitions/preferredprograms"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all available product classification systems.
#
@@ -763,7 +763,7 @@ def list_preferred_programs(options={}) path = "/api/v2/definitions/prefe
# @param countryCode [String] If not null, return all records with this code.
# @return [FetchResult]
def list_product_classification_systems(options={}) path = "/api/v2/definitions/productclassificationsystems"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all product classification systems available to a company based on its nexus.
#
@@ -788,7 +788,7 @@ def list_product_classification_systems(options={}) path = "/api/v2/defin
# @param countryCode [String] If not null, return all records with this code.
# @return [FetchResult]
def list_product_classification_systems_by_company(companyCode, options={}) path = "/api/v2/definitions/productclassificationsystems/bycompany/#{companyCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of rate types for each country
#
@@ -802,7 +802,7 @@ def list_product_classification_systems_by_company(companyCode, options={})
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_rate_types_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/ratetypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list of rate types by country, TaxType and by TaxSubType
#
@@ -818,7 +818,7 @@ def list_rate_types_by_country(country, options={}) path = "/api/v2/defin
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_rate_types_by_country_tax_type_tax_sub_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}/ratetypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all ISO 3166 regions
#
@@ -832,7 +832,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(country, taxTypeId, taxSubT
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_regions(options={}) path = "/api/v2/definitions/regions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all ISO 3166 regions for a country
#
@@ -847,7 +847,7 @@ def list_regions(options={}) path = "/api/v2/definitions/regions"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_regions_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/regions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported resource file types
#
@@ -860,7 +860,7 @@ def list_regions_by_country(country, options={}) path = "/api/v2/definiti
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_resource_file_types(options={}) path = "/api/v2/definitions/resourcefiletypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported usage of parameters used for returns.
#
@@ -874,7 +874,7 @@ def list_resource_file_types(options={}) path = "/api/v2/definitions/reso
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_returns_parameters_usage(options={}) path = "/api/v2/definitions/returns/parametersusage"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported permissions
#
@@ -888,7 +888,7 @@ def list_returns_parameters_usage(options={}) path = "/api/v2/definitions
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_security_roles(options={}) path = "/api/v2/definitions/securityroles"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported subscription types
#
@@ -903,7 +903,7 @@ def list_security_roles(options={}) path = "/api/v2/definitions/securityr
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_subscription_types(options={}) path = "/api/v2/definitions/subscriptiontypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list all tags supported by avalara
#
@@ -915,7 +915,7 @@ def list_subscription_types(options={}) path = "/api/v2/definitions/subsc
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tags(options={}) path = "/api/v2/definitions/tags"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax authorities.
#
@@ -928,7 +928,7 @@ def list_tags(options={}) path = "/api/v2/definitions/tags"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_authorities(options={}) path = "/api/v2/definitions/taxauthorities"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported forms for each tax authority.
#
@@ -943,7 +943,7 @@ def list_tax_authorities(options={}) path = "/api/v2/definitions/taxautho
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_authority_forms(options={}) path = "/api/v2/definitions/taxauthorityforms"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax authority types.
#
@@ -956,7 +956,7 @@ def list_tax_authority_forms(options={}) path = "/api/v2/definitions/taxa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxauthoritytypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax codes.
#
@@ -968,7 +968,7 @@ def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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.
@@ -976,7 +976,7 @@ def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_codes(options={}) path = "/api/v2/definitions/taxcodes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of Avalara-supported tax code types.
#
@@ -988,7 +988,7 @@ def list_tax_codes(options={}) path = "/api/v2/definitions/taxcodes"
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @return [Object]
def list_tax_code_types(options={}) path = "/api/v2/definitions/taxcodetypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of the Tax Forms available
#
@@ -1001,7 +1001,7 @@ def list_tax_code_types(options={}) path = "/api/v2/definitions/taxcodety
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_forms(options={}) path = "/api/v2/definitions/taxforms"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of tax sub types
#
@@ -1014,7 +1014,7 @@ def list_tax_forms(options={}) path = "/api/v2/definitions/taxforms"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_sub_types(options={}) path = "/api/v2/definitions/taxsubtypes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of tax sub types by Country and TaxType
#
@@ -1029,7 +1029,7 @@ def list_tax_sub_types(options={}) path = "/api/v2/definitions/taxsubtype
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_sub_types_by_country_and_tax_type(country, taxTypeId, options={}) path = "/api/v2/definitions/taxsubtypes/countries/#{country}/taxtypes/#{taxTypeId}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of tax sub types by jurisdiction code and region
#
@@ -1044,7 +1044,7 @@ def list_tax_sub_types_by_country_and_tax_type(country, taxTypeId, options={})
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_sub_types_by_jurisdiction_and_region(jurisdictionCode, region, options={}) path = "/api/v2/definitions/taxsubtypes/#{jurisdictionCode}/#{region}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the full list of tax type groups
#
@@ -1057,7 +1057,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(jurisdictionCode, region, opti
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_type_groups(options={}) path = "/api/v2/definitions/taxtypegroups"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list of applicable TaxTypes
#
@@ -1070,7 +1070,7 @@ def list_tax_type_groups(options={}) path = "/api/v2/definitions/taxtypeg
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_types_by_nexus_and_country(country, options={}) path = "/api/v2/definitions/taxtypes/countries/#{country}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve the list of applicable UnitOfBasis
#
@@ -1085,7 +1085,7 @@ def list_tax_types_by_nexus_and_country(country, options={}) path = "/api
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/unitofbasis/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List all defined units of measurement
#
@@ -1099,7 +1099,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(co
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_unit_of_measurement(options={}) path = "/api/v2/definitions/unitofmeasurements"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/distancethresholds.rb b/lib/avatax/client/distancethresholds.rb
index c1c84e6..c237734 100644
--- a/lib/avatax/client/distancethresholds.rb
+++ b/lib/avatax/client/distancethresholds.rb
@@ -13,13 +13,13 @@ module DistanceThresholds
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that owns this DistanceThreshold
# @param model [CompanyDistanceThresholdModel[]] The DistanceThreshold object or objects you wish to create.
# @return [CompanyDistanceThresholdModel[]]
def create_distance_threshold(companyId, model) path = "/api/v2/companies/#{companyId}/distancethresholds"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single DistanceThreshold object
#
@@ -31,13 +31,13 @@ def create_distance_threshold(companyId, model) path = "/api/v2/companies
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that owns this DistanceThreshold
# @param id [Integer] The unique ID number of the DistanceThreshold object you wish to delete.
# @return [ErrorDetail[]]
def delete_distance_threshold(companyId, id) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single DistanceThreshold
#
@@ -49,13 +49,13 @@ def delete_distance_threshold(companyId, id) path = "/api/v2/companies/#{
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this DistanceThreshold object
# @param id [Integer] The unique ID number referring to this DistanceThreshold object
# @return [Object]
def get_distance_threshold(companyId, id) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all DistanceThresholds for this company.
#
@@ -67,7 +67,7 @@ def get_distance_threshold(companyId, id) path = "/api/v2/companies/#{com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company whose DistanceThreshold objects you wish to list.
# @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/).
@@ -77,7 +77,7 @@ def get_distance_threshold(companyId, id) path = "/api/v2/companies/#{com
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_distance_thresholds(companyId, options={}) path = "/api/v2/companies/#{companyId}/distancethresholds"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all DistanceThreshold objects
#
@@ -92,7 +92,7 @@ def list_distance_thresholds(companyId, options={}) path = "/api/v2/compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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 include [String] A comma separated list of additional data to retrieve.
@@ -101,7 +101,7 @@ def list_distance_thresholds(companyId, options={}) path = "/api/v2/compa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_distance_thresholds(options={}) path = "/api/v2/distancethresholds"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a DistanceThreshold object
#
@@ -116,14 +116,14 @@ def query_distance_thresholds(options={}) path = "/api/v2/distancethresho
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company that owns this DistanceThreshold object.
# @param id [Integer] The unique ID number of the DistanceThreshold object to replace.
# @param model [Object] The new DistanceThreshold object to store.
# @return [Object]
def update_distance_threshold(companyId, id, model) path = "/api/v2/companies/#{companyId}/distancethresholds/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/ecommercetoken.rb b/lib/avatax/client/ecommercetoken.rb
index 1fdd6b9..50a5b09 100644
--- a/lib/avatax/client/ecommercetoken.rb
+++ b/lib/avatax/client/ecommercetoken.rb
@@ -11,13 +11,13 @@ module ECommerceToken
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company ID that will be issued this certificate.
# @param model [Object]
# @return [Object]
def create_e_commerce_token(companyId, model) path = "/api/v2/companies/#{companyId}/ecommercetokens"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Refresh an eCommerce token.
#
@@ -27,13 +27,13 @@ def create_e_commerce_token(companyId, model) path = "/api/v2/companies/#
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company ID that the refreshed certificate belongs to.
# @param model [Object]
# @return [FetchResult]
def refresh_e_commerce_token(companyId, model) path = "/api/v2/companies/#{companyId}/ecommercetokens"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/firmclientlinkages.rb b/lib/avatax/client/firmclientlinkages.rb
index ad56648..401c0fb 100644
--- a/lib/avatax/client/firmclientlinkages.rb
+++ b/lib/avatax/client/firmclientlinkages.rb
@@ -9,12 +9,12 @@ module FirmClientLinkages
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [Object]
def approve_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}/approve"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
# Request a new FirmClient account and create an approved linkage to it
#
@@ -36,7 +36,7 @@ def approve_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{
# @param model [Object] Information about the account you wish to create.
# @return [Object]
def create_and_link_new_firm_client_account(model) path = "/api/v2/firmclientlinkages/createandlinkclient"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Links a firm account with the client account
#
@@ -44,12 +44,12 @@ def create_and_link_new_firm_client_account(model) path = "/api/v2/firmcl
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param model [Object] FirmClientLinkageInputModel
# @return [Object]
def create_firm_client_linkage(model) path = "/api/v2/firmclientlinkages"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a linkage
#
@@ -57,12 +57,12 @@ def create_firm_client_linkage(model) path = "/api/v2/firmclientlinkages"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [ErrorDetail[]]
def delete_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Get linkage between a firm and client by id
#
@@ -70,12 +70,12 @@ def delete_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{i
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [Object]
def get_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List client linkages for a firm or client
#
@@ -83,12 +83,12 @@ def get_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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:* firmAccountName, clientAccountName
# @return [FetchResult]
def list_firm_client_linkage(options={}) path = "/api/v2/firmclientlinkages"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Rejects linkage to a firm for a client account
#
@@ -96,12 +96,12 @@ def list_firm_client_linkage(options={}) path = "/api/v2/firmclientlinkag
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [Object]
def reject_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}/reject"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
# Reset linkage status between a client and firm back to requested
#
@@ -109,12 +109,12 @@ def reject_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{i
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [Object]
def reset_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}/reset"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
# Revokes previously approved linkage to a firm for a client account
#
@@ -122,12 +122,12 @@ def reset_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer]
# @return [Object]
def revoke_firm_client_linkage(id) path = "/api/v2/firmclientlinkages/#{id}/revoke"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/free.rb b/lib/avatax/client/free.rb
index 840abf4..e3e6f57 100644
--- a/lib/avatax/client/free.rb
+++ b/lib/avatax/client/free.rb
@@ -23,7 +23,7 @@ module Free
# @param model [Object] Required information to provision a free trial account.
# @return [Object]
def request_free_trial(model) path = "/api/v2/accounts/freetrials/request"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/fundingrequests.rb b/lib/avatax/client/fundingrequests.rb
index f2ecc85..026ff54 100644
--- a/lib/avatax/client/fundingrequests.rb
+++ b/lib/avatax/client/fundingrequests.rb
@@ -20,13 +20,13 @@ module FundingRequests
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of this funding request
# @return [Object]
def activate_funding_request(id) path = "/api/v2/fundingrequests/#{id}/widget"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve status about a funding setup request
#
@@ -43,13 +43,13 @@ def activate_funding_request(id) path = "/api/v2/fundingrequests/#{id}/wi
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of this funding request
# @return [Object]
def funding_request_status(id) path = "/api/v2/fundingrequests/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/items.rb b/lib/avatax/client/items.rb
index fe00006..603c8d0 100644
--- a/lib/avatax/client/items.rb
+++ b/lib/avatax/client/items.rb
@@ -13,13 +13,13 @@ module Items
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemId [Integer] The ID of the item you wish to delete the classifications.
# @return [ErrorDetail[]]
def batch_delete_item_classifications(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete all parameters for an item
#
@@ -33,13 +33,13 @@ def batch_delete_item_classifications(companyId, itemId) path = "/api/v2/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemId [Integer] The ID of the item you wish to delete the parameters.
# @return [ErrorDetail[]]
def batch_delete_item_parameters(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Bulk upload items from a product catalog
#
@@ -55,13 +55,13 @@ def batch_delete_item_parameters(companyId, itemId) path = "/api/v2/compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this items.
# @param model [Object] The items you wish to upload.
# @return [Object]
def bulk_upload_items(companyId, model) path = "/api/v2/companies/#{companyId}/items/upload"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Add classifications to an item.
#
@@ -75,14 +75,14 @@ def bulk_upload_items(companyId, model) path = "/api/v2/companies/#{compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
# @param model [ItemClassificationInputModel[]] The item classifications you wish to create.
# @return [ItemClassificationOutputModel[]]
def create_item_classifications(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Add parameters to an item.
#
@@ -100,14 +100,14 @@ def create_item_classifications(companyId, itemId, model) path = "/api/v2
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item parameter.
# @param itemId [Integer] The item id.
# @param model [ItemParameterModel[]] The item parameters you wish to create.
# @return [ItemParameterModel[]]
def create_item_parameters(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new item
#
@@ -123,13 +123,13 @@ def create_item_parameters(companyId, itemId, model) path = "/api/v2/comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param model [ItemModel[]] The item you wish to create.
# @return [ItemModel[]]
def create_items(companyId, model) path = "/api/v2/companies/#{companyId}/items"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create tags for a item
#
@@ -139,14 +139,14 @@ def create_items(companyId, model) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
# @param model [ItemTagDetailModel[]] Tags you wish to associate with the Item
# @return [ItemTagDetailModel[]]
def create_item_tags(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new tax code classification request
#
@@ -158,13 +158,13 @@ def create_item_tags(companyId, itemId, model) path = "/api/v2/companies/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company creating this request.
# @param model [Object] The request you wish to create.
# @return [Object]
def create_tax_code_classification_request(companyId, model) path = "/api/v2/companies/#{companyId}/classificationrequests/taxcode"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single item
#
@@ -186,13 +186,13 @@ def create_tax_code_classification_request(companyId, model) path = "/api
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param itemCode [String] The code of the item you want to delete.
# @return [ErrorDetail[]]
def delete_catalogue_item(companyId, itemCode) path = "/api/v2/companies/#{companyId}/itemcatalogue/#{itemCode}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single item
#
@@ -208,13 +208,13 @@ def delete_catalogue_item(companyId, itemCode) path = "/api/v2/companies/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param id [Integer] The ID of the item you wish to delete.
# @return [ErrorDetail[]]
def delete_item(companyId, id) path = "/api/v2/companies/#{companyId}/items/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single item classification.
#
@@ -226,14 +226,14 @@ def delete_item(companyId, id) path = "/api/v2/companies/#{companyId}/ite
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
# @param id [Integer] The item classification id.
# @return [ErrorDetail[]]
def delete_item_classification(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single item parameter
#
@@ -247,14 +247,14 @@ def delete_item_classification(companyId, itemId, id) path = "/api/v2/com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param itemId [Integer] The item id
# @param id [Integer] The parameter id
# @return [ErrorDetail[]]
def delete_item_parameter(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete item tag by id
#
@@ -264,14 +264,14 @@ def delete_item_parameter(companyId, itemId, id) path = "/api/v2/companie
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
# @param itemTagDetailId [Integer] The ID of the item tag detail you wish to delete.
# @return [ErrorDetail[]]
def delete_item_tag(companyId, itemId, itemTagDetailId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags/#{itemTagDetailId}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete all item tags
#
@@ -281,13 +281,13 @@ def delete_item_tag(companyId, itemId, itemTagDetailId) path = "/api/v2/c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items.
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
# @return [ErrorDetail[]]
def delete_item_tags(companyId, itemId) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Get the status of classification requests for a company
#
@@ -301,7 +301,7 @@ def delete_item_tags(companyId, itemId) path = "/api/v2/companies/#{compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @param includeClassificationDetails [Boolean] A Boolean field that specifies whether to get a detailed classification status.
@@ -311,7 +311,7 @@ def delete_item_tags(companyId, itemId) path = "/api/v2/companies/#{compa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def get_classification_status(companyId, options={}) path = "/api/v2/companies/#{companyId}/classificationrequests/taxcode"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single item
#
@@ -325,14 +325,14 @@ def get_classification_status(companyId, options={}) path = "/api/v2/comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item object
# @param id [Integer] The primary key of this item
# @param include [String] A comma separated list of additional data to retrieve.
# @return [Object]
def get_item(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/items/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single item classification.
#
@@ -344,14 +344,14 @@ def get_item(companyId, id, options={}) path = "/api/v2/companies/#{compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
# @param id [Integer] The item classification id.
# @return [Object]
def get_item_classification(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve a single item parameter
#
@@ -365,14 +365,14 @@ def get_item_classification(companyId, itemId, id) path = "/api/v2/compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param itemId [Integer] The item id
# @param id [Integer] The parameter id
# @return [Object]
def get_item_parameter(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve tags for an item
#
@@ -382,7 +382,7 @@ def get_item_parameter(companyId, itemId, id) path = "/api/v2/companies/#
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
@@ -391,7 +391,7 @@ def get_item_parameter(companyId, itemId, id) path = "/api/v2/companies/#
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @return [FetchResult]
def get_item_tags(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/tags"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve premium classification for a company's item based on its ItemCode and SystemCode.
#
@@ -408,14 +408,14 @@ def get_item_tags(companyId, itemId, options={}) path = "/api/v2/companie
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item object
# @param itemCode [String] The ItemCode of the item for which you want to retrieve premium classification
# @param systemCode [String] The SystemCode for which you want to retrieve premium classification
# @return [Object]
def get_premium_classification(companyId, itemCode, systemCode) path = "/api/v2/companies/#{companyId}/items/#{itemCode}/premiumClassification/#{systemCode}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Get tax code recommendations
#
@@ -427,7 +427,7 @@ def get_premium_classification(companyId, itemCode, systemCode) path = "/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @param requestId [Integer] The ID of the classification request
@@ -437,7 +437,7 @@ def get_premium_classification(companyId, itemCode, systemCode) path = "/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def get_tax_code_recommendations(companyId, requestId, options={}) path = "/api/v2/companies/#{companyId}/classificationrequests/taxcode/#{requestId}/recommendations"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve Restrictions for Item by CountryOfImport
#
@@ -454,7 +454,7 @@ def get_tax_code_recommendations(companyId, requestId, options={}) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item object
# @param itemCode [String] ItemCode for the item
@@ -464,7 +464,7 @@ def get_tax_code_recommendations(companyId, requestId, options={}) path =
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_import_restrictions(companyId, itemCode, countryOfImport, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemCode}/restrictions/import/#{countryOfImport}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve classifications for an item.
#
@@ -479,7 +479,7 @@ def list_import_restrictions(companyId, itemCode, countryOfImport, options={})
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
@@ -489,7 +489,7 @@ def list_import_restrictions(companyId, itemCode, countryOfImport, options={})
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_item_classifications(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve parameters for an item
#
@@ -506,7 +506,7 @@ def list_item_classifications(companyId, itemId, options={}) path = "/api
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param itemId [Integer] The item id
@@ -516,7 +516,7 @@ def list_item_classifications(companyId, itemId, options={}) path = "/api
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve items for this company
#
@@ -542,7 +542,7 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items
# @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:* taxCode, source, upc, classifications, parameters, tags
@@ -553,7 +553,7 @@ def list_item_parameters(companyId, itemId, options={}) path = "/api/v2/c
# @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, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all items
#
@@ -571,7 +571,7 @@ def list_items_by_company(companyId, options={}) path = "/api/v2/companie
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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:* taxCode, source, upc, classifications, parameters, tags
# @param include [String] A comma separated list of additional data to retrieve.
@@ -580,7 +580,7 @@ def list_items_by_company(companyId, options={}) path = "/api/v2/companie
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_items(options={}) path = "/api/v2/items"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all items associated with given tag
#
@@ -598,7 +598,7 @@ def query_items(options={}) path = "/api/v2/items"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that defined these items.
# @param tag [String] The master tag to be associated with item.
@@ -609,7 +609,7 @@ def query_items(options={}) path = "/api/v2/items"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_items_by_tag(companyId, tag, options={}) path = "/api/v2/companies/#{companyId}/items/bytags/#{tag}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Create or update items from a product catalog.
#
@@ -621,13 +621,13 @@ def query_items_by_tag(companyId, tag, options={}) path = "/api/v2/compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param model [ItemCatalogueInputModel[]] The items you want to create or update.
# @return [Object]
def sync_item_catalogue(companyId, model) path = "/api/v2/companies/#{companyId}/itemcatalogue"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Sync items from a product catalog
#
@@ -646,13 +646,13 @@ def sync_item_catalogue(companyId, model) path = "/api/v2/companies/#{com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this item.
# @param model [Object] The request object.
# @return [Object]
def sync_items(companyId, model) path = "/api/v2/companies/#{companyId}/items/sync"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Update a single item
#
@@ -671,14 +671,14 @@ def sync_items(companyId, model) path = "/api/v2/companies/#{companyId}/i
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this item belongs to.
# @param id [Integer] The ID of the item you wish to update
# @param model [Object] The item object you wish to update.
# @return [Object]
def update_item(companyId, id, model) path = "/api/v2/companies/#{companyId}/items/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update an item classification.
#
@@ -692,7 +692,7 @@ def update_item(companyId, id, model) path = "/api/v2/companies/#{company
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id.
@@ -700,7 +700,7 @@ def update_item(companyId, id, model) path = "/api/v2/companies/#{company
# @param model [Object] The item object you wish to update.
# @return [Object]
def update_item_classification(companyId, itemId, id, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update an item parameter
#
@@ -714,7 +714,7 @@ def update_item_classification(companyId, itemId, id, model) path = "/api
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param itemId [Integer] The item id
@@ -722,7 +722,7 @@ def update_item_classification(companyId, itemId, id, model) path = "/api
# @param model [Object] The item object you wish to update.
# @return [Object]
def update_item_parameter(companyId, itemId, id, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/jurisdictionoverrides.rb b/lib/avatax/client/jurisdictionoverrides.rb
index 0f8eb03..dd1d530 100644
--- a/lib/avatax/client/jurisdictionoverrides.rb
+++ b/lib/avatax/client/jurisdictionoverrides.rb
@@ -14,13 +14,13 @@ module JurisdictionOverrides
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this override
# @param model [JurisdictionOverrideModel[]] The jurisdiction override objects to create
# @return [JurisdictionOverrideModel[]]
def create_jurisdiction_overrides(accountId, model) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single override
#
@@ -28,13 +28,13 @@ def create_jurisdiction_overrides(accountId, model) path = "/api/v2/accou
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this override
# @param id [Integer] The ID of the override you wish to delete
# @return [ErrorDetail[]]
def delete_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single override
#
@@ -47,13 +47,13 @@ def delete_jurisdiction_override(accountId, id) path = "/api/v2/accounts/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this override
# @param id [Integer] The primary key of this override
# @return [Object]
def get_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve overrides for this account
#
@@ -69,7 +69,7 @@ def get_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{a
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this override
# @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:* country, Jurisdictions
@@ -79,7 +79,7 @@ def get_jurisdiction_override(accountId, id) path = "/api/v2/accounts/#{a
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_jurisdiction_overrides_by_account(accountId, options={}) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all overrides
#
@@ -95,7 +95,7 @@ def list_jurisdiction_overrides_by_account(accountId, options={}) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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:* country, Jurisdictions
# @param include [String] A comma separated list of additional data to retrieve.
@@ -104,7 +104,7 @@ def list_jurisdiction_overrides_by_account(accountId, options={}) path =
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_jurisdiction_overrides(options={}) path = "/api/v2/jurisdictionoverrides"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single jurisdictionoverride
#
@@ -112,14 +112,14 @@ def query_jurisdiction_overrides(options={}) path = "/api/v2/jurisdiction
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that this jurisdictionoverride belongs to.
# @param id [Integer] The ID of the jurisdictionoverride you wish to update
# @param model [Object] The jurisdictionoverride object you wish to update.
# @return [Object]
def update_jurisdiction_override(accountId, id, model) path = "/api/v2/accounts/#{accountId}/jurisdictionoverrides/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/locations.rb b/lib/avatax/client/locations.rb
index 5613f74..d0d9a9c 100644
--- a/lib/avatax/client/locations.rb
+++ b/lib/avatax/client/locations.rb
@@ -19,14 +19,14 @@ module Locations
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this location parameter.
# @param locationId [Integer] The location id.
# @param model [LocationParameterModel[]] The location parameters you wish to create.
# @return [LocationParameterModel[]]
def create_location_parameters(companyId, locationId, model) path = "/api/v2/companies/#{companyId}/locations/#{locationId}/parameters"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new location
#
@@ -34,13 +34,13 @@ def create_location_parameters(companyId, locationId, model) path = "/api
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this location.
# @param model [LocationModel[]] The location you wish to create.
# @return [LocationModel[]]
def create_locations(companyId, model) path = "/api/v2/companies/#{companyId}/locations"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single location
#
@@ -48,13 +48,13 @@ def create_locations(companyId, model) path = "/api/v2/companies/#{compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this location.
# @param id [Integer] The ID of the location you wish to delete.
# @return [ErrorDetail[]]
def delete_location(companyId, id) path = "/api/v2/companies/#{companyId}/locations/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single location parameter
#
@@ -68,14 +68,14 @@ def delete_location(companyId, id) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param locationId [Integer] The location id
# @param id [Integer] The parameter id
# @return [ErrorDetail[]]
def delete_location_parameter(companyId, locationId, id) path = "/api/v2/companies/#{companyId}/locations/#{locationId}/parameters/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single location
#
@@ -92,14 +92,14 @@ def delete_location_parameter(companyId, locationId, id) path = "/api/v2/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this location
# @param id [Integer] The primary key of this location
# @param include [String] A comma separated list of additional data to retrieve.
# @return [Object]
def get_location(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/locations/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single company location parameter
#
@@ -113,14 +113,14 @@ def get_location(companyId, id, options={}) path = "/api/v2/companies/#{c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param locationId [Integer] The location id
# @param id [Integer] The parameter id
# @return [Object]
def get_location_parameter(companyId, locationId, id) path = "/api/v2/companies/#{companyId}/locations/#{locationId}/parameters/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve parameters for a location
#
@@ -137,7 +137,7 @@ def get_location_parameter(companyId, locationId, id) path = "/api/v2/com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param locationId [Integer] The ID of the location
@@ -147,7 +147,7 @@ def get_location_parameter(companyId, locationId, id) path = "/api/v2/com
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_location_parameters(companyId, locationId, options={}) path = "/api/v2/companies/#{companyId}/locations/#{locationId}/parameters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve locations for this company
#
@@ -166,7 +166,7 @@ def list_location_parameters(companyId, locationId, options={}) path = "/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these 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/).
*Not filterable:* isMarketplaceOutsideUsa, settings, parameters
@@ -176,7 +176,7 @@ def list_location_parameters(companyId, locationId, options={}) path = "/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_locations_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/locations"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all locations
#
@@ -196,7 +196,7 @@ def list_locations_by_company(companyId, options={}) path = "/api/v2/comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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:* isMarketplaceOutsideUsa, settings, parameters
# @param include [String] A comma separated list of additional data to retrieve. You may specify `LocationSettings` to retrieve location settings.
@@ -205,7 +205,7 @@ def list_locations_by_company(companyId, options={}) path = "/api/v2/comp
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_locations(options={}) path = "/api/v2/locations"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single location
#
@@ -215,14 +215,14 @@ def query_locations(options={}) path = "/api/v2/locations"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this location belongs to.
# @param id [Integer] The ID of the location you wish to update
# @param model [Object] The location you wish to update.
# @return [Object]
def update_location(companyId, id, model) path = "/api/v2/companies/#{companyId}/locations/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update a location parameter
#
@@ -236,7 +236,7 @@ def update_location(companyId, id, model) path = "/api/v2/companies/#{com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param locationId [Integer] The location id
@@ -244,7 +244,7 @@ def update_location(companyId, id, model) path = "/api/v2/companies/#{com
# @param model [Object] The location parameter object you wish to update.
# @return [Object]
def update_location_parameter(companyId, locationId, id, model) path = "/api/v2/companies/#{companyId}/locations/#{locationId}/parameters/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Validate the location against local requirements
#
@@ -254,13 +254,13 @@ def update_location_parameter(companyId, locationId, id, model) path = "/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this location
# @param id [Integer] The primary key of this location
# @return [Object]
def validate_location(companyId, id) path = "/api/v2/companies/#{companyId}/locations/#{id}/validate"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/multidocument.rb b/lib/avatax/client/multidocument.rb
index 7d23a86..e5ec6b8 100644
--- a/lib/avatax/client/multidocument.rb
+++ b/lib/avatax/client/multidocument.rb
@@ -26,7 +26,7 @@ module MultiDocument
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param code [String] The transaction code for this MultiDocument transaction
@@ -35,7 +35,7 @@ module MultiDocument
# @param model [Object] The adjust request you wish to execute
# @return [Object]
def adjust_multi_document_transaction(code, type, model, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/adjust"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Get audit information about a MultiDocument transaction
#
@@ -64,14 +64,14 @@ def adjust_multi_document_transaction(code, type, model, options={}) path
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param code [String] The transaction code for this MultiDocument transaction
# @param type [String] The transaction type for this MultiDocument transaction (See DocumentType::* for a list of allowable values)
# @return [Object]
def audit_multi_document_transaction(code, type) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/audit"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Commit a MultiDocument transaction
#
@@ -94,13 +94,13 @@ def audit_multi_document_transaction(code, type) path = "/api/v2/transact
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param model [Object] The commit request you wish to execute
# @return [Object]
def commit_multi_document_transaction(model) path = "/api/v2/transactions/multidocument/commit"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new MultiDocument transaction
#
@@ -147,14 +147,14 @@ def commit_multi_document_transaction(model) path = "/api/v2/transactions
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param include [String] Specifies objects to include in the response after transaction is created
# @param model [Object] the multi document transaction model
# @return [Object]
def create_multi_document_transaction(model, options={}) path = "/api/v2/transactions/multidocument"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Retrieve a MultiDocument transaction
#
@@ -181,7 +181,7 @@ def create_multi_document_transaction(model, options={}) path = "/api/v2/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param code [String] The multidocument code to retrieve
@@ -189,7 +189,7 @@ def create_multi_document_transaction(model, options={}) path = "/api/v2/
# @param include [String] Specifies objects to include in the response after transaction is created
# @return [Object]
def get_multi_document_transaction_by_code_and_type(code, type, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a MultiDocument transaction by ID
#
@@ -225,14 +225,14 @@ def get_multi_document_transaction_by_code_and_type(code, type, options={})
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of the MultiDocument transaction to retrieve
# @param include [String] Specifies objects to include in the response after transaction is created
# @return [Object]
def get_multi_document_transaction_by_id(id, options={}) path = "/api/v2/transactions/multidocument/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all MultiDocument transactions
#
@@ -266,7 +266,7 @@ def get_multi_document_transaction_by_id(id, options={}) path = "/api/v2/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @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:* documents
@@ -276,7 +276,7 @@ def get_multi_document_transaction_by_id(id, options={}) path = "/api/v2/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_multi_document_transactions(options={}) path = "/api/v2/transactions/multidocument"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Create a refund for a MultiDocument transaction
#
@@ -327,7 +327,7 @@ def list_multi_document_transactions(options={}) path = "/api/v2/transact
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param code [String] The code of this MultiDocument transaction
@@ -336,7 +336,7 @@ def list_multi_document_transactions(options={}) path = "/api/v2/transact
# @param model [Object] Information about the refund to create
# @return [Object]
def refund_multi_document_transaction(code, type, model, options={}) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/refund"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Verify a MultiDocument transaction
#
@@ -357,13 +357,13 @@ def refund_multi_document_transaction(code, type, model, options={}) path
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param model [Object] Information from your accounting system to verify against this MultiDocument transaction as it is stored in AvaTax
# @return [Object]
def verify_multi_document_transaction(model) path = "/api/v2/transactions/multidocument/verify"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Void a MultiDocument transaction
#
@@ -387,7 +387,7 @@ def verify_multi_document_transaction(model) path = "/api/v2/transactions
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param code [String] The transaction code for this MultiDocument transaction
@@ -395,7 +395,7 @@ def verify_multi_document_transaction(model) path = "/api/v2/transactions
# @param model [Object] The void request you wish to execute
# @return [Object]
def void_multi_document_transaction(code, type, model) path = "/api/v2/transactions/multidocument/#{code}/type/#{type}/void"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/nexus.rb b/lib/avatax/client/nexus.rb
index 1b9392c..66c0d7e 100644
--- a/lib/avatax/client/nexus.rb
+++ b/lib/avatax/client/nexus.rb
@@ -27,13 +27,13 @@ module Nexus
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus.
# @param model [NexusModel[]] The nexus you wish to create.
# @return [NexusModel[]]
def create_nexus(companyId, model) path = "/api/v2/companies/#{companyId}/nexus"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Add parameters to a nexus.
#
@@ -50,14 +50,14 @@ def create_nexus(companyId, model) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus parameter.
# @param nexusId [Integer] The nexus id.
# @param model [NexusParameterDetailModel[]] The nexus parameters you wish to create.
# @return [NexusParameterDetailModel[]]
def create_nexus_parameters(companyId, nexusId, model) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Creates nexus for a list of addresses.
#
@@ -79,13 +79,13 @@ def create_nexus_parameters(companyId, nexusId, model) path = "/api/v2/co
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that will own this nexus.
# @param model [DeclareNexusByAddressModel[]] The nexus you wish to create.
# @return [NexusByAddressModel[]]
def declare_nexus_by_address(companyId, model) path = "/api/v2/companies/#{companyId}/nexus/byaddress"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single nexus
#
@@ -100,14 +100,14 @@ def declare_nexus_by_address(companyId, model) path = "/api/v2/companies/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus.
# @param id [Integer] The ID of the nexus you wish to delete.
# @param cascadeDelete [Boolean] If true, deletes all the child nexus if they exist along with parent nexus
# @return [ErrorDetail[]]
def delete_nexus(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
- delete(path, options, "22.5.0") end
+ delete(path, options, "22.6.1") end
# Delete a single nexus parameter
#
@@ -120,14 +120,14 @@ def delete_nexus(companyId, id, options={}) path = "/api/v2/companies/#{c
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param nexusId [Integer] The nexus id
# @param id [Integer] The parameter id
# @return [ErrorDetail[]]
def delete_nexus_parameter(companyId, nexusId, id) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete all parameters for an nexus
#
@@ -140,13 +140,13 @@ def delete_nexus_parameter(companyId, nexusId, id) path = "/api/v2/compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus.
# @param nexusId [Integer] The ID of the nexus you wish to delete the parameters.
# @return [ErrorDetail[]]
def delete_nexus_parameters(companyId, nexusId) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single nexus
#
@@ -161,14 +161,14 @@ def delete_nexus_parameters(companyId, nexusId) path = "/api/v2/companies
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus object
# @param id [Integer] The primary key of this nexus
# @param include [String]
# @return [Object]
def get_nexus(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# List company nexus related to a tax form
#
@@ -187,14 +187,14 @@ def get_nexus(companyId, id, options={}) path = "/api/v2/companies/#{comp
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this nexus object
# @param formCode [String] The form code that we are looking up the nexus for
# @param include [String]
# @return [Object]
def get_nexus_by_form_code(companyId, formCode, options={}) path = "/api/v2/companies/#{companyId}/nexus/byform/#{formCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single nexus parameter
#
@@ -207,14 +207,14 @@ def get_nexus_by_form_code(companyId, formCode, options={}) path = "/api/
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param nexusId [Integer] The nexus id
# @param id [Integer] The parameter id
# @return [Object]
def get_nexus_parameter(companyId, nexusId, id) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve nexus for this company
#
@@ -232,7 +232,7 @@ def get_nexus_parameter(companyId, nexusId, id) path = "/api/v2/companies
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
@@ -242,7 +242,7 @@ def get_nexus_parameter(companyId, nexusId, id) path = "/api/v2/companies
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/nexus"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve nexus for this company By TaxTypeGroup
#
@@ -260,7 +260,7 @@ def list_nexus_by_company(companyId, options={}) path = "/api/v2/companie
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these nexus objects
# @param taxTypeGroup [String] Name of TaxTypeGroup to filter by
@@ -271,7 +271,7 @@ def list_nexus_by_company(companyId, options={}) path = "/api/v2/companie
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_by_company_and_tax_type_group(companyId, taxTypeGroup, options={}) path = "/api/v2/companies/#{companyId}/nexus/byTaxTypeGroup/#{taxTypeGroup}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve parameters for a nexus
#
@@ -287,7 +287,7 @@ def list_nexus_by_company_and_tax_type_group(companyId, taxTypeGroup, options={}
#
# ### 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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id
# @param nexusId [Integer] The nexus id
@@ -297,7 +297,7 @@ def list_nexus_by_company_and_tax_type_group(companyId, taxTypeGroup, options={}
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_nexus_parameters(companyId, nexusId, options={}) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all nexus
#
@@ -315,7 +315,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.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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.
@@ -324,7 +324,7 @@ def list_nexus_parameters(companyId, nexusId, options={}) path = "/api/v2
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_nexus(options={}) path = "/api/v2/nexus"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single nexus
#
@@ -350,14 +350,14 @@ def query_nexus(options={}) path = "/api/v2/nexus"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this nexus belongs to.
# @param id [Integer] The ID of the nexus you wish to update
# @param model [Object] The nexus object you wish to update.
# @return [Object]
def update_nexus(companyId, id, model) path = "/api/v2/companies/#{companyId}/nexus/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update an nexus parameter
#
@@ -371,7 +371,7 @@ def update_nexus(companyId, id, model) path = "/api/v2/companies/#{compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The company id.
# @param nexusId [Integer] The nexus id
@@ -379,7 +379,7 @@ def update_nexus(companyId, id, model) path = "/api/v2/companies/#{compan
# @param model [Object] The nexus object you wish to update.
# @return [Object]
def update_nexus_parameter(companyId, nexusId, id, model) path = "/api/v2/companies/#{companyId}/nexus/#{nexusId}/parameters/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/notices.rb b/lib/avatax/client/notices.rb
index d4eba3e..ddc6f31 100644
--- a/lib/avatax/client/notices.rb
+++ b/lib/avatax/client/notices.rb
@@ -9,13 +9,13 @@ module Notices
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param model [Object] The responsibility type to create
# @return [Object]
def create_notice_responsibility_type(model) path = "/api/v2/notices/responsibilities"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Creates a new tax notice root cause type.
#
@@ -23,13 +23,13 @@ def create_notice_responsibility_type(model) path = "/api/v2/notices/resp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param model [Object] The root cause type to create
# @return [Object]
def create_notice_root_cause_type(model) path = "/api/v2/notices/rootcauses"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a tax notice responsibility type.
#
@@ -37,12 +37,12 @@ def create_notice_root_cause_type(model) path = "/api/v2/notices/rootcaus
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param responsibilityId [Integer] The unique ID of the responsibility type
# @return [ErrorDetail[]]
def delete_notice_responsibility_type(responsibilityId) path = "/api/v2/notices/responsibilities/#{responsibilityId}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a tax notice root cause type.
#
@@ -50,12 +50,12 @@ def delete_notice_responsibility_type(responsibilityId) path = "/api/v2/n
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param rootCauseId [Integer] The unique ID of the root cause type
# @return [ErrorDetail[]]
def delete_notice_root_cause_type(rootCauseId) path = "/api/v2/notices/rootcauses/#{rootCauseId}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/notifications.rb b/lib/avatax/client/notifications.rb
index 3d1b97d..ee56369 100644
--- a/lib/avatax/client/notifications.rb
+++ b/lib/avatax/client/notifications.rb
@@ -22,12 +22,12 @@ module Notifications
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The id of the notification you wish to mark as dismissed.
# @return [Object]
def dismiss_notification(id) path = "/api/v2/notifications/#{id}/dismiss"
- put(path, {}, "22.5.0") end
+ put(path, {}, "22.6.1") end
# Retrieve a single notification.
#
@@ -42,12 +42,12 @@ def dismiss_notification(id) path = "/api/v2/notifications/#{id}/dismiss"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The id of the notification to retrieve.
# @return [Object]
def get_notification(id) path = "/api/v2/notifications/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List all notifications.
#
@@ -65,7 +65,7 @@ def get_notification(id) path = "/api/v2/notifications/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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.
@@ -73,7 +73,7 @@ def get_notification(id) path = "/api/v2/notifications/#{id}"
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_notifications(options={}) path = "/api/v2/notifications"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/provisioning.rb b/lib/avatax/client/provisioning.rb
index 39b684d..25e8bbb 100644
--- a/lib/avatax/client/provisioning.rb
+++ b/lib/avatax/client/provisioning.rb
@@ -22,14 +22,14 @@ module Provisioning
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API is available by invitation only.
# * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [Provisioning:RequestNewAccount].
# Swagger Name: AvaTaxClient
# @param model [Object] Information about the account you wish to create and the selected product offerings.
# @return [Object]
def request_new_account(model) path = "/api/v2/accounts/request"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Request a new entitilement to an existing customer
#
@@ -38,7 +38,7 @@ def request_new_account(model) path = "/api/v2/accounts/request"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API is available by invitation only.
# * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [Provisioning:RequestNewAccount].
# Swagger Name: AvaTaxClient
@@ -46,7 +46,7 @@ def request_new_account(model) path = "/api/v2/accounts/request"
# @param offer [String] The offer to be added to an already existing customer
# @return [Object]
def request_new_entitlement(id, offer) path = "/api/v2/accounts/#{id}/entitlements/#{offer}"
- post(path, {}, "22.5.0") end
+ post(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/registrar.rb b/lib/avatax/client/registrar.rb
index 8f10d01..ff84caa 100644
--- a/lib/avatax/client/registrar.rb
+++ b/lib/avatax/client/registrar.rb
@@ -13,12 +13,12 @@ module Registrar
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param model [Object] The account you wish to create.
# @return [AccountModel[]]
def create_account(model) path = "/api/v2/accounts"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create new notifications.
#
@@ -38,13 +38,13 @@ def create_account(model) path = "/api/v2/accounts"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].
# Swagger Name: AvaTaxClient
# @param model [NotificationModel[]] The notifications you wish to create.
# @return [NotificationModel[]]
def create_notifications(model) path = "/api/v2/notifications"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Create a new subscription
#
@@ -56,13 +56,13 @@ def create_notifications(model) path = "/api/v2/notifications"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this subscription.
# @param model [SubscriptionModel[]] The subscription you wish to create.
# @return [SubscriptionModel[]]
def create_subscriptions(accountId, model) path = "/api/v2/accounts/#{accountId}/subscriptions"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single account
#
@@ -79,7 +79,7 @@ def create_subscriptions(accountId, model) path = "/api/v2/accounts/#{acc
# @param id [Integer] The ID of the account you wish to delete.
# @return [ErrorDetail[]]
def delete_account(id) path = "/api/v2/accounts/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single notification.
#
@@ -96,13 +96,13 @@ def delete_account(id) path = "/api/v2/accounts/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].
# Swagger Name: AvaTaxClient
# @param id [Integer] The id of the notification you wish to delete.
# @return [ErrorDetail[]]
def delete_notification(id) path = "/api/v2/notifications/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Delete a single subscription
#
@@ -113,13 +113,13 @@ def delete_notification(id) path = "/api/v2/notifications/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this subscription.
# @param id [Integer] The ID of the subscription you wish to delete.
# @return [ErrorDetail[]]
def delete_subscription(accountId, id) path = "/api/v2/accounts/#{accountId}/subscriptions/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Reset a user's password programmatically
#
@@ -132,7 +132,7 @@ def delete_subscription(accountId, id) path = "/api/v2/accounts/#{account
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API is available to Avalara system-level (registrar-level) users only.
# Swagger Name: AvaTaxClient
# @param userId [Integer] The unique ID of the user whose password will be changed
@@ -140,7 +140,7 @@ def delete_subscription(accountId, id) path = "/api/v2/accounts/#{account
# @param model [Object] The new password for this user
# @return [String]
def reset_password(userId, model, options={}) path = "/api/v2/passwords/#{userId}/reset"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Update a single account
#
@@ -151,13 +151,13 @@ def reset_password(userId, model, options={}) path = "/api/v2/passwords/#
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the account you wish to update.
# @param model [Object] The account object you wish to update.
# @return [Object]
def update_account(id, model) path = "/api/v2/accounts/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update a single notification.
#
@@ -174,14 +174,14 @@ def update_account(id, model) path = "/api/v2/accounts/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API is available by invitation only. To request access to this feature, please speak to a business development manager and request access to [NotificationsAPI:Create].
# Swagger Name: AvaTaxClient
# @param id [Integer] The id of the notification you wish to update.
# @param model [Object] The notification object you wish to update.
# @return [Object]
def update_notification(id, model) path = "/api/v2/notifications/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Update a single subscription
#
@@ -196,14 +196,14 @@ def update_notification(id, model) path = "/api/v2/notifications/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: BatchServiceAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that this subscription belongs to.
# @param id [Integer] The ID of the subscription you wish to update
# @param model [Object] The subscription you wish to update.
# @return [Object]
def update_subscription(accountId, id, model) path = "/api/v2/accounts/#{accountId}/subscriptions/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/reports.rb b/lib/avatax/client/reports.rb
index a1dd507..cf883cc 100644
--- a/lib/avatax/client/reports.rb
+++ b/lib/avatax/client/reports.rb
@@ -22,12 +22,12 @@ module Reports
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of this report
# @return [Object]
def download_report(id) path = "/api/v2/reports/#{id}/attachment"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve a single report
#
@@ -46,7 +46,7 @@ def download_report(id) path = "/api/v2/reports/#{id}/attachment"
# @param id [Integer] The unique ID number of the report to retrieve
# @return [Object]
def get_report(id) path = "/api/v2/reports/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Initiate an ExportDocumentLine report task
#
@@ -73,13 +73,13 @@ def get_report(id) path = "/api/v2/reports/#{id}"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The unique ID number of the company to report on.
# @param model [Object] Options that may be configured to customize the report.
# @return [ReportModel[]]
def initiate_export_document_line_report(companyId, model) path = "/api/v2/companies/#{companyId}/reports/exportdocumentline/initiate"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# List all report tasks for account
#
@@ -97,7 +97,7 @@ def initiate_export_document_line_report(companyId, model) path = "/api/v
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company for which to get reports.
# @param pageKey [String] Provide a page key to retrieve the next page of results.
@@ -105,7 +105,7 @@ def initiate_export_document_line_report(companyId, model) path = "/api/v
# @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.
# @return [FetchResult]
def list_reports(options={}) path = "/api/v2/reports"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/settings.rb b/lib/avatax/client/settings.rb
index 42858e6..68df352 100644
--- a/lib/avatax/client/settings.rb
+++ b/lib/avatax/client/settings.rb
@@ -23,13 +23,13 @@ module Settings
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this setting.
# @param model [SettingModel[]] The setting you wish to create.
# @return [SettingModel[]]
def create_settings(companyId, model) path = "/api/v2/companies/#{companyId}/settings"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single setting
#
@@ -46,13 +46,13 @@ def create_settings(companyId, model) path = "/api/v2/companies/#{company
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this setting.
# @param id [Integer] The ID of the setting you wish to delete.
# @return [ErrorDetail[]]
def delete_setting(companyId, id) path = "/api/v2/companies/#{companyId}/settings/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single setting
#
@@ -69,13 +69,13 @@ def delete_setting(companyId, id) path = "/api/v2/companies/#{companyId}/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this setting
# @param id [Integer] The primary key of this setting
# @return [Object]
def get_setting(companyId, id) path = "/api/v2/companies/#{companyId}/settings/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve all settings for this company
#
@@ -95,7 +95,7 @@ def get_setting(companyId, id) path = "/api/v2/companies/#{companyId}/set
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these settings
# @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:* modifiedDate, ModifiedUserId
@@ -105,7 +105,7 @@ def get_setting(companyId, id) path = "/api/v2/companies/#{companyId}/set
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_settings_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/settings"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all settings
#
@@ -125,7 +125,7 @@ def list_settings_by_company(companyId, options={}) path = "/api/v2/compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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:* modifiedDate, ModifiedUserId
# @param include [String] A comma separated list of additional data to retrieve.
@@ -134,7 +134,7 @@ def list_settings_by_company(companyId, options={}) path = "/api/v2/compa
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_settings(options={}) path = "/api/v2/settings"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single setting
#
@@ -155,14 +155,14 @@ def query_settings(options={}) path = "/api/v2/settings"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this setting belongs to.
# @param id [Integer] The ID of the setting you wish to update
# @param model [Object] The setting you wish to update.
# @return [Object]
def update_setting(companyId, id, model) path = "/api/v2/companies/#{companyId}/settings/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/subscriptions.rb b/lib/avatax/client/subscriptions.rb
index 30fe18b..0518f36 100644
--- a/lib/avatax/client/subscriptions.rb
+++ b/lib/avatax/client/subscriptions.rb
@@ -11,13 +11,13 @@ module Subscriptions
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns this subscription
# @param id [Integer] The primary key of this subscription
# @return [Object]
def get_subscription(accountId, id) path = "/api/v2/accounts/#{accountId}/subscriptions/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve subscriptions for this account
#
@@ -30,7 +30,7 @@ def get_subscription(accountId, id) path = "/api/v2/accounts/#{accountId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The ID of the account that owns these subscriptions
# @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:* subscriptionDescription
@@ -39,7 +39,7 @@ def get_subscription(accountId, id) path = "/api/v2/accounts/#{accountId}
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_subscriptions_by_account(accountId, options={}) path = "/api/v2/accounts/#{accountId}/subscriptions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all subscriptions
#
@@ -52,7 +52,7 @@ def list_subscriptions_by_account(accountId, 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, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @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:* subscriptionDescription
# @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.
@@ -60,7 +60,7 @@ def list_subscriptions_by_account(accountId, options={}) path = "/api/v2/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_subscriptions(options={}) path = "/api/v2/subscriptions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/taxcodes.rb b/lib/avatax/client/taxcodes.rb
index 6ffbd95..c6db5f7 100644
--- a/lib/avatax/client/taxcodes.rb
+++ b/lib/avatax/client/taxcodes.rb
@@ -13,13 +13,13 @@ module TaxCodes
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax code.
# @param model [TaxCodeModel[]] The tax code you wish to create.
# @return [TaxCodeModel[]]
def create_tax_codes(companyId, model) path = "/api/v2/companies/#{companyId}/taxcodes"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single tax code
#
@@ -27,13 +27,13 @@ def create_tax_codes(companyId, model) path = "/api/v2/companies/#{compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax code.
# @param id [Integer] The ID of the tax code you wish to delete.
# @return [ErrorDetail[]]
def delete_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/taxcodes/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single tax code
#
@@ -45,13 +45,13 @@ def delete_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax code
# @param id [Integer] The primary key of this tax code
# @return [Object]
def get_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/taxcodes/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve tax codes for this company
#
@@ -66,7 +66,7 @@ def get_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/ta
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these tax codes
# @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/).
@@ -76,7 +76,7 @@ def get_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/ta
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_codes_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/taxcodes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all tax codes
#
@@ -91,7 +91,7 @@ def list_tax_codes_by_company(companyId, options={}) path = "/api/v2/comp
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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 include [String] A comma separated list of additional data to retrieve.
@@ -100,7 +100,7 @@ def list_tax_codes_by_company(companyId, options={}) path = "/api/v2/comp
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_tax_codes(options={}) path = "/api/v2/taxcodes"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single tax code
#
@@ -114,14 +114,14 @@ def query_tax_codes(options={}) path = "/api/v2/taxcodes"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this tax code belongs to.
# @param id [Integer] The ID of the tax code you wish to update
# @param model [Object] The tax code you wish to update.
# @return [Object]
def update_tax_code(companyId, id, model) path = "/api/v2/companies/#{companyId}/taxcodes/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/taxcontent.rb b/lib/avatax/client/taxcontent.rb
index 11e9af7..b907346 100644
--- a/lib/avatax/client/taxcontent.rb
+++ b/lib/avatax/client/taxcontent.rb
@@ -31,13 +31,13 @@ module TaxContent
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param model [Object] Parameters about the desired file format and report format, specifying which company, locations and TaxCodes to include.
# @return [Object]
def build_tax_content_file(model) path = "/api/v2/pointofsaledata/build"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Build a tax content file for a single location
#
@@ -67,7 +67,7 @@ def build_tax_content_file(model) path = "/api/v2/pointofsaledata/build"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID number of the company that owns this location.
@@ -78,7 +78,7 @@ def build_tax_content_file(model) path = "/api/v2/pointofsaledata/build"
# @param includeJurisCodes [Boolean] When true, the file will include jurisdiction codes in the result.
# @return [Object]
def build_tax_content_file_for_location(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/locations/#{id}/pointofsaledata"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Download a file listing tax rates by postal code
#
@@ -125,13 +125,13 @@ def build_tax_content_file_for_location(companyId, id, options={}) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param date [DateTime] The date for which point-of-sale data would be calculated (today by default). Example input: 2016-12-31
# @param region [String] A two character region code which limits results to a specific region.
# @return [Object]
def download_tax_rates_by_zip_code(date, options={}) path = "/api/v2/taxratesbyzipcode/download/#{date}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Sales tax rates for a specified address
#
@@ -165,7 +165,7 @@ def download_tax_rates_by_zip_code(date, options={}) path = "/api/v2/taxr
# @param country [String] Name or ISO 3166 code identifying the country. 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`.
# @return [Object]
def tax_rates_by_address(options={}) path = "/api/v2/taxrates/byaddress"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Sales tax rates for a specified country and postal code. This API is only available for US postal codes.
#
@@ -196,7 +196,7 @@ def tax_rates_by_address(options={}) path = "/api/v2/taxrates/byaddress"
# @param postalCode [String] The postal code of the location.
# @return [Object]
def tax_rates_by_postal_code(options={}) path = "/api/v2/taxrates/bypostalcode"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/taxrules.rb b/lib/avatax/client/taxrules.rb
index f35da7a..82d5c83 100644
--- a/lib/avatax/client/taxrules.rb
+++ b/lib/avatax/client/taxrules.rb
@@ -21,13 +21,13 @@ module TaxRules
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax rule.
# @param model [TaxRuleModel[]] The tax rule you wish to create.
# @return [TaxRuleModel[]]
def create_tax_rules(companyId, model) path = "/api/v2/companies/#{companyId}/taxrules"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single tax rule
#
@@ -47,13 +47,13 @@ def create_tax_rules(companyId, model) path = "/api/v2/companies/#{compan
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax rule.
# @param id [Integer] The ID of the tax rule you wish to delete.
# @return [ErrorDetail[]]
def delete_tax_rule(companyId, id) path = "/api/v2/companies/#{companyId}/taxrules/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single tax rule
#
@@ -73,13 +73,13 @@ def delete_tax_rule(companyId, id) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax rule
# @param id [Integer] The primary key of this tax rule
# @return [Object]
def get_tax_rule(companyId, id) path = "/api/v2/companies/#{companyId}/taxrules/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve tax rules for this company
#
@@ -102,7 +102,7 @@ def get_tax_rule(companyId, id) path = "/api/v2/companies/#{companyId}/ta
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these tax rules
# @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:* taxCode, taxTypeCode, taxRuleProductDetail, rateTypeCode, taxTypeGroup, taxSubType, unitOfBasis
@@ -112,7 +112,7 @@ def get_tax_rule(companyId, id) path = "/api/v2/companies/#{companyId}/ta
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_tax_rules(companyId, options={}) path = "/api/v2/companies/#{companyId}/taxrules"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all tax rules
#
@@ -135,7 +135,7 @@ def list_tax_rules(companyId, options={}) path = "/api/v2/companies/#{com
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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:* taxCode, taxTypeCode, taxRuleProductDetail, rateTypeCode, taxTypeGroup, taxSubType, unitOfBasis
# @param include [String] A comma separated list of additional data to retrieve.
@@ -144,7 +144,7 @@ def list_tax_rules(companyId, options={}) path = "/api/v2/companies/#{com
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_tax_rules(options={}) path = "/api/v2/taxrules"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single tax rule
#
@@ -164,14 +164,14 @@ def query_tax_rules(options={}) path = "/api/v2/taxrules"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this tax rule belongs to.
# @param id [Integer] The ID of the tax rule you wish to update
# @param model [Object] The tax rule you wish to update.
# @return [Object]
def update_tax_rule(companyId, id, model) path = "/api/v2/companies/#{companyId}/taxrules/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/transactions.rb b/lib/avatax/client/transactions.rb
index 89841e5..3185ae8 100644
--- a/lib/avatax/client/transactions.rb
+++ b/lib/avatax/client/transactions.rb
@@ -28,14 +28,14 @@ module Transactions
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param include [String] Specifies objects to include in the response after transaction is created
# @param model [Object] information about the transaction and lines to be added
# @return [Object]
def add_lines(model, options={}) path = "/api/v2/companies/transactions/lines/add"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Correct a previously created transaction
#
@@ -71,7 +71,7 @@ def add_lines(model, options={}) path = "/api/v2/companies/transactions/l
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -81,7 +81,7 @@ def add_lines(model, options={}) path = "/api/v2/companies/transactions/l
# @param model [Object] The adjustment you wish to make
# @return [Object]
def adjust_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/adjust"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Get audit information about a transaction
#
@@ -111,14 +111,14 @@ def adjust_transaction(companyCode, transactionCode, model, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The code identifying the company that owns this transaction
# @param transactionCode [String] The code identifying the transaction
# @return [Object]
def audit_transaction(companyCode, transactionCode) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/audit"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Get audit information about a transaction
#
@@ -148,7 +148,7 @@ def audit_transaction(companyCode, transactionCode) path = "/api/v2/compa
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The code identifying the company that owns this transaction
@@ -156,7 +156,7 @@ def audit_transaction(companyCode, transactionCode) path = "/api/v2/compa
# @param documentType [String] The document type of the original transaction (See DocumentType::* for a list of allowable values)
# @return [Object]
def audit_transaction_with_type(companyCode, transactionCode, documentType) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/types/#{documentType}/audit"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Lock a set of documents
#
@@ -176,7 +176,7 @@ def audit_transaction_with_type(companyCode, transactionCode, documentType)
# @param model [Object] bulk lock request
# @return [Object]
def bulk_lock_transaction(model) path = "/api/v2/transactions/lock"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Change a transaction's code
#
@@ -212,7 +212,7 @@ def bulk_lock_transaction(model) path = "/api/v2/transactions/lock"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -222,7 +222,7 @@ def bulk_lock_transaction(model) path = "/api/v2/transactions/lock"
# @param model [Object] The code change request you wish to execute
# @return [Object]
def change_transaction_code(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/changecode"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Commit a transaction for reporting
#
@@ -257,7 +257,7 @@ def change_transaction_code(companyCode, transactionCode, model, options={})
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
# @param transactionCode [String] The transaction code to commit
@@ -266,7 +266,7 @@ def change_transaction_code(companyCode, transactionCode, model, options={})
# @param model [Object] The commit request you wish to execute
# @return [Object]
def commit_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/commit"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Create or adjust a transaction
#
@@ -306,14 +306,14 @@ def commit_transaction(companyCode, transactionCode, model, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param include [String] Specifies objects to include in the response after transaction is created
# @param model [Object] The transaction you wish to create or adjust
# @return [Object]
def create_or_adjust_transaction(model, options={}) path = "/api/v2/transactions/createoradjust"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Create a new transaction
#
@@ -360,14 +360,14 @@ def create_or_adjust_transaction(model, options={}) path = "/api/v2/trans
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param include [String] Specifies objects to include in the response after transaction is created
# @param model [Object] The transaction you wish to create
# @return [Object]
def create_transaction(model, options={}) path = "/api/v2/transactions/create"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Remove lines from an existing unlocked transaction
#
@@ -391,14 +391,14 @@ def create_transaction(model, options={}) path = "/api/v2/transactions/cr
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param include [String] Specifies objects to include in the response after transaction is created
# @param model [Object] information about the transaction and lines to be removed
# @return [Object]
def delete_lines(model, options={}) path = "/api/v2/companies/transactions/lines/delete"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Retrieve a single transaction by code
#
@@ -431,7 +431,7 @@ def delete_lines(model, options={}) path = "/api/v2/companies/transaction
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -440,7 +440,7 @@ def delete_lines(model, options={}) path = "/api/v2/companies/transaction
# @param include [String] Specifies objects to include in this fetch call
# @return [Object]
def get_transaction_by_code(companyCode, transactionCode, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single transaction by code
#
@@ -456,7 +456,7 @@ def get_transaction_by_code(companyCode, transactionCode, options={}) pat
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -465,7 +465,7 @@ def get_transaction_by_code(companyCode, transactionCode, options={}) pat
# @param include [String] Specifies objects to include in this fetch call
# @return [Object]
def get_transaction_by_code_and_type(companyCode, transactionCode, documentType, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/types/#{documentType}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve a single transaction by ID
#
@@ -488,14 +488,14 @@ def get_transaction_by_code_and_type(companyCode, transactionCode, documentType,
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param id [Integer] The unique ID number of the transaction to retrieve
# @param include [String] Specifies objects to include in this fetch call
# @return [Object]
def get_transaction_by_id(id, options={}) path = "/api/v2/transactions/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all transactions
#
@@ -531,7 +531,7 @@ def get_transaction_by_id(id, options={}) path = "/api/v2/transactions/#{
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -543,7 +543,7 @@ def get_transaction_by_id(id, options={}) path = "/api/v2/transactions/#{
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_transactions_by_company(companyCode, options={}) path = "/api/v2/companies/#{companyCode}/transactions"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Lock a single transaction
#
@@ -579,7 +579,7 @@ def list_transactions_by_company(companyCode, options={}) path = "/api/v2
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -589,7 +589,7 @@ def list_transactions_by_company(companyCode, options={}) path = "/api/v2
# @param model [Object] The lock request you wish to execute
# @return [Object]
def lock_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/lock"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Create a refund for a transaction
#
@@ -635,7 +635,7 @@ def lock_transaction(companyCode, transactionCode, model, options={}) pat
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The code of the company that made the original sale
@@ -646,7 +646,7 @@ def lock_transaction(companyCode, transactionCode, model, options={}) pat
# @param model [Object] Information about the refund to create
# @return [Object]
def refund_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/refund"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Perform multiple actions on a transaction
#
@@ -681,7 +681,7 @@ def refund_transaction(companyCode, transactionCode, model, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
# @param transactionCode [String] The transaction code to settle
@@ -690,7 +690,7 @@ def refund_transaction(companyCode, transactionCode, model, options={}) p
# @param model [Object] The data from an external system to reconcile against AvaTax
# @return [Object]
def settle_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/settle"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Uncommit a transaction for reporting
#
@@ -719,7 +719,7 @@ def settle_transaction(companyCode, transactionCode, model, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -728,7 +728,7 @@ def settle_transaction(companyCode, transactionCode, model, options={}) p
# @param include [String] Specifies objects to include in this fetch call
# @return [Object]
def uncommit_transaction(companyCode, transactionCode, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/uncommit"
- post(path, options, "22.5.0") end
+ post(path, options, "22.6.1") end
# Unvoids a transaction
#
@@ -754,7 +754,7 @@ def uncommit_transaction(companyCode, transactionCode, options={}) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -763,7 +763,7 @@ def uncommit_transaction(companyCode, transactionCode, options={}) path =
# @param include [String] Specifies objects to include in this fetch call
# @return [Object]
def unvoid_transaction(companyCode, transactionCode, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/unvoid"
- post(path, options, "22.5.0") end
+ post(path, options, "22.6.1") end
# Verify a transaction
#
@@ -796,7 +796,7 @@ def unvoid_transaction(companyCode, transactionCode, options={}) path = "
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -806,7 +806,7 @@ def unvoid_transaction(companyCode, transactionCode, options={}) path = "
# @param model [Object] The data from an external system to reconcile against AvaTax
# @return [Object]
def verify_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/verify"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
# Void a transaction
#
@@ -841,7 +841,7 @@ def verify_transaction(companyCode, transactionCode, model, options={}) p
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyCode [String] The company code of the company that recorded this transaction
@@ -851,7 +851,7 @@ def verify_transaction(companyCode, transactionCode, model, options={}) p
# @param model [Object] The void request you wish to execute. To void a transaction the code must be set to 'DocVoided'
# @return [Object]
def void_transaction(companyCode, transactionCode, model, options={}) path = "/api/v2/companies/#{companyCode}/transactions/#{transactionCode}/void"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/upcs.rb b/lib/avatax/client/upcs.rb
index 4d57483..42eb7ba 100644
--- a/lib/avatax/client/upcs.rb
+++ b/lib/avatax/client/upcs.rb
@@ -10,14 +10,14 @@ module Upcs
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this UPC.
# @param model [UPCModel[]] The UPC you wish to create.
# @return [UPCModel[]]
def create_u_p_cs(companyId, model) path = "/api/v2/companies/#{companyId}/upcs"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single UPC
#
@@ -25,14 +25,14 @@ def create_u_p_cs(companyId, model) path = "/api/v2/companies/#{companyId
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this UPC.
# @param id [Integer] The ID of the UPC you wish to delete.
# @return [ErrorDetail[]]
def delete_u_p_c(companyId, id) path = "/api/v2/companies/#{companyId}/upcs/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single UPC
#
@@ -41,14 +41,14 @@ def delete_u_p_c(companyId, id) path = "/api/v2/companies/#{companyId}/up
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this UPC
# @param id [Integer] The primary key of this UPC
# @return [Object]
def get_u_p_c(companyId, id) path = "/api/v2/companies/#{companyId}/upcs/#{id}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve UPCs for this company
#
@@ -60,7 +60,7 @@ def get_u_p_c(companyId, id) path = "/api/v2/companies/#{companyId}/upcs/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these UPCs
@@ -71,7 +71,7 @@ def get_u_p_c(companyId, id) path = "/api/v2/companies/#{companyId}/upcs/
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_u_p_cs_by_company(companyId, options={}) path = "/api/v2/companies/#{companyId}/upcs"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all UPCs
#
@@ -83,7 +83,7 @@ def list_u_p_cs_by_company(companyId, options={}) path = "/api/v2/compani
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @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/).
@@ -93,7 +93,7 @@ def list_u_p_cs_by_company(companyId, options={}) path = "/api/v2/compani
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_u_p_cs(options={}) path = "/api/v2/upcs"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single UPC
#
@@ -104,7 +104,7 @@ def query_u_p_cs(options={}) path = "/api/v2/upcs"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaUpc.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that this UPC belongs to.
@@ -112,7 +112,7 @@ def query_u_p_cs(options={}) path = "/api/v2/upcs"
# @param model [Object] The UPC you wish to update.
# @return [Object]
def update_u_p_c(companyId, id, model) path = "/api/v2/companies/#{companyId}/upcs/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/userdefinedfields.rb b/lib/avatax/client/userdefinedfields.rb
index 69c74c6..038a8f1 100644
--- a/lib/avatax/client/userdefinedfields.rb
+++ b/lib/avatax/client/userdefinedfields.rb
@@ -9,20 +9,20 @@ module UserDefinedFields
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company the User Defined Field belongs to.
# @param id [Integer] The id of the User Defined Field you wish to delete.
# @return [ErrorDetail[]]
def delete_user_defined_field(companyId, id) path = "/api/v2/companies/#{companyId}/userdefinedfields/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
#
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer]
@@ -30,7 +30,7 @@ def delete_user_defined_field(companyId, id) path = "/api/v2/companies/#{
# @param allowDefaults [Boolean] If true this will add defaulted UDFs to the list that are not named yet
# @return [FetchResult]
def list_user_defined_fields_by_company_id(companyId, options={}) path = "/api/v2/companies/#{companyId}/userdefinedfields"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a User Defined Field identified by id for a company
#
@@ -38,7 +38,7 @@ def list_user_defined_fields_by_company_id(companyId, options={}) path =
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The id of the company the user defined field belongs to.
@@ -46,7 +46,7 @@ def list_user_defined_fields_by_company_id(companyId, options={}) path =
# @param model [Object]
# @return [Object]
def update_user_defined_field(companyId, model, options={}) path = "/api/v2/companies/#{companyId}/userdefinedfields"
- post(path, model, options, "22.5.0") end
+ post(path, model, options, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/users.rb b/lib/avatax/client/users.rb
index 7821f68..3fd1115 100644
--- a/lib/avatax/client/users.rb
+++ b/lib/avatax/client/users.rb
@@ -15,12 +15,12 @@ module Users
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param model [Object] An object containing your current password and the new password.
# @return [String]
def change_password(model) path = "/api/v2/passwords"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
# Create new users
#
@@ -36,13 +36,13 @@ def change_password(model) path = "/api/v2/passwords"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The unique ID number of the account where these users will be created.
# @param model [UserModel[]] The user or array of users you wish to create.
# @return [UserModel[]]
def create_users(accountId, model) path = "/api/v2/accounts/#{accountId}/users"
- post(path, model, {}, "22.5.0") end
+ post(path, model, {}, "22.6.1") end
# Delete a single user
#
@@ -55,13 +55,13 @@ def create_users(accountId, model) path = "/api/v2/accounts/#{accountId}/
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, CSPTester, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TreasuryAdmin.
+ # * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, Compliance Root User, CSPTester, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TreasuryAdmin.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the user you wish to delete.
# @param accountId [Integer] The accountID of the user you wish to delete.
# @return [ErrorDetail[]]
def delete_user(id, accountId) path = "/api/v2/accounts/#{accountId}/users/#{id}"
- delete(path, {}, "22.5.0") end
+ delete(path, {}, "22.6.1") end
# Retrieve a single user
#
@@ -74,14 +74,14 @@ def delete_user(id, accountId) path = "/api/v2/accounts/#{accountId}/user
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the user to retrieve.
# @param accountId [Integer] The accountID of the user you wish to get.
# @param include [String] Optional fetch commands.
# @return [Object]
def get_user(id, accountId, options={}) path = "/api/v2/accounts/#{accountId}/users/#{id}"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all entitlements for a single user
#
@@ -103,13 +103,13 @@ def get_user(id, accountId, options={}) path = "/api/v2/accounts/#{accoun
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the user to retrieve.
# @param accountId [Integer] The accountID of the user you wish to get.
# @return [Object]
def get_user_entitlements(id, accountId) path = "/api/v2/accounts/#{accountId}/users/#{id}/entitlements"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Retrieve users for this account
#
@@ -128,7 +128,7 @@ def get_user_entitlements(id, accountId) path = "/api/v2/accounts/#{accou
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param accountId [Integer] The accountID of the user you wish to list.
# @param include [String] Optional fetch commands.
@@ -138,7 +138,7 @@ def get_user_entitlements(id, accountId) path = "/api/v2/accounts/#{accou
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def list_users_by_account(accountId, options={}) path = "/api/v2/accounts/#{accountId}/users"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Retrieve all users
#
@@ -159,7 +159,7 @@ def list_users_by_account(accountId, options={}) path = "/api/v2/accounts
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param include [String] Optional fetch commands.
# @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:* SuppressNewUserEmail
@@ -168,7 +168,7 @@ def list_users_by_account(accountId, options={}) path = "/api/v2/accounts
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @return [FetchResult]
def query_users(options={}) path = "/api/v2/users"
- get(path, options, "22.5.0") end
+ get(path, options, "22.6.1") end
# Update a single user
#
@@ -179,14 +179,14 @@ def query_users(options={}) path = "/api/v2/users"
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# Swagger Name: AvaTaxClient
# @param id [Integer] The ID of the user you wish to update.
# @param accountId [Integer] The accountID of the user you wish to update.
# @param model [Object] The user object you wish to update.
# @return [Object]
def update_user(id, accountId, model) path = "/api/v2/accounts/#{accountId}/users/#{id}"
- put(path, model, {}, "22.5.0") end
+ put(path, model, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/client/utilities.rb b/lib/avatax/client/utilities.rb
index 82c4a34..d233790 100644
--- a/lib/avatax/client/utilities.rb
+++ b/lib/avatax/client/utilities.rb
@@ -17,7 +17,7 @@ module Utilities
# @param serviceTypeId [String] The service to check
# @return [Object]
def get_my_subscription(serviceTypeId) path = "/api/v2/utilities/subscriptions/#{serviceTypeId}"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# List all services to which the current user is subscribed
#
@@ -32,7 +32,7 @@ def get_my_subscription(serviceTypeId) path = "/api/v2/utilities/subscrip
# Swagger Name: AvaTaxClient
# @return [FetchResult]
def list_my_subscriptions() path = "/api/v2/utilities/subscriptions"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
# Tests connectivity and version of the service
#
@@ -59,7 +59,7 @@ def list_my_subscriptions() path = "/api/v2/utilities/subscriptions"
# Swagger Name: AvaTaxClient
# @return [Object]
def ping() path = "/api/v2/utilities/ping"
- get(path, {}, "22.5.0") end
+ get(path, {}, "22.6.1") end
end
end
end
\ No newline at end of file
diff --git a/lib/avatax/version.rb b/lib/avatax/version.rb
index fa08d50..3351dbc 100644
--- a/lib/avatax/version.rb
+++ b/lib/avatax/version.rb
@@ -1,3 +1,3 @@
module AvaTax
- VERSION = '22.5.0'.freeze unless defined?(::AvaTax::VERSION)
+ VERSION = '22.6.1'.freeze unless defined?(::AvaTax::VERSION)
end