Built motion from commit (unavailable).|2.4.21
[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 _0xc9c6=['name','timeout','strategy','User','online','../client','getSmsQueues','GetSmsQueue'];(function(_0x16d5b2,_0x338a88){var _0x1554c2=function(_0x34ac16){while(--_0x34ac16){_0x16d5b2['push'](_0x16d5b2['shift']());}};_0x1554c2(++_0x338a88);}(_0xc9c6,0x14d));var _0x6c9c=function(_0x4a4922,_0x82cb8f){_0x4a4922=_0x4a4922-0x0;var _0x55a8c6=_0xc9c6[_0x4a4922];return _0x55a8c6;};'use strict';var client=require(_0x6c9c('0x0'));exports[_0x6c9c('0x1')]=function(){return function(){return client['Request'](_0x6c9c('0x2'),{'options':{'raw':![],'attributes':['id',_0x6c9c('0x3'),_0x6c9c('0x4'),_0x6c9c('0x5')],'include':[{'model':_0x6c9c('0x6'),'as':'Agents','attributes':['id','name',_0x6c9c('0x7'),'smsPause']}]},'log':_0x6c9c('0x1')});};};