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 _0x47ef=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','Request'];(function(_0x35731c,_0x5ab1d1){var _0x2f2957=function(_0x2d6583){while(--_0x2d6583){_0x35731c['push'](_0x35731c['shift']());}};_0x2f2957(++_0x5ab1d1);}(_0x47ef,0x81));var _0xf47e=function(_0x57398b,_0x1328ff){_0x57398b=_0x57398b-0x0;var _0x708c1=_0x47ef[_0x57398b];return _0x708c1;};'use strict';var client=require('../client');exports['create']=function(_0x5abeb8){return client[_0xf47e('0x0')]('CreateOpenchannelQueueReport',{'body':_0x5abeb8,'log':_0xf47e('0x1')});};exports[_0xf47e('0x2')]=function(_0x544270,_0x45a3de){return client[_0xf47e('0x0')](_0xf47e('0x3'),{'body':_0x45a3de,'options':{'where':{'uniqueid':_0x544270},'order':[['id',_0xf47e('0x4')]],'limit':0x1},'log':_0xf47e('0x3')});};