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 _0x1e40=['compositeIndex','sectionId','userProfileId','lodash','util','moment','request-promise','../../config/environment','./userProfileSection.attributes','define','user_profile_has_sections'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1e40,0xdf));var _0x01e4=function(_0x3aec30,_0x2b509d){_0x3aec30=_0x3aec30-0x0;var _0xb5c4a0=_0x1e40[_0x3aec30];return _0xb5c4a0;};'use strict';var _=require(_0x01e4('0x0'));var util=require(_0x01e4('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x01e4('0x2'));var BPromise=require('bluebird');var rp=require(_0x01e4('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x01e4('0x4'));var attributes=require(_0x01e4('0x5'));module['exports']=function(_0x2382b3,_0x4f2b53){return _0x2382b3[_0x01e4('0x6')]('UserProfileSection',attributes,{'tableName':_0x01e4('0x7'),'paranoid':![],'indexes':[{'name':_0x01e4('0x8'),'fields':[_0x01e4('0x9'),_0x01e4('0xa')]}],'timestamps':!![]});};