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 _0xc4aa=['./userProfile.attributes','exports','define','UserProfile','lodash','util','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x358883,_0x427605){var _0x776b01=function(_0x1e2b81){while(--_0x1e2b81){_0x358883['push'](_0x358883['shift']());}};_0x776b01(++_0x427605);}(_0xc4aa,0x164));var _0xac4a=function(_0xa148b7,_0x2f3eb2){_0xa148b7=_0xa148b7-0x0;var _0x51efd3=_0xc4aa[_0xa148b7];return _0x51efd3;};'use strict';var _=require(_0xac4a('0x0'));var util=require(_0xac4a('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xac4a('0x2'));var rp=require(_0xac4a('0x3'));var fs=require('fs');var path=require(_0xac4a('0x4'));var rimraf=require(_0xac4a('0x5'));var config=require(_0xac4a('0x6'));var attributes=require(_0xac4a('0x7'));module[_0xac4a('0x8')]=function(_0x4b6dd0,_0x2f927f){return _0x4b6dd0[_0xac4a('0x9')](_0xac4a('0xa'),attributes,{'tableName':'user_profiles','paranoid':![],'indexes':[],'timestamps':!![]});};