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 _0xc50c=['BOOLEAN','ENUM','voice','lodash','exports','VIRTUAL','getDataValue','alias','STRING','setDataValue','name','long','type','select','parse','values','isArray','stringify'];(function(_0x3d6c7f,_0x4750d0){var _0x2240c1=function(_0x3ccc23){while(--_0x3ccc23){_0x3d6c7f['push'](_0x3d6c7f['shift']());}};_0x2240c1(++_0x4750d0);}(_0xc50c,0xdb));var _0xcc50=function(_0x346737,_0x3e6081){_0x346737=_0x346737-0x0;var _0x1ade2e=_0xc50c[_0x346737];return _0x1ade2e;};'use strict';var Sequelize=require('sequelize');var _=require(_0xcc50('0x0'));module[_0xcc50('0x1')]={'name':{'type':Sequelize[_0xcc50('0x2')],'get':function(_0x286c86){return this[_0xcc50('0x3')](_0xcc50('0x4'));}},'alias':{'type':Sequelize[_0xcc50('0x5')],'allowNull':![],'set':function(_0x4b6873){this[_0xcc50('0x6')](_0xcc50('0x4'),_0x4b6873?_0x4b6873:this[_0xcc50('0x3')](_0xcc50('0x7')));}},'type':{'type':Sequelize[_0xcc50('0x5')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0xcc50('0x8')),'get':function(){if(this[_0xcc50('0x3')](_0xcc50('0x9'))===_0xcc50('0xa')){return JSON[_0xcc50('0xb')](this[_0xcc50('0x3')]('values'));}else{return this['getDataValue'](_0xcc50('0xc'));}},'set':function(_0xb855f0){if(Array[_0xcc50('0xd')](_0xb855f0)){this[_0xcc50('0x6')](_0xcc50('0xc'),JSON[_0xcc50('0xe')](_0xb855f0));}else{this[_0xcc50('0x6')](_0xcc50('0xc'),_0xb855f0);}}},'required':{'type':Sequelize[_0xcc50('0xf')],'defaultValue':![]},'clickToAction':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'actionType':{'type':Sequelize[_0xcc50('0x10')](_0xcc50('0x11'))}};