b88fd18db326c7412ae6a920911b3b096f15f74b
[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 _0x6951=['create','Request','CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC','../client'];(function(_0x4e8b4a,_0x246326){var _0x555a37=function(_0x2cb124){while(--_0x2cb124){_0x4e8b4a['push'](_0x4e8b4a['shift']());}};_0x555a37(++_0x246326);}(_0x6951,0x133));var _0x1695=function(_0x594ba1,_0xa7b683){_0x594ba1=_0x594ba1-0x0;var _0x46ee83=_0x6951[_0x594ba1];return _0x46ee83;};'use strict';var client=require(_0x1695('0x0'));exports[_0x1695('0x1')]=function(_0x42af5e){return client[_0x1695('0x2')](_0x1695('0x3'),{'body':_0x42af5e,'log':_0x1695('0x3')});};exports[_0x1695('0x4')]=function(_0x356c6d,_0x1fb8d5){return client[_0x1695('0x2')](_0x1695('0x5'),{'body':_0x1fb8d5,'options':{'where':{'uniqueid':_0x356c6d},'order':[['id',_0x1695('0x6')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};