4e2d9d6713830a2c4189aedd06b4e64b39fd1a05
[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 _0x7eb9=['update','UpdateChatQueueReport','../client','Request','CreateChatQueueReport'];(function(_0x37c6b3,_0x4b9dd9){var _0x484935=function(_0x22ee9c){while(--_0x22ee9c){_0x37c6b3['push'](_0x37c6b3['shift']());}};_0x484935(++_0x4b9dd9);}(_0x7eb9,0xd9));var _0x97eb=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x7eb9[_0x20a584];return _0x4b41a8;};'use strict';var client=require(_0x97eb('0x0'));exports['create']=function(_0x4d9b00){return client[_0x97eb('0x1')]('CreateChatQueueReport',{'body':_0x4d9b00,'log':_0x97eb('0x2')});};exports[_0x97eb('0x3')]=function(_0x67960,_0x130bf4){return client['Request'](_0x97eb('0x4'),{'body':_0x130bf4,'options':{'where':{'uniqueid':_0x67960},'order':[['id','DESC']],'limit':0x1},'log':_0x97eb('0x4')});};