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 _0x44f8=['Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','../client','create'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x44f8,0x1de));var _0x844f=function(_0x1c3bbd,_0x1c5af4){_0x1c3bbd=_0x1c3bbd-0x0;var _0x3a2b9d=_0x44f8[_0x1c3bbd];return _0x3a2b9d;};'use strict';var client=require(_0x844f('0x0'));exports[_0x844f('0x1')]=function(_0x1d704c){return client[_0x844f('0x2')](_0x844f('0x3'),{'body':_0x1d704c,'log':_0x844f('0x3')});};exports['update']=function(_0x51cee4,_0x26151e){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x26151e,'options':{'where':{'uniqueid':_0x51cee4},'order':[['id','DESC']],'limit':0x1},'log':_0x844f('0x4')});};