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 _0x241c=['compositeIndex','userProfileId','lodash','util','api','moment','request-promise','rimraf','./userProfileSection.attributes'];(function(_0x585304,_0x4dbbd6){var _0x53bfc7=function(_0x724a68){while(--_0x724a68){_0x585304['push'](_0x585304['shift']());}};_0x53bfc7(++_0x4dbbd6);}(_0x241c,0x65));var _0xc241=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x241c[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0xc241('0x0'));var util=require(_0xc241('0x1'));var logger=require('../../config/logger')(_0xc241('0x2'));var moment=require(_0xc241('0x3'));var BPromise=require('bluebird');var rp=require(_0xc241('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc241('0x5'));var config=require('../../config/environment');var attributes=require(_0xc241('0x6'));module['exports']=function(_0x3915a8,_0x4041ee){return _0x3915a8['define']('UserProfileSection',attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xc241('0x7'),'fields':['sectionId',_0xc241('0x8')]}],'timestamps':!![]});};