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 _0x544a=['create','CreateChatQueueReport','UpdateChatQueueReport','DESC','../client'];(function(_0x532f84,_0x5d6154){var _0x4eb136=function(_0x495817){while(--_0x495817){_0x532f84['push'](_0x532f84['shift']());}};_0x4eb136(++_0x5d6154);}(_0x544a,0xbd));var _0xa544=function(_0x6059fb,_0x3b45e6){_0x6059fb=_0x6059fb-0x0;var _0x3948f4=_0x544a[_0x6059fb];return _0x3948f4;};'use strict';var client=require(_0xa544('0x0'));exports[_0xa544('0x1')]=function(_0x311c86){return client['Request']('CreateChatQueueReport',{'body':_0x311c86,'log':_0xa544('0x2')});};exports['update']=function(_0x42b8f1,_0xdca212){return client['Request'](_0xa544('0x3'),{'body':_0xdca212,'options':{'where':{'uniqueid':_0x42b8f1},'order':[['id',_0xa544('0x4')]],'limit':0x1},'log':_0xa544('0x3')});};