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 _0x44d4=['UserProfileSection','compositeIndex','userProfileId','lodash','moment','bluebird','../../config/environment','./userProfileSection.attributes','exports','define'];(function(_0x1d65dc,_0x1ba30d){var _0x564ddd=function(_0x370b0e){while(--_0x370b0e){_0x1d65dc['push'](_0x1d65dc['shift']());}};_0x564ddd(++_0x1ba30d);}(_0x44d4,0x161));var _0x444d=function(_0x1b8b87,_0x33eb40){_0x1b8b87=_0x1b8b87-0x0;var _0x34b03f=_0x44d4[_0x1b8b87];return _0x34b03f;};'use strict';var _=require(_0x444d('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x444d('0x1'));var BPromise=require(_0x444d('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x444d('0x3'));var attributes=require(_0x444d('0x4'));module[_0x444d('0x5')]=function(_0x24f601,_0x45dfdb){return _0x24f601[_0x444d('0x6')](_0x444d('0x7'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0x444d('0x8'),'fields':['sectionId',_0x444d('0x9')]}],'timestamps':!![]});};