Skip to content

Commit

Permalink
Merge pull request #277 from avadev/23.4.1
Browse files Browse the repository at this point in the history
Update for 23.4.1
  • Loading branch information
svc-developer authored Apr 27, 2023
2 parents c828035 + a649256 commit 18a6997
Show file tree
Hide file tree
Showing 12 changed files with 536 additions and 519 deletions.
195 changes: 92 additions & 103 deletions lib/AvaTaxClient.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/enums/AddressCategoryId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { JsonConverter, JsonCustomConvert } from "json2typescript";
SellerRemitsTax = 6,
MarketplaceRemitsTax = 7,
NonPhysical = 8,
Vendor = 9,
}

@JsonConverter
Expand Down
1 change: 1 addition & 0 deletions lib/enums/BatchType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { JsonConverter, JsonCustomConvert } from "json2typescript";
UPCBulkImport = 11,
UPCValidationImport = 12,
CustomerSupplierImport = 13,
VarianceImport = 14,
}

@JsonConverter
Expand Down
3 changes: 2 additions & 1 deletion lib/enums/SecurityRoleId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ import { JsonConverter, JsonCustomConvert } from "json2typescript";
FirmUser = 23,
FirmAdmin = 24,
BatchServiceAdmin = 25,
ECMUser = 26,
ECMAccountUser = 26,
ECMCompanyUser = 27,
}

@JsonConverter
Expand Down
1 change: 1 addition & 0 deletions lib/enums/TaxOverrideType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { JsonConverter, JsonCustomConvert } from "json2typescript";
DeriveTaxable = 5,
OutOfHarbor = 6,
TaxAmountByTaxType = 7,
VendorChargedTax = 8,
}

@JsonConverter
Expand Down
6 changes: 6 additions & 0 deletions lib/models/ExportDocumentLineModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,10 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("compression", Enums.CompressionConverter, true)
compression?: Enums.Compression | undefined = undefined;
/**
* @type {boolean}
* @memberof ExportDocumentLineModel
*/
@JsonProperty("includeDocumentLineDetails", Boolean, true)
includeDocumentLineDetails?: boolean | undefined = undefined;
}
12 changes: 12 additions & 0 deletions lib/models/JurisdictionModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,16 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("endDate", DateConverter, true)
endDate?: Date | undefined = undefined;
/**
* @type {boolean}
* @memberof JurisdictionModel
*/
@JsonProperty("isAcm", Boolean, true)
isAcm?: boolean | undefined = undefined;
/**
* @type {boolean}
* @memberof JurisdictionModel
*/
@JsonProperty("isSst", Boolean, true)
isSst?: boolean | undefined = undefined;
}
6 changes: 6 additions & 0 deletions lib/models/ReportParametersModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,10 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("compression", Enums.CompressionConverter, true)
compression?: Enums.Compression | undefined = undefined;
/**
* @type {boolean}
* @memberof ReportParametersModel
*/
@JsonProperty("includeDocumentLineDetails", Boolean, true)
includeDocumentLineDetails?: boolean | undefined = undefined;
}
156 changes: 75 additions & 81 deletions lib/models/SkyscraperStatusModel.ts
Original file line number Diff line number Diff line change
@@ -1,82 +1,76 @@
/*
* 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 <jonathan.wenger@avalara.com>
* @author Sachin Baijal <sachin.baijal@avalara.com>
* @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";
/*
* 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 <jonathan.wenger@avalara.com>
* @author Sachin Baijal <sachin.baijal@avalara.com>
* @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 { RequiredFilingCalendarDataFieldModel } from "./requiredFilingCalendarDataFieldModel";
import { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Represents a list of statuses of returns available in skyscraper
* @export
* @class SkyscraperStatusModel
*/
@JsonObject("SkyscraperStatusModel")
export class SkyscraperStatusModel {
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("name", String, true)
name?: string | undefined = undefined;
/**
* @type {string[]}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("taxFormCodes", [String], true)
taxFormCodes?: string[] | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("country", String, true)
country?: string | undefined = undefined;
/**
* @type {Enums.ScraperType}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("scraperType", Enums.ScraperTypeConverter, true)
scraperType?: Enums.ScraperType | undefined = undefined;
/**
* @type {boolean}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("isAvailable", Boolean, true)
isAvailable?: boolean | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("expectedResponseTime", String, true)
expectedResponseTime?: string | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("message", String, true)
message?: string | undefined = undefined;
/**
* @type {requiredFilingCalendarDataFieldModel[]}
* @memberof SkyscraperStatusModel
*/
@JsonProperty(
"requiredFilingCalendarDataFields",
[RequiredFilingCalendarDataFieldModel],
true
)
requiredFilingCalendarDataFields?:
| RequiredFilingCalendarDataFieldModel[]
| undefined = undefined;
}
import { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Represents a list of statuses of returns available in skyscraper
* @export
* @class SkyscraperStatusModel
*/
@JsonObject("SkyscraperStatusModel")
export class SkyscraperStatusModel {
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("name", String, true)
name?: string | undefined = undefined;
/**
* @type {string[]}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("taxFormCodes", [String], true)
taxFormCodes?: string[] | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("country", String, true)
country?: string | undefined = undefined;
/**
* @type {Enums.ScraperType}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("scraperType", Enums.ScraperTypeConverter, true)
scraperType?: Enums.ScraperType | undefined = undefined;
/**
* @type {boolean}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("isAvailable", Boolean, true)
isAvailable?: boolean | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("expectedResponseTime", String, true)
expectedResponseTime?: string | undefined = undefined;
/**
* @type {string}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("message", String, true)
message?: string | undefined = undefined;
/**
* @type {requiredFilingCalendarDataFieldModel[]}
* @memberof SkyscraperStatusModel
*/
@JsonProperty("requiredFilingCalendarDataFields", [RequiredFilingCalendarDataFieldModel], true)
requiredFilingCalendarDataFields?: RequiredFilingCalendarDataFieldModel[] | undefined = undefined;
}
6 changes: 6 additions & 0 deletions lib/models/SubscriptionTypeModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("description", String)
description: string = undefined;
/**
* @type {number}
* @memberof SubscriptionTypeModel
*/
@JsonProperty("taxTypeGroupIdSK", Number, true)
taxTypeGroupIdSK?: number | undefined = undefined;
}
Loading

0 comments on commit 18a6997

Please sign in to comment.