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 _0x6385=['CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','Request'];(function(_0xe96574,_0x1e7647){var _0x3fa4be=function(_0x258f88){while(--_0x258f88){_0xe96574['push'](_0xe96574['shift']());}};_0x3fa4be(++_0x1e7647);}(_0x6385,0x16d));var _0x5638=function(_0x224f65,_0x4750bf){_0x224f65=_0x224f65-0x0;var _0x3f921c=_0x6385[_0x224f65];return _0x3f921c;};'use strict';var client=require('../client');exports['create']=function(_0x437670){return client[_0x5638('0x0')](_0x5638('0x1'),{'body':_0x437670,'log':_0x5638('0x1')});};exports['update']=function(_0x44cdfa,_0x5bd84e){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x5bd84e,'options':{'where':{'uniqueid':_0x44cdfa},'order':[['id','DESC']],'limit':0x1},'log':_0x5638('0x2')});};