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 _0x2efa=['path','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','../../config/logger','moment','bluebird'];(function(_0x3b1bba,_0x220536){var _0x4ca374=function(_0xaec05b){while(--_0xaec05b){_0x3b1bba['push'](_0x3b1bba['shift']());}};_0x4ca374(++_0x220536);}(_0x2efa,0x141));var _0xa2ef=function(_0x2b3512,_0x4c739a){_0x2b3512=_0x2b3512-0x0;var _0x29cf1d=_0x2efa[_0x2b3512];return _0x29cf1d;};'use strict';var _=require(_0xa2ef('0x0'));var util=require('util');var logger=require(_0xa2ef('0x1'))('api');var moment=require(_0xa2ef('0x2'));var BPromise=require(_0xa2ef('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa2ef('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa2ef('0x5'));module[_0xa2ef('0x6')]=function(_0x315d81,_0x3e53a6){return _0x315d81[_0xa2ef('0x7')](_0xa2ef('0x8'),attributes,{'tableName':_0xa2ef('0x9'),'paranoid':![],'indexes':[{'name':_0xa2ef('0xa'),'fields':[_0xa2ef('0xb'),_0xa2ef('0xc')]}],'timestamps':![]});};