Built motion from commit (unavailable).|2.5.14
[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 _0xe0af=['../../config/environment','./userProfile.attributes','exports','define','UserProfile','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x14b0e8,_0xa672a1){var _0x5f14aa=function(_0x4c1da9){while(--_0x4c1da9){_0x14b0e8['push'](_0x14b0e8['shift']());}};_0x5f14aa(++_0xa672a1);}(_0xe0af,0x1b2));var _0xfe0a=function(_0x149f32,_0x4273f7){_0x149f32=_0x149f32-0x0;var _0x11f475=_0xe0af[_0x149f32];return _0x11f475;};'use strict';var _=require(_0xfe0a('0x0'));var util=require(_0xfe0a('0x1'));var logger=require('../../config/logger')(_0xfe0a('0x2'));var moment=require(_0xfe0a('0x3'));var BPromise=require(_0xfe0a('0x4'));var rp=require(_0xfe0a('0x5'));var fs=require('fs');var path=require(_0xfe0a('0x6'));var rimraf=require(_0xfe0a('0x7'));var config=require(_0xfe0a('0x8'));var attributes=require(_0xfe0a('0x9'));module[_0xfe0a('0xa')]=function(_0x1fec23,_0x4b1209){return _0x1fec23[_0xfe0a('0xb')](_0xfe0a('0xc'),attributes,{'tableName':'user_profiles','paranoid':![],'indexes':[],'timestamps':!![]});};