Built motion from commit 9d0783e6.|2.6.13
[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 _0xfa2f=['UpdateChatQueueReport','DESC','CreateChatQueueReport','update','Request'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xfa2f,0xe8));var _0xffa2=function(_0x17d97b,_0x31c38c){_0x17d97b=_0x17d97b-0x0;var _0x3b4859=_0xfa2f[_0x17d97b];return _0x3b4859;};'use strict';var client=require('../client');exports['create']=function(_0x3a81ad){return client['Request'](_0xffa2('0x0'),{'body':_0x3a81ad,'log':_0xffa2('0x0')});};exports[_0xffa2('0x1')]=function(_0x54d423,_0x3fcced){return client[_0xffa2('0x2')](_0xffa2('0x3'),{'body':_0x3fcced,'options':{'where':{'uniqueid':_0x54d423},'order':[['id',_0xffa2('0x4')]],'limit':0x1},'log':_0xffa2('0x3')});};