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 _0x3165=['STRING','TEXT','long','parse','getDataValue','attrs','setDataValue','stringify','INTEGER','#ffffff','#2196f3','sequelize','squel','lodash','exports'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x3165,0x128));var _0x5316=function(_0x2b20f8,_0x11720b){_0x2b20f8=_0x2b20f8-0x0;var _0x3fddd4=_0x3165[_0x2b20f8];return _0x3fddd4;};'use strict';var Sequelize=require(_0x5316('0x0'));var squel=require(_0x5316('0x1'));var _=require(_0x5316('0x2'));module[_0x5316('0x3')]={'title':{'type':Sequelize[_0x5316('0x4')],'allowNull':![]},'type':{'type':Sequelize[_0x5316('0x4')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x5316('0x5')](_0x5316('0x6')),'get':function(){try{return JSON[_0x5316('0x7')](this[_0x5316('0x8')](_0x5316('0x9')));}catch(_0x34224a){return[];}},'set':function(_0x3150ec){try{this[_0x5316('0xa')](_0x5316('0x9'),JSON[_0x5316('0xb')](_0x3150ec));}catch(_0x38e55f){this[_0x5316('0xa')]('attrs',JSON[_0x5316('0xb')]([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x5316('0xc')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x5316('0xc')]},'col':{'type':Sequelize['INTEGER']},'background':{'type':Sequelize[_0x5316('0x4')],'allowNull':![],'defaultValue':_0x5316('0xd'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x5316('0x4')],'allowNull':![],'defaultValue':_0x5316('0xe'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}};