981d155a60b435eb0da93b7f698a9c9e2f93c97b
[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 _0x4af8=['#0091EA','STRING'];(function(_0x50c16a,_0x53e9d2){var _0x52fb17=function(_0x237439){while(--_0x237439){_0x50c16a['push'](_0x50c16a['shift']());}};_0x52fb17(++_0x53e9d2);}(_0x4af8,0x1ad));var _0x84af=function(_0x47a7d0,_0x4e182d){_0x47a7d0=_0x47a7d0-0x0;var _0xb9bd08=_0x4af8[_0x47a7d0];return _0xb9bd08;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x84af('0x0')],'defaultValue':_0x84af('0x1')},'description':{'type':Sequelize[_0x84af('0x0')]}};