c57ce4bc4745de7944023b24b53a8d133278e76d
[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 _0x7fbb=['create','CreateOpenchannelQueueReport','Request','UpdateOpenchannelQueueReport','DESC'];(function(_0x416e35,_0x9103df){var _0x452662=function(_0x1a0f95){while(--_0x1a0f95){_0x416e35['push'](_0x416e35['shift']());}};_0x452662(++_0x9103df);}(_0x7fbb,0x7d));var _0xb7fb=function(_0x17b419,_0x4eefa7){_0x17b419=_0x17b419-0x0;var _0x4174ca=_0x7fbb[_0x17b419];return _0x4174ca;};'use strict';var client=require('../client');exports[_0xb7fb('0x0')]=function(_0x1ddb7d){return client['Request'](_0xb7fb('0x1'),{'body':_0x1ddb7d,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x39a7ad,_0x2816f5){return client[_0xb7fb('0x2')](_0xb7fb('0x3'),{'body':_0x2816f5,'options':{'where':{'uniqueid':_0x39a7ad},'order':[['id',_0xb7fb('0x4')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};