0cd644b35c4ce7c1b73796b13afcf037c0f6edda
[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 _0x5492=['Agents','smsPause','../client','getSmsQueues','name','strategy','User'];(function(_0x4e5552,_0xbdecf){var _0x4d24d6=function(_0x3eda2b){while(--_0x3eda2b){_0x4e5552['push'](_0x4e5552['shift']());}};_0x4d24d6(++_0xbdecf);}(_0x5492,0x1c2));var _0x2549=function(_0x2aa9d8,_0x1970e7){_0x2aa9d8=_0x2aa9d8-0x0;var _0x9455f9=_0x5492[_0x2aa9d8];return _0x9455f9;};'use strict';var client=require(_0x2549('0x0'));exports[_0x2549('0x1')]=function(){return function(){return client['Request']('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x2549('0x2'),'timeout',_0x2549('0x3')],'include':[{'model':_0x2549('0x4'),'as':_0x2549('0x5'),'attributes':['id',_0x2549('0x2'),'online',_0x2549('0x6')]}]},'log':'getSmsQueues'});};};