1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x968b=['BOOLEAN','sequelize','exports','STRING','name','setDataValue','join','getDataValue'];(function(_0x596b4f,_0x4de500){var _0x47760=function(_0x142c81){while(--_0x142c81){_0x596b4f['push'](_0x596b4f['shift']());}};_0x47760(++_0x4de500);}(_0x968b,0x151));var _0xb968=function(_0x191b54,_0x1dc69a){_0x191b54=_0x191b54-0x0;var _0x2270d1=_0x968b[_0x191b54];return _0x2270d1;};'use strict';var Sequelize=require(_0xb968('0x0'));module[_0xb968('0x1')]={'name':{'type':Sequelize[_0xb968('0x2')],'allowNull':![],'unique':_0xb968('0x3')},'crudPermissions':{'type':Sequelize[_0xb968('0x2')],'set':function(_0x4b5c7c){this[_0xb968('0x4')]('crudPermissions',_0x4b5c7c?_0x4b5c7c[_0xb968('0x5')](''):[]);},'get':function(){return this[_0xb968('0x6')]('crudPermissions')?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xb968('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xb968('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};