277ab93d5c3e46a1a006938a6e1af49a7cb8f445
[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 _0x8efc=['STRING','name','exports'];(function(_0x457d2a,_0x1ef267){var _0x487f6a=function(_0x21745f){while(--_0x21745f){_0x457d2a['push'](_0x457d2a['shift']());}};_0x487f6a(++_0x1ef267);}(_0x8efc,0xb3));var _0xc8ef=function(_0x3a7a9c,_0x24f7d6){_0x3a7a9c=_0x3a7a9c-0x0;var _0x59156e=_0x8efc[_0x3a7a9c];return _0x59156e;};'use strict';var Sequelize=require('sequelize');module[_0xc8ef('0x0')]={'name':{'type':Sequelize[_0xc8ef('0x1')],'unique':_0xc8ef('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xc8ef('0x1')],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0xc8ef('0x1')]}};