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 _0x80e0=['cm_hopper_history','endtime','uniqueid','../../config/logger','api','moment','request-promise','path','rimraf','./cmHopperHistory.attributes','exports'];(function(_0x4454e7,_0x273018){var _0x3966bb=function(_0xc21cee){while(--_0xc21cee){_0x4454e7['push'](_0x4454e7['shift']());}};_0x3966bb(++_0x273018);}(_0x80e0,0x9d));var _0x080e=function(_0x372a74,_0x5df93c){_0x372a74=_0x372a74-0x0;var _0x533013=_0x80e0[_0x372a74];return _0x533013;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x080e('0x0'))(_0x080e('0x1'));var moment=require(_0x080e('0x2'));var BPromise=require('bluebird');var rp=require(_0x080e('0x3'));var fs=require('fs');var path=require(_0x080e('0x4'));var rimraf=require(_0x080e('0x5'));var config=require('../../config/environment');var attributes=require(_0x080e('0x6'));module[_0x080e('0x7')]=function(_0x307481,_0x52548f){return _0x307481['define']('CmHopperHistory',attributes,{'tableName':_0x080e('0x8'),'paranoid':![],'indexes':[{'name':'endtime','fields':[_0x080e('0x9')]},{'name':'uniqueid','fields':[_0x080e('0xa')]}],'timestamps':!![]});};