Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / dashboardItem / dashboardItem.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8d62=['stringify','INTEGER','#ffffff','#2196f3','sequelize','lodash','exports','STRING','TEXT','parse','getDataValue','attrs','setDataValue'];(function(_0x10edc1,_0x445617){var _0x66f1a8=function(_0x5ef233){while(--_0x5ef233){_0x10edc1['push'](_0x10edc1['shift']());}};_0x66f1a8(++_0x445617);}(_0x8d62,0x122));var _0x28d6=function(_0x5f5d46,_0x146800){_0x5f5d46=_0x5f5d46-0x0;var _0x33d8d3=_0x8d62[_0x5f5d46];return _0x33d8d3;};'use strict';var Sequelize=require(_0x28d6('0x0'));var squel=require('squel');var _=require(_0x28d6('0x1'));module[_0x28d6('0x2')]={'title':{'type':Sequelize[_0x28d6('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0x28d6('0x3')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x28d6('0x4')]('long'),'get':function(){try{return JSON[_0x28d6('0x5')](this[_0x28d6('0x6')](_0x28d6('0x7')));}catch(_0x6fa307){return[];}},'set':function(_0x53dcf6){try{this[_0x28d6('0x8')](_0x28d6('0x7'),JSON[_0x28d6('0x9')](_0x53dcf6));}catch(_0x1016d8){this[_0x28d6('0x8')]('attrs',JSON['stringify']([]));}}},'sizeX':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x28d6('0xa')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0x28d6('0xa')]},'col':{'type':Sequelize[_0x28d6('0xa')]},'background':{'type':Sequelize[_0x28d6('0x3')],'allowNull':![],'defaultValue':_0x28d6('0xb'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x28d6('0xc'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0x28d6('0x3')]}};