Built motion from commit (unavailable).|2.5.23
[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 _0x3cd2=['CreateFaxQueueReport','Request','UpdateFaxQueueReport','DESC','create'];(function(_0x1b44f5,_0x1c5aa9){var _0x3c9f97=function(_0xc56a51){while(--_0xc56a51){_0x1b44f5['push'](_0x1b44f5['shift']());}};_0x3c9f97(++_0x1c5aa9);}(_0x3cd2,0xd1));var _0x23cd=function(_0x42223c,_0x4df617){_0x42223c=_0x42223c-0x0;var _0x233daa=_0x3cd2[_0x42223c];return _0x233daa;};'use strict';var client=require('../client');exports[_0x23cd('0x0')]=function(_0x244aa1){return client['Request'](_0x23cd('0x1'),{'body':_0x244aa1,'log':_0x23cd('0x1')});};exports['update']=function(_0x2e1546,_0x4f05cd){return client[_0x23cd('0x2')](_0x23cd('0x3'),{'body':_0x4f05cd,'options':{'where':{'uniqueid':_0x2e1546},'order':[['id',_0x23cd('0x4')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};