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 _0x64f0=['define','VoiceCallReport','report_call','uniqueid','lodash','../../config/logger','api','moment','bluebird','path','rimraf','exports'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x64f0,0x1b4));var _0x064f=function(_0x18b344,_0x271f68){_0x18b344=_0x18b344-0x0;var _0x5ef6bb=_0x64f0[_0x18b344];return _0x5ef6bb;};'use strict';var _=require(_0x064f('0x0'));var util=require('util');var logger=require(_0x064f('0x1'))(_0x064f('0x2'));var moment=require(_0x064f('0x3'));var BPromise=require(_0x064f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x064f('0x5'));var rimraf=require(_0x064f('0x6'));var config=require('../../config/environment');var attributes=require('./voiceCallReport.attributes');module[_0x064f('0x7')]=function(_0x26da9a,_0x54ff5d){return _0x26da9a[_0x064f('0x8')](_0x064f('0x9'),attributes,{'tableName':_0x064f('0xa'),'paranoid':![],'indexes':[{'fields':[_0x064f('0xb')]}],'timestamps':!![]});};