Built motion from commit (unavailable).|2.4.18
[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 _0xdfbe=['rimraf','../../config/environment','./userProfile.attributes','exports','UserProfile','user_profiles','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x549222,_0x1919ff){var _0xae203=function(_0x46b0ca){while(--_0x46b0ca){_0x549222['push'](_0x549222['shift']());}};_0xae203(++_0x1919ff);}(_0xdfbe,0xca));var _0xedfb=function(_0x133dc8,_0xbf13e1){_0x133dc8=_0x133dc8-0x0;var _0x21de3e=_0xdfbe[_0x133dc8];return _0x21de3e;};'use strict';var _=require(_0xedfb('0x0'));var util=require(_0xedfb('0x1'));var logger=require(_0xedfb('0x2'))(_0xedfb('0x3'));var moment=require(_0xedfb('0x4'));var BPromise=require(_0xedfb('0x5'));var rp=require(_0xedfb('0x6'));var fs=require('fs');var path=require(_0xedfb('0x7'));var rimraf=require(_0xedfb('0x8'));var config=require(_0xedfb('0x9'));var attributes=require(_0xedfb('0xa'));module[_0xedfb('0xb')]=function(_0x46b54d,_0x31160b){return _0x46b54d['define'](_0xedfb('0xc'),attributes,{'tableName':_0xedfb('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};