Built motion from commit b5413ace.|2.6.9
[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 _0xe16d=['./userProfileSection.attributes','define','UserProfileSection','sectionId','userProfileId','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x571197,_0x5eed5f){var _0x112118=function(_0x4c65fd){while(--_0x4c65fd){_0x571197['push'](_0x571197['shift']());}};_0x112118(++_0x5eed5f);}(_0xe16d,0x11d));var _0xde16=function(_0x19de9c,_0x4283ca){_0x19de9c=_0x19de9c-0x0;var _0x1a6c66=_0xe16d[_0x19de9c];return _0x1a6c66;};'use strict';var _=require(_0xde16('0x0'));var util=require(_0xde16('0x1'));var logger=require('../../config/logger')(_0xde16('0x2'));var moment=require(_0xde16('0x3'));var BPromise=require(_0xde16('0x4'));var rp=require(_0xde16('0x5'));var fs=require('fs');var path=require(_0xde16('0x6'));var rimraf=require(_0xde16('0x7'));var config=require(_0xde16('0x8'));var attributes=require(_0xde16('0x9'));module['exports']=function(_0x22cb02,_0x4ff211){return _0x22cb02[_0xde16('0xa')](_0xde16('0xb'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0xde16('0xc'),_0xde16('0xd')]}],'timestamps':!![]});};