f831e482883493ab1d419daa6b491c0db7b46073
[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 _0x5867=['create','Request','CreateSmsQueueReport','update','UpdateSmsQueueReport','DESC','../client'];(function(_0x1b2ff7,_0x12a034){var _0x31656a=function(_0x1165a5){while(--_0x1165a5){_0x1b2ff7['push'](_0x1b2ff7['shift']());}};_0x31656a(++_0x12a034);}(_0x5867,0x1e2));var _0x7586=function(_0xe4194b,_0x4b7ab1){_0xe4194b=_0xe4194b-0x0;var _0xaae39f=_0x5867[_0xe4194b];return _0xaae39f;};'use strict';var client=require(_0x7586('0x0'));exports[_0x7586('0x1')]=function(_0x183971){return client[_0x7586('0x2')](_0x7586('0x3'),{'body':_0x183971,'log':_0x7586('0x3')});};exports[_0x7586('0x4')]=function(_0x4351a8,_0x2811f5){return client['Request'](_0x7586('0x5'),{'body':_0x2811f5,'options':{'where':{'uniqueid':_0x4351a8},'order':[['id',_0x7586('0x6')]],'limit':0x1},'log':_0x7586('0x5')});};