1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x94e6=['bluebird','request-promise','path','../../config/environment','./cmHopperHistory.attributes','define','CmHopperHistory','endtime','lodash','../../config/logger','api','moment'];(function(_0x111669,_0x177d5a){var _0x100871=function(_0x43b207){while(--_0x43b207){_0x111669['push'](_0x111669['shift']());}};_0x100871(++_0x177d5a);}(_0x94e6,0x194));var _0x694e=function(_0x54052f,_0x402d45){_0x54052f=_0x54052f-0x0;var _0x335de2=_0x94e6[_0x54052f];return _0x335de2;};'use strict';var _=require(_0x694e('0x0'));var util=require('util');var logger=require(_0x694e('0x1'))(_0x694e('0x2'));var moment=require(_0x694e('0x3'));var BPromise=require(_0x694e('0x4'));var rp=require(_0x694e('0x5'));var fs=require('fs');var path=require(_0x694e('0x6'));var rimraf=require('rimraf');var config=require(_0x694e('0x7'));var attributes=require(_0x694e('0x8'));module['exports']=function(_0x59abaf,_0x43238f){return _0x59abaf[_0x694e('0x9')](_0x694e('0xa'),attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':'endtime','fields':[_0x694e('0xb')]},{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};