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 _0x45eb=['uniqueid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call'];(function(_0x198013,_0x251bc9){var _0xdde9a=function(_0x13ddb8){while(--_0x13ddb8){_0x198013['push'](_0x198013['shift']());}};_0xdde9a(++_0x251bc9);}(_0x45eb,0xc4));var _0xb45e=function(_0x3bfe06,_0x2a3b39){_0x3bfe06=_0x3bfe06-0x0;var _0x33228b=_0x45eb[_0x3bfe06];return _0x33228b;};'use strict';var _=require(_0xb45e('0x0'));var util=require(_0xb45e('0x1'));var logger=require(_0xb45e('0x2'))(_0xb45e('0x3'));var moment=require(_0xb45e('0x4'));var BPromise=require('bluebird');var rp=require(_0xb45e('0x5'));var fs=require('fs');var path=require(_0xb45e('0x6'));var rimraf=require(_0xb45e('0x7'));var config=require(_0xb45e('0x8'));var attributes=require(_0xb45e('0x9'));module[_0xb45e('0xa')]=function(_0x2dfa3e,_0xab2812){return _0x2dfa3e[_0xb45e('0xb')](_0xb45e('0xc'),attributes,{'tableName':_0xb45e('0xd'),'paranoid':![],'indexes':[{'fields':[_0xb45e('0xe')]}],'timestamps':!![]});};