Built motion from commit 10af8726.|2.6.34
[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 _0x5a41=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./userProfileSection.attributes','define','user_profile_has_sections','compositeIndex','sectionId','userProfileId','lodash','util'];(function(_0x1e37be,_0x405f43){var _0x749eca=function(_0x4c2126){while(--_0x4c2126){_0x1e37be['push'](_0x1e37be['shift']());}};_0x749eca(++_0x405f43);}(_0x5a41,0x1b1));var _0x15a4=function(_0x9c6c1c,_0x21ead9){_0x9c6c1c=_0x9c6c1c-0x0;var _0x594c42=_0x5a41[_0x9c6c1c];return _0x594c42;};'use strict';var _=require(_0x15a4('0x0'));var util=require(_0x15a4('0x1'));var logger=require(_0x15a4('0x2'))(_0x15a4('0x3'));var moment=require(_0x15a4('0x4'));var BPromise=require('bluebird');var rp=require(_0x15a4('0x5'));var fs=require('fs');var path=require(_0x15a4('0x6'));var rimraf=require(_0x15a4('0x7'));var config=require(_0x15a4('0x8'));var attributes=require(_0x15a4('0x9'));module['exports']=function(_0x28841f,_0x209552){return _0x28841f[_0x15a4('0xa')]('UserProfileSection',attributes,{'tableName':_0x15a4('0xb'),'paranoid':![],'indexes':[{'name':_0x15a4('0xc'),'fields':[_0x15a4('0xd'),_0x15a4('0xe')]}],'timestamps':!![]});};