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 _0x1323=['exports','VoiceCallReport','report_call','uniqueid','util','../../config/logger','api','moment','rimraf','../../config/environment'];(function(_0xb87f20,_0x4ae8f5){var _0x5e02bb=function(_0x2611ec){while(--_0x2611ec){_0xb87f20['push'](_0xb87f20['shift']());}};_0x5e02bb(++_0x4ae8f5);}(_0x1323,0xcc));var _0x3132=function(_0x4b7a24,_0x506517){_0x4b7a24=_0x4b7a24-0x0;var _0xbe53b8=_0x1323[_0x4b7a24];return _0xbe53b8;};'use strict';var _=require('lodash');var util=require(_0x3132('0x0'));var logger=require(_0x3132('0x1'))(_0x3132('0x2'));var moment=require(_0x3132('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x3132('0x4'));var config=require(_0x3132('0x5'));var attributes=require('./voiceCallReport.attributes');module[_0x3132('0x6')]=function(_0x3d0619,_0x30a5d5){return _0x3d0619['define'](_0x3132('0x7'),attributes,{'tableName':_0x3132('0x8'),'paranoid':![],'indexes':[{'fields':[_0x3132('0x9')]}],'timestamps':!![]});};