Built motion from commit ffdca78c.|2.6.24
[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 _0xcc40=['STRING','sequelize','name'];(function(_0x3fd9a3,_0x4579dd){var _0x3bb3e0=function(_0x17a419){while(--_0x17a419){_0x3fd9a3['push'](_0x3fd9a3['shift']());}};_0x3bb3e0(++_0x4579dd);}(_0xcc40,0x97));var _0x0cc4=function(_0x577b5c,_0xc5bd6){_0x577b5c=_0x577b5c-0x0;var _0x22f056=_0xcc40[_0x577b5c];return _0x22f056;};'use strict';var Sequelize=require(_0x0cc4('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x0cc4('0x1'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x0cc4('0x2')],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0x0cc4('0x2')]}};