Built motion from commit (unavailable).|2.5.11
[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 _0xceba=['./userProfile.attributes','exports','define','UserProfile','user_profiles','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x1044e5,_0x498e01){var _0x5ad0dd=function(_0x458548){while(--_0x458548){_0x1044e5['push'](_0x1044e5['shift']());}};_0x5ad0dd(++_0x498e01);}(_0xceba,0x10d));var _0xaceb=function(_0x59b6fb,_0x43b483){_0x59b6fb=_0x59b6fb-0x0;var _0x488457=_0xceba[_0x59b6fb];return _0x488457;};'use strict';var _=require('lodash');var util=require(_0xaceb('0x0'));var logger=require(_0xaceb('0x1'))('api');var moment=require(_0xaceb('0x2'));var BPromise=require(_0xaceb('0x3'));var rp=require(_0xaceb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaceb('0x5'));var config=require(_0xaceb('0x6'));var attributes=require(_0xaceb('0x7'));module[_0xaceb('0x8')]=function(_0xd9c6c9,_0x30ca74){return _0xd9c6c9[_0xaceb('0x9')](_0xaceb('0xa'),attributes,{'tableName':_0xaceb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};