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 _0x0ec1=['exports','VoiceCallReport','report_call','uniqueid','lodash','util','moment','bluebird','path','rimraf'];(function(_0x485e29,_0x2671ab){var _0x35f9eb=function(_0x584f24){while(--_0x584f24){_0x485e29['push'](_0x485e29['shift']());}};_0x35f9eb(++_0x2671ab);}(_0x0ec1,0x68));var _0x10ec=function(_0x1ff3bc,_0xfeedb9){_0x1ff3bc=_0x1ff3bc-0x0;var _0x2a322c=_0x0ec1[_0x1ff3bc];return _0x2a322c;};'use strict';var _=require(_0x10ec('0x0'));var util=require(_0x10ec('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x10ec('0x2'));var BPromise=require(_0x10ec('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x10ec('0x4'));var rimraf=require(_0x10ec('0x5'));var config=require('../../config/environment');var attributes=require('./voiceCallReport.attributes');module[_0x10ec('0x6')]=function(_0x3e9835,_0x1cca7b){return _0x3e9835['define'](_0x10ec('0x7'),attributes,{'tableName':_0x10ec('0x8'),'paranoid':![],'indexes':[{'fields':[_0x10ec('0x9')]}],'timestamps':!![]});};