Built motion from commit (unavailable).|2.3.1
[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 _0xb012=['define','UserProfile','lodash','../../config/logger','api','bluebird','request-promise','./userProfile.attributes','exports'];(function(_0x49fcfc,_0x104175){var _0x4ab162=function(_0x2fb28b){while(--_0x2fb28b){_0x49fcfc['push'](_0x49fcfc['shift']());}};_0x4ab162(++_0x104175);}(_0xb012,0x13d));var _0x2b01=function(_0x49dc43,_0x25d6d2){_0x49dc43=_0x49dc43-0x0;var _0x3e7d23=_0xb012[_0x49dc43];return _0x3e7d23;};'use strict';var _=require(_0x2b01('0x0'));var util=require('util');var logger=require(_0x2b01('0x1'))(_0x2b01('0x2'));var moment=require('moment');var BPromise=require(_0x2b01('0x3'));var rp=require(_0x2b01('0x4'));var attributes=require(_0x2b01('0x5'));module[_0x2b01('0x6')]=function(_0x3f3c8f,_0x331bdb){return _0x3f3c8f[_0x2b01('0x7')](_0x2b01('0x8'),attributes,{'tableName':'user_profiles','paranoid':![],'indexes':[],'timestamps':!![]});};