Built motion from commit 5b761a7b.|2.5.36
[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 _0x8868=['util','../../config/logger','api','moment','rimraf','./userProfileSection.attributes','exports','define','sectionId','userProfileId','lodash'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x8868,0x1ac));var _0x8886=function(_0x3cc292,_0x1f0ddd){_0x3cc292=_0x3cc292-0x0;var _0x183599=_0x8868[_0x3cc292];return _0x183599;};'use strict';var _=require(_0x8886('0x0'));var util=require(_0x8886('0x1'));var logger=require(_0x8886('0x2'))(_0x8886('0x3'));var moment=require(_0x8886('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x8886('0x5'));var config=require('../../config/environment');var attributes=require(_0x8886('0x6'));module[_0x8886('0x7')]=function(_0x2e1761,_0x23c580){return _0x2e1761[_0x8886('0x8')]('UserProfileSection',attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0x8886('0x9'),_0x8886('0xa')]}],'timestamps':!![]});};