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 _0xbe87=['bluebird','path','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call','lodash','util'];(function(_0x218d3f,_0x32e8ea){var _0x5726e5=function(_0x1dcda6){while(--_0x1dcda6){_0x218d3f['push'](_0x218d3f['shift']());}};_0x5726e5(++_0x32e8ea);}(_0xbe87,0x1b6));var _0x7be8=function(_0x118026,_0x4f114b){_0x118026=_0x118026-0x0;var _0x54b1d9=_0xbe87[_0x118026];return _0x54b1d9;};'use strict';var _=require(_0x7be8('0x0'));var util=require(_0x7be8('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x7be8('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7be8('0x3'));var rimraf=require('rimraf');var config=require(_0x7be8('0x4'));var attributes=require(_0x7be8('0x5'));module[_0x7be8('0x6')]=function(_0x4db262,_0x530485){return _0x4db262[_0x7be8('0x7')](_0x7be8('0x8'),attributes,{'tableName':_0x7be8('0x9'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};