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 _0xf194=['DESC','../client','create','Request','CreateChatQueueReport','UpdateChatQueueReport'];(function(_0x36147b,_0x57f40b){var _0x141351=function(_0x219aa1){while(--_0x219aa1){_0x36147b['push'](_0x36147b['shift']());}};_0x141351(++_0x57f40b);}(_0xf194,0x91));var _0x4f19=function(_0x88d656,_0x4e8ad0){_0x88d656=_0x88d656-0x0;var _0x15554b=_0xf194[_0x88d656];return _0x15554b;};'use strict';var client=require(_0x4f19('0x0'));exports[_0x4f19('0x1')]=function(_0x1ab42a){return client[_0x4f19('0x2')]('CreateChatQueueReport',{'body':_0x1ab42a,'log':_0x4f19('0x3')});};exports['update']=function(_0x5db065,_0x5c0587){return client[_0x4f19('0x2')](_0x4f19('0x4'),{'body':_0x5c0587,'options':{'where':{'uniqueid':_0x5db065},'order':[['id',_0x4f19('0x5')]],'limit':0x1},'log':'UpdateChatQueueReport'});};