7f7461f16ca1bb2c54bf1dcc0496701b3ca9e848
[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 _0x878f=['STRING','name','#0091EA','exports'];(function(_0x50c505,_0x13b7ce){var _0x2e2ca8=function(_0x38b0dd){while(--_0x38b0dd){_0x50c505['push'](_0x50c505['shift']());}};_0x2e2ca8(++_0x13b7ce);}(_0x878f,0x173));var _0xf878=function(_0x2293eb,_0x4f2cfd){_0x2293eb=_0x2293eb-0x0;var _0x1311bd=_0x878f[_0x2293eb];return _0x1311bd;};'use strict';var Sequelize=require('sequelize');module[_0xf878('0x0')]={'name':{'type':Sequelize[_0xf878('0x1')],'unique':_0xf878('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xf878('0x1')],'defaultValue':_0xf878('0x3')},'description':{'type':Sequelize[_0xf878('0x1')]}};