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 _0xbe28=['../client','create','Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC'];(function(_0xc905bf,_0x3fb45d){var _0x3ffd14=function(_0x3d3d02){while(--_0x3d3d02){_0xc905bf['push'](_0xc905bf['shift']());}};_0x3ffd14(++_0x3fb45d);}(_0xbe28,0xaf));var _0x8be2=function(_0x4b2b2f,_0x2ed412){_0x4b2b2f=_0x4b2b2f-0x0;var _0x596a9f=_0xbe28[_0x4b2b2f];return _0x596a9f;};'use strict';var client=require(_0x8be2('0x0'));exports[_0x8be2('0x1')]=function(_0x27ab66){return client[_0x8be2('0x2')](_0x8be2('0x3'),{'body':_0x27ab66,'log':'CreateOpenchannelQueueReport'});};exports[_0x8be2('0x4')]=function(_0x3a46ca,_0x3e198a){return client['Request'](_0x8be2('0x5'),{'body':_0x3e198a,'options':{'where':{'uniqueid':_0x3a46ca},'order':[['id',_0x8be2('0x6')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};