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 _0x42a7=['exports','define','UserProfileSection','compositeIndex','sectionId','userProfileId','../../config/logger','bluebird','request-promise','path','../../config/environment','./userProfileSection.attributes'];(function(_0xfafe54,_0x23c9a6){var _0x4ab8e6=function(_0x23942c){while(--_0x23942c){_0xfafe54['push'](_0xfafe54['shift']());}};_0x4ab8e6(++_0x23c9a6);}(_0x42a7,0xae));var _0x742a=function(_0x43fd50,_0x242550){_0x43fd50=_0x43fd50-0x0;var _0x341138=_0x42a7[_0x43fd50];return _0x341138;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x742a('0x0'))('api');var moment=require('moment');var BPromise=require(_0x742a('0x1'));var rp=require(_0x742a('0x2'));var fs=require('fs');var path=require(_0x742a('0x3'));var rimraf=require('rimraf');var config=require(_0x742a('0x4'));var attributes=require(_0x742a('0x5'));module[_0x742a('0x6')]=function(_0x2345fb,_0x19030e){return _0x2345fb[_0x742a('0x7')](_0x742a('0x8'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0x742a('0x9'),'fields':[_0x742a('0xa'),_0x742a('0xb')]}],'timestamps':!![]});};