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 _0xe363=['define','VoiceAgentReport','uniqueid','destuniqueid','../../config/logger','bluebird','request-promise','../../config/environment'];(function(_0x225c48,_0x233a4f){var _0x22e42b=function(_0x3090c8){while(--_0x3090c8){_0x225c48['push'](_0x225c48['shift']());}};_0x22e42b(++_0x233a4f);}(_0xe363,0x64));var _0x3e36=function(_0x51442b,_0x3ddc42){_0x51442b=_0x51442b-0x0;var _0x48cc27=_0xe363[_0x51442b];return _0x48cc27;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3e36('0x0'))('api');var moment=require('moment');var BPromise=require(_0x3e36('0x1'));var rp=require(_0x3e36('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x3e36('0x3'));var attributes=require('./voiceAgentReport.attributes');module['exports']=function(_0x3f9b27,_0x1124b8){return _0x3f9b27[_0x3e36('0x4')](_0x3e36('0x5'),attributes,{'tableName':'report_agent','paranoid':![],'indexes':[{'fields':[_0x3e36('0x6'),_0x3e36('0x7')]}],'timestamps':!![]});};