Skip to content

Commit f9f48b6

Browse files
author
Jonathan Wenger
committed
Merge branch 'master' into jwenger/typescript-support-with-logging
2 parents 828045b + 272147e commit f9f48b6

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
registry-url: 'https://registry.npmjs.org'
2020
- run: npm run npm-publish
2121
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

lib/AvaTaxClient.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11028,6 +11028,47 @@ export default class AvaTaxClient {
1102811028
return this.restCall({ url: path, verb: 'get', payload: null, clientId: strClientId });
1102911029
}
1103011030

11031+
/**
11032+
* Retrieve the full list of Avalara-supported subscription (ServiceTypes)
11033+
* For Registrar Use Only
11034+
* This API is for use by Avalara Registrar administrative users only.
11035+
*
11036+
* Returns the full list of Avalara-supported subscription types.
11037+
* This API is intended to be useful for identifying which features you have added to your account.
11038+
* You may always contact Avalara's sales department for information on available products or services.
11039+
* You cannot change your subscriptions/service directly through the API.
11040+
*
11041+
* ### Security Policies
11042+
*
11043+
* * 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.
11044+
* Swagger Name: AvaTaxClient
11045+
*
11046+
*
11047+
* @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/).
11048+
* @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.
11049+
* @param int skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
11050+
* @param string orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
11051+
* @return FetchResult
11052+
*/
11053+
listServiceTypes({ filter, top, skip, orderBy } = {}) {
11054+
var path = this.buildUrl({
11055+
url: `/api/v2/servicetypes/servicetypes`,
11056+
parameters: {
11057+
$filter: filter,
11058+
$top: top,
11059+
$skip: skip,
11060+
$orderBy: orderBy
11061+
}
11062+
});
11063+
var strClientId =
11064+
this.appNM +
11065+
'; ' +
11066+
this.appVer +
11067+
'; JavascriptSdk; 22.10.0; ' +
11068+
this.machineNM;
11069+
return this.restCall({ url: path, verb: 'get', payload: null, clientId: strClientId });
11070+
}
11071+
1103111072
/**
1103211073
* Reset a user's password programmatically
1103311074
* # For Registrar Use Only

0 commit comments

Comments
 (0)