6b3b7167b7d4aa2b9d567661e8e11cc9f239ffa0
[motion2.git] / server / services / routing / rpc / smsQueueReport.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 _0x2472=['../client','create','update','Request','UpdateSmsQueueReport','DESC'];(function(_0x1488fa,_0x49cdeb){var _0x18f241=function(_0x57a803){while(--_0x57a803){_0x1488fa['push'](_0x1488fa['shift']());}};_0x18f241(++_0x49cdeb);}(_0x2472,0xd8));var _0x2247=function(_0x4d0218,_0x112037){_0x4d0218=_0x4d0218-0x0;var _0x33d4e0=_0x2472[_0x4d0218];return _0x33d4e0;};'use strict';var client=require(_0x2247('0x0'));exports[_0x2247('0x1')]=function(_0x14b539){return client['Request']('CreateSmsQueueReport',{'body':_0x14b539,'log':'CreateSmsQueueReport'});};exports[_0x2247('0x2')]=function(_0x551ddd,_0xf34306){return client[_0x2247('0x3')](_0x2247('0x4'),{'body':_0xf34306,'options':{'where':{'uniqueid':_0x551ddd},'order':[['id',_0x2247('0x5')]],'limit':0x1},'log':'UpdateSmsQueueReport'});};