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 _0x5309=['../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x4d858b,_0x55db45){var _0x50513a=function(_0x340110){while(--_0x340110){_0x4d858b['push'](_0x4d858b['shift']());}};_0x50513a(++_0x55db45);}(_0x5309,0x1aa));var _0x9530=function(_0x2cfb58,_0x3d9412){_0x2cfb58=_0x2cfb58-0x0;var _0xd99951=_0x5309[_0x2cfb58];return _0xd99951;};'use strict';var client=require(_0x9530('0x0'));exports[_0x9530('0x1')]=function(_0x2658ab){return client[_0x9530('0x2')](_0x9530('0x3'),{'body':_0x2658ab,'log':_0x9530('0x3')});};exports[_0x9530('0x4')]=function(_0x13abba,_0x169a84){return client[_0x9530('0x2')]('UpdateChatQueueReport',{'body':_0x169a84,'options':{'where':{'uniqueid':_0x13abba},'order':[['id','DESC']],'limit':0x1},'log':_0x9530('0x5')});};