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 _0xa035=['destuniqueid','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./voiceAgentReport.attributes','exports','define','VoiceAgentReport','report_agent','uniqueid'];(function(_0x2f3d83,_0x172820){var _0x212690=function(_0x50c044){while(--_0x50c044){_0x2f3d83['push'](_0x2f3d83['shift']());}};_0x212690(++_0x172820);}(_0xa035,0x187));var _0x5a03=function(_0x155b4f,_0x45792b){_0x155b4f=_0x155b4f-0x0;var _0x3d0271=_0xa035[_0x155b4f];return _0x3d0271;};'use strict';var _=require(_0x5a03('0x0'));var util=require(_0x5a03('0x1'));var logger=require(_0x5a03('0x2'))(_0x5a03('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5a03('0x4'));var fs=require('fs');var path=require(_0x5a03('0x5'));var rimraf=require(_0x5a03('0x6'));var config=require(_0x5a03('0x7'));var attributes=require(_0x5a03('0x8'));module[_0x5a03('0x9')]=function(_0x1ec4a1,_0x339e65){return _0x1ec4a1[_0x5a03('0xa')](_0x5a03('0xb'),attributes,{'tableName':_0x5a03('0xc'),'paranoid':![],'indexes':[{'fields':[_0x5a03('0xd'),_0x5a03('0xe')]}],'timestamps':!![]});};