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 _0x4706=['CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','create','Request'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x4706,0x67));var _0x6470=function(_0x4739a4,_0x2fcf34){_0x4739a4=_0x4739a4-0x0;var _0xc64369=_0x4706[_0x4739a4];return _0xc64369;};'use strict';var client=require('../client');exports[_0x6470('0x0')]=function(_0x23c221){return client[_0x6470('0x1')](_0x6470('0x2'),{'body':_0x23c221,'log':_0x6470('0x2')});};exports[_0x6470('0x3')]=function(_0x55434a,_0x3a16a7){return client[_0x6470('0x1')](_0x6470('0x4'),{'body':_0x3a16a7,'options':{'where':{'uniqueid':_0x55434a},'order':[['id','DESC']],'limit':0x1},'log':_0x6470('0x4')});};