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 _0x03c5=['UserProfileResource','user_profile_has_resources','compositeIndex','resourceId','lodash','util','../../config/logger','path','rimraf','./userProfileResource.attributes','exports'];(function(_0x4954b8,_0x1fa1e4){var _0x119126=function(_0x4de033){while(--_0x4de033){_0x4954b8['push'](_0x4954b8['shift']());}};_0x119126(++_0x1fa1e4);}(_0x03c5,0x16f));var _0x503c=function(_0x4a04de,_0x2e342c){_0x4a04de=_0x4a04de-0x0;var _0xbbe018=_0x03c5[_0x4a04de];return _0xbbe018;};'use strict';var _=require(_0x503c('0x0'));var util=require(_0x503c('0x1'));var logger=require(_0x503c('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x503c('0x3'));var rimraf=require(_0x503c('0x4'));var config=require('../../config/environment');var attributes=require(_0x503c('0x5'));module[_0x503c('0x6')]=function(_0x3603c7,_0x344c8b){return _0x3603c7['define'](_0x503c('0x7'),attributes,{'tableName':_0x503c('0x8'),'paranoid':![],'indexes':[{'name':_0x503c('0x9'),'fields':[_0x503c('0xa'),'sectionId']}],'timestamps':!![]});};