Built motion from commit (unavailable).|2.5.0
[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 _0xe5fc=['../client','Request','CreateSmsQueueReport','UpdateSmsQueueReport','DESC'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xe5fc,0x109));var _0xce5f=function(_0x184944,_0x3aab96){_0x184944=_0x184944-0x0;var _0x2980e0=_0xe5fc[_0x184944];return _0x2980e0;};'use strict';var client=require(_0xce5f('0x0'));exports['create']=function(_0x46ceab){return client[_0xce5f('0x1')](_0xce5f('0x2'),{'body':_0x46ceab,'log':'CreateSmsQueueReport'});};exports['update']=function(_0x4ccd82,_0x13da8d){return client['Request'](_0xce5f('0x3'),{'body':_0x13da8d,'options':{'where':{'uniqueid':_0x4ccd82},'order':[['id',_0xce5f('0x4')]],'limit':0x1},'log':_0xce5f('0x3')});};