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 _0xa383=['define','user_profile_has_sections','compositeIndex','sectionId','userProfileId','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','./userProfileSection.attributes'];(function(_0x3d10aa,_0x5099c2){var _0x2c3e57=function(_0x3242cb){while(--_0x3242cb){_0x3d10aa['push'](_0x3d10aa['shift']());}};_0x2c3e57(++_0x5099c2);}(_0xa383,0xa1));var _0x3a38=function(_0x5e6cb8,_0x16cf56){_0x5e6cb8=_0x5e6cb8-0x0;var _0x3faeb3=_0xa383[_0x5e6cb8];return _0x3faeb3;};'use strict';var _=require(_0x3a38('0x0'));var util=require(_0x3a38('0x1'));var logger=require(_0x3a38('0x2'))('api');var moment=require(_0x3a38('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3a38('0x4'));var rimraf=require(_0x3a38('0x5'));var config=require(_0x3a38('0x6'));var attributes=require(_0x3a38('0x7'));module['exports']=function(_0xc1dfeb,_0x4beb67){return _0xc1dfeb[_0x3a38('0x8')]('UserProfileSection',attributes,{'tableName':_0x3a38('0x9'),'paranoid':![],'indexes':[{'name':_0x3a38('0xa'),'fields':[_0x3a38('0xb'),_0x3a38('0xc')]}],'timestamps':!![]});};