3ddb6491712c6948f7398925d4c45bb26b4a8789
[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 _0xd47c=['CreateFaxQueueReport','update','Request','UpdateFaxQueueReport','../client','create'];(function(_0x59c206,_0x469c55){var _0x4c8b7e=function(_0x4ebc73){while(--_0x4ebc73){_0x59c206['push'](_0x59c206['shift']());}};_0x4c8b7e(++_0x469c55);}(_0xd47c,0x178));var _0xcd47=function(_0x54e2e1,_0x29c745){_0x54e2e1=_0x54e2e1-0x0;var _0x526017=_0xd47c[_0x54e2e1];return _0x526017;};'use strict';var client=require(_0xcd47('0x0'));exports[_0xcd47('0x1')]=function(_0x3e2231){return client['Request'](_0xcd47('0x2'),{'body':_0x3e2231,'log':'CreateFaxQueueReport'});};exports[_0xcd47('0x3')]=function(_0x5c6b61,_0xc890c0){return client[_0xcd47('0x4')](_0xcd47('0x5'),{'body':_0xc890c0,'options':{'where':{'uniqueid':_0x5c6b61},'order':[['id','DESC']],'limit':0x1},'log':'UpdateFaxQueueReport'});};