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 _0xeaa9=['VoiceDialReport','report_dial','uniqueid','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./voiceDialReport.attributes','exports','define'];(function(_0x47ee23,_0x58aad2){var _0x5b4718=function(_0x25cd81){while(--_0x25cd81){_0x47ee23['push'](_0x47ee23['shift']());}};_0x5b4718(++_0x58aad2);}(_0xeaa9,0xe0));var _0x9eaa=function(_0x5f4add,_0x95504f){_0x5f4add=_0x5f4add-0x0;var _0x348279=_0xeaa9[_0x5f4add];return _0x348279;};'use strict';var _=require('lodash');var util=require(_0x9eaa('0x0'));var logger=require(_0x9eaa('0x1'))('api');var moment=require('moment');var BPromise=require(_0x9eaa('0x2'));var rp=require(_0x9eaa('0x3'));var fs=require('fs');var path=require(_0x9eaa('0x4'));var rimraf=require(_0x9eaa('0x5'));var config=require(_0x9eaa('0x6'));var attributes=require(_0x9eaa('0x7'));module[_0x9eaa('0x8')]=function(_0x4df752,_0x561f50){return _0x4df752[_0x9eaa('0x9')](_0x9eaa('0xa'),attributes,{'tableName':_0x9eaa('0xb'),'paranoid':![],'indexes':[{'fields':[_0x9eaa('0xc')]}],'timestamps':!![]});};