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 _0xd98a=['lodash','api','moment','bluebird','request-promise','path','rimraf','exports','define','CmHopperHistory','endtime','uniqueid'];(function(_0x59f211,_0x25e094){var _0x107487=function(_0x5edaa0){while(--_0x5edaa0){_0x59f211['push'](_0x59f211['shift']());}};_0x107487(++_0x25e094);}(_0xd98a,0xfc));var _0xad98=function(_0x3f267c,_0x150415){_0x3f267c=_0x3f267c-0x0;var _0x124815=_0xd98a[_0x3f267c];return _0x124815;};'use strict';var _=require(_0xad98('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xad98('0x1'));var moment=require(_0xad98('0x2'));var BPromise=require(_0xad98('0x3'));var rp=require(_0xad98('0x4'));var fs=require('fs');var path=require(_0xad98('0x5'));var rimraf=require(_0xad98('0x6'));var config=require('../../config/environment');var attributes=require('./cmHopperHistory.attributes');module[_0xad98('0x7')]=function(_0x38f547,_0x17e650){return _0x38f547[_0xad98('0x8')](_0xad98('0x9'),attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':_0xad98('0xa'),'fields':[_0xad98('0xa')]},{'name':'uniqueid','fields':[_0xad98('0xb')]}],'timestamps':!![]});};