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 _0x996a=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceDialReport.attributes','exports','define','VoiceDialReport','report_dial','lodash','../../config/logger'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x996a,0x1be));var _0xa996=function(_0x12373e,_0x3ab0ea){_0x12373e=_0x12373e-0x0;var _0x25f8ee=_0x996a[_0x12373e];return _0x25f8ee;};'use strict';var _=require(_0xa996('0x0'));var util=require('util');var logger=require(_0xa996('0x1'))(_0xa996('0x2'));var moment=require(_0xa996('0x3'));var BPromise=require(_0xa996('0x4'));var rp=require(_0xa996('0x5'));var fs=require('fs');var path=require(_0xa996('0x6'));var rimraf=require(_0xa996('0x7'));var config=require(_0xa996('0x8'));var attributes=require(_0xa996('0x9'));module[_0xa996('0xa')]=function(_0x1e88d9,_0x4f5966){return _0x1e88d9[_0xa996('0xb')](_0xa996('0xc'),attributes,{'tableName':_0xa996('0xd'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};