Built motion from commit c116dc8b.|2.6.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 _0x0fcf=['request-promise','path','rimraf','../../config/environment','./userProfileSection.attributes','exports','UserProfileSection','compositeIndex','sectionId','userProfileId','lodash','../../config/logger','api','moment','bluebird'];(function(_0x531ed9,_0x3e660f){var _0x37dda3=function(_0x280868){while(--_0x280868){_0x531ed9['push'](_0x531ed9['shift']());}};_0x37dda3(++_0x3e660f);}(_0x0fcf,0x145));var _0xf0fc=function(_0x37fdbd,_0x55c525){_0x37fdbd=_0x37fdbd-0x0;var _0x4f8ec8=_0x0fcf[_0x37fdbd];return _0x4f8ec8;};'use strict';var _=require(_0xf0fc('0x0'));var util=require('util');var logger=require(_0xf0fc('0x1'))(_0xf0fc('0x2'));var moment=require(_0xf0fc('0x3'));var BPromise=require(_0xf0fc('0x4'));var rp=require(_0xf0fc('0x5'));var fs=require('fs');var path=require(_0xf0fc('0x6'));var rimraf=require(_0xf0fc('0x7'));var config=require(_0xf0fc('0x8'));var attributes=require(_0xf0fc('0x9'));module[_0xf0fc('0xa')]=function(_0x24ec4c,_0x4d44c9){return _0x24ec4c['define'](_0xf0fc('0xb'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xf0fc('0xc'),'fields':[_0xf0fc('0xd'),_0xf0fc('0xe')]}],'timestamps':!![]});};