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 _0x2e36=['../client','create','Request','CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport'];(function(_0xbe200f,_0x4b50eb){var _0x192597=function(_0x106cfd){while(--_0x106cfd){_0xbe200f['push'](_0xbe200f['shift']());}};_0x192597(++_0x4b50eb);}(_0x2e36,0x15e));var _0x62e3=function(_0x59d7fd,_0x4b370c){_0x59d7fd=_0x59d7fd-0x0;var _0x284ed2=_0x2e36[_0x59d7fd];return _0x284ed2;};'use strict';var client=require(_0x62e3('0x0'));exports[_0x62e3('0x1')]=function(_0x345e3d){return client[_0x62e3('0x2')](_0x62e3('0x3'),{'body':_0x345e3d,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x5ebec4,_0x577a4e){return client[_0x62e3('0x2')](_0x62e3('0x4'),{'body':_0x577a4e,'options':{'where':{'uniqueid':_0x5ebec4},'order':[['id','DESC']],'limit':0x1},'log':_0x62e3('0x4')});};