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 _0x06b8=['api','moment','bluebird','path','rimraf','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call','lodash','../../config/logger'];(function(_0x44b0e6,_0x4bf593){var _0x16f5a2=function(_0x249e2a){while(--_0x249e2a){_0x44b0e6['push'](_0x44b0e6['shift']());}};_0x16f5a2(++_0x4bf593);}(_0x06b8,0x17e));var _0x806b=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x06b8[_0x397e5f];return _0x5302b8;};'use strict';var _=require(_0x806b('0x0'));var util=require('util');var logger=require(_0x806b('0x1'))(_0x806b('0x2'));var moment=require(_0x806b('0x3'));var BPromise=require(_0x806b('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x806b('0x5'));var rimraf=require(_0x806b('0x6'));var config=require('../../config/environment');var attributes=require(_0x806b('0x7'));module[_0x806b('0x8')]=function(_0x35ac2b,_0x1c0eed){return _0x35ac2b[_0x806b('0x9')](_0x806b('0xa'),attributes,{'tableName':_0x806b('0xb'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};