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 _0xfb34=['name','type','select','parse','values','BOOLEAN','voice','lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue'];(function(_0x44b505,_0x3754ee){var _0x239b49=function(_0x5ab058){while(--_0x5ab058){_0x44b505['push'](_0x44b505['shift']());}};_0x239b49(++_0x3754ee);}(_0xfb34,0x111));var _0x4fb3=function(_0x5756c6,_0x58290a){_0x5756c6=_0x5756c6-0x0;var _0x4b5806=_0xfb34[_0x5756c6];return _0x4b5806;};'use strict';var Sequelize=require('sequelize');var _=require(_0x4fb3('0x0'));module[_0x4fb3('0x1')]={'name':{'type':Sequelize[_0x4fb3('0x2')],'get':function(_0x36aa40){return this[_0x4fb3('0x3')](_0x4fb3('0x4'));}},'alias':{'type':Sequelize[_0x4fb3('0x5')],'allowNull':![],'set':function(_0x29b60e){this[_0x4fb3('0x6')](_0x4fb3('0x4'),_0x29b60e?_0x29b60e:this[_0x4fb3('0x3')](_0x4fb3('0x7')));}},'type':{'type':Sequelize[_0x4fb3('0x5')],'allowNull':![]},'values':{'type':Sequelize['TEXT']('long'),'get':function(){if(this[_0x4fb3('0x3')](_0x4fb3('0x8'))===_0x4fb3('0x9')){return JSON[_0x4fb3('0xa')](this[_0x4fb3('0x3')](_0x4fb3('0xb')));}else{return this[_0x4fb3('0x3')](_0x4fb3('0xb'));}},'set':function(_0x28dc36){if(Array['isArray'](_0x28dc36)){this[_0x4fb3('0x6')]('values',JSON['stringify'](_0x28dc36));}else{this['setDataValue'](_0x4fb3('0xb'),_0x28dc36);}}},'required':{'type':Sequelize[_0x4fb3('0xc')],'defaultValue':![]},'clickToAction':{'type':Sequelize[_0x4fb3('0xc')],'defaultValue':![]},'actionType':{'type':Sequelize['ENUM'](_0x4fb3('0xd'))}};