Built motion from commit (unavailable).|2.5.26
[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 _0xe81b=['name','timeout','online','smsPause','../client','getSmsQueues','Request','GetSmsQueue'];(function(_0x3a9635,_0x1ab817){var _0x10d08c=function(_0x222242){while(--_0x222242){_0x3a9635['push'](_0x3a9635['shift']());}};_0x10d08c(++_0x1ab817);}(_0xe81b,0xe4));var _0xbe81=function(_0x819464,_0x46fc91){_0x819464=_0x819464-0x0;var _0x49dcc0=_0xe81b[_0x819464];return _0x49dcc0;};'use strict';var client=require(_0xbe81('0x0'));exports[_0xbe81('0x1')]=function(){return function(){return client[_0xbe81('0x2')](_0xbe81('0x3'),{'options':{'raw':![],'attributes':['id',_0xbe81('0x4'),_0xbe81('0x5'),'strategy'],'include':[{'model':'User','as':'Agents','attributes':['id',_0xbe81('0x4'),_0xbe81('0x6'),_0xbe81('0x7')]}]},'log':_0xbe81('0x1')});};};