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 _0xa85a=['path','rimraf','../../config/environment','./voiceDialReport.attributes','define','VoiceDialReport','report_dial','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0x22bc7e,_0x4500ba){var _0x34e255=function(_0x39a9c0){while(--_0x39a9c0){_0x22bc7e['push'](_0x22bc7e['shift']());}};_0x34e255(++_0x4500ba);}(_0xa85a,0x103));var _0xaa85=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0xa85a[_0x422905];return _0x33dc6c;};'use strict';var _=require(_0xaa85('0x0'));var util=require(_0xaa85('0x1'));var logger=require(_0xaa85('0x2'))('api');var moment=require('moment');var BPromise=require(_0xaa85('0x3'));var rp=require(_0xaa85('0x4'));var fs=require('fs');var path=require(_0xaa85('0x5'));var rimraf=require(_0xaa85('0x6'));var config=require(_0xaa85('0x7'));var attributes=require(_0xaa85('0x8'));module['exports']=function(_0x2d6567,_0x4496a8){return _0x2d6567[_0xaa85('0x9')](_0xaa85('0xa'),attributes,{'tableName':_0xaa85('0xb'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};