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 _0x2fd3=['moment','bluebird','request-promise','path','rimraf','./voiceDialReport.attributes','define','VoiceDialReport','report_dial','uniqueid','lodash','util','api'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x2fd3,0x10e));var _0x32fd=function(_0x16e3b5,_0x7b9831){_0x16e3b5=_0x16e3b5-0x0;var _0x22f276=_0x2fd3[_0x16e3b5];return _0x22f276;};'use strict';var _=require(_0x32fd('0x0'));var util=require(_0x32fd('0x1'));var logger=require('../../config/logger')(_0x32fd('0x2'));var moment=require(_0x32fd('0x3'));var BPromise=require(_0x32fd('0x4'));var rp=require(_0x32fd('0x5'));var fs=require('fs');var path=require(_0x32fd('0x6'));var rimraf=require(_0x32fd('0x7'));var config=require('../../config/environment');var attributes=require(_0x32fd('0x8'));module['exports']=function(_0x578e2f,_0x1be938){return _0x578e2f[_0x32fd('0x9')](_0x32fd('0xa'),attributes,{'tableName':_0x32fd('0xb'),'paranoid':![],'indexes':[{'fields':[_0x32fd('0xc')]}],'timestamps':!![]});};