6fef20fd967939ad4646eebd771e2109f13bf62b
[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 _0x3ee7=['exports','STRING'];(function(_0x484e36,_0x4482d8){var _0xafc85d=function(_0xaba9c8){while(--_0xaba9c8){_0x484e36['push'](_0x484e36['shift']());}};_0xafc85d(++_0x4482d8);}(_0x3ee7,0x98));var _0x73ee=function(_0x19a0c8,_0x32f30e){_0x19a0c8=_0x19a0c8-0x0;var _0x1e777b=_0x3ee7[_0x19a0c8];return _0x1e777b;};'use strict';var Sequelize=require('sequelize');module[_0x73ee('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x73ee('0x1')],'defaultValue':'#0091EA'},'description':{'type':Sequelize[_0x73ee('0x1')]}};