466db4b72ce231f37a6279594085b64f6775a9b3
[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 _0x24e9=['#0091EA','sequelize','STRING','name'];(function(_0x40dc75,_0x3ee9de){var _0x41f2d1=function(_0x1e9da1){while(--_0x1e9da1){_0x40dc75['push'](_0x40dc75['shift']());}};_0x41f2d1(++_0x3ee9de);}(_0x24e9,0x85));var _0x924e=function(_0xdc37a1,_0x53ebb9){_0xdc37a1=_0xdc37a1-0x0;var _0x99b4fe=_0x24e9[_0xdc37a1];return _0x99b4fe;};'use strict';var Sequelize=require(_0x924e('0x0'));module['exports']={'name':{'type':Sequelize[_0x924e('0x1')],'unique':_0x924e('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x924e('0x1')],'defaultValue':_0x924e('0x3')},'description':{'type':Sequelize[_0x924e('0x1')]}};