c17ea717498147ef423679dfdaecb3e2e9823c30
[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 _0xf9a9=['User','Agents','online','smsPause','../client','getSmsQueues','Request','GetSmsQueue','name','strategy'];(function(_0x24a88e,_0x22a0b8){var _0x232cbb=function(_0x50b7a4){while(--_0x50b7a4){_0x24a88e['push'](_0x24a88e['shift']());}};_0x232cbb(++_0x22a0b8);}(_0xf9a9,0xfe));var _0x9f9a=function(_0x5c71a9,_0x25bd9f){_0x5c71a9=_0x5c71a9-0x0;var _0x167d82=_0xf9a9[_0x5c71a9];return _0x167d82;};'use strict';var client=require(_0x9f9a('0x0'));exports[_0x9f9a('0x1')]=function(){return function(){return client[_0x9f9a('0x2')](_0x9f9a('0x3'),{'options':{'raw':![],'attributes':['id',_0x9f9a('0x4'),'timeout',_0x9f9a('0x5')],'include':[{'model':_0x9f9a('0x6'),'as':_0x9f9a('0x7'),'attributes':['id',_0x9f9a('0x4'),_0x9f9a('0x8'),_0x9f9a('0x9')]}]},'log':_0x9f9a('0x1')});};};