Built motion from commit 2e4747fd.|2.6.7
[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 _0xc6d7=['name','sequelize','exports','STRING'];(function(_0x4c0b24,_0x357caa){var _0xb2abef=function(_0xfdbd46){while(--_0xfdbd46){_0x4c0b24['push'](_0x4c0b24['shift']());}};_0xb2abef(++_0x357caa);}(_0xc6d7,0x71));var _0x7c6d=function(_0x3ff261,_0x448713){_0x3ff261=_0x3ff261-0x0;var _0x445357=_0xc6d7[_0x3ff261];return _0x445357;};'use strict';var Sequelize=require(_0x7c6d('0x0'));module[_0x7c6d('0x1')]={'name':{'type':Sequelize[_0x7c6d('0x2')],'unique':_0x7c6d('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0x7c6d('0x2')]}};