Built motion from commit (unavailable).|2.5.11
[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 _0x5fec=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','define','UserProfileSection','compositeIndex','userProfileId','lodash'];(function(_0x132c95,_0x537782){var _0xe5ccda=function(_0x334502){while(--_0x334502){_0x132c95['push'](_0x132c95['shift']());}};_0xe5ccda(++_0x537782);}(_0x5fec,0x6b));var _0xc5fe=function(_0x31b130,_0x18737f){_0x31b130=_0x31b130-0x0;var _0x595061=_0x5fec[_0x31b130];return _0x595061;};'use strict';var _=require(_0xc5fe('0x0'));var util=require('util');var logger=require(_0xc5fe('0x1'))(_0xc5fe('0x2'));var moment=require(_0xc5fe('0x3'));var BPromise=require(_0xc5fe('0x4'));var rp=require(_0xc5fe('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc5fe('0x6'));var config=require(_0xc5fe('0x7'));var attributes=require('./userProfileSection.attributes');module['exports']=function(_0x218026,_0x263dd1){return _0x218026[_0xc5fe('0x8')](_0xc5fe('0x9'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xc5fe('0xa'),'fields':['sectionId',_0xc5fe('0xb')]}],'timestamps':!![]});};