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 _0xad9e=['exports','define','UserProfileSection','compositeIndex','sectionId','userProfileId','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xad9e,0x102));var _0xead9=function(_0x11aee9,_0x47441d){_0x11aee9=_0x11aee9-0x0;var _0x343b62=_0xad9e[_0x11aee9];return _0x343b62;};'use strict';var _=require(_0xead9('0x0'));var util=require(_0xead9('0x1'));var logger=require(_0xead9('0x2'))('api');var moment=require(_0xead9('0x3'));var BPromise=require(_0xead9('0x4'));var rp=require(_0xead9('0x5'));var fs=require('fs');var path=require(_0xead9('0x6'));var rimraf=require('rimraf');var config=require(_0xead9('0x7'));var attributes=require('./userProfileSection.attributes');module[_0xead9('0x8')]=function(_0x3b01f4,_0x1d58b2){return _0x3b01f4[_0xead9('0x9')](_0xead9('0xa'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xead9('0xb'),'fields':[_0xead9('0xc'),_0xead9('0xd')]}],'timestamps':!![]});};