ccebb9cb21a9360de57b2f304fa340271873b50a
[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 _0x8f50=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','user_profiles','lodash','util'];(function(_0xeb21b3,_0x1206be){var _0x2a38f5=function(_0x4d7aa4){while(--_0x4d7aa4){_0xeb21b3['push'](_0xeb21b3['shift']());}};_0x2a38f5(++_0x1206be);}(_0x8f50,0xee));var _0x08f5=function(_0x23ae01,_0x5da6f5){_0x23ae01=_0x23ae01-0x0;var _0x4dcd4a=_0x8f50[_0x23ae01];return _0x4dcd4a;};'use strict';var _=require(_0x08f5('0x0'));var util=require(_0x08f5('0x1'));var logger=require(_0x08f5('0x2'))(_0x08f5('0x3'));var moment=require(_0x08f5('0x4'));var BPromise=require(_0x08f5('0x5'));var rp=require(_0x08f5('0x6'));var fs=require('fs');var path=require(_0x08f5('0x7'));var rimraf=require('rimraf');var config=require(_0x08f5('0x8'));var attributes=require('./userProfile.attributes');module['exports']=function(_0x2e3369,_0x1c640c){return _0x2e3369['define']('UserProfile',attributes,{'tableName':_0x08f5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};