0f087e189893112e0ea980f8c54235a6dd51480e
[motion2.git] / server / services / routing / rpc / whatsappQueue.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 _0x777d=['Request','GetWhatsappQueue','timeout','strategy','online','getWhatsappQueues'];(function(_0x182e06,_0x3e2215){var _0x5e6f27=function(_0x2e7340){while(--_0x2e7340){_0x182e06['push'](_0x182e06['shift']());}};_0x5e6f27(++_0x3e2215);}(_0x777d,0xe9));var _0xd777=function(_0x1d5714,_0x2fa5f4){_0x1d5714=_0x1d5714-0x0;var _0x1b620e=_0x777d[_0x1d5714];return _0x1b620e;};'use strict';var client=require('../client');exports[_0xd777('0x0')]=function(){return function(){return client[_0xd777('0x1')](_0xd777('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xd777('0x3'),_0xd777('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id','name',_0xd777('0x5'),'whatsappPause']}]},'log':_0xd777('0x0')});};};