efb5f93f947f520c808db5852d76f1ca907637b0
[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 _0x20df=['exports','STRING','name','#0091EA','sequelize'];(function(_0x51a90a,_0x599f93){var _0x905c52=function(_0x2a8ca2){while(--_0x2a8ca2){_0x51a90a['push'](_0x51a90a['shift']());}};_0x905c52(++_0x599f93);}(_0x20df,0x7c));var _0xf20d=function(_0x3d27a,_0x31311d){_0x3d27a=_0x3d27a-0x0;var _0x314fd7=_0x20df[_0x3d27a];return _0x314fd7;};'use strict';var Sequelize=require(_0xf20d('0x0'));module[_0xf20d('0x1')]={'name':{'type':Sequelize[_0xf20d('0x2')],'unique':_0xf20d('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0xf20d('0x4')},'description':{'type':Sequelize[_0xf20d('0x2')]}};