c3253463ca13c8dab5198432037077567c32dedb
[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 _0xe19e=['crudPermissions','getDataValue','split','sequelize','exports','STRING','name','setDataValue'];(function(_0x1be715,_0x1ad5ea){var _0x3f7deb=function(_0x3dfbe4){while(--_0x3dfbe4){_0x1be715['push'](_0x1be715['shift']());}};_0x3f7deb(++_0x1ad5ea);}(_0xe19e,0x93));var _0xee19=function(_0xe0b239,_0x66ed5d){_0xe0b239=_0xe0b239-0x0;var _0x5c3339=_0xe19e[_0xe0b239];return _0x5c3339;};'use strict';var Sequelize=require(_0xee19('0x0'));module[_0xee19('0x1')]={'name':{'type':Sequelize[_0xee19('0x2')],'allowNull':![],'unique':_0xee19('0x3')},'crudPermissions':{'type':Sequelize[_0xee19('0x2')],'set':function(_0x49d80e){this[_0xee19('0x4')](_0xee19('0x5'),_0x49d80e?_0x49d80e['join'](''):[]);},'get':function(){return this[_0xee19('0x6')](_0xee19('0x5'))?this[_0xee19('0x6')](_0xee19('0x5'))[_0xee19('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xee19('0x2')],'allowNull':!![]}};