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 _0x36d6=['UpdateOpenchannelQueueReport','DESC','Request','CreateOpenchannelQueueReport','update'];(function(_0x455556,_0x42216f){var _0x5f29d7=function(_0x265859){while(--_0x265859){_0x455556['push'](_0x455556['shift']());}};_0x5f29d7(++_0x42216f);}(_0x36d6,0x18d));var _0x636d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x36d6[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports['create']=function(_0x2f4bd8){return client[_0x636d('0x0')](_0x636d('0x1'),{'body':_0x2f4bd8,'log':'CreateOpenchannelQueueReport'});};exports[_0x636d('0x2')]=function(_0x3004da,_0x45e130){return client[_0x636d('0x0')](_0x636d('0x3'),{'body':_0x45e130,'options':{'where':{'uniqueid':_0x3004da},'order':[['id',_0x636d('0x4')]],'limit':0x1},'log':_0x636d('0x3')});};