/* * 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 { CustomRuleComponentInputModel } from "./CustomRuleComponentInputModel"; import { JsonObject, JsonProperty } from "json2typescript"; import { DateConverter } from "../utils/dateConverter"; /** * Represents the definition of a Custom Rule, which defines its execution flow. * @export * @class CustomRuleDefinitionInputModel */ @JsonObject("CustomRuleDefinitionInputModel") export class CustomRuleDefinitionInputModel { /** * @type {CustomRuleComponentInputModel[]} * @memberof CustomRuleDefinitionInputModel */ @JsonProperty("variables", [CustomRuleComponentInputModel], true) variables?: CustomRuleComponentInputModel[] | undefined = undefined; /** * @type {CustomRuleComponentInputModel[]} * @memberof CustomRuleDefinitionInputModel */ @JsonProperty("nodes", [CustomRuleComponentInputModel]) nodes: CustomRuleComponentInputModel[] = undefined; }