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 _0x6b67=['../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0x4568d5,_0x54ae8b){var _0x484f77=function(_0x30c2c9){while(--_0x30c2c9){_0x4568d5['push'](_0x4568d5['shift']());}};_0x484f77(++_0x54ae8b);}(_0x6b67,0x131));var _0x76b6=function(_0x256684,_0x529c1e){_0x256684=_0x256684-0x0;var _0x37a0c9=_0x6b67[_0x256684];return _0x37a0c9;};'use strict';var client=require(_0x76b6('0x0'));exports[_0x76b6('0x1')]=function(_0x3041a5){return client[_0x76b6('0x2')](_0x76b6('0x3'),{'body':_0x3041a5,'log':_0x76b6('0x3')});};exports['update']=function(_0x5df18c,_0x3ce131){return client['Request'](_0x76b6('0x4'),{'body':_0x3ce131,'options':{'where':{'uniqueid':_0x5df18c},'order':[['id','DESC']],'limit':0x1},'log':_0x76b6('0x4')});};