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 _0x4853=['create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x540858,_0x43a51c){var _0x352a91=function(_0x9b9f4){while(--_0x9b9f4){_0x540858['push'](_0x540858['shift']());}};_0x352a91(++_0x43a51c);}(_0x4853,0x11d));var _0x3485=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x4853[_0xa464c9];return _0x3d73c4;};'use strict';var client=require('../client');exports[_0x3485('0x0')]=function(_0x503fde){return client[_0x3485('0x1')](_0x3485('0x2'),{'body':_0x503fde,'log':_0x3485('0x2')});};exports[_0x3485('0x3')]=function(_0x2854fe,_0xd1a964){return client['Request']('UpdateChatQueueReport',{'body':_0xd1a964,'options':{'where':{'uniqueid':_0x2854fe},'order':[['id','DESC']],'limit':0x1},'log':_0x3485('0x4')});};