6723919d8974466e3a4adaeb84b59953c133d37c
[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 _0xac80=['Request','CreateSmsQueueReport','update','UpdateSmsQueueReport','DESC','../client','create'];(function(_0x4caee7,_0x3bdb3c){var _0x549d2b=function(_0x2835ff){while(--_0x2835ff){_0x4caee7['push'](_0x4caee7['shift']());}};_0x549d2b(++_0x3bdb3c);}(_0xac80,0x163));var _0x0ac8=function(_0x4d3dae,_0x464ef3){_0x4d3dae=_0x4d3dae-0x0;var _0x5da56b=_0xac80[_0x4d3dae];return _0x5da56b;};'use strict';var client=require(_0x0ac8('0x0'));exports[_0x0ac8('0x1')]=function(_0x109463){return client[_0x0ac8('0x2')](_0x0ac8('0x3'),{'body':_0x109463,'log':_0x0ac8('0x3')});};exports[_0x0ac8('0x4')]=function(_0x591c5f,_0x3f76e4){return client[_0x0ac8('0x2')](_0x0ac8('0x5'),{'body':_0x3f76e4,'options':{'where':{'uniqueid':_0x591c5f},'order':[['id',_0x0ac8('0x6')]],'limit':0x1},'log':_0x0ac8('0x5')});};