1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x8098=['TEXT','type','select','parse','values','isArray','stringify','BOOLEAN','ENUM','voice','exports','VIRTUAL','getDataValue','alias','setDataValue','STRING'];(function(_0x1db96c,_0x314e98){var _0xb3cf7d=function(_0x191cd7){while(--_0x191cd7){_0x1db96c['push'](_0x1db96c['shift']());}};_0xb3cf7d(++_0x314e98);}(_0x8098,0x1ba));var _0x8809=function(_0xcbbec9,_0x381323){_0xcbbec9=_0xcbbec9-0x0;var _0x3f2175=_0x8098[_0xcbbec9];return _0x3f2175;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0x8809('0x0')]={'name':{'type':Sequelize[_0x8809('0x1')],'get':function(_0x4037be){return this[_0x8809('0x2')](_0x8809('0x3'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x2bb438){this[_0x8809('0x4')](_0x8809('0x3'),_0x2bb438?_0x2bb438:this[_0x8809('0x2')]('name'));}},'type':{'type':Sequelize[_0x8809('0x5')],'allowNull':![]},'values':{'type':Sequelize[_0x8809('0x6')]('long'),'get':function(){if(this[_0x8809('0x2')](_0x8809('0x7'))===_0x8809('0x8')){return JSON[_0x8809('0x9')](this[_0x8809('0x2')](_0x8809('0xa')));}else{return this[_0x8809('0x2')](_0x8809('0xa'));}},'set':function(_0x25ed44){if(Array[_0x8809('0xb')](_0x25ed44)){this[_0x8809('0x4')](_0x8809('0xa'),JSON[_0x8809('0xc')](_0x25ed44));}else{this[_0x8809('0x4')](_0x8809('0xa'),_0x25ed44);}}},'required':{'type':Sequelize[_0x8809('0xd')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0x8809('0xe')](_0x8809('0xf'))}};