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 _0x0cfa=['create','Request','UpdateChatQueueReport','DESC','../client'];(function(_0x129d52,_0x1beadf){var _0x79ef89=function(_0x4913bb){while(--_0x4913bb){_0x129d52['push'](_0x129d52['shift']());}};_0x79ef89(++_0x1beadf);}(_0x0cfa,0x18f));var _0xa0cf=function(_0x486960,_0x3849b7){_0x486960=_0x486960-0x0;var _0x1e1411=_0x0cfa[_0x486960];return _0x1e1411;};'use strict';var client=require(_0xa0cf('0x0'));exports[_0xa0cf('0x1')]=function(_0x336e19){return client[_0xa0cf('0x2')]('CreateChatQueueReport',{'body':_0x336e19,'log':'CreateChatQueueReport'});};exports['update']=function(_0x37c4e1,_0x5cd2e7){return client[_0xa0cf('0x2')](_0xa0cf('0x3'),{'body':_0x5cd2e7,'options':{'where':{'uniqueid':_0x37c4e1},'order':[['id',_0xa0cf('0x4')]],'limit':0x1},'log':_0xa0cf('0x3')});};