70eac64f267905da8a7a656b0e8ba3440d44a0b3
[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 _0x2bd4=['sequelize','warning','info','debug','ENUM','error','BOOLEAN','TEXT','DATE','INTEGER'];(function(_0x7a3247,_0x15cb12){var _0x1bfde5=function(_0x62bbef){while(--_0x62bbef){_0x7a3247['push'](_0x7a3247['shift']());}};_0x1bfde5(++_0x15cb12);}(_0x2bd4,0x1ea));var _0x42bd=function(_0x2d2d4b,_0x12c53b){_0x2d2d4b=_0x2d2d4b-0x0;var _0x1b6ee4=_0x2bd4[_0x2d2d4b];return _0x1b6ee4;};'use strict';var Sequelize=require(_0x42bd('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0x42bd('0x1'),_0x42bd('0x2'),_0x42bd('0x3')];module['exports']={'clientSideLoggingLevel':{'type':Sequelize[_0x42bd('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':_0x42bd('0x5'),'validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0x42bd('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0x42bd('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0x42bd('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0x42bd('0x9')],'unique':'UserId'}};