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 _0x998b=['request-promise','path','rimraf','../../config/environment','exports','define','compositeIndex','resourceId','sectionId','lodash','util','api','bluebird'];(function(_0x194637,_0x3ecc1d){var _0x4a154c=function(_0x52a386){while(--_0x52a386){_0x194637['push'](_0x194637['shift']());}};_0x4a154c(++_0x3ecc1d);}(_0x998b,0xcc));var _0xb998=function(_0x5b04dc,_0x4709f9){_0x5b04dc=_0x5b04dc-0x0;var _0x472378=_0x998b[_0x5b04dc];return _0x472378;};'use strict';var _=require(_0xb998('0x0'));var util=require(_0xb998('0x1'));var logger=require('../../config/logger')(_0xb998('0x2'));var moment=require('moment');var BPromise=require(_0xb998('0x3'));var rp=require(_0xb998('0x4'));var fs=require('fs');var path=require(_0xb998('0x5'));var rimraf=require(_0xb998('0x6'));var config=require(_0xb998('0x7'));var attributes=require('./userProfileResource.attributes');module[_0xb998('0x8')]=function(_0x44b001,_0x589897){return _0x44b001[_0xb998('0x9')]('UserProfileResource',attributes,{'tableName':'user_profile_has_resources','paranoid':![],'indexes':[{'name':_0xb998('0xa'),'fields':[_0xb998('0xb'),_0xb998('0xc')]}],'timestamps':!![]});};