Built motion from commit (unavailable).|2.5.4
[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 _0x481d=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userProfileSection.attributes','exports','define','user_profile_has_sections','compositeIndex','userProfileId','lodash','util'];(function(_0x32d3d2,_0x5745fb){var _0x34448d=function(_0x590ff4){while(--_0x590ff4){_0x32d3d2['push'](_0x32d3d2['shift']());}};_0x34448d(++_0x5745fb);}(_0x481d,0x139));var _0xd481=function(_0x30182f,_0x30ce41){_0x30182f=_0x30182f-0x0;var _0x5207db=_0x481d[_0x30182f];return _0x5207db;};'use strict';var _=require(_0xd481('0x0'));var util=require(_0xd481('0x1'));var logger=require('../../config/logger')(_0xd481('0x2'));var moment=require(_0xd481('0x3'));var BPromise=require(_0xd481('0x4'));var rp=require(_0xd481('0x5'));var fs=require('fs');var path=require(_0xd481('0x6'));var rimraf=require(_0xd481('0x7'));var config=require(_0xd481('0x8'));var attributes=require(_0xd481('0x9'));module[_0xd481('0xa')]=function(_0x276fe1,_0x250531){return _0x276fe1[_0xd481('0xb')]('UserProfileSection',attributes,{'tableName':_0xd481('0xc'),'paranoid':![],'indexes':[{'name':_0xd481('0xd'),'fields':['sectionId',_0xd481('0xe')]}],'timestamps':!![]});};