5223c2af6986db727621051227d884de2d24ea00
[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 _0xf17e=['exports','ENUM','BOOLEAN','INTEGER','sequelize','warning','info'];(function(_0x2b7764,_0x2606f1){var _0x848dcb=function(_0x1ae85b){while(--_0x1ae85b){_0x2b7764['push'](_0x2b7764['shift']());}};_0x848dcb(++_0x2606f1);}(_0xf17e,0x177));var _0xef17=function(_0x4aeaf3,_0x4d0553){_0x4aeaf3=_0x4aeaf3-0x0;var _0x2bb8fa=_0xf17e[_0x4aeaf3];return _0x2bb8fa;};'use strict';var Sequelize=require(_0xef17('0x0'));const CLIENT_SIDE_LOG_LEVELS=['error',_0xef17('0x1'),_0xef17('0x2'),'debug'];module[_0xef17('0x3')]={'clientSideLoggingLevel':{'type':Sequelize[_0xef17('0x4')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xef17('0x5')],'defaultValue':![]},'clientSideLoggingEnabledSince':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xef17('0x6')],'unique':'UserId'}};