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 _0xf48a=['update','Request','UpdateOpenchannelQueueReport','DESC','CreateOpenchannelQueueReport'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf48a,0xb3));var _0xaf48=function(_0x111c47,_0x2c867b){_0x111c47=_0x111c47-0x0;var _0x30790f=_0xf48a[_0x111c47];return _0x30790f;};'use strict';var client=require('../client');exports['create']=function(_0x249741){return client['Request'](_0xaf48('0x0'),{'body':_0x249741,'log':'CreateOpenchannelQueueReport'});};exports[_0xaf48('0x1')]=function(_0x5cc5dd,_0x43135e){return client[_0xaf48('0x2')](_0xaf48('0x3'),{'body':_0x43135e,'options':{'where':{'uniqueid':_0x5cc5dd},'order':[['id',_0xaf48('0x4')]],'limit':0x1},'log':_0xaf48('0x3')});};