Built motion from commit (unavailable).|2.4.17
[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 _0x6737=['UpdateChatQueueReport','create','CreateChatQueueReport','update','Request'];(function(_0x58e108,_0x483ee0){var _0x2d61fe=function(_0x24a84e){while(--_0x24a84e){_0x58e108['push'](_0x58e108['shift']());}};_0x2d61fe(++_0x483ee0);}(_0x6737,0xe2));var _0x7673=function(_0x5d6168,_0x3abfd0){_0x5d6168=_0x5d6168-0x0;var _0x355267=_0x6737[_0x5d6168];return _0x355267;};'use strict';var client=require('../client');exports[_0x7673('0x0')]=function(_0x2634c4){return client['Request'](_0x7673('0x1'),{'body':_0x2634c4,'log':_0x7673('0x1')});};exports[_0x7673('0x2')]=function(_0x12efff,_0x54002e){return client[_0x7673('0x3')](_0x7673('0x4'),{'body':_0x54002e,'options':{'where':{'uniqueid':_0x12efff},'order':[['id','DESC']],'limit':0x1},'log':_0x7673('0x4')});};