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 _0x365b=['sequelize','lodash','STRING','parse','attrs','stringify','setDataValue','INTEGER','#2196f3'];(function(_0x1ffd67,_0x1c18ba){var _0xce170f=function(_0x16cdb2){while(--_0x16cdb2){_0x1ffd67['push'](_0x1ffd67['shift']());}};_0xce170f(++_0x1c18ba);}(_0x365b,0x1dd));var _0xb365=function(_0x5d4607,_0x6b5e7b){_0x5d4607=_0x5d4607-0x0;var _0x5e4a86=_0x365b[_0x5d4607];return _0x5e4a86;};'use strict';var Sequelize=require(_0xb365('0x0'));var squel=require('squel');var _=require(_0xb365('0x1'));module['exports']={'title':{'type':Sequelize[_0xb365('0x2')],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize['TEXT']('long'),'get':function(){try{return JSON[_0xb365('0x3')](this['getDataValue'](_0xb365('0x4')));}catch(_0x2a8eda){return[];}},'set':function(_0x156aea){try{this['setDataValue'](_0xb365('0x4'),JSON[_0xb365('0x5')](_0x156aea));}catch(_0x2cd3cb){this[_0xb365('0x6')](_0xb365('0x4'),JSON[_0xb365('0x5')]([]));}}},'sizeX':{'type':Sequelize[_0xb365('0x7')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xb365('0x7')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize['INTEGER']},'col':{'type':Sequelize[_0xb365('0x7')]},'background':{'type':Sequelize[_0xb365('0x2')],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xb365('0x8'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xb365('0x2')]}};