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 _0x6319=['STRING','#2196f3','sequelize','squel','TEXT','long','getDataValue','attrs','setDataValue','stringify','INTEGER'];(function(_0x3107af,_0x3e3247){var _0x2324ad=function(_0x59915e){while(--_0x59915e){_0x3107af['push'](_0x3107af['shift']());}};_0x2324ad(++_0x3e3247);}(_0x6319,0x157));var _0x9631=function(_0x500586,_0x1a54fe){_0x500586=_0x500586-0x0;var _0x2651e8=_0x6319[_0x500586];return _0x2651e8;};'use strict';var Sequelize=require(_0x9631('0x0'));var squel=require(_0x9631('0x1'));var _=require('lodash');module['exports']={'title':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x9631('0x2')](_0x9631('0x3')),'get':function(){try{return JSON['parse'](this[_0x9631('0x4')](_0x9631('0x5')));}catch(_0x163a31){return[];}},'set':function(_0x4e4e60){try{this[_0x9631('0x6')](_0x9631('0x5'),JSON[_0x9631('0x7')](_0x4e4e60));}catch(_0x4e9a3c){this['setDataValue']('attrs',JSON[_0x9631('0x7')]([]));}}},'sizeX':{'type':Sequelize[_0x9631('0x8')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x9631('0x8')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize['INTEGER']},'col':{'type':Sequelize[_0x9631('0x8')]},'background':{'type':Sequelize[_0x9631('0x9')],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x9631('0x9')],'allowNull':![],'defaultValue':_0x9631('0xa'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x9631('0x9')]},'titleFontSize':{'type':Sequelize[_0x9631('0x8')],'defaultValue':0xc}};