3199db8edb0fa41101485cc90819aa2b87dc1974
[motion2.git] / server / api / userProfile / userProfile.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x8de9=['../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./userProfile.attributes','exports','define','UserProfile','user_profiles','lodash','util'];(function(_0x43f251,_0x485c88){var _0x5196b4=function(_0x42e438){while(--_0x42e438){_0x43f251['push'](_0x43f251['shift']());}};_0x5196b4(++_0x485c88);}(_0x8de9,0x1c5));var _0x98de=function(_0x5880d8,_0x30b0a5){_0x5880d8=_0x5880d8-0x0;var _0x88264a=_0x8de9[_0x5880d8];return _0x88264a;};'use strict';var _=require(_0x98de('0x0'));var util=require(_0x98de('0x1'));var logger=require(_0x98de('0x2'))(_0x98de('0x3'));var moment=require(_0x98de('0x4'));var BPromise=require('bluebird');var rp=require(_0x98de('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x98de('0x6'));var config=require(_0x98de('0x7'));var attributes=require(_0x98de('0x8'));module[_0x98de('0x9')]=function(_0x2f5e28,_0x5116c7){return _0x2f5e28[_0x98de('0xa')](_0x98de('0xb'),attributes,{'tableName':_0x98de('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};