b5b24171755dd982026c391674487ee49cb8673b
[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 _0xd84c=['STRING','name','#0091EA','sequelize','exports'];(function(_0x4dfb03,_0x3f0a24){var _0x20ac3f=function(_0x5ab4eb){while(--_0x5ab4eb){_0x4dfb03['push'](_0x4dfb03['shift']());}};_0x20ac3f(++_0x3f0a24);}(_0xd84c,0x102));var _0xcd84=function(_0x5a2ae5,_0x33f4fe){_0x5a2ae5=_0x5a2ae5-0x0;var _0x4ef875=_0xd84c[_0x5a2ae5];return _0x4ef875;};'use strict';var Sequelize=require(_0xcd84('0x0'));module[_0xcd84('0x1')]={'name':{'type':Sequelize[_0xcd84('0x2')],'unique':_0xcd84('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xcd84('0x2')],'defaultValue':_0xcd84('0x4')},'description':{'type':Sequelize[_0xcd84('0x2')]}};