Built motion from commit (unavailable).|2.3.5
[motion2.git] / server / api / cmHopperHistory / cmHopperHistory.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 _0x2876=['exports','define','CmHopperHistory','endtime','uniqueid','lodash','util','api','bluebird','request-promise','./cmHopperHistory.attributes'];(function(_0x32ff61,_0x5731dc){var _0x4896b7=function(_0x17dff3){while(--_0x17dff3){_0x32ff61['push'](_0x32ff61['shift']());}};_0x4896b7(++_0x5731dc);}(_0x2876,0x165));var _0x6287=function(_0x43330e,_0x3ddaae){_0x43330e=_0x43330e-0x0;var _0x9fedf4=_0x2876[_0x43330e];return _0x9fedf4;};'use strict';var _=require(_0x6287('0x0'));var util=require(_0x6287('0x1'));var logger=require('../../config/logger')(_0x6287('0x2'));var moment=require('moment');var BPromise=require(_0x6287('0x3'));var rp=require(_0x6287('0x4'));var attributes=require(_0x6287('0x5'));module[_0x6287('0x6')]=function(_0x4d83c6,_0x578622){return _0x4d83c6[_0x6287('0x7')](_0x6287('0x8'),attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':_0x6287('0x9'),'fields':[_0x6287('0x9')]},{'name':_0x6287('0xa'),'fields':[_0x6287('0xa')]}],'timestamps':!![]});};