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 _0xf46c=['rimraf','../../config/environment','exports','VoiceDialReport','uniqueid','../../config/logger','api','moment','request-promise','path'];(function(_0x4a25b9,_0x3195ed){var _0x21f5fc=function(_0x38aff3){while(--_0x38aff3){_0x4a25b9['push'](_0x4a25b9['shift']());}};_0x21f5fc(++_0x3195ed);}(_0xf46c,0x11d));var _0xcf46=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf46c[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xcf46('0x0'))(_0xcf46('0x1'));var moment=require(_0xcf46('0x2'));var BPromise=require('bluebird');var rp=require(_0xcf46('0x3'));var fs=require('fs');var path=require(_0xcf46('0x4'));var rimraf=require(_0xcf46('0x5'));var config=require(_0xcf46('0x6'));var attributes=require('./voiceDialReport.attributes');module[_0xcf46('0x7')]=function(_0x592625,_0x27ca7e){return _0x592625['define'](_0xcf46('0x8'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':[_0xcf46('0x9')]}],'timestamps':!![]});};