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 _0xf16c=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','util'];(function(_0x3464fc,_0x4719d0){var _0x5c013c=function(_0x446f43){while(--_0x446f43){_0x3464fc['push'](_0x3464fc['shift']());}};_0x5c013c(++_0x4719d0);}(_0xf16c,0xdf));var _0xcf16=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xf16c[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require(_0xcf16('0x0'));var logger=require(_0xcf16('0x1'))('api');var moment=require(_0xcf16('0x2'));var BPromise=require(_0xcf16('0x3'));var rp=require(_0xcf16('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcf16('0x5'));var config=require(_0xcf16('0x6'));var attributes=require(_0xcf16('0x7'));module[_0xcf16('0x8')]=function(_0x4375d9,_0x274918){return _0x4375d9['define'](_0xcf16('0x9'),attributes,{'tableName':_0xcf16('0xa'),'paranoid':![],'indexes':[{'name':_0xcf16('0xb'),'fields':[_0xcf16('0xc'),_0xcf16('0xd')]}],'timestamps':![]});};