3ebb68332919019775100d2b5b0e5ed7d2afabbd
[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 _0x9d5b=['#0091EA','exports','STRING','name'];(function(_0x1558ac,_0x2cb0f4){var _0x285edf=function(_0x211514){while(--_0x211514){_0x1558ac['push'](_0x1558ac['shift']());}};_0x285edf(++_0x2cb0f4);}(_0x9d5b,0x14d));var _0xb9d5=function(_0x5eac8a,_0x1a4595){_0x5eac8a=_0x5eac8a-0x0;var _0x5c85aa=_0x9d5b[_0x5eac8a];return _0x5c85aa;};'use strict';var Sequelize=require('sequelize');module[_0xb9d5('0x0')]={'name':{'type':Sequelize[_0xb9d5('0x1')],'unique':_0xb9d5('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0xb9d5('0x1')],'defaultValue':_0xb9d5('0x3')},'description':{'type':Sequelize['STRING']}};