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 _0x336c=['user_profile_has_resources','compositeIndex','sectionId','util','../../config/logger','api','moment','request-promise','./userProfileResource.attributes','exports','define'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x336c,0x16e));var _0xc336=function(_0x146cbc,_0x52bfff){_0x146cbc=_0x146cbc-0x0;var _0x4512bd=_0x336c[_0x146cbc];return _0x4512bd;};'use strict';var _=require('lodash');var util=require(_0xc336('0x0'));var logger=require(_0xc336('0x1'))(_0xc336('0x2'));var moment=require(_0xc336('0x3'));var BPromise=require('bluebird');var rp=require(_0xc336('0x4'));var attributes=require(_0xc336('0x5'));module[_0xc336('0x6')]=function(_0x7f6b70,_0x933e9){return _0x7f6b70[_0xc336('0x7')]('UserProfileResource',attributes,{'tableName':_0xc336('0x8'),'paranoid':![],'indexes':[{'name':_0xc336('0x9'),'fields':['resourceId',_0xc336('0xa')]}],'timestamps':!![]});};