-
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 #296 from avadev/24.6.3
Update for 24.6.3
- Loading branch information
Showing
19 changed files
with
822 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* 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 CertificateEcmStatus { | ||
None = 0, | ||
Expired = 1, | ||
Invalid = 2, | ||
Valid = 3, | ||
PendingFuture = 4, | ||
} | ||
|
||
@JsonConverter | ||
export class CertificateEcmStatusConverter implements JsonCustomConvert<CertificateEcmStatus> { | ||
serialize(data: CertificateEcmStatus) { | ||
return data; | ||
} | ||
deserialize(enumType: string): CertificateEcmStatus { | ||
return CertificateEcmStatus[enumType as keyof typeof CertificateEcmStatus]; | ||
} | ||
} |
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,84 @@ | ||
/* | ||
* 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 { ExposureZoneModel } from "./ExposureZoneModel"; | ||
import { ExemptionReasonModel } from "./ExemptionReasonModel"; | ||
import { CertificateModel } from "./CertificateModel"; | ||
import { JsonObject, JsonProperty } from "json2typescript"; | ||
import { DateConverter } from "../utils/dateConverter"; | ||
|
||
/** | ||
* Certificate with exemption reason and exposure zone. Exposed in url $includes | ||
* @export | ||
* @class ActiveCertificateModel | ||
*/ | ||
@JsonObject("ActiveCertificateModel") | ||
export class ActiveCertificateModel { | ||
/** | ||
* @type {number} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("id", Number, true) | ||
id?: number | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("created", DateConverter, true) | ||
created?: Date | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("modified", DateConverter, true) | ||
modified?: Date | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("expectedTaxNumber", String, true) | ||
expectedTaxNumber?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("actualTaxNumber", String, true) | ||
actualTaxNumber?: string | undefined = undefined; | ||
/** | ||
* @type {ExposureZoneModel} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("exposureZone", ExposureZoneModel, true) | ||
exposureZone?: ExposureZoneModel | undefined = undefined; | ||
/** | ||
* @type {ExemptionReasonModel} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("expectedTaxCode", ExemptionReasonModel, true) | ||
expectedTaxCode?: ExemptionReasonModel | undefined = undefined; | ||
/** | ||
* @type {ExemptionReasonModel} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("actualTaxCode", ExemptionReasonModel, true) | ||
actualTaxCode?: ExemptionReasonModel | undefined = undefined; | ||
/** | ||
* @type {CertificateModel} | ||
* @memberof ActiveCertificateModel | ||
*/ | ||
@JsonProperty("certificate", CertificateModel, true) | ||
certificate?: CertificateModel | 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,81 @@ | ||
/* | ||
* 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"; | ||
|
||
/** | ||
* | ||
* @export | ||
* @class AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonObject("AssociatedObjectDeletedErrorDetailsModel") | ||
export class AssociatedObjectDeletedErrorDetailsModel { | ||
/** | ||
* @type {Enums.ErrorCodeId} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("code", Enums.ErrorCodeIdConverter, true) | ||
code?: Enums.ErrorCodeId | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("number", Number, true) | ||
number?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("message", String, true) | ||
message?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("description", String, true) | ||
description?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("faultCode", String, true) | ||
faultCode?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("faultSubCode", String, true) | ||
faultSubCode?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("helpLink", String, true) | ||
helpLink?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("refersTo", String, true) | ||
refersTo?: string | undefined = undefined; | ||
/** | ||
* @type {Enums.SeverityLevel} | ||
* @memberof AssociatedObjectDeletedErrorDetailsModel | ||
*/ | ||
@JsonProperty("severity", Enums.SeverityLevelConverter, true) | ||
severity?: Enums.SeverityLevel | 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,51 @@ | ||
/* | ||
* 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"; | ||
|
||
/** | ||
* Invalid reason for the certificate | ||
* @export | ||
* @class CertificateInvalidReasonModel | ||
*/ | ||
@JsonObject("CertificateInvalidReasonModel") | ||
export class CertificateInvalidReasonModel { | ||
/** | ||
* @type {number} | ||
* @memberof CertificateInvalidReasonModel | ||
*/ | ||
@JsonProperty("id", Number, true) | ||
id?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof CertificateInvalidReasonModel | ||
*/ | ||
@JsonProperty("name", String, true) | ||
name?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof CertificateInvalidReasonModel | ||
*/ | ||
@JsonProperty("description", String, true) | ||
description?: string | undefined = undefined; | ||
/** | ||
* @type {boolean} | ||
* @memberof CertificateInvalidReasonModel | ||
*/ | ||
@JsonProperty("systemCode", Boolean, true) | ||
systemCode?: boolean | 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,57 @@ | ||
/* | ||
* 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"; | ||
|
||
/** | ||
* certificate log for a customer. Exposed in url $includes | ||
* @export | ||
* @class CertificateLogModel | ||
*/ | ||
@JsonObject("CertificateLogModel") | ||
export class CertificateLogModel { | ||
/** | ||
* @type {number} | ||
* @memberof CertificateLogModel | ||
*/ | ||
@JsonProperty("id", Number, true) | ||
id?: number | undefined = undefined; | ||
/** | ||
* @type {number} | ||
* @memberof CertificateLogModel | ||
*/ | ||
@JsonProperty("certificateId", Number, true) | ||
certificateId?: number | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof CertificateLogModel | ||
*/ | ||
@JsonProperty("account", String, true) | ||
account?: string | undefined = undefined; | ||
/** | ||
* @type {string} | ||
* @memberof CertificateLogModel | ||
*/ | ||
@JsonProperty("entry", String, true) | ||
entry?: string | undefined = undefined; | ||
/** | ||
* @type {Date} | ||
* @memberof CertificateLogModel | ||
*/ | ||
@JsonProperty("created", DateConverter, true) | ||
created?: Date | undefined = undefined; | ||
} |
Oops, something went wrong.