ba9fa2a67de4bcc181aaaeab3956bfc93fd871c3
[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 _0x716f=['UserId','error','warning','info','debug','exports','ENUM','BOOLEAN','TEXT','DATE','INTEGER'];(function(_0x279d37,_0x14de3f){var _0x530173=function(_0x37fc79){while(--_0x37fc79){_0x279d37['push'](_0x279d37['shift']());}};_0x530173(++_0x14de3f);}(_0x716f,0xc7));var _0xf716=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0x716f[_0x1969a7];return _0x3d665f;};'use strict';var Sequelize=require('sequelize');const CLIENT_SIDE_LOG_LEVELS=[_0xf716('0x0'),_0xf716('0x1'),_0xf716('0x2'),_0xf716('0x3')];module[_0xf716('0x4')]={'clientSideLoggingLevel':{'type':Sequelize[_0xf716('0x5')](CLIENT_SIDE_LOG_LEVELS),'allowNull':![],'defaultValue':'error','validate':{'isIn':[CLIENT_SIDE_LOG_LEVELS]}},'clientSideLoggingEnabled':{'type':Sequelize[_0xf716('0x6')],'defaultValue':![]},'clientSideLoggingScopes':{'type':Sequelize[_0xf716('0x7')],'allowNull':!![]},'clientSideLoggingEnabledSince':{'type':Sequelize[_0xf716('0x8')],'allowNull':!![],'defaultValue':null},'UserId':{'type':Sequelize[_0xf716('0x9')],'unique':_0xf716('0xa')}};