4ed8d47ed5ed21884ee15a43e8a7e0fbbfe139f8
[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 _0xd4f4=['exports','STRING','name','#0091EA','sequelize'];(function(_0x1c423c,_0x5713a0){var _0x5d4020=function(_0x1f40a7){while(--_0x1f40a7){_0x1c423c['push'](_0x1c423c['shift']());}};_0x5d4020(++_0x5713a0);}(_0xd4f4,0x8b));var _0x4d4f=function(_0x508445,_0x4aff84){_0x508445=_0x508445-0x0;var _0x10fe51=_0xd4f4[_0x508445];return _0x10fe51;};'use strict';var Sequelize=require(_0x4d4f('0x0'));module[_0x4d4f('0x1')]={'name':{'type':Sequelize[_0x4d4f('0x2')],'unique':_0x4d4f('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x4d4f('0x2')],'defaultValue':_0x4d4f('0x4')},'description':{'type':Sequelize[_0x4d4f('0x2')]}};