01e6fb4422046627229af33ee3ae98b90193d811
[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 _0x8c11=['sequelize','exports','STRING','name','#0091EA'];(function(_0x43747e,_0x13b832){var _0x7fb853=function(_0x4b1028){while(--_0x4b1028){_0x43747e['push'](_0x43747e['shift']());}};_0x7fb853(++_0x13b832);}(_0x8c11,0xf5));var _0x18c1=function(_0x346497,_0x5b109c){_0x346497=_0x346497-0x0;var _0x5b46b8=_0x8c11[_0x346497];return _0x5b46b8;};'use strict';var Sequelize=require(_0x18c1('0x0'));module[_0x18c1('0x1')]={'name':{'type':Sequelize[_0x18c1('0x2')],'unique':_0x18c1('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x18c1('0x2')],'defaultValue':_0x18c1('0x4')},'description':{'type':Sequelize[_0x18c1('0x2')]}};