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 _0x2320=['path','rimraf','../../config/environment','./voiceCallReport.attributes','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x84e5fa,_0x48904f){var _0x525805=function(_0x5559cf){while(--_0x5559cf){_0x84e5fa['push'](_0x84e5fa['shift']());}};_0x525805(++_0x48904f);}(_0x2320,0x13b));var _0x0232=function(_0x3a763c,_0x5a3589){_0x3a763c=_0x3a763c-0x0;var _0x3d8616=_0x2320[_0x3a763c];return _0x3d8616;};'use strict';var _=require(_0x0232('0x0'));var util=require(_0x0232('0x1'));var logger=require(_0x0232('0x2'))(_0x0232('0x3'));var moment=require(_0x0232('0x4'));var BPromise=require(_0x0232('0x5'));var rp=require(_0x0232('0x6'));var fs=require('fs');var path=require(_0x0232('0x7'));var rimraf=require(_0x0232('0x8'));var config=require(_0x0232('0x9'));var attributes=require(_0x0232('0xa'));module['exports']=function(_0x2fb1a5,_0x49ec60){return _0x2fb1a5['define'](_0x0232('0xb'),attributes,{'tableName':_0x0232('0xc'),'paranoid':![],'indexes':[{'fields':[_0x0232('0xd')]}],'timestamps':!![]});};