c0d47975ce71deb87d6efefb86b66208a8787cbd
[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 _0x3f48=['CreateSmsQueueReport','UpdateSmsQueueReport','Request'];(function(_0xc4fc42,_0x25be66){var _0x478997=function(_0xe25b08){while(--_0xe25b08){_0xc4fc42['push'](_0xc4fc42['shift']());}};_0x478997(++_0x25be66);}(_0x3f48,0x17c));var _0x83f4=function(_0x6e6301,_0x3c3072){_0x6e6301=_0x6e6301-0x0;var _0x1864e7=_0x3f48[_0x6e6301];return _0x1864e7;};'use strict';var client=require('../client');exports['create']=function(_0x2cb6be){return client[_0x83f4('0x0')](_0x83f4('0x1'),{'body':_0x2cb6be,'log':_0x83f4('0x1')});};exports['update']=function(_0x31cde6,_0x2a38de){return client['Request'](_0x83f4('0x2'),{'body':_0x2a38de,'options':{'where':{'uniqueid':_0x31cde6},'order':[['id','DESC']],'limit':0x1},'log':_0x83f4('0x2')});};