Built motion from commit ede67897.|2.6.29
[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 _0x4584=['CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','Request'];(function(_0x2ac319,_0x4a0428){var _0x388930=function(_0x339d77){while(--_0x339d77){_0x2ac319['push'](_0x2ac319['shift']());}};_0x388930(++_0x4a0428);}(_0x4584,0x1cf));var _0x4458=function(_0x1bed81,_0x4b326a){_0x1bed81=_0x1bed81-0x0;var _0x2ac7ac=_0x4584[_0x1bed81];return _0x2ac7ac;};'use strict';var client=require(_0x4458('0x0'));exports['create']=function(_0x2d7385){return client[_0x4458('0x1')](_0x4458('0x2'),{'body':_0x2d7385,'log':'CreateChatQueueReport'});};exports['update']=function(_0x18e5c6,_0xde5996){return client[_0x4458('0x1')](_0x4458('0x3'),{'body':_0xde5996,'options':{'where':{'uniqueid':_0x18e5c6},'order':[['id',_0x4458('0x4')]],'limit':0x1},'log':_0x4458('0x3')});};