Built motion from commit 25580385.|2.6.2
[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 _0x486e=['name','STRING','#0091EA','sequelize','exports'];(function(_0x1176d9,_0x2a1b64){var _0x3d1cb6=function(_0xe01528){while(--_0xe01528){_0x1176d9['push'](_0x1176d9['shift']());}};_0x3d1cb6(++_0x2a1b64);}(_0x486e,0xb2));var _0xe486=function(_0x57a50d,_0x2871f8){_0x57a50d=_0x57a50d-0x0;var _0x1b25b3=_0x486e[_0x57a50d];return _0x1b25b3;};'use strict';var Sequelize=require(_0xe486('0x0'));module[_0xe486('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xe486('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xe486('0x3')],'defaultValue':_0xe486('0x4')},'description':{'type':Sequelize[_0xe486('0x3')]}};