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 _0x9f08=['create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','DESC','../client'];(function(_0x2d47fa,_0x206bd6){var _0x3bb8bd=function(_0x3d9742){while(--_0x3d9742){_0x2d47fa['push'](_0x2d47fa['shift']());}};_0x3bb8bd(++_0x206bd6);}(_0x9f08,0x8f));var _0x89f0=function(_0x588f68,_0x7a4d57){_0x588f68=_0x588f68-0x0;var _0x14c6c1=_0x9f08[_0x588f68];return _0x14c6c1;};'use strict';var client=require(_0x89f0('0x0'));exports[_0x89f0('0x1')]=function(_0xcb1cd6){return client[_0x89f0('0x2')](_0x89f0('0x3'),{'body':_0xcb1cd6,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x5a0eb6,_0x54f6b1){return client[_0x89f0('0x2')](_0x89f0('0x4'),{'body':_0x54f6b1,'options':{'where':{'uniqueid':_0x5a0eb6},'order':[['id',_0x89f0('0x5')]],'limit':0x1},'log':_0x89f0('0x4')});};