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 _0x8f9b=['compositeIndex','sectionId','userProfileId','lodash','../../config/logger','moment','bluebird','path','rimraf','./userProfileSection.attributes','exports','define','UserProfileSection'];(function(_0x42001c,_0x5a1717){var _0x52aa8b=function(_0x1f92a7){while(--_0x1f92a7){_0x42001c['push'](_0x42001c['shift']());}};_0x52aa8b(++_0x5a1717);}(_0x8f9b,0x162));var _0xb8f9=function(_0x299aeb,_0x414c83){_0x299aeb=_0x299aeb-0x0;var _0x17ad0f=_0x8f9b[_0x299aeb];return _0x17ad0f;};'use strict';var _=require(_0xb8f9('0x0'));var util=require('util');var logger=require(_0xb8f9('0x1'))('api');var moment=require(_0xb8f9('0x2'));var BPromise=require(_0xb8f9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb8f9('0x4'));var rimraf=require(_0xb8f9('0x5'));var config=require('../../config/environment');var attributes=require(_0xb8f9('0x6'));module[_0xb8f9('0x7')]=function(_0x18ed11,_0x58690d){return _0x18ed11[_0xb8f9('0x8')](_0xb8f9('0x9'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xb8f9('0xa'),'fields':[_0xb8f9('0xb'),_0xb8f9('0xc')]}],'timestamps':!![]});};