Built motion from commit 44b1f254.|2.6.26
[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 _0x0858=['./userProfileSection.attributes','UserProfileSection','sectionId','userProfileId','util','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x37dd7c,_0x3d824b){var _0x44e492=function(_0x5a2573){while(--_0x5a2573){_0x37dd7c['push'](_0x37dd7c['shift']());}};_0x44e492(++_0x3d824b);}(_0x0858,0x1f3));var _0x8085=function(_0x3ef743,_0x102927){_0x3ef743=_0x3ef743-0x0;var _0x58b5fb=_0x0858[_0x3ef743];return _0x58b5fb;};'use strict';var _=require('lodash');var util=require(_0x8085('0x0'));var logger=require('../../config/logger')(_0x8085('0x1'));var moment=require(_0x8085('0x2'));var BPromise=require(_0x8085('0x3'));var rp=require(_0x8085('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8085('0x5'));var config=require(_0x8085('0x6'));var attributes=require(_0x8085('0x7'));module['exports']=function(_0x3ebec8,_0x42cb96){return _0x3ebec8['define'](_0x8085('0x8'),attributes,{'tableName':'user_profile_has_sections','paranoid':![],'indexes':[{'name':'compositeIndex','fields':[_0x8085('0x9'),_0x8085('0xa')]}],'timestamps':!![]});};