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 _0xaf5c=['Request','CreateOpenchannelQueueReport','update','DESC','UpdateOpenchannelQueueReport','create'];(function(_0x3e9608,_0x433efc){var _0x3bdc7f=function(_0x3c6bce){while(--_0x3c6bce){_0x3e9608['push'](_0x3e9608['shift']());}};_0x3bdc7f(++_0x433efc);}(_0xaf5c,0x161));var _0xcaf5=function(_0x536173,_0x2ad68d){_0x536173=_0x536173-0x0;var _0x38828b=_0xaf5c[_0x536173];return _0x38828b;};'use strict';var client=require('../client');exports[_0xcaf5('0x0')]=function(_0x7e5ff4){return client[_0xcaf5('0x1')](_0xcaf5('0x2'),{'body':_0x7e5ff4,'log':'CreateOpenchannelQueueReport'});};exports[_0xcaf5('0x3')]=function(_0x457519,_0x549b40){return client[_0xcaf5('0x1')]('UpdateOpenchannelQueueReport',{'body':_0x549b40,'options':{'where':{'uniqueid':_0x457519},'order':[['id',_0xcaf5('0x4')]],'limit':0x1},'log':_0xcaf5('0x5')});};