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 _0xf181=['../../config/logger','bluebird','request-promise','./openchannelQueueReport.attributes','exports','define','OpenchannelQueueReport','uniqueid','lodash','util'];(function(_0x2543e9,_0x2d827a){var _0x19aa0a=function(_0x3e66d5){while(--_0x3e66d5){_0x2543e9['push'](_0x2543e9['shift']());}};_0x19aa0a(++_0x2d827a);}(_0xf181,0x6c));var _0x1f18=function(_0xfa2f68,_0x23836e){_0xfa2f68=_0xfa2f68-0x0;var _0x252d9a=_0xf181[_0xfa2f68];return _0x252d9a;};'use strict';var _=require(_0x1f18('0x0'));var util=require(_0x1f18('0x1'));var logger=require(_0x1f18('0x2'))('api');var moment=require('moment');var BPromise=require(_0x1f18('0x3'));var rp=require(_0x1f18('0x4'));var attributes=require(_0x1f18('0x5'));module[_0x1f18('0x6')]=function(_0x236434,_0x5add59){return _0x236434[_0x1f18('0x7')](_0x1f18('0x8'),attributes,{'tableName':'report_openchannel_queue','paranoid':![],'indexes':[{'name':_0x1f18('0x9'),'fields':[_0x1f18('0x9')]}],'timestamps':!![]});};