91e902926fd6679152efb8281b6d06902fe76683
[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 _0xa4f0=['CreateFaxQueueReport','update','UpdateFaxQueueReport','../client','Request'];(function(_0x43444b,_0x8cf95b){var _0x392fe5=function(_0x7a1a82){while(--_0x7a1a82){_0x43444b['push'](_0x43444b['shift']());}};_0x392fe5(++_0x8cf95b);}(_0xa4f0,0x1c5));var _0x0a4f=function(_0x7430b4,_0x3526ec){_0x7430b4=_0x7430b4-0x0;var _0x44bbd5=_0xa4f0[_0x7430b4];return _0x44bbd5;};'use strict';var client=require(_0x0a4f('0x0'));exports['create']=function(_0x57def2){return client[_0x0a4f('0x1')]('CreateFaxQueueReport',{'body':_0x57def2,'log':_0x0a4f('0x2')});};exports[_0x0a4f('0x3')]=function(_0x8f026e,_0x2f3ca7){return client[_0x0a4f('0x1')](_0x0a4f('0x4'),{'body':_0x2f3ca7,'options':{'where':{'uniqueid':_0x8f026e},'order':[['id','DESC']],'limit':0x1},'log':_0x0a4f('0x4')});};