-
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 #292 from avadev/24.2.0
Update for 24.2.0
- Loading branch information
Showing
18 changed files
with
820 additions
and
99 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* AvaTax Software Development Kit for JavaScript | ||
* | ||
* (c) 2004-2022 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK | ||
*/ | ||
|
||
import { JsonConverter, JsonCustomConvert } from "json2typescript"; | ||
|
||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export enum StackAggregationOption { | ||
NoStackAggregation = 0, | ||
FullStackAggregation = 1, | ||
AggregateStateAndCounty = 2, | ||
AggregateCityAndCounty = 3, | ||
} | ||
|
||
@JsonConverter | ||
export class StackAggregationOptionConverter implements JsonCustomConvert<StackAggregationOption> { | ||
serialize(data: StackAggregationOption) { | ||
return data; | ||
} | ||
deserialize(enumType: string): StackAggregationOption { | ||
return StackAggregationOption[enumType as keyof typeof StackAggregationOption]; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
/* | ||
* AvaTax Software Development Kit for JavaScript | ||
* | ||
* (c) 2004-2022 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK | ||
*/ | ||
|
||
import * as Enums from '../enums/index'; | ||
import { JsonObject, JsonProperty } from "json2typescript"; | ||
import { DateConverter } from "../utils/dateConverter"; | ||
|
||
/** | ||
* Model for RateOption. | ||
* @export | ||
* @class ComplianceRateOptionModel | ||
*/ | ||
@JsonObject("ComplianceRateOptionModel") | ||
export class ComplianceRateOptionModel { | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("jurisName", String, true) | ||
jurisName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("groupCode", String, true) | ||
groupCode?: string | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxRegionId", Number, true) | ||
taxRegionId?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxRegionName", String, true) | ||
taxRegionName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("reportLevel", String, true) | ||
reportLevel?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxTypeCode", String, true) | ||
taxTypeCode?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxTypeCodeName", String, true) | ||
taxTypeCodeName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxSubTypeCode", String, true) | ||
taxSubTypeCode?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxSubTypeCodeName", String, true) | ||
taxSubTypeCodeName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("rateTypeCode", String, true) | ||
rateTypeCode?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("rateTypeCodeName", String, true) | ||
rateTypeCodeName?: string | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("stackRate", Number, true) | ||
stackRate?: number | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("componentRate", Number, true) | ||
componentRate?: number | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("taxAuthorityId", Number, true) | ||
taxAuthorityId?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("cityName", String, true) | ||
cityName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("countyName", String, true) | ||
countyName?: string | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("effDate", DateConverter, true) | ||
effDate?: Date | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ComplianceRateOptionModel | ||
*/ | ||
@JsonProperty("endDate", DateConverter, true) | ||
endDate?: Date | undefined = undefined; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,147 @@ | ||
/* | ||
* AvaTax Software Development Kit for JavaScript | ||
* | ||
* (c) 2004-2022 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK | ||
*/ | ||
|
||
import * as Enums from '../enums/index'; | ||
import { JsonObject, JsonProperty } from "json2typescript"; | ||
import { DateConverter } from "../utils/dateConverter"; | ||
|
||
/** | ||
* A flattened model for State Config. | ||
* @export | ||
* @class ComplianceStateConfigModel | ||
*/ | ||
@JsonObject("ComplianceStateConfigModel") | ||
export class ComplianceStateConfigModel { | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("stateConfigId", Number, true) | ||
stateConfigId?: number | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("effDate", DateConverter, true) | ||
effDate?: Date | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("endDate", DateConverter, true) | ||
endDate?: Date | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("hasBoundary", Boolean, true) | ||
hasBoundary?: boolean | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("hasRates", Boolean, true) | ||
hasRates?: boolean | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("isLocalAdmin", Boolean, true) | ||
isLocalAdmin?: boolean | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("isLocalNexus", Boolean, true) | ||
isLocalNexus?: boolean | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("isSerState", Boolean, true) | ||
isSerState?: boolean | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("minBoundaryLevelId", Number, true) | ||
minBoundaryLevelId?: number | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("sstStatusId", Number, true) | ||
sstStatusId?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("state", String, true) | ||
state?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("stateFips", String, true) | ||
stateFips?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("stateName", String, true) | ||
stateName?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("boundaryTableBaseName", String, true) | ||
boundaryTableBaseName?: string | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("stjCount", Number, true) | ||
stjCount?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("tsStateId", String, true) | ||
tsStateId?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("country", String, true) | ||
country?: string | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("isJaasEnabled", Number, true) | ||
isJaasEnabled?: number | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("hasSSTBoundary", Boolean, true) | ||
hasSSTBoundary?: boolean | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ComplianceStateConfigModel | ||
*/ | ||
@JsonProperty("modifiedDate", DateConverter, true) | ||
modifiedDate?: Date | undefined = undefined; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* AvaTax Software Development Kit for JavaScript | ||
* | ||
* (c) 2004-2022 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JS-SDK | ||
*/ | ||
|
||
import * as Enums from '../enums/index'; | ||
import { JsonObject, JsonProperty } from "json2typescript"; | ||
import { DateConverter } from "../utils/dateConverter"; | ||
|
||
/** | ||
* Represents JurisName Model | ||
* @export | ||
* @class JurisNameModel | ||
*/ | ||
@JsonObject("JurisNameModel") | ||
export class JurisNameModel { | ||
/** | ||
* @type {string} | ||
* @memberof JurisNameModel | ||
*/ | ||
@JsonProperty("jurisName", String, true) | ||
jurisName?: string | undefined = undefined; | ||
} |
Oops, something went wrong.