diff --git a/lib/AvaTaxClient.ts b/lib/AvaTaxClient.ts index 27a9743..798311b 100644 --- a/lib/AvaTaxClient.ts +++ b/lib/AvaTaxClient.ts @@ -10,7 +10,7 @@ * @author Sachin Baijal * @copyright 2004-2018 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version 24.6.1 + * @version 24.6.3 * @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.6.1'; + private apiVersion: string = '24.6.3'; private logger: Logger; /** * Construct a new AvaTaxClient @@ -1990,7 +1990,7 @@ export default class AvaTaxClient { * * @param {number} companyId The ID number of the company to search * @param {string} include OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. - * @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/).
*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages + * @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/).
*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. * @param {string} orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4002,7 +4002,7 @@ export default class AvaTaxClient { * @param {number} companyId The unique ID number of the company that recorded this customer * @param {string} customerCode The unique code representing this customer * @param {string} include OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. - * @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/).
*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages + * @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/).
*Not filterable:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. * @param {string} orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4104,7 +4104,7 @@ export default class AvaTaxClient { * * @param {number} companyId The unique ID number of the company that recorded this customer * @param {string} include OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer. - * @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/).
*Not filterable:* shipTos + * @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/). * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. * @param {string} orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -8016,10 +8016,10 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that owns this item. * @param {number} itemId The ID of the item you wish to delete the classifications. - * @return {Models.ErrorDetail[]} + * @return {Models.AssociatedObjectDeletedErrorDetailsModel[]} */ - batchDeleteItemClassifications({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { + batchDeleteItemClassifications({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/classifications`, parameters: {} @@ -8030,7 +8030,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8051,10 +8051,10 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that owns this item. * @param {number} itemId The ID of the item you wish to delete the parameters. - * @return {Models.ErrorDetail[]} + * @return {Models.AssociatedObjectDeletedErrorDetailsModel[]} */ - batchDeleteItemParameters({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { + batchDeleteItemParameters({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/parameters`, parameters: {} @@ -8065,7 +8065,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8312,10 +8312,10 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that owns this item. * @param {string} itemCode The code of the item you want to delete. - * @return {Models.ErrorDetail[]} + * @return {Models.ObjectDeletedErrorModel[]} */ - deleteCatalogueItem({ companyId, itemCode }: { companyId: number, itemCode: string }): Promise> { + deleteCatalogueItem({ companyId, itemCode }: { companyId: number, itemCode: string }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/itemcatalogue/${itemCode}`, parameters: {} @@ -8326,7 +8326,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8349,10 +8349,10 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that owns this item. * @param {number} id The ID of the item you wish to delete. - * @return {Models.ErrorDetail[]} + * @return {Models.ObjectDeletedErrorModel[]} */ - deleteItem({ companyId, id }: { companyId: number, id: number }): Promise> { + deleteItem({ companyId, id }: { companyId: number, id: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${id}`, parameters: {} @@ -8363,7 +8363,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8383,10 +8383,10 @@ export default class AvaTaxClient { * @param {number} companyId The company id. * @param {number} itemId The item id. * @param {number} id The item classification id. - * @return {Models.ErrorDetail[]} + * @return {Models.ObjectDeletedErrorModel[]} */ - deleteItemClassification({ companyId, itemId, id }: { companyId: number, itemId: number, id: number }): Promise> { + deleteItemClassification({ companyId, itemId, id }: { companyId: number, itemId: number, id: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/classifications/${id}`, parameters: {} @@ -8397,7 +8397,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8419,10 +8419,10 @@ export default class AvaTaxClient { * @param {number} companyId The company id * @param {number} itemId The item id * @param {number} id The parameter id - * @return {Models.ErrorDetail[]} + * @return {Models.ObjectDeletedErrorModel[]} */ - deleteItemParameter({ companyId, itemId, id }: { companyId: number, itemId: number, id: number }): Promise> { + deleteItemParameter({ companyId, itemId, id }: { companyId: number, itemId: number, id: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/parameters/${id}`, parameters: {} @@ -8433,7 +8433,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8451,10 +8451,10 @@ export default class AvaTaxClient { * @param {number} companyId The ID of the company that defined these items * @param {number} itemId The ID of the item as defined by the company that owns this tag. * @param {number} itemTagDetailId The ID of the item tag detail you wish to delete. - * @return {Models.ErrorDetail[]} + * @return {Models.ObjectDeletedErrorModel[]} */ - deleteItemTag({ companyId, itemId, itemTagDetailId }: { companyId: number, itemId: number, itemTagDetailId: number }): Promise> { + deleteItemTag({ companyId, itemId, itemTagDetailId }: { companyId: number, itemId: number, itemTagDetailId: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/tags/${itemTagDetailId}`, parameters: {} @@ -8465,7 +8465,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8482,10 +8482,10 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that defined these items. * @param {number} itemId The ID of the item as defined by the company that owns this tag. - * @return {Models.ErrorDetail[]} + * @return {Models.AssociatedObjectDeletedErrorDetailsModel[]} */ - deleteItemTags({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { + deleteItemTags({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/tags`, parameters: {} @@ -8496,7 +8496,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); + return this.restCall({ url: path, verb: 'delete', payload: null, clientId: strClientId }, Array); } /** @@ -8657,10 +8657,10 @@ export default class AvaTaxClient { * * @param {number} companyId * @param {number} itemId - * @return {Models.TaxCodeRecommendationsOutputModel} + * @return {Models.TaxCodeRecommendationOutputModel[]} */ - getItemTaxCodeRecommendations({ companyId, itemId }: { companyId: number, itemId: number }): Promise { + getItemTaxCodeRecommendations({ companyId, itemId }: { companyId: number, itemId: number }): Promise> { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${itemId}/taxcoderecommendations`, parameters: {} @@ -8671,7 +8671,7 @@ export default class AvaTaxClient { this.appVer + '; JavascriptSdk; ' + this.apiVersion + '; ' + this.machineNM; - return this.restCall({ url: path, verb: 'get', payload: null, clientId: strClientId }, Models.TaxCodeRecommendationsOutputModel); + return this.restCall({ url: path, verb: 'get', payload: null, clientId: strClientId }, Array); } /** @@ -8877,6 +8877,7 @@ export default class AvaTaxClient { * * Classifications * * Tags * * Properties + * * TaxCodeRecommendationStatus * * ### Security Policies * @@ -8885,7 +8886,7 @@ export default class AvaTaxClient { * * * @param {number} companyId The ID of the company that defined these items - * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus + * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations * @param {string} include A comma separated list of additional data to retrieve. * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -8939,7 +8940,7 @@ export default class AvaTaxClient { * Swagger Name: AvaTaxClient * * - * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus + * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations * @param {string} include A comma separated list of additional data to retrieve. * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -9036,7 +9037,7 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that defined these items. * @param {string} tag The master tag to be associated with item. - * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus + * @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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations * @param {string} include A comma separated list of additional data to retrieve. * @param {number} 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. * @param {number} skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -9162,14 +9163,17 @@ export default class AvaTaxClient { * * @param {number} companyId The ID of the company that this item belongs to. * @param {number} id The ID of the item you wish to update + * @param {boolean} isRecommendationSelected If true then Set recommendation status to RecommendationSelected * @param {Models.ItemModel} model The item object you wish to update. * @return {Models.ItemModel} */ - updateItem({ companyId, id, model }: { companyId: number, id: number, model: Models.ItemModel }): Promise { + updateItem({ companyId, id, isRecommendationSelected, model }: { companyId: number, id: number, isRecommendationSelected?: boolean, model: Models.ItemModel }): Promise { var path = this.buildUrl({ url: `/api/v2/companies/${companyId}/items/${id}`, - parameters: {} + parameters: { + isRecommendationSelected: isRecommendationSelected + } }); var strClientId = this.appNM + diff --git a/lib/enums/CertificateEcmStatus.ts b/lib/enums/CertificateEcmStatus.ts new file mode 100644 index 0000000..7d22b6e --- /dev/null +++ b/lib/enums/CertificateEcmStatus.ts @@ -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 + * @author Sachin Baijal + * @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 { + serialize(data: CertificateEcmStatus) { + return data; + } + deserialize(enumType: string): CertificateEcmStatus { + return CertificateEcmStatus[enumType as keyof typeof CertificateEcmStatus]; + } +} \ No newline at end of file diff --git a/lib/enums/index.ts b/lib/enums/index.ts index f3696e4..5b1f316 100644 --- a/lib/enums/index.ts +++ b/lib/enums/index.ts @@ -28,6 +28,8 @@ export * from './AccountTypeId'; export * from './ResolutionQuality'; export * from './AdjustmentReason'; export * from './BulkImportStatus'; +export * from './ErrorCodeId'; +export * from './SeverityLevel'; export * from './ApiCallStatus'; export * from './FormTypeId'; export * from './FilingOptionTypeId'; @@ -39,6 +41,7 @@ export * from './BatchStatus'; export * from './VoidReasonCode'; export * from './CertificateRequestDeliveryMethod'; export * from './CertExpressInvitationStatus'; +export * from './CertificateEcmStatus'; export * from './Visibility'; export * from './RoundingLevelId'; export * from './TaxDependencyLevelId'; @@ -52,8 +55,6 @@ export * from './JurisdictionType'; export * from './ExemptCertTypeId'; export * from './ExemptCertStatusId'; export * from './ExemptCertReviewStatusId'; -export * from './ErrorCodeId'; -export * from './SeverityLevel'; export * from './ReportFormat'; export * from './ReportDateFilter'; export * from './ReportDocType'; diff --git a/lib/models/ActiveCertificateModel.ts b/lib/models/ActiveCertificateModel.ts new file mode 100644 index 0000000..6915410 --- /dev/null +++ b/lib/models/ActiveCertificateModel.ts @@ -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 + * @author Sachin Baijal + * @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; + } \ No newline at end of file diff --git a/lib/models/AssociatedObjectDeletedErrorDetailsModel.ts b/lib/models/AssociatedObjectDeletedErrorDetailsModel.ts new file mode 100644 index 0000000..6e42996 --- /dev/null +++ b/lib/models/AssociatedObjectDeletedErrorDetailsModel.ts @@ -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 + * @author Sachin Baijal + * @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; + } \ No newline at end of file diff --git a/lib/models/CertificateInvalidReasonModel.ts b/lib/models/CertificateInvalidReasonModel.ts new file mode 100644 index 0000000..ac21741 --- /dev/null +++ b/lib/models/CertificateInvalidReasonModel.ts @@ -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 + * @author Sachin Baijal + * @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; + } \ No newline at end of file diff --git a/lib/models/CertificateLogModel.ts b/lib/models/CertificateLogModel.ts new file mode 100644 index 0000000..c23d0c5 --- /dev/null +++ b/lib/models/CertificateLogModel.ts @@ -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 + * @author Sachin Baijal + * @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; + } \ No newline at end of file diff --git a/lib/models/CertificateModel.ts b/lib/models/CertificateModel.ts index 6b44b86..fa18384 100644 --- a/lib/models/CertificateModel.ts +++ b/lib/models/CertificateModel.ts @@ -19,6 +19,11 @@ import { CustomerModel } from "./CustomerModel"; import { PoNumberModel } from "./PoNumberModel"; import { ExposureZoneModel } from "./ExposureZoneModel"; import { CertificateAttributeModel } from "./CertificateAttributeModel"; +import { HistoryModel } from "./HistoryModel"; +import { CustomerJobModel } from "./CustomerJobModel"; +import { CertificateLogModel } from "./CertificateLogModel"; +import { CertificateInvalidReasonModel } from "./CertificateInvalidReasonModel"; +import { CustomFieldModel } from "./CustomFieldModel"; import { JsonObject, JsonProperty } from "json2typescript"; import { DateConverter } from "../utils/dateConverter"; @@ -116,6 +121,12 @@ log onto the administrative website for the product you purchased. */ @JsonProperty("status", String, true) status?: string | undefined = undefined; + /** + * @type {Enums.CertificateEcmStatus} + * @memberof CertificateModel + */ + @JsonProperty("ecmStatus", Enums.CertificateEcmStatusConverter, true) + ecmStatus?: Enums.CertificateEcmStatus | undefined = undefined; /** * @type {Date} * @memberof CertificateModel @@ -170,6 +181,36 @@ log onto the administrative website for the product you purchased. */ @JsonProperty("attributes", [CertificateAttributeModel], true) attributes?: CertificateAttributeModel[] | undefined = undefined; + /** + * @type {HistoryModel[]} + * @memberof CertificateModel + */ + @JsonProperty("histories", [HistoryModel], true) + histories?: HistoryModel[] | undefined = undefined; + /** + * @type {CustomerJobModel[]} + * @memberof CertificateModel + */ + @JsonProperty("jobs", [CustomerJobModel], true) + jobs?: CustomerJobModel[] | undefined = undefined; + /** + * @type {CertificateLogModel[]} + * @memberof CertificateModel + */ + @JsonProperty("logs", [CertificateLogModel], true) + logs?: CertificateLogModel[] | undefined = undefined; + /** + * @type {CertificateInvalidReasonModel[]} + * @memberof CertificateModel + */ + @JsonProperty("invalidReasons", [CertificateInvalidReasonModel], true) + invalidReasons?: CertificateInvalidReasonModel[] | undefined = undefined; + /** + * @type {CustomFieldModel[]} + * @memberof CertificateModel + */ + @JsonProperty("customFields", [CustomFieldModel], true) + customFields?: CustomFieldModel[] | undefined = undefined; /** * @type {number} * @memberof CertificateModel diff --git a/lib/models/CountryModel.ts b/lib/models/CountryModel.ts new file mode 100644 index 0000000..723c243 --- /dev/null +++ b/lib/models/CountryModel.ts @@ -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 + * @author Sachin Baijal + * @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"; + +/** + * Defines a country as known to Avalara's certificate management system. + * @export + * @class CountryModel + */ + @JsonObject("CountryModel") + export class CountryModel { + /** + * @type {number} + * @memberof CountryModel + */ + @JsonProperty("id", Number, true) + id?: number | undefined = undefined; + /** + * @type {string} + * @memberof CountryModel + */ + @JsonProperty("name", String, true) + name?: string | undefined = undefined; + /** + * @type {string} + * @memberof CountryModel + */ + @JsonProperty("initials", String, true) + initials?: string | undefined = undefined; + /** + * @type {string} + * @memberof CountryModel + */ + @JsonProperty("abbreviation", String, true) + abbreviation?: string | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/CustomFieldModel.ts b/lib/models/CustomFieldModel.ts index 9a20e6d..f0f5932 100644 --- a/lib/models/CustomFieldModel.ts +++ b/lib/models/CustomFieldModel.ts @@ -29,6 +29,12 @@ For more information about custom fields, see the [Avalara Help Center article a */ @JsonObject("CustomFieldModel") export class CustomFieldModel { + /** + * @type {number} + * @memberof CustomFieldModel + */ + @JsonProperty("id", Number, true) + id?: number | undefined = undefined; /** * @type {string} * @memberof CustomFieldModel @@ -39,6 +45,30 @@ For more information about custom fields, see the [Avalara Help Center article a * @type {string} * @memberof CustomFieldModel */ + @JsonProperty("type", String, true) + type?: string | undefined = undefined; + /** + * @type {string} + * @memberof CustomFieldModel + */ + @JsonProperty("possibleValues", String, true) + possibleValues?: string | undefined = undefined; + /** + * @type {boolean} + * @memberof CustomFieldModel + */ + @JsonProperty("usesDataEntry", Boolean, true) + usesDataEntry?: boolean | undefined = undefined; + /** + * @type {boolean} + * @memberof CustomFieldModel + */ + @JsonProperty("requiredInDataEntry", Boolean, true) + requiredInDataEntry?: boolean | undefined = undefined; + /** + * @type {string} + * @memberof CustomFieldModel + */ @JsonProperty("value", String, true) value?: string | undefined = undefined; } \ No newline at end of file diff --git a/lib/models/CustomerJobModel.ts b/lib/models/CustomerJobModel.ts new file mode 100644 index 0000000..745d685 --- /dev/null +++ b/lib/models/CustomerJobModel.ts @@ -0,0 +1,45 @@ +/* + * 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 + * @author Sachin Baijal + * @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"; + +/** + * Customer job model. Exposed in url $includes + * @export + * @class CustomerJobModel + */ + @JsonObject("CustomerJobModel") + export class CustomerJobModel { + /** + * @type {number} + * @memberof CustomerJobModel + */ + @JsonProperty("id", Number, true) + id?: number | undefined = undefined; + /** + * @type {number} + * @memberof CustomerJobModel + */ + @JsonProperty("jobNumber", Number, true) + jobNumber?: number | undefined = undefined; + /** + * @type {string} + * @memberof CustomerJobModel + */ + @JsonProperty("name", String, true) + name?: string | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/CustomerModel.ts b/lib/models/CustomerModel.ts index e6b6068..db7a995 100644 --- a/lib/models/CustomerModel.ts +++ b/lib/models/CustomerModel.ts @@ -18,6 +18,11 @@ import { CertificateModel } from "./CertificateModel"; import { CustomFieldModel } from "./CustomFieldModel"; import { ExposureZoneModel } from "./ExposureZoneModel"; import { CustomerAttributeModel } from "./CustomerAttributeModel"; +import { ActiveCertificateModel } from "./ActiveCertificateModel"; +import { HistoryModel } from "./HistoryModel"; +import { CustomerJobModel } from "./CustomerJobModel"; +import { CertificateLogModel } from "./CertificateLogModel"; +import { StateModel } from "./StateModel"; import { JsonObject, JsonProperty } from "json2typescript"; import { DateConverter } from "../utils/dateConverter"; @@ -182,6 +187,12 @@ import { DateConverter } from "../utils/dateConverter"; * @type {CustomerModel[]} * @memberof CustomerModel */ + @JsonProperty("billTos", [CustomerModel], true) + billTos?: CustomerModel[] | undefined = undefined; + /** + * @type {CustomerModel[]} + * @memberof CustomerModel + */ @JsonProperty("shipTos", [CustomerModel], true) shipTos?: CustomerModel[] | undefined = undefined; /** @@ -190,4 +201,34 @@ import { DateConverter } from "../utils/dateConverter"; */ @JsonProperty("attributes", [CustomerAttributeModel], true) attributes?: CustomerAttributeModel[] | undefined = undefined; + /** + * @type {ActiveCertificateModel[]} + * @memberof CustomerModel + */ + @JsonProperty("activeCertificates", [ActiveCertificateModel], true) + activeCertificates?: ActiveCertificateModel[] | undefined = undefined; + /** + * @type {HistoryModel[]} + * @memberof CustomerModel + */ + @JsonProperty("histories", [HistoryModel], true) + histories?: HistoryModel[] | undefined = undefined; + /** + * @type {CustomerJobModel[]} + * @memberof CustomerModel + */ + @JsonProperty("jobs", [CustomerJobModel], true) + jobs?: CustomerJobModel[] | undefined = undefined; + /** + * @type {CertificateLogModel[]} + * @memberof CustomerModel + */ + @JsonProperty("logs", [CertificateLogModel], true) + logs?: CertificateLogModel[] | undefined = undefined; + /** + * @type {StateModel[]} + * @memberof CustomerModel + */ + @JsonProperty("shipToStates", [StateModel], true) + shipToStates?: StateModel[] | undefined = undefined; } \ No newline at end of file diff --git a/lib/models/HistoryModel.ts b/lib/models/HistoryModel.ts new file mode 100644 index 0000000..4e2537d --- /dev/null +++ b/lib/models/HistoryModel.ts @@ -0,0 +1,63 @@ +/* + * 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 + * @author Sachin Baijal + * @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"; + +/** + * Update history for Avalara.AvaTax.AccountServices.Models.v2.CustomerModel and Avalara.AvaTax.AccountServices.Models.v2.CertificateModel. Exposed in url $includes + * @export + * @class HistoryModel + */ + @JsonObject("HistoryModel") + export class HistoryModel { + /** + * @type {number} + * @memberof HistoryModel + */ + @JsonProperty("id", Number, true) + id?: number | undefined = undefined; + /** + * @type {string} + * @memberof HistoryModel + */ + @JsonProperty("account", String, true) + account?: string | undefined = undefined; + /** + * @type {string} + * @memberof HistoryModel + */ + @JsonProperty("field", String, true) + field?: string | undefined = undefined; + /** + * @type {string} + * @memberof HistoryModel + */ + @JsonProperty("oldValue", String, true) + oldValue?: string | undefined = undefined; + /** + * @type {string} + * @memberof HistoryModel + */ + @JsonProperty("newValue", String, true) + newValue?: string | undefined = undefined; + /** + * @type {Date} + * @memberof HistoryModel + */ + @JsonProperty("created", DateConverter, true) + created?: Date | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/ItemModel.ts b/lib/models/ItemModel.ts index 335bb62..bafe756 100644 --- a/lib/models/ItemModel.ts +++ b/lib/models/ItemModel.ts @@ -19,6 +19,7 @@ import { ItemParameterModel } from "./ItemParameterModel"; import { ItemTagDetailInputModel } from "./ItemTagDetailInputModel"; import { ItemStatusOutputModel } from "./ItemStatusOutputModel"; import { TaxCodeRecommendationStatusOutputModel } from "./TaxCodeRecommendationStatusOutputModel"; +import { TaxCodeRecommendationOutputModel } from "./TaxCodeRecommendationOutputModel"; import { JsonObject, JsonProperty } from "json2typescript"; import { DateConverter } from "../utils/dateConverter"; @@ -167,4 +168,10 @@ import { DateConverter } from "../utils/dateConverter"; */ @JsonProperty("taxCodeRecommendationStatus", TaxCodeRecommendationStatusOutputModel, true) taxCodeRecommendationStatus?: TaxCodeRecommendationStatusOutputModel | undefined = undefined; + /** + * @type {TaxCodeRecommendationOutputModel[]} + * @memberof ItemModel + */ + @JsonProperty("taxCodeRecommendations", [TaxCodeRecommendationOutputModel], true) + taxCodeRecommendations?: TaxCodeRecommendationOutputModel[] | undefined = undefined; } \ No newline at end of file diff --git a/lib/models/ObjectDeletedErrorModel.ts b/lib/models/ObjectDeletedErrorModel.ts new file mode 100644 index 0000000..9380c8d --- /dev/null +++ b/lib/models/ObjectDeletedErrorModel.ts @@ -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 + * @author Sachin Baijal + * @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 ObjectDeletedErrorModel + */ + @JsonObject("ObjectDeletedErrorModel") + export class ObjectDeletedErrorModel { + /** + * @type {Enums.ErrorCodeId} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("code", Enums.ErrorCodeIdConverter, true) + code?: Enums.ErrorCodeId | undefined = undefined; + /** + * @type {number} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("number", Number, true) + number?: number | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("message", String, true) + message?: string | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("description", String, true) + description?: string | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("faultCode", String, true) + faultCode?: string | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("faultSubCode", String, true) + faultSubCode?: string | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("helpLink", String, true) + helpLink?: string | undefined = undefined; + /** + * @type {string} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("refersTo", String, true) + refersTo?: string | undefined = undefined; + /** + * @type {Enums.SeverityLevel} + * @memberof ObjectDeletedErrorModel + */ + @JsonProperty("severity", Enums.SeverityLevelConverter, true) + severity?: Enums.SeverityLevel | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/StateModel.ts b/lib/models/StateModel.ts new file mode 100644 index 0000000..81c3a2e --- /dev/null +++ b/lib/models/StateModel.ts @@ -0,0 +1,58 @@ +/* + * 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 + * @author Sachin Baijal + * @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 { CountryModel } from "./CountryModel"; +import { JsonObject, JsonProperty } from "json2typescript"; +import { DateConverter } from "../utils/dateConverter"; + +/** + * Defines a state, region, or province as known to Avalara's certificate management system. + * @export + * @class StateModel + */ + @JsonObject("StateModel") + export class StateModel { + /** + * @type {number} + * @memberof StateModel + */ + @JsonProperty("id", Number, true) + id?: number | undefined = undefined; + /** + * @type {string} + * @memberof StateModel + */ + @JsonProperty("name", String, true) + name?: string | undefined = undefined; + /** + * @type {string} + * @memberof StateModel + */ + @JsonProperty("initials", String, true) + initials?: string | undefined = undefined; + /** + * @type {number} + * @memberof StateModel + */ + @JsonProperty("geoCode", Number, true) + geoCode?: number | undefined = undefined; + /** + * @type {CountryModel} + * @memberof StateModel + */ + @JsonProperty("country", CountryModel, true) + country?: CountryModel | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/TaxCodeRecommendationOutputModel.ts b/lib/models/TaxCodeRecommendationOutputModel.ts new file mode 100644 index 0000000..655a055 --- /dev/null +++ b/lib/models/TaxCodeRecommendationOutputModel.ts @@ -0,0 +1,39 @@ +/* + * 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 + * @author Sachin Baijal + * @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"; + +/** + * Tax Code Recommendation Output Model + * @export + * @class TaxCodeRecommendationOutputModel + */ + @JsonObject("TaxCodeRecommendationOutputModel") + export class TaxCodeRecommendationOutputModel { + /** + * @type {string} + * @memberof TaxCodeRecommendationOutputModel + */ + @JsonProperty("taxCode", String, true) + taxCode?: string | undefined = undefined; + /** + * @type {string} + * @memberof TaxCodeRecommendationOutputModel + */ + @JsonProperty("level", String, true) + level?: string | undefined = undefined; + } \ No newline at end of file diff --git a/lib/models/index.ts b/lib/models/index.ts index 3c6cb2f..43fd8af 100644 --- a/lib/models/index.ts +++ b/lib/models/index.ts @@ -23,6 +23,7 @@ export * from './AccountModel'; export * from './AccountTsaAccessDurationModel'; export * from './AccountTsaAccessModel'; export * from './ActivateAccountModel'; +export * from './ActiveCertificateModel'; export * from './AddTransactionLineModel'; export * from './AddressInfo'; export * from './AddressLocationInfo'; @@ -41,6 +42,7 @@ export * from './AdvancedRuleImportResultModel'; export * from './AdvancedRuleLookupFileModel'; export * from './AdvancedRuleModel'; export * from './ApproveFilingsModel'; +export * from './AssociatedObjectDeletedErrorDetailsModel'; export * from './AuditEvent'; export * from './AuditModel'; export * from './AuditMultiDocumentModel'; @@ -59,6 +61,8 @@ export * from './BulkLockTransactionResult'; export * from './CertExpressInvitationModel'; export * from './CertExpressInvitationStatusModel'; export * from './CertificateAttributeModel'; +export * from './CertificateInvalidReasonModel'; +export * from './CertificateLogModel'; export * from './CertificateModel'; export * from './ChangeTransactionCodeModel'; export * from './ClassificationModel'; @@ -94,6 +98,7 @@ export * from './CountryCoefficientsEntity'; export * from './CountryCoefficientsRequestEntity'; export * from './CountryCoefficientsRequestModel'; export * from './CountryCoefficientsResponseModel'; +export * from './CountryModel'; export * from './CoverLetterModel'; export * from './CreateCertExpressInvitationModel'; export * from './CreateECommerceTokenInputModel'; @@ -107,6 +112,7 @@ export * from './CreateTransactionModel'; export * from './CurrencyModel'; export * from './CustomFieldModel'; export * from './CustomerAttributeModel'; +export * from './CustomerJobModel'; export * from './CustomerModel'; export * from './CustomerSupplierCountryParamModel'; export * from './CustomerSupplierModel'; @@ -178,6 +184,7 @@ export * from './GLAccountBulkUploadOutputModel'; export * from './GLAccountRequestModel'; export * from './GLAccountSuccessResponseModel'; export * from './GLAccountUploadErrorModel'; +export * from './HistoryModel'; export * from './HsCode'; export * from './HsCodeModel'; export * from './InspectResponseModel'; @@ -266,6 +273,7 @@ export * from './NoticeRootCauseModel'; export * from './NoticeStatusModel'; export * from './NoticeTypeModel'; export * from './NotificationModel'; +export * from './ObjectDeletedErrorModel'; export * from './OfferModel'; export * from './OriginalApiRequestResponseModel'; export * from './ParameterModel'; @@ -306,6 +314,7 @@ export * from './SetPasswordModel'; export * from './SettingModel'; export * from './SettleTransactionModel'; export * from './SkyscraperStatusModel'; +export * from './StateModel'; export * from './SubscriptionModel'; export * from './SubscriptionTypeModel'; export * from './SyncItemsRequestModel'; @@ -316,8 +325,8 @@ export * from './TaxAuthorityInfo'; export * from './TaxAuthorityModel'; export * from './TaxAuthorityTypeModel'; export * from './TaxCodeModel'; +export * from './TaxCodeRecommendationOutputModel'; export * from './TaxCodeRecommendationStatusOutputModel'; -export * from './TaxCodeRecommendationsOutputModel'; export * from './TaxCodeTypesModel'; export * from './TaxDetailsByTaxSubType'; export * from './TaxDetailsByTaxType'; diff --git a/package.json b/package.json index 007cbb1..5920105 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "avatax", - "version": "24.6.1", + "version": "24.6.3", "description": "AvaTax v2 SDK for languages using JavaScript", "main": "index.js", "types": "index.d.ts",