77d595ab255f334fc2e9cbbb718b075624f0f98f
[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 _0x6bff=['Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create'];(function(_0x33892e,_0x3aac54){var _0x1d7d51=function(_0x4afd6f){while(--_0x4afd6f){_0x33892e['push'](_0x33892e['shift']());}};_0x1d7d51(++_0x3aac54);}(_0x6bff,0xa6));var _0xf6bf=function(_0x262e5f,_0x1b356e){_0x262e5f=_0x262e5f-0x0;var _0x101902=_0x6bff[_0x262e5f];return _0x101902;};'use strict';var client=require(_0xf6bf('0x0'));exports[_0xf6bf('0x1')]=function(_0x4cb01e){return client[_0xf6bf('0x2')]('CreateChatQueueReport',{'body':_0x4cb01e,'log':_0xf6bf('0x3')});};exports[_0xf6bf('0x4')]=function(_0x3ab762,_0x14a2d8){return client['Request'](_0xf6bf('0x5'),{'body':_0x14a2d8,'options':{'where':{'uniqueid':_0x3ab762},'order':[['id',_0xf6bf('0x6')]],'limit':0x1},'log':_0xf6bf('0x5')});};