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 _0xdb84=['create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','DESC'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0xdb84,0xa8));var _0x4db8=function(_0x32bce7,_0x1f103d){_0x32bce7=_0x32bce7-0x0;var _0x460f2c=_0xdb84[_0x32bce7];return _0x460f2c;};'use strict';var client=require('../client');exports[_0x4db8('0x0')]=function(_0x46ca70){return client['Request'](_0x4db8('0x1'),{'body':_0x46ca70,'log':_0x4db8('0x1')});};exports[_0x4db8('0x2')]=function(_0x4576e7,_0x44ac53){return client[_0x4db8('0x3')](_0x4db8('0x4'),{'body':_0x44ac53,'options':{'where':{'uniqueid':_0x4576e7},'order':[['id',_0x4db8('0x5')]],'limit':0x1},'log':_0x4db8('0x4')});};