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 _0x87f8=['update','UpdateChatQueueReport','DESC','Request','CreateChatQueueReport'];(function(_0x1238fc,_0x404d1f){var _0x66d410=function(_0x22b1bc){while(--_0x22b1bc){_0x1238fc['push'](_0x1238fc['shift']());}};_0x66d410(++_0x404d1f);}(_0x87f8,0x152));var _0x887f=function(_0x5e9b04,_0x480cd8){_0x5e9b04=_0x5e9b04-0x0;var _0x3ba621=_0x87f8[_0x5e9b04];return _0x3ba621;};'use strict';var client=require('../client');exports['create']=function(_0x52e3a6){return client[_0x887f('0x0')](_0x887f('0x1'),{'body':_0x52e3a6,'log':'CreateChatQueueReport'});};exports[_0x887f('0x2')]=function(_0x591ca0,_0x46a51e){return client[_0x887f('0x0')](_0x887f('0x3'),{'body':_0x46a51e,'options':{'where':{'uniqueid':_0x591ca0},'order':[['id',_0x887f('0x4')]],'limit':0x1},'log':'UpdateChatQueueReport'});};