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 _0x98af=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','user_profile_has_resources','compositeIndex','resourceId'];(function(_0x4e658c,_0x3139a5){var _0x3a2973=function(_0x479a80){while(--_0x479a80){_0x4e658c['push'](_0x4e658c['shift']());}};_0x3a2973(++_0x3139a5);}(_0x98af,0x1ce));var _0xf98a=function(_0x2539e6,_0x595d36){_0x2539e6=_0x2539e6-0x0;var _0xe83570=_0x98af[_0x2539e6];return _0xe83570;};'use strict';var _=require(_0xf98a('0x0'));var util=require(_0xf98a('0x1'));var logger=require(_0xf98a('0x2'))('api');var moment=require(_0xf98a('0x3'));var BPromise=require(_0xf98a('0x4'));var rp=require(_0xf98a('0x5'));var fs=require('fs');var path=require(_0xf98a('0x6'));var rimraf=require(_0xf98a('0x7'));var config=require(_0xf98a('0x8'));var attributes=require('./userProfileResource.attributes');module[_0xf98a('0x9')]=function(_0x28df2e,_0x5e625e){return _0x28df2e[_0xf98a('0xa')]('UserProfileResource',attributes,{'tableName':_0xf98a('0xb'),'paranoid':![],'indexes':[{'name':_0xf98a('0xc'),'fields':[_0xf98a('0xd'),'sectionId']}],'timestamps':!![]});};