998d348ee2f46b68a5cc452bf59055d3a2bf15f6
[motion2.git] / server / services / routing / rpc / smsQueue.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 _0x708f=['Agents','smsPause','getSmsQueues','GetSmsQueue','name'];(function(_0x160144,_0x5c1497){var _0x3a94f8=function(_0x1102f6){while(--_0x1102f6){_0x160144['push'](_0x160144['shift']());}};_0x3a94f8(++_0x5c1497);}(_0x708f,0x11b));var _0xf708=function(_0x25901e,_0x212ff0){_0x25901e=_0x25901e-0x0;var _0x2f0123=_0x708f[_0x25901e];return _0x2f0123;};'use strict';var client=require('../client');exports['getSmsQueues']=function(){return function(){return client['Request'](_0xf708('0x0'),{'options':{'raw':![],'attributes':['id',_0xf708('0x1'),'timeout','strategy'],'include':[{'model':'User','as':_0xf708('0x2'),'attributes':['id',_0xf708('0x1'),'online',_0xf708('0x3')]}]},'log':_0xf708('0x4')});};};