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 _0x03a2=['sequelize','squel','exports','STRING','parse','getDataValue','attrs','stringify','setDataValue','INTEGER','#ffffff','#2196f3'];(function(_0x2dadb9,_0x42cfe6){var _0x2f0097=function(_0x21163f){while(--_0x21163f){_0x2dadb9['push'](_0x2dadb9['shift']());}};_0x2f0097(++_0x42cfe6);}(_0x03a2,0x174));var _0x203a=function(_0x52e5fd,_0x53efb7){_0x52e5fd=_0x52e5fd-0x0;var _0x46ae7b=_0x03a2[_0x52e5fd];return _0x46ae7b;};'use strict';var Sequelize=require(_0x203a('0x0'));var squel=require(_0x203a('0x1'));var _=require('lodash');module[_0x203a('0x2')]={'title':{'type':Sequelize[_0x203a('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0x203a('0x3')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize['TEXT']('long'),'get':function(){try{return JSON[_0x203a('0x4')](this[_0x203a('0x5')](_0x203a('0x6')));}catch(_0x41704c){return[];}},'set':function(_0x11f179){try{this['setDataValue'](_0x203a('0x6'),JSON[_0x203a('0x7')](_0x11f179));}catch(_0x152cfd){this[_0x203a('0x8')](_0x203a('0x6'),JSON[_0x203a('0x7')]([]));}}},'sizeX':{'type':Sequelize[_0x203a('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x203a('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x203a('0x9')]},'col':{'type':Sequelize[_0x203a('0x9')]},'background':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x203a('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x203a('0x3')],'allowNull':![],'defaultValue':_0x203a('0xb'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x203a('0x3')]}};