9752efb9a51b5f0926c871ed5a095e3b96983a75
[motion2.git] / server / api / userProfile / userProfile.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 _0x4ea1=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','exports','STRING'];(function(_0x3903b2,_0x52d0f6){var _0x263c6a=function(_0x2aa309){while(--_0x2aa309){_0x3903b2['push'](_0x3903b2['shift']());}};_0x263c6a(++_0x52d0f6);}(_0x4ea1,0x116));var _0x14ea=function(_0x289921,_0xb32038){_0x289921=_0x289921-0x0;var _0x4ac780=_0x4ea1[_0x289921];return _0x4ac780;};'use strict';var Sequelize=require('sequelize');module[_0x14ea('0x0')]={'name':{'type':Sequelize[_0x14ea('0x1')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x14ea('0x1')],'set':function(_0x47bcc5){this[_0x14ea('0x2')](_0x14ea('0x3'),_0x47bcc5?_0x47bcc5[_0x14ea('0x4')](''):[]);},'get':function(){return this[_0x14ea('0x5')](_0x14ea('0x3'))?this[_0x14ea('0x5')](_0x14ea('0x3'))[_0x14ea('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x14ea('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x14ea('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x14ea('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x14ea('0x7')],'defaultValue':!![]}};