2af402d71cb1631abd6c28e51811170654444ff0
[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 _0x11e7=['update','UpdateSmsQueueReport','../client','create','Request'];(function(_0xd09668,_0x1435b2){var _0x68726=function(_0x54a030){while(--_0x54a030){_0xd09668['push'](_0xd09668['shift']());}};_0x68726(++_0x1435b2);}(_0x11e7,0x1d8));var _0x711e=function(_0x22b9a7,_0x26ed0c){_0x22b9a7=_0x22b9a7-0x0;var _0x13d154=_0x11e7[_0x22b9a7];return _0x13d154;};'use strict';var client=require(_0x711e('0x0'));exports[_0x711e('0x1')]=function(_0x33f7f6){return client[_0x711e('0x2')]('CreateSmsQueueReport',{'body':_0x33f7f6,'log':'CreateSmsQueueReport'});};exports[_0x711e('0x3')]=function(_0x5d1cfd,_0x4be38c){return client[_0x711e('0x2')](_0x711e('0x4'),{'body':_0x4be38c,'options':{'where':{'uniqueid':_0x5d1cfd},'order':[['id','DESC']],'limit':0x1},'log':_0x711e('0x4')});};