Built motion from commit 616d3211.|2.6.4
[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 _0xfb5d=['name','#0091EA','sequelize','exports','STRING'];(function(_0x29c9f2,_0x5d6b92){var _0x15e0eb=function(_0x30346c){while(--_0x30346c){_0x29c9f2['push'](_0x29c9f2['shift']());}};_0x15e0eb(++_0x5d6b92);}(_0xfb5d,0x11a));var _0xdfb5=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xfb5d[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0xdfb5('0x0'));module[_0xdfb5('0x1')]={'name':{'type':Sequelize[_0xdfb5('0x2')],'unique':_0xdfb5('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0xdfb5('0x4')},'description':{'type':Sequelize['STRING']}};