ba8587846d9ef67f9029b9cf51f1fe735c65cccf
[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 _0x1691=['UpdateSmsQueueReport','../client','create','Request','CreateSmsQueueReport','update'];(function(_0x1132b1,_0x369681){var _0x41ce16=function(_0x42a6df){while(--_0x42a6df){_0x1132b1['push'](_0x1132b1['shift']());}};_0x41ce16(++_0x369681);}(_0x1691,0x1ed));var _0x1169=function(_0x3271aa,_0x23802c){_0x3271aa=_0x3271aa-0x0;var _0x193e78=_0x1691[_0x3271aa];return _0x193e78;};'use strict';var client=require(_0x1169('0x0'));exports[_0x1169('0x1')]=function(_0x4d91d2){return client[_0x1169('0x2')](_0x1169('0x3'),{'body':_0x4d91d2,'log':_0x1169('0x3')});};exports[_0x1169('0x4')]=function(_0x3f3684,_0xe879ee){return client[_0x1169('0x2')](_0x1169('0x5'),{'body':_0xe879ee,'options':{'where':{'uniqueid':_0x3f3684},'order':[['id','DESC']],'limit':0x1},'log':_0x1169('0x5')});};