Built motion from commit fe909640.|2.6.8
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0xde78=['CreateOpenchannelQueueReport','Request','UpdateOpenchannelQueueReport','DESC','../client','create'];(function(_0x4ca9cd,_0x486190){var _0x3aa232=function(_0x5a3c85){while(--_0x5a3c85){_0x4ca9cd['push'](_0x4ca9cd['shift']());}};_0x3aa232(++_0x486190);}(_0xde78,0x166));var _0x8de7=function(_0xe6e78c,_0x582369){_0xe6e78c=_0xe6e78c-0x0;var _0x2a09c8=_0xde78[_0xe6e78c];return _0x2a09c8;};'use strict';var client=require(_0x8de7('0x0'));exports[_0x8de7('0x1')]=function(_0x280f17){return client['Request'](_0x8de7('0x2'),{'body':_0x280f17,'log':_0x8de7('0x2')});};exports['update']=function(_0xf0bb24,_0x5703d6){return client[_0x8de7('0x3')](_0x8de7('0x4'),{'body':_0x5703d6,'options':{'where':{'uniqueid':_0xf0bb24},'order':[['id',_0x8de7('0x5')]],'limit':0x1},'log':_0x8de7('0x4')});};