a36fadbc19d243a28f144ab99f57baf9120bbdb8
[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 _0xb086=['strategy','User','Agents','smsPause','../client','getSmsQueues','Request','GetSmsQueue','name'];(function(_0x14058e,_0x25c44d){var _0x105762=function(_0x4deb5e){while(--_0x4deb5e){_0x14058e['push'](_0x14058e['shift']());}};_0x105762(++_0x25c44d);}(_0xb086,0xb8));var _0x6b08=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xb086[_0x57b54c];return _0x59cc19;};'use strict';var client=require(_0x6b08('0x0'));exports[_0x6b08('0x1')]=function(){return function(){return client[_0x6b08('0x2')](_0x6b08('0x3'),{'options':{'raw':![],'attributes':['id',_0x6b08('0x4'),'timeout',_0x6b08('0x5')],'include':[{'model':_0x6b08('0x6'),'as':_0x6b08('0x7'),'attributes':['id','name','online',_0x6b08('0x8')]}]},'log':_0x6b08('0x1')});};};