Built motion from commit (unavailable).|2.3.6
[motion2.git] / server / api / userProfileResource / userProfileResource.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 _0xbe50=['bluebird','request-promise','./userProfileResource.attributes','UserProfileResource','user_profile_has_resources','compositeIndex','resourceId','sectionId','lodash','util','../../config/logger','api','moment'];(function(_0x52a857,_0xc99fa1){var _0x4e2aae=function(_0x5410d9){while(--_0x5410d9){_0x52a857['push'](_0x52a857['shift']());}};_0x4e2aae(++_0xc99fa1);}(_0xbe50,0x1c2));var _0x0be5=function(_0x6dee5f,_0x41eba2){_0x6dee5f=_0x6dee5f-0x0;var _0x4165f2=_0xbe50[_0x6dee5f];return _0x4165f2;};'use strict';var _=require(_0x0be5('0x0'));var util=require(_0x0be5('0x1'));var logger=require(_0x0be5('0x2'))(_0x0be5('0x3'));var moment=require(_0x0be5('0x4'));var BPromise=require(_0x0be5('0x5'));var rp=require(_0x0be5('0x6'));var attributes=require(_0x0be5('0x7'));module['exports']=function(_0xd8f311,_0x5069d8){return _0xd8f311['define'](_0x0be5('0x8'),attributes,{'tableName':_0x0be5('0x9'),'paranoid':![],'indexes':[{'name':_0x0be5('0xa'),'fields':[_0x0be5('0xb'),_0x0be5('0xc')]}],'timestamps':!![]});};