Built motion from commit (unavailable).|2.5.17
[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 _0x2c70=['smsPause','getSmsQueues','../client','Request','timeout','Agents','name'];(function(_0x3b4cc7,_0x2b11b4){var _0x27eb9c=function(_0x3bfaa4){while(--_0x3bfaa4){_0x3b4cc7['push'](_0x3b4cc7['shift']());}};_0x27eb9c(++_0x2b11b4);}(_0x2c70,0x19f));var _0x02c7=function(_0xce2139,_0x2ef047){_0xce2139=_0xce2139-0x0;var _0x13aa6a=_0x2c70[_0xce2139];return _0x13aa6a;};'use strict';var client=require(_0x02c7('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x02c7('0x1')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id','name',_0x02c7('0x2'),'strategy'],'include':[{'model':'User','as':_0x02c7('0x3'),'attributes':['id',_0x02c7('0x4'),'online',_0x02c7('0x5')]}]},'log':_0x02c7('0x6')});};};