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 _0xcea2=['UpdateChatQueueReport','../client','CreateChatQueueReport','update','Request'];(function(_0x550a0d,_0xe5e182){var _0x292741=function(_0x1c6adf){while(--_0x1c6adf){_0x550a0d['push'](_0x550a0d['shift']());}};_0x292741(++_0xe5e182);}(_0xcea2,0x15a));var _0x2cea=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0xcea2[_0xbd08b4];return _0x314f1e;};'use strict';var client=require(_0x2cea('0x0'));exports['create']=function(_0x2e567d){return client['Request'](_0x2cea('0x1'),{'body':_0x2e567d,'log':_0x2cea('0x1')});};exports[_0x2cea('0x2')]=function(_0x513963,_0x3ff73f){return client[_0x2cea('0x3')](_0x2cea('0x4'),{'body':_0x3ff73f,'options':{'where':{'uniqueid':_0x513963},'order':[['id','DESC']],'limit':0x1},'log':_0x2cea('0x4')});};