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 _0xa8b0=['VoiceCallReport','uniqueid','lodash','util','../../config/logger','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define'];(function(_0x92929e,_0x409949){var _0x4aa07f=function(_0x2483cc){while(--_0x2483cc){_0x92929e['push'](_0x92929e['shift']());}};_0x4aa07f(++_0x409949);}(_0xa8b0,0x7b));var _0x0a8b=function(_0x59f0dc,_0x1e2497){_0x59f0dc=_0x59f0dc-0x0;var _0x5b5445=_0xa8b0[_0x59f0dc];return _0x5b5445;};'use strict';var _=require(_0x0a8b('0x0'));var util=require(_0x0a8b('0x1'));var logger=require(_0x0a8b('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0a8b('0x3'));var rimraf=require(_0x0a8b('0x4'));var config=require(_0x0a8b('0x5'));var attributes=require(_0x0a8b('0x6'));module[_0x0a8b('0x7')]=function(_0xa373dc,_0x44c277){return _0xa373dc[_0x0a8b('0x8')](_0x0a8b('0x9'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0x0a8b('0xa')]}],'timestamps':!![]});};