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 _0xaaf7=['DESC','../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0x42beb5,_0x1be201){var _0x28aba1=function(_0x91f77b){while(--_0x91f77b){_0x42beb5['push'](_0x42beb5['shift']());}};_0x28aba1(++_0x1be201);}(_0xaaf7,0x79));var _0x7aaf=function(_0x1344d6,_0x2181e6){_0x1344d6=_0x1344d6-0x0;var _0xf45b24=_0xaaf7[_0x1344d6];return _0xf45b24;};'use strict';var client=require(_0x7aaf('0x0'));exports[_0x7aaf('0x1')]=function(_0x2250b7){return client[_0x7aaf('0x2')](_0x7aaf('0x3'),{'body':_0x2250b7,'log':_0x7aaf('0x3')});};exports['update']=function(_0x43dda6,_0x9900e8){return client['Request'](_0x7aaf('0x4'),{'body':_0x9900e8,'options':{'where':{'uniqueid':_0x43dda6},'order':[['id',_0x7aaf('0x5')]],'limit':0x1},'log':_0x7aaf('0x4')});};