8cfc5bf3146f2cfbb37b4319b93ee97ef224096d
[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 _0x0b70=['exports','name','STRING'];(function(_0x525b28,_0x5cf5a0){var _0x180178=function(_0x43e066){while(--_0x43e066){_0x525b28['push'](_0x525b28['shift']());}};_0x180178(++_0x5cf5a0);}(_0x0b70,0x159));var _0x00b7=function(_0x4db685,_0x32dbb8){_0x4db685=_0x4db685-0x0;var _0x2144a4=_0x0b70[_0x4db685];return _0x2144a4;};'use strict';var Sequelize=require('sequelize');module[_0x00b7('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x00b7('0x1'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x00b7('0x2')],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0x00b7('0x2')]}};