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 _0xa34e=['destuniqueid','lodash','util','moment','bluebird','path','rimraf','../../config/environment','./voiceAgentReport.attributes','exports','VoiceAgentReport','report_agent','uniqueid'];(function(_0x507132,_0x26e1cc){var _0x257a1a=function(_0x1ef0f6){while(--_0x1ef0f6){_0x507132['push'](_0x507132['shift']());}};_0x257a1a(++_0x26e1cc);}(_0xa34e,0x17a));var _0xea34=function(_0x276468,_0x29685a){_0x276468=_0x276468-0x0;var _0x36dc3a=_0xa34e[_0x276468];return _0x36dc3a;};'use strict';var _=require(_0xea34('0x0'));var util=require(_0xea34('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xea34('0x2'));var BPromise=require(_0xea34('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xea34('0x4'));var rimraf=require(_0xea34('0x5'));var config=require(_0xea34('0x6'));var attributes=require(_0xea34('0x7'));module[_0xea34('0x8')]=function(_0x1996b1,_0x4bf94c){return _0x1996b1['define'](_0xea34('0x9'),attributes,{'tableName':_0xea34('0xa'),'paranoid':![],'indexes':[{'fields':[_0xea34('0xb'),_0xea34('0xc')]}],'timestamps':!![]});};