Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / api / userProfileSection / userProfileSection.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 _0xe1b6=['../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./userProfileSection.attributes','exports','UserProfileSection','user_profile_has_sections','compositeIndex','sectionId','userProfileId','lodash'];(function(_0x3b72ba,_0xaf56ce){var _0x2fe37c=function(_0x26b801){while(--_0x26b801){_0x3b72ba['push'](_0x3b72ba['shift']());}};_0x2fe37c(++_0xaf56ce);}(_0xe1b6,0x14f));var _0x6e1b=function(_0x315002,_0x4ee032){_0x315002=_0x315002-0x0;var _0x54e480=_0xe1b6[_0x315002];return _0x54e480;};'use strict';var _=require(_0x6e1b('0x0'));var util=require('util');var logger=require(_0x6e1b('0x1'))(_0x6e1b('0x2'));var moment=require(_0x6e1b('0x3'));var BPromise=require(_0x6e1b('0x4'));var rp=require(_0x6e1b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6e1b('0x6'));var attributes=require(_0x6e1b('0x7'));module[_0x6e1b('0x8')]=function(_0x30c5b9,_0x46cc06){return _0x30c5b9['define'](_0x6e1b('0x9'),attributes,{'tableName':_0x6e1b('0xa'),'paranoid':![],'indexes':[{'name':_0x6e1b('0xb'),'fields':[_0x6e1b('0xc'),_0x6e1b('0xd')]}],'timestamps':!![]});};