b2f84d59427b289bc1e0fb70e228c73232cea9b5
[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 _0x8bd2=['DESC','../client','create','Request','CreateFaxQueueReport','UpdateFaxQueueReport'];(function(_0x5de48a,_0x271ef8){var _0x8d0621=function(_0xd0441){while(--_0xd0441){_0x5de48a['push'](_0x5de48a['shift']());}};_0x8d0621(++_0x271ef8);}(_0x8bd2,0xc1));var _0x28bd=function(_0x4629ed,_0x59ef85){_0x4629ed=_0x4629ed-0x0;var _0x52ca04=_0x8bd2[_0x4629ed];return _0x52ca04;};'use strict';var client=require(_0x28bd('0x0'));exports[_0x28bd('0x1')]=function(_0x28c482){return client[_0x28bd('0x2')](_0x28bd('0x3'),{'body':_0x28c482,'log':'CreateFaxQueueReport'});};exports['update']=function(_0x2f204f,_0x262b8e){return client['Request'](_0x28bd('0x4'),{'body':_0x262b8e,'options':{'where':{'uniqueid':_0x2f204f},'order':[['id',_0x28bd('0x5')]],'limit':0x1},'log':'UpdateFaxQueueReport'});};