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 _0xdbb3=['rimraf','./voiceAgentReport.attributes','define','VoiceAgentReport','report_agent','uniqueid','destuniqueid','lodash','util','../../config/logger','api','bluebird','path'];(function(_0x39cd67,_0x1e1601){var _0x266cd7=function(_0x36a299){while(--_0x36a299){_0x39cd67['push'](_0x39cd67['shift']());}};_0x266cd7(++_0x1e1601);}(_0xdbb3,0x1a7));var _0x3dbb=function(_0x13b02f,_0x462a53){_0x13b02f=_0x13b02f-0x0;var _0x12e9a6=_0xdbb3[_0x13b02f];return _0x12e9a6;};'use strict';var _=require(_0x3dbb('0x0'));var util=require(_0x3dbb('0x1'));var logger=require(_0x3dbb('0x2'))(_0x3dbb('0x3'));var moment=require('moment');var BPromise=require(_0x3dbb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3dbb('0x5'));var rimraf=require(_0x3dbb('0x6'));var config=require('../../config/environment');var attributes=require(_0x3dbb('0x7'));module['exports']=function(_0x22adff,_0x18773e){return _0x22adff[_0x3dbb('0x8')](_0x3dbb('0x9'),attributes,{'tableName':_0x3dbb('0xa'),'paranoid':![],'indexes':[{'fields':[_0x3dbb('0xb'),_0x3dbb('0xc')]}],'timestamps':!![]});};