6aa87188cfa6d90f8550fc7669cd3656868d6f62
[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 _0x9e0d=['name','#0091EA','sequelize','exports','STRING'];(function(_0x32e955,_0x5d4c83){var _0xeba8cb=function(_0x7554a7){while(--_0x7554a7){_0x32e955['push'](_0x32e955['shift']());}};_0xeba8cb(++_0x5d4c83);}(_0x9e0d,0xf7));var _0xd9e0=function(_0x38a5d9,_0x285d66){_0x38a5d9=_0x38a5d9-0x0;var _0x40af07=_0x9e0d[_0x38a5d9];return _0x40af07;};'use strict';var Sequelize=require(_0xd9e0('0x0'));module[_0xd9e0('0x1')]={'name':{'type':Sequelize[_0xd9e0('0x2')],'unique':_0xd9e0('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0xd9e0('0x4')},'description':{'type':Sequelize[_0xd9e0('0x2')]}};