Built motion from commit (unavailable).|2.5.2
[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 _0x0da5=['DESC','UpdateOpenchannelQueueReport','../client','Request','CreateOpenchannelQueueReport','update'];(function(_0x15ef07,_0x254868){var _0x53e600=function(_0x2a1c8d){while(--_0x2a1c8d){_0x15ef07['push'](_0x15ef07['shift']());}};_0x53e600(++_0x254868);}(_0x0da5,0x140));var _0x50da=function(_0x223a8d,_0x1fe9c6){_0x223a8d=_0x223a8d-0x0;var _0x170f5c=_0x0da5[_0x223a8d];return _0x170f5c;};'use strict';var client=require(_0x50da('0x0'));exports['create']=function(_0xd780e5){return client[_0x50da('0x1')]('CreateOpenchannelQueueReport',{'body':_0xd780e5,'log':_0x50da('0x2')});};exports[_0x50da('0x3')]=function(_0x1aa400,_0x5ceffd){return client[_0x50da('0x1')]('UpdateOpenchannelQueueReport',{'body':_0x5ceffd,'options':{'where':{'uniqueid':_0x1aa400},'order':[['id',_0x50da('0x4')]],'limit':0x1},'log':_0x50da('0x5')});};