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 _0x8a00=['user_profiles','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userProfile.attributes','define','UserProfile'];(function(_0x187e4e,_0x8d4f4b){var _0x43b7f4=function(_0x4805de){while(--_0x4805de){_0x187e4e['push'](_0x187e4e['shift']());}};_0x43b7f4(++_0x8d4f4b);}(_0x8a00,0x121));var _0x08a0=function(_0x4bcf2a,_0x2c2d5a){_0x4bcf2a=_0x4bcf2a-0x0;var _0x28ba88=_0x8a00[_0x4bcf2a];return _0x28ba88;};'use strict';var _=require(_0x08a0('0x0'));var util=require(_0x08a0('0x1'));var logger=require('../../config/logger')(_0x08a0('0x2'));var moment=require(_0x08a0('0x3'));var BPromise=require(_0x08a0('0x4'));var rp=require(_0x08a0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x08a0('0x6'));var config=require(_0x08a0('0x7'));var attributes=require(_0x08a0('0x8'));module['exports']=function(_0x53df6b,_0x40762d){return _0x53df6b[_0x08a0('0x9')](_0x08a0('0xa'),attributes,{'tableName':_0x08a0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};