e567faa907be448c9d9956be4c593a4b6ab68752
[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 _0x9780=['GetSmsQueue','name','timeout','Agents','online','getSmsQueues','Request'];(function(_0x57cbfb,_0x2de760){var _0x4cb933=function(_0x33cf6a){while(--_0x33cf6a){_0x57cbfb['push'](_0x57cbfb['shift']());}};_0x4cb933(++_0x2de760);}(_0x9780,0x14e));var _0x0978=function(_0x54b749,_0x45913f){_0x54b749=_0x54b749-0x0;var _0x5a1b77=_0x9780[_0x54b749];return _0x5a1b77;};'use strict';var client=require('../client');exports[_0x0978('0x0')]=function(){return function(){return client[_0x0978('0x1')](_0x0978('0x2'),{'options':{'raw':![],'attributes':['id',_0x0978('0x3'),_0x0978('0x4'),'strategy'],'include':[{'model':'User','as':_0x0978('0x5'),'attributes':['id',_0x0978('0x3'),_0x0978('0x6'),'smsPause']}]},'log':_0x0978('0x0')});};};