Built motion from commit 64440dd5.|2.6.29
[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 _0xd844=['STRING','sequelize','exports','name'];(function(_0x2b38ec,_0x587dd6){var _0x1577bc=function(_0x58d6c5){while(--_0x58d6c5){_0x2b38ec['push'](_0x2b38ec['shift']());}};_0x1577bc(++_0x587dd6);}(_0xd844,0x6d));var _0x4d84=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xd844[_0x19950b];return _0x3c6b41;};'use strict';var Sequelize=require(_0x4d84('0x0'));module[_0x4d84('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x4d84('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x4d84('0x3')],'defaultValue':'#0091EA'},'description':{'type':Sequelize['STRING']}};