Built motion from commit 67e5df37.|2.0.68
[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 _0x2eb4=['Agents','online','getSmsQueues','../client','Request','GetSmsQueue','name','timeout','strategy','User'];(function(_0x4b54f2,_0x7ccc66){var _0x8ad615=function(_0x52e40f){while(--_0x52e40f){_0x4b54f2['push'](_0x4b54f2['shift']());}};_0x8ad615(++_0x7ccc66);}(_0x2eb4,0x17f));var _0x42eb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2eb4[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x42eb('0x0'));exports['getSmsQueues']=function(){return function(){return client[_0x42eb('0x1')](_0x42eb('0x2'),{'options':{'raw':![],'attributes':['id',_0x42eb('0x3'),_0x42eb('0x4'),_0x42eb('0x5')],'include':[{'model':_0x42eb('0x6'),'as':_0x42eb('0x7'),'attributes':['id','name',_0x42eb('0x8'),'smsPause']}]},'log':_0x42eb('0x9')});};};