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 _0x5dbc=['./userProfileResource.attributes','exports','resourceId','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment'];(function(_0x1e32d7,_0x16d06f){var _0x444f57=function(_0x1343ca){while(--_0x1343ca){_0x1e32d7['push'](_0x1e32d7['shift']());}};_0x444f57(++_0x16d06f);}(_0x5dbc,0x67));var _0xc5db=function(_0x1af369,_0xcddbf){_0x1af369=_0x1af369-0x0;var _0xca4712=_0x5dbc[_0x1af369];return _0xca4712;};'use strict';var _=require(_0xc5db('0x0'));var util=require(_0xc5db('0x1'));var logger=require(_0xc5db('0x2'))('api');var moment=require(_0xc5db('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc5db('0x4'));var rimraf=require(_0xc5db('0x5'));var config=require(_0xc5db('0x6'));var attributes=require(_0xc5db('0x7'));module[_0xc5db('0x8')]=function(_0x4b28b6,_0x4a04f3){return _0x4b28b6['define']('UserProfileResource',attributes,{'tableName':'user_profile_has_resources','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0xc5db('0x9'),'sectionId']}],'timestamps':!![]});};