Built motion from commit (unavailable).|2.5.3
[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 _0x91c8=['smsPause','../client','getSmsQueues','name','timeout','User','Agents','online'];(function(_0x47a349,_0x4699d9){var _0x18ab75=function(_0x210796){while(--_0x210796){_0x47a349['push'](_0x47a349['shift']());}};_0x18ab75(++_0x4699d9);}(_0x91c8,0x129));var _0x891c=function(_0x2f71a8,_0x11563c){_0x2f71a8=_0x2f71a8-0x0;var _0x5059cc=_0x91c8[_0x2f71a8];return _0x5059cc;};'use strict';var client=require(_0x891c('0x0'));exports[_0x891c('0x1')]=function(){return function(){return client['Request']('GetSmsQueue',{'options':{'raw':![],'attributes':['id',_0x891c('0x2'),_0x891c('0x3'),'strategy'],'include':[{'model':_0x891c('0x4'),'as':_0x891c('0x5'),'attributes':['id',_0x891c('0x2'),_0x891c('0x6'),_0x891c('0x7')]}]},'log':_0x891c('0x1')});};};