Built motion from commit 9d1906d1.|2.5.40
[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 _0xd6ce=['DESC','../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x19a206,_0x1d7556){var _0x7514ac=function(_0xaddeaa){while(--_0xaddeaa){_0x19a206['push'](_0x19a206['shift']());}};_0x7514ac(++_0x1d7556);}(_0xd6ce,0x127));var _0xed6c=function(_0x6ddd20,_0x52098f){_0x6ddd20=_0x6ddd20-0x0;var _0x5008e7=_0xd6ce[_0x6ddd20];return _0x5008e7;};'use strict';var client=require(_0xed6c('0x0'));exports[_0xed6c('0x1')]=function(_0x435ed9){return client[_0xed6c('0x2')](_0xed6c('0x3'),{'body':_0x435ed9,'log':_0xed6c('0x3')});};exports[_0xed6c('0x4')]=function(_0x111385,_0x5cc704){return client['Request'](_0xed6c('0x5'),{'body':_0x5cc704,'options':{'where':{'uniqueid':_0x111385},'order':[['id',_0xed6c('0x6')]],'limit':0x1},'log':_0xed6c('0x5')});};