7e598eee44c13072a675d4f30e074970400ffd45
[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 _0x7117=['name','#0091EA','sequelize','exports','STRING'];(function(_0x589081,_0x54d794){var _0x4b7e8c=function(_0x372aba){while(--_0x372aba){_0x589081['push'](_0x589081['shift']());}};_0x4b7e8c(++_0x54d794);}(_0x7117,0x1ec));var _0x7711=function(_0x12392c,_0x2f004f){_0x12392c=_0x12392c-0x0;var _0x2875f3=_0x7117[_0x12392c];return _0x2875f3;};'use strict';var Sequelize=require(_0x7711('0x0'));module[_0x7711('0x1')]={'name':{'type':Sequelize[_0x7711('0x2')],'unique':_0x7711('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0x7711('0x4')},'description':{'type':Sequelize[_0x7711('0x2')]}};