fe31734b7bd5ae0b9c9569acbc19686ec84f5a1a
[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 _0x132f=['#0091EA','sequelize','exports','STRING','name'];(function(_0x1383af,_0x29d2c3){var _0xbc03df=function(_0x2cf5cf){while(--_0x2cf5cf){_0x1383af['push'](_0x1383af['shift']());}};_0xbc03df(++_0x29d2c3);}(_0x132f,0x182));var _0xf132=function(_0x4099ee,_0x38495a){_0x4099ee=_0x4099ee-0x0;var _0x1b7bfc=_0x132f[_0x4099ee];return _0x1b7bfc;};'use strict';var Sequelize=require(_0xf132('0x0'));module[_0xf132('0x1')]={'name':{'type':Sequelize[_0xf132('0x2')],'unique':_0xf132('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xf132('0x2')],'defaultValue':_0xf132('0x4')},'description':{'type':Sequelize['STRING']}};