2f0d3845731fa05639dd917067914c49bf5144b2
[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 _0xea63=['CreateSmsQueueReport','update','UpdateSmsQueueReport','DESC','../client','create','Request'];(function(_0x3dbccc,_0x56c4a7){var _0x560c00=function(_0x4371b1){while(--_0x4371b1){_0x3dbccc['push'](_0x3dbccc['shift']());}};_0x560c00(++_0x56c4a7);}(_0xea63,0x138));var _0x3ea6=function(_0xe99b18,_0x54b682){_0xe99b18=_0xe99b18-0x0;var _0x1e7171=_0xea63[_0xe99b18];return _0x1e7171;};'use strict';var client=require(_0x3ea6('0x0'));exports[_0x3ea6('0x1')]=function(_0x47ad73){return client[_0x3ea6('0x2')](_0x3ea6('0x3'),{'body':_0x47ad73,'log':_0x3ea6('0x3')});};exports[_0x3ea6('0x4')]=function(_0x570dca,_0x3fb371){return client['Request'](_0x3ea6('0x5'),{'body':_0x3fb371,'options':{'where':{'uniqueid':_0x570dca},'order':[['id',_0x3ea6('0x6')]],'limit':0x1},'log':_0x3ea6('0x5')});};