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 _0x48dd=['path','rimraf','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','../../config/logger','moment','request-promise'];(function(_0x368fb9,_0x1a9895){var _0x4892fb=function(_0x28d735){while(--_0x28d735){_0x368fb9['push'](_0x368fb9['shift']());}};_0x4892fb(++_0x1a9895);}(_0x48dd,0x99));var _0xd48d=function(_0x424619,_0x3ab784){_0x424619=_0x424619-0x0;var _0x21879a=_0x48dd[_0x424619];return _0x21879a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xd48d('0x0'))('api');var moment=require(_0xd48d('0x1'));var BPromise=require('bluebird');var rp=require(_0xd48d('0x2'));var fs=require('fs');var path=require(_0xd48d('0x3'));var rimraf=require(_0xd48d('0x4'));var config=require('../../config/environment');var attributes=require(_0xd48d('0x5'));module[_0xd48d('0x6')]=function(_0x1bbde1,_0x1e7521){return _0x1bbde1['define'](_0xd48d('0x7'),attributes,{'tableName':_0xd48d('0x8'),'paranoid':![],'indexes':[{'name':_0xd48d('0x9'),'fields':[_0xd48d('0xa'),_0xd48d('0xb')]}],'timestamps':![]});};