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 _0x796f=['STRING','setDataValue','name','TEXT','long','type','select','values','isArray','stringify','BOOLEAN','ENUM','voice','sequelize','lodash','exports','getDataValue','alias'];(function(_0x162ab4,_0x578437){var _0x410f69=function(_0x350bfc){while(--_0x350bfc){_0x162ab4['push'](_0x162ab4['shift']());}};_0x410f69(++_0x578437);}(_0x796f,0xd3));var _0xf796=function(_0x406123,_0x20da0b){_0x406123=_0x406123-0x0;var _0x2e079e=_0x796f[_0x406123];return _0x2e079e;};'use strict';var Sequelize=require(_0xf796('0x0'));var _=require(_0xf796('0x1'));module[_0xf796('0x2')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x144012){return this[_0xf796('0x3')](_0xf796('0x4'));}},'alias':{'type':Sequelize[_0xf796('0x5')],'allowNull':![],'set':function(_0x348c64){this[_0xf796('0x6')](_0xf796('0x4'),_0x348c64?_0x348c64:this[_0xf796('0x3')](_0xf796('0x7')));}},'type':{'type':Sequelize[_0xf796('0x5')],'allowNull':![]},'values':{'type':Sequelize[_0xf796('0x8')](_0xf796('0x9')),'get':function(){if(this[_0xf796('0x3')](_0xf796('0xa'))===_0xf796('0xb')){return JSON['parse'](this[_0xf796('0x3')](_0xf796('0xc')));}else{return this[_0xf796('0x3')](_0xf796('0xc'));}},'set':function(_0x202dff){if(Array[_0xf796('0xd')](_0x202dff)){this[_0xf796('0x6')](_0xf796('0xc'),JSON[_0xf796('0xe')](_0x202dff));}else{this[_0xf796('0x6')](_0xf796('0xc'),_0x202dff);}}},'required':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0xf796('0xf')],'defaultValue':![]},'actionType':{'type':Sequelize[_0xf796('0x10')](_0xf796('0x11'))}};