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 _0xbc82=['../client','CreateChatQueueReport','UpdateChatQueueReport'];(function(_0x34e830,_0x3c3620){var _0x462e4b=function(_0x113845){while(--_0x113845){_0x34e830['push'](_0x34e830['shift']());}};_0x462e4b(++_0x3c3620);}(_0xbc82,0x13e));var _0x2bc8=function(_0xde8111,_0x15702c){_0xde8111=_0xde8111-0x0;var _0x29af0b=_0xbc82[_0xde8111];return _0x29af0b;};'use strict';var client=require(_0x2bc8('0x0'));exports['create']=function(_0x5cd5de){return client['Request'](_0x2bc8('0x1'),{'body':_0x5cd5de,'log':'CreateChatQueueReport'});};exports['update']=function(_0x1320a5,_0x5c8329){return client['Request'](_0x2bc8('0x2'),{'body':_0x5c8329,'options':{'where':{'uniqueid':_0x1320a5},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};