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 _0xf280=['bluebird','path','rimraf','./userProfileResource.attributes','UserProfileResource','compositeIndex','resourceId','sectionId','api','moment'];(function(_0x55c307,_0x22b2ce){var _0xcca0a9=function(_0x1a2fa9){while(--_0x1a2fa9){_0x55c307['push'](_0x55c307['shift']());}};_0xcca0a9(++_0x22b2ce);}(_0xf280,0xd0));var _0x0f28=function(_0x5a7d41,_0x4447e2){_0x5a7d41=_0x5a7d41-0x0;var _0x98d8fa=_0xf280[_0x5a7d41];return _0x98d8fa;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x0f28('0x0'));var moment=require(_0x0f28('0x1'));var BPromise=require(_0x0f28('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0f28('0x3'));var rimraf=require(_0x0f28('0x4'));var config=require('../../config/environment');var attributes=require(_0x0f28('0x5'));module['exports']=function(_0x362586,_0x53f193){return _0x362586['define'](_0x0f28('0x6'),attributes,{'tableName':'user_profile_has_resources','paranoid':![],'indexes':[{'name':_0x0f28('0x7'),'fields':[_0x0f28('0x8'),_0x0f28('0x9')]}],'timestamps':!![]});};