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 _0x0734=['parse','values','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','VIRTUAL','alias','STRING','setDataValue','name','TEXT','long','getDataValue','type'];(function(_0x1088ab,_0x41aecd){var _0x4aca31=function(_0x361578){while(--_0x361578){_0x1088ab['push'](_0x1088ab['shift']());}};_0x4aca31(++_0x41aecd);}(_0x0734,0xba));var _0x4073=function(_0x4ec710,_0x1234df){_0x4ec710=_0x4ec710-0x0;var _0x40ce13=_0x0734[_0x4ec710];return _0x40ce13;};'use strict';var Sequelize=require(_0x4073('0x0'));var _=require(_0x4073('0x1'));module[_0x4073('0x2')]={'name':{'type':Sequelize[_0x4073('0x3')],'get':function(_0x180ec1){return this['getDataValue'](_0x4073('0x4'));}},'alias':{'type':Sequelize[_0x4073('0x5')],'allowNull':![],'set':function(_0x1103ae){this[_0x4073('0x6')]('alias',_0x1103ae?_0x1103ae:this['getDataValue'](_0x4073('0x7')));}},'type':{'type':Sequelize['STRING'],'allowNull':![]},'values':{'type':Sequelize[_0x4073('0x8')](_0x4073('0x9')),'get':function(){if(this[_0x4073('0xa')](_0x4073('0xb'))==='select'){return JSON[_0x4073('0xc')](this['getDataValue'](_0x4073('0xd')));}else{return this[_0x4073('0xa')](_0x4073('0xd'));}},'set':function(_0x35242b){if(Array['isArray'](_0x35242b)){this['setDataValue'](_0x4073('0xd'),JSON[_0x4073('0xe')](_0x35242b));}else{this['setDataValue'](_0x4073('0xd'),_0x35242b);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x4073('0xf')],'defaultValue':![]},'actionType':{'type':Sequelize[_0x4073('0x10')](_0x4073('0x11'))}};