637cb6ade649acfb4431227b8e5f9ada45a33984
[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 _0xdd4f=['sequelize','STRING','#0091EA'];(function(_0xb01b23,_0x819b9f){var _0x484243=function(_0x15b6af){while(--_0x15b6af){_0xb01b23['push'](_0xb01b23['shift']());}};_0x484243(++_0x819b9f);}(_0xdd4f,0x1ce));var _0xfdd4=function(_0x1d78ba,_0x4c5b19){_0x1d78ba=_0x1d78ba-0x0;var _0x4ed2e3=_0xdd4f[_0x1d78ba];return _0x4ed2e3;};'use strict';var Sequelize=require(_0xfdd4('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xfdd4('0x1')],'defaultValue':_0xfdd4('0x2')},'description':{'type':Sequelize['STRING']}};