ac2180a211388449fda53ce3ffcbbfdfed61b93c
[motion2.git] / server / services / routing / rpc / chatQueueReport.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 _0x257e=['DESC','UpdateChatQueueReport','create','CreateChatQueueReport','update','Request'];(function(_0x4e128a,_0x3ad506){var _0x3829f6=function(_0x3cc48d){while(--_0x3cc48d){_0x4e128a['push'](_0x4e128a['shift']());}};_0x3829f6(++_0x3ad506);}(_0x257e,0x1dc));var _0xe257=function(_0x55821d,_0x27a22e){_0x55821d=_0x55821d-0x0;var _0x58ea8a=_0x257e[_0x55821d];return _0x58ea8a;};'use strict';var client=require('../client');exports[_0xe257('0x0')]=function(_0x26d509){return client['Request'](_0xe257('0x1'),{'body':_0x26d509,'log':'CreateChatQueueReport'});};exports[_0xe257('0x2')]=function(_0x1f83e8,_0x276d7a){return client[_0xe257('0x3')]('UpdateChatQueueReport',{'body':_0x276d7a,'options':{'where':{'uniqueid':_0x1f83e8},'order':[['id',_0xe257('0x4')]],'limit':0x1},'log':_0xe257('0x5')});};