Built motion from commit (unavailable).|2.5.22
[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 _0x1a39=['Request','CreateFaxQueueReport','UpdateFaxQueueReport','../client','create'];(function(_0x55c64c,_0x12c886){var _0x270571=function(_0x17c91d){while(--_0x17c91d){_0x55c64c['push'](_0x55c64c['shift']());}};_0x270571(++_0x12c886);}(_0x1a39,0xd0));var _0x91a3=function(_0x3a499a,_0xcebf64){_0x3a499a=_0x3a499a-0x0;var _0x5dada5=_0x1a39[_0x3a499a];return _0x5dada5;};'use strict';var client=require(_0x91a3('0x0'));exports[_0x91a3('0x1')]=function(_0x61babc){return client[_0x91a3('0x2')]('CreateFaxQueueReport',{'body':_0x61babc,'log':_0x91a3('0x3')});};exports['update']=function(_0x15e172,_0x3a5a83){return client[_0x91a3('0x2')](_0x91a3('0x4'),{'body':_0x3a5a83,'options':{'where':{'uniqueid':_0x15e172},'order':[['id','DESC']],'limit':0x1},'log':_0x91a3('0x4')});};