Built motion from commit (unavailable).|2.5.13
[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 _0xaba6=['UpdateChatQueueReport','../client','create','update','Request'];(function(_0x1b349a,_0x22222c){var _0x5d1f7c=function(_0x368d7c){while(--_0x368d7c){_0x1b349a['push'](_0x1b349a['shift']());}};_0x5d1f7c(++_0x22222c);}(_0xaba6,0xe2));var _0x6aba=function(_0x34f8ba,_0x2bb6a8){_0x34f8ba=_0x34f8ba-0x0;var _0xa5ed05=_0xaba6[_0x34f8ba];return _0xa5ed05;};'use strict';var client=require(_0x6aba('0x0'));exports[_0x6aba('0x1')]=function(_0x518305){return client['Request']('CreateChatQueueReport',{'body':_0x518305,'log':'CreateChatQueueReport'});};exports[_0x6aba('0x2')]=function(_0x5e8543,_0x58d8a8){return client[_0x6aba('0x3')](_0x6aba('0x4'),{'body':_0x58d8a8,'options':{'where':{'uniqueid':_0x5e8543},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};