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 _0x7f90=['Request','CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','create'];(function(_0x45e98e,_0x169b60){var _0x374dba=function(_0x597612){while(--_0x597612){_0x45e98e['push'](_0x45e98e['shift']());}};_0x374dba(++_0x169b60);}(_0x7f90,0xf4));var _0x07f9=function(_0x496333,_0x1c47d6){_0x496333=_0x496333-0x0;var _0x44256e=_0x7f90[_0x496333];return _0x44256e;};'use strict';var client=require(_0x07f9('0x0'));exports[_0x07f9('0x1')]=function(_0x43c91f){return client[_0x07f9('0x2')](_0x07f9('0x3'),{'body':_0x43c91f,'log':'CreateChatQueueReport'});};exports['update']=function(_0x15b548,_0x132ae4){return client['Request'](_0x07f9('0x4'),{'body':_0x132ae4,'options':{'where':{'uniqueid':_0x15b548},'order':[['id',_0x07f9('0x5')]],'limit':0x1},'log':_0x07f9('0x4')});};