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 _0x899f=['./userProfileSection.attributes','exports','define','UserProfileSection','sectionId','lodash','util','path','rimraf'];(function(_0x6dbabf,_0x229984){var _0x45a29b=function(_0x55bf3b){while(--_0x55bf3b){_0x6dbabf['push'](_0x6dbabf['shift']());}};_0x45a29b(++_0x229984);}(_0x899f,0xe6));var _0xf899=function(_0x5d0818,_0x188411){_0x5d0818=_0x5d0818-0x0;var _0x37fcdb=_0x899f[_0x5d0818];return _0x37fcdb;};'use strict';var _=require(_0xf899('0x0'));var util=require(_0xf899('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf899('0x2'));var rimraf=require(_0xf899('0x3'));var config=require('../../config/environment');var attributes=require(_0xf899('0x4'));module[_0xf899('0x5')]=function(_0x4547f4,_0x40f888){return _0x4547f4[_0xf899('0x6')](_0xf899('0x7'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0xf899('0x8'),'userProfileId']}],'timestamps':!![]});};