Built motion from commit (unavailable).|2.5.21
[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 _0xb821=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client','create'];(function(_0x363ef8,_0x4ecb1a){var _0x148822=function(_0x232634){while(--_0x232634){_0x363ef8['push'](_0x363ef8['shift']());}};_0x148822(++_0x4ecb1a);}(_0xb821,0x1a8));var _0x1b82=function(_0x4114c7,_0x1b693c){_0x4114c7=_0x4114c7-0x0;var _0x461abd=_0xb821[_0x4114c7];return _0x461abd;};'use strict';var client=require(_0x1b82('0x0'));exports[_0x1b82('0x1')]=function(_0x47b9da){return client[_0x1b82('0x2')](_0x1b82('0x3'),{'body':_0x47b9da,'log':'CreateOpenchannelQueueReport'});};exports[_0x1b82('0x4')]=function(_0x9f27e8,_0x2ff549){return client['Request'](_0x1b82('0x5'),{'body':_0x2ff549,'options':{'where':{'uniqueid':_0x9f27e8},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};