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 _0x75dc=['cm_hopper_history','endtime','uniqueid','lodash','util','bluebird','request-promise','path','rimraf','../../config/environment','./cmHopperHistory.attributes','define'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x75dc,0x1d7));var _0xc75d=function(_0x451f88,_0x5c061a){_0x451f88=_0x451f88-0x0;var _0x2cc2b7=_0x75dc[_0x451f88];return _0x2cc2b7;};'use strict';var _=require(_0xc75d('0x0'));var util=require(_0xc75d('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xc75d('0x2'));var rp=require(_0xc75d('0x3'));var fs=require('fs');var path=require(_0xc75d('0x4'));var rimraf=require(_0xc75d('0x5'));var config=require(_0xc75d('0x6'));var attributes=require(_0xc75d('0x7'));module['exports']=function(_0x3428f0,_0x1db578){return _0x3428f0[_0xc75d('0x8')]('CmHopperHistory',attributes,{'tableName':_0xc75d('0x9'),'paranoid':![],'indexes':[{'name':_0xc75d('0xa'),'fields':[_0xc75d('0xa')]},{'name':_0xc75d('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};