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 _0x00ad=['api','moment','request-promise','path','rimraf','../../config/environment','./userProfileResource.attributes','exports','define','UserProfileResource','compositeIndex','resourceId','sectionId','lodash','util','../../config/logger'];(function(_0x354840,_0x314439){var _0x50357a=function(_0x419e69){while(--_0x419e69){_0x354840['push'](_0x354840['shift']());}};_0x50357a(++_0x314439);}(_0x00ad,0x1dd));var _0xd00a=function(_0x35b18a,_0x6b2fbe){_0x35b18a=_0x35b18a-0x0;var _0x4db1bd=_0x00ad[_0x35b18a];return _0x4db1bd;};'use strict';var _=require(_0xd00a('0x0'));var util=require(_0xd00a('0x1'));var logger=require(_0xd00a('0x2'))(_0xd00a('0x3'));var moment=require(_0xd00a('0x4'));var BPromise=require('bluebird');var rp=require(_0xd00a('0x5'));var fs=require('fs');var path=require(_0xd00a('0x6'));var rimraf=require(_0xd00a('0x7'));var config=require(_0xd00a('0x8'));var attributes=require(_0xd00a('0x9'));module[_0xd00a('0xa')]=function(_0x4e4fd1,_0x1e0e70){return _0x4e4fd1[_0xd00a('0xb')](_0xd00a('0xc'),attributes,{'tableName':'user_profile_has_resources','paranoid':![],'indexes':[{'name':_0xd00a('0xd'),'fields':[_0xd00a('0xe'),_0xd00a('0xf')]}],'timestamps':!![]});};