b4c4c49ca2c3661476b49df0c259640a0916e5c6
[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 _0x081e=['#0091EA','STRING','sequelize','exports','name'];(function(_0x2dd65c,_0x2662d0){var _0x30159f=function(_0xd26513){while(--_0xd26513){_0x2dd65c['push'](_0x2dd65c['shift']());}};_0x30159f(++_0x2662d0);}(_0x081e,0xc5));var _0xe081=function(_0x4ed1d4,_0x512d9a){_0x4ed1d4=_0x4ed1d4-0x0;var _0x28e363=_0x081e[_0x4ed1d4];return _0x28e363;};'use strict';var Sequelize=require(_0xe081('0x0'));module[_0xe081('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xe081('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize['STRING'],'defaultValue':_0xe081('0x3')},'description':{'type':Sequelize[_0xe081('0x4')]}};