Built motion from commit (unavailable).|2.5.26
[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 _0x9f4d=['setDataValue','crudPermissions','join','split','BOOLEAN','sequelize','exports','STRING','name'];(function(_0x503950,_0x5022eb){var _0x1657a9=function(_0x4c1e8f){while(--_0x4c1e8f){_0x503950['push'](_0x503950['shift']());}};_0x1657a9(++_0x5022eb);}(_0x9f4d,0xb0));var _0xd9f4=function(_0x3ef4f1,_0x5f0f9b){_0x3ef4f1=_0x3ef4f1-0x0;var _0x69953c=_0x9f4d[_0x3ef4f1];return _0x69953c;};'use strict';var Sequelize=require(_0xd9f4('0x0'));module[_0xd9f4('0x1')]={'name':{'type':Sequelize[_0xd9f4('0x2')],'allowNull':![],'unique':_0xd9f4('0x3')},'crudPermissions':{'type':Sequelize[_0xd9f4('0x2')],'set':function(_0x81f443){this[_0xd9f4('0x4')](_0xd9f4('0x5'),_0x81f443?_0x81f443[_0xd9f4('0x6')](''):[]);},'get':function(){return this['getDataValue'](_0xd9f4('0x5'))?this['getDataValue'](_0xd9f4('0x5'))[_0xd9f4('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd9f4('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xd9f4('0x8')],'defaultValue':![]}};