Built motion from commit f25620e4.|2.6.30
[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 _0xa5ca=['update','Request','UpdateChatQueueReport','../client','create','CreateChatQueueReport'];(function(_0x34843e,_0x4c4224){var _0x598f7f=function(_0x12a44c){while(--_0x12a44c){_0x34843e['push'](_0x34843e['shift']());}};_0x598f7f(++_0x4c4224);}(_0xa5ca,0xb1));var _0xaa5c=function(_0x261522,_0x1adc1f){_0x261522=_0x261522-0x0;var _0x98a25a=_0xa5ca[_0x261522];return _0x98a25a;};'use strict';var client=require(_0xaa5c('0x0'));exports[_0xaa5c('0x1')]=function(_0x3d7bfc){return client['Request']('CreateChatQueueReport',{'body':_0x3d7bfc,'log':_0xaa5c('0x2')});};exports[_0xaa5c('0x3')]=function(_0x2757fe,_0x12c12f){return client[_0xaa5c('0x4')](_0xaa5c('0x5'),{'body':_0x12c12f,'options':{'where':{'uniqueid':_0x2757fe},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};