76d1ec8148970c47a60be0265226b037f84ac202
[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 _0x0519=['Agents','online','smsPause','../client','getSmsQueues','GetSmsQueue','name','timeout','User'];(function(_0x5d25c0,_0xee5570){var _0x276f89=function(_0x241bc0){while(--_0x241bc0){_0x5d25c0['push'](_0x5d25c0['shift']());}};_0x276f89(++_0xee5570);}(_0x0519,0x1d7));var _0x9051=function(_0x27ddf5,_0x5a3e18){_0x27ddf5=_0x27ddf5-0x0;var _0x26e74a=_0x0519[_0x27ddf5];return _0x26e74a;};'use strict';var client=require(_0x9051('0x0'));exports[_0x9051('0x1')]=function(){return function(){return client['Request'](_0x9051('0x2'),{'options':{'raw':![],'attributes':['id',_0x9051('0x3'),_0x9051('0x4'),'strategy'],'include':[{'model':_0x9051('0x5'),'as':_0x9051('0x6'),'attributes':['id',_0x9051('0x3'),_0x9051('0x7'),_0x9051('0x8')]}]},'log':_0x9051('0x1')});};};