Built motion from commit (unavailable).|2.3.4
[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 _0xc4ee=['exports','define','CmHopperHistory','cm_hopper_history','endtime','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','./cmHopperHistory.attributes'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xc4ee,0xf0));var _0xec4e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc4ee[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0xec4e('0x0'));var logger=require(_0xec4e('0x1'))(_0xec4e('0x2'));var moment=require(_0xec4e('0x3'));var BPromise=require(_0xec4e('0x4'));var rp=require(_0xec4e('0x5'));var attributes=require(_0xec4e('0x6'));module[_0xec4e('0x7')]=function(_0x3ba8a3,_0x323cc0){return _0x3ba8a3[_0xec4e('0x8')](_0xec4e('0x9'),attributes,{'tableName':_0xec4e('0xa'),'paranoid':![],'indexes':[{'name':_0xec4e('0xb'),'fields':[_0xec4e('0xb')]},{'name':_0xec4e('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};