-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from avadev/24.12.0
Update for 24.12.0
- Loading branch information
Showing
8 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
* @author Sachin Baijal <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @version 24.11.2 | ||
* @version 24.12.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK | ||
*/ | ||
|
||
|
@@ -50,7 +50,7 @@ export default class AvaTaxClient { | |
public auth: string; | ||
public customHttpAgent: https.Agent; | ||
public enableStrictTypeConversion: boolean; | ||
private apiVersion: string = '24.11.2'; | ||
private apiVersion: string = '24.12.0'; | ||
private logger: Logger; | ||
/** | ||
* Construct a new AvaTaxClient | ||
|
@@ -8056,16 +8056,20 @@ export default class AvaTaxClient { | |
* | ||
* @param {number} id The unique ID number of this funding request | ||
* @param {Enums.POABusinessUnit} businessUnit The company's business unit (See POABusinessUnit::* for a list of allowable values) | ||
* @param {Enums.POASubscriptionType} subscriptionType The company's subscription type (See POASubscriptionType::* for a list of allowable values) | ||
* @param {Enums.POASubscriptionType} subscriptionType The company's subscription type (See POASubscriptionType::* for a list of allowable values) | ||
* @param {string} currency Currency | ||
* @param {string} agreementType Agreement Type | ||
* @return {Models.FundingStatusModel} | ||
*/ | ||
|
||
activateFundingRequest({ id, businessUnit, subscriptionType }: { id: number, businessUnit?: Enums.POABusinessUnit, subscriptionType?: Enums.POASubscriptionType }): Promise<Models.FundingStatusModel> { | ||
activateFundingRequest({ id, businessUnit, subscriptionType, currency, agreementType }: { id: number, businessUnit?: Enums.POABusinessUnit, subscriptionType?: Enums.POASubscriptionType, currency?: string, agreementType?: string }): Promise<Models.FundingStatusModel> { | ||
var path = this.buildUrl({ | ||
url: `/api/v2/fundingrequests/${id}/widget`, | ||
parameters: { | ||
businessUnit: businessUnit, | ||
subscriptionType: subscriptionType | ||
subscriptionType: subscriptionType, | ||
currency: currency, | ||
agreementType: agreementType | ||
} | ||
}); | ||
var strClientId = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters