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 _0xef6a=['UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport'];(function(_0x131013,_0x2b2b73){var _0x244ba0=function(_0x4d8158){while(--_0x4d8158){_0x131013['push'](_0x131013['shift']());}};_0x244ba0(++_0x2b2b73);}(_0xef6a,0x1e9));var _0xaef6=function(_0x68c979,_0x431cff){_0x68c979=_0x68c979-0x0;var _0x4f0001=_0xef6a[_0x68c979];return _0x4f0001;};'use strict';var client=require(_0xaef6('0x0'));exports[_0xaef6('0x1')]=function(_0x338995){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x338995,'log':_0xaef6('0x2')});};exports['update']=function(_0x3ecb34,_0xab465){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0xab465,'options':{'where':{'uniqueid':_0x3ecb34},'order':[['id','DESC']],'limit':0x1},'log':_0xaef6('0x3')});};