Built motion from commit (unavailable).|2.5.14
[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 _0x8f37=['CreateChatQueueReport','update','Request','DESC','../client','create'];(function(_0x42b453,_0x5d1ac8){var _0x4a8e88=function(_0xead1c5){while(--_0xead1c5){_0x42b453['push'](_0x42b453['shift']());}};_0x4a8e88(++_0x5d1ac8);}(_0x8f37,0x190));var _0x78f3=function(_0x22e93a,_0x17d803){_0x22e93a=_0x22e93a-0x0;var _0x538ad5=_0x8f37[_0x22e93a];return _0x538ad5;};'use strict';var client=require(_0x78f3('0x0'));exports[_0x78f3('0x1')]=function(_0x351c4f){return client['Request']('CreateChatQueueReport',{'body':_0x351c4f,'log':_0x78f3('0x2')});};exports[_0x78f3('0x3')]=function(_0x3b0667,_0x539794){return client[_0x78f3('0x4')]('UpdateChatQueueReport',{'body':_0x539794,'options':{'where':{'uniqueid':_0x3b0667},'order':[['id',_0x78f3('0x5')]],'limit':0x1},'log':'UpdateChatQueueReport'});};