1d8559671d1761b5d2eb59b11383b31a0da9876c
[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 _0x2cb1=['smsPause','../client','getSmsQueues','Request','GetSmsQueue','name','timeout','strategy','User','Agents'];(function(_0x4de226,_0xf589ec){var _0x2fb276=function(_0x3f99ed){while(--_0x3f99ed){_0x4de226['push'](_0x4de226['shift']());}};_0x2fb276(++_0xf589ec);}(_0x2cb1,0x137));var _0x12cb=function(_0x4f0ec4,_0x5dd603){_0x4f0ec4=_0x4f0ec4-0x0;var _0x4ff495=_0x2cb1[_0x4f0ec4];return _0x4ff495;};'use strict';var client=require(_0x12cb('0x0'));exports[_0x12cb('0x1')]=function(){return function(){return client[_0x12cb('0x2')](_0x12cb('0x3'),{'options':{'raw':![],'attributes':['id',_0x12cb('0x4'),_0x12cb('0x5'),_0x12cb('0x6')],'include':[{'model':_0x12cb('0x7'),'as':_0x12cb('0x8'),'attributes':['id',_0x12cb('0x4'),'online',_0x12cb('0x9')]}]},'log':_0x12cb('0x1')});};};