Skip to content

Commit d8ababf

Browse files
author
svc-developer
committed
25.1.0
1 parent 55e294f commit d8ababf

File tree

8 files changed

+140
-21
lines changed

8 files changed

+140
-21
lines changed

lib/avatax/client/accounts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def get_account_configuration(id) path = "/api/v2/accounts/#{id}/configur
173173
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
174174
# Swagger Name: AvaTaxClient
175175
# @param id [Integer] The ID of the account to retrieve
176-
# @param licensekeyname [String] The ID of the account to retrieve
176+
# @param licensekeyname [String] The license key name to be retrieved
177177
# @return [Object]
178178
def get_license_key(id, licensekeyname) path = "/api/v2/accounts/#{id}/licensekey/#{licensekeyname}"
179179
get(path, {}, AvaTax::VERSION) end

lib/avatax/client/batches.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Batches
2020
#
2121
# ### Security Policies
2222
#
23-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
23+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
2424
# Swagger Name: AvaTaxClient
2525
# @param companyId [Integer] The ID of the company that owns this batch.
2626
# @param id [Integer] The ID of the batch to cancel.
@@ -52,7 +52,7 @@ def cancel_batch(companyId, id) path = "/api/v2/companies/#{companyId}/ba
5252
#
5353
# ### Security Policies
5454
#
55-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
55+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
5656
# Swagger Name: AvaTaxClient
5757
# @param companyId [Integer] The ID of the company that owns this batch.
5858
# @param model [BatchModel[]] The batch you wish to create.
@@ -82,7 +82,7 @@ def create_batches(companyId, model) path = "/api/v2/companies/#{companyI
8282
#
8383
# ### Security Policies
8484
#
85-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
85+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
8686
# Swagger Name: AvaTaxClient
8787
# @param companyId [Integer] The ID of the company that owns this batch.
8888
# @param model [Object] The transaction batch you wish to create.
@@ -105,7 +105,7 @@ def create_transaction_batch(companyId, model) path = "/api/v2/companies/
105105
#
106106
# ### Security Policies
107107
#
108-
# * This API requires one of the following user roles: BatchServiceAdmin, CSPAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
108+
# * This API requires one of the following user roles: BatchServiceAdmin, CSPAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
109109
# Swagger Name: AvaTaxClient
110110
# @param companyId [Integer] The ID of the company that owns this batch.
111111
# @param id [Integer] The ID of the batch to delete.
@@ -119,7 +119,7 @@ def delete_batch(companyId, id) path = "/api/v2/companies/#{companyId}/ba
119119
#
120120
# ### Security Policies
121121
#
122-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
122+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
123123
# Swagger Name: AvaTaxClient
124124
# @param companyId [Integer] The ID of the company that owns this batch
125125
# @param batchId [Integer] The ID of the batch object
@@ -148,7 +148,7 @@ def download_batch(companyId, batchId, id) path = "/api/v2/companies/#{co
148148
#
149149
# ### Security Policies
150150
#
151-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
151+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
152152
# Swagger Name: AvaTaxClient
153153
# @param companyId [Integer] The ID of the company that owns this batch
154154
# @param id [Integer] The primary key of this batch
@@ -182,7 +182,7 @@ def get_batch(companyId, id) path = "/api/v2/companies/#{companyId}/batch
182182
#
183183
# ### Security Policies
184184
#
185-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
185+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
186186
# Swagger Name: AvaTaxClient
187187
# @param companyId [Integer] The ID of the company that owns these batches
188188
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* files
@@ -217,7 +217,7 @@ def list_batches_by_company(companyId, options={}) path = "/api/v2/compan
217217
#
218218
# ### Security Policies
219219
#
220-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
220+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, FirmAdmin, SiteAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
221221
# Swagger Name: AvaTaxClient
222222
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* files
223223
# @param include [String] A comma separated list of additional data to retrieve.

lib/avatax/client/certificates.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def list_customers_for_certificate(companyId, id, options={}) path = "/ap
301301
# Swagger Name: AvaTaxClient
302302
# @param companyId [Integer] The ID number of the company to search
303303
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
304-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
304+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
305305
# @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.
306306
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
307307
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.

lib/avatax/client/customers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def list_attributes_for_customer(companyId, customerCode) path = "/api/v2
235235
# @param companyId [Integer] The unique ID number of the company that recorded this customer
236236
# @param customerCode [String] The unique code representing this customer
237237
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
238-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
238+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
239239
# @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.
240240
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
241241
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.

lib/avatax/client/definitions.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,16 @@ def list_entity_use_codes(options={}) path = "/api/v2/definitions/entityu
296296
def list_filing_frequencies(options={}) path = "/api/v2/definitions/filingfrequencies"
297297
get(path, options, AvaTax::VERSION) end
298298

299+
# List of all HS code classification statuses that can be assigned to an Item.
300+
#
301+
# ### Security Policies
302+
#
303+
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
304+
# Swagger Name: AvaTaxClient
305+
# @return [ItemHSCodeClassificationStatusOutputModel[]]
306+
def list_item_h_s_code_classification_status() path = "/api/v2/definitions/items/hscode-classification-status"
307+
get(path, {}, AvaTax::VERSION) end
308+
299309
# List of all recommendation status which can be assigned to an item
300310
#
301311
# ### Security Policies

0 commit comments

Comments
 (0)