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 _0x487f=['UserProfile','user_profiles','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userProfile.attributes','exports','define'];(function(_0x37ded3,_0x371ebb){var _0x51e49e=function(_0x30cc78){while(--_0x30cc78){_0x37ded3['push'](_0x37ded3['shift']());}};_0x51e49e(++_0x371ebb);}(_0x487f,0x84));var _0xf487=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x487f[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0xf487('0x0'));var util=require(_0xf487('0x1'));var logger=require('../../config/logger')(_0xf487('0x2'));var moment=require(_0xf487('0x3'));var BPromise=require(_0xf487('0x4'));var rp=require(_0xf487('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf487('0x6'));var config=require(_0xf487('0x7'));var attributes=require(_0xf487('0x8'));module[_0xf487('0x9')]=function(_0x2eb273,_0x236eb6){return _0x2eb273[_0xf487('0xa')](_0xf487('0xb'),attributes,{'tableName':_0xf487('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};