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 _0xaf93=['DESC','../client','create','CreateChatQueueReport','Request','UpdateChatQueueReport'];(function(_0x4eadbc,_0x4b6945){var _0x1bf2cd=function(_0x2096f2){while(--_0x2096f2){_0x4eadbc['push'](_0x4eadbc['shift']());}};_0x1bf2cd(++_0x4b6945);}(_0xaf93,0x151));var _0x3af9=function(_0x4fd71e,_0x3ec6d5){_0x4fd71e=_0x4fd71e-0x0;var _0x7cf1dc=_0xaf93[_0x4fd71e];return _0x7cf1dc;};'use strict';var client=require(_0x3af9('0x0'));exports[_0x3af9('0x1')]=function(_0x482d3c){return client['Request'](_0x3af9('0x2'),{'body':_0x482d3c,'log':_0x3af9('0x2')});};exports['update']=function(_0x1319bc,_0x44ae6e){return client[_0x3af9('0x3')](_0x3af9('0x4'),{'body':_0x44ae6e,'options':{'where':{'uniqueid':_0x1319bc},'order':[['id',_0x3af9('0x5')]],'limit':0x1},'log':_0x3af9('0x4')});};