Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / tag / tag.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 _0x8d05=['sequelize','exports','STRING','name'];(function(_0xaa0be9,_0x4506b4){var _0x4e0a8b=function(_0x150b48){while(--_0x150b48){_0xaa0be9['push'](_0xaa0be9['shift']());}};_0x4e0a8b(++_0x4506b4);}(_0x8d05,0xe8));var _0x58d0=function(_0x24a0ff,_0x1e6192){_0x24a0ff=_0x24a0ff-0x0;var _0xc45157=_0x8d05[_0x24a0ff];return _0xc45157;};'use strict';var Sequelize=require(_0x58d0('0x0'));module[_0x58d0('0x1')]={'name':{'type':Sequelize[_0x58d0('0x2')],'unique':_0x58d0('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x58d0('0x2')],'defaultValue':'#0091EA'},'description':{'type':Sequelize['STRING']}};