Built motion from commit 47436d59.|2.6.7
[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 _0x6fb8=['../client','Request','CreateChatQueueReport','UpdateChatQueueReport','DESC'];(function(_0x5653ff,_0x69a94f){var _0x4757e6=function(_0x5bb4ad){while(--_0x5bb4ad){_0x5653ff['push'](_0x5653ff['shift']());}};_0x4757e6(++_0x69a94f);}(_0x6fb8,0x104));var _0x86fb=function(_0x42bc91,_0x41f40a){_0x42bc91=_0x42bc91-0x0;var _0x3f5507=_0x6fb8[_0x42bc91];return _0x3f5507;};'use strict';var client=require(_0x86fb('0x0'));exports['create']=function(_0x151f71){return client[_0x86fb('0x1')]('CreateChatQueueReport',{'body':_0x151f71,'log':_0x86fb('0x2')});};exports['update']=function(_0x522fde,_0x23cc99){return client[_0x86fb('0x1')](_0x86fb('0x3'),{'body':_0x23cc99,'options':{'where':{'uniqueid':_0x522fde},'order':[['id',_0x86fb('0x4')]],'limit':0x1},'log':_0x86fb('0x3')});};