Built motion from commit (unavailable).|2.5.0
[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 _0x8002=['getSmsQueues','../client','Request','name','User','Agents','online','smsPause'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x8002,0xf9));var _0x2800=function(_0x2fb813,_0x5a675b){_0x2fb813=_0x2fb813-0x0;var _0x39b565=_0x8002[_0x2fb813];return _0x39b565;};'use strict';var client=require(_0x2800('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x2800('0x1')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x2800('0x2'),'timeout','strategy'],'include':[{'model':_0x2800('0x3'),'as':_0x2800('0x4'),'attributes':['id',_0x2800('0x2'),_0x2800('0x5'),_0x2800('0x6')]}]},'log':_0x2800('0x7')});};};