Built motion from commit 67e5df37.|2.0.66
[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 _0x96e8=['name','online','smsPause','../client','getSmsQueues','Request','timeout','strategy','User','Agents'];(function(_0x54a658,_0x4d7238){var _0x27d7d6=function(_0x11515a){while(--_0x11515a){_0x54a658['push'](_0x54a658['shift']());}};_0x27d7d6(++_0x4d7238);}(_0x96e8,0x99));var _0x896e=function(_0x4a90f0,_0x4937d5){_0x4a90f0=_0x4a90f0-0x0;var _0x346d02=_0x96e8[_0x4a90f0];return _0x346d02;};'use strict';var client=require(_0x896e('0x0'));exports[_0x896e('0x1')]=function(){return function(){return client[_0x896e('0x2')]('GetSmsQueue',{'options':{'raw':![],'attributes':['id','name',_0x896e('0x3'),_0x896e('0x4')],'include':[{'model':_0x896e('0x5'),'as':_0x896e('0x6'),'attributes':['id',_0x896e('0x7'),_0x896e('0x8'),_0x896e('0x9')]}]},'log':_0x896e('0x1')});};};