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 _0xdf4d=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','DESC','../client','Request'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xdf4d,0x19c));var _0xddf4=function(_0x58c4cf,_0x2baf6e){_0x58c4cf=_0x58c4cf-0x0;var _0x4ce224=_0xdf4d[_0x58c4cf];return _0x4ce224;};'use strict';var client=require(_0xddf4('0x0'));exports['create']=function(_0x17a78f){return client[_0xddf4('0x1')](_0xddf4('0x2'),{'body':_0x17a78f,'log':_0xddf4('0x2')});};exports[_0xddf4('0x3')]=function(_0x49e902,_0x105051){return client[_0xddf4('0x1')](_0xddf4('0x4'),{'body':_0x105051,'options':{'where':{'uniqueid':_0x49e902},'order':[['id',_0xddf4('0x5')]],'limit':0x1},'log':_0xddf4('0x4')});};