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 _0x37dc=['create','Request','CreateChatQueueReport','UpdateChatQueueReport','../client'];(function(_0x4a464e,_0x250abf){var _0x54d070=function(_0xf56d7){while(--_0xf56d7){_0x4a464e['push'](_0x4a464e['shift']());}};_0x54d070(++_0x250abf);}(_0x37dc,0x1e9));var _0xc37d=function(_0x32b58a,_0x4e3441){_0x32b58a=_0x32b58a-0x0;var _0x4b454b=_0x37dc[_0x32b58a];return _0x4b454b;};'use strict';var client=require(_0xc37d('0x0'));exports[_0xc37d('0x1')]=function(_0x1d9c50){return client[_0xc37d('0x2')]('CreateChatQueueReport',{'body':_0x1d9c50,'log':_0xc37d('0x3')});};exports['update']=function(_0x4240cc,_0x52c6ae){return client['Request']('UpdateChatQueueReport',{'body':_0x52c6ae,'options':{'where':{'uniqueid':_0x4240cc},'order':[['id','DESC']],'limit':0x1},'log':_0xc37d('0x4')});};