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 _0xde5d=['rimraf','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','event_dtm','dtm','lodash','../../config/logger','api','request-promise','path'];(function(_0x446ecc,_0x22b25b){var _0x534173=function(_0x42c1bd){while(--_0x42c1bd){_0x446ecc['push'](_0x446ecc['shift']());}};_0x534173(++_0x22b25b);}(_0xde5d,0xd7));var _0xdde5=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xde5d[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0xdde5('0x0'));var util=require('util');var logger=require(_0xdde5('0x1'))(_0xdde5('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xdde5('0x3'));var fs=require('fs');var path=require(_0xdde5('0x4'));var rimraf=require(_0xdde5('0x5'));var config=require('../../config/environment');var attributes=require(_0xdde5('0x6'));module[_0xdde5('0x7')]=function(_0x409af0,_0x28df99){return _0x409af0['define'](_0xdde5('0x8'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xdde5('0x9'),'fields':['event',_0xdde5('0xa')]}],'timestamps':![]});};