Built motion from commit ffdca78c.|2.6.24
[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 _0x7d79=['join','getDataValue','split','BOOLEAN','sequelize','STRING','setDataValue','crudPermissions'];(function(_0xf35bc1,_0x510803){var _0xa6b162=function(_0x1e5cc8){while(--_0x1e5cc8){_0xf35bc1['push'](_0xf35bc1['shift']());}};_0xa6b162(++_0x510803);}(_0x7d79,0x18c));var _0x97d7=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x7d79[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x97d7('0x0'));module['exports']={'name':{'type':Sequelize[_0x97d7('0x1')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x97d7('0x1')],'set':function(_0x54ebc1){this[_0x97d7('0x2')](_0x97d7('0x3'),_0x54ebc1?_0x54ebc1[_0x97d7('0x4')](''):[]);},'get':function(){return this[_0x97d7('0x5')](_0x97d7('0x3'))?this['getDataValue'](_0x97d7('0x3'))[_0x97d7('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x97d7('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};