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 _0x4de7=['Request','CreateChatQueueReport','update','UpdateChatQueueReport','../client'];(function(_0x553ec7,_0x3410d4){var _0xed1c2d=function(_0x539496){while(--_0x539496){_0x553ec7['push'](_0x553ec7['shift']());}};_0xed1c2d(++_0x3410d4);}(_0x4de7,0x1f3));var _0x74de=function(_0x50f52a,_0x24fcda){_0x50f52a=_0x50f52a-0x0;var _0x216978=_0x4de7[_0x50f52a];return _0x216978;};'use strict';var client=require(_0x74de('0x0'));exports['create']=function(_0x194ba3){return client[_0x74de('0x1')](_0x74de('0x2'),{'body':_0x194ba3,'log':_0x74de('0x2')});};exports[_0x74de('0x3')]=function(_0x4b8e18,_0x394878){return client[_0x74de('0x1')](_0x74de('0x4'),{'body':_0x394878,'options':{'where':{'uniqueid':_0x4b8e18},'order':[['id','DESC']],'limit':0x1},'log':_0x74de('0x4')});};