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 _0xd748=['#2196f3','sequelize','squel','STRING','TEXT','parse','getDataValue','attrs','setDataValue','stringify','INTEGER','#ffffff'];(function(_0x5cd3f8,_0x20e34b){var _0x390991=function(_0x2845bd){while(--_0x2845bd){_0x5cd3f8['push'](_0x5cd3f8['shift']());}};_0x390991(++_0x20e34b);}(_0xd748,0x1a5));var _0x8d74=function(_0x456fb1,_0x859a1d){_0x456fb1=_0x456fb1-0x0;var _0x4083d6=_0xd748[_0x456fb1];return _0x4083d6;};'use strict';var Sequelize=require(_0x8d74('0x0'));var squel=require(_0x8d74('0x1'));var _=require('lodash');module['exports']={'title':{'type':Sequelize[_0x8d74('0x2')],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x8d74('0x3')]('long'),'get':function(){try{return JSON[_0x8d74('0x4')](this[_0x8d74('0x5')](_0x8d74('0x6')));}catch(_0x33b362){return[];}},'set':function(_0xd4feed){try{this[_0x8d74('0x7')](_0x8d74('0x6'),JSON[_0x8d74('0x8')](_0xd4feed));}catch(_0x389ec2){this[_0x8d74('0x7')](_0x8d74('0x6'),JSON[_0x8d74('0x8')]([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x8d74('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x8d74('0x9')]},'col':{'type':Sequelize[_0x8d74('0x9')]},'background':{'type':Sequelize[_0x8d74('0x2')],'allowNull':![],'defaultValue':_0x8d74('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x8d74('0x2')],'allowNull':![],'defaultValue':_0x8d74('0xb'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x8d74('0x2')]},'titleFontSize':{'type':Sequelize[_0x8d74('0x9')],'defaultValue':0xc}};