8118a2b6419a2837485ed808d32c7db1d593e1ff
[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 _0x9636=['../client','create','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9636,0x17a));var _0x6963=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x9636[_0x6131cd];return _0x47e916;};'use strict';var client=require(_0x6963('0x0'));exports[_0x6963('0x1')]=function(_0x4b622a){return client[_0x6963('0x2')](_0x6963('0x3'),{'body':_0x4b622a,'log':_0x6963('0x3')});};exports[_0x6963('0x4')]=function(_0x2929d4,_0x3c976e){return client[_0x6963('0x2')]('UpdateFaxQueueReport',{'body':_0x3c976e,'options':{'where':{'uniqueid':_0x2929d4},'order':[['id','DESC']],'limit':0x1},'log':_0x6963('0x5')});};