798f9b8fac986541504d35c6f6b7c8bd1413b493
[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 _0x0227=['CreateFaxQueueReport','update','UpdateFaxQueueReport','DESC'];(function(_0x99ff94,_0x47a1b1){var _0x1b5bc0=function(_0x25821f){while(--_0x25821f){_0x99ff94['push'](_0x99ff94['shift']());}};_0x1b5bc0(++_0x47a1b1);}(_0x0227,0x1a4));var _0x7022=function(_0x106395,_0x2c0e9d){_0x106395=_0x106395-0x0;var _0x4283af=_0x0227[_0x106395];return _0x4283af;};'use strict';var client=require('../client');exports['create']=function(_0x16f0f1){return client['Request'](_0x7022('0x0'),{'body':_0x16f0f1,'log':_0x7022('0x0')});};exports[_0x7022('0x1')]=function(_0x5f7f93,_0x5bb1c4){return client['Request'](_0x7022('0x2'),{'body':_0x5bb1c4,'options':{'where':{'uniqueid':_0x5f7f93},'order':[['id',_0x7022('0x3')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};