Built motion from commit 10af8726.|2.6.34
[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 _0x7a8c=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','exports','STRING'];(function(_0x2ed8f3,_0x4aa12f){var _0x525a55=function(_0x4cfb58){while(--_0x4cfb58){_0x2ed8f3['push'](_0x2ed8f3['shift']());}};_0x525a55(++_0x4aa12f);}(_0x7a8c,0x189));var _0xc7a8=function(_0x1e4360,_0x930b9b){_0x1e4360=_0x1e4360-0x0;var _0x31e6b4=_0x7a8c[_0x1e4360];return _0x31e6b4;};'use strict';var Sequelize=require(_0xc7a8('0x0'));module[_0xc7a8('0x1')]={'name':{'type':Sequelize[_0xc7a8('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xc7a8('0x2')],'set':function(_0x35f771){this[_0xc7a8('0x3')](_0xc7a8('0x4'),_0x35f771?_0x35f771[_0xc7a8('0x5')](''):[]);},'get':function(){return this[_0xc7a8('0x6')](_0xc7a8('0x4'))?this[_0xc7a8('0x6')](_0xc7a8('0x4'))[_0xc7a8('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xc7a8('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xc7a8('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xc7a8('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xc7a8('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xc7a8('0x8')],'defaultValue':!![]}};