You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,7 +42,7 @@ export default class AvaTaxClient {
42
42
appName +
43
43
'; ' +
44
44
appVersion +
45
-
'; JavascriptSdk; 21.7.1; ' +
45
+
'; JavascriptSdk; 21.8.0; ' +
46
46
machineName;
47
47
}
48
48
@@ -85,7 +85,7 @@ export default class AvaTaxClient {
85
85
},
86
86
body: JSON.stringify(payload)
87
87
})).then(res => {
88
-
var contentType = res.headers._headers['content-type'][0];
88
+
var contentType = res.headers._headers['content-type'][0];
89
89
90
90
if (contentType === 'application/vnd.ms-excel' || contentType === 'text/csv') {
91
91
return res;
@@ -763,7 +763,7 @@ export default class AvaTaxClient {
763
763
*
764
764
* Marks the in progress batch identified by this URL as cancelled.
765
765
*
766
-
* Only JSON batches can be cancelled.If you attempt to cancel a file batch, you will receive an error message.
766
+
* Only JSON batches can be cancelled.If you attempt to cancel a file batch, you will receive an error message.
767
767
*
768
768
* Only in progress batches can be cancelled. If you attempt to cancel a batch that its status is not Waiting or Processing, you will receive an error message.
769
769
* Cancelling an in progress batch does not delete any transactions that were created before the cancellation.
@@ -2260,7 +2260,7 @@ export default class AvaTaxClient {
2260
2260
*
2261
2261
* @return FetchResult
2262
2262
*/
2263
-
listMrsCompanies() {
2263
+
listMrsCompanies({ } = {}) {
2264
2264
var path = this.buildUrl({
2265
2265
url: `/api/v2/companies/mrs`,
2266
2266
parameters: {}
@@ -3658,7 +3658,7 @@ export default class AvaTaxClient {
3658
3658
*
3659
3659
* @return FetchResult
3660
3660
*/
3661
-
listCrossBorderSections() {
3661
+
listCrossBorderSections({ } = {}) {
3662
3662
var path = this.buildUrl({
3663
3663
url: `/api/v2/definitions/crossborder/sections`,
3664
3664
parameters: {}
@@ -3932,7 +3932,7 @@ export default class AvaTaxClient {
3932
3932
* This API is intended to be useful if your user interface needs to display a selectable list of nexus.
3933
3933
*
3934
3934
*
3935
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
3935
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
3936
3936
* @param int top 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.
3937
3937
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
3938
3938
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -3968,7 +3968,7 @@ export default class AvaTaxClient {
3968
3968
* @param string region Name or ISO 3166 code identifying the region portion of the address. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
3969
3969
* @param string postalCode The postal code or zip code portion of this address.
3970
3970
* @param string country Name or ISO 3166 code identifying the country portion of this address. 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`.
3971
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
3971
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
3972
3972
* @param int top 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.
3973
3973
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
3974
3974
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -4003,7 +4003,7 @@ export default class AvaTaxClient {
4003
4003
*
4004
4004
*
4005
4005
* @param string country The country in which you want to fetch the system nexus
4006
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
4006
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
4007
4007
* @param int top 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.
4008
4008
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
4009
4009
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -4032,7 +4032,7 @@ export default class AvaTaxClient {
4032
4032
*
4033
4033
* @param string country The two-character ISO-3166 code for the country.
4034
4034
* @param string region The two or three character region code for the region.
4035
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
4035
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
4036
4036
* @param int top 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.
4037
4037
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
4038
4038
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -6217,6 +6217,8 @@ export default class AvaTaxClient {
6217
6217
*
6218
6218
* Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
6219
6219
*
6220
+
* You may specify Tag Name in the `tagName` query parameter if you want to filter items on the basis of tagName
6221
+
*
6220
6222
* You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
6221
6223
*
6222
6224
* * Parameters
@@ -6234,17 +6236,19 @@ export default class AvaTaxClient {
6234
6236
* @param int top 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.
6235
6237
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
6236
6238
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
6239
+
* @param string tagName Tag Name on the basis of which you want to filter Items
@@ -7815,7 +7819,7 @@ export default class AvaTaxClient {
7815
7819
*
7816
7820
*
7817
7821
* @param int companyId The ID of the company that owns these nexus objects
7818
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
7822
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
7819
7823
* @param string include A comma separated list of additional data to retrieve.
7820
7824
* @param int top 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.
7821
7825
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
@@ -7895,7 +7899,7 @@ export default class AvaTaxClient {
7895
7899
* * 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.
7896
7900
*
7897
7901
*
7898
-
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
7902
+
* @param string filter 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
7899
7903
* @param string include A comma separated list of additional data to retrieve.
7900
7904
* @param int top 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.
7901
7905
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
@@ -11201,7 +11205,7 @@ export default class AvaTaxClient {
11201
11205
*
11202
11206
* @return FetchResult
11203
11207
*/
11204
-
listMySubscriptions() {
11208
+
listMySubscriptions({ } = {}) {
11205
11209
var path = this.buildUrl({
11206
11210
url: `/api/v2/utilities/subscriptions`,
11207
11211
parameters: {}
@@ -11236,7 +11240,7 @@ export default class AvaTaxClient {
0 commit comments