Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for 24.8.0 #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17,596 changes: 8,873 additions & 8,723 deletions lib/AvaTaxClient.ts

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions lib/models/BatchModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("batchAgent", String, true)
batchAgent?: string | undefined = undefined;
/**
* @type {string}
* @memberof BatchModel
*/
@JsonProperty("options", String, true)
options?: string | undefined = undefined;
/**
* @type {number}
* @memberof BatchModel
Expand All @@ -53,6 +47,12 @@ import { DateConverter } from "../utils/dateConverter";
* @type {string}
* @memberof BatchModel
*/
@JsonProperty("options", String, true)
options?: string | undefined = undefined;
/**
* @type {string}
* @memberof BatchModel
*/
@JsonProperty("name", String)
name: string = undefined;
/**
Expand Down
6 changes: 6 additions & 0 deletions lib/models/CreateTransactionBatchRequestModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("transactions", [TransactionBatchItemModel])
transactions: TransactionBatchItemModel[] = undefined;
/**
* @type {string}
* @memberof CreateTransactionBatchRequestModel
*/
@JsonProperty("options", String, true)
options?: string | undefined = undefined;
}
6 changes: 6 additions & 0 deletions lib/models/CreateTransactionBatchResponseModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ import { DateConverter } from "../utils/dateConverter";
* @type {string}
* @memberof CreateTransactionBatchResponseModel
*/
@JsonProperty("options", String, true)
options?: string | undefined = undefined;
/**
* @type {string}
* @memberof CreateTransactionBatchResponseModel
*/
@JsonProperty("name", String)
name: string = undefined;
/**
Expand Down
63 changes: 63 additions & 0 deletions lib/models/CreditTransactionDetailLines.ts
Original file line number Diff line number Diff line change
@@ -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 <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 { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Credit Transaction Detail Lines
* @export
* @class CreditTransactionDetailLines
*/
@JsonObject("CreditTransactionDetailLines")
export class CreditTransactionDetailLines {
/**
* @type {Date}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("reportingDate", DateConverter, true)
reportingDate?: Date | undefined = undefined;
/**
* @type {string}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("lineNo", String, true)
lineNo?: string | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("lineAmount", Number, true)
lineAmount?: number | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("exemptAmount", Number, true)
exemptAmount?: number | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("taxableAmount", Number, true)
taxableAmount?: number | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetailLines
*/
@JsonProperty("taxAmount", Number, true)
taxAmount?: number | undefined = undefined;
}
64 changes: 64 additions & 0 deletions lib/models/CreditTransactionDetails.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
* 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 { CreditTransactionDetailLines } from "./CreditTransactionDetailLines";
import { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Credit Transaction Details
* @export
* @class CreditTransactionDetails
*/
@JsonObject("CreditTransactionDetails")
export class CreditTransactionDetails {
/**
* @type {string}
* @memberof CreditTransactionDetails
*/
@JsonProperty("docCode", String, true)
docCode?: string | undefined = undefined;
/**
* @type {Date}
* @memberof CreditTransactionDetails
*/
@JsonProperty("docDate", DateConverter, true)
docDate?: Date | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetails
*/
@JsonProperty("totalExempt", Number, true)
totalExempt?: number | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetails
*/
@JsonProperty("totalTaxable", Number, true)
totalTaxable?: number | undefined = undefined;
/**
* @type {number}
* @memberof CreditTransactionDetails
*/
@JsonProperty("totalTax", Number, true)
totalTax?: number | undefined = undefined;
/**
* @type {CreditTransactionDetailLines[]}
* @memberof CreditTransactionDetails
*/
@JsonProperty("lines", [CreditTransactionDetailLines], true)
lines?: CreditTransactionDetailLines[] | undefined = undefined;
}
39 changes: 39 additions & 0 deletions lib/models/EventDeleteBatchMessageModel.ts
Original file line number Diff line number Diff line change
@@ -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 <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 { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Model to delete message
* @export
* @class EventDeleteBatchMessageModel
*/
@JsonObject("EventDeleteBatchMessageModel")
export class EventDeleteBatchMessageModel {
/**
* @type {string}
* @memberof EventDeleteBatchMessageModel
*/
@JsonProperty("receiptHandle", String, true)
receiptHandle?: string | undefined = undefined;
/**
* @type {string}
* @memberof EventDeleteBatchMessageModel
*/
@JsonProperty("messageId", String, true)
messageId?: string | undefined = undefined;
}
34 changes: 34 additions & 0 deletions lib/models/EventDeleteMessageModel.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* 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 { EventDeleteBatchMessageModel } from "./EventDeleteBatchMessageModel";
import { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Encloses the delete message command.
* @export
* @class EventDeleteMessageModel
*/
@JsonObject("EventDeleteMessageModel")
export class EventDeleteMessageModel {
/**
* @type {EventDeleteBatchMessageModel[]}
* @memberof EventDeleteMessageModel
*/
@JsonProperty("eventDeleteBatchMessageCommands", [EventDeleteBatchMessageModel], true)
eventDeleteBatchMessageCommands?: EventDeleteBatchMessageModel[] | undefined = undefined;
}
45 changes: 45 additions & 0 deletions lib/models/EventMessageResponse.ts
Original file line number Diff line number Diff line change
@@ -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 <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 { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

/**
* Encloses event message details
* @export
* @class EventMessageResponse
*/
@JsonObject("EventMessageResponse")
export class EventMessageResponse {
/**
* @type {string}
* @memberof EventMessageResponse
*/
@JsonProperty("body", String, true)
body?: string | undefined = undefined;
/**
* @type {string}
* @memberof EventMessageResponse
*/
@JsonProperty("messageId", String, true)
messageId?: string | undefined = undefined;
/**
* @type {string}
* @memberof EventMessageResponse
*/
@JsonProperty("receiptHandle", String, true)
receiptHandle?: string | undefined = undefined;
}
6 changes: 6 additions & 0 deletions lib/models/FilingCalendarModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,10 @@ Only used if you subscribe to Avalara Returns.
*/
@JsonProperty("autoLockOverrideDay", Number, true)
autoLockOverrideDay?: number | undefined = undefined;
/**
* @type {string}
* @memberof FilingCalendarModel
*/
@JsonProperty("currency", String, true)
currency?: string | undefined = undefined;
}
8 changes: 4 additions & 4 deletions lib/models/FilingReturnCreditModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

import * as Enums from '../enums/index';
import { WorksheetDocument } from "./WorksheetDocument";
import { CreditTransactionDetails } from "./CreditTransactionDetails";
import { JsonObject, JsonProperty } from "json2typescript";
import { DateConverter } from "../utils/dateConverter";

Expand Down Expand Up @@ -50,9 +50,9 @@ import { DateConverter } from "../utils/dateConverter";
@JsonProperty("totalTax", Number, true)
totalTax?: number | undefined = undefined;
/**
* @type {WorksheetDocument[]}
* @type {CreditTransactionDetails[]}
* @memberof FilingReturnCreditModel
*/
@JsonProperty("transactionDetails", [WorksheetDocument], true)
transactionDetails?: WorksheetDocument[] | undefined = undefined;
@JsonProperty("transactionDetails", [CreditTransactionDetails], true)
transactionDetails?: CreditTransactionDetails[] | undefined = undefined;
}
12 changes: 12 additions & 0 deletions lib/models/FilingReturnModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,18 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("appliedCarryOverCredits", FilingReturnCreditModel, true)
appliedCarryOverCredits?: FilingReturnCreditModel | undefined = undefined;
/**
* @type {string}
* @memberof FilingReturnModel
*/
@JsonProperty("liabilityCurrencyCode", String, true)
liabilityCurrencyCode?: string | undefined = undefined;
/**
* @type {string}
* @memberof FilingReturnModel
*/
@JsonProperty("filingCalendarCurrencyCode", String, true)
filingCalendarCurrencyCode?: string | undefined = undefined;
/**
* @type {Date}
* @memberof FilingReturnModel
Expand Down
12 changes: 12 additions & 0 deletions lib/models/MultiTaxFilingReturnModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,18 @@ import { DateConverter } from "../utils/dateConverter";
*/
@JsonProperty("type", String, true)
type?: string | undefined = undefined;
/**
* @type {string}
* @memberof MultiTaxFilingReturnModel
*/
@JsonProperty("liabilityCurrencyCode", String, true)
liabilityCurrencyCode?: string | undefined = undefined;
/**
* @type {string}
* @memberof MultiTaxFilingReturnModel
*/
@JsonProperty("filingCalendarCurrencyCode", String, true)
filingCalendarCurrencyCode?: string | undefined = undefined;
/**
* @type {FilingsTaxSummaryModel}
* @memberof MultiTaxFilingReturnModel
Expand Down
Loading