Built motion from commit (unavailable).|2.5.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 _0x3e05=['./userProfile.attributes','exports','define','UserProfile','user_profiles','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment'];(function(_0x3fa324,_0x5856d5){var _0x6bd48e=function(_0x4129d5){while(--_0x4129d5){_0x3fa324['push'](_0x3fa324['shift']());}};_0x6bd48e(++_0x5856d5);}(_0x3e05,0x171));var _0x53e0=function(_0x23abc2,_0x4666bf){_0x23abc2=_0x23abc2-0x0;var _0x37969b=_0x3e05[_0x23abc2];return _0x37969b;};'use strict';var _=require(_0x53e0('0x0'));var util=require(_0x53e0('0x1'));var logger=require(_0x53e0('0x2'))(_0x53e0('0x3'));var moment=require('moment');var BPromise=require(_0x53e0('0x4'));var rp=require(_0x53e0('0x5'));var fs=require('fs');var path=require(_0x53e0('0x6'));var rimraf=require('rimraf');var config=require(_0x53e0('0x7'));var attributes=require(_0x53e0('0x8'));module[_0x53e0('0x9')]=function(_0x31e541,_0x6e97dc){return _0x31e541[_0x53e0('0xa')](_0x53e0('0xb'),attributes,{'tableName':_0x53e0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};