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 _0x3c32=['./cmHopperHistory.attributes','exports','define','endtime','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf'];(function(_0x1e5a2d,_0x1378d5){var _0x198293=function(_0x52e0d5){while(--_0x52e0d5){_0x1e5a2d['push'](_0x1e5a2d['shift']());}};_0x198293(++_0x1378d5);}(_0x3c32,0x161));var _0x23c3=function(_0x12f1b9,_0x16698){_0x12f1b9=_0x12f1b9-0x0;var _0x141511=_0x3c32[_0x12f1b9];return _0x141511;};'use strict';var _=require(_0x23c3('0x0'));var util=require(_0x23c3('0x1'));var logger=require(_0x23c3('0x2'))('api');var moment=require(_0x23c3('0x3'));var BPromise=require(_0x23c3('0x4'));var rp=require(_0x23c3('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x23c3('0x6'));var config=require('../../config/environment');var attributes=require(_0x23c3('0x7'));module[_0x23c3('0x8')]=function(_0x1ec17b,_0x190132){return _0x1ec17b[_0x23c3('0x9')]('CmHopperHistory',attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':'endtime','fields':[_0x23c3('0xa')]},{'name':_0x23c3('0xb'),'fields':[_0x23c3('0xb')]}],'timestamps':!![]});};