a919cdba7348848bead7e66d2a2f4bb0fa95a2d5
[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 _0xe7a5=['../client','create','Request','CreateFaxQueueReport','DESC','UpdateFaxQueueReport'];(function(_0x53e1c4,_0x3513ad){var _0x3f050e=function(_0x44a8e2){while(--_0x44a8e2){_0x53e1c4['push'](_0x53e1c4['shift']());}};_0x3f050e(++_0x3513ad);}(_0xe7a5,0xe4));var _0x5e7a=function(_0x725a4c,_0x102507){_0x725a4c=_0x725a4c-0x0;var _0x37b2cc=_0xe7a5[_0x725a4c];return _0x37b2cc;};'use strict';var client=require(_0x5e7a('0x0'));exports[_0x5e7a('0x1')]=function(_0x39b908){return client[_0x5e7a('0x2')]('CreateFaxQueueReport',{'body':_0x39b908,'log':_0x5e7a('0x3')});};exports['update']=function(_0x48a953,_0x391886){return client['Request']('UpdateFaxQueueReport',{'body':_0x391886,'options':{'where':{'uniqueid':_0x48a953},'order':[['id',_0x5e7a('0x4')]],'limit':0x1},'log':_0x5e7a('0x5')});};