3ded64b29659999d72ed6996a2cbf5f46757813e
[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 _0x6d16=['getSmsQueues','../client','Request','name','User','Agents','online','smsPause'];(function(_0x2b737c,_0x274adf){var _0x466ed5=function(_0x593124){while(--_0x593124){_0x2b737c['push'](_0x2b737c['shift']());}};_0x466ed5(++_0x274adf);}(_0x6d16,0x169));var _0x66d1=function(_0x405427,_0x450c9f){_0x405427=_0x405427-0x0;var _0x5e7b05=_0x6d16[_0x405427];return _0x5e7b05;};'use strict';var client=require(_0x66d1('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x66d1('0x1')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x66d1('0x2'),'timeout','strategy'],'include':[{'model':_0x66d1('0x3'),'as':_0x66d1('0x4'),'attributes':['id',_0x66d1('0x2'),_0x66d1('0x5'),_0x66d1('0x6')]}]},'log':_0x66d1('0x7')});};};