Built motion from commit da617fac.|2.6.6
[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 _0x049e=['Request','CreateChatQueueReport','update','DESC','UpdateChatQueueReport','../client','create'];(function(_0x47598d,_0x1735ea){var _0x40acd0=function(_0xea85cf){while(--_0xea85cf){_0x47598d['push'](_0x47598d['shift']());}};_0x40acd0(++_0x1735ea);}(_0x049e,0x16a));var _0xe049=function(_0x7d62cb,_0x7622c){_0x7d62cb=_0x7d62cb-0x0;var _0x3a6266=_0x049e[_0x7d62cb];return _0x3a6266;};'use strict';var client=require(_0xe049('0x0'));exports[_0xe049('0x1')]=function(_0x5efb24){return client[_0xe049('0x2')]('CreateChatQueueReport',{'body':_0x5efb24,'log':_0xe049('0x3')});};exports[_0xe049('0x4')]=function(_0xb492b8,_0x4001a8){return client[_0xe049('0x2')]('UpdateChatQueueReport',{'body':_0x4001a8,'options':{'where':{'uniqueid':_0xb492b8},'order':[['id',_0xe049('0x5')]],'limit':0x1},'log':_0xe049('0x6')});};