d3f0ca07d16a3cc4d3a33a22f1652a312a297a20
[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 _0x4e28=['api','bluebird','request-promise','path','rimraf','../../config/environment','./userProfileSection.attributes','exports','define','compositeIndex','sectionId','userProfileId','lodash','../../config/logger'];(function(_0x125eee,_0x588e5d){var _0x20cef1=function(_0x3faa7a){while(--_0x3faa7a){_0x125eee['push'](_0x125eee['shift']());}};_0x20cef1(++_0x588e5d);}(_0x4e28,0xde));var _0x84e2=function(_0x440518,_0x17f619){_0x440518=_0x440518-0x0;var _0x5c217e=_0x4e28[_0x440518];return _0x5c217e;};'use strict';var _=require(_0x84e2('0x0'));var util=require('util');var logger=require(_0x84e2('0x1'))(_0x84e2('0x2'));var moment=require('moment');var BPromise=require(_0x84e2('0x3'));var rp=require(_0x84e2('0x4'));var fs=require('fs');var path=require(_0x84e2('0x5'));var rimraf=require(_0x84e2('0x6'));var config=require(_0x84e2('0x7'));var attributes=require(_0x84e2('0x8'));module[_0x84e2('0x9')]=function(_0x1425fa,_0x473951){return _0x1425fa[_0x84e2('0xa')]('UserProfileSection',attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':_0x84e2('0xb'),'fields':[_0x84e2('0xc'),_0x84e2('0xd')]}],'timestamps':!![]});};