e6e090b5d61cb3926baa532d5ce23376ed9ded69
[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 _0xac4a=['exports','STRING','name','#0091EA','sequelize'];(function(_0x197eaa,_0x2bcc03){var _0x9f74a3=function(_0xe902e9){while(--_0xe902e9){_0x197eaa['push'](_0x197eaa['shift']());}};_0x9f74a3(++_0x2bcc03);}(_0xac4a,0x13f));var _0xaac4=function(_0x5a5a27,_0x592820){_0x5a5a27=_0x5a5a27-0x0;var _0x404f5e=_0xac4a[_0x5a5a27];return _0x404f5e;};'use strict';var Sequelize=require(_0xaac4('0x0'));module[_0xaac4('0x1')]={'name':{'type':Sequelize[_0xaac4('0x2')],'unique':_0xaac4('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xaac4('0x2')],'defaultValue':_0xaac4('0x4')},'description':{'type':Sequelize['STRING']}};