a2c30f49d4fab0216914a9cfd74354db9249c292
[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 _0x9658=['UpdateChatQueueReport','../client','Request','CreateChatQueueReport','DESC'];(function(_0x1fe2bf,_0x3c2a64){var _0x29bc0b=function(_0x4b21c3){while(--_0x4b21c3){_0x1fe2bf['push'](_0x1fe2bf['shift']());}};_0x29bc0b(++_0x3c2a64);}(_0x9658,0x6f));var _0x8965=function(_0x4d7a61,_0x3fb6e6){_0x4d7a61=_0x4d7a61-0x0;var _0x186f73=_0x9658[_0x4d7a61];return _0x186f73;};'use strict';var client=require(_0x8965('0x0'));exports['create']=function(_0x1f5bb6){return client[_0x8965('0x1')]('CreateChatQueueReport',{'body':_0x1f5bb6,'log':_0x8965('0x2')});};exports['update']=function(_0x26d5d2,_0x761b45){return client[_0x8965('0x1')]('UpdateChatQueueReport',{'body':_0x761b45,'options':{'where':{'uniqueid':_0x26d5d2},'order':[['id',_0x8965('0x3')]],'limit':0x1},'log':_0x8965('0x4')});};