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 _0x8c40=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x2a742c,_0x4c4cb4){var _0x121e90=function(_0x144492){while(--_0x144492){_0x2a742c['push'](_0x2a742c['shift']());}};_0x121e90(++_0x4c4cb4);}(_0x8c40,0x91));var _0x08c4=function(_0x20917b,_0x28ed2b){_0x20917b=_0x20917b-0x0;var _0x44489f=_0x8c40[_0x20917b];return _0x44489f;};'use strict';var client=require(_0x08c4('0x0'));exports[_0x08c4('0x1')]=function(_0x2272b2){return client[_0x08c4('0x2')](_0x08c4('0x3'),{'body':_0x2272b2,'log':_0x08c4('0x3')});};exports[_0x08c4('0x4')]=function(_0x173f6c,_0x32b56e){return client[_0x08c4('0x2')](_0x08c4('0x5'),{'body':_0x32b56e,'options':{'where':{'uniqueid':_0x173f6c},'order':[['id',_0x08c4('0x6')]],'limit':0x1},'log':_0x08c4('0x5')});};