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 _0xb821=['UpdateChatQueueReport','DESC','create','CreateChatQueueReport','Request'];(function(_0x42253f,_0x5d243b){var _0x34aaa1=function(_0x112373){while(--_0x112373){_0x42253f['push'](_0x42253f['shift']());}};_0x34aaa1(++_0x5d243b);}(_0xb821,0xa7));var _0x1b82=function(_0x4fcb03,_0xcde348){_0x4fcb03=_0x4fcb03-0x0;var _0x5c42c9=_0xb821[_0x4fcb03];return _0x5c42c9;};'use strict';var client=require('../client');exports[_0x1b82('0x0')]=function(_0x4f6190){return client['Request']('CreateChatQueueReport',{'body':_0x4f6190,'log':_0x1b82('0x1')});};exports['update']=function(_0x4b1809,_0x3b1d14){return client[_0x1b82('0x2')](_0x1b82('0x3'),{'body':_0x3b1d14,'options':{'where':{'uniqueid':_0x4b1809},'order':[['id',_0x1b82('0x4')]],'limit':0x1},'log':'UpdateChatQueueReport'});};