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 _0xaf1a=['path','rimraf','./userProfileSection.attributes','define','UserProfileSection','sectionId','userProfileId','lodash','util','../../config/logger','moment'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xaf1a,0xd8));var _0xaaf1=function(_0x50fa6b,_0x5170fa){_0x50fa6b=_0x50fa6b-0x0;var _0x4545df=_0xaf1a[_0x50fa6b];return _0x4545df;};'use strict';var _=require(_0xaaf1('0x0'));var util=require(_0xaaf1('0x1'));var logger=require(_0xaaf1('0x2'))('api');var moment=require(_0xaaf1('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xaaf1('0x4'));var rimraf=require(_0xaaf1('0x5'));var config=require('../../config/environment');var attributes=require(_0xaaf1('0x6'));module['exports']=function(_0xe6ead6,_0x12f40a){return _0xe6ead6[_0xaaf1('0x7')](_0xaaf1('0x8'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0xaaf1('0x9'),_0xaaf1('0xa')]}],'timestamps':!![]});};