Built motion from commit a61a4a20.|2.5.46
[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 _0x5423=['exports','name','STRING','sequelize'];(function(_0x2106a9,_0xaeada4){var _0x34271f=function(_0x4ed0cf){while(--_0x4ed0cf){_0x2106a9['push'](_0x2106a9['shift']());}};_0x34271f(++_0xaeada4);}(_0x5423,0xe3));var _0x3542=function(_0x4f3985,_0x516f4e){_0x4f3985=_0x4f3985-0x0;var _0x632393=_0x5423[_0x4f3985];return _0x632393;};'use strict';var Sequelize=require(_0x3542('0x0'));module[_0x3542('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x3542('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x3542('0x3')],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0x3542('0x3')]}};