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 _0x7cfe=['cm_hopper_final','calleridnum','uniqueid','lodash','util','../../config/logger','moment','bluebird','path','define','CmHopperFinal'];(function(_0x592d48,_0x23f1ba){var _0x5d789e=function(_0x156900){while(--_0x156900){_0x592d48['push'](_0x592d48['shift']());}};_0x5d789e(++_0x23f1ba);}(_0x7cfe,0x179));var _0xe7cf=function(_0x2bdc61,_0x3c5444){_0x2bdc61=_0x2bdc61-0x0;var _0x577964=_0x7cfe[_0x2bdc61];return _0x577964;};'use strict';var _=require(_0xe7cf('0x0'));var util=require(_0xe7cf('0x1'));var logger=require(_0xe7cf('0x2'))('api');var moment=require(_0xe7cf('0x3'));var BPromise=require(_0xe7cf('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe7cf('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./cmHopperFinal.attributes');module['exports']=function(_0x3f7607,_0x446bab){return _0x3f7607[_0xe7cf('0x6')](_0xe7cf('0x7'),attributes,{'tableName':_0xe7cf('0x8'),'paranoid':![],'indexes':[{'name':'calleridnum','fields':[_0xe7cf('0x9')]},{'name':_0xe7cf('0xa'),'fields':[_0xe7cf('0xa')]}],'timestamps':!![]});};