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 _0x26c6=['sequelize','exports','STRING','crudPermissions','getDataValue','split'];(function(_0x10fb57,_0x39bf77){var _0x440ead=function(_0x3a145b){while(--_0x3a145b){_0x10fb57['push'](_0x10fb57['shift']());}};_0x440ead(++_0x39bf77);}(_0x26c6,0x84));var _0x626c=function(_0x2c454,_0xdab67c){_0x2c454=_0x2c454-0x0;var _0x162978=_0x26c6[_0x2c454];return _0x162978;};'use strict';var Sequelize=require(_0x626c('0x0'));module[_0x626c('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x626c('0x2')],'set':function(_0x4b26da){this['setDataValue'](_0x626c('0x3'),_0x4b26da?_0x4b26da['join'](''):[]);},'get':function(){return this['getDataValue'](_0x626c('0x3'))?this[_0x626c('0x4')](_0x626c('0x3'))[_0x626c('0x5')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x626c('0x2')],'allowNull':!![]}};