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 _0x6c17=['UserProfileResource','user_profile_has_resources','resourceId','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userProfileResource.attributes'];(function(_0xae0818,_0x3b1640){var _0x31e1d9=function(_0x15a1f6){while(--_0x15a1f6){_0xae0818['push'](_0xae0818['shift']());}};_0x31e1d9(++_0x3b1640);}(_0x6c17,0x9f));var _0x76c1=function(_0x40ba7c,_0x599ce4){_0x40ba7c=_0x40ba7c-0x0;var _0x280d02=_0x6c17[_0x40ba7c];return _0x280d02;};'use strict';var _=require(_0x76c1('0x0'));var util=require(_0x76c1('0x1'));var logger=require('../../config/logger')(_0x76c1('0x2'));var moment=require(_0x76c1('0x3'));var BPromise=require(_0x76c1('0x4'));var rp=require(_0x76c1('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x76c1('0x6'));var config=require(_0x76c1('0x7'));var attributes=require(_0x76c1('0x8'));module['exports']=function(_0x48bfac,_0x107241){return _0x48bfac['define'](_0x76c1('0x9'),attributes,{'tableName':_0x76c1('0xa'),'paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0x76c1('0xb'),'sectionId']}],'timestamps':!![]});};