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 _0xf904=['../../config/environment','define','user_profiles','lodash','util','../../config/logger','bluebird','request-promise','rimraf'];(function(_0x57b4dc,_0x3fbf56){var _0x19a18a=function(_0x31b596){while(--_0x31b596){_0x57b4dc['push'](_0x57b4dc['shift']());}};_0x19a18a(++_0x3fbf56);}(_0xf904,0xc9));var _0x4f90=function(_0x4e783c,_0x51a362){_0x4e783c=_0x4e783c-0x0;var _0x2fbd6d=_0xf904[_0x4e783c];return _0x2fbd6d;};'use strict';var _=require(_0x4f90('0x0'));var util=require(_0x4f90('0x1'));var logger=require(_0x4f90('0x2'))('api');var moment=require('moment');var BPromise=require(_0x4f90('0x3'));var rp=require(_0x4f90('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4f90('0x5'));var config=require(_0x4f90('0x6'));var attributes=require('./userProfile.attributes');module['exports']=function(_0x2814fa,_0x32dd34){return _0x2814fa[_0x4f90('0x7')]('UserProfile',attributes,{'tableName':_0x4f90('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};