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 _0x0a2d=['./userProfileSection.attributes','exports','define','UserProfileSection','user_profile_has_sections','compositeIndex','sectionId','userProfileId','lodash','util','../../config/logger','request-promise','rimraf','../../config/environment'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0x0a2d,0x14a));var _0xd0a2=function(_0x564cb9,_0x4ea87e){_0x564cb9=_0x564cb9-0x0;var _0x2213bd=_0x0a2d[_0x564cb9];return _0x2213bd;};'use strict';var _=require(_0xd0a2('0x0'));var util=require(_0xd0a2('0x1'));var logger=require(_0xd0a2('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd0a2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd0a2('0x4'));var config=require(_0xd0a2('0x5'));var attributes=require(_0xd0a2('0x6'));module[_0xd0a2('0x7')]=function(_0x4510bc,_0x20173e){return _0x4510bc[_0xd0a2('0x8')](_0xd0a2('0x9'),attributes,{'tableName':_0xd0a2('0xa'),'paranoid':![],'indexes':[{'name':_0xd0a2('0xb'),'fields':[_0xd0a2('0xc'),_0xd0a2('0xd')]}],'timestamps':!![]});};