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 _0x5ee0=['update','UpdateOpenchannelQueueReport','DESC','create','Request','CreateOpenchannelQueueReport'];(function(_0x42595b,_0x27d306){var _0x1814c7=function(_0x15af2e){while(--_0x15af2e){_0x42595b['push'](_0x42595b['shift']());}};_0x1814c7(++_0x27d306);}(_0x5ee0,0x111));var _0x05ee=function(_0xa9079c,_0x139334){_0xa9079c=_0xa9079c-0x0;var _0x4aa986=_0x5ee0[_0xa9079c];return _0x4aa986;};'use strict';var client=require('../client');exports[_0x05ee('0x0')]=function(_0x4828f8){return client[_0x05ee('0x1')](_0x05ee('0x2'),{'body':_0x4828f8,'log':_0x05ee('0x2')});};exports[_0x05ee('0x3')]=function(_0x5b6b3a,_0x5bfea4){return client[_0x05ee('0x1')](_0x05ee('0x4'),{'body':_0x5bfea4,'options':{'where':{'uniqueid':_0x5b6b3a},'order':[['id',_0x05ee('0x5')]],'limit':0x1},'log':_0x05ee('0x4')});};