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 _0xf0a4=['define','report_call','api','moment','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x233f7f,_0x274392){var _0x17db1d=function(_0x121791){while(--_0x121791){_0x233f7f['push'](_0x233f7f['shift']());}};_0x17db1d(++_0x274392);}(_0xf0a4,0x1c4));var _0x4f0a=function(_0x1bc176,_0x29b8e1){_0x1bc176=_0x1bc176-0x0;var _0x46114b=_0xf0a4[_0x1bc176];return _0x46114b;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x4f0a('0x0'));var moment=require(_0x4f0a('0x1'));var BPromise=require(_0x4f0a('0x2'));var rp=require(_0x4f0a('0x3'));var fs=require('fs');var path=require(_0x4f0a('0x4'));var rimraf=require('rimraf');var config=require(_0x4f0a('0x5'));var attributes=require('./voiceCallReport.attributes');module[_0x4f0a('0x6')]=function(_0x998e5d,_0x49c645){return _0x998e5d[_0x4f0a('0x7')]('VoiceCallReport',attributes,{'tableName':_0x4f0a('0x8'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};