9e5ea05e34068914100bd13d4e542759cbb78b50
[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 _0xf438=['CreateFaxQueueReport','UpdateFaxQueueReport','DESC','../client'];(function(_0x16a637,_0x5eb627){var _0x25126d=function(_0x54e016){while(--_0x54e016){_0x16a637['push'](_0x16a637['shift']());}};_0x25126d(++_0x5eb627);}(_0xf438,0x14b));var _0x8f43=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xf438[_0x3ab51d];return _0x29a04e;};'use strict';var client=require(_0x8f43('0x0'));exports['create']=function(_0x13e72e){return client['Request'](_0x8f43('0x1'),{'body':_0x13e72e,'log':_0x8f43('0x1')});};exports['update']=function(_0x5ac622,_0x17a99c){return client['Request'](_0x8f43('0x2'),{'body':_0x17a99c,'options':{'where':{'uniqueid':_0x5ac622},'order':[['id',_0x8f43('0x3')]],'limit':0x1},'log':_0x8f43('0x2')});};