eef34cd21e23439d49c2217e48b1b6698447b1be
[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 _0x82ec=['UserId','sequelize','error','info','debug','exports','ENUM','BOOLEAN','TEXT','DATE','INTEGER'];(function(_0x17c596,_0x202055){var _0x443046=function(_0x53fc9f){while(--_0x53fc9f){_0x17c596['push'](_0x17c596['shift']());}};_0x443046(++_0x202055);}(_0x82ec,0x11f));var _0xc82e=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x82ec[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0xc82e('0x0'));const CLIENT_SIDE_LOG_LEVELS=[_0xc82e('0x1'),'warning',_0xc82e('0x2'),_0xc82e('0x3')];module[_0xc82e('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xc82e('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0xc82e('0x1'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xc82e('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xc82e('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xc82e('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xc82e('0x9')],'unique':_0xc82e('0xa')}};