7b85bdf5616efa9c0bf60345490d571135a9fc29
[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 _0x112a=['name','#0091EA','sequelize','exports','STRING'];(function(_0x469aab,_0xf4ef88){var _0x2bd851=function(_0x2e8858){while(--_0x2e8858){_0x469aab['push'](_0x469aab['shift']());}};_0x2bd851(++_0xf4ef88);}(_0x112a,0x115));var _0xa112=function(_0x49fb69,_0x44c9d4){_0x49fb69=_0x49fb69-0x0;var _0x4d4614=_0x112a[_0x49fb69];return _0x4d4614;};'use strict';var Sequelize=require(_0xa112('0x0'));module[_0xa112('0x1')]={'name':{'type':Sequelize[_0xa112('0x2')],'unique':_0xa112('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xa112('0x2')],'defaultValue':_0xa112('0x4')},'description':{'type':Sequelize[_0xa112('0x2')]}};