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 _0x31f7=['DESC','UpdateOpenchannelQueueReport','Request','CreateOpenchannelQueueReport','update'];(function(_0x41f901,_0x10b999){var _0x47c1f3=function(_0x3cc3e3){while(--_0x3cc3e3){_0x41f901['push'](_0x41f901['shift']());}};_0x47c1f3(++_0x10b999);}(_0x31f7,0x174));var _0x731f=function(_0x1291e6,_0x5a8934){_0x1291e6=_0x1291e6-0x0;var _0x21f8bf=_0x31f7[_0x1291e6];return _0x21f8bf;};'use strict';var client=require('../client');exports['create']=function(_0x35929e){return client[_0x731f('0x0')](_0x731f('0x1'),{'body':_0x35929e,'log':_0x731f('0x1')});};exports[_0x731f('0x2')]=function(_0x97a9a0,_0x399f4e){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x399f4e,'options':{'where':{'uniqueid':_0x97a9a0},'order':[['id',_0x731f('0x3')]],'limit':0x1},'log':_0x731f('0x4')});};