7174b1ed185868ba5d8739924972d8365b6a2736
[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 _0xfff0=['#0091EA','exports','STRING','name'];(function(_0x8ea97a,_0x2e8941){var _0x427d0b=function(_0x1fd22f){while(--_0x1fd22f){_0x8ea97a['push'](_0x8ea97a['shift']());}};_0x427d0b(++_0x2e8941);}(_0xfff0,0x139));var _0x0fff=function(_0xdfd5d7,_0x26d5b8){_0xdfd5d7=_0xdfd5d7-0x0;var _0x3dfcb1=_0xfff0[_0xdfd5d7];return _0x3dfcb1;};'use strict';var Sequelize=require('sequelize');module[_0x0fff('0x0')]={'name':{'type':Sequelize[_0x0fff('0x1')],'unique':_0x0fff('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0x0fff('0x3')},'description':{'type':Sequelize[_0x0fff('0x1')]}};