Built motion from commit (unavailable).|2.5.0
[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 _0x4c6b=['UserProfileSection','compositeIndex','userProfileId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./userProfileSection.attributes','exports','define'];(function(_0x3f993e,_0x2d5757){var _0x39c135=function(_0x39e00b){while(--_0x39e00b){_0x3f993e['push'](_0x3f993e['shift']());}};_0x39c135(++_0x2d5757);}(_0x4c6b,0xe4));var _0xb4c6=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x4c6b[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0xb4c6('0x0'));var util=require(_0xb4c6('0x1'));var logger=require(_0xb4c6('0x2'))(_0xb4c6('0x3'));var moment=require(_0xb4c6('0x4'));var BPromise=require(_0xb4c6('0x5'));var rp=require(_0xb4c6('0x6'));var fs=require('fs');var path=require(_0xb4c6('0x7'));var rimraf=require(_0xb4c6('0x8'));var config=require('../../config/environment');var attributes=require(_0xb4c6('0x9'));module[_0xb4c6('0xa')]=function(_0x10eb3a,_0x64f89d){return _0x10eb3a[_0xb4c6('0xb')](_0xb4c6('0xc'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0xb4c6('0xd'),'fields':['sectionId',_0xb4c6('0xe')]}],'timestamps':!![]});};