Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x3129=['Request','UpdateOpenchannelQueueReport','../client','create','CreateOpenchannelQueueReport','update'];(function(_0x30c2ae,_0x4c98a2){var _0x1ee1cc=function(_0x165922){while(--_0x165922){_0x30c2ae['push'](_0x30c2ae['shift']());}};_0x1ee1cc(++_0x4c98a2);}(_0x3129,0x1dc));var _0x9312=function(_0x74e8a1,_0x48ad68){_0x74e8a1=_0x74e8a1-0x0;var _0x14e1cf=_0x3129[_0x74e8a1];return _0x14e1cf;};'use strict';var client=require(_0x9312('0x0'));exports[_0x9312('0x1')]=function(_0x4e34c3){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x4e34c3,'log':_0x9312('0x2')});};exports[_0x9312('0x3')]=function(_0x5db69e,_0x2b2740){return client[_0x9312('0x4')](_0x9312('0x5'),{'body':_0x2b2740,'options':{'where':{'uniqueid':_0x5db69e},'order':[['id','DESC']],'limit':0x1},'log':_0x9312('0x5')});};