Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / user-setting / user-setting.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 _0x04ef=['ENUM','BOOLEAN','TEXT','INTEGER','UserId','sequelize','error','warning','info','debug','exports'];(function(_0x5911f3,_0x234926){var _0x3eb7fc=function(_0x454606){while(--_0x454606){_0x5911f3['push'](_0x5911f3['shift']());}};_0x3eb7fc(++_0x234926);}(_0x04ef,0x118));var _0xf04e=function(_0xdc76ec,_0x1573ef){_0xdc76ec=_0xdc76ec-0x0;var _0x56a435=_0x04ef[_0xdc76ec];return _0x56a435;};'use strict';var Sequelize=require(_0xf04e('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xf04e('0x1'),_0xf04e('0x2'),_0xf04e('0x3'),_0xf04e('0x4')];module[_0xf04e('0x5')]={'clientSideLoggingLevel':{'type':Sequelize[_0xf04e('0x6')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xf04e('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xf04e('0x7')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xf04e('0x8')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xf04e('0x9')],'unique':_0xf04e('0xa')}};