e57cadfefcd76c62c3219293c3cde63451a84125
[motion2.git] / server / services / routing / rpc / faxQueueReport.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 _0x811e=['Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC','../client','create'];(function(_0x25aa36,_0x3a8ea8){var _0x530d69=function(_0x4411e1){while(--_0x4411e1){_0x25aa36['push'](_0x25aa36['shift']());}};_0x530d69(++_0x3a8ea8);}(_0x811e,0x1cc));var _0xe811=function(_0xa024c3,_0x28ebc9){_0xa024c3=_0xa024c3-0x0;var _0x74f2e9=_0x811e[_0xa024c3];return _0x74f2e9;};'use strict';var client=require(_0xe811('0x0'));exports[_0xe811('0x1')]=function(_0x4d5a46){return client[_0xe811('0x2')](_0xe811('0x3'),{'body':_0x4d5a46,'log':'CreateFaxQueueReport'});};exports[_0xe811('0x4')]=function(_0x23912a,_0x2840e7){return client['Request'](_0xe811('0x5'),{'body':_0x2840e7,'options':{'where':{'uniqueid':_0x23912a},'order':[['id',_0xe811('0x6')]],'limit':0x1},'log':_0xe811('0x5')});};