6484180c00b091bb2ad5036f2354a5a88eee3561
[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 _0x3211=['../client','create','update','Request','DESC','UpdateOpenchannelQueueReport'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0x3211,0xd8));var _0x1321=function(_0x7ec98f,_0x3cfa68){_0x7ec98f=_0x7ec98f-0x0;var _0x1098e8=_0x3211[_0x7ec98f];return _0x1098e8;};'use strict';var client=require(_0x1321('0x0'));exports[_0x1321('0x1')]=function(_0x15b004){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x15b004,'log':'CreateOpenchannelQueueReport'});};exports[_0x1321('0x2')]=function(_0x170553,_0xa6015f){return client[_0x1321('0x3')]('UpdateOpenchannelQueueReport',{'body':_0xa6015f,'options':{'where':{'uniqueid':_0x170553},'order':[['id',_0x1321('0x4')]],'limit':0x1},'log':_0x1321('0x5')});};