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 _0xbf23=['../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./userProfileSection.attributes','exports','UserProfileSection','user_profile_has_sections','lodash','util'];(function(_0x309a2f,_0x2b48a7){var _0x2a2698=function(_0x4b32e7){while(--_0x4b32e7){_0x309a2f['push'](_0x309a2f['shift']());}};_0x2a2698(++_0x2b48a7);}(_0xbf23,0x76));var _0x3bf2=function(_0x57c9c7,_0xb70a91){_0x57c9c7=_0x57c9c7-0x0;var _0x48ad8b=_0xbf23[_0x57c9c7];return _0x48ad8b;};'use strict';var _=require(_0x3bf2('0x0'));var util=require(_0x3bf2('0x1'));var logger=require(_0x3bf2('0x2'))('api');var moment=require(_0x3bf2('0x3'));var BPromise=require(_0x3bf2('0x4'));var rp=require(_0x3bf2('0x5'));var fs=require('fs');var path=require(_0x3bf2('0x6'));var rimraf=require('rimraf');var config=require(_0x3bf2('0x7'));var attributes=require(_0x3bf2('0x8'));module[_0x3bf2('0x9')]=function(_0x504b31,_0x598791){return _0x504b31['define'](_0x3bf2('0xa'),attributes,{'tableName':_0x3bf2('0xb'),'paranoid':![],'indexes':[{'name':'compositeIndex','fields':['sectionId','userProfileId']}],'timestamps':!![]});};