e88580b82bec05ae81321c1b40469148b63f963f
[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 _0xd7d1=['sequelize','exports','STRING','name','#0091EA'];(function(_0x2a9e72,_0x258afa){var _0x5dee1c=function(_0x5ddcaa){while(--_0x5ddcaa){_0x2a9e72['push'](_0x2a9e72['shift']());}};_0x5dee1c(++_0x258afa);}(_0xd7d1,0x1b3));var _0x1d7d=function(_0xf18328,_0x1a665a){_0xf18328=_0xf18328-0x0;var _0x435499=_0xd7d1[_0xf18328];return _0x435499;};'use strict';var Sequelize=require(_0x1d7d('0x0'));module[_0x1d7d('0x1')]={'name':{'type':Sequelize[_0x1d7d('0x2')],'unique':_0x1d7d('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x1d7d('0x2')],'defaultValue':_0x1d7d('0x4')},'description':{'type':Sequelize[_0x1d7d('0x2')]}};