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 _0x3c9c=['create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport'];(function(_0x29a42a,_0x232d76){var _0x101c2a=function(_0x5126a9){while(--_0x5126a9){_0x29a42a['push'](_0x29a42a['shift']());}};_0x101c2a(++_0x232d76);}(_0x3c9c,0x131));var _0xc3c9=function(_0x417038,_0x2e0cdc){_0x417038=_0x417038-0x0;var _0x56425d=_0x3c9c[_0x417038];return _0x56425d;};'use strict';var client=require('../client');exports[_0xc3c9('0x0')]=function(_0x40d4c9){return client['Request'](_0xc3c9('0x1'),{'body':_0x40d4c9,'log':_0xc3c9('0x1')});};exports[_0xc3c9('0x2')]=function(_0x38a13e,_0x1b839f){return client[_0xc3c9('0x3')](_0xc3c9('0x4'),{'body':_0x1b839f,'options':{'where':{'uniqueid':_0x38a13e},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};