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 _0xca04=['../../config/environment','./voiceCallReport.attributes','VoiceCallReport','uniqueid','lodash','../../config/logger','bluebird','request-promise'];(function(_0x2893bc,_0x5e1b7d){var _0x468114=function(_0x4a574e){while(--_0x4a574e){_0x2893bc['push'](_0x2893bc['shift']());}};_0x468114(++_0x5e1b7d);}(_0xca04,0xa4));var _0x4ca0=function(_0x409352,_0x5e7d69){_0x409352=_0x409352-0x0;var _0x5008e0=_0xca04[_0x409352];return _0x5008e0;};'use strict';var _=require(_0x4ca0('0x0'));var util=require('util');var logger=require(_0x4ca0('0x1'))('api');var moment=require('moment');var BPromise=require(_0x4ca0('0x2'));var rp=require(_0x4ca0('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4ca0('0x4'));var attributes=require(_0x4ca0('0x5'));module['exports']=function(_0x5c8a12,_0x2f98c1){return _0x5c8a12['define'](_0x4ca0('0x6'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0x4ca0('0x7')]}],'timestamps':!![]});};