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 _0xc999=['Request','UpdateChatQueueReport','create'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0xc999,0x176));var _0x9c99=function(_0xd0cd0b,_0x490956){_0xd0cd0b=_0xd0cd0b-0x0;var _0x59cced=_0xc999[_0xd0cd0b];return _0x59cced;};'use strict';var client=require('../client');exports[_0x9c99('0x0')]=function(_0x7c806){return client[_0x9c99('0x1')]('CreateChatQueueReport',{'body':_0x7c806,'log':'CreateChatQueueReport'});};exports['update']=function(_0x4bbc08,_0x3cecf2){return client['Request'](_0x9c99('0x2'),{'body':_0x3cecf2,'options':{'where':{'uniqueid':_0x4bbc08},'order':[['id','DESC']],'limit':0x1},'log':_0x9c99('0x2')});};