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 _0xfa0e=['exports','UserProfileSection','user_profile_has_sections','compositeIndex','sectionId','userProfileId','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./userProfileSection.attributes'];(function(_0x9ea5f6,_0x422f2d){var _0x1ba35c=function(_0x176fcd){while(--_0x176fcd){_0x9ea5f6['push'](_0x9ea5f6['shift']());}};_0x1ba35c(++_0x422f2d);}(_0xfa0e,0x105));var _0xefa0=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0xfa0e[_0x42cae2];return _0x5f256f;};'use strict';var _=require(_0xefa0('0x0'));var util=require(_0xefa0('0x1'));var logger=require(_0xefa0('0x2'))('api');var moment=require('moment');var BPromise=require(_0xefa0('0x3'));var rp=require(_0xefa0('0x4'));var fs=require('fs');var path=require(_0xefa0('0x5'));var rimraf=require(_0xefa0('0x6'));var config=require(_0xefa0('0x7'));var attributes=require(_0xefa0('0x8'));module[_0xefa0('0x9')]=function(_0x317d63,_0x5b47b0){return _0x317d63['define'](_0xefa0('0xa'),attributes,{'tableName':_0xefa0('0xb'),'paranoid':![],'indexes':[{'name':_0xefa0('0xc'),'fields':[_0xefa0('0xd'),_0xefa0('0xe')]}],'timestamps':!![]});};