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 _0x859e=['getDataValue','attrs','setDataValue','stringify','INTEGER','sequelize','squel','lodash','exports','STRING','long','parse'];(function(_0x20589d,_0x55d5bf){var _0x422de9=function(_0x44cbbb){while(--_0x44cbbb){_0x20589d['push'](_0x20589d['shift']());}};_0x422de9(++_0x55d5bf);}(_0x859e,0xad));var _0xe859=function(_0x1f94c4,_0x5d1920){_0x1f94c4=_0x1f94c4-0x0;var _0x18b823=_0x859e[_0x1f94c4];return _0x18b823;};'use strict';var Sequelize=require(_0xe859('0x0'));var squel=require(_0xe859('0x1'));var _=require(_0xe859('0x2'));module[_0xe859('0x3')]={'title':{'type':Sequelize[_0xe859('0x4')],'allowNull':![]},'type':{'type':Sequelize[_0xe859('0x4')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize['TEXT'](_0xe859('0x5')),'get':function(){try{return JSON[_0xe859('0x6')](this[_0xe859('0x7')](_0xe859('0x8')));}catch(_0x5b43da){return[];}},'set':function(_0x31db13){try{this['setDataValue'](_0xe859('0x8'),JSON['stringify'](_0x31db13));}catch(_0x5c4b3d){this[_0xe859('0x9')]('attrs',JSON[_0xe859('0xa')]([]));}}},'sizeX':{'type':Sequelize[_0xe859('0xb')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xe859('0xb')]},'col':{'type':Sequelize[_0xe859('0xb')]},'background':{'type':Sequelize[_0xe859('0x4')],'allowNull':![],'defaultValue':'#ffffff','validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0xe859('0x4')],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xe859('0x4')]}};