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 _0x2a92=['request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','define','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api'];(function(_0x12ba3d,_0x2569c0){var _0x3e7897=function(_0x3339e6){while(--_0x3339e6){_0x12ba3d['push'](_0x12ba3d['shift']());}};_0x3e7897(++_0x2569c0);}(_0x2a92,0xbf));var _0x22a9=function(_0x48a24a,_0x3cb63c){_0x48a24a=_0x48a24a-0x0;var _0x5e35d8=_0x2a92[_0x48a24a];return _0x5e35d8;};'use strict';var _=require(_0x22a9('0x0'));var util=require(_0x22a9('0x1'));var logger=require(_0x22a9('0x2'))(_0x22a9('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x22a9('0x4'));var fs=require('fs');var path=require(_0x22a9('0x5'));var rimraf=require(_0x22a9('0x6'));var config=require(_0x22a9('0x7'));var attributes=require(_0x22a9('0x8'));module['exports']=function(_0x5d9d1f,_0x3a3f84){return _0x5d9d1f[_0x22a9('0x9')](_0x22a9('0xa'),attributes,{'tableName':_0x22a9('0xb'),'paranoid':![],'indexes':[{'fields':[_0x22a9('0xc')]}],'timestamps':!![]});};