62bce081d72145e8b7ddb259558d7c81f763b1b3
[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 _0x6c57=['name','../client','getSmsQueues','Request','GetSmsQueue','timeout','strategy','User','Agents'];(function(_0x1ec153,_0x6aa9de){var _0x24359b=function(_0x77fa3f){while(--_0x77fa3f){_0x1ec153['push'](_0x1ec153['shift']());}};_0x24359b(++_0x6aa9de);}(_0x6c57,0x76));var _0x76c5=function(_0x3e112d,_0x2bb132){_0x3e112d=_0x3e112d-0x0;var _0x531c31=_0x6c57[_0x3e112d];return _0x531c31;};'use strict';var client=require(_0x76c5('0x0'));exports[_0x76c5('0x1')]=function(){return function(){return client[_0x76c5('0x2')](_0x76c5('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x76c5('0x4'),_0x76c5('0x5')],'include':[{'model':_0x76c5('0x6'),'as':_0x76c5('0x7'),'attributes':['id',_0x76c5('0x8'),'online','smsPause']}]},'log':_0x76c5('0x1')});};};